Is it possible to define an xpath expression that selects all <p></p>
elements that contain a hyphen in the text but no child html tags.
In other words, this would be selected by the xpath expression:
<p>Wednesday - Chess at Higgins Stadium</p>
But this would be excluded because of the child <b>
tags:
<p><b>Wednesday</b> - Chess at Higgins Stadium</p>
And this would be excluded because of the child <br/>
tag:
<p><br/>Wednesday - Chess at Higgins Stadium</p>