Project

Profile

Help

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

he / latest10 / hej / net / sf / saxon / option / sql / package.html @ c74fd4aa

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.sql</title>
12
</head>
13

    
14
<body>
15

    
16
<p>This package provides some sample extension elements for loading data into an SQL database.</p>
17

    
18
<p>These classes are not intended as a production-quality tool, rather as an illustration
19
    of what can be achieved using XSLT extension instructions.</p>
20

    
21
<p>Because Saxon-HE (home edition) does not support the use of XSLT extension instructions,
22
    these classes require Saxon-PE (professional edition) or Saxon-EE (enterprise edition).
23
    However, the code of the extension itself is open source and is issued under the Mozilla
24
    Public License, meaning it can be freely modified.</p>
25

    
26
<p>The classes are not distributed in the main
27
    JAR file, but in a separate <code>saxon9-sql.jar</code> file, which must
28
    be added to the classpath when these extensions are used. In addition, the extension must be
29
    registered with the Saxon Configuration. This can be done either by calling the method
30
    <code>Configuration.setExtensionElementNamespace()</code>, or by including a line such
31
    as the following in the configuration file:</p>
32

    
33
<p><code>&lt;extensionElement namespace="http://ns.saxonica.com/sql"
34
    factory="net.sf.saxon.option.sql.SQLElementFactory"/&gt;</code></p>
35

    
36
<p>The extension can be registered under any namespace. The conventional namespace is
37
    <code>http://ns.saxonica.com/sql</code>, and the conventional prefix is <code>sql</code>.</p>
38

    
39
<p>These SQL extensions are documented in the file <code>sql-extension.html</code> in the main
40
    documentation directory.</p>
41

    
42
</body>
43
</html>
(10-10/10)