Home >
Online Product Documentation >
Table of Contents >
xsl:sequence
xsl:sequence
Used within a sequence constructor to construct a sequence of nodes or atomic values. The sequence is returned as a result of the instruction.
Format
Description
Unlike most other instructions,
xsl:sequence
can return a sequence containing existing nodes, rather than constructing new nodes. The items comprising the result sequence are selected using the
select
attribute. When
xsl:sequence
is used to add atomic values to a sequence, the effect is very similar to the
xsl:copy-of instruction.
Any optional
xsl:fallback
instructions are ignored by XSLT 2.0 processors, but they can be included to define fallback behavior for XSLT 1.0 processors.
Example
This code produces the output,
37
.