Project

Profile

Help

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

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

1
<html>
2

    
3
<head>
4
<title>Package overview for net.sf.saxon.sql</title>
5
</head>
6

    
7
<body>
8

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

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

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

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

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

    
29
<p>The extension can be registered under any namespace. The conventional namespace is
30
<code>http://ns.saxonica.com/sql</code>, and the conventional prefix is <code>sql</code>.</p>
31
 
32
 <p>These SQL extensions are documented in the file <code>sql-extension.html</code> in the main
33
 documentation directory.</p>
34
<hr>
35

    
36
<p align="center"><i>Michael H. Kay<br/>
37
Saxonica Limited<br/>
38
9 June 2009</i></p>
39
</body>
40
</html>
(9-9/9)