Editing an XML to XML mapping
After you have created an XML to XML mapping, you can open it in the XML to XML mapping editor by double-clicking it in the Navigator view.
Once you have opened the mapping editor, you can perform the following tasks:
- Map nodes
- Define functions
- Group elements
- Specify sort keys
- Create xsl:choose instructions
- Generate the XSLT script
Mapping nodes
You can map nodes that consist of elements or attributes from the source file to nodes in the target file.Defining XSLT functions
XSLT contains a number of functions that enable you to manipulate strings and operate on numbers.Sorting elements
When you map repeatable nodes, you can specify sort options for that mapping.Grouping elements
Grouping enables you to restructure data by splitting it into groups. The element or attribute that you choose as the base of your group is called the 'key'.Adding an <xsl:choose> instruction to your mapping
The following instructions were written for the Resource perspective, but they will also work in many other perspectives.
Parent topic
Mapping between XML files