Subject: Re: running a for loop (eg.1 to 10) using XSL
From: Oliver Becker <obecker@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 30 Aug 2000 10:23:42 +0200 (MET DST)
|
Hello,
> I'm trying to run a loop say for Eg. from 1 to 10. in XSL.
as other people already pointed out this can be achieved by recursively
calling named templates. If you frequently need such loops in your
stylesheets, the "XSLT Loop Compiler" may be a useful facility for you.
This is a transformation sheet that translates proprietary loop elements
into pure XSLT.
Check out
http://www.informatik.hu-berlin.de/~obecker/XSLT/#loop-compiler
Cheers,
Oliver
/-------------------------------------------------------------------\
| ob|do Dipl.Inf. Oliver Becker |
| --+-- E-Mail: obecker@xxxxxxxxxxxxxxxxxxxxxxx |
| op|qo WWW: http://www.informatik.hu-berlin.de/~obecker |
\-------------------------------------------------------------------/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|