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

Creating Mapping Statements

Creating Mapping Statements

Create mapping statements in the XMap editor. You can create mapping statements by dragging nodes from the input schema to the output schema and you can define the statements in the mapping statement grid.
Use the following steps to define mapping statements in the grid:
  1. To create a mapping statement, in the grid options, click
    New
    .
  2. Select the type of mapping statement from the list.
    If you choose
    Run XMap
    , the Developer tool shows a list of the XMap objects in the transformation.
  3. Type a name for the mapping statement.
  4. To define the input for the mapping statement, drag an element from the input schema to the Input field. Or, you can configure an XPath expression or a constant in the Input field.
  5. To select the output node for the mapping statement, drag an element from the output schema to the Output field. You can also configure an XPath expression in the Output field.
  6. To create an XPath expression with the XPath Expression editor for an Input, Output, or Condition field, click the
    Open
    button in the field.
  7. To change the mapping statement type, click the
    Open
    button in the
    Statement Type
    field. Choose the mapping statement type from the list.