<?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 How to get content from Div Html Element in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-get-content-from-Div-Html-Element/m-p/140282#M20892</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an input field like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'&amp;lt;div class="details-two"&amp;gt;&amp;lt;div class="details-two addon"&amp;gt; &amp;lt;ul&amp;gt; &amp;lt;li&amp;gt; DesiredValue1 &amp;lt;/li&amp;gt;&amp;nbsp; &amp;lt;/ul&amp;gt; &amp;lt;/div&amp;gt;&amp;nbsp;&amp;nbsp; &amp;lt;div class="details-two addon"&amp;gt; &amp;lt;ul&amp;gt; &amp;lt;li&amp;gt; DesiredValue2 &amp;lt;/li&amp;gt; &amp;lt;/ul&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;/div&amp;gt;'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I'd like to get this desired result :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="98"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" width="98"&gt;Field&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;DesiredValue1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;DesiredValue2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;DesiredValue3&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to use the function textbetween (using the div element as separator), or subfield( using the li element as separator, because it's the closest one to the desiredvalue string), but I have the following results :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="DivImg.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/216899_DivImg.png" style="height: 116px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would you do that? I've attached my sample to get the point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PD : I made my example as simple as I can, but in my real example there's a bunch of desired values to pick up, all of them contained in &amp;lt;li&amp;gt; tags.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Marcel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Oct 2018 15:04:37 GMT</pubDate>
    <dc:creator>marcel_olmo</dc:creator>
    <dc:date>2018-10-26T15:04:37Z</dc:date>
    <item>
      <title>How to get content from Div Html Element</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-content-from-Div-Html-Element/m-p/140282#M20892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an input field like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'&amp;lt;div class="details-two"&amp;gt;&amp;lt;div class="details-two addon"&amp;gt; &amp;lt;ul&amp;gt; &amp;lt;li&amp;gt; DesiredValue1 &amp;lt;/li&amp;gt;&amp;nbsp; &amp;lt;/ul&amp;gt; &amp;lt;/div&amp;gt;&amp;nbsp;&amp;nbsp; &amp;lt;div class="details-two addon"&amp;gt; &amp;lt;ul&amp;gt; &amp;lt;li&amp;gt; DesiredValue2 &amp;lt;/li&amp;gt; &amp;lt;/ul&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;/div&amp;gt;'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I'd like to get this desired result :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="98"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" width="98"&gt;Field&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;DesiredValue1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;DesiredValue2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;DesiredValue3&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to use the function textbetween (using the div element as separator), or subfield( using the li element as separator, because it's the closest one to the desiredvalue string), but I have the following results :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="DivImg.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/216899_DivImg.png" style="height: 116px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would you do that? I've attached my sample to get the point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PD : I made my example as simple as I can, but in my real example there's a bunch of desired values to pick up, all of them contained in &amp;lt;li&amp;gt; tags.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Marcel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2018 15:04:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-content-from-Div-Html-Element/m-p/140282#M20892</guid>
      <dc:creator>marcel_olmo</dc:creator>
      <dc:date>2018-10-26T15:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to get content from Div Html Element</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-content-from-Div-Html-Element/m-p/140283#M20893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can load it like xml:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;li%Table as Value&lt;/P&gt;&lt;P&gt;From_Field('DivExample','DivExampleField') (XmlSimple, Table is [div/div/ul/li]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2018 15:29:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-content-from-Div-Html-Element/m-p/140283#M20893</guid>
      <dc:creator>cwolf</dc:creator>
      <dc:date>2018-10-26T15:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to get content from Div Html Element</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-content-from-Div-Html-Element/m-p/140284#M20894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Christian! I didn't even know that function existed. It's just what I wanted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Marcel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2018 15:35:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-content-from-Div-Html-Element/m-p/140284#M20894</guid>
      <dc:creator>marcel_olmo</dc:creator>
      <dc:date>2018-10-26T15:35:29Z</dc:date>
    </item>
  </channel>
</rss>

