tXMLMap drops repeated child elements only copies first child

Four Stars

tXMLMap drops repeated child elements only copies first child


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>









What’s New for Talend Spring ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables


How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration


Agile Data lakes & Analytics

Accelerate your data lake projects with an agile approach