Name | Description |
---|---|
Array2XML | Array2XML: A class to convert array in PHP to XML It also takes into account attributes names unlike SimpleXML in PHP It returns the XML in form of DOMDocument class for further manipulation. |
XML2Array | XML2Array: A class to convert XML to array in PHP It returns the array which can be converted back to XML using the Array2XML script It takes an XML string or a DOMDocument object as an input. |