RE: [xsl] FW: problem integrating xsl iteration

Subject: RE: [xsl] FW: problem integrating xsl iteration
From: "Mac Rost" <mac.rost@xxxxxxxxx>
Date: Mon, 27 Sep 2004 12:41:24 -0500
Michael,
Am I right that xsl 2.0 is only supported in one processor right now? I am
using msxml, and didn't think that 2.0 was supported.

-----Original Message-----
From: Michael Kay [mailto:mike@xxxxxxxxxxxx] 
Sent: Monday, September 27, 2004 12:40 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: [xsl] FW: problem integrating xsl iteration

> 
> 
> 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