xsl:value-of

Syntax

<xsl:value-of select="string-expression"/>

Description

Extract data from the XML structure. The select attribute specifies the expression that is evaluated. In the string 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.

select—Specifies the expression that is evaluated.

See Example: Imposing a Minimum MTU Setting, Example: Limiting the Number of E1 Interfaces, Example: Controlling IS-IS and MPLS Interfaces, Example: Configuring Administrative Groups for LSPs, and Example: Automatically Configuring Logical Interfaces and IP Addresses.

Related Topics