24.08.2015 Views

Oxygen XML Author plugin 13.2.0

Oxygen XML Author plugin 13.2.0

Oxygen XML Author plugin 13.2.0

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

XQJ TransformersThis section describes the necessary procedures before running an XQJ transformation.Querying Documents | 317How to Configure an XQJ Data SourceAny transformer that offers an XQJ API implementation can be used when validating XQuery or transforming <strong>XML</strong>documents.1. Go to menu Preferences > Data Sources.2. Click the New button in the Data Sources panel.3. Enter a unique name for the data source.4. Select XQuery API for Java(XQJ) in the Type combo box.5. Press the Add button to add XQJ API specific files.You can manage the driver files using the Add, Remove, Detect and Stop buttons.<strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong> <strong>plugin</strong> will detect any implementation of javax.xml.xquery.XQDataSource andpresent it in Driver class field.6. Select the most suited driver in the Driver class combo box.7. Click the OK button to finish the data source configuration.How to Configure an XQJ ConnectionThe steps for configuring an XQJ connection are the following:1. Go to menu Preferences > Data Sources.2. Click the New button in the Connections panel.3. Enter a unique name for this connection.4. Select one of the previously configured XQJ data sources in the Data Source combo box.5. Fill-in the connection details.The properties presented in the connection details table are automatically detected depending on the selected datasource.6. Click the OK button.Display Result in Sequence ViewThe result of an XQuery executed on a database can be very large and sometimes only a part of the full result is needed.For avoiding the long time necessary for fetching the full result the Present as a sequence option should be selected inthe Output tab of the dialog for editing the transformation scenario. This option fetches only the first chunk of the result.Clicking on the More results available label that is displayed at the bottom of the Sequence view fetches the nextchunk of results.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!