To Add an XSLT Statement:

  1. 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.

  2. Select the desired XSL statement, such as if, choose, or for-each, from the submenu.

The xsl:text and xsl:variable XSLT statements can only be added for existing nodes.