xsl-list
[Top] [All Lists]

RE: Positional predicates in pattern matching

2004-07-02 09:46:45
 

To quote Michael Kay from the bottom of page 442 in the 2nd 
edition of the 
XSLT Programmers Reference,

"If there are several predicates in the StepPatten, then 
position() and last() 
in predicates after the first apply to the nodes that 
survived the previous 
predicates"

Precisely. And if the predicate is [true()], then all the nodes are going to
survive it.

Michael Kay