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(_dot_)charade(_at_)gmail(_dot_)com> 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
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--