<?php require 'SimpleXMLArrayHelper.php'; $sx = new SimpleXMLArrayHelper(); print_r($sx->setXml(dirname(__FILE__) . '/collection.xml')->asArray());
info at phpclasses dot org