Get text from header besides some attrbute : Elements on the page map like this: 


<!-- language: lang-html -->

    <span [@class="some class"]> 
    <h1> Some text 
    <a> another text </a> 
    </h1>
    </span>



How could I write xpath for getting text under "h1" besides "a" ? "a" is child for "h1"  