xpath nearest element to a given element
- by nologo
hi,
having trouble returning an element using xpath..
i need to get the text from the 2nd TD..
<tr> <td> <label for="PropertyA">Some text here </label> </td> <td> TEXT!! </td> </tr>
i'm able to find the label element but then im having trouble selecting the td following to return the text.
this is how i select the label:
"//label[@for='PropertyA']"
thanks