title: xpath exclude certain child element with class
body: <p>I have a html structure which for instance could look like below in a simplified version. I want to exclude the yarpp-related div from the xpath content. Here is what i'm using at the moment:</p>
  
  <pre><code>//div[@class='entry-content']
  </code></pre>
  
  <p>How can i exlude the yarpp-related div?</p>
  
  <p>html structure</p>
  
  <pre><code>&lt;div class="entry-content"&gt;
      &lt;div class="yarpp-related"&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>