Subject: Re: running a for loop (eg.1 to 10) using XSL
From: Miloslav Nic <nicmila@xxxxxxxxx>
Date: Wed, 30 Aug 2000 11:15:23 +0200
|
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@xxxxxxxxxxxxxxxxxxxxxxx |
> | 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@xxxxxxxxx </mail>
<support> http://www.zvon.org </support>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|