<?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 Problem converting HTML to plain text using jsoup in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Problem-converting-HTML-to-plain-text-using-jsoup/m-p/2320926#M91016</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have a base64 data coming in from one of a column from salesforce, after converting the data, its evenutally a html data with all the tags, the downstream doesn't want those tags, i tried converting the html data to plain text using "jsoup" in tjavaflex. but I keep getting the error&amp;nbsp; "Detail Message: whitelist cannot be resolved to a variable", can someone let me know what i'm doing wrong, i have even placed the jar files in the appropriate directory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;code to convert html to plain text in "tjavaflex"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;import org.jsoup.Jsoup;
import org.jsoup.helper.Validate;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
import java.io.IOException;

output_row.sf_input_col= Jsoup.clean(sf_input_col, whitelist);&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Error Line: 7406
Detail Message: whitelist cannot be resolved to a variable&lt;/PRE&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;MJ&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 21 May 2019 14:28:09 GMT</pubDate>
    <dc:creator>borrisbeck</dc:creator>
    <dc:date>2019-05-21T14:28:09Z</dc:date>
    <item>
      <title>Problem converting HTML to plain text using jsoup</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-converting-HTML-to-plain-text-using-jsoup/m-p/2320926#M91016</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have a base64 data coming in from one of a column from salesforce, after converting the data, its evenutally a html data with all the tags, the downstream doesn't want those tags, i tried converting the html data to plain text using "jsoup" in tjavaflex. but I keep getting the error&amp;nbsp; "Detail Message: whitelist cannot be resolved to a variable", can someone let me know what i'm doing wrong, i have even placed the jar files in the appropriate directory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;code to convert html to plain text in "tjavaflex"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;import org.jsoup.Jsoup;
import org.jsoup.helper.Validate;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
import java.io.IOException;

output_row.sf_input_col= Jsoup.clean(sf_input_col, whitelist);&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Error Line: 7406
Detail Message: whitelist cannot be resolved to a variable&lt;/PRE&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;MJ&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2019 14:28:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-converting-HTML-to-plain-text-using-jsoup/m-p/2320926#M91016</guid>
      <dc:creator>borrisbeck</dc:creator>
      <dc:date>2019-05-21T14:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problem converting HTML to plain text using jsoup</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-converting-HTML-to-plain-text-using-jsoup/m-p/2320927#M91017</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Where is your&amp;nbsp; "whitelist" from? Any double quotes missing? Could you please post the whole job setting screenshots here?&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2019 09:22:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-converting-HTML-to-plain-text-using-jsoup/m-p/2320927#M91017</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-28T09:22:40Z</dc:date>
    </item>
  </channel>
</rss>

