Custom URI Resolvers

Does your program require that resources be located in custom repositories, convert some resource to XML on the fly, or do some other magic that is not built in to DataDirect XQuery? No worries — with DataDirect XQuery custom URI resolvers lets you take advantage of data stored in any file system.


By default, DataDirect XQuery uses the Java URI resolver when locating documents using the doc() function, providing out-of-the-box support for ftp:, http:, and file: schemes. You can also write your own URI resolver to support any XML source. But if your program requires that resources be located in custom repositories, converts some resource to XML on the fly, or does some other magic that is not built in to DataDirect XQuery, you can write your own URI resolver, and queries will use that instead. Your URI resolver must return an XML document using one of the following Java APIs: StreamSource, SAXSource, StAXSource (using an XMLStreamreader), or DOMSource.

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.