You must present the text inside the tag, for example node. The text node is extracted using the node test text(). Example. Given:
<body>
This is an exmaple
<p>
blablabla
<\p>
<references>
refer 1
refer 2
<\references>
another example
<\body>
XPath:
"/body/text()"
Retrieves all child text nodes body, for example, “This is an example” and “another example”, as well:
"/body/text()[1]"
, " ". , :
"/body//text()"
, p:
"/body/p[1]//text()"