Adding XSLT Rules
See Also
Using the Design view of the XSL Transformation Editor you can add two XSLT rules: If and For Each.
To add an XSLT Rule:
-
Right-click a node in the Destination tree pane and choose Add > XSLT rule.
If the node is a placeholder node, it is added to the stylesheet, and the XSLT rule is added as a subnode (
). XSLT rule nodes behave similarly to schema nodes:
-
You can drag data flow links to the XSLT rule nodes. A link dragged to the XSLT rule node adds the test attribute to the If rule, and the select attribute to the For Each rule.
-
You can add subnodes for the element you added the XSLT rule to if the schema allows. Dragging a data flow link to a subnode adds a transformation instruction to this subnode.
The following pop-up menu actions are available for the XSLT rule nodes:
-
Add
-
Child node. Adds information about the child node to the stylesheet without creating any transformation instructions. Available only for elements that can have nested elements.
-
XSLT rule. Adds the XSLT rule to the stylesheet.
-
Delete. Deletes the node.
-
See Also
-
About the Destination Tree Pane
Legal Notices