Table of Contents

Search

  1. Preface
  2. Introduction to Data Transformation
  3. Data Processor Transformation
  4. Wizard Input and Output Formats
  5. Relational Input and Output
  6. XMap
  7. Libraries
  8. Schema Object
  9. Command Line Interface
  10. Scripts
  11. Parsers
  12. Script Ports
  13. Document Processors
  14. Formats
  15. Data Holders
  16. Anchors
  17. Transformers
  18. Actions
  19. Serializers
  20. Mappers
  21. Locators, Keys, and Indexing
  22. Streamers
  23. Validators, Notifications, and Failure Handling
  24. Validation Rules
  25. Custom Script Components

Data Transformation User Guide

Data Transformation User Guide

Step 2. Edit the XMap

Step 2. Edit the XMap

To configure a Data Processor transformation XMap object, add mapping statements.
  1. To open the XMap editor, on the Data Processor transformation
    Objects
    click the XMap object.
  2. 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.
  3. To create conditional logic in the grid, add a Router mapping statement as follows:
    1. 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.
    2. Under the Router mapping statement create one Default mapping statement to specify what happens if no Option mapping statement applies.
    3. Under the Option mapping statements, create Map mapping statements to specify conditions to map the input node to the output node.
  4. To provide a common context for a group of statements, add a Group mapping statement. Nest Map mapping statements under the Group mapping statement.
  5. To call another XMap object, add a Run XMap statement.
  6. To change the context and logic for a mapping statement, edit mapping statement properties as follows:
    1. Demote statements to be child statements, or promote statements to be parent statements.
    2. Create XPath expressions to change the context or add predicates using the XPath editor.


Updated September 26, 2018