Skip to main content Skip to complementary content

Configuring the tXMLMap component

Procedure

  1. Connect tJavaRow to tXMLMap using the Row > Main connection.
  2. Double-click tXMLMap in the design workspace to open the Map Editor.
  3. Click the [+] button on the bottom left to add a column id of Document type for the input.
  4. Right-click the root node of the input table and select Rename in the contextual menu and rename it customer.
  5. Create a sub-element to the customer node by selecting Create Sub-Element in the contextual menu. Name the sub-element as id in the pop-up dialog box.
  6. Click the [+] button on the top right to add an output and name it as response.
  7. Click the [+] button on the bottom right to add a column body of Document type for the output.
  8. Right-click the root node of the input table and select Rename in the contextual menu and rename it customer.
  9. Create a sub-element to the customer node by selecting Create Sub-Element in the contextual menu. Name the sub-element as id in the pop-up dialog box.
  10. Select the id column from the input table and drop it onto the Expression field of the id node of the output table.
  11. Click OK to save the settings.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!