To configure the XQuery options, open the
Preferences dialog box and go to .
The generic XQuery preferences are the following:
- XQuery validate with - Allows you to select the processor that
validates XQuery documents. If you are validating an XQuery file that has an associated
validation scenario, Oxygen XML Editor uses the processor specified in the scenario. If
no validation scenario is associated, but the file has an associated transformation
scenario, the processor specified in the scenario is used. If the processor does not support
validation or if no scenario is associated, then the value from this combo box will be used
as validation processor.
- Size limit of Sequence view (MB) - When the result of an XQuery
transformation is set in the transformation
scenario as sequence the size of one chunk of the result that is fetched from the
database in lazy mode in one step is set in this option. If this limit is exceed, go to the
Sequence view and click More results
available to extract more data from the database.
- Format transformer output - Specifies whether the output of the
transformer is formatted and indented (pretty printed).
Note: This option is ignored if you
choose Sequence (lazy extract data from a database) from the
associated transformation scenario.
- Create structure indicating the type nodes - If checked, Oxygen XML Editor takes the results of a query and creates an XML document containing
copies of all items in the sequence, suitably wrapped.
Note: This option is ignored if you
choose Sequence (lazy extract data from a database) from the
associated transformation scenario.