ON THIS PAGE
xsl:value-of
Syntax
<xsl:value-of select="expression"/>
Description
Extract the value of an XML element and insert
it into the output. The select attribute
specifies the XPath expression that
is evaluated. In the XPath expression, use @ to access attributes of elements. Use “ . ” to access the contents of the element itself. If the result
is a node set, the <xsl:value-of> instruction
adds the string value of the first node in that node set; none of
the structure of the node is preserved. To preserve the structure
of the node, you must use the <xsl:copy-of> instruction instead.
Attributes
| select | XPath expression specifying the node or attribute to evaluate. |