[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: zero-digit

Subject: RE: zero-digit
From: "Clapham, Paul" <pclapham@xxxxxxxxxxxxx>
Date: Thu, 30 Nov 2000 14:05:19 -0800
is zero a digit
I'm no XML expert, and I haven't inspected the XML spec in any detail, but
from what I read in Michael Kay's XSLT book it appears to me that I should
be able to use for example <xsl:decimal-format ... digit-zero="#x0E50" ...>,
where x0E50 is the Unicode character for "Thai Digit Zero", and expect the
resulting output to be rendered in Thai digits.  True, that isn't supported
by Java's DecimalFormat class; is there some other way in Java of persuading
DecimalFormat to produce Thai digits?

PC2

-----Original Message-----
From: Elliotte Rusty Harold [mailto:elharo@xxxxxxxxxxxxxxx]
Sent: November 30, 2000 08:09
To: xsl-list@xxxxxxxxxxxxxxxx
Cc: xsl-editors@xxxxxx
Subject: zero-digit


It strikes me that the text describing the zero-digit attribute of 
the xsl:decimal-format element in the XSLT 1.0 spec may be wrong. 
What is stated in Section 12.3 is:

zero-digit specifies the character used as the digit zero; the 
default value is the digit zero (0)

The issues with this:

1. Why can we specify 0 but not 1 through 9?

2. Changing the character used for 0 is not allowed by the 
java.text.DecimalFormat class after which format-number and 
xsl:decimal-format is modeled. ()

<snip/>


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.