Re: [xml] filtering a resulting NodeSet with xPath?
- From: Chris Burdess <dog bluezoo org>
- To: Agustín Villena <avillena tutopia com>
- Cc: xml gnome org
- Subject: Re: [xml] filtering a resulting NodeSet with xPath?
- Date: Tue, 23 Nov 2004 10:01:30 +0000
Agustín Villena wrote:
It seems that I failed to obtain any attention from the xml gurus...
The I must try again.
My doubt is :
- I don't undestand how libxslt implements its capacity of apply a
xpath's query over a nodeset (even if this last is a result of another
nodeset), since don't exists any API (in xpath.c) that allows to do
so.
Does the gurus have any pointer to a way to implement this
functionality without using an XSLT transformation?
xmlXPathContextPtr ctx = xmlXPathNewContext (node);
xmlXPathObjectPtr eval = xmlXPathEval (expression, ctx);
xmlXPathFreeContext (ctx);
/* ... do stuff with eval ... */
--
Chris Burdess
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]