|
Posted by Samuel J. Greear on 10/04/33 11:10
http://evilcode.net/cgi-bin/viewsvn.cgi/exhibition/trunk/lib/php/xml/xmltree.php?rev=106&view=auto
( http://tinyurl.com/5h47a )
I have been using the above to extend DOMDocument, as a quick workaround to
avoid a root document element. Now that I have started using namespaces, it
works grandly as far as building objects, but apparantly I am frobbing
something the wrong way, as saveXML output looks proper, but traversal will
not work for namespace'd parts of the tree. Traversal works as expected if it
is save'd out and reimported into an actual DOMDocument. So the question I
have is, what am I doing wrong here, or what is the proper way to go about
this?
Thanks,
Sam
[Back to original message]
|