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

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] tFileOutputMSXML component and empty XML elements

With tFileOutputMSXML component I am creating XML file which has empty elements inside. But I don't want empty elements inside my XML.
How can I set tFileOutputMSXML component in order that it wouldn't create empty XML elements in the XML file? 

Labels (2)
6 Replies
Anonymous
Not applicable
Author

Hi,
There has been a checkbox "create empty element if needed" in the panel "Advanced setting" of tFileOutputMSXML component.
When it is unchecked, the null input data will not generate an element.
If the input data is an empty string, please make use of tReplace, it will help displace the empty string with null.
Let us know if it is Ok with you.
Best regards
Sabrina
Anonymous
Not applicable
Author

Thanx, will check this solution and report back.
Anonymous
Not applicable
Author

I checked it with tFixedFlow and tMSXMLOutput and with tReplace and it works as expected.
Anonymous
Not applicable
Author

Hi,
Great this solution works and thanks for your prompt reply.
 Can we consider this topic as resolved?
Best regards
Sabrina
Anonymous
Not applicable
Author

yes we can mark it as resolved.
Anonymous
Not applicable
Author

Hi,
Marked this topic as resolved.
Feel free to let us know if there is any further help we can give.
Best regards
Sabrina