On 15/10/2009, IRENE SIPIKA <[email protected]> wrote: > > Or is there a way for me to use the current 'element' node as the root > for the next xpath query?
Set the 'node' member of the xmlXpathContext to the new context node: <http://xmlsoft.org/html/libxml-xpath.html#xmlXPathContext> Or with the python bindings, use the setContextNode method on the xpathContext object. You can also compile the xpath expression and use xmlXPathCompiledEval if you're using it more than once. Martin _______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] http://mail.gnome.org/mailman/listinfo/xml
