To add an xsl:if statement using the context menu:

  1. Right-click the target node and select Add XSL Instruction -> if from the context menu that appears. An xsl:if node is added as the parent node of the target node.

  2. To set the condition for the xsl:if node, drag and drop the source node to the xsl:if node.

    Figure 41-12 Dragging the Source Node to the xsl:if Node

    Description of Figure 41-12 follows
    Description of "Figure 41-12 Dragging the Source Node to the xsl:if Node"