[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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


Subject: Re: [xsl] Keyword xsl:key may not be used here.
From: "Mukul Gandhi" <gandhi.mukul@xxxxxxxxx>
Date: Mon, 11 Sep 2006 21:05:47 +0530

xsl:key instruction can only be direct child element of
xsl:stylesheet. After defining xsl:key, you can use key() function
elsewhere in the stylesheet. i.e. xsl:key and key() have to be used
together.

For learning the semantics, this page is useful:
http://www.dpawson.co.uk/xsl/sect2/N4852.html

On 9/11/06, Jaebin Lee <jaebin.charade@xxxxxxxxx> wrote:
Hi,

Im' trying to use <xsl:key> inside of a template, it always gives an
error saying
"Keyword xsl:key may not be used here."

Is it just impossible to use key inside of a template?
Why is this error cause?

-Jaebin


--
Regards,
Mukul Gandhi

http://gandhimukul.tripod.com


Current Thread