Re: [xml] Relative XPath search



On Wed, Jul 13, 2005 at 11:34:25AM +0200, m curcio libero it wrote:
There's just one more doubt that I have:
By saying "none of the XPath expressions need to access the root" you're referring to the explicit usage, 
within the XPath string, of axis like 'ancestor', 'ancestor-or-self', 'namespace', 'parent' ? 

  and the use of / at the beginning of a path, yes. Though the axis
may not break even if the document node is missing, well I hope they don't.

Daniel

-- 
Daniel Veillard      | Red Hat Desktop team http://redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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