title: How to make Xpath Contains() to search the exact match while parsing xml?
body: <p>My sample xml:   </p>
  
  <pre><code> &lt;root&gt;
      &lt;test&gt;
      &lt;para&gt;This is a &lt;comment&gt;new&lt;/comment&gt; para&lt;/para&gt;
      &lt;/test&gt;
      &lt;/root&gt;
  </code></pre>
  
  <p>My XPath will be:</p>
  
  <pre><code> root/test/para[text()=contains(., 'This is a new para')];
  </code></pre>
  
  <p>It will work fine as it contains the same text value.</p>
  
  <p>If the text content in the xml is changed at the end.</p>
  
  <pre><code> &lt;root&gt;
      &lt;test&gt;
      &lt;para&gt;This is a &lt;comment&gt;new&lt;/comment&gt; para hightlighted&lt;/para&gt;
      &lt;/test&gt;
      &lt;/root&gt;
  </code></pre>
  
  <p>It should return false. Instead I am getting true.
  Please help. Thanks in advance.</p>