Perfect !
Thanks a lot...
. . . . . . . . . . . . . . . . . . . . . . . . . .
Patrick Szabo
XSLT-Entwickler
LexisNexis
Marxergasse 25, 1030 Wien
mailto:patrick(_dot_)szabo(_at_)lexisnexis(_dot_)at
Tel.: +43 (1) 534 52 - 1573
Fax: +43 (1) 534 52 - 146
-----Ursprüngliche Nachricht-----
Von: Martin Honnen [mailto:Martin(_dot_)Honnen(_at_)gmx(_dot_)de]
Gesendet: Mittwoch, 26. Jänner 2011 11:48
An: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Betreff: Re: [xsl] do somthing x times
Szabo, Patrick (LNG-VIE) wrote:
How do I tell a template to do something a specific number of times.
I want to do something like "for each" only I have a number instead of
elements.
For example a certain attribute is 6 then I want to create 6 elements.
<xsl:for-each select="1 to 6">
<item><xsl:value-of select="."/></item>
</xsl:for-each>
--
Martin Honnen
http://msmvps.com/blogs/martin_honnen/
--~------------------------------------------------------------------
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>
--~--
--~------------------------------------------------------------------
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>
--~--