<p>The <code><aclass="el"href="classxercesc_1_1DOMXPathExpression.html"title="The DOMXPathExpression interface represents a parsed and resolved XPath expression. ">DOMXPathExpression</a></code> interface represents a parsed and resolved XPath expression.
<areashape="rect"id="node2"href="classXQillaExpression.html"title="The XQillaExpression interface extends the DOMXPathExpression interface, providing the ability to rel..."alt=""coords="48,80,171,107"/></map>
<trclass="memdesc:aaa8231f1de4a0356844e422aa08e2336"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Evaluates this XPath expression and returns a result. <ahref="#aaa8231f1de4a0356844e422aa08e2336">More...</a><br/></td></tr>
<trclass="memdesc:a3f1d986c3bfc70dd8506de7a88999c76"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Called to indicate that this <aclass="el"href="classxercesc_1_1DOMXPathExpression.html"title="The DOMXPathExpression interface represents a parsed and resolved XPath expression. ">DOMXPathExpression</a> is no longer in use and that the implementation may relinquish any resources associated with it. <ahref="#a3f1d986c3bfc70dd8506de7a88999c76">More...</a><br/></td></tr>
<tr><tdclass="paramname">contextNode</td><td>of type <code><aclass="el"href="classxercesc_1_1DOMNode.html"title="The DOMNode interface is the primary datatype for the entire Document Object Model. ">DOMNode</a></code> The context is context node for the evaluation of this XPath expression. If the XPathEvaluator was obtained by casting the Document then this must be owned by the same document and must be a <code><aclass="el"href="classxercesc_1_1DOMDocument.html"title="The DOMDocument interface represents the entire XML document. ">DOMDocument</a></code>, <code><aclass="el"href="classxercesc_1_1DOMElement.html"title="By far the vast majority of objects (apart from text) that authors encounter when traversing a docume...">DOMElement</a></code>, <code>DOMAttribute</code>, <code><aclass="el"href="classxercesc_1_1DOMText.html"title="The DOMText interface inherits from DOMCharacterData and represents the textual content (termed chara...">DOMText</a></code>, <code><aclass="el"href="classxercesc_1_1DOMCDATASection.html"title="CDATA sections are used to escape blocks of text containing characters that would otherwise be regard...">DOMCDATASection</a></code>, <code><aclass="el"href="classxercesc_1_1DOMComment.html"title="This interface inherits from CharacterData and represents the content of a comment, i.e., all the characters between the starting ' <!–' and ending '–>'. ">DOMComment</a></code>, <code><aclass="el"href="classxercesc_1_1DOMProcessingInstruction.html"title="The DOMProcessingInstruction interface represents a "processing instruction", used in XML as a way to...">DOMProcessingInstruction</a></code>, or <code>XPathNamespace</code>. If the context node is a <code><aclass="el"href="classxercesc_1_1DOMText.html"title="The DOMText interface inherits from DOMCharacterData and represents the textual content (termed chara...">DOMText</a></code> or a <code><aclass="el"href="classxercesc_1_1DOMCDATASection.html"title="CDATA sections are used to escape blocks of text containing characters that would otherwise be regard...">DOMCDATASection</a></code>, then the context is interpreted as the whole logical text node as seen by XPath, unless the node is empty in which case it may not serve as the XPath context. </td></tr>
<tr><tdclass="paramname">type</td><td>If a specific type is specified, then the result will be coerced to return the specified type relying on XPath conversions and fail if the desired coercion is not possible. This must be one of the type codes of <code><aclass="el"href="classxercesc_1_1DOMXPathResult.html"title="The DOMXPathResult interface represents the result of the evaluation of an XPath 1.0 or XPath 2.0 expression within the context of a particular node. ">DOMXPathResult</a></code>. </td></tr>
<tr><tdclass="paramname">result</td><td>of type DOMXPathResult* The result specifies a specific result object which may be reused and returned by this method. If this is specified as nullor the implementation does not reuse the specified result, a new result object will be constructed and returned. </td></tr>
<dlclass="section return"><dt>Returns</dt><dd>DOMXPathResult* The result of the evaluation of the XPath expression. </dd></dl>
<dlclass="exception"><dt>Exceptions</dt><dd>
<tableclass="exception">
<tr><tdclass="paramname"><code>DOMXPathException</code></td><td>TYPE_ERR: Raised if the result cannot be converted to return the specified type. </td></tr>
<tr><tdclass="paramname"><code>DOMException</code></td><td>WRONG_DOCUMENT_ERR: The <code><aclass="el"href="classxercesc_1_1DOMNode.html"title="The DOMNode interface is the primary datatype for the entire Document Object Model. ">DOMNode</a></code> is from a document that is not supported by the <code>XPathEvaluator</code> that created this <code><aclass="el"href="classxercesc_1_1DOMXPathExpression.html"title="The DOMXPathExpression interface represents a parsed and resolved XPath expression. ">DOMXPathExpression</a></code>. NOT_SUPPORTED_ERR: The <aclass="el"href="classxercesc_1_1DOMNode.html"title="The DOMNode interface is the primary datatype for the entire Document Object Model. ">DOMNode</a> is not a type permitted as an XPath context node or the request type is not permitted by this <code><aclass="el"href="classxercesc_1_1DOMXPathExpression.html"title="The DOMXPathExpression interface represents a parsed and resolved XPath expression. ">DOMXPathExpression</a></code>. </td></tr>
<p>Called to indicate that this <aclass="el"href="classxercesc_1_1DOMXPathExpression.html"title="The DOMXPathExpression interface represents a parsed and resolved XPath expression. ">DOMXPathExpression</a> is no longer in use and that the implementation may relinquish any resources associated with it. </p>