Search processing.org:

## XML

The intent of this library is to provide an extremely simple (and compact) means of reading and writing XML data from a sketch. As such, this is not a full-featured library for handling XML data. For those who need it, more sophisticated libraries are available. There are no plans to add significant new features to this library.

The code is from NanoXML 2.2.3 Lite from Marc De Scheemaecker. His project is online at http://nanoxml.cyberelf.be/. Some interfaces to the code have been changed, and the package naming has been altered, however it should be clear that this code is almost entirely his work, with no connection to the Processing project.

Starting with Processing release 0134, all files loaded and saved by the Processing API (and its libraries, such as the XML library) use UTF-8 encoding. In previous releases, the default encoding for your platform was used, which causes problems when files are moved to other platforms. The encoding attribute inside an XML file is ignored.

##### XMLElement Class

XMLElement
getChildCount()
getChild()
getChildren()
getContent()
getIntAttribute()
getFloatAttribute()
getStringAttribute()
getName()

Additional XMLElement methods are documented in the Developer's Reference.