Defining a graphical mapping
- Select the element in the source document tree. The source element is highlighted.
- Move the mouse to the element to be matched in the target document tree. When you move the mouse across the editor window, a dotted red line is displayed. When you pause the mouse on the element in the target document tree to be mapped, it indicates whether the mapping is allowed.
-
Click and release the target element to create a mapping. A
dotted grey line is drawn between the two elements. If the mapping is not
allowed, for example because of type incompatibility, the mouse cursor changes.
It indicates the mapping cannot be made to the selected element.
An alternative procedure to define a graphical mapping is:
- Click and hold the element to be matched in the source document tree.
- Drag the element from the source document tree to the target document tree. A box containing information about the element is displayed. When you move the mouse across the editor window, a dotted red line is displayed. When you pause the mouse on the element in the target document tree to be mapped, it indicates whether the mapping is allowed.
- Release the mouse button to create a mapping. A dotted grey line between the two elements is displayed. If the mapping is not allowed, for example because of type incompatibility, the mouse cursor changes. It indicates the mapping cannot be made to the selected element.
Note: A solid grey line between the source and target elements, instead of a dotted one, is drawn in these situations:- A function is added manually.
- Data type casting is applied but smart matching is off.