<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Formatting issue when storing into text file in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Formatting-issue-when-storing-into-text-file/m-p/267026#M100299</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the exact same requirement here. I have a table that consists of perfect XML. I would like to store the contents of this table to a file, and then open the file as XML. Problem is that the store command adds the field name to the beginning of the file and messes up the quoting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did anyone find a solution for this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Jun 2016 09:23:32 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-06-07T09:23:32Z</dc:date>
    <item>
      <title>Formatting issue when storing into text file</title>
      <link>https://community.qlik.com/t5/QlikView/Formatting-issue-when-storing-into-text-file/m-p/267025#M100298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;I use Qlikview to gather information from multiple sources, process the data and save it to text files. The files are then fed the other systems. The reason I am using QV like this are this are speed and memory usage. Anyhow my problem is that I have a hard time controlling the formatting in the text files. The text files are created using the 'store into'-script command. I have looked around and tried different format specs to solve my problems but to no avail.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Problem 1:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;One of the systems have changed and I now need to send in my data using XML. The issue is that some of the XML-tags have attributes and therefore have both spaces and quotation marks. Spaces and quotation marks results in additional " in the output.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Example:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;field value/name:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 8pt;"&gt;&amp;lt;Tag1 attribute1="value1" attribute2="value2"&amp;gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;results in the following output:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 8pt;"&gt;"&amp;lt;Tag1 attribute1=""value1"" attribute2=""value2""&amp;gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Is there a way to get the field value and names as they are in QV when storing them into a text file from the script? I would prefer not to have to externally alter the text files, which is what I currently(/provisionally) do. Nor do I think that the using a script to call the export function in front end is the way to go (file size limited to a certain number of rows forcing multiple files, all files must have certain tags in the beginning and in the end etc). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Problem 2:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;All my text file created by 'store into' starts with a few special characters. These characters are not seen in an average text-editor and has, if I remember correctly, something to do with UTF-8. Is there a way to remove these characters from the output?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Question 3: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Is there a way to use store into text files without getting the field name(s) as a header in the resulting file?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;//Nils&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Calibri','sans-serif'; font-size: 11pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Example code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote"&gt;&lt;P&gt;let fieldname = '&amp;lt;Tag1 attribute1="value1" attribute2="value2"&amp;gt;';&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;output:&lt;/P&gt;&lt;P&gt;load 'test' as '$(fieldname)' autogenerate(1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;store '$(fieldname)' from output into 'test.txt'(txt, codepage is 1252, delimiter is '|');&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2011 02:00:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formatting-issue-when-storing-into-text-file/m-p/267025#M100298</guid>
      <dc:creator />
      <dc:date>2011-09-16T02:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting issue when storing into text file</title>
      <link>https://community.qlik.com/t5/QlikView/Formatting-issue-when-storing-into-text-file/m-p/267026#M100299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the exact same requirement here. I have a table that consists of perfect XML. I would like to store the contents of this table to a file, and then open the file as XML. Problem is that the store command adds the field name to the beginning of the file and messes up the quoting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did anyone find a solution for this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2016 09:23:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formatting-issue-when-storing-into-text-file/m-p/267026#M100299</guid>
      <dc:creator />
      <dc:date>2016-06-07T09:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting issue when storing into text file</title>
      <link>https://community.qlik.com/t5/QlikView/Formatting-issue-when-storing-into-text-file/m-p/267027#M100300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Better not hijaak an old discussion (without any responses or activity). Create a new one to get specific replies tailored to your situation.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Best,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2016 11:00:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formatting-issue-when-storing-into-text-file/m-p/267027#M100300</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-06-07T11:00:41Z</dc:date>
    </item>
  </channel>
</rss>

