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 |
Values |
Effect |
initialMode |
A mode name (QName) |
The name of a mode within a stylesheet in which execution should begin. |
initialTemplate |
A template name (QName) |
The name of a named template within a stylesheet where execution should begin. |
messageEmitter |
Java class that implements |
Destination of |
outputUriResolver |
Java class that implements the Saxon |
Handles documents written using |
recoveryPolicy |
recoverWithWarnings|recoverSilently|doNotRecover |
Indicates how XSLT recoverable errors are handled (for example, ambiguous template rules). |
schemaAware |
true|false |
Indicates whether stylesheet should be compiled to be able to handle
schema-typed input, even if they contain no |
staticErrorListener |
Java class that implements the JAXP |
Receives reports of compile-time errors in a stylesheet. |
staticUriResolver |
Java class that implements the JAXP |
User-defined class for dereferencing URIs on |
styleParser |
Java class that implements |
XML parser used for stylesheet and schema modules. |
version |
0.0, 2.0, or 3.0 |
XSLT language version to be supported by the processor. The value 0.0
indicates that the version is taken from the |
versionWarning |
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 contain one or more extensionElement
children defining namespaces used for extension instructions. The
extensionElement
element has the following attributes:
Attribute |
Values |
Effect |
namespace |
A namespace URI |
The namespace URI of the extension instructions. |
factory |
The name of Java class that implements the Saxon interface
|
Links to the implementation of the various extension instructions in the specified namespace. |