Converts values as the XPath string() function does: attributes are read as their value, other nodes as the text
content of their subtree (comments excluded), and computed strings, numbers or booleans as their written form.
The Target to read, either a selected node or a computed value
Returns string
The text of node, with whitespace runs collapsed to a single space and leading and trailing whitespace
removed, so that content spread across several lines reads as evenly spaced text
Reads a selected value as text.
Converts values as the XPath
string()function does: attributes are read as their value, other nodes as the text content of their subtree (comments excluded), and computed strings, numbers or booleans as their written form.