singleNodeValue
The read-only singleNodeValue
property of the XPathResult interface returns a Node value or null
in case no node was matched of a result with XPathResult.resultType being ANY_UNORDERED_NODE_TYPE
or FIRST_ORDERED_NODE_TYPE
.