For simplicity, this article only covers the evaluate method of XPathExpression.
为了简便起见,本文只讨论XPathExpression的evaluate方法。
It compiles that expression and returns it as an instance of the XPathExpression class.
它编译该表达式并将其作为xpathexpression类的实例返回。
XPathExpression objects are created by passing a String representation of the XPath expression into the compile method on XPath.
XPathExpression对象通过将XPath表达式的String表示传递给XPath的编译方法来创建。
应用推荐