Custom URI Resolvers

By default, DataDirect XQuery uses the Java URI resolver when locating documents using the doc() function. 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.

Prev Next
Calling Java or SQL Functions from XQuery XML Converters

Copyright © 1993 - 2008. Progress Software Corporation. All rights reserved. | N. America: 800 876 3101 | World: +44 (0) 1753 218 930