[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[xsl] Replacing leading zero with space
Subject: [xsl] Replacing leading zero with space From: Cams Ismael <Ismael.Cams@xxxxxxxxxxx> Date: Thu, 10 Apr 2003 09:33:06 +0200 |
Hello everyone, is it possible to accomplish following with <xsl:decimal-format> and format-number(): input: 1,5,9,10,12,16 output should be: 1 5 9 10 12 16 So I want to replace the leading zero with a space. But <xsl:decimal-format zero-digit=" "> does not work. I know I can get the result with a combination of the translate and substring function, but maybe there is an easier way to do this. Can somebody help me with this ? Kind regards, Ismaël XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Newbie Q: Why are element, Cams Ismael | Thread | Re: [xsl] Replacing leading zero wi, David Carlisle |
RE: [xsl] Newbie Q: Why are element, Jarno . Elovirta | Date | [xsl] Re: XSL-List Digest V4 #1219, Kathrin Compostella |
Month |