How to Use Overwrite Mapping to Copy an Element Subtree to the Target Tree

To create an overwrite map for an element subtree

  1. Make sure that Overwrite Mapping mode is selected in the XQuery toolbar.
  2. Select the source element. The element can have child elements, or can also be a leaf element.
  3. Hold down the left mouse button, and drag the mouse pointer to the target element. Release the left mouse button.

    The source element subtree gets copied to the specified location in the target tree. A solid line connects the root of the copied source subtree to the target subtree. If there are no type mismatches with the target schema, then the copied element and its child elements appear in normal font. If there is a mismatch, the elements show up in underlined font.