xPath

Returns XPathExpression that represents path to this Node, or an empty expression if it is not available.

For the Document.document this method returns an empty expression.

Since

8.0.0