Debian Codegraph @

net/sf/saxon/xpath/package.html

raw symbols SCIP
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.xpath</title>
12 </head>
13
14 <body>
15
16 <p>This package is Saxon's implementation of the JAXP API designed for executing XPath 1.0 expressions
17 directly from a Java application. Saxon extends the interface to handle XPath 2.0, though if the application
18 makes extensive use of XPath 2.0 features, then the <b>s9api</b> interface offers a better fit
19 to the XPath 2.0 data model. The API can be used either in a free-standing
20 Java application (that is, where there is no XSLT stylesheet), or it can be
21 used from within Java extension functions called from XPath expressions within
22 a stylesheet.</p>
23
24 <p>The API itself is defined by JAXP 1.3, in interfaces such as <code>javax.xml.xpath.XPath</code>.<
25 These interfaces are included in Java Standard Edition from JDK 1.5 onwards.</p>
26
27
28 <p>The interfaces provided by Saxon extend the JAXP 1.3 interfaces in various ways. There
29 are three reasons for this:</p>
30
31 <ul>
32 <li><p>Saxon supports XPath 2.0 rather than 1.0</p></li>
33 <li><p>The package retains support for some interfaces that were provided before JAXP 1.3 was released.
34 (Most of these extensions have been deprecated for several releases, and most removed in Saxon 9.6).</p></li>
35 <li><p>There are methods that allow an escape into Saxon's more low-level APIs, needed by
36 anyone doing serious software integration.</p></li>
37 </ul>
38
39 <p>For most applications the preferred interface is
40 the s9api {@link net.sf.saxon.s9api.XPathCompiler}</p>
41
42
43 </body>
44 </html>