Re: [xml] XPath cursor



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





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