Location: PHPKode > scripts > XML parser > xml-parser/example.php
<?php
/**
 *	@File name:	example.php
 *	@todo: 	example
 *	@author:	zhys9 @ 2008-03-24 <email>hide@address.com</email>
 */
 require './ParseXml.class.php';
 
 $xml = new ParseXml();
 $xml->LoadFile("./test.xml");
 //$xml->LoadString($xmlString);
 //$xml->LoadRemote("http"//www.yourdomain.com/dir/filename.xml", 3);
 $dataArray = $xml->ToArray();
 
 print_r($dataArray);
?>
Return current item: XML parser