Evaluates an XPath expression and returns the result. The call to this method is equivalent to Evaluate (Compile (xpath)).
- xpath
- A string value that represents an XPath expression
An stem.Object instance that represents the evaluation result.
To evaluate such XPath expression that contains certain namespace prefixes, XmlNamespaceManager is required and thus XPathExpression is required to do such evaluation.
Namespace: System.Xml.XPath
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0