12.07.2015 Views

Wiley-World.of.Warcraft.Programming.A.Guide.and.Reference.for.Creating.WoW.Addons

Wiley-World.of.Warcraft.Programming.A.Guide.and.Reference.for.Creating.WoW.Addons

Wiley-World.of.Warcraft.Programming.A.Guide.and.Reference.for.Creating.WoW.Addons

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 7 ■ Learning XML 117Figure 7-1: Validating with XMLNannyFor example, XMLSpy, Visual Studio, <strong>and</strong> other XML editors can provideauto-complete when you’re creating a new file, so attribute names are automaticallycompleted, <strong>and</strong> some editors even give you dropdowns to select thevalues when they are defined.XML in <strong>World</strong> <strong>of</strong> <strong>Warcraft</strong>The <strong>WoW</strong> user interface has an incredibly detailed XML schema that dictatesexactly what tags, attributes, <strong>and</strong> values are valid when defining frames. Tobetter underst<strong>and</strong> how everything is structured, you can unpack the latestXML schema following the directions given in Chapter 8. It will extract to theBlizzard Interface Data (enUS)/FrameXML/UI.xsd file under your <strong>WoW</strong>installation, where enUS is your locale. Here’s an excerpt from the file:

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!