xsl-list
[Top] [All Lists]

RE: Print number of chars depending upon int value

2005-04-22 04:19:12
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/



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