> It's not supposed to be DOM but I think there's a lot of added value in > making it easy/simple to do some of the basic methods. I agree it shouldn't > be bloated with all of DOM's capabilities.
I guess nobody wants a whole bunch of methods in SXE.
Up to now Sterling is the only nobody not that the current four responses or so are a real accurate survey :)
>>I can accept getChildren() and getAttributes() (or better, just >>children() and attributes()) as methods on objects, but I'm not happy >>with them at all. These two methods were considered for inclusion in >>my original thoughts on simplexml, and I decided against them for the >>reasons I've mentioned above. Anyhow, shall we put it to a vote on >>these two methods and move on? >> >>I'm -1 on having them.
> +1 and I prefer get*() :)
+1 too and they only make sense if they are named get*() because that are the names of the interface methods they implement.
Yep.
Andi
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php