On Tue, 20 Nov 2001, James Strachan wrote:

> Just a quick clarifcation that I wanted to double check with the list. Any
> XPath expression that starts with "/" should always start from the document
> of the node on which the XPath is evaluated, shouldn't it?
> 
> i.e. the behaviour is like a file system where whatever directory (node) you
> evaluate a path expression, anything starting with "/" starts from the root
> directory (the document).
> 
> This is true isn't it?

Ayup.  /<location-path> is absolute from the document node (note: *not*
the root element).

        -bob


_______________________________________________
Jaxen-interest mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jaxen-interest

Reply via email to