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. Using the IntelliScript Editor
  7. XMap
  8. Libraries
  9. Schema Object
  10. Command Line Interface
  11. Scripts
  12. Parsers
  13. Script Ports
  14. Document Processors
  15. Formats
  16. Data Holders
  17. Anchors
  18. Transformers
  19. Actions
  20. Serializers
  21. Mappers
  22. Locators, Keys, and Indexing
  23. Streamers
  24. Validators, Notifications, and Failure Handling
  25. Validation Rules
  26. Custom Script Components

User Guide

User Guide

Creating an XMap

Creating an XMap

To create a Data Processor XMap object, choose the input and output schemas and add mapping statements.
  1. On the Data Processor transformation
    Objects
    view create an XMap. Select an input schema, an example source, and an output schema.
  2. To open the XMap editor, click the XMap object.
  3. 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.
  4. 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.
  5. To provide a common context for a group of statements, add a Group mapping statement. Nest Map mapping statements under the Group mapping statement.
  6. To call another XMap object, add a Run XMap statement.
  7. 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.

0 COMMENTS

We’d like to hear from you!