Re: [xsl] xsl:for or xsl:repeat

Subject: Re: [xsl] xsl:for or xsl:repeat
From: "Jon Gorman" <jonathan.gorman@xxxxxxxxx>
Date: Wed, 24 May 2006 09:55:04 -0500
On 5/24/06, Mark Williams <mark@xxxxxxxxxxxxxxxxx> wrote:

I'm looking for a function similar to to for-each, but instead I will
have a value passed from the xml which will be a number and I will have
to iterate for that number. What I need is:

eg <xsl:for nooftimes="2">

or <xsl:repeat repetitions="2">

This is an indication you probably need grouping and positioning, or some re-working of your XPath. I'm sure we could come up with some hacks that would do this, but the better question to ask is what you are actually trying to do.

Jon Gorman

Current Thread