Reputation: 21479
What is the right xpath query to get only the value: 5.3 ?
<span class="bla">5.3<span>/10</span></span>
Upvotes: 3
Views: 55
Reputation: 816700
This works for me:
//span[@class="bla"]/text()
Upvotes: 4