I'm using the Talend Open Studio for Data Integration (v.188.8.131.5281026_1147) and I'm trying to merge two xml files into another xml file. In attach i send to you both those files, with the name "tabela1.xml" and "tabela2.xml" respectively. The desired output is also in attach with the name "result.xml" as the project itself (MERGEXML.zip).
At this stage i'm not able to get the output I want, because I can't figure out how to add two loop elements (see image capture.png in attach).
Can you please advice me how to accomplish this?
Thanks in advance,
In the results you want this:
<person> <id>2</id> <name>Francisca</name> <age>34</age> <cars> <brand>Fiat</brand> <brand>VW</brand>
<person> <id>2</id> <name>Francisca</name> <age>34</age> <brand>Fiat</brand> <brand>VW</brand> </person>
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Part 2 of a series on Context Variables
Learn how to do cool things with Context Variables
Find out how to migrate from one database to another using the Dynamic schema