public bool Matches(XPathExpression xpath, XPathNavigator source) { xpath = (XPathExpression)xpath.Clone(); xpath.SetContext(new XPathSemantics(this)); return source.Matches(xpath); }