XML/Ui
< XML
Jump to navigation
Jump to search
<Ui> encloses all other tags.
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/.. \FrameXML\UI.xsd"> <Include /> <Script /> <Font /> <FontFamily /> <LayoutFrame /> <Animation /> <AnimationGroup /> <Actor /> </Ui>
Child elements
<Include> loads a file.
- file (xs:string) - Relative path to a
*.lua
or*.xml
file.
<Script> executes Lua code.
- file (xs:string? ) - Relative path to a
*.lua
file, in lieu of coding Lua inside the XML file.
Details
- The document root is the customary place for elements intended to be inherited: XML templates, Fonts, etc.
- Nearly everything else is a Frame or a child of one.
Patch changes
- Patch 7.2.0 (2017-03-28): Added <Actor>.[1]
- Patch 6.1.0 (2015-02-24): Added <FontFamily>.[2]
- Patch 3.1.0 (2009-04-14): Added <Animation> and <AnimationGroup>.[3]
- Patch 1.10.2 (2006-05-03): Added <Font>.[4]
References
- ^ 2017-03-28, UI.xsd, version 7.2.0.23835, near line 960, archived at Townlong-Yak
- ^ 2015-02-26, UI.xsd, version 6.1.0.19702, near line 884, archived at Townlong-Yak
- ^ 2009-04-14, UI.xsd, version 3.1.0.9767, near line 691, archived at Townlong-Yak
- ^ 2006-05-02, UI.xsd, version 1.10.2.5302, near line 615, archived at Townlong-Yak