This is simple PHP script to show the contents of an XML file on html page. The script uses PHP XML parser to traverse through the xml file and print it’s contents. This extension requires the libxml PHP extension to be enabled.

By default, the script assumes that example.xml file is in the same directory as the script is.