xsl-list
[Top] [All Lists]

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

2006-05-24 07:55:28
On 5/24/06, Mark Williams <mark(_at_)gwsmartmove(_dot_)co(_dot_)uk> wrote:
Hi,

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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--