Re: [xsl] Streaming terminology: Climbing

Subject: Re: [xsl] Streaming terminology: Climbing
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Wed, 29 Jan 2014 11:31:15 +0000
>> Notice that all the examples are XPath expressions. Can you give an example
or two of a climbing construct that is not an XPath expression?
>
> Since every expression is an XPath expression, except for patterns (but
> they inherit the syntax), the only other thing that can potentially be
> climbing is a construct. Looking over the rules, it turns out that, if I
> interpret them correctly, only a choice operand group can potentially be
> climbing.

The other examples that come to mind are an xsl:sequence instruction where the
select attribute is climbing, and a sequence constructor that contains such an
xsl:sequence instruction.

Michael Kay
Saxonica

Current Thread