XML/Ui

From Warcraft Wiki
< 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?Optional. Could be nil.) - 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

References

 
  1. ^ 2017-03-28, UI.xsd, version 7.2.0.23835, near line 960, archived at Townlong-Yak
  2. ^ 2015-02-26, UI.xsd, version 6.1.0.19702, near line 884, archived at Townlong-Yak
  3. ^ 2009-04-14, UI.xsd, version 3.1.0.9767, near line 691, archived at Townlong-Yak
  4. ^ 2006-05-02, UI.xsd, version 1.10.2.5302, near line 615, archived at Townlong-Yak