Project

Profile

Help

Download (1.74 KB) Statistics
| Branch: | Tag: | Revision:

he / tags / 9.2.0.5 / hej / net / sf / saxon / number / package.html @ 90ee0d1a

1 90ee0d1a Michael Kay
<html>
2
3
<head>
4
<title>Package overview for net.sf.saxon.number</title>
5
</head>
6
7
<body>
8
9
<p>This package provides classes associated with numbering and the <code>xsl:number</code> element. </p>
10
11
<p>It is possible to extend the range of numberings available by providing a Numberer
12
for a specific language. This must be registered with the <code>Configuration</code>.
13
In earlier releases, there was a fixed relationship between the language and the
14
    implementing class (the Numberer was always named Numberer_xx where xx is the language code,
15
corresponding to the value of the lang attribute in <code>xsl:number</code>). From Saxon 9.2,
16
this relationship no longer exists.</p>
17
18
<p>These classes also include code to support the localization of dates as defined
19
in the XSLT <code>format-dateTime()</code> group of functions.</p>
20
21
<p>The class <code>Numberer_en</code> provides the standard numbering options. As well as the
22
format tokens defined in the XSLT 1.0 specification (for example, "1", "001", "a", "i") it supports
23
other numbering options including:</p>
24
25
<li>
26
<ul>Greek upper and lower case letters</ul>
27
<ul>Cyrillic upper and lower case letters</ul>
28
<ul>Hebrew letters</ul>
29
<ul>Japanese: Hiragana-A, Hiragana-B, Katakana-A, or Katakana-B letters, and Kanji digits</ul>
30
<ul>English words: the format token "one" produces numbers such as "twenty five"</ul>
31
</li>
32
33
<p>Localizations for a number of European languages are provided in package <code>net.sf.saxon.option.local</code>.
34
In Saxon-PE and Saxon-EE these are issued in binary form as part of the Saxon JAR. For Saxon-HE, they are
35
issued only in source code form.</p>
36
37
38
<hr>
39
40
<p align="center"><i>Michael H. Kay<br/>
41
Saxonica Limited<br/>
42
12 June 2009</i></p>
43
</body>
44
</html>