Home > XML IDE - XML Editor > DataDirect XML Converters > Extending XQuery
Extend DataDirect XQuery with Stylus Studio XML Deployment AdaptersNeed to access legacy or other non-XML data formats and relational data? It's easy with Stylus Studio XML Deployment Adapters — high-performance Java components that can extend DataDirect XQuery by providing bi-directional programmatic access to virtually any data source (EDI, flat files, relational, and others) as XML. Stylus Studio also provides integrated support for developing applications which use DataDirect XQuery. Setting Up Stylus Studio XML Deployment Adapter ExamplesThis section describes the prerequisites and procedures for setting up and running the DataDirect XQuery examples that use Stylus Studio XML Deployment Adapters to access data in relational databases and other flat-file formats like CSV and EDI. PrerequisitesBefore you can run the DataDirect XQuery examples, you need to
Example DescriptionsFour examples are provided to help you learn about exploiting Stylus Studio XML Deployment Adapters in your DataDirect XQuery applications.
Running the Examples
To run an example, execute a statement like one of the following from inside the \examples\XQJExecute folder where you installed
DataDirect XQuery.
run.bat csv-request.xq
If you are using Linux or UNIX:
run.sh csv-request.xq
Stylus Studio XML Deployment Adapter URL Properties
Stylus Studio provides adapters for a variety of file formats such as EDI, binary, RTF, dBase, and others. Each adapter URL scheme has its own set of properties
that you can use to tune how XML is converted from non-XML files, and vice versa. Reference documentation for adapter URL properties is here:
Those very same adapters can also be embedded inside your own programs. See the Data Conversion APIs section for more information. Going in the opposite direction on the scale, the XML Pipeline suite of tools will let you visually design multi-stage XML programs, including XQuery, XSLT, Validation and other steps as necessary. It will even generate the code to drive the whole pipeline. At both ends of the scale, the XML deployment adapters and DataDirect XQuery engine have you covered. Prev: "XML Converters Unleashed" Next: "How to Extend XML Converters Evaluation Period" |
PURCHASE STYLUS STUDIO ONLINE TODAY!!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Learn XQuery in 10 Minutes!Say goodbye to 10-minute abs, and say Hello to "Learn XQuery in Ten Minutes!", the world's fastest and easiest XQuery primer, now available for free! Why Pay More for XML Tools?With Stylus Studio® X16 XML Enterprise Suite, you get the most comprehensive XML tool suite at one incredibly low price. Value: it's just one of many reasons why smart XML developers are choosing Stylus Studio! |