For an xml segment:
<tr>
<td>
Price:
</td>
<td>
<span>
<b>
$11.85
</b>
</span>
</td>
</tr>
when I evaluate the xpath:
//text()[preceding::text()[normalize-space(.)!=''][position()=1][normalize-space()='Price:']]
, the result is :
[
]
[
]
[
]
[
$11.85
]
but I only want to find the [$11.85]
. So what can I do to evaluate a xpath without considering the empty text node?