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:if
node is added as the parent node of the target node. -
To set the condition for the
xsl:if
node, drag and drop the source node to thexsl:if
node.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"