xsl:stylesheet
The xsl:stylesheet
element is always the top-level element of an
XSLT stylesheet. The name xsl:transform
may be used as a
synonym.
Content: ( declarations )
Attributes
|
|
Used to reference stylesheet modules embedded in a document. |
|
|
Standard attribute that may appear on any XSLT element. Indicates the version of XSLT required by the stylesheet. To request XLST 3.0 processing (which requires Saxon-PE or higher), setting
When using the XSLT 2.0 processor (in particular, using Saxon-HE), a value
greater than |
|
|
Standard attribute that may appear on
any XSLT element. Defines the default value for the |
|
|
Standard attribute that may
appear on any XSLT element. Defines the default value for the
|
|
|
Used to request stripping of
type annotations. The default is |
|
|
Standard attribute that may
appear on any XSLT element. Specifies the default collation used by all XPath
expressions appearing in attributes or text value templates within its scope
(unless overridden by another |
|
|
Standard attribute that may appear on any XSLT element. Used to declare the use of extension instructions in a particular namespace. |
|
|
Standard attribute that may appear on any XSLT element. Used to designate namespaces as excluded. |
|
|
Standard attribute that may appear on
any XSLT element. New in XSLT 3.0, and Saxon 9.5. If set to |
|
|
Standard attribute that may appear on any XSLT element. Used to conditionally include or exclude elements. The value is an XPath expression that can be evaluated statically. If the effective boolean value is false, then the element and all its descendants are effectively excluded from the stylesheet module. |
|
|
Standard attribute that may
appear on any XSLT element. Determines the namespace used for any unprefixed
element name or type name within an XPath expression. The value may be
overridden by another |
|
|
Saxon attribute
that may appear on any XSLT element. If the value is |