xsl-list
[Top] [All Lists]

RE: FW: problem integrating xsl iteration

2004-09-27 10:41:24
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(_at_)saxonica(_dot_)com] 
Sent: Monday, September 27, 2004 12:40 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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/


--+------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--