Page 1 of 1

Parsing XML With SimpleXML

PostPosted: Mon Feb 18, 2013 10:45 pm
by Sanith
Parsing XML essentially means navigating through an XML document and returning the relevant data. An increasing number of web services return data in JSON format, but a large number still return XML, so you need to master parsing XML if you really want to consume the full breadth of APIs available.

Using PHP’s SimpleXML extension that was introduced back in PHP 5.0, working with XML is very easy to do.
More: