You can use the mapping expression built-in the Web Mapper to map source schema layout elements to the target schema destination layout elements. These mapping functions are listed as:
All these mapping expression comprise of sub-functions using which you can map elements.
Steps to map elements using Mapping Expression
- Ensure that the source and target schemas destination layouts are loaded and all their elements are listed under their respective nodes.
- Click a target element. The target element node Mapping Expression tab from Mapping Functional Panel.
Select a destination element which you want to map.
- Click the desired mapping expression. This displays a list of sub-functions associated with the selected mapping expression.
Select the desired sub-function and use it to map the source and destination elements. For example, using Concat sub-function.
- Click String mapping function and select Concat sub-function. The syntax for the Concat sub-function is displayed in the Mapping Graph Expression Area (see Figure 439).
Figure 439: Select Target Element
This syntax has two parameters. Double-click a source element. The source element is displayed in the Mapping Graph Area (see Figure 440).
Figure 440: Select Source Element
You can double-click more source elements if required. This will display the selected source elements in the Mapping Graph Area (see Figure 441).
Figure 441: Select Second Source Element- Click the desired mapping function. This displays a list of sub-functions associated with the selected mapping function.
- Select the desired sub-function and use it to map the displayed source and target elements
a source element that you want to set as the first parameter. This displays the selected source element in the syntax.
Similarly, double-click another source element as the second parameter. This is displayed in the syntax.
You can indent the textual rule content as per your requirement.- This maps elements using the concat sub-function. A line is displayed between the source and target panels showing the mapping of the source element to the target element.
- Once you have performed the mapping activity, click Apply Mapping ( ) button to save the mapping.
- click Save button to save the mapping.
For details on using these mapping functions, refer to the section Using Mapping Functions.
While mapping elements, certain suffixes are displayed next to source and target destination elements in the Source and Target destination Panels. These suffixes are
Anchor | ||||
---|---|---|---|---|
|
Table 8: Suffixes of Source and Target Elements
(C) | Target destination element can be cloned to create another target destination element. |
(CM) | Comments have been added for the target destination element. |
(F) | For Each property has been applied for the target destination element. |
(LV) | A local variable has been declared to the target destination element. |
Suffix | Description |
---|
Info |
---|
More than one suffix can be displayed next to a source and |
destination element.
|