<?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: XML string parsing, in QV LOAD script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/XML-string-parsing-in-QV-LOAD-script/m-p/898853#M1008311</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe this is helpful: &lt;A href="https://community.qlik.com/message/772124"&gt;Re: XML part of XLS data - how to extract&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>Thu, 21 May 2015 10:11:41 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2015-05-21T10:11:41Z</dc:date>
    <item>
      <title>XML string parsing, in QV LOAD script</title>
      <link>https://community.qlik.com/t5/QlikView/XML-string-parsing-in-QV-LOAD-script/m-p/898852#M1008310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;In my qv Load script, I have string intilized to some XML content.&lt;/P&gt;&lt;P&gt;I was able to store&amp;nbsp; that in a load table. but no clue,how&amp;nbsp;&amp;nbsp; to parse&amp;nbsp; that string xml.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;Listed below QV Script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;====================================================================&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;vxmlstr =&lt;/STRONG&gt; '&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;ArrayOftCountryCodeAndName&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;tCountryCodeAndName&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sISOCode&amp;gt;GB&amp;lt;/sISOCode&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sName&amp;gt;United Kingdom&amp;lt;/sName&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/tCountryCodeAndName&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;tCountryCodeAndName&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sISOCode&amp;gt;GS&amp;lt;/sISOCode&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sName&amp;gt;South Georgia &amp;amp;amp; South Sandwich Islands&amp;lt;/sName&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/tCountryCodeAndName&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;tCountryCodeAndName&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sISOCode&amp;gt;IO&amp;lt;/sISOCode&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sName&amp;gt;British Indian Ocean Territory&amp;lt;/sName&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/tCountryCodeAndName&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/ArrayOftCountryCodeAndName&amp;gt;&lt;/P&gt;&lt;P&gt;' ;&lt;/P&gt;&lt;P&gt;//Load XMl String&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;XMLFILE:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XML &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(vxmlstr)&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2015 14:48:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/XML-string-parsing-in-QV-LOAD-script/m-p/898852#M1008310</guid>
      <dc:creator>sbumeshqlik</dc:creator>
      <dc:date>2015-05-20T14:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: XML string parsing, in QV LOAD script</title>
      <link>https://community.qlik.com/t5/QlikView/XML-string-parsing-in-QV-LOAD-script/m-p/898853#M1008311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe this is helpful: &lt;A href="https://community.qlik.com/message/772124"&gt;Re: XML part of XLS data - how to extract&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>Thu, 21 May 2015 10:11:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/XML-string-parsing-in-QV-LOAD-script/m-p/898853#M1008311</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-05-21T10:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: XML string parsing, in QV LOAD script</title>
      <link>https://community.qlik.com/t5/QlikView/XML-string-parsing-in-QV-LOAD-script/m-p/898854#M1008312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found your case interesting - so I got carried away and tested your specific Web Service with different countries and discovered that it was a couple of additional challenges there. The Web Service will for instance not always give back all fields for all airports in a country. So that has to be handled dynamically or the table being read will have rows where the columns get offset and hence corrupted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I tested it with various countries and even the USA with probably the most airports in the world ~2000 it works now. Here there was an additional challenge in that single quotation marks is part of some airport's name. Which initially I didn't handle but modified my code later to accept that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enjoy - find my solution attached&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2015-05-23 #3.PNG" class="jive-image image-1" src="/legacyfs/online/87401_2015-05-23 #3.PNG" style="height: 327px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2015-05-23 #1.PNG" class="jive-image image-2" src="/legacyfs/online/87402_2015-05-23 #1.PNG" style="height: 593px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2015-05-23 #2.PNG" class="jive-image image-3" src="/legacyfs/online/87403_2015-05-23 #2.PNG" style="height: 222px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 May 2015 00:16:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/XML-string-parsing-in-QV-LOAD-script/m-p/898854#M1008312</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-05-24T00:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: XML string parsing, in QV LOAD script</title>
      <link>https://community.qlik.com/t5/QlikView/XML-string-parsing-in-QV-LOAD-script/m-p/898855#M1008313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There's a FROM_FIELD option that you can use to load a table of data from a field from another table. See this discussion for an example: &lt;A href="https://community.qlik.com/message/711965"&gt;Re: Reading multiple XML nodes&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find more discussion on this subject with this search: &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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 May 2015 19:00:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/XML-string-parsing-in-QV-LOAD-script/m-p/898855#M1008313</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-05-24T19:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: XML string parsing, in QV LOAD script</title>
      <link>https://community.qlik.com/t5/QlikView/XML-string-parsing-in-QV-LOAD-script/m-p/898856#M1008314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Petter,&lt;/P&gt;&lt;P&gt;Thank you, so much. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 May 2015 16:46:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/XML-string-parsing-in-QV-LOAD-script/m-p/898856#M1008314</guid>
      <dc:creator>sbumeshqlik</dc:creator>
      <dc:date>2015-05-25T16:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: XML string parsing, in QV LOAD script</title>
      <link>https://community.qlik.com/t5/QlikView/XML-string-parsing-in-QV-LOAD-script/m-p/898857#M1008315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp; &lt;A href="https://community.qlik.com/qlik-users/146975"&gt;petter-s&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a similar situation. I have an xml field in my db2 database. I need to parse strings that are stored as list in the xml.&amp;nbsp; "Attribute" is the field in my database. It looks like this:&lt;/P&gt;&lt;P&gt;&amp;lt;Attributes&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Map&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;entry key="Removed access"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;List&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;String&amp;gt;data&amp;lt;String1&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;String&amp;gt;data1&amp;lt;String1&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;String&amp;gt;data2&amp;lt;String&amp;gt;&lt;/P&gt;&lt;P&gt;I need to parse data,data1, data2 into qlikiview. I have extracted single values from a Map using textbetween function.&lt;/P&gt;&lt;P&gt;But it doesnt seem to work for multiple entries in the list. I would greatly appreciate the help. Thanks&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2018 20:22:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/XML-string-parsing-in-QV-LOAD-script/m-p/898857#M1008315</guid>
      <dc:creator>diwaskarki</dc:creator>
      <dc:date>2018-04-23T20:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: XML string parsing, in QV LOAD script</title>
      <link>https://community.qlik.com/t5/QlikView/XML-string-parsing-in-QV-LOAD-script/m-p/898858#M1008316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hello &lt;A href="https://community.qlik.com/qlik-users/96544"&gt;gwassenaar&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I have a similar situation. I have an xml field in my db2 database. I need to parse strings that are stored as list in the xml.&amp;nbsp; "Attribute" is the field in my database. It looks like this:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;lt;Attributes&amp;gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Map&amp;gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;entry key="Removed access"&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;List&amp;gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;String&amp;gt;data&amp;lt;String1&amp;gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;String&amp;gt;data1&amp;lt;String1&amp;gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;String&amp;gt;data2&amp;lt;String&amp;gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I need to parse data,data1, data2 into qlikiview. I have extracted single values from a Map using textbetween function.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;But it doesnt seem to work for multiple entries in the list. I would greatly appreciate the help. Thanks&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2018 20:23:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/XML-string-parsing-in-QV-LOAD-script/m-p/898858#M1008316</guid>
      <dc:creator>diwaskarki</dc:creator>
      <dc:date>2018-04-23T20:23:26Z</dc:date>
    </item>
  </channel>
</rss>

