I've spent an hour trying to make SimpleXML work until I realized the
problem seems to be namespaces. This code:
<?php
$xml = simplexml_load_file('foo.xml');
print_r($xml);
?>
works fine, unless the XML file contains tags with colons, e.g.:
<rs:data>
In this case, I get an empty object. What am I missing?
I need to parse third-party XML files. I believe it's ADO XML:
http://www.devarticles.com/c/a/XML/D...XML-Islands/2/
--
-- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web: http://bits.demogracia.com
-- Mi web de humor en cubitos: http://www.demogracia.com
--