IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Defining and transforming data > Transforming data > Transforming data using XML maps
Create a new XML map
An XML map defines mappings between input and output business objects or service message objects. XSL style sheets generated from the XML maps are used at run time to transform the data. XML maps are used with Mapping primitives in mediation flows.
In an XML map, you associate input elements to output elements, and define transforms, which are actions to be performed on the data of the input element. The result of the transform is placed in the output element. You can create an XML map from a Mapping primitive in a mediation flow, or from the File menu.
An XML map that is created from the File menu can only be used as a submap in the Mapping primitive.
- Create an XML map from the File menu
You can launch the XML map editor from the File menu, and define mappings between input and output business objects. An XML map created in this manner can reside in a module, mediation module, or library.
- Create an XML map in a Mapping transformation primitive
While working in the mediation flow editor, you can launch the XML map editor from a Mapping transformation primitive to create an XML map between the input and output message. When the map has been created, an XSL style sheet will be generated to perform the transformation at run time. If you want to create a new XML map for a Mapping primitive but an XML map already exists, you can use the Properties view of the mediation flow editor to create the new XML map and simultaneously choose whether to have the existing XML map overridden, deleted, or retained.