<?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: Loading data from html table - problem with br tag in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Loading-data-from-html-table-problem-with-br-tag/m-p/1282851#M402091</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've tried that already.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DeniedPersonsTmp:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp; SubField([Name and Address], ',', 1) as dpName, &lt;/P&gt;&lt;P&gt;&amp;nbsp; index([Name and Address], chr(13)) as isChr13Raw,&lt;/P&gt;&lt;P&gt;&amp;nbsp; index([Name and Address], chr(10)) as isChr10Raw,&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://www.bis.doc.gov/dpl/public/dpl.php" rel="nofollow" target="_blank"&gt;https://www.bis.doc.gov/dpl/public/dpl.php&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;(html, utf8, embedded labels, table is @1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="index.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/156237_index.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Looks like qlikview internal html parser makes something like replace(cellValue, '&amp;lt;br&amp;gt;', '')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Mar 2017 12:20:16 GMT</pubDate>
    <dc:creator>mfchmielowski</dc:creator>
    <dc:date>2017-03-14T12:20:16Z</dc:date>
    <item>
      <title>Loading data from html table - problem with br tag</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-data-from-html-table-problem-with-br-tag/m-p/1282849#M402089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all.&lt;/P&gt;&lt;P&gt;I'm fetching data from url &lt;A href="https://www.bis.doc.gov/dpl/public/dpl.php" title="https://www.bis.doc.gov/dpl/public/dpl.php"&gt;The Denied Persons List&lt;/A&gt;‌ There is a table with column: Name and address.&lt;/P&gt;&lt;P&gt;Name is devided from address with html br tag. When qlikview is parsing the value in this cell it's giving name and address concatenated and i've no idea how to split this two values. I need to have name and address in two different columns in qlikview.&lt;/P&gt;&lt;P&gt;I've tried subfield([Name and addres], chr(10), 1) and &lt;SPAN style="font-size: 13.3333px;"&gt;subfield([Name and addres], chr(13), 1) but none of this worked.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My load script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DeniedPersonsTmp:&lt;/P&gt;&lt;P&gt;LOAD [Name and Address], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Effective Date], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Expiration Date], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Type of Denial], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F5,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RowNo() bitand 1 as rowNoBitAnd &lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://www.bis.doc.gov/dpl/public/dpl.php" rel="nofollow" target="_blank"&gt;https://www.bis.doc.gov/dpl/public/dpl.php&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;(html, utf8, embedded labels, table is @1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;DeniedPersons:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;&amp;nbsp; *&lt;/P&gt;&lt;P&gt;&amp;nbsp; , dpEffectiveDateYear&amp;amp;'-'&amp;amp;dpEffectiveDateMonth&amp;amp;'-'&amp;amp;dpEffectiveDateDay as dpEffectiveDateNormal&lt;/P&gt;&lt;P&gt;&amp;nbsp; , if(dpExpirationDateRaw &amp;lt;&amp;gt; '', dpExpirationDateYear&amp;amp;'-'&amp;amp;dpExpirationDateMonth&amp;amp;'-'&amp;amp;dpExpirationDateDay) as dpExpirationDate&lt;/P&gt;&lt;P&gt;&amp;nbsp; , trim(SubField(dpNameAndAddress, ',', 1)) as dpName&lt;/P&gt;&lt;P&gt;&amp;nbsp; , trim(SubField(dpNameAndAddress, ',', 2)) as dpAddress&lt;/P&gt;&lt;P&gt;&amp;nbsp; , trim(SubField(dpNameAndAddress, ',', 3)) as dpAddress2&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;load &lt;/P&gt;&lt;P&gt;&amp;nbsp; 'bis.doc.gov' as dpDataSource,&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Name and Address] as dpNameAndAddress,&lt;/P&gt;&lt;P&gt;&amp;nbsp; SubField([Effective Date], '/', 3) as dpEffectiveDateYear,&lt;/P&gt;&lt;P&gt;&amp;nbsp; SubField([Effective Date], '/', 2) as dpEffectiveDateDay,&lt;/P&gt;&lt;P&gt;&amp;nbsp; SubField([Effective Date], '/', 1) as dpEffectiveDateMonth,&lt;/P&gt;&lt;P&gt;&amp;nbsp; SubField([Expiration Date], '/', 3) as dpExpirationDateYear,&lt;/P&gt;&lt;P&gt;&amp;nbsp; SubField([Expiration Date], '/', 2) as dpExpirationDateDay,&lt;/P&gt;&lt;P&gt;&amp;nbsp; SubField([Expiration Date], '/', 1) as dpExpirationDateMonth,&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Expiration Date] as dpExpirationDateRaw,&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Type of Denial] as dpTypeOfDenial&lt;/P&gt;&lt;P&gt;Resident DeniedPersonsTmp Where rowNoBitAnd = 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table DeniedPersonsTmp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop fields dpExpirationDateRaw from &lt;SPAN style="font-size: 13.3333px;"&gt;DeniedPersons&lt;/SPAN&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Mar 2017 06:34:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-data-from-html-table-problem-with-br-tag/m-p/1282849#M402089</guid>
      <dc:creator>mfchmielowski</dc:creator>
      <dc:date>2017-03-14T06:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: Loading data from html table - problem with br tag</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-data-from-html-table-problem-with-br-tag/m-p/1282850#M402090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try it with: subfield([Name and addres], &lt;STRONG&gt;chr(13) &amp;amp; chr(10)&lt;/STRONG&gt;, 1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Mar 2017 11:59:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-data-from-html-table-problem-with-br-tag/m-p/1282850#M402090</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-03-14T11:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: Loading data from html table - problem with br tag</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-data-from-html-table-problem-with-br-tag/m-p/1282851#M402091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've tried that already.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DeniedPersonsTmp:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp; SubField([Name and Address], ',', 1) as dpName, &lt;/P&gt;&lt;P&gt;&amp;nbsp; index([Name and Address], chr(13)) as isChr13Raw,&lt;/P&gt;&lt;P&gt;&amp;nbsp; index([Name and Address], chr(10)) as isChr10Raw,&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://www.bis.doc.gov/dpl/public/dpl.php" rel="nofollow" target="_blank"&gt;https://www.bis.doc.gov/dpl/public/dpl.php&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;(html, utf8, embedded labels, table is @1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="index.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/156237_index.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Looks like qlikview internal html parser makes something like replace(cellValue, '&amp;lt;br&amp;gt;', '')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Mar 2017 12:20:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-data-from-html-table-problem-with-br-tag/m-p/1282851#M402091</guid>
      <dc:creator>mfchmielowski</dc:creator>
      <dc:date>2017-03-14T12:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: Loading data from html table - problem with br tag</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-data-from-html-table-problem-with-br-tag/m-p/1282852#M402092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you've run up against a limitation of the&amp;nbsp; QV HTML loader. Each &amp;lt;td&amp;gt; tag is treated as a field, but tags within the &amp;lt;td&amp;gt; are stripped, giving you no way to separate Name and Address. However, a nice csv version of the same data is available here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.bis.doc.gov/dpl/dpl.txt" title="https://www.bis.doc.gov/dpl/dpl.txt"&gt;https://www.bis.doc.gov/dpl/dpl.txt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That file offers a nice breakout of the individual attributes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com" rel="nofollow" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Mar 2017 04:51:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-data-from-html-table-problem-with-br-tag/m-p/1282852#M402092</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2017-03-15T04:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: Loading data from html table - problem with br tag</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-data-from-html-table-problem-with-br-tag/m-p/1282853#M402093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You very much &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Mar 2017 06:01:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-data-from-html-table-problem-with-br-tag/m-p/1282853#M402093</guid>
      <dc:creator>mfchmielowski</dc:creator>
      <dc:date>2017-03-15T06:01:38Z</dc:date>
    </item>
  </channel>
</rss>

