You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

311 lines
23 KiB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.9.1"/>
  7. <title>Xerces-C++: DOMXPathEvaluator Class Reference</title>
  8. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  9. <script type="text/javascript" src="jquery.js"></script>
  10. <script type="text/javascript" src="dynsections.js"></script>
  11. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  12. </head>
  13. <body>
  14. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  15. <div id="titlearea">
  16. <table cellspacing="0" cellpadding="0">
  17. <tbody>
  18. <tr style="height: 56px;">
  19. <td style="padding-left: 0.5em;">
  20. <div id="projectname">Xerces-C++
  21. &#160;<span id="projectnumber">3.1.2</span>
  22. </div>
  23. </td>
  24. </tr>
  25. </tbody>
  26. </table>
  27. </div>
  28. <!-- end header part -->
  29. <!-- Generated by Doxygen 1.8.9.1 -->
  30. <div id="navrow1" class="tabs">
  31. <ul class="tablist">
  32. <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  33. <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
  34. <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
  35. <li><a href="files.html"><span>Files</span></a></li>
  36. </ul>
  37. </div>
  38. <div id="navrow2" class="tabs2">
  39. <ul class="tablist">
  40. <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
  41. <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
  42. <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
  43. <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
  44. </ul>
  45. </div>
  46. </div><!-- top -->
  47. <div class="header">
  48. <div class="summary">
  49. <a href="classDOMXPathEvaluator-members.html">List of all members</a> </div>
  50. <div class="headertitle">
  51. <div class="title">DOMXPathEvaluator Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div>
  52. </div><!--header-->
  53. <div class="contents">
  54. <p>The evaluation of XPath expressions is provided by <code><a class="el" href="classDOMXPathEvaluator.html" title="The evaluation of XPath expressions is provided by DOMXPathEvaluator. ">DOMXPathEvaluator</a></code>.
  55. <a href="classDOMXPathEvaluator.html#details">More...</a></p>
  56. <div class="dynheader">
  57. Inheritance diagram for DOMXPathEvaluator:</div>
  58. <div class="dyncontent">
  59. <div class="center">
  60. <img src="classDOMXPathEvaluator.png" usemap="#DOMXPathEvaluator_map" alt=""/>
  61. <map id="DOMXPathEvaluator_map" name="DOMXPathEvaluator_map">
  62. <area href="classDOMDocument.html" title="The DOMDocument interface represents the entire XML document. " alt="DOMDocument" shape="rect" coords="0,56,130,80"/>
  63. </map>
  64. </div></div>
  65. <table class="memberdecls">
  66. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  67. Public Member Functions</h2></td></tr>
  68. <tr><td colspan="2"><div class="groupHeader">Destructor</div></td></tr>
  69. <tr class="memitem:a435cb760408195ecc5d3fd1e0823c103"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMXPathEvaluator.html#a435cb760408195ecc5d3fd1e0823c103">~DOMXPathEvaluator</a> ()</td></tr>
  70. <tr class="memdesc:a435cb760408195ecc5d3fd1e0823c103"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <a href="#a435cb760408195ecc5d3fd1e0823c103">More...</a><br /></td></tr>
  71. <tr class="separator:a435cb760408195ecc5d3fd1e0823c103"><td class="memSeparator" colspan="2">&#160;</td></tr>
  72. <tr><td colspan="2"><div class="groupHeader">Functions introduced in DOM Level 3</div></td></tr>
  73. <tr class="memitem:a6fe8c61f1152773a124962b8ef68bb33"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classDOMXPathExpression.html">DOMXPathExpression</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMXPathEvaluator.html#a6fe8c61f1152773a124962b8ef68bb33">createExpression</a> (const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *expression, const <a class="el" href="classDOMXPathNSResolver.html">DOMXPathNSResolver</a> *resolver)=0</td></tr>
  74. <tr class="memdesc:a6fe8c61f1152773a124962b8ef68bb33"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a parsed XPath expression with resolved namespaces. <a href="#a6fe8c61f1152773a124962b8ef68bb33">More...</a><br /></td></tr>
  75. <tr class="separator:a6fe8c61f1152773a124962b8ef68bb33"><td class="memSeparator" colspan="2">&#160;</td></tr>
  76. <tr class="memitem:a71349e354635ca4aee3ff0490c27efda"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classDOMXPathNSResolver.html">DOMXPathNSResolver</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMXPathEvaluator.html#a71349e354635ca4aee3ff0490c27efda">createNSResolver</a> (const <a class="el" href="classDOMNode.html">DOMNode</a> *nodeResolver)=0</td></tr>
  77. <tr class="memdesc:a71349e354635ca4aee3ff0490c27efda"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adapts any DOM node to resolve namespaces so that an XPath expression can be easily evaluated relative to the context of the node where it appeared within the document. <a href="#a71349e354635ca4aee3ff0490c27efda">More...</a><br /></td></tr>
  78. <tr class="separator:a71349e354635ca4aee3ff0490c27efda"><td class="memSeparator" colspan="2">&#160;</td></tr>
  79. <tr class="memitem:a8785175b7f816234978a931a60000039"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classDOMXPathResult.html">DOMXPathResult</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMXPathEvaluator.html#a8785175b7f816234978a931a60000039">evaluate</a> (const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *expression, const <a class="el" href="classDOMNode.html">DOMNode</a> *contextNode, const <a class="el" href="classDOMXPathNSResolver.html">DOMXPathNSResolver</a> *resolver, <a class="el" href="classDOMXPathResult.html#ab718aec450c5438e0cc3a6920044a0c1">DOMXPathResult::ResultType</a> type, <a class="el" href="classDOMXPathResult.html">DOMXPathResult</a> *result)=0</td></tr>
  80. <tr class="memdesc:a8785175b7f816234978a931a60000039"><td class="mdescLeft">&#160;</td><td class="mdescRight">Evaluates an XPath expression string and returns a result of the specified type if possible. <a href="#a8785175b7f816234978a931a60000039">More...</a><br /></td></tr>
  81. <tr class="separator:a8785175b7f816234978a931a60000039"><td class="memSeparator" colspan="2">&#160;</td></tr>
  82. </table><table class="memberdecls">
  83. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
  84. Protected Member Functions</h2></td></tr>
  85. <tr><td colspan="2"><div class="groupHeader">Hidden constructors</div></td></tr>
  86. <tr class="memitem:afcfe1c303cfd7d4255ce73db6e8bda41"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMXPathEvaluator.html#afcfe1c303cfd7d4255ce73db6e8bda41">DOMXPathEvaluator</a> ()</td></tr>
  87. <tr class="separator:afcfe1c303cfd7d4255ce73db6e8bda41"><td class="memSeparator" colspan="2">&#160;</td></tr>
  88. </table>
  89. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  90. <div class="textblock"><p>The evaluation of XPath expressions is provided by <code><a class="el" href="classDOMXPathEvaluator.html" title="The evaluation of XPath expressions is provided by DOMXPathEvaluator. ">DOMXPathEvaluator</a></code>. </p>
  91. <p>In a DOM implementation which supports the XPath feature, the <code><a class="el" href="classDOMXPathEvaluator.html" title="The evaluation of XPath expressions is provided by DOMXPathEvaluator. ">DOMXPathEvaluator</a></code> interface will be implemented on the same object which implements the Document interface permitting it to be obtained by casting or by using the DOM Level 3 getFeature method. In this case the implementation obtained from the Document supports the XPath DOM module and is compatible with the XPath 1.0 specification. Evaluation of expressions with specialized extension functions or variables may not work in all implementations and is, therefore, not portable. XPathEvaluator implementations may be available from other sources that could provide specific support for specialized extension functions or variables as would be defined by other specifications. </p><dl class="section since"><dt>Since</dt><dd>DOM Level 3 </dd></dl>
  92. </div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
  93. <a class="anchor" id="afcfe1c303cfd7d4255ce73db6e8bda41"></a>
  94. <div class="memitem">
  95. <div class="memproto">
  96. <table class="mlabels">
  97. <tr>
  98. <td class="mlabels-left">
  99. <table class="memname">
  100. <tr>
  101. <td class="memname">DOMXPathEvaluator::DOMXPathEvaluator </td>
  102. <td>(</td>
  103. <td class="paramname"></td><td>)</td>
  104. <td></td>
  105. </tr>
  106. </table>
  107. </td>
  108. <td class="mlabels-right">
  109. <span class="mlabels"><span class="mlabel">protected</span></span> </td>
  110. </tr>
  111. </table>
  112. </div><div class="memdoc">
  113. </div>
  114. </div>
  115. <a class="anchor" id="a435cb760408195ecc5d3fd1e0823c103"></a>
  116. <div class="memitem">
  117. <div class="memproto">
  118. <table class="mlabels">
  119. <tr>
  120. <td class="mlabels-left">
  121. <table class="memname">
  122. <tr>
  123. <td class="memname">virtual DOMXPathEvaluator::~DOMXPathEvaluator </td>
  124. <td>(</td>
  125. <td class="paramname"></td><td>)</td>
  126. <td></td>
  127. </tr>
  128. </table>
  129. </td>
  130. <td class="mlabels-right">
  131. <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
  132. </tr>
  133. </table>
  134. </div><div class="memdoc">
  135. <p>Destructor. </p>
  136. </div>
  137. </div>
  138. <h2 class="groupheader">Member Function Documentation</h2>
  139. <a class="anchor" id="a6fe8c61f1152773a124962b8ef68bb33"></a>
  140. <div class="memitem">
  141. <div class="memproto">
  142. <table class="mlabels">
  143. <tr>
  144. <td class="mlabels-left">
  145. <table class="memname">
  146. <tr>
  147. <td class="memname">virtual <a class="el" href="classDOMXPathExpression.html">DOMXPathExpression</a>* DOMXPathEvaluator::createExpression </td>
  148. <td>(</td>
  149. <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *&#160;</td>
  150. <td class="paramname"><em>expression</em>, </td>
  151. </tr>
  152. <tr>
  153. <td class="paramkey"></td>
  154. <td></td>
  155. <td class="paramtype">const <a class="el" href="classDOMXPathNSResolver.html">DOMXPathNSResolver</a> *&#160;</td>
  156. <td class="paramname"><em>resolver</em>&#160;</td>
  157. </tr>
  158. <tr>
  159. <td></td>
  160. <td>)</td>
  161. <td></td><td></td>
  162. </tr>
  163. </table>
  164. </td>
  165. <td class="mlabels-right">
  166. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  167. </tr>
  168. </table>
  169. </div><div class="memdoc">
  170. <p>Creates a parsed XPath expression with resolved namespaces. </p>
  171. <p>This is useful when an expression will be reused in an application since it makes it possible to compile the expression string into a more efficient internal form and preresolve all namespace prefixes which occur within the expression. </p><dl class="params"><dt>Parameters</dt><dd>
  172. <table class="params">
  173. <tr><td class="paramname">expression</td><td>of type XMLCh - The XPath expression string to be parsed. </td></tr>
  174. <tr><td class="paramname">resolver</td><td>of type <code>XPathNSResolver</code> - The resolver permits translation of all prefixes, including the xml namespace prefix, within the XPath expression into appropriate namespace URIs. If this is specified as null, any namespace prefix within the expression will result in <code><a class="el" href="classDOMException.html">DOMException</a></code> being thrown with the code NAMESPACE_ERR. </td></tr>
  175. </table>
  176. </dd>
  177. </dl>
  178. <dl class="section return"><dt>Returns</dt><dd><code><a class="el" href="classDOMXPathExpression.html" title="The DOMXPathExpression interface represents a parsed and resolved XPath expression. ">DOMXPathExpression</a></code> The compiled form of the XPath expression. </dd></dl>
  179. <dl class="exception"><dt>Exceptions</dt><dd>
  180. <table class="exception">
  181. <tr><td class="paramname">&lt;code&gt;DOMXPathException&lt;/code&gt;</td><td>INVALID_EXPRESSION_ERR: Raised if the expression is not legal according to the rules of the <code><a class="el" href="classDOMXPathEvaluator.html" title="The evaluation of XPath expressions is provided by DOMXPathEvaluator. ">DOMXPathEvaluator</a></code>. </td></tr>
  182. <tr><td class="paramname"><a class="el" href="classDOMException.html">DOMException</a></td><td>NAMESPACE_ERR: Raised if the expression contains namespace prefixes which cannot be resolved by the specified <code>XPathNSResolver</code>. </td></tr>
  183. </table>
  184. </dd>
  185. </dl>
  186. <dl class="section since"><dt>Since</dt><dd>DOM Level 3 </dd></dl>
  187. </div>
  188. </div>
  189. <a class="anchor" id="a71349e354635ca4aee3ff0490c27efda"></a>
  190. <div class="memitem">
  191. <div class="memproto">
  192. <table class="mlabels">
  193. <tr>
  194. <td class="mlabels-left">
  195. <table class="memname">
  196. <tr>
  197. <td class="memname">virtual <a class="el" href="classDOMXPathNSResolver.html">DOMXPathNSResolver</a>* DOMXPathEvaluator::createNSResolver </td>
  198. <td>(</td>
  199. <td class="paramtype">const <a class="el" href="classDOMNode.html">DOMNode</a> *&#160;</td>
  200. <td class="paramname"><em>nodeResolver</em></td><td>)</td>
  201. <td></td>
  202. </tr>
  203. </table>
  204. </td>
  205. <td class="mlabels-right">
  206. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  207. </tr>
  208. </table>
  209. </div><div class="memdoc">
  210. <p>Adapts any DOM node to resolve namespaces so that an XPath expression can be easily evaluated relative to the context of the node where it appeared within the document. </p>
  211. <p>This adapter works like the DOM Level 3 method lookupNamespaceURI on nodes in resolving the namespaceURI from a given prefix using the current information available in the node's hierarchy at the time lookupNamespaceURI is called. also correctly resolving the implicit xml prefix. </p><dl class="params"><dt>Parameters</dt><dd>
  212. <table class="params">
  213. <tr><td class="paramname">nodeResolver</td><td>of type <code><a class="el" href="classDOMNode.html" title="The DOMNode interface is the primary datatype for the entire Document Object Model. ">DOMNode</a></code> The node to be used as a context for namespace resolution. If this parameter is null, an unpopulated <code><a class="el" href="classDOMXPathNSResolver.html" title="The DOMXPathNSResolver interface permit prefix strings in the expression to be properly bound to name...">DOMXPathNSResolver</a></code> is returned, which can be populated using the Xerces-C extension <code><a class="el" href="classDOMXPathNSResolver.html#a74cf8b941548eb8362b8915056337a01" title="Non-standard extension. ">DOMXPathNSResolver::addNamespaceBinding()</a></code>. </td></tr>
  214. </table>
  215. </dd>
  216. </dl>
  217. <dl class="section return"><dt>Returns</dt><dd><code><a class="el" href="classDOMXPathNSResolver.html" title="The DOMXPathNSResolver interface permit prefix strings in the expression to be properly bound to name...">DOMXPathNSResolver</a></code> The object which resolves namespaces with respect to the definitions in scope for the specified node. </dd></dl>
  218. </div>
  219. </div>
  220. <a class="anchor" id="a8785175b7f816234978a931a60000039"></a>
  221. <div class="memitem">
  222. <div class="memproto">
  223. <table class="mlabels">
  224. <tr>
  225. <td class="mlabels-left">
  226. <table class="memname">
  227. <tr>
  228. <td class="memname">virtual <a class="el" href="classDOMXPathResult.html">DOMXPathResult</a>* DOMXPathEvaluator::evaluate </td>
  229. <td>(</td>
  230. <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *&#160;</td>
  231. <td class="paramname"><em>expression</em>, </td>
  232. </tr>
  233. <tr>
  234. <td class="paramkey"></td>
  235. <td></td>
  236. <td class="paramtype">const <a class="el" href="classDOMNode.html">DOMNode</a> *&#160;</td>
  237. <td class="paramname"><em>contextNode</em>, </td>
  238. </tr>
  239. <tr>
  240. <td class="paramkey"></td>
  241. <td></td>
  242. <td class="paramtype">const <a class="el" href="classDOMXPathNSResolver.html">DOMXPathNSResolver</a> *&#160;</td>
  243. <td class="paramname"><em>resolver</em>, </td>
  244. </tr>
  245. <tr>
  246. <td class="paramkey"></td>
  247. <td></td>
  248. <td class="paramtype"><a class="el" href="classDOMXPathResult.html#ab718aec450c5438e0cc3a6920044a0c1">DOMXPathResult::ResultType</a>&#160;</td>
  249. <td class="paramname"><em>type</em>, </td>
  250. </tr>
  251. <tr>
  252. <td class="paramkey"></td>
  253. <td></td>
  254. <td class="paramtype"><a class="el" href="classDOMXPathResult.html">DOMXPathResult</a> *&#160;</td>
  255. <td class="paramname"><em>result</em>&#160;</td>
  256. </tr>
  257. <tr>
  258. <td></td>
  259. <td>)</td>
  260. <td></td><td></td>
  261. </tr>
  262. </table>
  263. </td>
  264. <td class="mlabels-right">
  265. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  266. </tr>
  267. </table>
  268. </div><div class="memdoc">
  269. <p>Evaluates an XPath expression string and returns a result of the specified type if possible. </p>
  270. <dl class="params"><dt>Parameters</dt><dd>
  271. <table class="params">
  272. <tr><td class="paramname">expression</td><td>of type XMLCh The XPath expression string to be parsed and evaluated. </td></tr>
  273. <tr><td class="paramname">contextNode</td><td>of type <code><a class="el" href="classDOMNode.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 <code><a class="el" href="classDOMXPathEvaluator.html" title="The evaluation of XPath expressions is provided by DOMXPathEvaluator. ">DOMXPathEvaluator</a></code> was obtained by casting the <code><a class="el" href="classDOMDocument.html" title="The DOMDocument interface represents the entire XML document. ">DOMDocument</a></code> then this must be owned by the same document and must be a <code><a class="el" href="classDOMDocument.html" title="The DOMDocument interface represents the entire XML document. ">DOMDocument</a></code>, <code><a class="el" href="classDOMElement.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><a class="el" href="classDOMText.html" title="The DOMText interface inherits from DOMCharacterData and represents the textual content (termed chara...">DOMText</a></code>, <code><a class="el" href="classDOMCDATASection.html" title="CDATA sections are used to escape blocks of text containing characters that would otherwise be regard...">DOMCDATASection</a></code>, <code><a class="el" href="classDOMComment.html" title="This interface inherits from CharacterData and represents the content of a comment, i.e., all the characters between the starting &#39; <!–&#39; and ending &#39;–>&#39;. ">DOMComment</a></code>, <code><a class="el" href="classDOMProcessingInstruction.html" title="The DOMProcessingInstruction interface represents a &quot;processing instruction&quot;, used in XML as a way to...">DOMProcessingInstruction</a></code>, or <code>XPathNamespace</code> node. If the context node is a <code><a class="el" href="classDOMText.html" title="The DOMText interface inherits from DOMCharacterData and represents the textual content (termed chara...">DOMText</a></code> or a <code><a class="el" href="classDOMCDATASection.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>
  274. <tr><td class="paramname">resolver</td><td>of type <code>XPathNSResolver</code> The resolver permits translation of all prefixes, including the xml namespace prefix, within the XPath expression into appropriate namespace URIs. If this is specified as null, any namespace prefix within the expression will result in <code><a class="el" href="classDOMException.html">DOMException</a></code> being thrown with the code NAMESPACE_ERR. </td></tr>
  275. <tr><td class="paramname">type</td><td>- If a specific type is specified, then the result will be returned as the corresponding type. This must be one of the codes of the <code><a class="el" href="classDOMXPathResult.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> interface. </td></tr>
  276. <tr><td class="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 null or the implementation does not reuse the specified result, a new result object will be constructed and returned. </td></tr>
  277. </table>
  278. </dd>
  279. </dl>
  280. <dl class="section return"><dt>Returns</dt><dd>DOMXPathResult* The result of the evaluation of the XPath expression. </dd></dl>
  281. <dl class="exception"><dt>Exceptions</dt><dd>
  282. <table class="exception">
  283. <tr><td class="paramname">&lt;code&gt;DOMXPathException&lt;/code&gt;</td><td>INVALID_EXPRESSION_ERR: Raised if the expression is not legal according to the rules of the <code><a class="el" href="classDOMXPathEvaluator.html" title="The evaluation of XPath expressions is provided by DOMXPathEvaluator. ">DOMXPathEvaluator</a></code> TYPE_ERR: Raised if the result cannot be converted to return the specified type. </td></tr>
  284. <tr><td class="paramname">&lt;code&gt;DOMException&lt;/code&gt;</td><td>NAMESPACE_ERR: Raised if the expression contains namespace prefixes which cannot be resolved by the specified <code>XPathNSResolver</code>. WRONG_DOCUMENT_ERR: The <a class="el" href="classDOMNode.html" title="The DOMNode interface is the primary datatype for the entire Document Object Model. ">DOMNode</a> is from a document that is not supported by this <code><a class="el" href="classDOMXPathEvaluator.html" title="The evaluation of XPath expressions is provided by DOMXPathEvaluator. ">DOMXPathEvaluator</a></code>. NOT_SUPPORTED_ERR: The <a class="el" href="classDOMNode.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><a class="el" href="classDOMXPathEvaluator.html" title="The evaluation of XPath expressions is provided by DOMXPathEvaluator. ">DOMXPathEvaluator</a></code>. </td></tr>
  285. </table>
  286. </dd>
  287. </dl>
  288. </div>
  289. </div>
  290. <hr/>The documentation for this class was generated from the following file:<ul>
  291. <li><a class="el" href="DOMXPathEvaluator_8hpp_source.html">DOMXPathEvaluator.hpp</a></li>
  292. </ul>
  293. </div><!-- contents -->
  294. <!-- start footer part -->
  295. <hr class="footer"/><address class="footer"><small>
  296. Generated on Wed Mar 18 2015 10:43:38 for Xerces-C++ by &#160;<a href="http://www.doxygen.org/index.html">
  297. <img class="footer" src="doxygen.png" alt="doxygen"/>
  298. </a> 1.8.9.1
  299. </small></address>
  300. </body>
  301. </html>