#include <XPathEvaluator.hpp>
Collaboration diagram for XPathEvaluator:
|
|
|
Compile an XPath expression into an object which can be used multiple times.
Call destroyXPath() when finished with the instance. Otherwise, the object will be destroyed when the XPathEvaluator instance goes out of scope.
xpathString | The XPath expression to evaluate |
prefixResolver | A prefix resolver instance to use for namespace prefix resolution. |
|
Compile an XPath expression into an object which can be used multiple times.
Call destroyXPath() when finished with the instance. Otherwise, the object will be destroyed when the XPathEvaluator instance goes out of scope.
xpathString | The XPath expression to evaluate |
domSupport | An instance of the corresponding DOMSupport-derived for the DOM implementation being used. |
namespaceNode | A node to use for namespace prefix resolution. |
|
Compile an XPath expression into an object which can be used multiple times.
Call destroyXPath() when finished with the instance. Otherwise, the object will be destroyed when the XPathEvaluator instance goes out of scope. Since no PrefixResolver is supplied, the XPath expression may not contain any namespace prefixes.
xpathString | The XPath expression to evaluate |
|
Destory a compiled XPath instance.
The instance must have been created using createXPath().
theXPath | The XPath instance to destroy |
|
Evaluate the supplied XPath, within the given context.
The result is returned as a generalized object. The object will be destroyed when the returned when the user's copy of the returned XObjectPtr goes out of scope, or when the XPathEvaluator goes out of scope or another expression is evaluated.
The user's XObjectPtr copy _must_ no longer be in scope when the XPathEvaluator instance goes out of scope, or another expression is evaluated.
domSupport | An instance of the corresponding DOMSupport-derived for the DOM implementation being used. |
contextNode | The source tree context node |
xpath | A reference to a compiled XPath expression. |
prefixResolver | A prefix resolver instance to use for namespace prefix resolution. |
|
Evaluate the supplied XPath, within the given context.
The result is returned as a generalized object. The object will be destroyed when the returned when the user's copy of the returned XObjectPtr goes out of scope, or when the XPathEvaluator goes out of scope or another expression is evaluated.
The user's XObjectPtr copy _must_ no longer be in scope when the XPathEvaluator instance goes out of scope, or another expression is evaluated.
domSupport | An instance of the corresponding DOMSupport-derived for the DOM implementation being used. |
contextNode | The source tree context node |
xpath | A reference to a compiled XPath expression. |
namespaceNode | A node to use for namespace prefix resolution. |
|
Evaluate the supplied XPath expression, within the given context.
The result is returned as a generalized object. The object will be destroyed when the returned when the user's copy of the returned XObjectPtr goes out of scope, or when the XPathEvaluator goes out of scope or another expression is evaluated.
The user's XObjectPtr copy _must_ no longer be in scope when the XPathEvaluator instance goes out of scope, or another expression is evaluated.
domSupport | An instance of the corresponding DOMSupport-derived for the DOM implementation being used. |
contextNode | The source tree context node |
xpathString | The XPath expression to evaluate |
prefixResolver | A prefix resolver instance to use for namespace prefix resolution. |
|
Evaluate the supplied XPath expression, within the given context.
The result is returned as a generalized object. The object will be destroyed when the returned when the user's copy of the returned XObjectPtr goes out of scope, or when the XPathEvaluator goes out of scope or another expression is evaluated.
The user's XObjectPtr copy _must_ no longer be in scope when the XPathEvaluator instance goes out of scope, or another expression is evaluated.
domSupport | An instance of the corresponding DOMSupport-derived for the DOM implementation being used. |
contextNode | The source tree context node |
xpathString | The XPath expression to evaluate |
namespaceNode | A node to use for namespace prefix resolution. |
|
|
Evaluate the supplied XPath, within the given context.
If the expression doesn't select a node, an empty list is returned.
domSupport | An instance of the corresponding DOMSupport-derived for the DOM implementation being used. |
contextNode | The source tree context node |
xpath | A reference to a compiled XPath expression. |
prefixResolver | A prefix resolver instance to use for namespace prefix resolution. |
|
Evaluate the supplied XPath, within the given context.
If the expression doesn't select a node, an empty list is returned.
domSupport | An instance of the corresponding DOMSupport-derived for the DOM implementation being used. |
contextNode | The source tree context node |
xpath | A reference to a compiled XPath expression. |
namespaceNode | A node to use for namespace prefix resolution. |
|
Evaluate the supplied XPath expression, within the given context.
If the expression doesn't select a node, an empty list is returned.
domSupport | An instance of the corresponding DOMSupport-derived for the DOM implementation being used. |
contextNode | The source tree context node |
xpathString | The XPath expression to evaluate |
prefixResolver | A prefix resolver instance to use for namespace prefix resolution. |
|
Evaluate the supplied XPath expression, within the given context.
If the expression doesn't select a node, an empty list is returned.
domSupport | An instance of the corresponding DOMSupport-derived for the DOM implementation being used. |
contextNode | The source tree context node |
xpathString | The XPath expression to evaluate |
namespaceNode | A node to use for namespace prefix resolution. |
|
Evaluate the supplied XPath, within the given context.
If the expression doesn't select a node, 0 is returned. If it selects more than one node, only the first is returned.
domSupport | An instance of the corresponding DOMSupport-derived for the DOM implementation being used. |
contextNode | The source tree context node |
xpath | A reference to a compiled XPath expression. |
prefixResolver | A prefix resolver instance to use for namespace prefix resolution. |
|
Evaluate the supplied XPath, within the given context.
If the expression doesn't select a node, 0 is returned. If it selects more than one node, only the first is returned.
domSupport | An instance of the corresponding DOMSupport-derived for the DOM implementation being used. |
contextNode | The source tree context node |
xpath | A reference to a compiled XPath expression. |
namespaceNode | A node to use for namespace prefix resolution. |
|
Evaluate the supplied XPath expression, within the given context.
If the expression doesn't select a node, 0 is returned. If it selects more than one node, only the first is returned.
domSupport | An instance of the corresponding DOMSupport-derived for the DOM implementation being used. |
contextNode | The source tree context node |
xpathString | The XPath expression to evaluate |
prefixResolver | A prefix resolver instance to use for namespace prefix resolution. |
|
Evaluate the supplied XPath expression, within the given context.
If the expression doesn't select a node, 0 is returned. If it selects more than one node, only the first is returned.
domSupport | An instance of the corresponding DOMSupport-derived for the DOM implementation being used. |
contextNode | The source tree context node |
xpathString | The XPath expression to evaluate |
namespaceNode | A node to use for namespace prefix resolution. |
|
The documentation for this class was generated from the following file:
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
![]() |
Xalan-C++ XSLT Processor Version 1.4 |
|