XML and XQuery APIs

Download

|

XQuery Home

XQuery for Java (XQJ, JSR 225)

The XQJ API supports XQuery in the same way that the JDBC API supports SQL - it is used to establish connections, issue queries, retrieve results, and configure the query environment. Like JDBC, XQJ is developed under Java Community Process, where it is known as JSR 225.

DataDirect XQuery™ 1.0 supports Early Draft Review 1 of JSR 225.

Document Object Model (DOM)

Simple API for XML (SAX)

Streaming API for XML (StAX)

  • XQJ Code Listing - Execute XQuery and Output result w/ StAX — Shows how to return query results using XQJ and StAX.

  • JSR-173 — The Java Community Process page for StAX.