<?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: Possibility to extract only relevant csv data from one xml element? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Possibility-to-extract-only-relevant-csv-data-from-one-xml/m-p/626602#M678164</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi whiteline,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added an example.&lt;/P&gt;&lt;P&gt;Anyone could provide help?&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Thorsten&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 24 May 2014 07:59:21 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-05-24T07:59:21Z</dc:date>
    <item>
      <title>Possibility to extract only relevant csv data from one xml element?</title>
      <link>https://community.qlik.com/t5/QlikView/Possibility-to-extract-only-relevant-csv-data-from-one-xml/m-p/626600#M678162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all, I am a student currently trying to learn more about the loading script within QlikView.&lt;/P&gt;&lt;P&gt;I have an xml file from a statistic database, which I can generate directly through the web.&lt;/P&gt;&lt;P&gt;The first problem I have is that I only want to load the data from one element &amp;lt;TabellenDaten&amp;gt;.&lt;/P&gt;&lt;P&gt;The data within &amp;lt;TabellenDaten&amp;gt; is csv with semicolon. The problem is that it includes the legend (key) and further descriptions, which I don't want to import.&lt;/P&gt;&lt;P&gt;Summing up, I want to tell QlikView &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;:&lt;/P&gt;&lt;P&gt;1. To import only the data from the element &amp;lt;TabellenDaten&amp;gt;&lt;/P&gt;&lt;P&gt;2. To only include a part of this content&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if this description is sufficient.&lt;/P&gt;&lt;P&gt;It would be great if you could provide help for this problem.&lt;/P&gt;&lt;P&gt;I already searched this forum, but could not find any hints.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards and thank you&lt;/P&gt;&lt;P&gt;Thorsten&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: I added an exemplary xml file to outline the problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 May 2014 20:01:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Possibility-to-extract-only-relevant-csv-data-from-one-xml/m-p/626600#M678162</guid>
      <dc:creator />
      <dc:date>2014-05-23T20:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: Possibility to extract only relevant csv data from one xml element?</title>
      <link>https://community.qlik.com/t5/QlikView/Possibility-to-extract-only-relevant-csv-data-from-one-xml/m-p/626601#M678163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you add the xml sample to make the discussion more close to reality ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 May 2014 21:19:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Possibility-to-extract-only-relevant-csv-data-from-one-xml/m-p/626601#M678163</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2014-05-23T21:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: Possibility to extract only relevant csv data from one xml element?</title>
      <link>https://community.qlik.com/t5/QlikView/Possibility-to-extract-only-relevant-csv-data-from-one-xml/m-p/626602#M678164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi whiteline,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added an example.&lt;/P&gt;&lt;P&gt;Anyone could provide help?&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Thorsten&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 May 2014 07:59:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Possibility-to-extract-only-relevant-csv-data-from-one-xml/m-p/626602#M678164</guid>
      <dc:creator />
      <dc:date>2014-05-24T07:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: Possibility to extract only relevant csv data from one xml element?</title>
      <link>https://community.qlik.com/t5/QlikView/Possibility-to-extract-only-relevant-csv-data-from-one-xml/m-p/626603#M678165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can choose file type 'delimited' and skip the unnecessary header rows.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 May 2014 09:40:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Possibility-to-extract-only-relevant-csv-data-from-one-xml/m-p/626603#M678165</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2014-05-24T09:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: Possibility to extract only relevant csv data from one xml element?</title>
      <link>https://community.qlik.com/t5/QlikView/Possibility-to-extract-only-relevant-csv-data-from-one-xml/m-p/626604#M678166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi whiteline,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you very much for your response. So qlikview automatically detects the element where the content is defined?&lt;/P&gt;&lt;P&gt;It works now, the only problem I have is that the umlauts (Ä,Ö,Ü) are detected wrong. Do I have to define that in the character set menu? Or do you accidentally know what charset I need to use?&lt;/P&gt;&lt;P&gt;Kind regards and thank you very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 May 2014 10:09:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Possibility-to-extract-only-relevant-csv-data-from-one-xml/m-p/626604#M678166</guid>
      <dc:creator />
      <dc:date>2014-05-24T10:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: Possibility to extract only relevant csv data from one xml element?</title>
      <link>https://community.qlik.com/t5/QlikView/Possibility-to-extract-only-relevant-csv-data-from-one-xml/m-p/626605#M678167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not automatically. You choose the number of lines to skip. If you need some dynamic logic consider 'transformation step'.&lt;/P&gt;&lt;P&gt;Try different charsets, start from&amp;nbsp; UTF-8, or investigate the export properties of the source system.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 May 2014 13:46:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Possibility-to-extract-only-relevant-csv-data-from-one-xml/m-p/626605#M678167</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2014-05-24T13:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: Possibility to extract only relevant csv data from one xml element?</title>
      <link>https://community.qlik.com/t5/QlikView/Possibility-to-extract-only-relevant-csv-data-from-one-xml/m-p/626606#M678170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi whiteline,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for the response!&lt;/P&gt;&lt;P&gt;As I'm not able to change the export properties of the sources system, I tried several charsets, but none worked.&lt;/P&gt;&lt;P&gt;I also tried to replace the "Ä" within the load statement - but if I do so, I have two resulting columns...&lt;/P&gt;&lt;P&gt;Is there a possibility to replace characters before the load statement?&lt;/P&gt;&lt;P&gt;I'm quite confused &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;Kind regards and thank you&lt;/P&gt;&lt;P&gt;PS: I added a screenshot of the imported table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 May 2014 16:17:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Possibility-to-extract-only-relevant-csv-data-from-one-xml/m-p/626606#M678170</guid>
      <dc:creator />
      <dc:date>2014-05-25T16:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Possibility to extract only relevant csv data from one xml element?</title>
      <link>https://community.qlik.com/t5/QlikView/Possibility-to-extract-only-relevant-csv-data-from-one-xml/m-p/626607#M678173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thorsten,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is a solution how I would load the envelope's data it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14010411275234554" jivemacro_uid="_14010411275234554"&gt;
&lt;P&gt;Envelope:&lt;/P&gt;
&lt;P&gt;LOAD&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Body/TabellenExportResponse/TabellenExportReturn/tabellen/tabellen/tabellenDaten] as tabellenDaten&lt;/P&gt;
&lt;P&gt;FROM [ExportService.xml] (XmlSimple, Table is [Envelope]);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;RohDaten:&lt;/P&gt;
&lt;P&gt;FIRST 52 LOAD @1 as Titel,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @2 as [1995],&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @3 as [1996],&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @4 as [1997],&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @5 as [1998],&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @6 as [1999],&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @7 as [2000],&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @8 as [2001],&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @9 as [2002],&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @10 as [2003],&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @11 as [2004],&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @12 as [2005],&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @13 as [2006],&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @14 as [2007],&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @15 as [2008],&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @16 as [2009],&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @17 as [2010],&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @18 as [2011],&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @19 as [2012]&lt;/P&gt;
&lt;P&gt;FROM_FIELD&lt;/P&gt;
&lt;P&gt;(Envelope, tabellenDaten)&lt;/P&gt;
&lt;P&gt;(txt, utf8, no labels, delimiter is ';', msq, header is 6 lines);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;ErgebnisDaten_Tmp:&lt;/P&gt;
&lt;P&gt;CrossTable(Jahr, Wert, 1) LOAD * Resident RohDaten;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;ErgebnisDaten:&lt;/P&gt;
&lt;P&gt;NOCONCATENATE LOAD Titel, Jahr, If(Wert='...', Null(), Wert) as Wert Resident ErgebnisDaten_Tmp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Drop Tables Envelope, RohDaten, ErgebnisDaten_Tmp;&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only questionable thing is the amount of rows I've set fixed to 52 (First).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 May 2014 18:04:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Possibility-to-extract-only-relevant-csv-data-from-one-xml/m-p/626607#M678173</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2014-05-25T18:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: Possibility to extract only relevant csv data from one xml element?</title>
      <link>https://community.qlik.com/t5/QlikView/Possibility-to-extract-only-relevant-csv-data-from-one-xml/m-p/626608#M678175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great!&lt;/P&gt;&lt;P&gt;Thank you very very much!&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Thorsten&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 May 2014 19:16:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Possibility-to-extract-only-relevant-csv-data-from-one-xml/m-p/626608#M678175</guid>
      <dc:creator />
      <dc:date>2014-05-25T19:16:31Z</dc:date>
    </item>
  </channel>
</rss>

