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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
idembel2
Creator
Creator

HOW TO MERGE 2 XML IN A SINGLE FILE

Hi all,

I have 2 Input XML files which look like bellow:

 

File1 (file also in attach)

0683p000009LxgL.png

 

File2 (file also in attach)
0683p000009Lx35.png

 

 

 

 

 

 

 

 

Output file desired (file also in attach)
0683p000009LxgW.png

 

 

 

 

 

 

 

 

Thank you for help

 

 

 

Labels (5)
25 Replies
idembel2
Creator
Creator
Author

HI,

I just import your job, so thanks.

Anyway, i will put a tfileoutputXML in place of tLogRow component, but i am not sure this resolve my issue.

Because problem is not just merge 2 xml file, but get both iteration of each source file like this screenshot already sent.

 

0683p000009LxgW.png

 

 

 

 

 

 

 

 

 

manodwhb
Champion II
Champion II

@mbocquet,check the below link,you can specify the looping too.

https://help.talend.com/reader/WWQ40R_iTE5~~9VkUQrjgQ/i_YvOl2oUaVpW1UTnJao_g

manodwhb
Champion II
Champion II

@mbocquet.still do you have issue?

idembel2
Creator
Creator
Author

Hi Manohar B,

Yes still get issue, but i have not check your link.

I check it today and let you know.

 

Thanks,

idembel2
Creator
Creator
Author

Hi,

Please forget my previous mail, i know this component and already test it.
It permit to make just one iteration but not 2 like i desire

idembel2
Creator
Creator
Author

Hi All,

I found finally solution to my issue, 2 ways to solve it

 

Solution 1 :

Create 1 first output with all good and with only one iteration.

After that make a mapping in a tmap to generate a second iteration that will be write in first output with option write after  

 

Solution 2 :

Use component tFileOutputMSXML to make all loop

 

Thanks,