【发布时间】:2013-03-10 09:50:41
【问题描述】:
<td class="subject" id="td_111111">
<a href="thread-htm-fid-75-type-333.html" class="f14 view">[health]</a>
<a href="the link I want" name="readlink"
id="a_ajax_880700" class="subject_t f14"><b><font color=#FF0000>how to make this show</font></b></a>
如何通过 Xpath 在“我想要的链接”上方获取 href 位置?不止一个部分需要解析
我用下面来解析,但失败了 :@"//a[@class='subject_t f14']/@href"
【问题讨论】: