O'Reilly logo

Libgdx Cross-platform Game Development Cookbook by Alberto Cejas Sánchez, David Saltares Márquez

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The XML parsing primer

XML stands for Extensible Markup Language, and it is a standard that defines a set of rules to encode information created by the World Wide Web Consortium (W3C). The major advantage of XML is that it is both human and machine readable, which contributes to its success not only on the Web but also in game development.

We assume you have basic knowledge of XML, but take a look at the W3C introduction tutorial if this is the first time you have come across the standard. It is available at http://www.w3schools.com/xml/xml_whatis.asp.

XML's flexibility and hierarchical tree-oriented nature made many game studios use it to represent their data, such as configuration files, level layout, animation, and so on. Keeping the code separated ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required