Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All
     

    Related Documentation

     

    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.

    Usage Examples

     

    Related Documentation

     

    Published: 2013-03-05