This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Repeating something "n" times.
- To: xsl-list at mulberrytech dot com
- Subject: Re: Repeating something "n" times.
- From: Mike Brown <mike at skew dot org>
- Date: Mon, 6 Nov 2000 18:05:04 -0700 (MST)
- CC: robert at elastica dot com
- Reply-To: xsl-list at mulberrytech dot com
robert@elastica.com 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