Advanced Saxon HE/PE/EE XSLT Transformation Options
The XSLT transformation scenario allows you to configure advanced options that are specific for the Saxon HE (Home Edition), PE (Professional Edition), and EE (Enterprise Edition) engines. They are the same options as those in the Saxon HE/PE/EE preferences page but they are configured as a specific set of transformation options for each transformation scenario, while the values set in the preferences page apply as global options. The advanced options configured in a transformation scenario override the global optionsglobal options defined in the preferences page.
Saxon-HE/PE/EE Options
The advanced options for Saxon Home Edition (HE),
Professional Edition (PE), and Enterprise Edition (EE) are as follows:
- Mode ("-im")
- A Saxon-specific option that sets the initial mode for the transformation. If this value is also specified in a configuration file, the value in this option takes precedence.
- Template ("-it")
- A Saxon-specific option that sets the name of the initial XSLT template to be
executed. If this value is also specified in a configuration
file, the value in this option takes precedence.Tip:If your stylesheet includes
<xsl:template name="xsl:initial-template">
, Oxygen XML will automatically detect and use it as the initial template, so this option is not needed in this case.
Saxon-PE/EE Options
The following advanced options are specific for Saxon
Professional Edition (PE) and Enterprise Edition (EE) only:
Saxon-EE Options
The advanced options that are specific for Saxon
Enterprise Edition (EE) are as follows:
- XML Schema version
- Use this option to change the default XML Schema version for this transformation. To change the default XML Schema version globally, and go to Default XML Schema version option. and use the
- Enable streaming mode
- Selecting this option will allow an XSLT to run in streaming mode. It is not selected by default. However, in certain instances, the Saxon XSLT processor may auto detect and use streaming even if this option is not selected.
Other Options
- Initializer class
- Equivalent to the
-init
Saxon command-line argument. The value is the name of a user-supplied class that implements the net.sf.saxon.lib.Initializer interface. This initializer is called during the initialization process, and may be used to set any options required on the configuration programmatically. It is particularly useful for tasks such as registering extension functions, collations, or external object models, especially in Saxon-HE where the option cannot be set via a configuration file. Saxon only calls the initializer when running from the command line, but the same code may be invoked to perform initialization when running user application code.