Location: PHPKode > scripts > Simple XML Array Helper > xml2array.php
<?php
require 'SimpleXMLArrayHelper.php';
$sx = new SimpleXMLArrayHelper();
print_r($sx->setXml(dirname(__FILE__) . '/collection.xml')->asArray());
Return current item: Simple XML Array Helper