title: Get text from header besides some attribute
body: <p>HTML</p>
  
  <pre><code>&lt;span [@class="some class"]&gt; 
      &lt;h1&gt; Some text 
          &lt;a&gt; another text &lt;/a&gt; 
      &lt;/h1&gt;
  &lt;/span&gt;
  </code></pre>
  
  <p>How can I write an XPath to get the text under <code>h1</code> that doesn't contain the text inside the child <code>a</code>?</p>