Re: SimpleXML and Default Cast To String

From: Date: Mon, 12 Jan 2004 22:37:21 +0000
Subject: Re: SimpleXML and Default Cast To String
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-7021@lists.php.net to get a copy of this message
On Jan 12, 2004, at 5:35 PM, Sterling Hughes wrote:
Well, this can be added with userspace handlers as I mentioned to Marcus. The real trick to XML manipulation is Xpath, not adding a bunch of broken methods. If people want to do that, they can load a simplexml object into DOM, and use the two together. ;)
XPath cant be the answer to everything. Although it would work, XPath is
sure. but it can solve most of the simple problems quite efficiently, like getting immediate children.
Seems to take a good bit of the Simple out of SimpleXML, IMHO. George

« previous php.internals (#7021) next »