Selecting an XQuery Processor

You use the Processors tab of the Scenario Properties dialog box to specify the processor you want to use to process your XQuery code.

Figure 333. XQuery Scenario Processor Properties

You can use

  • The DataDirect XQuery ® processor
  • One of several processors that support XQuery debugging and backmapping, including Stylus Studio's built-in XQuery processor and Saxon
  • An external instance of the Stylus Studio processor
  • The Raining Data TigerLogic XDMS XQuery processor, which runs on the TigerLogic XDMS server
  • Any custom processor you specify

Tip

 

You can define default settings for XQuery processors, and you can also choose to use one of them as the default XQuery processor. See Setting Default Options for Processors.

Using the Saxon Processor

Stylus Studio lets you execute XQuery documents using either the Saxon-B (basic) or Saxon-SA (schema-aware) processor. You specify which processor you want to use with the Execution mode property in the Saxon XQuery Settings dialog box. Settings that have command line equivalents in Saxon show the command in parentheses following the property name. Some settings are available only if you are using Saxon-SA.

 

Support for Saxon-SA is available only in Stylus Studio XML Enterprise Suite.

Stylus Studio's Sense:X syntax coloring and auto-completion provides full support for Saxon syntax, so long as the Saxon XQuery processor is either associated with the current XQuery scenario or has been set as the default XQuery processor.

If you want to use the Saxon processor:

1. On the Processors tab, click Saxon.

The Settings button becomes active.

2. Click the Settings button.

The Saxon XQuery Settings dialog box appears.

Figure 334. Saxon XQuery Settings Dialog Box

3. Complete the settings as desired. Press F1 to access the Stylus Studio online help, or refer to the Saxon documentation for more information.
4. Click OK.
Using the TigerLogic XDMS Processor

Stylus Studio's Sense:X syntax coloring and auto-completion provides full support for TigerLogic XDMS syntax, so long as the TigerLogic XDMS XQuery processor is either associated with the current XQuery scenario or has been set as the default XQuery processor.

If you want to use the TigerLogic XDMS processor:

1. Click TigerLogic XDMS.

The Settings button becomes active.

2. Click the Settings button.

The TigerLogic XDMS Server Settings dialog box appears.

Figure 335. TigerLogic XDMS Server Settings Dialog Box

3. Enter the host, port, username, and password information for the server on which the TigerLogic XDMS is running.
4. Click OK.

XML Differencing

Stylus Studio's integrated XML Differencing tool visually computes and analyzes any changes made to files or folders in a highly configurable, XML-aware fashion. Display text or tree views, with changes displayed in a merged view or side-by-side!

W3C XML Specifications

Learn about the official W3C XML specifications for XML, XSLT, XQuery, XPath, DOM, XML Namespaces, XInclude, XML Base, XPointer, WSDL and more.

Java Web Services

Stylus Studio's Web Service Call Composer simplifies Java Web Service development by making it easy to find, invoke, and test any Java Web Service deployed on any popular Java Web Service framework, such as Apache AXIS.

XSLT Profiler

Stylus Studio's XSL and XSLT profiler allows you to create detailed XSLT performance metrics profiles of any stylesheet in a processor-independent way.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member