xsl-list
[Top] [All Lists]

RE: Print number of chars depending upon int value

2005-04-22 04:26:18

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

--~------------------------------------------------------------------
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>
--~--