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
--~------------------------------------------------------------------
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>
--~--