How to Insert an xsl:valueof Statement
When you map a source element to an XSLT element, as described in the preceding section, an implicit xsl:valueof statement is created in the XSLT.
In XSLT View, you can explicitly create multiple xsl:valueof
elements for an XSLT element. The resultant value of the XSLT element is the concatenation of the individual xsl:valueof
values.
To create an xsl:valueof element for an XSLT element:
If an xsl:value-of
element is added to a literal element that has no mapping, the xsl:value-of
statement appears under the literal element until it is mapped. After you map the xsl:value-of
element, the editor hides the xsl:value-of
statement under the literal element and shows only the line indicating the mapping.
If you add multiple xsl:value-of
statements to the literal element, then all xsl:value-of
statements are explicitly shown under the literal element, and mapping lines can be separately drawn to each xsl:value-of
element.