[xsl] RE: [xsl] RE: [xsl] Re: [xsl] Problems transforming currency values using British pound (£) and Euro (?) signs

Subject: [xsl] RE: [xsl] RE: [xsl] Re: [xsl] Problems transforming currency values using British pound (£) and Euro (?) signs
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Fri, 10 Oct 2003 11:34:14 +0100
> Hmm... That's a different interpretation of the XSLT 1.0 Rec 
> than I've assumed. The Rec says:
> 
>   "The format pattern must not contain the currency sign (#x00A4);
>    support for this feature was added after the initial release of JDK
>    1.1."
> 
> I would assume that currency 
> symbols such as pound or dollar would be treated as literal 
> characters, just like any other punctuation.

Yes, you're right. It appears Java doesn't localize the currency symbol
used in the decimal format pattern: unlike other symbols such as the
decimal separator and grouping separator, it only localizes its
representation in the output.

Michael Kay


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


Current Thread