Question: how xpath expressions are evaluated?
Answer: The XPathNavigator class provides the Evaluate method to evaluate an XPath expression. The Evaluate method takes an XPath expression, evaluates it and returns a W3C XPath type of Boolean, Number, String, or Node Set based on the result of the XPath expression.