Re: Simplexml and xml namespaces
| From: | Adam Maccabee Trachtenberg | Date: | Fri, 19 Aug 2005 19:08:59 +0000 |
| Subject: | Re: Simplexml and xml namespaces | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-18228@lists.php.net to get a copy of this message | ||
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.
-adam
--
adam@trachtenberg.com | http://www.trachtenberg.com
author of o'reilly's "upgrading to php 5" and "php cookbook"
avoid the holiday rush, buy your copies today!