This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: get immediat preceeding node, if it is a comment
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Fri, 4 Oct 2002 15:20:51 +0100
- Subject: RE: [xsl] get immediat preceeding node, if it is a comment
- Reply-to: xsl-list at lists dot mulberrytech dot com
> So is it the case that all predicates to the right of the
> positional predicate refer to that node? (they change the
> context node)
The context node, position, and size for evaluation of a filter
predicate are based on the list of nodes that remain after applying any
previous filters.
So $x[2][1] selects $x[2], while $x[1][2] selects nothing.
Obvious really...
Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list