The <localizations> element
The localizations element in the configuration file defines classes used to localize the output of the xsl:number instruction in XSLT, and the functions format-date(), format-time(), and format-dateTime().
It has two attributes, defaultLanguage and defaultCountry which provide default values for the lang
attribute/argument and the country argument respectively. If no values are supplied, the defaults are taken from the default Locale in
the Java VM (which in turn will typically depend on operating system settings).
The element contains zero or more child localization elements as detailed below.
Each localization element may have the following attributes:
|
Attribute |
Applies to |
Values |
Effect |
|
|
HE PE EE |
An ISO language code, e.g. |
The language to which this localization relates. |
|
|
HE PE EE |
Name of a class that implements the interface Numberer |
The class that performs localization for the specified language. |
|
additional attributes |
HE PE EE |
Additional attributes are passed on to a user-specified LocalizerFactory |
The meaning of these attributes depends entirely on the
|
Previous Saxon releases supplied numberers for various European languages (da, de, fr, dr-BE, it, nl, nl-BE, sv). These are no longer supplied with the product, but the versions supplied with earlier releases should still work.