Scenario Properties Processor Tab (XQuery)

 

XQuery support is available only in Stylus Studio XML Enterprise Suite and Stylus Studio XML Professional Suite.

By default, Stylus Studio uses its own processor to process XQuery. You use the Processor tab of the Scenario Properties dialog box to specify the XQuery processor you want to use. Default values for these fields come from the values specified in the Processor Settings page in the Options dialog box. See Processor Settings (XQuery).

You can display the Scenario Properties dialog box from the XQuery Editor ( XQuery Source tab or Mapper tab). Click the Browse button ( ) at the top of the editor, or select Create Scenario from the scenario drop-down list.

Fields

Existing Scenarios

Lists the scenarios that are defined for the current XQuery. To view the processor settings for a given scenario, click the name of the scenario.

Processor

Drop-down list that displays available processors for XQuery. The debugging symbol changes based on whether or not the processor you have selected supports back-mapping and debugging. The following table summarizes the available processors and whether or not they support back-mapping and debugging.

Processor
Supports Back-mapping and Debugging
Requires Specifying Server Settings
Built-in
Yes
No
DataDirect XQuery
No
No
Saxon
Yes
No
TigerLogic XDMS
No
Yes
Mark Logic Server
No
Yes
External (external instance of the Stylus Studio built-in processor)
No
Yes*
Custom
No
No
Table 169. Available XQuery Processors

*If you specify an external processor , you use the Server Settings button to specify the port number on which you want Stylus Studio to listen for messages coming from the processor.

Use Stylus Studio URI Resolver

Whether or not you want to enable the Stylus Studio URI Resolver, which allows the processor to resolve URIs associated with file systems peculiar to Stylus Studio (like the adapter file system, for example). This setting is applicable only to Java-based processors.

Custom Processor Settings

Command line, path, and pathname settings for the custom XQuery processor. These fields are available only if you select Custom from the Processor drop-down list.

Command line

Command line for executing an external XQuery processor you define. The command line must show where to use the three arguments: %1 is the XML source file, %2 is the XQuery, %3 is the result document. For example: myXQprocessor -style %2 -source %1 -out %3, or myXQprocessor %1 %2 %3.

Path

Specifies any path information that is required to run your custom processor and that is not already defined in your PATH environment variable.

Classpath

Specifies any directories that your processor must access and that are not already defined in your CLASSPATH environment variable.

For More Information

Creating an XQuery Scenario

 
Free Stylus Studio XML Training:
W3C Member