例子://div[span[text()='+++test']]/parent::div[contaions(text(),'test')] --查找含有span的text爲+++test的的div的父節點.
確定! 回上一頁