Selects the first HtmlNode that matches the the XPath expression.
- xpath (String)
- The XPath expression.
The first HtmlNode that matches the XPath query or null if no matching node
is found. The HtmlNode should not be expected to be connected "live" to the
XML document. That is, changes that appear in the XML document may not appear
in the HtmlNode, and vice versa.
| Exception | Condition |
|---|---|
| XPathException |
|