How to Duplicate an Element
To duplicate a literal element in the XSLT pane that is defined as a repeating node in the target schema, use the instructions under How to Duplicate an Element. The instructions are same as those for the Map View.
If no target schema is defined, you can duplicate any node in XSLT View, except the root node.
If a node needs to be duplicated, but the node is not defined as a repeating node in the target schema, you can create a duplicate node by explicitly creating a literal element as follows:
To duplicate a literal element that is not defined as a repeating node in the target schema:
- In the XSLT pane, right-click the element to be duplicated. The context menu appears.
- Select Insert Sibling After -> Literal Element from the context menu. The Define Element dialog appears.
- Enter the element name and namespace of the node to be duplicated. Click OK.