<?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: Read all columns from an XML (Load/Select * from...) in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Read-all-columns-from-an-XML-Load-Select-from/m-p/2110414#M90703</link>
    <description>&lt;P&gt;I now have a CSV file from the source system with all possible column names from the XML file.&lt;/P&gt;
&lt;P&gt;How can I take the rows from the CSV file as column names in a load script for the XML file?&lt;/P&gt;</description>
    <pubDate>Mon, 28 Aug 2023 13:33:24 GMT</pubDate>
    <dc:creator>HTaher</dc:creator>
    <dc:date>2023-08-28T13:33:24Z</dc:date>
    <item>
      <title>Read all columns from an XML (Load/Select * from...)</title>
      <link>https://community.qlik.com/t5/App-Development/Read-all-columns-from-an-XML-Load-Select-from/m-p/2096464#M89813</link>
      <description>&lt;P&gt;Hi Dear Community,&lt;/P&gt;
&lt;P&gt;Is there a way to read all columns from an XML file?&lt;/P&gt;
&lt;P&gt;I know that Load * or Select * does not work with XML.&lt;/P&gt;
&lt;P&gt;I have the problem that I get a XML file where the number of columns change. The number can become larger and larger.&lt;/P&gt;
&lt;P&gt;I would like to use a select * to save all rows in a QVD.&lt;/P&gt;
&lt;P&gt;Maybe you have an idea how I can solve the problem.&lt;/P&gt;
&lt;P&gt;Thanks a lot&lt;/P&gt;
&lt;P&gt;Handren&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2023 08:35:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Read-all-columns-from-an-XML-Load-Select-from/m-p/2096464#M89813</guid>
      <dc:creator>HTaher</dc:creator>
      <dc:date>2023-07-24T08:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: Read all columns from an XML (Load/Select * from...)</title>
      <link>https://community.qlik.com/t5/App-Development/Read-all-columns-from-an-XML-Load-Select-from/m-p/2096537#M89816</link>
      <description>&lt;P&gt;Just load the xml as txt-file before your origin load and extract the included columns. Qlik has very powerful string-functions like subfield/substringcount/textbeween/keepchar/... which could be also applied within several internal loops in preceding loads.&lt;/P&gt;
&lt;P&gt;The general approach would be cleaning --&amp;gt; extracting --&amp;gt; final cleaning --&amp;gt; string-aggregating the results as field-list for the final load. If the xml is rather large and quite nested it's a bit tedious but surely possible. More simple would be if the source-system output another file with the meta-data to the data.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2023 10:45:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Read-all-columns-from-an-XML-Load-Select-from/m-p/2096537#M89816</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2023-07-24T10:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: Read all columns from an XML (Load/Select * from...)</title>
      <link>https://community.qlik.com/t5/App-Development/Read-all-columns-from-an-XML-Load-Select-from/m-p/2110414#M90703</link>
      <description>&lt;P&gt;I now have a CSV file from the source system with all possible column names from the XML file.&lt;/P&gt;
&lt;P&gt;How can I take the rows from the CSV file as column names in a load script for the XML file?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 13:33:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Read-all-columns-from-an-XML-Load-Select-from/m-p/2110414#M90703</guid>
      <dc:creator>HTaher</dc:creator>
      <dc:date>2023-08-28T13:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: Read all columns from an XML (Load/Select * from...)</title>
      <link>https://community.qlik.com/t5/App-Development/Read-all-columns-from-an-XML-Load-Select-from/m-p/2110419#M90706</link>
      <description>&lt;P&gt;Maybe in this way:&lt;/P&gt;
&lt;P&gt;t: load concat('[' &amp;amp; Fieldnames &amp;amp; ']', ', ') as F from csv;&lt;/P&gt;
&lt;P&gt;let f = peek('F', 0, 't');&lt;/P&gt;
&lt;P&gt;xml: load $(f) from xml;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 13:39:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Read-all-columns-from-an-XML-Load-Select-from/m-p/2110419#M90706</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2023-08-28T13:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: Read all columns from an XML (Load/Select * from...)</title>
      <link>https://community.qlik.com/t5/App-Development/Read-all-columns-from-an-XML-Load-Select-from/m-p/2110431#M90711</link>
      <description>&lt;P&gt;Thank you very much. &lt;/P&gt;
&lt;P&gt;You have helped me a lot. This is what worked.&lt;/P&gt;
&lt;P&gt;Greetings &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 13:51:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Read-all-columns-from-an-XML-Load-Select-from/m-p/2110431#M90711</guid>
      <dc:creator>HTaher</dc:creator>
      <dc:date>2023-08-28T13:51:54Z</dc:date>
    </item>
  </channel>
</rss>

