Lore archive · Warcraft Wiki, 2023 dump
XML schema
Last wiki revision 2023-09-12
In World of Warcraft addons, XML files are used to define User Interface elements. XML is however not required since most functionality is also supported in Lua via the Widget API. Similar to Lua files, XML files are referenced from the TOC file.
It's advisable to use an editor like VS Code with the Red Hat XML extension.
- A tag begins with and ends with ; for example.
- A tag can have attributes; for example.
- An element consists of a start tag, end tag and anything in between; for example.
Each XML file consists of a element. The and attributes are optional but essential for XML parsers and validation.
Shows a texture on the center of the screen.
- See also: XML user interface
<ItemButton> is an intrinsic frame extending.
<PlayerModel> (inherits from, creates a widget) displays a pose of the player character.
<DressUpModel> (inherits from, creates a widget) trials equipment appearances on the player character.
<TabardModel> (inherits from, creates a widget) trials tabard appearances on the player character.
<UiCamera> (inherits from, creates a widget) -- needs summary.
<ScrollingMessageFrame> is an intrinsic frame, extending
<LineScale> inherits from ; creates a animation.
<LineTranslation> inherits from ; creates a animation.
Not documented:
Not intended for user-made AddOns:
Removed or no longer used:
Categories
- XML elements
Source
https://warcraft.wiki.gg/wiki/XML_schema · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.