SimpleXML is an extension that allows us to easily manipulate and get XML data.
SimpleXML provides the ability to iterate over items in an XML document, as well as
access items within it as if they were object properties
SimpleXML provides an easy way of getting an element’s name, attributes and textual content if you know the XML document’s structure or layout.
SimpleXML turns an XML document into a data structure you can iterate through like a collection of arrays and objects.
- SimpleXML allows removal of attributes.
- SimpleXML allows addition of new attributes.
- SimpleXML allows removal of nodes.
- SimpleXML allows addition of new nodes.