RE: [XSLT2.0] Adding lang attribute to decimal-format

> 
> SUGGESTION 3:
> 16.4.1 Defining a Decimal Format
> 
> Add attribute lang? = { nmtoken }.
> The rules for the attributes are the same as for
> this attributes in other elements (e.g. xsl:number).
> lang attribute should control default values for attributes: 
> decimal-separator, grouping-separator, infinity minus-sign, 
> NaN, percent, per-mille, zero-digit. (e.g. text 
> "decimal-separator specifies the character used for the 
> decimal-separator-sign; the default value is the period 
> character (.)" should be replaced with decimal-separator 
> specifies the character used for the decimal-separator-sign; 
> the default value is default for a given language".
> 

A personal response: I think this is of marginal benefit. I don't think
it's difficult for users to specify exactly what formatting they want,
and it gives better interoperability if they do so: how likely is it
that different processors will choose the same representation for "NaN"
in Italian?

Michael Kay

Received on Tuesday, 13 January 2004 14:49:20 UTC