Data Mapper Rules (Magic xpi 4.5)
This topic describes the mapping rules which are enforced by Magic xpi’s Data Mapper.
The Data Mapper deals with mapping issues on two levels:
-
Single element – The following elements are considered to be single elements:
-
An element with the Max occurrences node property set to 1
-
An element with a filter
-
Duplicate node
-
A compound element at the Destination with no mapping
-
Compound element – The following elements are considered to be compound elements:
-
An element with children elements
-
An element with the Max occurrences node property greater than 1
You can map the following elements displayed in the Data Mapper screen:
-
One Source compound element to a Destination compound element. Mapping a compound element tells the Data Mapper to execute the Destination compound element the same number of times as the Source compound element.
-
Single Source multiple simple elements to one Destination simple element (if the Destination type is XML or Template).
-
Source compound elements can be mapped to a variable compound element.
-
Most sibling elements can be mapped. See below for more information.
Simple data mapping is done automatically by the Data Mapper. You do not need to create an expression.
compound data mapping is carried out by:
Or
Data Mapping Scenarios
Data Mapping Considerations