How to Use Value Mapping to Copy a Leaf Element Value to a Target Leaf Element

To create a value map for a leaf element:

  1. Make sure that Value Mapping mode is selected in the XQuery toolbar.
  2. Select the source leaf element whose value needs to be copied.
  3. Hold down the left mouse button, and drag the mouse pointer to the target leaf element. Release the left mouse button.

    A solid line connecting the source and target leaf node appears. The source leaf element is now value-mapped to the target leaf element.