Re: [xml] XPath cursor



Amazing!

I've got it working.
Thanks,

Gerry Jacobs



--- Stefan Seefeld <seefeld sympatico ca> wrote:
Gerry Jacobs wrote:

 > xmlXPathObjectPtr package_name =
 > xmlXPathEval((unsigned
 >

char*)"/SOFTWARE/TYPE/VENDOR[ name='Microsoft']/PACKAGE/@name",
 > ctxt);
 >
 > but it shows me only the first package.
 > How can I show the other ones as well?

what do you do with te xmlXPathObjectPtr ? It's a
container
which you can iterate over to extract the full
NodeSet.

Stefan


_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xml gnome org
http://mail.gnome.org/mailman/listinfo/xml


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com



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