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.
In the Data Processor transformation
Objects
view, click
New.
Select XMap and click
Next.
Enter a name for the XMap.
If the XMap component is the first component to process data in the transformation, enable
Set as startup component
.
Click
Next.
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
.
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.
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.
Click
Finish
.
The Developer tool creates a view for each XMap that you create. Click the view to configure the mapping.