Basically I'm working with the following XML:
<div>
<div>
<b>E-mail:</b>
<span>TheValue</span>
</div>
... and more div tags
</div>
Keep in mind that there are lots of different div tags - but only one containing a tag with the innertext of "E-mail:".
What I want to parse is the value of the span tag where the bold tag equals "E-mail:".
I know I could do something like ("//div//div[contains(@text(), 'E-mail:')].innerText;
But I would like to do this by checking if the bold tag contains E-Mail and not just the innerText of the whole div tag.