RE: [xsl] FW: problem integrating xsl iteration

Subject: RE: [xsl] FW: problem integrating xsl iteration
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Mon, 27 Sep 2004 18:39:34 +0100
> Your question wasn't very clear but i think you want to go from
> 
>  <TotalPages>37</TotalPages>
> 
> to
> 
> <a href="page1.html">1</a>
> ...
> <a href="page37.html">37</a>
> 
> 
> which would be something like...

or in 2.0

<xsl:for-each select="1 to TotalPages">
  <a href="page{.}.html"><xsl:value-of select="."/></a>
</xsl:for-each>

Michael Kay
http://www.saxonica.com/

Current Thread