This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: running a for loop (eg.1 to 10) using XSL
- To: xsl-list at mulberrytech dot com
- Subject: Re: running a for loop (eg.1 to 10) using XSL
- From: Miloslav Nic <nicmila at idoox dot com>
- Date: Wed, 30 Aug 2000 11:15:23 +0200
- References: <200008300823.KAA09645@mail.informatik.hu-berlin.de>
- Reply-To: xsl-list at mulberrytech dot com
I have some examples in my XSLT tutorial:
http://www.zvon.org/xxl/XSLTutorial/Examples/Example77/exampleInOne.html
Oliver Becker wrote:
>
> 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@informatik.hu-berlin.de |
> | op|qo WWW: http://www.informatik.hu-berlin.de/~obecker |
> \-------------------------------------------------------------------/
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
--
******************************************
<firstName> Miloslav </firstName>
<surname> Nic </surname>
<mail> nicmila@idoox.com </mail>
<support> http://www.zvon.org </support>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list