Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:18229 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 52235 invoked by uid 1010); 19 Aug 2005 19:28:58 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 52220 invoked from network); 19 Aug 2005 19:28:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Aug 2005 19:28:58 -0000 X-Host-Fingerprint: 216.117.147.250 unknown Linux 2.4/2.6 Received: from ([216.117.147.250:53661] helo=ctindustries.net) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id E6/C9-33075-9F236034 for ; Fri, 19 Aug 2005 15:28:58 -0400 Received: from [127.0.0.1] (dsta-aa203.pivot.net [66.186.171.203]) (authenticated bits=0) by ctindustries.net (8.12.8/8.12.8) with ESMTP id j7JIJJtI003717; Fri, 19 Aug 2005 14:19:28 -0400 Message-ID: <4306345E.5070500@ctindustries.net> Date: Fri, 19 Aug 2005 15:34:54 -0400 User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Adam Maccabee Trachtenberg CC: sterling@apache.org, Rasmus Lerdorf , internals@lists.php.net References: <43054765.3000208@lerdorf.com> <430593FF.6020907@lerdorf.com> <4305F81A.5090606@ctindustries.net> <24e5f3b705081912045e18fea2@mail.gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.86.2/1034/Thu Aug 18 16:07:58 2005 on ctindustries.net X-Virus-Status: Clean Subject: Re: [PHP-DEV] Simplexml and xml namespaces From: rrichards@ctindustries.net (Rob Richards) 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. > >