[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
AW: [xsl] do somthing x times
Subject: AW: [xsl] do somthing x times From: "Szabo, Patrick \(LNG-VIE\)" <patrick.szabo@xxxxxxxxxxxxx> Date: Wed, 26 Jan 2011 11:50:51 +0100 |
Perfect ! Thanks a lot... . . . . . . . . . . . . . . . . . . . . . . . . . . Patrick Szabo XSLT-Entwickler LexisNexis Marxergasse 25, 1030 Wien mailto:patrick.szabo@xxxxxxxxxxxxx Tel.: +43 (1) 534 52 - 1573 Fax: +43 (1) 534 52 - 146 -----UrsprC<ngliche Nachricht----- Von: Martin Honnen [mailto:Martin.Honnen@xxxxxx] Gesendet: Mittwoch, 26. JC$nner 2011 11:48 An: xsl-list@xxxxxxxxxxxxxxxxxxxxxx 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/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] do somthing x times, Martin Honnen | Thread | [xsl] Q: Where will xpointer() appl, Hermann Stamm-Wilbra |
Re: [xsl] do somthing x times, Martin Honnen | Date | [xsl] Q: Where will xpointer() appl, Hermann Stamm-Wilbra |
Month |