RE: [xsl] Print number of chars depending upon int value

Subject: RE: [xsl] Print number of chars depending upon int value
From: "Andrew Welch" <ajwelch@xxxxxxxxxxxxxxx>
Date: Fri, 22 Apr 2005 12:26:18 +0100
> Like many things, it's very easy in 2.0:
>
> string-join(for $i in 1 to $N return ".", "")

Or:

<xsl:for-each select="1 to $N">.</xsl:for-each>

...which doesn't involve worrying about separators.

cheers
andrew

Current Thread