Acrux Html Parser Documentation
SelectSingleNode Method (xpath)
NamespacesAcrux.HtmlHtmlNodeSelectSingleNode(String)
Selects the first HtmlNode that matches the the XPath expression.
Declaration Syntax
C#Visual BasicVisual C++
public HtmlNode SelectSingleNode(
	string xpath
)
Public Function SelectSingleNode ( _
	xpath As String _
) As HtmlNode
public:
HtmlNode^ SelectSingleNode(
	String^ xpath
)
Parameters
xpath (String)
The XPath expression.
Return Value
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.
Exceptions
ExceptionCondition
XPathException

Assembly: Acrux.Html (Module: Acrux.Html) Version: 1.0.0.0 (1.0.0.215)