
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
merge xml files - maintain same structure
Hi all,
im having some dificulties on the best way to achieve this:
merge several xml files , all files have the same structure.
file1.xml:
<root>
<p-list>
<p>
<PID>8</PID>
<URL>ww</URL>
</p>
</p-list>
</root>
file2.xml
<root>
<p-list>
<p>
<PID>9</PID>
<URL>ww</URL>
</p>
</p-list>
</root>
.......the objective is to merge about 14 xml files .
final file :
<root>
<p-list>
<p>
<PID>8</PID>
<URL>ww</URL>
</p>
<p>
<PID>9</PID>
<URL>ww</URL>
</p>
</p-list>
</root>
after some tests i donwloaded from talend kb : https://help.talend.com/search/all?query=Append+the+source+XML+file+feature&content-lang=en-US
and since the job in the example has the group element and loop element defined, i changed it to my needs and know im able to produce the file i need .

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We see your topic is set as resolved. Feel free to let us know if you still have the problem.
Best regards
Sabrina
