Re: [xsl] XSL: Why ouput replaces dot as comma ??

Subject: Re: [xsl] XSL: Why ouput replaces dot as comma ??
From: Florent Georges <lists@xxxxxxxxxxxx>
Date: Tue, 19 Aug 2008 10:26:37 +0200 (CEST)
"Sathasivam, Elayaraja" wrote:

  Hi

> AcutalOutput:117,62 ( Why the output replacing the dot'.' as comma','
> ???)
> Expected Output: 117.62 

> <xsl:value-of select="Charge[@Id='79' and @Type='5' and
> @PT='P']/@Amount"/>

> <Charge Id="79" Amount="117.62" CurrCode="EUR" Type="5" PT="P"/>

  Seems like a locale is used to format the amount.  The problem is
that xsl:value-of shouldn't do that itself.  Isn't there any other
processing on the text node created by this instruction?

  Regards,

--drkm

























      _____________________________________________________________________________ 
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr

Current Thread