<h1>xercesc::DOMXPathExpression Class Reference</h1>The <code><aclass="el"href="classxercesc_1_1DOMXPathExpression.html">DOMXPathExpression</a></code> interface represents a parsed and resolved XPath expression.
Inheritance diagram for xercesc::DOMXPathExpression:<p><center><imgsrc="classxercesc_1_1DOMXPathExpression__inherit__graph.png"border="0"usemap="#xercesc_1_1DOMXPathExpression__inherit__map"alt="Inheritance graph"></center>
<center><fontsize="2">[<ahref="graph_legend.html">legend</a>]</font></center><ahref="classxercesc_1_1DOMXPathExpression-members.html">List of all members.</a><tableborder="0"cellpadding="0"cellspacing="0">
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Called to indicate that this <aclass="el"href="classxercesc_1_1DOMXPathExpression.html">DOMXPathExpression</a> is no longer in use and that the implementation may relinquish any resources associated with it. <ahref="#z490_0"></a><br></td></tr>
The <code><aclass="el"href="classxercesc_1_1DOMXPathExpression.html">DOMXPathExpression</a></code> interface represents a parsed and resolved XPath expression.
<tr><tdvalign="top"></td><tdvalign="top"><em>contextNode</em> </td><td>of type <code><aclass="el"href="classxercesc_1_1DOMNode.html">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">DOMDocument</a></code>, <code><aclass="el"href="classxercesc_1_1DOMElement.html">DOMElement</a></code>, <code>DOMAttribute</code>, <code><aclass="el"href="classxercesc_1_1DOMText.html">DOMText</a></code>, <code><aclass="el"href="classxercesc_1_1DOMCDATASection.html">DOMCDATASection</a></code>, <code><aclass="el"href="classxercesc_1_1DOMComment.html">DOMComment</a></code>, <code><aclass="el"href="classxercesc_1_1DOMProcessingInstruction.html">DOMProcessingInstruction</a></code>, or <code>XPathNamespace</code>. If the context node is a <code><aclass="el"href="classxercesc_1_1DOMText.html">DOMText</a></code> or a <code><aclass="el"href="classxercesc_1_1DOMCDATASection.html">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><tdvalign="top"></td><tdvalign="top"><em>type</em> </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">DOMXPathResult</a></code>. </td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>result</em> </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>
<tr><tdvalign="top"></td><tdvalign="top"><em><code>DOMXPathException</code></em> </td><td>TYPE_ERR: Raised if the result cannot be converted to return the specified type. </td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em><code>DOMException</code></em> </td><td>WRONG_DOCUMENT_ERR: The <code><aclass="el"href="classxercesc_1_1DOMNode.html">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">DOMXPathExpression</a></code>. NOT_SUPPORTED_ERR: The <aclass="el"href="classxercesc_1_1DOMNode.html">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">DOMXPathExpression</a></code>. </td></tr>
Called to indicate that this <aclass="el"href="classxercesc_1_1DOMXPathExpression.html">DOMXPathExpression</a> is no longer in use and that the implementation may relinquish any resources associated with it.