xsl:mode
Allows properties of a mode to be defined.
Category: declaration
Content: none
Permitted parent elements:
xsl:package
; xsl:stylesheet
; xsl:transform
Attributes
|
|
Identifies the name of this mode; if omitted, the element describes the properties of the unnamed mode. |
|
|
The value |
|
|
Relevant only when this mode is the initial mode of the transformation. Defines the set of accumulators that are applicable to documents containing nodes in the initial match selection. Available since Saxon 9.7.0.10. |
|
|
Indicates what action is taken when a
node being processed by
|
|
|
Indicates what action is taken
when a node being processed by |
|
|
The value |
|
|
The value
|
|
|
Informs the processor whether the nodes to be
processed by template rules in this mode are to be typed or untyped. The default
is |
|
|
Determines the potential visibility of
the component corresponding to this mode; the default is
|
|
|
Causes tracing
of all template rules executed in the mode, showing the nodes selected by
|
Details
The xsl:mode
declaration is new in XSLT 3.0. Previously, modes were
declared implicitly by referring to them in the mode
attribute of
xsl:template or xsl:apply-templates.
The element always appears as a child of xsl:stylesheet
(or
xsl:transform
), and it is empty (has no children).