0

I want to get the table node where its decendent node="Nohup Files".
What I have so far is

table/descendant::font[self::text()="Nohup Files"]
table/tr/td/b/font[self::text()="Nohup Files"]

but neither works.

<table>
<tr>
<td><b><font>Nohup Files</font></b></td>
</tr>
</table>

1
Contributor
1
Reply
2
Views
8 Years
Discussion Span
Last Post by scott_rider
0

In my fumblings, I was able to piece together this: //font[self::text()="Nohup Files"]/ancestor::table.

I had to select the node I wanted, specified the text to search for and the node to return.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.