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

Creating an XMap

Creating an XMap

Create an XMap on the Data Transformation
Objects
view. When you create an XMap, you must have a schema that describes the input and the output hierarchal documents. You select the element in the schema that is the root element for the input hierarchy.
  1. In the Data Processor transformation
    Objects
    view, click
    New.
  2. Select XMap and click
    Next.
  3. Enter a name for the XMap.
  4. If the XMap component is the first component to process data in the transformation, enable
    Set as startup component
    .
    Click
    Next.
  5. If you choose to create a schema reference, select
    Add reference to a Schema Object
    , and browse for the Schema object in the Model repository.
    To import a new Schema object, click
    Create a new schema object
    .
  6. If you have a sample hierarchical file that you can use to test the XMap with, browse for and select the file from the file system.
    You can change the sample hierarchical file.
  7. Choose the root for the input hierarchy.
    In the
    Root Element Selection
    dialog box, select the element in the schema that is the root element for the input hierarchal file. You can search for an element in the schema. You can use pattern searching. Enter
    *<string>
    to match any number of characters in the string. Enter
    ?<character>
    to match a single character.
  8. Click
    Finish
    .
    The Developer tool creates a view for each XMap that you create. Click the view to configure the mapping.