[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Very neat.
On 9/11/06, Michael Kay <mike@xxxxxxxxxxxx> wrote:
Re: [xsl] Keyword xsl:key may not be used here.
Subject: Re: [xsl] Keyword xsl:key may not be used here. From: "Bob Portnell" <simply.bobp@xxxxxxxxx> Date: Mon, 11 Sep 2006 11:01:49 -0700 |
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.
Why do you want to?
Michael Kay http://www.saxonica.com/
> -----Original Message----- > From: Jaebin Lee [mailto:jaebin.charade@xxxxxxxxx] > Sent: 11 September 2006 16:25 > To: xsl-list > Subject: [xsl] Keyword xsl:key may not be used here. > > 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Keyword xsl:key may not b, Michael Kay | Thread | [xsl] Converting SSI variables to X, tom tom |
RE: [xsl] Keyword xsl:key may not b, Michael Kay | Date | [xsl] looping in increments, Vijay Malgari |
Month |