Next / Previous / Contents / Shipman's homepage

9.2. xsl:value-of: Output the value of an expresssion

To output the string equivalent of some XPath expression, use this element. Attributes:

select (required)

The XPath expression to be evaluated.

disable-output-escaping

See xsl:text.

For example, suppose you have defined a variable named lap-count and it currently has a value of 32. This element would place the text "33" in the output:

    <xsl:value-of select="$lap-count+1"/>