SAXONICA

Saxon Documentation
Full Contents
About Saxon
Changes in this Release
| Version 8.9 (2007-02-12)
| Version 8.8 (2006-09-05)
| Version 8.7.3 (2006-06-13)
| Version 8.7.2 (2006-04-19)
| Version 8.7.1 (2006-04-13)
| Version 8.7 (2006-02-24)
| Version 8.6.1 (24 November 2005)
| Version 8.6 (3 November 2005)
| Version 8.5.1 (26 August 2005)
| Version 8.5 (2 August 2005)
| Version 8.4 (4 April 2005)
| Version 8.3 (11 February 2005)
| Version 8.2 (21 December 2004)
| Version 8.1.1 (8 October 2004)
» | Version 8.1 (24 September 2004)
| Version 8.0 (1 June 2004)
Conditions of Use
Using XSLT 2.0
Using XQuery
Handling Source Documents
XML Schema Processing
XPath API for Java
Saxon on .NET
Extensibility
Saxon Extensions
Sample Saxon Applications
The Saxon SQL Extension
XSLT Elements
XPath 2.0 Expression Syntax
Function Library
Standards Conformance

# Changes to the XQuery Java API

The Java API for invoking XQuery has been simplified: there is no longer any need to create a `QueryProcessor` object, and the constructor for the `QueryProcessor` has been deprecated. Instead, all the methods that were previously available on the `QueryProcessor` can now be invoked directly on the `StaticQueryContext` object.

The constructor for the `DynamicQueryContext` object now requires a `Configuration` object to be supplied. This must be the same as the `Configuration` that was used when creating the `StaticQueryContext`.

A new sample program, `QueryAPIExamples.java`, is available in the `samples/java` directory. This illustrates most of the different ways of using the XQuery Java API.

Next