The XML map editor provides transforms that allow you to
iterate over an array of elements, choose the indexes of the elements
in the array that you want to transform, and place the result in an
output array or single element.
About this task
To map arrays in the XML map editor:
Procedure
- Drag your mouse between the input and output elements to
create a mapping. A default transform is assigned. If you have more
than one input element:
- Drag your mouse between the first input element and
the output element to create a mapping. A default transform is assigned.
- Drag your mouse from the second input element to the
transform.
- Repeat for each input element.
The
transform type will change to the default type for multiple input
elements.
- If you want to change the transform type, select the transform,
right click, and Change transform type.
- Click the transform, and click the Properties view.
- Select the indexes of the elements that you want the transform
to operate on by setting the input and output array indexes on the
Cardinality page. See Selecting the indexes of input and output array elements from the cardinality properties page. for examples.
For the Merge transform, indicate which input
array to iterate over.
- On the Conditions page, set a processing condition, if
required. The transform will run only if the condition is fulfilled.
- If you have multiple input elements, click Order to
specify the order in which the input elements will be processed.
What to do next
Next, you can test your transform using Test Map .