Location: PHPKode > scripts > Sofee XML Parser > sofee-xml-parser/test.php
<?php 
$file = 'test.xml'; 
require_once('SofeeXmlParser.php'); 
$xml = new SofeeXmlParser(); 
$xml->parseFile($file); 
$tree = $xml->getTree(); 
unset($xml); 
print "<pre>"; 
print_r($tree); 
print "</pre>"; 
?>
Return current item: Sofee XML Parser