<?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: Parse XML in database in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Parse-XML-in-database/m-p/619263#M680264</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That seems to be very tricky. Perhaps these discussions can help you further:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://community.qlik.com/message/171598"&gt;QlikView 10 SR 4 - FromField Issue when Loading a DB Field with XML Content&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://community.qlik.com/message/166059"&gt;xml data handling with from_field&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Apr 2014 17:04:08 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2014-04-25T17:04:08Z</dc:date>
    <item>
      <title>Parse XML in database</title>
      <link>https://community.qlik.com/t5/QlikView/Parse-XML-in-database/m-p/619262#M680263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm currently faced with a situation where I have XML data stored as a string in a database.&amp;nbsp; An example of what this data looks like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;?xml version="1.0" encoding="utf-16"?&amp;gt;&amp;nbsp; &amp;lt;Quote xmlns:xsd="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;&lt;SPAN&gt;" xmlns:xsi="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema-instance"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;IDType&amp;gt;ID_SA&amp;lt;/IDType&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;IDNumber /&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;GenderCde&amp;gt;Male&amp;lt;/GenderCde&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;MaritalCde&amp;gt;Married&amp;lt;/MaritalCde&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;DateOfBirth&amp;gt;1989-02-02T00:00:00&amp;lt;/DateOfBirth&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Suburb&amp;gt;GEORGE&amp;lt;/Suburb&amp;gt;&amp;nbsp; &amp;lt;/Quote&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any straightforward way to parse this in the load script such that, for the above, I'd end up with:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG style="color: #ffffff; text-align: center;"&gt;IDType&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;GenderCde&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;MaritalCde&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;DateOfBirth&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Suburb&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;ID_SA&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Male&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Married&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1989-02-02T00:00:00&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;George&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help on this would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2014 09:51:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Parse-XML-in-database/m-p/619262#M680263</guid>
      <dc:creator />
      <dc:date>2014-04-25T09:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: Parse XML in database</title>
      <link>https://community.qlik.com/t5/QlikView/Parse-XML-in-database/m-p/619263#M680264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That seems to be very tricky. Perhaps these discussions can help you further:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://community.qlik.com/message/171598"&gt;QlikView 10 SR 4 - FromField Issue when Loading a DB Field with XML Content&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://community.qlik.com/message/166059"&gt;xml data handling with from_field&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2014 17:04:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Parse-XML-in-database/m-p/619263#M680264</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-04-25T17:04:08Z</dc:date>
    </item>
  </channel>
</rss>

