The XQuery API for Java
- A standard Java interface to XML DataSources which support XQuery 1.0.
- The XQJ API is to XML Databases as the JDBC API is to Relational Databases.
- Is a light-weight design and is very easy to pick up.
The XQuery API interface supports
- Executing XQuery against an XML Datasource and processing the results in Java.
- Binding XQuery variables from Java.
- Creating Prepared and Adhoc XQuery expressions.
- Altering XQuery Static and Dynamic Context behaviour.
- ACID Transactions.
- XML Processing via StAX, SAX and DOM. Strings and Streams are also supported.
- Fine Grained data access,
-
- Result Sequences provide full XDM Data Type information about every result item.
- Reading and writing data in any encoding, including UTF-8, UTF-16 and ISO-8859-1.