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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Mapping CSV to XML: Group Elements

Job:

tFileInputDelimited --> tXMLMap --> TXMLOutput

 

CSV file structure:

ParticipantID   Gender   Participation

505   Male   Open

506   Female   Closed

 

Desired XML output for Row 2 of CSV (1 XML file per row):

<ID>
<key>ParticipantID</key>
<value>505</value>
</ID>

<Gender>Male</Gender>
  
<Participation>
<ParticipationType>OPEN</ParticipationType>
</Participation>

In Talend Integration, how do I nest?

- "<value>505</value>" within ParticipantID and ID tags

- "<ParticipationType>OPEN</ParticipationType>" within Participation tag

 

Thanks for your help.

Labels (4)
1 Reply
iamabhishek
Creator III
Creator III

@Astrocyte - I would recommend to use tAdvancedFileOutputXML to make your output in the desired XML format.

Job Layout - 

0683p000009Lz6j.jpg

XML tree configuration - 

0683p000009Lz6o.jpg