xsl:decimal-format
Indicates a set of localisation parameters. If the
xsl:decimal-format
element has a name
attribute,
it identifies a named format; if not, it identifies the default format.
Category: declaration
Content: none
Permitted parent elements:
xsl:stylesheet
; xsl:transform
Attributes
|
|
A named format; if the attribute is omitted then the default format is used. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Details
In practice decimal formats are used only for formatting numbers using the format-number() function in XPath expressions.
With XSLT 3.0, the specification of format-number()
has moved into
XPath which means it is also available in XQuery.