The <xsl:value-of> element inserts the string value of an expression into the result tree.

  select = string-expression 
  disable-output-escaping = "yes" | "no" /> 

The expression to be evaluated; the result is converted to a string


If "yes", allows unescaped markup characters to be copied into the result tree.

Some examples of <xsl:value-of>:

<xsl:value-of select="3+4"/>

Inserts 7

<xsl:value-of select="{$varname}"/>

Inserts the value of the variable varname, as a string

<xsl:value-of select="../title[1]"/>

Inserts the content of the first <title> child of the current context node's parent