<? include("./xml2object.php"); $xml_parser = new XML2OBJECT(); $content = join(file("./example.xml"), ""); print_r($xml_parser->parse($content)); ?>