Re: [xsl] Keyword xsl:key may not be used here.

Subject: Re: [xsl] Keyword xsl:key may not be used here.
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 11 Sep 2006 16:29:28 +0100
> Is it just impossible to use key inside of a template?
yes. xsl:key can just be used where xsl:template can be used. they both
have the same scope and interaction with import precedence etc.

> Why is this error cause?
what would you want a key definition in a template to mean?
keys are tied to input documents not to any part of the stylesheet.

David

Current Thread