Project

Profile

Help

How to connect?
Download (2.37 KB) Statistics
| Branch: | Tag: | Revision:

he / tags / 9.7.0.3 / hej / net / sf / saxon / expr / number / package.html @ cb770b3c

1
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
2
<!-- Copyright (c) 2014 Saxonica Limited. -->
3
<!-- This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. -->
4
<!-- If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
5
<!-- This Source Code Form is "Incompatible With Secondary Licenses", as defined by the Mozilla Public License, v. 2.0. -->
6
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
7

    
8
<html>
9

    
10
<head>
11
    <title>Package overview for net.sf.saxon.number</title>
12
</head>
13

    
14
<body>
15

    
16
<p>This package provides classes associated with numbering and the <code>xsl:number</code> element. </p>
17

    
18
<p>It is possible to extend the range of numberings available by providing a Numberer
19
    for a specific language. This must be registered with the <code>Configuration</code>.
20
    In earlier releases, there was a fixed relationship between the language and the
21
    implementing class (the Numberer was always named Numberer_xx where xx is the language code,
22
    corresponding to the value of the lang attribute in <code>xsl:number</code>). From Saxon 9.2,
23
    this relationship no longer exists.</p>
24

    
25
<p>These classes also include code to support the localization of dates as defined
26
    in the XSLT <code>format-dateTime()</code> group of functions.</p>
27

    
28
<p>The class <code>Numberer_en</code> provides the standard numbering options. As well as the
29
    format tokens defined in the XSLT 1.0 specification (for example, "1", "001", "a", "i") it supports
30
    other numbering options including:</p>
31

    
32
<li>
33
    <ul>Greek upper and lower case letters</ul>
34
    <ul>Cyrillic upper and lower case letters</ul>
35
    <ul>Hebrew letters</ul>
36
    <ul>Japanese: Hiragana-A, Hiragana-B, Katakana-A, or Katakana-B letters, and Kanji digits</ul>
37
    <ul>English words: the format token "one" produces numbers such as "twenty five"</ul>
38
</li>
39

    
40
<p>Localizations for a number of European languages are provided in package <code>net.sf.saxon.option.local</code>.
41
    In Saxon-PE and Saxon-EE these are issued in binary form as part of the Saxon JAR. For Saxon-HE, they are
42
    issued only in source code form.</p>
43

    
44

    
45
<hr>
46

    
47
<p align="center"><i>Michael H. Kay<br/>
48
    Saxonica Limited<br/>
49
    12 June 2009</i></p>
50
</body>
51
</html>
(9-9/9)