Re: [xml] XPath expression returning unexpected nodeset?

On Tue, Jul 20, 2004 at 01:19:14PM +0200, Eddy Steevens wrote:
NodeSet->nodeTab[2] contains:

I'dd expected to see 3 elements in the nodeset each containing one data 
element.  Or only 1 element in the nodeset containing all 3 data elements.

What's wrong here?  Probably it is just me being plain stupid.

  you get back an arry of xmlNodePtr, pointers comming from the tree.
There is no copy, it's live pointers to the document. I assume you're
misunderstanding that or making mistake when printing.


Daniel Veillard      | Red Hat Desktop team
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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