标签: php xpath
什么是正确的xpath查询才能获得值:5.3?
<span class="bla">5.3<span>/10</span></span>
答案 0 :(得分:4)
这对我有用:
//span[@class="bla"]/text()