PHP Xml-parser Resources