Subject: Re: zero-digit From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Thu, 30 Nov 2000 20:03:17 -0500 |
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?
Assuming this analysis is correct, I think an erratum needs to be published for XSLT 1.0. This erratum should delete the current bullet point "zero-digit specifies the character used as the digit zero; the default value is the digit zero (0)" It should add the following bullet point to the list of "The following attributes control the interpretation of characters in the format pattern:
zero-digit specifies the character used for a zero digit in the format pattern; the default value is the zero character (0)
-- G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (Fax:-0995) Web site: XSL/XML/DSSSL/SGML services, training, libraries, products. Book: Practical Transformation Using XSLT and XPath ISBN1-894049-05-5 Article: What is XSLT? http://www.xml.com/pub/2000/08/holman Next public instructor-led training: 2000-12-03/04,2001-01-27, - 2001-02-21,2001-02-27/03-01,2001-03-05/07,2001-04-06/07
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
zero-digit, Elliotte Rusty Harol | Thread | RE: zero-digit, Clapham, Paul |
Re: syntax question: using a variab, Alex Aguilar | Date | RE: zero-digit, G. Ken Holman |
Month |