Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Corrected links that should have been relative instead of absolute.

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:

  • Math
  • String
  • Date
  • Aggregation
  • Conditional 
  • Axis 
  • Boolean
  • Context
  • DB

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 destination layouts are loaded and all their elements are listed under their respective nodes.
  2. Click Mapping Expression tab from Mapping Functional Panel.
  3. Click Select a destination element . The destination element node is displayed in the Mapping Expression Area.
    Click a source element. The source element is displayed in the Mapping Expression Area. 
    You can click more source elements if required. This will display the selected source elements in the Mapping Expression Area.which you want to map.

  4. Click the desired mapping expression. This displays a list of sub-functions associated with the selected mapping expression.
  5. Select the desired sub-function and use it to map the

    displayed

    source and destination elements. For example, using Concat sub-function.

  6. Click String mapping function and select Concat sub-function. The syntax for the Concat sub-function is displayed in the Mapping Expression Area.
  7. Once you have performed the mapping activity, click Save 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


  1. Image Added

  2. 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.

  3. Similarly, double-click another source element as the second parameter. This is displayed in the syntax.

    Image Added

    You can indent the textual rule content as per your requirement.

  4. 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.
  5. 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 target destination elements in the Source and Target destination Panels. These suffixes are

Anchor
Table of Suffixes
Table of Suffixes
These suffixes are explained in the table below.

(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
target
destination element.