To Add an xsl:text or xsl:variable Statement:
-
Make sure that the target node exists in the XSLT.
If the target node appears gray, right-click the target node and select Create Node in XSLT from the context menu that appears. The node no longer appears gray, and is added to the XSLT map.
-
Right-click the target node, and select Add XSL Instruction from the context menu that appears. A submenu appears with the various XSL statements that you can add.
-
Select text or variable from the submenu.
Note:
The
xsl:copy-of
statement is not supported in Map View. It is supported in XSLT View.
You can also choose to drag and drop XSLT statements from the Components window.