Re: [xml] concept of current node in xpath

On Wed, Oct 01, 2008 at 03:38:04PM -0700, Prashant R wrote:
How do I ... ?

if I want xpath to start processing from a particular node in the DOM tree
instead of from the top.


takes the pointer to xmlDocPtr .

What is the API to specify that the xpath processing should occur from a
particular subtree  ?

  set ctxt->node


Daniel Veillard      | libxml Gnome XML XSLT toolkit
daniel veillard com  | Rpmfind RPM search engine | virtualization library

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