You can use the mapping expression built-in the Web Mapper to map source layout elements to the 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 destination layouts are loaded and all their elements are listed under their respective nodes.
Select a destination element which you want to map.
Click Mapping Expression tab from Mapping Functional Panel.
- 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 Expression Area.
This syntax has two parameters. Double-click 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 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 destination elements in the Source and destination Panels.
These suffixes are explained in the table below.
destination element can be cloned to create another destination element.
Comments have been added for the destination element.
For Each property has been applied for the destination element.
A local variable has been declared to the destination element.
More than one suffix can be displayed next to a source and destination element.