To configure the Saxon HE/PE/EE options, open the
Preferences dialog box and go to .
Oxygen XML Editor allows you to configure the following XSLT options for the Saxon 9.6.0.5 Home Edition (HE), Professional Edition (PE), and Enterprise
Edition (EE):
-
Use a configuration file ("-config") - Sets a Saxon 9.6.0.5 configuration file that is executed for XSLT transformation
and validation processes.
-
Version warnings ("-versmsg") - Warns you when the transformation is
applied to an XSLT 1.0 stylesheet.
-
Line numbering ("-l") - Error line numbers are included in the output
messages.
-
Debugger trace into XPath expressions (applies to debugging sessions)
- Instructs the XSLT
DebuggerXSLT Debugger to step into XPath expressions.
-
Expand attributes defaults ("-expand") - Specifies whether or not the
attributes defined in the associated DTD or XML Schema are expanded in the output of the
transformation you are executing.
-
DTD validation of the source ("-dtd") - The following options are available:
-
Recoverable errors ("-warnings") - Policy for handling recoverable
errors in the stylesheet: Allows you to choose how dynamic errors are handled. One of the
following options can be selected:
- Recover silently ("silent") - Continues processing without
reporting the error.
- Recover with warnings ("recover") - (default setting) Issues a
warning but continues processing.
- Signal the error and do not attempt recovery ("fatal") - Issues
an error and stops processing.
-
Strip whitespaces ("-strip") - Strip whitespaces feature can be one
of the following three options:
- All ("all") - Strips all whitespace text nodes from source
documents before any further processing, regardless of any
xsl:strip-space declarations in the stylesheet, or any
xml:space attributes in the source document.
- Ignorable ("ignorable") - Strips all ignorable whitespace text
nodes from source documents before any further processing, regardless of any
xsl:strip-space declarations in the stylesheet, or any
xml:space attributes in the source document. Whitespace text nodes
are ignorable if they appear in elements defined in the DTD or schema as having
element-only content.
- None ("none") - default setting. No whitespaces are stripped
before further processing. However, whitespace are stripped if this is specified in the
stylesheet using xsl:strip-space.
-
Optimization level ("-opt") - Set the optimization level. The value
is an integer in the range 0 (no optimization) to 10 (full optimization). This option allows
optimization to be suppressed in cases where reducing the compiling time is important, where
optimization conflicts with debugging, or causes extension functions with side-effects to
behave unpredictably.
The advanced options available only in Saxon Professional Edition (PE) and Enterprise Edition
(EE) are:
-
Allow calls on extension functions ("-ext") - If checked, the
stylesheet is allowed to call external Java functions. This does not affect calls on
integrated extension functions, including Saxon and EXSLT extension functions. This option
is useful when loading an untrusted stylesheet, such as from a remote site using an
http://[URL]. It ensures that the stylesheet cannot call arbitrary Java methods and thus
gain privileged access to resources on your machine.
-
Register Saxon-CE extension functions and instructions - Registers
the Saxon-CE extension functions and instructions when compiling a stylesheet using the
Saxon 9.6.0.5 processors.
Note: Saxon-CE, being
JavaScript-based, was designed to run inside a web browser. This means that you will use
Oxygen XML Editor only for developing the Saxon-CE stylesheet, leaving the
execution part to a web browser. See more details about
executing
such a stylesheet on Saxonica's website.
The advanced options available only in Saxon Enterprise Edition (EE) are: