This is a library for generating XML in a builder pattern. It is only for generating valid XML not parsing it. There are dozens if not hundreds of projects for parsing XML. Very few address a lightweight low/no dependency way of generating XML. Creating a DOM object and populating it with that hideous API is just way to heavyweight if you just want to write out some simple XML.