I want to extract vale between parent and child node using Xpath. How to achieve that?
**<div class="Shareaccess">
Value to be extract
<a href="javascript:shareAccessValue()" id="shareKey">
KEY
</a>
<span></span>
</div>**
How to get text value output as 'Value to be extract'? It should not be 'Value to be extract KEY'. 'KEY' should be ignored.