You can add the Data Processor transformation to a mapping and run the mapping.
In the
Object Explorer
view, create a mapping or select a mapping and select
Open Mapping
.
From the
Object Explorer
view, drag the Data Processor transformation into the editor.
The following figure shows the mapping:
From the
Object Explorer
view, drag the Read_XML_TO_XML physical data object into the editor. Select
Read
to add the object as a source. The source appears in the editor. Drag the XML_port port in the source to the Input input port in the Data Processor transformation.
The mapping reads input from the Transactions.xml when it runs.
From the
Object Explorer
view, drag Write_CLIENTS physical data object into the editor. Select
Write
to add the object as a target. The target appears in the editor. Drag the Output output port in the Data Processor transformation to the XML_output input port in the target.
The mapping writes output to the Partners.xml when it runs.
The following figure shows the mapping:
Right-click in the editor, and select
Run Mapping
.
Review the target flat file to see the mapping results.