Create mapping statements in the XMap editor. You can create mapping statements by dragging nodes from the input schema to the output schema and you can define the statements in the mapping statement grid.
Use the following steps to define mapping statements in the grid:
To create a mapping statement, in the grid options, click
New
.
Select the type of mapping statement from the list.
If you choose
Run XMap
, the Developer tool shows a list of the XMap objects in the transformation.
Type a name for the mapping statement.
To define the input for the mapping statement, drag an element from the input schema to the Input field. Or, you can configure an XPath expression or a constant in the Input field.
To select the output node for the mapping statement, drag an element from the output schema to the Output field. You can also configure an XPath expression in the Output field.
To create an XPath expression with the XPath Expression editor for an Input, Output, or Condition field, click the
Open
button in the field.
To change the mapping statement type, click the
Open
button in the
Statement Type
field. Choose the mapping statement type from the list.