Re: Simplexml and xml namespaces

From: Date: Tue, 23 Aug 2005 19:58:44 +0000
Subject: Re: Simplexml and xml namespaces
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-18320@lists.php.net to get a copy of this message
Hello Rob, what we need here is a temp hash table to store the names. var_dump would grep them through get_properties... Friday, August 19, 2005, 9:34:54 PM, you wrote: > 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. >> >> Best regards, Marcus

« previous php.internals (#18320) next »