RE: [xsl] get immediat preceeding node, if it is a comment

Subject: RE: [xsl] get immediat preceeding node, if it is a comment
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Fri, 4 Oct 2002 15:20:51 +0100
> 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@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread