Creating a Data Processor Transformation for an XML Source

Creating a Data Processor Transformation for an XML Source

Step 3. Create and Run the Mapping

Step 3. Create and Run the Mapping

You can add the Data Processor transformation to a mapping and run the mapping.
  1. In the
    Object Explorer
    view, create a mapping or select a mapping and select
    Open Mapping
    .
  2. From the
    Object Explorer
    view, drag the Data Processor transformation into the editor.
    The following figure shows the mapping:
  3. 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.
  4. 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:
  5. Right-click in the editor, and select
    Run Mapping
    .
    Review the target flat file to see the mapping results.

0 COMMENTS

We’d like to hear from you!