考虑:
text 1
text 2
text 3
你怎么能在 xpath 中表达文本节点?
As far as i know , all text in a node are collectively grouped up as a single text node. They are not hierarchical so there wont be more than 1 text node in any single element.
You might need to parse the text yourself using an xpath string function