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. > > xmlXPathNewContext > > 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 -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ [EMAIL PROTECTED] | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/ _______________________________________________ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org http://mail.gnome.org/mailman/listinfo/xml