xsl:decimal-format

The xsl:decimal-format element is used at the top level of a stylesheet to indicate 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.

In practice decimal formats are used only for formatting numbers using the format-number() function in XPath expressions. For details of the attributes available, see the XSLT specification.

With XSLT 3.0, the specification of format-number() has moved into XPath which means it is also available in XQuery.