Reading & writing xml - s76/libgdx GitHub Wiki XmlReader(code) parses XML into a simple DOM. It can also do event based parsing. XmlWriter (code) uses a stack based API to emit XML. Relevant blog post