A mapping uses a Data Processor transformation to transform documents from one format to another. An XMap is a Data Processor transformation object that transforms an XML input source to another XML with a different hierarchy structure. Use the XMap editor grid in the Developer to define the XMap.
The Data Processor transformation processes unstructured and semi-structured file formats in a mapping. When you create a Data Processor transformation, you define components, to transform the data. A Data Processor transformation can contain multiple components to process data. Each component might contain other components.
After you create a Data Processor transformation, you add an XMap to transform the data. You configure the XMap with input and output schemas and an example source. An XMap uses input and output schemas to define the expected hierarchy of input and output documents. An XMap can transform any input XML document whose elements match the input schema hierarchy into an output document with the hierarchy of the output schema.
If a Data Processor transformation contains multiple XMaps, you need schemas for each component that you define in the transformation. The Data Processor transformation references schema objects in the Model repository. The schema objects can exist in the repository before you create the transformation.
After you create an XMap, use the XMap editor to define and manage mapping statements that the transformation uses to transform a specific input element into a specific output element. The XMap editor contains the input schema hierarchy and the output XML schema hierarchy. Mapping statements link input schema elements to output schema elements.