
12
Pragmatic XML Use in Tools
Amir Ebrahimi
12.1 Introduction
In this chapter, you are going to learn how to parse XML in a structured way,
serialize/deserialize objects to XML, and see how an XML-based toolchain can
assist in the development of an example game, Minimaxima. It is assumed that
you know what XML is, its format, and its general use on the Internet.
12.2 XML Specification
Serialization is an important topic to any game developer, whether he or she be
a tools, engine, or gameplay programmer. As a tools programmer, at some point,
you will need to store data for GUI layouts, user preferences, localization, custom
game editors, and other intermediate ...