<?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 xml data handling with from_field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/xml-data-handling-with-from-field/m-p/327462#M707619</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had a similar issue and had to use textbetween to get the info we wanted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;TextBetween(Textbetween(SubAttributes, '&amp;lt;Query&amp;gt;','&amp;lt;/Query&amp;gt;'),'&amp;lt;CommandText&amp;gt;','&amp;lt;/CommandText&amp;gt;')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Mar 2012 13:55:10 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-03-26T13:55:10Z</dc:date>
    <item>
      <title>xml data handling with from_field</title>
      <link>https://community.qlik.com/t5/QlikView/xml-data-handling-with-from-field/m-p/327461#M707618</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;The table I have to query has an XML-structure in one of the Attributes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can get the XML-Content using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;SELECT ID, Type, CAST(CAST(Content as VARBINARY(MAX)) as XML) as SubAttributes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I have the "Content" be further parsed to get the XML-information into a QV-Table? Read about the FROM_FIELD instruction but can not figure out proper syntax.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Inside_Data:&lt;/P&gt;&lt;P&gt;LOAD [Query/CommandText] as CommandText&lt;/P&gt;&lt;P&gt;?? FROM_FIELD SubAttributes&amp;nbsp; -- does not work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately did not get an answer to a similar question asked a few weeks ago.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, Juerg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 16:00:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/xml-data-handling-with-from-field/m-p/327461#M707618</guid>
      <dc:creator />
      <dc:date>2011-11-17T16:00:39Z</dc:date>
    </item>
    <item>
      <title>xml data handling with from_field</title>
      <link>https://community.qlik.com/t5/QlikView/xml-data-handling-with-from-field/m-p/327462#M707619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had a similar issue and had to use textbetween to get the info we wanted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;TextBetween(Textbetween(SubAttributes, '&amp;lt;Query&amp;gt;','&amp;lt;/Query&amp;gt;'),'&amp;lt;CommandText&amp;gt;','&amp;lt;/CommandText&amp;gt;')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 13:55:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/xml-data-handling-with-from-field/m-p/327462#M707619</guid>
      <dc:creator />
      <dc:date>2012-03-26T13:55:10Z</dc:date>
    </item>
  </channel>
</rss>

