Subject: Re: [xsl] format-number issue From: henry human <henry_human@xxxxxxxx> Date: Tue, 14 Feb 2012 15:28:08 +0000 (GMT) |
Thanks guys. It was helpful. It is wired format but the manager want having it in this way ;) B.R ----- Urspr|ngliche Message ----- Von: Michael Kay <mike@xxxxxxxxxxxx> An: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Cc: Gesendet: 10:36 Dienstag, 14.Februar 2012 Betreff: Re: [xsl] format-number issue On 14/02/2012 07:41, henry human wrote: > Hi guys > I have taxAmount element which has different formats : > a)<TaxAmount>247.09</TaxAmount> > b)<TaxAmount>247.9</TaxAmount> > c)<TaxAmount>24</TaxAmount> > The result shold be : a)0000024709 > b)0000002479 > c)0000000024 > I find it hard to imagine how you arrived at such a weird design, but it looks like format-number(number(translate(TaxAmount, '.', '')), '0000000000') Michael Kay Saxonica
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] format-number issue, Wolfgang Laun | Thread | [xsl] What is Good XML? How Can We , Tommie Usdin |
Re: [xsl] format-number issue, Wolfgang Laun | Date | [xsl] What is Good XML? How Can We , Tommie Usdin |
Month |