Re: SimpleXML and Default Cast To String
| From: | Andrei Zmievski | Date: | Tue, 13 Jan 2004 01:13:14 +0000 |
| Subject: | Re: SimpleXML and Default Cast To String | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-7032@lists.php.net to get a copy of this message | ||
On Mon, 12 Jan 2004, Sterling Hughes wrote:
> I'm not arguing whether or not getChildren() is easier. Of course it
> is. I'm arguing that getChildren() is not within the spirit of the
> simplexml extension, which is explicitly designed to be without accessor
> methods. I further, because of the availability of XPath don't see the
> need to have such an accessor. Perhaps I would reconsider if this were
> a particularly hard problem to solve without internal functions, but
> when its so simple, I don't see the point.
Eh, what is so "simple" about SimpleXML then?
- Andrei