This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]