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

tAdvancedFileOutputXML- Prevent creation of empty elements if there is no mapping for a column

I need to prevent tAdvancedFileOutputXML from creating empty elements. Basically there are rows in tAdvancedFileOutputXML which have no mapping from tMap so the corresponding elements should not be created. Please help

Labels (3)
5 Replies
Anonymous
Not applicable
Author

Hello,

Here is an option "Create empty element if needed" in Advanced settings of tAdvancedFileOutputXML component.

Have you tried to uncheck it to see if it is OK?

Best regards

Sabrina

Anonymous
Not applicable
Author

Hi,

This was the very first thing I tried but seems that doesnot works the way it states because it still shows empty elements

 

manodwhb
Champion II
Champion II

@aishvarya,can you share your smaple input and requied out ,so that i wil test.

manodwhb
Champion II
Champion II

,i have tested please check the below way is usefull to you?
0683p000009Lwbp.png0683p000009LwtF.png0683p000009Lx0W.png0683p000009Lwro.png

Anonymous
Not applicable
Author

I tried but still getting elements in xmls, I placed &nbsp in the mapping column in the xml rows mentioned in tAdvancexmloutput. Moreover I came across one more issue where if a mention a single space in the column data, ie " ".toString the corresponding xml element in the generated xml gives me two spaces. Need help on this too.