I have a complex XML structure with repeated child nodes, e.g. simple example, multiple email addresses (below).
The structure is the same on input and output. The goal is to copy all elements across.
when I do this only the first child of each repeated element is copied across. Below, that would be only the first email address, the others are dropped.
So, that is the simple case, I actually want to modify some of the element content on the parent level (e.g name), but can't get a simple copy. Any ideas? Am I missing something about tXMLMap (does it not do this simple case).
Should I just write an XSLT?
<name>name goes here</name>