Re: Add n number of characters to Element text

Subject: Re: Add n number of characters to Element text
From: "David Marston/CAM/Lotus" <David_Marston@xxxxxxxxx>
Date: Wed, 17 May 2000 14:17:29 -0400
Russ Cormier asks about prepending zeroes to a number.

This can be done with the format-number function by using 0 as a
place-holder in the pattern, like this:
<xsl:value-of select="format-number(.,'00')"/>
00 for two places, 000 for 3 places, etc.
.................David Marston


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread