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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Importing an XML as the Output Schema for a tAdvancedFileOutputXML with same attribute id's in different tags as schema

Hi Guys,

 

I'm trying to import an XML which has same attribute id in different fields as an output schema for a tAdvancedOutputXML. During the import wizard Talend reads and shows the XML properly with attributes. But when it's imported attributes are being renamed with 1...2..3 at the end. For ex:

item_list

item_list1

item_list2

Item_list3 ...etc

 

I have tried manually adding them as attributes as well, but outcome was the same. For ex:

 

0683p000009M0SS.png

I have attached a sample XML which i'm trying to input as the schema. Anyone else has come across this?

 

Thanks,

 

Regards,

Hasitha

 

Labels (3)
2 Replies
Anonymous
Not applicable
Author

Hello,

Maybe the 'append the source xml file' feature on tAdvacedFileOutputXML address your need?

Best regards

Sabrina

Anonymous
Not applicable
Author

for such scenarios you can either use tAdvancedFileOutputXml more than once and check the append checkbox in every except first 

or you should make use of the loop option in it.

these two would fulfill your requirement.