W3C home > Mailing lists > Public > public-qt-comments@w3.org > February 2014

[Bug 24596] Overriding xsl:decimal-format

From: <bugzilla@jessica.w3.org>
Date: Wed, 12 Feb 2014 16:02:43 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-24596-523-IIrBbyqVWw@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24596

--- Comment #1 from Michael Kay <mike@saxonica.com> ---
I think that for serious localization one needs to control decimal format at
run time rather than to override it at compile time: you want to format numbers
differently for different users without recompiling the stylesheet or package.

If you want the equivalent of being able to override a decimal format you can
put your number formatting inside a function and allow people to override the
function. The override of this function will pick up the decimal format from
the package in which the overriding function is defined.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Wednesday, 12 February 2014 16:02:46 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:45 UTC