here is a simplified version of my scenario:
Input file looks like this:
<Data>
<Part>
<ID>123</ID>
</Part>
<Part>
<ID>abc</ID>
</Part>
</Data>
Output file needs to look like:
<Data>
<Sync>
<ActionE code="Add">123</ActionE>
<ActionE code="Add">abc</ActionE>
</Sync>
<Item>
<IDcode>123</IDcode>
</Item>
<Item>
<IDcode>abc</IDcode>
</Item>
</Data>
I have <ActionE> and <Item> as 0..unbounded.
The <Item> correctly occurs multiple times, I am mapping <Part> to that in the Message Mapping.