[Home] [By Thread] [By Date] [Recent Entries]
The specification leaves this implementation-defined. Since the values
of the parameters are the same for every node processed, it's a
reasonably strategy for the processor to evaluate the parameters before
knowing how many selected nodes there are, though I guess an even better
strategy would be to do it lazily when the first selected node is found.
But note also that this is a type error, and that type errors can even be reported at compile-time, even if the apply-templates is never executed. This could happen for example if the variable $b can be evaluated at compile time and its value is known statically to be an empty sequence. Michael Kay Saxonica On 18/10/2010 16:19, Vladimir Nesterovsky wrote: Hello!
|

Cart



