Saxon XSLT Settings

You use the Saxon XSLT Settings dialog box to define settings that will be used by the Saxon processor when executing XSLT in Stylus Studio. These settings are also reflected in generated Java code.

For more information on using the Saxon processor, refer to the Saxon documentation:


Command line equivalents for Saxon XQuery settings are shown in parentheses following the field name where applicable.

Execution mode

Whether you want the Saxon processor to run in basic or schema-aware modes.

Tree model

Performance settings for document processing. Generally speaking, the Tiny Tree setting provides superior performance in most cases. For more information on this topic, see Choosing a Tree Model in the Saxon documentation.

Start Transformation

Allows you to specify the named template and mode in which you wish to start the XSLT transformation.

Support XML 1.1

Whether or not to allow XML 1.1 and XML Namespaces 1.1 constructs. This option must be set if source documents use XML 1.1, or if result documents are to be serialized as XML 1.1.

Suppress warning when running with an XSLT 1.0 stylesheet (-novw)

Suppresses warnings issued when running an XSLT 2.0 processor against an XSLT 1.0 stylesheet.

Recognize Saxon file extensions and query parameters (-p)

Whether or not you want the Saxon processor to recognize Saxon-specific file extensions and query parameters in URIs.

Validate source documents using DTD (-v)

Whether or not you want the source document and any documents referenced using the document() function to be validated against a DTD.

Treat non-fatal errors as

How you want Stylus Studio to manage non-fatal errors encountered while processing the XSLT stylesheet:

Whitespace stripping

Whether or not whitespace-only text nodes are stripped from the source document.

Schema-aware Settings

These settings are available only if you are using Saxon-SA to execute your XSLT.

For More Information

XSLT Processors

Overview of Scenario Features

Creating an XSLT Scenario

Free Stylus Studio XML Training: