David0603 All American 12764 Posts user info edit post |
How do I get the last td using xpath?
<HTML> <BODY> <FORM name="trans_form"> <DIV align="center"> <TABLE> <TR> <TD><SPAN name="sourceData"> <TABLE> <TR> <TD name="foo" 6/6/2008 10:14:40 AM |
philihp All American 8349 Posts user info edit post |
/HTML/BODY/FORM/DIV/TABLE/TR/TD/SPAN/TABLE/TR/TD
or
//TD[2]
[Edited on June 6, 2008 at 10:41 AM. Reason : x] 6/6/2008 10:39:21 AM |
David0603 All American 12764 Posts user info edit post |
Thx. I tried that and it wouldn't work for me. Maybe there's something wrong with the way this app handles xpath. 6/6/2008 10:45:45 AM |
David0603 All American 12764 Posts user info edit post |
Hmmm. It works up to here, then breaks. HTML/BODY/FORM/DIV/TABLE/TR/TD/SPAN/ 6/6/2008 11:08:16 AM |
David0603 All American 12764 Posts user info edit post |
Stupid generated tags. It works now. Thx. 6/6/2008 11:12:58 AM |