xsl:value-of
Evaluates an expression as a string, and outputs its value to the current result tree.
Category: instruction
Content: sequence-constructor
Permitted parent elements:
any XSLT element whose content model is
sequence-constructor; any literal result element
Attributes
|
|
Identifes the expression. If this is not specified, the value to be output is
obtained by evaluating the sequence constructor contained within the
| ||||||||||||||||||||||
|
| The separator defaults to a single space
if the | ||||||||||||||||||||||
|
| New in XSLT 4.0. Used to request serialization of a text node as a CDATA section. | ||||||||||||||||||||||
|
| If set to
|
Saxon availability
Available in XSLT 1.0 and later versions. Available in all Saxon editions. Available for all platforms.
Notes on the Saxon implementation
The XSLT 4.0 attribute cdata is implemented since Saxon
13.
Details
If the select expression evaluates to a sequence containing more
than one item, the result depends on whether a separator attribute
is present. When running in XSLT 1.0 mode, if the separator is
absent then only the first item is considered. Otherwise all the items are
output. The separator defaults to a single space if the select
attribute is used, or to a zero-length string if a sequence constructor is
used.