From: "bob mcwhirter" <[EMAIL PROTECTED]>
> 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).

And thats irrespective of the context node on which the XPath expression
operates on isn't it.

Phew just checking. Thanks.

James


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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

Reply via email to