SimpleXMLWriter
SimpleXMLWriter

A class for converting objects into XML.  The XML produced uses a simple, flat structure.  The outer element is named for the object's class, with each property of the object having a tag of the same name.  Arrays are represented as an element with a number of generically-named child nodes.