<?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 Parsing an embedded XML file from MYSQL in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Parsing-an-embedded-XML-file-from-MYSQL/m-p/140526#M754026</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To those kind enough to reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot show the true data here for reasons i'm sure you understand so all the below is renamed and randomized.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each transformed_xml (unlike the example below) holds anywhere from 180 to 600 fields of data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the following LOAD statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD id,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `a`,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;STRONG style="font-size: 10pt;"&gt;`transformed_xml`,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `d`,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `e`,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `f`,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `g`,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; h,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;STRONG style="font-size: 10pt;"&gt;`i`,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `j`,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;STRONG style="font-size: 10pt;"&gt;`k`,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `l`;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SQL SELECT *&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM db.table;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are currently using the ExtractValue function in the SQL Select portion of the Load which works but takes a very long time to run.. We therefor have to partition the the loads into small portions (usually 1000 lines at a time).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My goal here is to find a QlikView solution to parsing this XML portion as i am sure there is a quicker way to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached a demo version of the transformed_xml file as it would look on a single line of data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't see how the usual XmlSimple qlik load would work in this instance as it would have to be in a resident load and would have to be executed on a loop per line..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Suggestions would be helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>glencote</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Parsing an embedded XML file from MYSQL</title>
      <link>https://community.qlik.com/t5/QlikView/Parsing-an-embedded-XML-file-from-MYSQL/m-p/140526#M754026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To those kind enough to reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot show the true data here for reasons i'm sure you understand so all the below is renamed and randomized.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each transformed_xml (unlike the example below) holds anywhere from 180 to 600 fields of data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the following LOAD statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD id,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `a`,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;STRONG style="font-size: 10pt;"&gt;`transformed_xml`,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `d`,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `e`,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `f`,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `g`,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; h,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;STRONG style="font-size: 10pt;"&gt;`i`,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `j`,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;STRONG style="font-size: 10pt;"&gt;`k`,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `l`;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SQL SELECT *&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM db.table;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are currently using the ExtractValue function in the SQL Select portion of the Load which works but takes a very long time to run.. We therefor have to partition the the loads into small portions (usually 1000 lines at a time).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My goal here is to find a QlikView solution to parsing this XML portion as i am sure there is a quicker way to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached a demo version of the transformed_xml file as it would look on a single line of data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't see how the usual XmlSimple qlik load would work in this instance as it would have to be in a resident load and would have to be executed on a loop per line..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Suggestions would be helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Parsing-an-embedded-XML-file-from-MYSQL/m-p/140526#M754026</guid>
      <dc:creator>glencote</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing an embedded XML file from MYSQL</title>
      <link>https://community.qlik.com/t5/QlikView/Parsing-an-embedded-XML-file-from-MYSQL/m-p/140527#M754027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It could be done by storing these xml as text-files and loading them again with a xml-fileformat. Similar to this is to load from_field. Here are various examples for it: &lt;A href="/t5/forums/searchpage/tab/message?q=xml from_field"&gt;https://community.qlik.com/search.jspa?q=xml+from_field&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2018 10:56:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Parsing-an-embedded-XML-file-from-MYSQL/m-p/140527#M754027</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-10-09T10:56:23Z</dc:date>
    </item>
  </channel>
</rss>

