There isn't a single method in DOM for this - have to write code to do
it. get_properties was not implemented in DOM due to too many properties
and many properties recursive (DOM both ascends and descends a tree).
Any debugging would be useless trying to sort through all the crap. I,
like Adam, also use those methods when I need to examine a subtree.
Rob
Adam Maccabee Trachtenberg wrote:
On Fri, 19 Aug 2005, Sterling Hughes wrote:
I agree. var_dump() should accurately expose the structure of the
simplexml object, if people want to see *everything* they should dump
it explicitly (there is a method in the DOM api to do this?)
You mean other than reserializing the data back as XML? :)
All kidding aside, I do use SXE's asXML() and DOM's saveXML() for
debugging in these types of cases.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php