I am using HtmlAgilityPack.
Hover over the parent node, and its child nodes show multiple nodes #text. XPath value shows /code[1]/#text[1]. I am trying to use //#textto get all text nodes, but getting this error:
Error: Expression must evaluate to a node-set.
I tried //textand did not get anything, but there was no error.
source
share