This is simple PHP script to show how to parse the the contents of an XML file and display them. 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.

C++ For Dummies 7th Edition
Unlock the world of programming with C++ for Dummies – the perfect beginner’s guide to mastering C++ with ease and confidence!
View on Amazon

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