I am trying to get the text from a node, but the text from it's child nodes are being appended. I want to avoid it.
I transformed HTML
to XML
using HTMLCleaner
and I have something similar to this
<td>
<a>Link Text</a>
Column Text
</td>
I want only Column Text
to be extracted. Avoiding any text existing in the children of the selected td
Is there any way to do that? The one I used thus far was this:
//td/text()