Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

You can use the mapping expression built-in the Web Mapper to map source schema elements to the target schema 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

  1. Ensure that the source and target schemas are loaded and all their elements are listed under their respective nodes.
  2. Click Mapping Expression tab from Mapping Functional Panel.
  3. Click a target destination element. The target destination element node is displayed in the Mapping Graph Expression Area (see Figure 439).

    Image Removed

    Figure 439: Select Target Element




  4. Double-click Click a source element. The source element is displayed in the Mapping Graph Area (see Figure 440).

    Image Removed

    Figure 440: Select Source Element

    the Mapping Expression Area. 

    You can

    double-

    click more source elements if required. This will display the selected source elements in the Mapping

    Graph Area (see Figure 441).Image Removed
    Figure 441: Select Second Source Element

    Expression Area.

  5. Click the desired mapping functionexpression. This displays a list of sub-functions associated with the selected mapping functionexpression.
  6. Select the desired sub-function and use it to map the displayed source and target destination elements.
  7. Once you have performed the mapping activity, click Apply Mapping (  ) button to save the mapping.
 

Once you have mapped source and target elements, you can  view and validate the generated mapping XSL, from the Data Mapper screen. You can also view the target XML and  view and validate mapping output from this screen.

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 elements in the Source and Target Panels. These suffixes are explained in the table below.

 Table 8: Suffixes of Source and Target Elements

(C)

Target element can be cloned to create another target element.

(CM)

Comments have been added for the target element.

(F)

For Each property has been applied for the target element.

(LV)

A local variable has been declared to the target element.

Suffix

Description

 

More than one suffix can be displayed next to a source and target element.