<?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 data from database XML field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Read-data-from-database-XML-field/m-p/369700#M1175333</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;anyone got this working? i too have a xml field in a database and want to extract some data.&lt;/P&gt;&lt;P&gt;I know TEXTBETWEEN, but with this, you first have to get the whole xml field over using SQL SELECT.&lt;/P&gt;&lt;P&gt;I would like to get my text right in the SQL SELECT. This is much more efficient.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked google, but we are on ODBC level here. So not all SQL statements are possible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Sep 2012 14:29:01 GMT</pubDate>
    <dc:creator>amien</dc:creator>
    <dc:date>2012-09-28T14:29:01Z</dc:date>
    <item>
      <title>Read data from database XML field</title>
      <link>https://community.qlik.com/t5/QlikView/Read-data-from-database-XML-field/m-p/369696#M1175329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi all, Is it possible to read data from database field with XML type?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2012 10:33:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Read-data-from-database-XML-field/m-p/369696#M1175329</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-26T10:33:04Z</dc:date>
    </item>
    <item>
      <title>Read data from database XML field</title>
      <link>https://community.qlik.com/t5/QlikView/Read-data-from-database-XML-field/m-p/369697#M1175330</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;Yes it's possible. Add a new table from a file, select your xml file and select XML if Qlikview doesn't recognize it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You also can load XML from web API.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2012 11:59:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Read-data-from-database-XML-field/m-p/369697#M1175330</guid>
      <dc:creator>christophebrault</dc:creator>
      <dc:date>2012-04-26T11:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: Read data from database XML field</title>
      <link>https://community.qlik.com/t5/QlikView/Read-data-from-database-XML-field/m-p/369698#M1175331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks Christopher, But is it possibe to read data from the database from field with XML data type? For example i have a table in the SQL Server, like CustomerInfo: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customer (varchar 40)&lt;/P&gt;&lt;P&gt;Info (xml)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Info value:&lt;/P&gt;&lt;P&gt;&amp;lt;customer id = 111&amp;gt;&lt;/P&gt;&lt;P&gt; &amp;lt;address&amp;gt;aaaaa&amp;lt;/address&amp;gt;&lt;/P&gt;&lt;P&gt; &amp;lt;position&amp;gt;bbbb&amp;lt;/position&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/customer&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the example above I need to get data from address and position attributes... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2012 12:49:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Read-data-from-database-XML-field/m-p/369698#M1175331</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-26T12:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: Read data from database XML field</title>
      <link>https://community.qlik.com/t5/QlikView/Read-data-from-database-XML-field/m-p/369699#M1175332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Konstantin, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just use TextBetween function to return whatever is between '&amp;lt;address&amp;gt;' and '&amp;lt;/address&amp;gt;' and use it as a field.&amp;nbsp; Turns the db:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 298px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="64"&gt;Customer&lt;/TD&gt;&lt;TD width="234"&gt;XML&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="83"&gt;111&lt;/TD&gt;&lt;TD class="xl63" width="234"&gt;&amp;lt;customer id = 111&amp;gt;&lt;BR /&gt; &amp;lt;address&amp;gt;aaaa&amp;lt;/address&amp;gt; &lt;BR /&gt; &amp;lt;position&amp;gt;bbbb&amp;lt;/position&amp;gt;&lt;BR /&gt; &amp;lt;/customer&amp;gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="80"&gt;112&lt;/TD&gt;&lt;TD class="xl63" width="234"&gt;&amp;lt;customer id = 112&amp;gt;&lt;BR /&gt; &amp;lt;address&amp;gt;cccc&amp;lt;/address&amp;gt; &lt;BR /&gt; &amp;lt;position&amp;gt;dddd&amp;lt;/position&amp;gt;&lt;BR /&gt; &amp;lt;/customer&amp;gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;into straight table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="171" style="width: 192px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="64"&gt;Customer&lt;/TD&gt;&lt;TD width="64"&gt;Address&lt;/TD&gt;&lt;TD width="64"&gt;Position&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="83"&gt;111&lt;/TD&gt;&lt;TD&gt;aaaa&lt;/TD&gt;&lt;TD&gt;bbbb&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="80"&gt;112&lt;/TD&gt;&lt;TD&gt;cccc&lt;/TD&gt;&lt;TD&gt;dddd&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2012 16:02:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Read-data-from-database-XML-field/m-p/369699#M1175332</guid>
      <dc:creator />
      <dc:date>2012-09-14T16:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Read data from database XML field</title>
      <link>https://community.qlik.com/t5/QlikView/Read-data-from-database-XML-field/m-p/369700#M1175333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;anyone got this working? i too have a xml field in a database and want to extract some data.&lt;/P&gt;&lt;P&gt;I know TEXTBETWEEN, but with this, you first have to get the whole xml field over using SQL SELECT.&lt;/P&gt;&lt;P&gt;I would like to get my text right in the SQL SELECT. This is much more efficient.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked google, but we are on ODBC level here. So not all SQL statements are possible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2012 14:29:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Read-data-from-database-XML-field/m-p/369700#M1175333</guid>
      <dc:creator>amien</dc:creator>
      <dc:date>2012-09-28T14:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: Read data from database XML field</title>
      <link>https://community.qlik.com/t5/QlikView/Read-data-from-database-XML-field/m-p/369701#M1175334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did you ever get an answer to this question?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jun 2013 15:15:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Read-data-from-database-XML-field/m-p/369701#M1175334</guid>
      <dc:creator />
      <dc:date>2013-06-13T15:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: Read data from database XML field</title>
      <link>https://community.qlik.com/t5/QlikView/Read-data-from-database-XML-field/m-p/369702#M1175335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nope .. still looking for the answer .. Don't have solution or workaround yet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jun 2013 19:19:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Read-data-from-database-XML-field/m-p/369702#M1175335</guid>
      <dc:creator>amien</dc:creator>
      <dc:date>2013-06-13T19:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: Read data from database XML field</title>
      <link>https://community.qlik.com/t5/QlikView/Read-data-from-database-XML-field/m-p/369703#M1175336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jun 2013 19:23:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Read-data-from-database-XML-field/m-p/369703#M1175336</guid>
      <dc:creator />
      <dc:date>2013-06-13T19:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: Read data from database XML field</title>
      <link>https://community.qlik.com/t5/QlikView/Read-data-from-database-XML-field/m-p/369704#M1175337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Access the menu script and search for the file by the command "FILES TABLE", load only one file so that the structure QLIKVIEW read this file and create a map. If other files have different fields, add these fields using as reference the map created in the script.&lt;/P&gt;&lt;P&gt;Change the the file path excluding the file name and indicate only the destination folder of all files to be loaded with the expression \ *. Xml.&lt;/P&gt;&lt;P&gt;If the file contains more than one table that requires connection, using the file name to create a key between the tables:&lt;/P&gt;&lt;P&gt;FileName (FILE) as key.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Jun 2013 23:50:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Read-data-from-database-XML-field/m-p/369704#M1175337</guid>
      <dc:creator />
      <dc:date>2013-06-23T23:50:01Z</dc:date>
    </item>
  </channel>
</rss>

