我正在尝试返回准确的 XPATH 查询表达式,以便可以使用 rapidminer 对站点进行数据挖掘。我需要一个查询来单独隔离每一行:
2012 年 7 月 11 日星期三
巨魔
9999999999999
07.11.12
提交的内容文件
2012 年 11 月 20 日星期二下午 1:12
到目前为止,我只有//td[@class='select']/text()
注意:值会发生变化,因此查询需要特定于位置。
对于每个值,六个单独的查询是什么?
<tr>
<td class="select" onClick="javascript:window.location.href = 'consignmentDetails.do;jsessionid=7e6a45cbddf07ecba7741e5020b4bfe76e53b8f5df9ea83eaf2040b991792d25.e3iMc3eQax8Re34Qb3aKbNmOch90?consignment=1388730000024&recordCreatedBy=FIMS&groupId=';" onMouseOver="backColorChange(this,'FFFFCC')" onMouseOut="backColorChange(this,'ffffff')">
Wed 7/11/2012<br>
TROLL
</td>
<td class="select" align="center" onClick="javascript:window.location.href = 'consignmentDetails.do;jsessionid=7e6a45cbddf07ecba7741e5020b4bfe76e53b8f5df9ea83eaf2040b991792d25.e3iMc3eQax8Re34Qb3aKbNmOch90?consignment=1388730000024&recordCreatedBy=FIMS&groupId=';" onMouseOver="backColorChange(this,'FFFFCC')" onMouseOut="backColorChange(this,'ffffff')">
9999999999999
<br>07.11.12
</td>
<td class="select" onClick="javascript:window.location.href = 'consignmentDetails.do;jsessionid=7e6a45cbddf07ecba7741e5020b4bfe76e53b8f5df9ea83eaf2040b991792d25.e3iMc3eQax8Re34Qb3aKbNmOch90?consignment=1388730000024&recordCreatedBy=FIMS&groupId=';" onMouseOver="backColorChange(this,'FFFFCC')" onMouseOut="backColorChange(this,'ffffff')">
CONNOTE FILE LODGED <br>
Tue 20/11/2012 1:12 PM
</td>
</tr>
</table>