# C_XMLUtil: World of Warcraft Forever API

Forever 1.60.1 (70959), Interface 16001, Lua 5.1, from Blizzard's own API documentation. Page: https://wowaddons.gg/forever-api/C_XMLUtil

## Functions

### C_XMLUtil.GetTemplateInfo

```lua
info = C_XMLUtil.GetTemplateInfo(name)
```

May return nothing.

Arguments:
- `name`: cstring

Returns:
- `info`: XMLTemplateInfo

### C_XMLUtil.GetTemplates

```lua
templates = C_XMLUtil.GetTemplates()
```

Returns:
- `templates`: XMLTemplateListInfo[]

## Tables

### XMLTemplateInfo (structure)

- `type`: cstring
- `width`: number
- `height`: number
- `keyValues`: XMLTemplateKeyValue[]
- `inherits`: cstring, may be nil
- `sourceLocation`: string

### XMLTemplateKeyValue (structure)

- `key`: cstring
- `keyType`: cstring
- `type`: cstring
- `value`: cstring

### XMLTemplateListInfo (structure)

- `name`: cstring
- `type`: cstring

---
Make an addon with your AI: tell it "Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it."
