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.
Watch the recorded webinar!
Pick up some tips and tricks with Context Variables
Learn how media organizations have achieved success with Data Integration
Learn how and why companies are moving to the Cloud
Accelerate your data lake projects with an agile approach