QXML is a PHP class that generates XML from arrays
and vice versa. It can work with an XML's
textNodes and attributes, store them into an
array, and generate an XML document. It can also
build an array from an XML document. It supports
SimpleXMLElement, JSON, schema transformation for
use with Propel or Doctrine ORM, and Google Routes
to GPX.