title: extracting &lt and &gt from html using python
body: <p>I have a HTML in UTF-8 encoding like below. I want to extract OWNER, NVCODE, CKHEWAT tags from this using python and bs4. But &lt;> is converted to &amp;lt and &amp;gt I am not able to extract text from OWNER, NVCODE, CKHEWAT tags.</p>
  
  <p>kindly guide me to extract text from these tags.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;&lt;html&gt;&lt;body&gt;&lt;string xmlns="http://tempuri.org/"&gt;&amp;lt;root&amp;gt;&amp;lt;OWNER&amp;gt;अराजी मतरुका   वासीदेह &amp;lt;/OWNER&amp;gt;&amp;lt;NVCODE&amp;gt;00108&amp;lt;/NVCODE&amp;gt;&amp;lt;CKHEWAT&amp;gt;811&amp;lt;/CKHEWAT&amp;gt;&amp;lt;/root&amp;gt;&lt;/string&gt;&lt;/body&gt;&lt;/html&gt;
  </code></pre>
  
  <p>My code </p>
  
  <pre><code>response = requests.get(url)
  soup = BeautifulSoup(response.text, "lxml")
  soup.find('string').text
  </code></pre>