Causes its content to be output. The main reason for enclosing text within an
xsl:text element is to allow whitespace to be output.
Whitespace nodes in the stylesheet are ignored unless they appear immediately
Permitted parent elements: any XSLT element whose content model is sequence-constructor; any literal result element
If set to
Available in XSLT 1.0 and later versions. Available in all Saxon editions. Available for all platforms.
In XSLT 3.0, note that generally text value templates (expressions within curly
braces) are NOT recognized within
xsl:text. However the standard
expand-text can be used to enable their use. Text value
templates can be used within an
xsl:text element if the nearest
ancestor which has an
expand-text attribute has the value
yes for this attribute. (See xsl:stylesheet for details on the standard