This class can be used to generate XML documents from arrays and also parse XML documents to build arrays.
It can work with an XML's textNodes and attributes, stores them into an array and generates an XML document.
This class can also do the opposite, i.e. take an XML document file or string and parse it, and then build an array.
It is quite simple in handling. Just look at the sample files.
Feature List:
- Array to XML Conversion while preserving attributes
- XML to Array Conversion
- XML to SimpleXMLElement Object
- SimpleXMLElement Object to XML
- XML to JSON
- Array to JSON
Other Scripts
- Schema Transformation for usage with Propel or Doctrine ORM
- Google Routes to GPX
- PHP Classes Reflection to XML
to be rewritten and provided later this year:
- QQuery (originally written as a set of classes for usage within symfony framework )
If you have suggestions for making it better then let me know.