The debugger options shown are dependant upon the XQuery engine selected.
Currently the only XQuery engine is supported is
- Saxon HE XQuery 1.0 Engine
Saxon HE XQuery Engine options
Main Module Filename - The XQuery file that will be executed or debugged (read only).
Context Item - The initial context for the XQuery expression, this must be an XML file. XQuery expressions do not have to have an initial context object, but they normally do.
Filename - The filename that the default output file to be written to.
Format - The format of the output file. This affects the validation rules and formatting of the output.
Sets parameters within the XQuery expression. The value of the parameter can be a string or XML loaded from a file.
The parameter values can be picked up in the xquery using the directive.
define variable $id as xs:string external
Parameter Name - The name of the parameter (must match the name attribute in the param directive).
Data Type - The type of data either text or XML data read from a file.
Value - The value either the text literal or the filename, depending on the value of data type
Allows other XQuery scripts to be imported into the parent script. To do this the filenames must be aliases with a module Url, and then imported like thismodule "http://example.com/xquery/library/book"
Module Uri - The alias the XQuery module is known by. This value is used in the module <alias> directive in the XQuery script.
Filename - The filename of the XQuery module to load
Boundary Space - Boundary-space policy controls whether boundary whitespace is preserved by element constructors during processing of the query.] If boundary-space policy is
preserve, boundary whitespace is preserved. If boundary-space policy is
strip, boundary whitespace is stripped (deleted). A further discussion of whitespace in constructed elements can be found in 22.214.171.124 Boundary Whitespace
Default Collation - The default collation is the collation that is used by functions and operators that require a collation if no other collation is specified. For example, the
gtoperator on strings is defined by a call to the
fn:comparefunction, which takes an optional collation parameter. Since the
gtoperator does not specify a collation, the
gtby using the default collation.
Enabled Optimizations - Turns on/off Saxon performance optimizations. For debugging it is recommended that this be turned off, as the execution path with it turned on can make debugging difficult to understand.
Show whitespace in watch windows - default unchecked, shows/hides whitespace nodes within the Watch and Variable windows. Whitespace nodes are typically not processed within an stylesheet, and thus just clutter up the watch windows.