C H A P T E R  5

image

Using XML and Frames

This chapter is about creating graphical user interfaces. There are two ways to do this in World of Warcraft. You saw one method in Chapter4, using Lua to create frames. This chapter's approach is to use XML (Extensible Markup Language), a language that can be used to describe data. The data we are going to describe here will represent frames in World of Warcraft. You will see that using XML for this purpose is very powerful.

Both ways have their advantages and drawbacks. While the main focus in this chapter is on XML, there are some things that can only be done by Lua, so you will also learn more about ...

Get Beginning Lua with World of Warcraft Addons now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.