To add an xsl:if statement using the context menu:
-
Right-click the target node and select Add XSL Instruction -> if from the context menu that appears. An
xsl:ifnode is added as the parent node of the target node. -
To set the condition for the
xsl:ifnode, drag and drop the source node to thexsl:ifnode.Figure 41-12 Dragging the Source Node to the xsl:if Node

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