You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by xavier gibouin <xa...@axonie.com> on 2002/11/05 15:46:55 UTC

Re:xsl loop

Hi 

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
Axonie
Espace Mercoeur
8, rue Mercoeur
44000 Nantes
02.40.48.53.23
xavier.gibouin@axonie.com

Re: xsl loop

Posted by Oleg Tkachenko <ol...@multiconn.com>.
xavier gibouin wrote:

> I would like to know if is it possible to realise à loop like :
>
> for(index=0, index++, index<100) {
>
>
> }
>
> in xsl language 

Sure. As in any functional language you can do it using recursion,
e.g. see http://www.dpawson.co.uk/xsl/sect2/repetition.html

-- 
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel