SimpleXML parser in Php.

The simple XML parser is used to parse Name, attributes and textual content if you know the XML document structure or layout.

Code :