how do I select a <td> </td>
that is empty or ONLY contains white spaces no matter how many with XPATH in PHP?
I'd like to replace the two not(text())
in the code underneath in order to not only match no text but also white spaces.
//tr[td[1][contains(text(), "'. $match .'")]]
/following-sibling::tr[td[1][not(text())] and preceding-sibling::tr[1][td[1][not(text()) or contains(text(), "'. $match .'")]]]