title: How to parse xhtml with jsoup without changing Html or parsing Html entities
body: <p>I am using jsoup parser to manipulate  xhtml file.
  My file contains below tag as I/P</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;param name="video_title" value="&amp;lt;p&amp;gt;Renewable Energy&amp;lt;/p&amp;gt;" /&gt;</code></pre>
  </div>
  </div>
  
  I passed this tag to jsoup parser using object html as below</p>
  
  <pre><code>org.jsoup.nodes.Document blogContentDocument = Jsoup.parse(html, "", Parser.xmlParser());
  org.jsoup.select.Elements all_elements = blogContentDocument.select("*");
  </code></pre>
  
  <p>and after returning all_elements my o/p be like</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;param name="video_title" value="&lt;p&gt;Renewable Energy&lt;/p&gt;" /&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Expected o/p : </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;param name="video_title" value="&amp;lt;p&amp;gt;Renewable Energy&amp;lt;/p&amp;gt;" /&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>can anyone suggest me how i can prevent jsoup parser from changing html encoding.</p>