[Home] [By Thread] [By Date] [Recent Entries]
One thing I remember being gobsmacked by is finding that the definitions I put into the <xsl:key> statement basically had little relationship to the place or purpose I intended for the key() function later. So, the <xsl:key> definition goes as a child element of the <xsl:stylesheet>, but the key() function to call it can be anywhere (and can refer to it in any context, with the 3rd argument available in XSLT2). Very neat. Bob Portnell simply.bobp@xxxxxxxxx On 9/11/06, Michael Kay <mike@xxxxxxxxxxxx> wrote: You can't use xsl:key inside a template.
|

Cart



