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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

loop multiple elements in advancedOutputFIle

I want to loop many elements in one file for example the source file:
<doc>
<name>joe</name>
<type>string</type>
</doc>
could have multiple rows like this:
<doc>
<name>joe</name>
<type>string</type>
<name>john</name>
<type>int</type>
</doc>
However it doesnt allow multiple loop element, i read about group element but its constantly greyed out. Is there any way around this other than writing out to multiple files? Also is it possible to read in from multiple files?
Labels (2)
1 Reply
Anonymous
Not applicable
Author

Hello
However it doesnt allow multiple loop element,

Yes, tAdvancedFileOutputXML don't support multiple loop element, in your case, you can generate a file like this:
<doc>
<name>joe</name>
<type>string</type>
</doc>
<doc>
<name>john</name>
<type>int</type>
</doc>
Well, you can group your element with one attribute, see 1847
Best regards

shong