XPath – Difference between node() and text()
text() and node() are node tests, in XPath terminology (compare). Node tests operate on a set (on an axis, to be exact) of nodes and return the ones that are of a certain type. When no axis is mentioned, the child axis is assumed by default. There are all kinds of node tests: node() matches … Read more