<c:value-of
value? = expression
disable-output-escaping? = boolean
separator? = { string } >
<!-- Content: sequence-constructor -->
</c:value-of>
Creates a text node or string.
- Category
- instruction
- Permitted parent elements
- Any XCST element whose content model is sequence-constructor
- Any literal result element
Attributes
disable-output-escaping |
Specifies whether to omit output escaping. |
separator |
A string to intersperse between items. |
value |
The content of the text node or string. |
In addition to the attributes in the preceding table, there are a number of standard attributes that may appear on any XCST element.
Note: Differences with xsl:value-of
The default separator for sequence constructors of c:value-of
is a single space (consistent with all other simple content instructions), while xsl:value-of
uses an empty string.
Error Conditions
It is a compilation error if the value
attribute is present when the content of the element is non-empty.