Data types: Object To XML
Jason Houle (contact me)
This class can be used to generate XML documents from values of object variables.
It traverses the public variables of a given object and generates a XML document with the variable names as tags and the variable values as tag values.
Object and array values are converted into nested tag values.
The root tag of the generated document is the class name.
The resulting XML document can be returned as a string.
Click here for detailed information about this class on phpclasses.org