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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Converting single line with comma separated data to xml

Hi all,

 

I want to build the following job :

- Process an incoming flow (String) with a unique line containing "Code1;Code2;Code3;...;CodeN"

- Build an XML file looking like that :

<codes>

 <code>Code1</code>

 <code>Code2</code>

 <code>Code3</code>

 ...

 <code>CodeN</code>

<codes>

 

I've been trying for hours using components like tPivotColumnDelimited, tSplitRow, tFlowToIterate unsuccessfully.

 

Many thanks for your help.

 

Best Regards

Labels (4)
1 Solution

Accepted Solutions
TRF
Champion II
Champion II

Hi,

Have look to tNormalize then tXmlMap components.

View solution in original post

2 Replies
TRF
Champion II
Champion II

Hi,

Have look to tNormalize then tXmlMap components.
Anonymous
Not applicable
Author

Hi,

 

Sorry for my late answer. I've just tried with these 2 components and it works very well, thank you !