<?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 Extract data between specific xml elements in a clob in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Extract-data-between-specific-xml-elements-in-a-clob/m-p/1869842#M1216509</link>
    <description>&lt;P&gt;Hi Experts,&lt;/P&gt;
&lt;P&gt;I have a clob field which has the data stored with XML formatting&lt;/P&gt;
&lt;P&gt;And I wanted to extract specific data (expiry date value) from that field&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below is an excerpt from the clob field&lt;/P&gt;
&lt;P&gt;.......&lt;/P&gt;
&lt;P&gt;&amp;lt;NAME&amp;gt;EXPIRY_DATE&amp;lt;/NAME&amp;gt;&lt;BR /&gt;&amp;lt;VALUE&amp;gt;04/15/2022&amp;lt;/VALUE&amp;gt;&lt;/P&gt;
&lt;P&gt;......&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the above example, the &amp;lt;NAME&amp;gt; and &amp;lt;VALUE&amp;gt; are in different lines&lt;/P&gt;
&lt;P&gt;and using the below is not fetching the expected date value&lt;/P&gt;
&lt;P&gt;TextBetween(MESSAGE,'&amp;lt;NAME&amp;gt;EXPIRY_DATE&amp;lt;/NAME&amp;gt;&amp;lt;VALUE&amp;gt;','&amp;lt;/VALUE&amp;gt;')&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you please provide inputs to extract the data ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Umashankar&lt;/P&gt;</description>
    <pubDate>Mon, 13 Dec 2021 15:11:34 GMT</pubDate>
    <dc:creator>umashankarus</dc:creator>
    <dc:date>2021-12-13T15:11:34Z</dc:date>
    <item>
      <title>Extract data between specific xml elements in a clob</title>
      <link>https://community.qlik.com/t5/QlikView/Extract-data-between-specific-xml-elements-in-a-clob/m-p/1869842#M1216509</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;
&lt;P&gt;I have a clob field which has the data stored with XML formatting&lt;/P&gt;
&lt;P&gt;And I wanted to extract specific data (expiry date value) from that field&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below is an excerpt from the clob field&lt;/P&gt;
&lt;P&gt;.......&lt;/P&gt;
&lt;P&gt;&amp;lt;NAME&amp;gt;EXPIRY_DATE&amp;lt;/NAME&amp;gt;&lt;BR /&gt;&amp;lt;VALUE&amp;gt;04/15/2022&amp;lt;/VALUE&amp;gt;&lt;/P&gt;
&lt;P&gt;......&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the above example, the &amp;lt;NAME&amp;gt; and &amp;lt;VALUE&amp;gt; are in different lines&lt;/P&gt;
&lt;P&gt;and using the below is not fetching the expected date value&lt;/P&gt;
&lt;P&gt;TextBetween(MESSAGE,'&amp;lt;NAME&amp;gt;EXPIRY_DATE&amp;lt;/NAME&amp;gt;&amp;lt;VALUE&amp;gt;','&amp;lt;/VALUE&amp;gt;')&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you please provide inputs to extract the data ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Umashankar&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 15:11:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extract-data-between-specific-xml-elements-in-a-clob/m-p/1869842#M1216509</guid>
      <dc:creator>umashankarus</dc:creator>
      <dc:date>2021-12-13T15:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: Extract data between specific xml elements in a clob</title>
      <link>https://community.qlik.com/t5/QlikView/Extract-data-between-specific-xml-elements-in-a-clob/m-p/1869946#M1216512</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Have you seen this thread;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/QlikView-App-Dev/XML-Parse-embedded-XML-example-attached/m-p/1685144" target="_blank"&gt;Solved: XML Parse - embedded XML - example attached - Qlik Community - 1685144&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Chris.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 17:45:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extract-data-between-specific-xml-elements-in-a-clob/m-p/1869946#M1216512</guid>
      <dc:creator>chrismarlow</dc:creator>
      <dc:date>2021-12-13T17:45:01Z</dc:date>
    </item>
  </channel>
</rss>

