Re: [xml] why xmlNodeSet in xpath and xpathInternal?



On Mon, Apr 14, 2003 at 10:17:59PM +0900, Kang Jeong-Hee wrote:
Hi.

implementing NamedNodeMap and NodeList for http://gybe.sf.net/dominigue/,
finally found xmlNodeSet is already implemented in libxml.
libxml is likewise a good friend of xml world. :)

but, xmlNodeSet and its APIs are spread over xpath and xpathInternal.
I don't know what's difference between xpath and Internal.

  Simply that the first one exports more general APIs than the second.

but why in xpath, not in tree?
after brief eye-rolling, xmlNodeSet APIs do not invoke xpath-something,
does it?

  The notion of nodesets is defined in the W3C XPath 1.0 Recommendation
and libxml2 implementation is conformant to that definition. 
    http://www.w3.org/TR/xpath#node-sets

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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