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:
I have tried manually adding them as attributes as well, but outcome was the same. For ex:
I have attached a sample XML which i'm trying to input as the schema. Anyone else has come across this?
Maybe the 'append the source xml file' feature on tAdvacedFileOutputXML address your need?
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.
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Watch the recorded webinar!
Learn how to do cool things with Context Variables
Find out how to migrate from one database to another using the Dynamic schema
Pick up some tips and tricks with Context Variables