Re: Repeating something "n" times.

Subject: Re: Repeating something "n" times.
From: Mike Brown <mike@xxxxxxxx>
Date: Mon, 6 Nov 2000 18:05:04 -0700 (MST)
robert@xxxxxxxxxxxx wrote:
> How do I repeat something 'n' times without a node list with n elements?

Put the task in a named template that takes a numeric parameter and, if
the parameter is greater than one, calls itself when it's done, passing
in the parameter minus one.

   - Mike
____________________________________________________________________
Mike J. Brown, software engineer at         My XML/XSL resources:
webb.net in Denver, Colorado, USA           http://www.skew.org/xml/


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


Current Thread