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

Subject: RE: [xsl] Print number of chars depending upon int value
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 22 Apr 2005 12:19:12 +0100
> In a reporting application, I need to print number of
> chars e.g. '.'s depending upon some numeric variable.
> SO it would be a kind of array of chars.


Like many things, it's very easy in 2.0:

string-join(for $i in 1 to $N return ".", "")

Michael Kay
http://www.saxonica.com/

Current Thread