Viewing source, I have table data formatted exactly like this:
<tr class="even">
<td>apple</td>
<td>pear</td>
<td>orange</td>
</tr>
<tr class="odd">
<td>apple</td>
<td>pear</td>
<td> </TD>
</tr>
<tr class="even">
<td>apple</td>
<td>pear</td>
<td>orange</td>
</tr>
How would I go about not matching the <td> containing   in all rows where it occurs?
The entity
isn’t something that XPath knows about — it is best to use its equivalent (self-defining) character entity To select all
tds of a top element –table, that do not contain use:To select all rows of this table such that none of their
tdchildren contains use:To select all
tdchildren of all rows of this table such that none of theirtdchildren contains use: