XML UI ← XML elements < UiInclude

Include allows WoW UI XML files to be included in another UI XML file. The Include element can be used in a XML/Ui element.

Inheritance Edit

Inherited by: none, Inherits: none, Defined in: Ui

Elements Edit


Attributes Edit

  • file (string) - relative path to the WoW UI XML file to include

Summary Edit

Include elements include other WoW UI XML files in an XML file and allow them to be processed on load inline, at the point of the include statement.

Example Edit

<Ui xmlns=""
  <Include file="MyOtherFrame.xml"/>
  <Frame name="MyFrame" inherits="MyOtherFrameTemplate">
      <AbsDimension x="200" y="200"/>

This example demonstrates using Include to include another XML file, in this case presumably containing a template used by a Frame in this XML file. The included XML will be processed before the template it contains is used by 'MyFrame'.

Details Edit

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.