Re: [PHP-XML-DEV] Dom and SimpleXml Xpath return types

[email protected] ("Rob Richards") Wed, 3 Mar 2004 13:20:08 -0500
Newsgroups php.xml.dev
Message-ID <[email protected]>
From: Philip Fletcher


> Ah - that explains it. Is a full implementation of xpath planned before
PHP5
> goes gold? (and is my understanding of xpath correct wrt that
> implementation? i.e. it'll return different type as appropriate?).

No, a full implementation will not be released with 5.0. Would be a future
release.

> An opportunity to practice refactoring my code, when it's done, methinks:)

I can say for dom, query will be returning a nodelist. This function will
not change.
For full XPath support, thats up in the air right now on how its going to be
implemented.

Rob