Re: For Loop in XSL

Subject: Re: For Loop in XSL
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 13 Dec 1999 09:46:43 GMT
> I know there is a <xsl:for-each>
> but is it suitable to use in this case?

No, but you can use recursion to get the effect you want.
You can search the archives of this list for a thread
Re: XSL iteration
from earlier this month, to find an example `for loop'
implemented by recursion.


Just one warning though, most answers on this list assume the W3C
XSL syntax. If you say you are using IE5 then people can give you answers 
in the rather different language called XSL implemented in that browser,
but you said:

   My XSL File:
    <SELECT NAME="NUMBER">
     ??...
    </SELECT>

This is (If I remember correctly) the syntax of the first working draft
xsl proposal and not implemented by any current system. If you have a
system using that syntax you should update it.

Daid


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread
  • For Loop in XSL
    • Low Kiam Imm - Sun, 12 Dec 1999 23:29:30 -0800 (PST)
      • David Carlisle - Mon, 13 Dec 1999 09:46:43 GMT <=
      • <Possible follow-ups>
      • Ben Robb - Mon, 13 Dec 1999 09:35:10 -0000
      • Ben Robb - Mon, 13 Dec 1999 09:43:54 -0000