Re: RE: element handling in schema

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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!

-- 
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux