Subject: RE: An issue with XPath 2.0 sequences (Was Re: RE: Muenchian method, and keys 'n stuff)
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Thu, 31 Jan 2002 09:51:07 -0000
|
> couldn't one just do something like
>
> <xsl:param name="alph">
> <letter>a</letter>
> ...
> <letter>z</letter>
> </xsl:param>
>
> <xsl:for-each select="$alph/letter[1] to $alph/letter[last()]">
> ....
> </xsl:for-each>
>
You don't need "to" if you do that, just write
<xsl:for-each select="$alph/letter">
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|