XML Input and Output

DataDirect XQuery® can query any of the following XML sources:

  • XML files
  • XML documents made available via user-written URI resolvers
  • XML stored in columns of relational databases
  • Java DOM trees

DataDirect XQuery® is optimized for querying large XML files, which can be many Gigabytes. We use techniques known as Document Projection and Streaming to dramatically reduce the memory required to query such documents. Using Document Projection, we analyze the query before parsing XML input, creating only the parts of the document needed by the query. If you enable streaming, we parse the document incrementally, discarding parts that are no longer needed for query processing. Using these techniques, documents significantly larger than available RAM can be queried. For many queries, memory consumption is constant and independent of the size of the input document.

DataDirect XQuery® supports the following output formats.

  • SAX
  • StAX
  • DOM
  • java.io.OutputStream
  • java.io.Writer

Because we use lazy evaluation and stream results, very large query results are handled efficiently.

Free Webinar: DataDirect XQuery® to the Rescue!!

Oracle's XQuery got you mired in the mud? Bogged down with BEA and IPEDO’s XQuery platforms? DataDirect XQuery® to the rescue!

DataDirect XQuery® is scalable, flexible, reliable, and production-ready. We will rescue your integration application project and get it back on track!!

New Features in DataDirect XQuery®

DataDirect XQuery® is now released!

DataDirect XQuery® provides full update support for relational data, easy integration for Web Services, additional enhancements for performance and scalability and more!

Download now!

New Case Study

Gevity produces sales proposals in real time using DataDirect XQuery®. See how Gevity uses DataDirect XQuery® to combine Web service data from SalesForce.com with relational data in Oracle in a pricing engine for HR management.