Scenario Properties Processor Tab (XSLT)

By default, Stylus Studio uses its own processor to process XSLT. You use the Processor tab of the Scenario Properties dialog box to specify the XSLT 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 (XSLT).

You can display the Scenario Properties dialog box from the XSLT Editor ( XSLT Source tab or Mapper tab). Click Browse next to the down arrow in the scenario name field.

Fields

Existing Scenarios

Lists the scenarios that are defined for the current stylesheet. To view the processor settings for a scenario, click the name of the scenario. Stylus Studio displays the processor settings in the Processor tab.

Processor

Drop-down list that displays available processors for XSLT. 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
Built-in
Yes
Saxon 8.7.1
Yes
Saxon 6.5.5
Yes
XalanJ 2.5.2
Yes
Microsoft .NET XslTransform
Yes
Microsoft .NET XslCompiledTransform
Yes
No
Microsoft MSXML 4
No
Microsoft MSXML 6
No
Custom
No
Table 170. Available XSLT Processors

Note

 

Stylus Studio requires Microsoft .NET Framework 1.1 or 2.0 in order to use the .NET or MSXML processors.

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 optional only with Java-based processors such as Saxon and XalanJ.

Custom Processor Settings

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

Command line

The command line used to execute the custom XSLT processor. The command line must show where to use the three arguments: %1 is the XML source file, %2 is the XSLT stylesheet, %3 is the result document. For example: myparser -style %2 -source %1 -out %3, or myparser %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 or in the default Path in the External XSLT options page.

Classpath

Specifies any directories that your processor must access and that are not already defined in your CLASSPATH environment variable or in the default Classpath in the Custom Processor options page.

For More Information

Setting Module Options

Applying Stylesheets

Creating a Scenario

 
Free Stylus Studio XML Training: