Subject: RE: [xsl] lookup table keyed by position From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Wed, 23 Feb 2005 20:41:21 -0000 |
> It seems that the context node when position is evaluated is > the months > element, not the individual abbbrev elements. Yes: as the (1.0) spec says "the expression specified in the use attribute of the xsl:key element is evaluated with x as the current node and with a node list containing just x as the current node list ". Try use="count(preceding-sibling::*)+1" - but remember that in 1.0 it's always done as a string comparison. Michael Kay http://www.saxonica.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] lookup table keyed by pos, Wendell Piez | Thread | [xsl] TD and input box values in XS, Adam_Wetch |
Re: [xsl] xsl recursion, Dimitre Novatchev | Date | Re: [xsl] xsl recursion, Norman Barker |
Month |