This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: An issue with XPath 2.0 sequences (Was Re: RE: Muenchian method, and keys 'n stuff)


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]