|
Home > Online Product Documentation > Table of Contents > How to Use an External Processor How to Use an External ProcessorYou specify XSLT processors on an individual stylesheet basis. When you use an external XSLT processor, output from the processor appears in the Preview window. To use an external XSLT processor:
1. Open the stylesheet for which you want to use the external processor.
2. In the XSLT editor, in the scenario name field, click the down arrow to display the scenarios associated with the stylesheet.
3. To use an external processor for an existing scenario, click the scenario name, and then click
To create a new scenario, click Create Scenario. See Creating a Scenario.
4. In the
Scenario Properties dialog box that appears, click the
Processor tab.
5. Click the radio button associated with the XSLT processor you want to use. Note that they are grouped based on whether or not they support Stylus Studio XSLT debugging and backmapping.
6. If you selected a standard XSLT processor, you are done. Click
OK.
If you selected Use custom processor (%1 xml, %2 xslt, %3 output):
a. In the
Command line field, type the command line for invoking the processor you want to run. You must specify the command line so that it is clear where to use the three arguments. Following are two examples:
b. In the
Path field, specify any path that needs to be defined for the processor to run. Typically, this is the location of the processor.
c. In the
Classpath field, type any directories the external processor needs to access that are not already specified in your
CLASSPATH environment variable.
d. Click
OK.
Passing ParametersTo pass parameters to the Stylus Studio built-in XSLT processor or to the Xalan-J, MSXML .NET, Saxon, or MSXML processor, specify them in the Parameters tab of the Scenario Properties dialog box. To pass parameters to a custom external processor, you must specify them in the command line you enter. |

Cart

