Re: [xsl] key() in match pattern of xsl:key

Subject: Re: [xsl] key() in match pattern of xsl:key
From: rolf@xxxxxxxxxxxx
Date: Sat, 10 Dec 2005 22:33:34 +0100 (CET)
On 10 Dec, Michael Kay wrote:
>> Should it be possible to reference one key in the match pattern of 
>> another?  
> Yes, there's no ban on it, in either XSLT 1.0 or 2.0. But I haven't seen it
> done very often.

I disagree, with respect to XSLT 1.0. The recommendation is silent
about this, right, but E13 out of the XSLT 1.0 errata (see cleary states:

    It is an error for the value of either the use attribute or the
    match attribute to contain a VariableReference, or a call to the
    key function.


Current Thread