<?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: Strip HTML in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Strip-HTML/m-p/991541#M958085</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look on the qv table-wizard which could natively read html and provided a preview and within the extended are options to read the attribut-values, too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Oct 2015 12:26:19 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2015-10-29T12:26:19Z</dc:date>
    <item>
      <title>Strip HTML</title>
      <link>https://community.qlik.com/t5/QlikView/Strip-HTML/m-p/991539#M958083</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 a field in SQL with HTML tags.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to remove these?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;div&amp;gt;Twin needle stitching detailing. Double fabric hood with self coloured cords. Kangaroo pouch pocket with small hidden opening for earphone cord feed. Ribbed cuffs and hem. Worldwide Responsible Accredited Production (WRAP) certified production. 50 great colours. Soft cotton faced fabric creates ideal printing surface. &amp;lt;br /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;br /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Washing Instructions:&amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;&lt;/P&gt;&lt;P&gt;Machine wash 30&amp;amp;deg;. Do not bleach. Tumble dry low heat. Low iron. Do not dry clean&amp;lt;/div&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Iconic school sweatshirt. Twin needle coverseams on neck. Raglan sleeve cuffs and waistband for extra durability. Herringbone back neck tape. Spotshield stain resistant coating for fabric protection. Fade resistant. &amp;lt;br &amp;gt; &amp;lt;br&amp;gt;&amp;lt;b&amp;gt;Washing Instructions:&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt; Suitable for 40°C wash and tumble dry &amp;lt;br&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd also like to remove &amp;amp;deg;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are just a couple of examples!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 12:18:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Strip-HTML/m-p/991539#M958083</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-29T12:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: Strip HTML</title>
      <link>https://community.qlik.com/t5/QlikView/Strip-HTML/m-p/991540#M958084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've also discovered a field like this!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;div&amp;gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;ul style="list-style-type:disc"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;li&amp;gt;Tubular construction for stability&amp;lt;/li&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;li&amp;gt;1x1 rib trim with elastane&amp;lt;/li&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;li&amp;gt;Herringbone neck tape&amp;lt;/li&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/ul&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/b&amp;gt; &amp;lt;br /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Fabric:&amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;&lt;/P&gt;&lt;P&gt;50% Combed ringspun cotton, 50% Polyester &amp;lt;br /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;br /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Weight:&amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;&lt;/P&gt;&lt;P&gt;295gsm&amp;lt;/div&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this going to be impossible? Haha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 12:20:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Strip-HTML/m-p/991540#M958084</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-29T12:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: Strip HTML</title>
      <link>https://community.qlik.com/t5/QlikView/Strip-HTML/m-p/991541#M958085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look on the qv table-wizard which could natively read html and provided a preview and within the extended are options to read the attribut-values, too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 12:26:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Strip-HTML/m-p/991541#M958085</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-10-29T12:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: Strip HTML</title>
      <link>https://community.qlik.com/t5/QlikView/Strip-HTML/m-p/991542#M958086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What if the data is stored in a SQL table.&amp;nbsp; Can I still do this? If so, how?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 12:32:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Strip-HTML/m-p/991542#M958086</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-29T12:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: Strip HTML</title>
      <link>https://community.qlik.com/t5/QlikView/Strip-HTML/m-p/991543#M958087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The way I see it, you have two options (if you want to avoid messy string mangling of the text):&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Read the database and output the XML as a text file, then load the text file.&lt;/LI&gt;&lt;LI&gt;Read the database to get the XML into a single field, then use LOAD ... FROMFIELD to read the XML&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In both cases, you will find it easier to develop the XML load if you manually create a file containing XML in the same schema. Once that load is working, you can use the generated script as a template. Qlikview requires the XML to be well-formed, so partial tags and any constructs not complying with XML rules will prevent the data from loading.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROMFIELD is a little used feature and there is almost no documentation and very little even here on the community. I have managed to get that working once, but it was some time ago and I no longer have that code. Perhaps someone reading this can offer some asistance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 12:49:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Strip-HTML/m-p/991543#M958087</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-10-29T12:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: Strip HTML</title>
      <link>https://community.qlik.com/t5/QlikView/Strip-HTML/m-p/991544#M958088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another option came to mind after posting the above. VBScript supports regular expressions, and you can call VBScript functions from the load script. You could then parse the text with regular expressions, which will make for much simpler string handling.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calling vbscript functions is a performance killer, though, so I would only consider this if the size of your data set is not large.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Search the commuity for vbscript and regular expressions / regex for the code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 12:53:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Strip-HTML/m-p/991544#M958088</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-10-29T12:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: Strip HTML</title>
      <link>https://community.qlik.com/t5/QlikView/Strip-HTML/m-p/991545#M958089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This might be helpful: &lt;A href="https://www.qlik2go.net/en/2014/08/08/b/" title="https://www.qlik2go.net/en/2014/08/08/b/"&gt;https://www.qlik2go.net/en/2014/08/08/b/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 13:18:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Strip-HTML/m-p/991545#M958089</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-10-29T13:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: Strip HTML</title>
      <link>https://community.qlik.com/t5/QlikView/Strip-HTML/m-p/991546#M958090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;See Qlikview Cookbook: Strip HTML From Text &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com/recipes/download-info/strip-html-from-text/" rel="nofollow"&gt;http://qlikviewcookbook.com/recipes/download-info/strip-html-from-text/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;for a working example of using Regular Expressions to remove html tags. &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"&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"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 13:19:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Strip-HTML/m-p/991546#M958090</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-10-29T13:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: Strip HTML</title>
      <link>https://community.qlik.com/t5/QlikView/Strip-HTML/m-p/991547#M958091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your advice guys.&amp;nbsp; I actually found this in on another thread which seems to work really well !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Data:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;first 200 &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; RecNo() as RecNo, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; SKU,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Description_IncHTML&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;From&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Data\nop_product_data.qvd (qvd)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;where&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; not wildmatch(SKU,'ML*')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;HtmlTag_Map:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MAPPING LOAD DISTINCT '&amp;lt;' &amp;amp; TextBetween('&amp;lt;' &amp;amp; SubField(PurgeChar(Description_IncHTML, chr(13)&amp;amp;chr(10)), '&amp;lt;', IterNo()),'&amp;lt;','&amp;gt;') &amp;amp; '&amp;gt;' as HtmlTag, '' as Substitute&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Data&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;While NOT IsNull(SubField(Description_IncHTML, '&amp;lt;', IterNo()))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;JOIN(Data) LOAD RecNo, MapSubstring('HtmlTag_Map', Description_IncHTML) as Field_Cleansed&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Data&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am however still seeing carriage returns &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Warm and comfortable fleece jacket. Shaped to fit. Full zip front with cadet collar. Two zipped closed front pockets. Two interior pockets. Adjustable base drawcord. Easy re-label system. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Washing Instructions:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Machine wash 40&amp;amp;deg;. Gentle setting. Do not bleach. Iron low. Do not tumble dry. Do not dry clean&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to remove these?&amp;nbsp; I'd also like to remove the "&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;amp;deg;" &lt;/STRONG&gt;too !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 13:49:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Strip-HTML/m-p/991547#M958091</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-29T13:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: Strip HTML</title>
      <link>https://community.qlik.com/t5/QlikView/Strip-HTML/m-p/991548#M958092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for all your help guys.&amp;nbsp; I have found a solution here (if anyone is interested)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/145638"&gt;Data loading with extra characters - need to trim&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This worked perfectly for me ! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 15:32:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Strip-HTML/m-p/991548#M958092</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-29T15:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: Strip HTML</title>
      <link>https://community.qlik.com/t5/QlikView/Strip-HTML/m-p/991549#M958093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can remove the newlines with a mapping. The mapping is also where you can map the entities like &lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;amp;deg; &lt;/STRONG&gt;as well. I've updated the QlikVIew Cookbook example above to show mapping entities as well. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 18:02:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Strip-HTML/m-p/991549#M958093</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-10-29T18:02:11Z</dc:date>
    </item>
  </channel>
</rss>

