Re: [SOAP] RE: element handling in schema
| From: | Adam Maccabee Trachtenberg | Date: | Mon, 28 Mar 2005 19:44:03 +0000 |
| Subject: | Re: [SOAP] RE: element handling in schema | ||
| References: | 1 2 3 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-1799@lists.php.net to get a copy of this message | ||
On Mon, 28 Mar 2005, George Schlossnagle wrote:
> Right. It's not clear how to support this with the syntax Dmitry
> demonstrated. It's not an issue for me at the moment, but might be
> later.
FWIW, these types of problems ended up making SimpleXML less
simple. :)
We ended up adding the childen() and attributes() methods, so you can
do $sx->attributes('a')->bar when $sx['bar'] isn't unique.
-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!