Skip to main content

Reading XML files using PHP 5

No replies
kohsuke
Offline
Joined: 2003-06-09
Points: 0

from http://www.matthewbarr.co.uk/blog/archives/15-Reading-XML-files-using-PH...
PHP provides a number of straightforward methods of parsing XML files "out of the box".

This simple example shows how an XML file containing information about a number of movies can be read and displayed using PHPÂ’s built-in simplexml_load_file() method.