Extending DOMDocument

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux