开发者

What is the proper xpath query for this specific html section?

开发者 https://www.devze.com 2023-03-15 11:27 出处:网络
What is the right xpath query to get only the value: 5.3 ? <span class=\"bla\">5.3<span>开发者_如何学JAVA;/10</span></span>

What is the right xpath query to get only the value: 5.3 ?

<span class="bla">5.3<span>开发者_如何学JAVA;/10</span></span>


This works for me:

//span[@class="bla"]/text()
0

精彩评论

暂无评论...
验证码 换一张
取 消