Firefox 1.0, Safari 2.01, Opera 9: Object XPathExpression
25.330.1. Methods
evaluate( )
Evaluates this expression for a specified context node.
25.330.2. Description
An XPathExpression object is a compiled representation of an XPath query, returned by Document.createExpression( ). Evaluate the expression against a particular document node with the evaluate( ) method. If you need to evaluate an XPath query only once, you can use Document.evaluate( ), which compiles and evaluates the expression in a single step.
Internet Explorer does not support the XPathExpression object. For IE-specific XPath methods, see Node.selectNodes( ) and Node.selectSingleNode( ).