Basic Mapping
The schemas for the mediation operation and the target operation are similar, except that the mediation operation has an element named
nearAddress
and the corresponding element in the target operation is named
landmark
. For all other elements, you can drag and drop the data component in the mediation operation to the corresponding data component in the target operation, and the appropriate XPath expression is placed in the
XPath field.
For the
nearAddress
and
landmark
elements, you might need to manipulate the data to transform it to the expected format.
In this example, the
nearAddress
element contains the name of the location separated by a comma, followed by the actual address. The
landmark
element is expecting only the name of the location. To make the data match the target operation’s expectations, you need to take the substring of the
nearAddress
element up to the comma that separates the name of the location from the address.