
The SimpleXML extension of PHP provides set of functions to convert XML to an object that can be processed with normal property selectors and array iterators. Support for SimpleXML in PHP5 is automatically turned on; there is no need to include any additional extensions. It includes functions for working with XML documents that make common operations fairly easy, such as the ability to take a String and convert it to an XML formatted document and display it. The primary advantage is that the XML document becomes an object that can be processed like other objects in PHP, with elements, attributes, and their data accessible using normal objec..
|