Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
_AnonymousUser
Specialist III
Specialist III

Merging two xml files

Hi,
I am in need to merge some xml files to a single output xml file.The final output contains all the tags of child files.Can u plz tell me how to do this using talend?
Regards,
Nivaz
Labels (3)
3 Replies
Anonymous
Not applicable

Hello Nivaz
I think you can try the 'append the source xml file' feature on tAdvanceFileOutputXML component.
Best regards

shong
_AnonymousUser
Specialist III
Specialist III
Author

Hi Shong,
Thanks for the reply.tAdvanceFileOutputXML can be the output component.How can I provide the input files for tAdvanceFileOutputXML?
PLease reply.
REgards,
Nivaz
Anonymous
Not applicable

If you want to merge two XML files using Visual C#.net that Dataset concept will be used to do this. You can try some code also with the help of XML namespace and XMLnode.
System.Xml.XmlDocument oDocFirst = new XmlDocument();
oDocFirst.Load("d:\\xmlfiles\\parent.xml");

System.Xml.XmlDocument oDocSecond = new XmlDocument();
oDocSecond.Load("d:\\xmlfiles\\child.xml");
If you want to merge them on a simple way than you can try tAdvanceFileOutputXML to merge your two XML files where you have to specify parent file and the child file.