The <xslt> element
The xslt
element of the configuration file contains properties specific to XSLT. Remember that these are defaults; they can always be
overridden for specific queries or transformations. An attribute whose value is set to a zero-length string is ignored: the effect is the same as
omitting the attribute.
Attribute |
Applies to |
Values |
Effect |
|
EE |
true|false |
If set, the use of the |
|
PE EE |
true|false |
Indicates whether assertions (XSLT 3.0 xsl:assert instructions) are enabled. |
|
HE PE EE |
A mode name (QName in Clark notation |
The name of a mode within a stylesheet in which execution should begin. |
|
HE PE EE |
A template name (QName in Clark notation |
The name of a named template within a stylesheet where execution should begin. |
|
HE PE EE |
Name of a class implementing Receiver |
Destination of xsl:message output. |
|
HE PE EE |
Name of a class implementing OutputURIResolver |
Handles documents written using xsl:result-document. |
|
HE PE EE |
recoverWithWarnings|recoverSilently| doNotRecover |
Indicates how XSLT recoverable errors are handled (for example, ambiguous template rules). |
|
EE |
integer |
Indicates the maximum number of threads to be used for processing
|
|
EE |
true|false |
Indicates whether stylesheet should be compiled to be able to handle schema-typed input, even if they contain no xsl:import-schema declaration. |
|
HE PE EE |
Name of a class implementing the JAXP ErrorListener interface |
Receives reports of compile-time errors in a stylesheet. |
|
HE PE EE |
Name of a class implementing the JAXP URIResolver interface |
User-defined class for dereferencing URIs on xsl:include or xsl:import. |
|
EE |
true|false |
Causes the XSLT processor to verify that constructs that are declared streamable are in fact "guaranteed streamable" according to the W3C rules. |
|
HE PE EE |
Name of a class implementing the |
XML parser used for stylesheets and schema documents. |
|
HE PE EE |
0.0, 2.0, or 3.0 |
XSLT language version to be supported by the processor. From Saxon 9.8, an XSLT 3.0 processor is always used by default. So setting this property has no effect. |
|
HE PE EE |
true|false |
False suppresses the warning produced when the XSLT processor version is not the same
as the version in the |
The xslt
element may also contain one or more extensionElement
children defining namespaces used for extension instructions.
Each extensionElement
element must have the following attributes:
Attribute |
Applies to |
Values |
Effect |
|
PE EE |
Name of class implementing the Saxon interface ExtensionElementFactory |
Links to the implementation of the various extension instructions in the specified namespace. |
|
PE EE |
A namespace URI |
The namespace URI of the extension instructions. |