xsl-list
[Top] [All Lists]

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

2003-10-10 03:34:14
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