To configure a Data Processor transformation XMap object, add mapping statements.
To open the XMap editor, on the Data Processor transformation
Objects
click the XMap object.
To create a Map, Group, or Repeating Group mapping statement, in the XMap editor drag and drop from a node in the input hierarchical schema to a node in the output hierarchical schema.
The XMap editor creates a map link between the nodes. The mapping statement appears in the grid. The XMap editor automatically completes the mapping statement fields.
To create conditional logic in the grid, add a Router mapping statement as follows:
Under the Router mapping statement, create Option mapping statements. Drag and drop input and output schema nodes into the Option statement fields in the grid.
Under the Router mapping statement create one Default mapping statement to specify what happens if no Option mapping statement applies.
Under the Option mapping statements, create Map mapping statements to specify conditions to map the input node to the output node.
To provide a common context for a group of statements, add a Group mapping statement. Nest Map mapping statements under the Group mapping statement.
To call another XMap object, add a Run XMap statement.
To change the context and logic for a mapping statement, edit mapping statement properties as follows:
Demote statements to be child statements, or promote statements to be parent statements.
Create XPath expressions to change the context or add predicates using the XPath editor.