xpath 中
//表示当前节点下所有的,不仅仅是下级,还可能是下下级
/表示当前节点的下级,仅仅是下级
注意 类名、文本、属性等可能会带空格,比如:class="abc " <font title=" name">你好 </font>
当对于一个dom有多个[]中括号括住条件的话,如一个包含类abc并且属于最后一个节点的选择:(//div[@class="abc"])/[last()] 前面必须加大括号
包含class=rr并且id=_9whvx的div的name属性值: //div[@class='rr' and @id='_9whvx']/@name
#(//tr[@class='tableGroupBy'])[last()]//a [