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(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list