Download Altova MapForce User Manual

Transcript
MapForce tutorial
3.3
Using functions to map data
37
Using functions to map data
The aim of this section is to combine two sets of data from the source schema, and place the
result in a single item in the target document. Please note, that some of the previously defined
mappings are not shown in the following screen shots for the sake of clarity.
This will be done by:
· Using the Concat string function to combine the First and Last elements of the source
schema
· Using a Constant function to supply the space character needed to separate both
items
· Placing the result of this process into the Name item of the target schema.
Using functions to combine items:
1. Click the concat entry of the string functions group, in the Core library, and drag it into
the Mapping tab
.
2. Create a connection between item First and value1 of the concat component.
3. Click the Insert Constant icon
© 2006 Altova GmbH
in the icon bar, to insert a constant component.
Altova MapForce User Manual