Functions, operators, and data types for XPath 3.1
Hyphenation of numbers such as "twenty-two" and "fifty-three" (in English) in the output of
xsl:number
and format-integer()
can now be controlled using an extension to the
language code. lang="en-x-hyphen"
forces hyphenated numbers (e.g. "twenty-two", "forty-third"),
while lang="en-x-nohyphen"
forces no hyphen (e.g. "twenty two" and "forty third"). The default
has not been changed, and is inconsistent between ordinal and cardinal numbering, and
between Saxon-EE/PE (which use ICU-J) and Saxon-HE (which has a home-brew implementation).