parse an XML file with PHP

I always hated having to manually parse out an XML file back in the day. but now, as of not really that recently, you can use SimpleXML to automatically convert an XML file to an array-like structure of objects. you do have PHP5, and the php-xml package, right?

amazing, eh? the LIBXML_NOCDATA keeps all CDATA enclosed data from disappearing on import.