Here is a possible solution, use the recursive call-template.
<xsl:template name="myloop">
  <xsl:param name="index" select="''"/>    <!-- beginning index -->
  <xsl:param name="end" select="0"/>      <!-- ending index -->
Do My Work Here ...
  <xsl:if test="$end != 0 and $index != $end">
    <xsl:variable name="index2" select="$index + 1"/>
    <xsl:call-template name="myloop">
      <xsl:with-param name="index" select="$index2"/>
      <xsl:with-param name="end" select="$end"/>
  Steve Lihn

-----Original Message-----
From: xavier gibouin [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 05, 2002 9:47 AM
Subject: Re:xsl loop

I would like to know if is it possible to realise loop like :
for(index=0, index++, index<100) {
in xsl language
thanks a lot
Xavier Gibouin
Espace Mercoeur
8, rue Mercoeur
44000 Nantes

Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (Whitehouse Station, New Jersey, USA) that may be confidential, proprietary copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named on this message. If you are not the intended recipient, and have received this message in error, please immediately return this by e-mail and then delete it.


Reply via email to