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

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.

0 COMMENTS

We’d like to hear from you!