<HTML><HEAD><TITLE>Xalan-C++ API Documentation</TITLE></HEAD> <BODY> <h2 align="center">Xalan-C++ API Documentation</h2> <h3 align="center">The Xalan C++ XSLT Processor Version 1.4</h3> </BODY> <!-- Generated by Doxygen 1.1.2 on Mon Sep 16 08:35:44 2002 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center> <hr><h1>XPath Class Reference</h1><code>#include <<a class="el" href="XPath.hpp-source.html">XPath.hpp</a>></code> <p> Collaboration diagram for XPath:<p><center><img src="class_xpath_coll_graph.gif" border="0" usemap="#XPath_impl_map"></center> <map name="XPath_impl_map"> <area href="class_xalandomstring.html" shape="rect" coords="35,37,144,16"> <area href="class_xpathexpression.html" shape="rect" coords="149,128,259,107"> <area href="class_locator.html" shape="rect" coords="299,128,349,107"> </map><p> <a href="class_xpath-members.html">List of all members.</a><h2>Public Types</h2> <ul> <li>typedef std::vector<<a class="el" href="class_xpath__targetdata.html">TargetData</a>> <a class="el" href="class_xpath.html#s0">TargetDataVectorType</a> <li>typedef <a class="el" href="class_xpathfunctiontable.html">XPathFunctionTable</a> <a class="el" href="class_xpath.html#s1">FunctionTableType</a> <li>enum <a class="el" href="class_xpath.html#s2">eMatchScore</a> { <br> <a class="el" href="class_xpath.html#a18">eMatchScoreNone</a>, <br> <a class="el" href="class_xpath.html#a19">eMatchScoreNodeTest</a>, <br> <a class="el" href="class_xpath.html#a20">eMatchScoreNSWild</a>, <br> <a class="el" href="class_xpath.html#a21">eMatchScoreQName</a>, <br> <a class="el" href="class_xpath.html#a22">eMatchScoreOther</a> <br> } </ul> <h2>Public Methods</h2> <ul> <li>explicit <a class="el" href="class_xpath.html#a0">XPath</a> (const <a class="el" href="class_locator.html">Locator</a>* theLocator = 0) <dl class="el"><dd><font size=-1><em>Construct an XPath.</em> <a href="#a0">More...</a><em></em></font></dl><li>virtual <a class="el" href="class_xpath.html#a1">~XPath</a> () <li>void <a class="el" href="class_xpath.html#a2">shrink</a> () <dl class="el"><dd><font size=-1><em>Shrink internal tables.</em></font></dl><li>const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> <a class="el" href="class_xpath.html#a3">execute</a> ( <a class="el" href="class_xalannode.html">XalanNode</a>* context, const <a class="el" href="class_prefixresolver.html">PrefixResolver</a>& prefixResolver, <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext) const <dl class="el"><dd><font size=-1><em>Execute the XPath from the provided context.</em> <a href="#a3">More...</a><em></em></font></dl><li>const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> <a class="el" href="class_xpath.html#a4">execute</a> ( <a class="el" href="class_xalannode.html">XalanNode</a>* context, const <a class="el" href="class_prefixresolver.html">PrefixResolver</a>& prefixResolver, const <a class="el" href="class_nodereflistbase.html">NodeRefListBase</a>& contextNodeList, <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext) const <dl class="el"><dd><font size=-1><em>Execute the XPath from the provided context.</em> <a href="#a4">More...</a><em></em></font></dl><li>const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> <a class="el" href="class_xpath.html#a5">execute</a> (<a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext) const <dl class="el"><dd><font size=-1><em>Execute the XPath from the provided context.</em> <a href="#a5">More...</a><em></em></font></dl><li>const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> <a class="el" href="class_xpath.html#a6">executeMore</a> ( <a class="el" href="class_xalannode.html">XalanNode</a>* context, int opPos, <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext) const <dl class="el"><dd><font size=-1><em>Execute the XPath from the provided context.</em> <a href="#a6">More...</a><em></em></font></dl><li>const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> <a class="el" href="class_xpath.html#a7">locationPath</a> ( <a class="el" href="class_xalannode.html">XalanNode</a>* context, int opPos, <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext) const <dl class="el"><dd><font size=-1><em>Execute a location path.</em> <a href="#a7">More...</a><em></em></font></dl><li><a class="el" href="class_xpathexpression.html">XPathExpression</a>& <a class="el" href="class_xpath.html#a8">getExpression</a> () <dl class="el"><dd><font size=-1><em>Retrieve a reference to the current expression.</em> <a href="#a8">More...</a><em></em></font></dl><li>const <a class="el" href="class_xpathexpression.html">XPathExpression</a>& <a class="el" href="class_xpath.html#a9">getExpression</a> () const <dl class="el"><dd><font size=-1><em>Retrieve a reference to the current expression.</em> <a href="#a9">More...</a><em></em></font></dl><li><a class="el" href="class_xpath.html#s2">eMatchScore</a> <a class="el" href="class_xpath.html#a10">getMatchScore</a> ( <a class="el" href="class_xalannode.html">XalanNode</a>* node, <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext) const <dl class="el"><dd><font size=-1><em>Get the match score for the specified node.</em> <a href="#a10">More...</a><em></em></font></dl><li><a class="el" href="class_xpath.html#s2">eMatchScore</a> <a class="el" href="class_xpath.html#a11">getMatchScore</a> ( <a class="el" href="class_xalannode.html">XalanNode</a>* node, const <a class="el" href="class_prefixresolver.html">PrefixResolver</a>& resolver, <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext) const <dl class="el"><dd><font size=-1><em>Get the match score for the specified node.</em> <a href="#a11">More...</a><em></em></font></dl><li>const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> <a class="el" href="class_xpath.html#a12">predicate</a> ( <a class="el" href="class_xalannode.html">XalanNode</a>* context, int opPos, <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext) const <dl class="el"><dd><font size=-1><em>Evaluate a predicate.</em> <a href="#a12">More...</a><em></em></font></dl><li>void <a class="el" href="class_xpath.html#a13">getTargetData</a> (<a class="el" href="class_xpath.html#s0">TargetDataVectorType</a>& targetData) const <dl class="el"><dd><font size=-1><em>Add the data for the target of match pattern to a vector.</em> <a href="#a13">More...</a><em></em></font></dl><li>bool <a class="el" href="class_xpath.html#a14">getInStylesheet</a> () const <li>void <a class="el" href="class_xpath.html#a15">setInStylesheet</a> (bool fValue) <li>const <a class="el" href="class_locator.html">Locator</a>* <a class="el" href="class_xpath.html#a16">getLocator</a> () const <li>void <a class="el" href="class_xpath.html#a17">setLocator</a> (const <a class="el" href="class_locator.html">Locator</a>* theLocator) </ul> <h2>Static Public Methods</h2> <ul> <li>void <a class="el" href="class_xpath.html#d0">initialize</a> () <dl class="el"><dd><font size=-1><em>Perform static initialization.</em> <a href="#d0">More...</a><em></em></font></dl><li>void <a class="el" href="class_xpath.html#d1">terminate</a> () <dl class="el"><dd><font size=-1><em>Perform static shut down.</em> <a href="#d1">More...</a><em></em></font></dl><li>double <a class="el" href="class_xpath.html#d2">getMatchScoreValue</a> (<a class="el" href="class_xpath.html#s2">eMatchScore</a> score) <li>void <a class="el" href="class_xpath.html#d3">installFunction</a> ( const <a class="el" href="class_xalandomstring.html">XalanDOMString</a>& funcName, const <a class="el" href="class_function.html">Function</a>& func) <dl class="el"><dd><font size=-1><em>Install a built-in function.</em> <a href="#d3">More...</a><em></em></font></dl><li>bool <a class="el" href="class_xpath.html#d4">uninstallFunction</a> (const <a class="el" href="class_xalandomstring.html">XalanDOMString</a>& funcName) <dl class="el"><dd><font size=-1><em>Remove a named function from the function table.</em> <a href="#d4">More...</a><em></em></font></dl><li>bool <a class="el" href="class_xpath.html#d5">isInstalledFunction</a> (const <a class="el" href="class_xalandomstring.html">XalanDOMString</a>& theFunctionName) <dl class="el"><dd><font size=-1><em>Whether the named function is installed in the function table.</em> <a href="#d5">More...</a><em></em></font></dl><li>const <a class="el" href="class_xpath.html#s1">FunctionTableType</a>& <a class="el" href="class_xpath.html#d6">getFunctionTable</a> () <dl class="el"><dd><font size=-1><em>Retrieve the table of installed functions.</em> <a href="#d6">More...</a><em></em></font></dl><li>template<class OutputIteratorType> void <a class="el" href="class_xpath.html#d7">getInstalledFunctionNames</a> (OutputIteratorType theIterator) <dl class="el"><dd><font size=-1><em>Add the names for the installed functions to a vector strings.</em> <a href="#d7">More...</a><em></em></font></dl><li>void <a class="el" href="class_xpath.html#d8">destroyTable</a> () </ul> <h2>Static Public Attributes</h2> <ul> <li>const <a class="el" href="XalanDOMString.hpp.html#a16">XalanDOMChar</a> <a class="el" href="class_xpath.html#p0">PSEUDONAME_ANY</a> [] <li>const <a class="el" href="XalanDOMString.hpp.html#a16">XalanDOMChar</a> <a class="el" href="class_xpath.html#p1">PSEUDONAME_ROOT</a> [] <li>const <a class="el" href="XalanDOMString.hpp.html#a16">XalanDOMChar</a> <a class="el" href="class_xpath.html#p2">PSEUDONAME_TEXT</a> [] <li>const <a class="el" href="XalanDOMString.hpp.html#a16">XalanDOMChar</a> <a class="el" href="class_xpath.html#p3">PSEUDONAME_COMMENT</a> [] <li>const <a class="el" href="XalanDOMString.hpp.html#a16">XalanDOMChar</a> <a class="el" href="class_xpath.html#p4">PSEUDONAME_PI</a> [] <li>const <a class="el" href="XalanDOMString.hpp.html#a16">XalanDOMChar</a> <a class="el" href="class_xpath.html#p5">PSEUDONAME_OTHER</a> [] <li>const <a class="el" href="XalanDOMString.hpp.html#a16">XalanDOMChar</a> <a class="el" href="class_xpath.html#p6">PSEUDONAME_NODE</a> [] </ul> <h2>Protected Methods</h2> <ul> <li><a class="el" href="class_xlocator.html">XLocator</a>* <a class="el" href="class_xpath.html#b0">createXLocatorHandler</a> () const <dl class="el"><dd><font size=-1><em>createXLocatorHandler.</em></font></dl><li>const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> <a class="el" href="class_xpath.html#b1">matchPattern</a> ( <a class="el" href="class_xalannode.html">XalanNode</a>* context, int opPos, <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext) const <dl class="el"><dd><font size=-1><em>Computes the union of its operands which must be node-sets.</em> <a href="#b1">More...</a><em></em></font></dl><li>void <a class="el" href="class_xpath.html#b2">doGetMatchScore</a> ( <a class="el" href="class_xalannode.html">XalanNode</a>* context, <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext, <a class="el" href="class_xpath.html#s2">eMatchScore</a>& score) const <dl class="el"><dd><font size=-1><em>Helper function to get match score.</em> <a href="#b2">More...</a><em></em></font></dl><li>const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> <a class="el" href="class_xpath.html#b3">Or</a> ( <a class="el" href="class_xalannode.html">XalanNode</a>* context, int opPos, <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext) const <dl class="el"><dd><font size=-1><em>OR two expressions and return the boolean result.</em> <a href="#b3">More...</a><em></em></font></dl><li>const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> <a class="el" href="class_xpath.html#b4">And</a> ( <a class="el" href="class_xalannode.html">XalanNode</a>* context, int opPos, <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext) const <dl class="el"><dd><font size=-1><em>OR two expressions and return the boolean result.</em> <a href="#b4">More...</a><em></em></font></dl><li>const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> <a class="el" href="class_xpath.html#b5">notequals</a> ( <a class="el" href="class_xalannode.html">XalanNode</a>* context, int opPos, <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext) const <dl class="el"><dd><font size=-1><em>Tell if two expressions are functionally not equal.</em> <a href="#b5">More...</a><em></em></font></dl><li>const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> <a class="el" href="class_xpath.html#b6">equals</a> ( <a class="el" href="class_xalannode.html">XalanNode</a>* context, int opPos, <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext) const <dl class="el"><dd><font size=-1><em>Tell if two expressions are functionally equal.</em> <a href="#b6">More...</a><em></em></font></dl><li>const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> <a class="el" href="class_xpath.html#b7">lte</a> ( <a class="el" href="class_xalannode.html">XalanNode</a>* context, int opPos, <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext) const <dl class="el"><dd><font size=-1><em>Tell if one argument is less than or equal to the other argument.</em> <a href="#b7">More...</a><em></em></font></dl><li>const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> <a class="el" href="class_xpath.html#b8">lt</a> ( <a class="el" href="class_xalannode.html">XalanNode</a>* context, int opPos, <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext) const <dl class="el"><dd><font size=-1><em>Tell if one argument is less than the other argument.</em> <a href="#b8">More...</a><em></em></font></dl><li>const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> <a class="el" href="class_xpath.html#b9">gte</a> ( <a class="el" href="class_xalannode.html">XalanNode</a>* context, int opPos, <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext) const <dl class="el"><dd><font size=-1><em>Tell if one argument is greater than or equal to the other argument.</em> <a href="#b9">More...</a><em></em></font></dl><li>const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> <a class="el" href="class_xpath.html#b10">gt</a> ( <a class="el" href="class_xalannode.html">XalanNode</a>* context, int opPos, <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext) const <dl class="el"><dd><font size=-1><em>Tell if one argument is greater than the other argument.</em> <a href="#b10">More...</a><em></em></font></dl><li>const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> <a class="el" href="class_xpath.html#b11">plus</a> ( <a class="el" href="class_xalannode.html">XalanNode</a>* context, int opPos, <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext) const <dl class="el"><dd><font size=-1><em>Give the sum of two arguments.</em> <a href="#b11">More...</a><em></em></font></dl><li>const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> <a class="el" href="class_xpath.html#b12">minus</a> ( <a class="el" href="class_xalannode.html">XalanNode</a>* context, int opPos, <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext) const <dl class="el"><dd><font size=-1><em>Give the difference of two arguments.</em> <a href="#b12">More...</a><em></em></font></dl><li>const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> <a class="el" href="class_xpath.html#b13">mult</a> ( <a class="el" href="class_xalannode.html">XalanNode</a>* context, int opPos, <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext) const <dl class="el"><dd><font size=-1><em>Multiply two arguments.</em> <a href="#b13">More...</a><em></em></font></dl><li>const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> <a class="el" href="class_xpath.html#b14">div</a> ( <a class="el" href="class_xalannode.html">XalanNode</a>* context, int opPos, <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext) const <dl class="el"><dd><font size=-1><em>Divide a number.</em> <a href="#b14">More...</a><em></em></font></dl><li>const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> <a class="el" href="class_xpath.html#b15">mod</a> ( <a class="el" href="class_xalannode.html">XalanNode</a>* context, int opPos, <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext) const <dl class="el"><dd><font size=-1><em>Return the remainder from a truncating division.</em> <a href="#b15">More...</a><em></em></font></dl><li>const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> <a class="el" href="class_xpath.html#b16">neg</a> ( <a class="el" href="class_xalannode.html">XalanNode</a>* context, int opPos, <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext) const <dl class="el"><dd><font size=-1><em>Return the negation of a number.</em> <a href="#b16">More...</a><em></em></font></dl><li>const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> <a class="el" href="class_xpath.html#b17">string</a> ( <a class="el" href="class_xalannode.html">XalanNode</a>* context, int opPos, <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext) const <dl class="el"><dd><font size=-1><em>Cast an expression to a string.</em> <a href="#b17">More...</a><em></em></font></dl><li>const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> <a class="el" href="class_xpath.html#b18">boolean</a> ( <a class="el" href="class_xalannode.html">XalanNode</a>* context, int opPos, <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext) const <dl class="el"><dd><font size=-1><em>Cast an expression to a boolean.</em> <a href="#b18">More...</a><em></em></font></dl><li>const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> <a class="el" href="class_xpath.html#b19">Union</a> ( <a class="el" href="class_xalannode.html">XalanNode</a>* context, int opPos, <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext) const <dl class="el"><dd><font size=-1><em>Computes the union of its operands which must be node-sets.</em> <a href="#b19">More...</a><em></em></font></dl><li>const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> <a class="el" href="class_xpath.html#b20">literal</a> ( <a class="el" href="class_xalannode.html">XalanNode</a>* context, int opPos, <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext) const <dl class="el"><dd><font size=-1><em>Get a literal value.</em> <a href="#b20">More...</a><em></em></font></dl><li>const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> <a class="el" href="class_xpath.html#b21">variable</a> ( <a class="el" href="class_xalannode.html">XalanNode</a>* context, int opPos, <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext) const <dl class="el"><dd><font size=-1><em>Get the value of a variable.</em> <a href="#b21">More...</a><em></em></font></dl><li>const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> <a class="el" href="class_xpath.html#b22">group</a> ( <a class="el" href="class_xalannode.html">XalanNode</a>* context, int opPos, <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext) const <dl class="el"><dd><font size=-1><em>Execute an expression as a group.</em> <a href="#b22">More...</a><em></em></font></dl><li>const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> <a class="el" href="class_xpath.html#b23">numberlit</a> ( <a class="el" href="class_xalannode.html">XalanNode</a>* context, int opPos, <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext) const <dl class="el"><dd><font size=-1><em>Get a literal value.</em> <a href="#b23">More...</a><em></em></font></dl><li>const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> <a class="el" href="class_xpath.html#b24">arg</a> ( <a class="el" href="class_xalannode.html">XalanNode</a>* context, int opPos, <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext) const <dl class="el"><dd><font size=-1><em>Execute a function argument.</em> <a href="#b24">More...</a><em></em></font></dl><li>const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> <a class="el" href="class_xpath.html#b25">locationPathPattern</a> ( <a class="el" href="class_xalannode.html">XalanNode</a>* context, int opPos, <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext) const <dl class="el"><dd><font size=-1><em>Execute a location path.</em> <a href="#b25">More...</a><em></em></font></dl><li>const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> <a class="el" href="class_xpath.html#b26">runExtFunction</a> ( <a class="el" href="class_xalannode.html">XalanNode</a>* context, int opPos, <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext) const <dl class="el"><dd><font size=-1><em>Setup for and run an extension function.</em></font></dl><li>const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> <a class="el" href="class_xpath.html#b27">extfunction</a> ( <a class="el" href="class_xalannode.html">XalanNode</a>* context, int , const <a class="el" href="class_xalandomstring.html">XalanDOMString</a>& theNamespace, const <a class="el" href="class_xalandomstring.html">XalanDOMString</a>& functionName, const <a class="el" href="class_function.html#s0">Function::XObjectArgVectorType</a>& argVec, <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext) const <dl class="el"><dd><font size=-1><em>Handle an extension function.</em></font></dl><li>const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> <a class="el" href="class_xpath.html#b28">runFunction</a> ( <a class="el" href="class_xalannode.html">XalanNode</a>* context, int opPos, <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext) const <dl class="el"><dd><font size=-1><em>Setup for and run a function.</em></font></dl><li>const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> <a class="el" href="class_xpath.html#b29">function</a> ( <a class="el" href="class_xalannode.html">XalanNode</a>* context, int funcID, const <a class="el" href="class_function.html#s0">Function::XObjectArgVectorType</a>& argVec, <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext) const <dl class="el"><dd><font size=-1><em>Handle a built-in function.</em></font></dl><li>double <a class="el" href="class_xpath.html#b30">getNumericOperand</a> ( <a class="el" href="class_xalannode.html">XalanNode</a>* context, int opPos, <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext) const <li>void <a class="el" href="class_xpath.html#b31">step</a> ( <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext, <a class="el" href="class_xalannode.html">XalanNode</a>* context, int opPos, <a class="el" href="class_mutablenodereflist.html">MutableNodeRefList</a>& queryResults) const <li><a class="el" href="class_xalannode.html">XalanNode</a>* <a class="el" href="class_xpath.html#b32">stepPattern</a> ( <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext, <a class="el" href="class_xalannode.html">XalanNode</a>* context, int opPos, <a class="el" href="class_xpath.html#s2">eMatchScore</a>& scoreHolder) const <dl class="el"><dd><font size=-1><em>Execute a step in a location path.</em> <a href="#b32">More...</a><em></em></font></dl><li>int <a class="el" href="class_xpath.html#b33">findNodeSet</a> ( <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext, <a class="el" href="class_xalannode.html">XalanNode</a>* context, int opPos, int stepType, <a class="el" href="class_mutablenodereflist.html">MutableNodeRefList</a>& subQueryResults) const <li>int <a class="el" href="class_xpath.html#b34">findRoot</a> ( <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext, <a class="el" href="class_xalannode.html">XalanNode</a>* context, int opPos, int stepType, <a class="el" href="class_mutablenodereflist.html">MutableNodeRefList</a>& subQueryResults) const <li>int <a class="el" href="class_xpath.html#b35">findParent</a> ( <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext, <a class="el" href="class_xalannode.html">XalanNode</a>* context, int opPos, int stepType, <a class="el" href="class_mutablenodereflist.html">MutableNodeRefList</a>& subQueryResults) const <li>int <a class="el" href="class_xpath.html#b36">findSelf</a> ( <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext, <a class="el" href="class_xalannode.html">XalanNode</a>* context, int opPos, int stepType, <a class="el" href="class_mutablenodereflist.html">MutableNodeRefList</a>& subQueryResults) const <li>int <a class="el" href="class_xpath.html#b37">findAncestors</a> ( <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext, <a class="el" href="class_xalannode.html">XalanNode</a>* context, int opPos, int stepType, <a class="el" href="class_mutablenodereflist.html">MutableNodeRefList</a>& subQueryResults) const <li>int <a class="el" href="class_xpath.html#b38">findAncestorsOrSelf</a> ( <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext, <a class="el" href="class_xalannode.html">XalanNode</a>* context, int opPos, int stepType, <a class="el" href="class_mutablenodereflist.html">MutableNodeRefList</a>& subQueryResults) const <li>int <a class="el" href="class_xpath.html#b39">findAttributes</a> ( <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext, <a class="el" href="class_xalannode.html">XalanNode</a>* context, int opPos, int stepType, <a class="el" href="class_mutablenodereflist.html">MutableNodeRefList</a>& subQueryResults) const <li>int <a class="el" href="class_xpath.html#b40">findChildren</a> ( <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext, <a class="el" href="class_xalannode.html">XalanNode</a>* context, int opPos, int stepType, <a class="el" href="class_mutablenodereflist.html">MutableNodeRefList</a>& subQueryResults) const <li>int <a class="el" href="class_xpath.html#b41">findDescendants</a> ( <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext, <a class="el" href="class_xalannode.html">XalanNode</a>* context, int opPos, int stepType, <a class="el" href="class_mutablenodereflist.html">MutableNodeRefList</a>& subQueryResults) const <li>int <a class="el" href="class_xpath.html#b42">findFollowing</a> ( <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext, <a class="el" href="class_xalannode.html">XalanNode</a>* context, int opPos, int stepType, <a class="el" href="class_mutablenodereflist.html">MutableNodeRefList</a>& subQueryResults) const <li>int <a class="el" href="class_xpath.html#b43">findFollowingSiblings</a> ( <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext, <a class="el" href="class_xalannode.html">XalanNode</a>* context, int opPos, int stepType, <a class="el" href="class_mutablenodereflist.html">MutableNodeRefList</a>& subQueryResults) const <li>int <a class="el" href="class_xpath.html#b44">findPreceeding</a> ( <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext, <a class="el" href="class_xalannode.html">XalanNode</a>* context, int opPos, int stepType, <a class="el" href="class_mutablenodereflist.html">MutableNodeRefList</a>& subQueryResults) const <li>int <a class="el" href="class_xpath.html#b45">findPreceedingSiblings</a> ( <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext, <a class="el" href="class_xalannode.html">XalanNode</a>* context, int opPos, int stepType, <a class="el" href="class_mutablenodereflist.html">MutableNodeRefList</a>& subQueryResults) const <li>int <a class="el" href="class_xpath.html#b46">findNamespace</a> ( <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext, <a class="el" href="class_xalannode.html">XalanNode</a>* context, int opPos, int stepType, <a class="el" href="class_mutablenodereflist.html">MutableNodeRefList</a>& subQueryResults) const <li>int <a class="el" href="class_xpath.html#b47">findNodesOnUnknownAxis</a> ( <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext, <a class="el" href="class_xalannode.html">XalanNode</a>* context, int opPos, int stepType, <a class="el" href="class_mutablenodereflist.html">MutableNodeRefList</a>& subQueryResults) const <li><a class="el" href="class_xpath.html#s2">eMatchScore</a> <a class="el" href="class_xpath.html#b48">nodeTest</a> ( <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext, <a class="el" href="class_xalannode.html">XalanNode</a>* context, <a class="el" href="class_xalannode.html#s0">XalanNode::NodeType</a> nodeType, int opPos, int argLen, int stepType) const <li>void <a class="el" href="class_xpath.html#b49">predicates</a> ( <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext, <a class="el" href="class_xalannode.html">XalanNode</a>* context, int opPos, <a class="el" href="class_mutablenodereflist.html">MutableNodeRefList</a>& subQueryResults, int& endPredicatesPos) const <li><a class="el" href="class_xpath.html#s2">eMatchScore</a> <a class="el" href="class_xpath.html#b50">handleFoundIndex</a> ( <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext, <a class="el" href="class_xalannode.html">XalanNode</a>* localContext, int startOpPos) const <li><a class="el" href="class_xpath.html#s2">eMatchScore</a> <a class="el" href="class_xpath.html#b51">handleFoundIndexPositional</a> ( <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext, <a class="el" href="class_xalannode.html">XalanNode</a>* localContext, int startOpPos) const </ul> <h2>Protected Attributes</h2> <ul> <li><a class="el" href="class_xpathexpression.html">XPathExpression</a> <a class="el" href="class_xpath.html#n0">m_expression</a> <dl class="el"><dd><font size=-1><em>Holds information about the current expression.</em></font></dl><li>const <a class="el" href="class_locator.html">Locator</a>* <a class="el" href="class_xpath.html#n1">m_locator</a> <dl class="el"><dd><font size=-1><em>A <a class="el" href="class_locator.html">Locator</a> for reporting errors.</em></font></dl><li>bool <a class="el" href="class_xpath.html#n2">m_inStylesheet</a> <dl class="el"><dd><font size=-1><em>If true, the XPath can allocated XObjects in more efficient ways, since its lifetime is guaranteed to be at least that of the transform.</em></font></dl></ul> <h2>Static Protected Attributes</h2> <ul> <li><a class="el" href="class_xpath.html#s1">FunctionTableType</a> <a class="el" href="class_xpath.html#q0">s_functions</a> <dl class="el"><dd><font size=-1><em>This is the table of installed functions.</em></font></dl><li>const <a class="el" href="class_xalandomstring.html">XalanDOMString</a> <a class="el" href="class_xpath.html#q1">s_emptyString</a> </ul> <hr><a name="_details"></a><h2>Detailed Description</h2> <p> <hr><h2>Member Typedef Documentation</h2> <a name="s1" doxytag="XPath::FunctionTableType"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> typedef <a class="el" href="class_xpathfunctiontable.html">XPathFunctionTable</a> XPath::FunctionTableType</b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <a name="s0" doxytag="XPath::TargetDataVectorType"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> typedef std::vector<<a class="el" href="class_xpath__targetdata.html">TargetData</a>> XPath::TargetDataVectorType</b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <hr><h2>Member Enumeration Documentation</h2> <a name="s2" doxytag="XPath::eMatchScore"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> enum XPath::eMatchScore</b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> <dl compact><dt> <b>Enumeration values:</b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><a name="a18" doxytag="eMatchScoreNone"><em>eMatchScoreNone</em></a> </td><td> </td></tr> <tr><td valign=top><a name="a19" doxytag="eMatchScoreNodeTest"><em>eMatchScoreNodeTest</em></a> </td><td> </td></tr> <tr><td valign=top><a name="a20" doxytag="eMatchScoreNSWild"><em>eMatchScoreNSWild</em></a> </td><td> </td></tr> <tr><td valign=top><a name="a21" doxytag="eMatchScoreQName"><em>eMatchScoreQName</em></a> </td><td> </td></tr> <tr><td valign=top><a name="a22" doxytag="eMatchScoreOther"><em>eMatchScoreOther</em></a> </td><td> </td></tr> </table> </dl> </div> <hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="XPath::XPath"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> explicit XPath::XPath ( </b></td> <td><b> const <a class="el" href="class_locator.html">Locator</a> * <em>theLocator</em> = 0)</b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Construct an XPath. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>theLocator</em> </td><td> The applicable <a class="el" href="class_locator.html">Locator</a>, if any. </td></tr> </table> </dl></div> <a name="a1" doxytag="XPath::~XPath"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> virtual XPath::~XPath ()<code> [virtual]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <hr><h2>Member Function Documentation</h2> <a name="b4" doxytag="XPath::And"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> XPath::And ( </b></td> <td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> int <em>opPos</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> OR two expressions and return the boolean result. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>context</em> </td><td> The current source tree context node. </td></tr> <tr><td valign=top><em>opPos</em> </td><td> The current position in the m_opMap array. </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> <a class="el" href="class_xboolean.html">XBoolean</a> set to true if the two arguments are both true. </dl></div> <a name="b3" doxytag="XPath::Or"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> XPath::Or ( </b></td> <td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> int <em>opPos</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> OR two expressions and return the boolean result. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>context</em> </td><td> The current source tree context node. </td></tr> <tr><td valign=top><em>opPos</em> </td><td> The current position in the m_opMap array. </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> <a class="el" href="class_xboolean.html">XBoolean</a> set to true if the one of the two arguments are true. </dl></div> <a name="b19" doxytag="XPath::Union"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> XPath::Union ( </b></td> <td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> int <em>opPos</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Computes the union of its operands which must be node-sets. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>context</em> </td><td> The current source tree context node. </td></tr> <tr><td valign=top><em>opPos</em> </td><td> The current position in the m_opMap array. </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> the union of node-set operands. </dl></div> <a name="b24" doxytag="XPath::arg"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> XPath::arg ( </b></td> <td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> int <em>opPos</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Execute a function argument. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>context</em> </td><td> The current source tree context node. </td></tr> <tr><td valign=top><em>opPos</em> </td><td> The current position in the m_opMap array. </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> the result of the argument expression. </dl></div> <a name="b18" doxytag="XPath::boolean"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> XPath::boolean ( </b></td> <td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> int <em>opPos</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Cast an expression to a boolean. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>context</em> </td><td> The current source tree context node. </td></tr> <tr><td valign=top><em>opPos</em> </td><td> The current position in the m_opMap array. </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> arg cast to a boolean. </dl></div> <a name="b0" doxytag="XPath::createXLocatorHandler"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> <a class="el" href="class_xlocator.html">XLocator</a> * XPath::createXLocatorHandler () const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> createXLocatorHandler. <p> </div> <a name="d8" doxytag="XPath::destroyTable"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> void XPath::destroyTable ()<code> [static]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <a name="b14" doxytag="XPath::div"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> XPath::div ( </b></td> <td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> int <em>opPos</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Divide a number. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>context</em> </td><td> The current source tree context node. </td></tr> <tr><td valign=top><em>opPos</em> </td><td> The current position in the m_opMap array. </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> arg1 / arg2. </dl></div> <a name="b2" doxytag="XPath::doGetMatchScore"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> void XPath::doGetMatchScore ( </b></td> <td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xpath.html#s2">eMatchScore</a> & <em>score</em>) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Helper function to get match score. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>context</em> </td><td> The current source tree context node. </td></tr> <tr><td valign=top><em>executionContext</em> </td><td> The current execution context </td></tr> <tr><td valign=top><em>score</em> </td><td> The match score </td></tr> </table> </dl></div> <a name="b6" doxytag="XPath::equals"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> XPath::equals ( </b></td> <td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> int <em>opPos</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Tell if two expressions are functionally equal. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>context</em> </td><td> The current source tree context node. </td></tr> <tr><td valign=top><em>opPos</em> </td><td> The current position in the m_opMap array. </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> <a class="el" href="class_xboolean.html">XBoolean</a> set to true if the two arguments are equal. </dl></div> <a name="a5" doxytag="XPath::execute"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> XPath::execute ( </b></td> <td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>) const</b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Execute the XPath from the provided context. <p> The prefix resolver must already be set in the execution context. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>executionContext</em> </td><td> current execution context </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> pointer to result <a class="el" href="class_xobject.html">XObject</a> </dl></div> <a name="a4" doxytag="XPath::execute"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> XPath::execute ( </b></td> <td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> const <a class="el" href="class_prefixresolver.html">PrefixResolver</a> & <em>prefixResolver</em>, </b></td></tr> <tr><td></td><td><b> const <a class="el" href="class_nodereflistbase.html">NodeRefListBase</a> & <em>contextNodeList</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>) const</b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Execute the XPath from the provided context. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>context</em> </td><td> current source tree context node </td></tr> <tr><td valign=top><em>prefixResolver</em> </td><td> prefix resolver to use </td></tr> <tr><td valign=top><em>contextNodeList</em> </td><td> node list for current context </td></tr> <tr><td valign=top><em>executionContext</em> </td><td> current execution context </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> pointer to union of node-set operands </dl></div> <a name="a3" doxytag="XPath::execute"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> XPath::execute ( </b></td> <td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> const <a class="el" href="class_prefixresolver.html">PrefixResolver</a> & <em>prefixResolver</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>) const</b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Execute the XPath from the provided context. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>context</em> </td><td> current source tree context node </td></tr> <tr><td valign=top><em>prefixResolver</em> </td><td> prefix resolver to use </td></tr> <tr><td valign=top><em>executionContext</em> </td><td> current execution context </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> pointer to union of node-set operands </dl></div> <a name="a6" doxytag="XPath::executeMore"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> XPath::executeMore ( </b></td> <td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> int <em>opPos</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>) const</b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Execute the XPath from the provided context. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>context</em> </td><td> current source tree context node </td></tr> <tr><td valign=top><em>opPos</em> </td><td> current position in the m_opMap array </td></tr> <tr><td valign=top><em>executionContext</em> </td><td> current execution context </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> pointer to union of node-set operands </dl></div> <a name="b27" doxytag="XPath::extfunction"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> XPath::extfunction ( </b></td> <td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> int, </b></td></tr> <tr><td></td><td><b> const <a class="el" href="class_xalandomstring.html">XalanDOMString</a> & <em>theNamespace</em>, </b></td></tr> <tr><td></td><td><b> const <a class="el" href="class_xalandomstring.html">XalanDOMString</a> & <em>functionName</em>, </b></td></tr> <tr><td></td><td><b> const <a class="el" href="class_function.html#s0">Function::XObjectArgVectorType</a> & <em>argVec</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Handle an extension function. <p> </div> <a name="b37" doxytag="XPath::findAncestors"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> int XPath::findAncestors ( </b></td> <td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> int opPos, </b></td></tr> <tr><td></td><td><b> int stepType, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_mutablenodereflist.html">MutableNodeRefList</a> & <em>subQueryResults</em>) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <a name="b38" doxytag="XPath::findAncestorsOrSelf"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> int XPath::findAncestorsOrSelf ( </b></td> <td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> int opPos, </b></td></tr> <tr><td></td><td><b> int stepType, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_mutablenodereflist.html">MutableNodeRefList</a> & <em>subQueryResults</em>) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <a name="b39" doxytag="XPath::findAttributes"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> int XPath::findAttributes ( </b></td> <td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> int opPos, </b></td></tr> <tr><td></td><td><b> int stepType, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_mutablenodereflist.html">MutableNodeRefList</a> & <em>subQueryResults</em>) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <a name="b40" doxytag="XPath::findChildren"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> int XPath::findChildren ( </b></td> <td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> int opPos, </b></td></tr> <tr><td></td><td><b> int stepType, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_mutablenodereflist.html">MutableNodeRefList</a> & <em>subQueryResults</em>) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <a name="b41" doxytag="XPath::findDescendants"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> int XPath::findDescendants ( </b></td> <td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> int opPos, </b></td></tr> <tr><td></td><td><b> int stepType, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_mutablenodereflist.html">MutableNodeRefList</a> & <em>subQueryResults</em>) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <a name="b42" doxytag="XPath::findFollowing"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> int XPath::findFollowing ( </b></td> <td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> int opPos, </b></td></tr> <tr><td></td><td><b> int stepType, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_mutablenodereflist.html">MutableNodeRefList</a> & <em>subQueryResults</em>) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <a name="b43" doxytag="XPath::findFollowingSiblings"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> int XPath::findFollowingSiblings ( </b></td> <td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> int opPos, </b></td></tr> <tr><td></td><td><b> int stepType, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_mutablenodereflist.html">MutableNodeRefList</a> & <em>subQueryResults</em>) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <a name="b46" doxytag="XPath::findNamespace"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> int XPath::findNamespace ( </b></td> <td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> int opPos, </b></td></tr> <tr><td></td><td><b> int stepType, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_mutablenodereflist.html">MutableNodeRefList</a> & <em>subQueryResults</em>) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <a name="b33" doxytag="XPath::findNodeSet"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> int XPath::findNodeSet ( </b></td> <td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> int opPos, </b></td></tr> <tr><td></td><td><b> int stepType, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_mutablenodereflist.html">MutableNodeRefList</a> & <em>subQueryResults</em>) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <a name="b47" doxytag="XPath::findNodesOnUnknownAxis"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> int XPath::findNodesOnUnknownAxis ( </b></td> <td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> int opPos, </b></td></tr> <tr><td></td><td><b> int stepType, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_mutablenodereflist.html">MutableNodeRefList</a> & <em>subQueryResults</em>) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <a name="b35" doxytag="XPath::findParent"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> int XPath::findParent ( </b></td> <td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> int opPos, </b></td></tr> <tr><td></td><td><b> int stepType, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_mutablenodereflist.html">MutableNodeRefList</a> & <em>subQueryResults</em>) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <a name="b44" doxytag="XPath::findPreceeding"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> int XPath::findPreceeding ( </b></td> <td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> int opPos, </b></td></tr> <tr><td></td><td><b> int stepType, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_mutablenodereflist.html">MutableNodeRefList</a> & <em>subQueryResults</em>) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <a name="b45" doxytag="XPath::findPreceedingSiblings"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> int XPath::findPreceedingSiblings ( </b></td> <td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> int opPos, </b></td></tr> <tr><td></td><td><b> int stepType, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_mutablenodereflist.html">MutableNodeRefList</a> & <em>subQueryResults</em>) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <a name="b34" doxytag="XPath::findRoot"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> int XPath::findRoot ( </b></td> <td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> int opPos, </b></td></tr> <tr><td></td><td><b> int stepType, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_mutablenodereflist.html">MutableNodeRefList</a> & <em>subQueryResults</em>) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <a name="b36" doxytag="XPath::findSelf"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> int XPath::findSelf ( </b></td> <td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> int opPos, </b></td></tr> <tr><td></td><td><b> int stepType, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_mutablenodereflist.html">MutableNodeRefList</a> & <em>subQueryResults</em>) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <a name="b29" doxytag="XPath::function"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> XPath::function ( </b></td> <td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> int <em>funcID</em>, </b></td></tr> <tr><td></td><td><b> const <a class="el" href="class_function.html#s0">Function::XObjectArgVectorType</a> & <em>argVec</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Handle a built-in function. <p> </div> <a name="a9" doxytag="XPath::getExpression"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> const <a class="el" href="class_xpathexpression.html">XPathExpression</a> & XPath::getExpression () const</b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Retrieve a reference to the current expression. <p> <dl compact><dt> <b>Returns: </b><dd> current expression </dl></div> <a name="a8" doxytag="XPath::getExpression"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> <a class="el" href="class_xpathexpression.html">XPathExpression</a> & XPath::getExpression ()</b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Retrieve a reference to the current expression. <p> <dl compact><dt> <b>Returns: </b><dd> current expression </dl></div> <a name="d6" doxytag="XPath::getFunctionTable"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> const <a class="el" href="class_xpath.html#s1">FunctionTableType</a> & XPath::getFunctionTable ()<code> [static]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Retrieve the table of installed functions. <p> <dl compact><dt> <b>Returns: </b><dd> function table </dl></div> <a name="a14" doxytag="XPath::getInStylesheet"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> bool XPath::getInStylesheet () const</b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <a name="d7" doxytag="XPath::getInstalledFunctionNames"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> template<class OutputIteratorType> <br> void XPath::getInstalledFunctionNames ( </b></td> <td><b> OutputIteratorType <em>theIterator</em>)<code> [static]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Add the names for the installed functions to a vector strings. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>theIterator</em> </td><td> vector added to </td></tr> </table> </dl></div> <a name="a16" doxytag="XPath::getLocator"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> const <a class="el" href="class_locator.html">Locator</a> * XPath::getLocator () const</b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <a name="a11" doxytag="XPath::getMatchScore"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> <a class="el" href="class_xpath.html#s2">eMatchScore</a> XPath::getMatchScore ( </b></td> <td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>node</em>, </b></td></tr> <tr><td></td><td><b> const <a class="el" href="class_prefixresolver.html">PrefixResolver</a> & <em>resolver</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>) const</b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Get the match score for the specified node. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>node</em> </td><td> The node for the score </td></tr> <tr><td valign=top><em>resolver</em> </td><td> The prefix resolver </td></tr> <tr><td valign=top><em>executionContext</em> </td><td> current execution context </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> union of node-set operands </dl></div> <a name="a10" doxytag="XPath::getMatchScore"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> <a class="el" href="class_xpath.html#s2">eMatchScore</a> XPath::getMatchScore ( </b></td> <td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>node</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>) const</b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Get the match score for the specified node. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>node</em> </td><td> The node for the score </td></tr> <tr><td valign=top><em>executionContext</em> </td><td> current execution context </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> union of node-set operands </dl></div> <a name="d2" doxytag="XPath::getMatchScoreValue"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> double XPath::getMatchScoreValue ( </b></td> <td><b> <a class="el" href="class_xpath.html#s2">eMatchScore</a> <em>score</em>)<code> [static]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <a name="b30" doxytag="XPath::getNumericOperand"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> double XPath::getNumericOperand ( </b></td> <td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> int opPos, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <a name="a13" doxytag="XPath::getTargetData"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> void XPath::getTargetData ( </b></td> <td><b> <a class="el" href="class_xpath.html#s0">TargetDataVectorType</a> & <em>targetData</em>) const</b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Add the data for the target of match pattern to a vector. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>targetData</em> </td><td> The vector for the data </td></tr> </table> </dl></div> <a name="b22" doxytag="XPath::group"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> XPath::group ( </b></td> <td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> int <em>opPos</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Execute an expression as a group. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>context</em> </td><td> The current source tree context node. </td></tr> <tr><td valign=top><em>opPos</em> </td><td> The current position in the m_opMap array. </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> arg. </dl></div> <a name="b10" doxytag="XPath::gt"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> XPath::gt ( </b></td> <td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> int <em>opPos</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Tell if one argument is greater than the other argument. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>context</em> </td><td> The current source tree context node. </td></tr> <tr><td valign=top><em>opPos</em> </td><td> The current position in the m_opMap array. </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> <a class="el" href="class_xboolean.html">XBoolean</a> set to true if arg 1 is greater than arg 2. </dl></div> <a name="b9" doxytag="XPath::gte"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> XPath::gte ( </b></td> <td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> int <em>opPos</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Tell if one argument is greater than or equal to the other argument. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>context</em> </td><td> The current source tree context node. </td></tr> <tr><td valign=top><em>opPos</em> </td><td> The current position in the m_opMap array. </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> <a class="el" href="class_xboolean.html">XBoolean</a> set to true if arg 1 is greater than or equal to arg 2. </dl></div> <a name="b50" doxytag="XPath::handleFoundIndex"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> <a class="el" href="class_xpath.html#s2">eMatchScore</a> XPath::handleFoundIndex ( </b></td> <td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>localContext</em>, </b></td></tr> <tr><td></td><td><b> int startOpPos) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <a name="b51" doxytag="XPath::handleFoundIndexPositional"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> <a class="el" href="class_xpath.html#s2">eMatchScore</a> XPath::handleFoundIndexPositional ( </b></td> <td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>localContext</em>, </b></td></tr> <tr><td></td><td><b> int startOpPos) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <a name="d0" doxytag="XPath::initialize"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> void XPath::initialize ()<code> [static]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Perform static initialization. <p> See class <a class="el" href="class_xpathinit.html">XPathInit</a>. </div> <a name="d3" doxytag="XPath::installFunction"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> void XPath::installFunction ( </b></td> <td><b> const <a class="el" href="class_xalandomstring.html">XalanDOMString</a> & <em>funcName</em>, </b></td></tr> <tr><td></td><td><b> const <a class="el" href="class_function.html">Function</a> & <em>func</em>)<code> [static]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Install a built-in function. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>funcName</em> </td><td> unqualified name of the function </td></tr> <tr><td valign=top><em>func</em> </td><td> instance of an XPath function object </td></tr> </table> </dl></div> <a name="d5" doxytag="XPath::isInstalledFunction"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> bool XPath::isInstalledFunction ( </b></td> <td><b> const <a class="el" href="class_xalandomstring.html">XalanDOMString</a> & <em>theFunctionName</em>)<code> [static]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Whether the named function is installed in the function table. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>name</em> </td><td> of function </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> true if the function has been installed </dl></div> <a name="b20" doxytag="XPath::literal"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> XPath::literal ( </b></td> <td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> int <em>opPos</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Get a literal value. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>context</em> </td><td> The current source tree context node. </td></tr> <tr><td valign=top><em>opPos</em> </td><td> The current position in the m_opMap array. </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> an <a class="el" href="class_xobject.html">XObject</a> object. </dl></div> <a name="a7" doxytag="XPath::locationPath"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> XPath::locationPath ( </b></td> <td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> int <em>opPos</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>) const</b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Execute a location path. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>context</em> </td><td> current source tree context node </td></tr> <tr><td valign=top><em>opPos</em> </td><td> current position in the m_opMap array </td></tr> <tr><td valign=top><em>executionContext</em> </td><td> current execution context </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> node-set </dl></div> <a name="b25" doxytag="XPath::locationPathPattern"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> XPath::locationPathPattern ( </b></td> <td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> int <em>opPos</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Execute a location path. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>context</em> </td><td> The current source tree context node. </td></tr> <tr><td valign=top><em>opPos</em> </td><td> The current position in the m_opMap array. </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> score in an <a class="el" href="class_xnumber.html">XNumber</a>, one of MATCH_SCORE_NODETEST, MATCH_SCORE_NONE, MATCH_SCORE_OTHER, MATCH_SCORE_QNAME. </dl></div> <a name="b8" doxytag="XPath::lt"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> XPath::lt ( </b></td> <td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> int <em>opPos</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Tell if one argument is less than the other argument. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>context</em> </td><td> The current source tree context node. </td></tr> <tr><td valign=top><em>opPos</em> </td><td> The current position in the m_opMap array. </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> <a class="el" href="class_xboolean.html">XBoolean</a> set to true if arg 1 is less than arg 2. </dl></div> <a name="b7" doxytag="XPath::lte"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> XPath::lte ( </b></td> <td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> int <em>opPos</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Tell if one argument is less than or equal to the other argument. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>context</em> </td><td> The current source tree context node. </td></tr> <tr><td valign=top><em>opPos</em> </td><td> The current position in the m_opMap array. </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> <a class="el" href="class_xboolean.html">XBoolean</a> set to true if arg 1 is less than or equal to arg 2. </dl></div> <a name="b1" doxytag="XPath::matchPattern"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> XPath::matchPattern ( </b></td> <td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> int <em>opPos</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Computes the union of its operands which must be node-sets. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>context</em> </td><td> The current source tree context node. </td></tr> <tr><td valign=top><em>opPos</em> </td><td> The current position in the m_opMap array. </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> the match score in the form of an <a class="el" href="class_xobject.html">XObject</a>. </dl></div> <a name="b12" doxytag="XPath::minus"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> XPath::minus ( </b></td> <td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> int <em>opPos</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Give the difference of two arguments. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>context</em> </td><td> The current source tree context node. </td></tr> <tr><td valign=top><em>opPos</em> </td><td> The current position in the m_opMap array. </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> difference of arg1 and arg2. </dl></div> <a name="b15" doxytag="XPath::mod"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> XPath::mod ( </b></td> <td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> int <em>opPos</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Return the remainder from a truncating division. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>context</em> </td><td> The current source tree context node. </td></tr> <tr><td valign=top><em>opPos</em> </td><td> The current position in the m_opMap array. </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> arg1 mod arg2. </dl></div> <a name="b13" doxytag="XPath::mult"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> XPath::mult ( </b></td> <td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> int <em>opPos</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Multiply two arguments. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>context</em> </td><td> The current source tree context node. </td></tr> <tr><td valign=top><em>opPos</em> </td><td> The current position in the m_opMap array. </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> arg1 * arg2. </dl></div> <a name="b16" doxytag="XPath::neg"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> XPath::neg ( </b></td> <td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> int <em>opPos</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Return the negation of a number. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>context</em> </td><td> The current source tree context node. </td></tr> <tr><td valign=top><em>opPos</em> </td><td> The current position in the m_opMap array. </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> -arg. </dl></div> <a name="b48" doxytag="XPath::nodeTest"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> <a class="el" href="class_xpath.html#s2">eMatchScore</a> XPath::nodeTest ( </b></td> <td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xalannode.html#s0">XalanNode::NodeType</a> nodeType, </b></td></tr> <tr><td></td><td><b> int opPos, </b></td></tr> <tr><td></td><td><b> int argLen, </b></td></tr> <tr><td></td><td><b> int stepType) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <a name="b5" doxytag="XPath::notequals"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> XPath::notequals ( </b></td> <td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> int <em>opPos</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Tell if two expressions are functionally not equal. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>context</em> </td><td> The current source tree context node. </td></tr> <tr><td valign=top><em>opPos</em> </td><td> The current position in the m_opMap array. </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> <a class="el" href="class_xboolean.html">XBoolean</a> set to true if the two arguments are not equal. </dl></div> <a name="b23" doxytag="XPath::numberlit"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> XPath::numberlit ( </b></td> <td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> int <em>opPos</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Get a literal value. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>context</em> </td><td> The current source tree context node. </td></tr> <tr><td valign=top><em>opPos</em> </td><td> The current position in the m_opMap array. </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> an <a class="el" href="class_xobject.html">XObject</a> object. </dl></div> <a name="b11" doxytag="XPath::plus"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> XPath::plus ( </b></td> <td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> int <em>opPos</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Give the sum of two arguments. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>context</em> </td><td> The current source tree context node. </td></tr> <tr><td valign=top><em>opPos</em> </td><td> The current position in the m_opMap array. </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> sum of arg1 and arg2. </dl></div> <a name="a12" doxytag="XPath::predicate"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> XPath::predicate ( </b></td> <td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> int <em>opPos</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>) const</b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Evaluate a predicate. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>context</em> </td><td> current source tree context node </td></tr> <tr><td valign=top><em>opPos</em> </td><td> current position in the m_opMap array </td></tr> <tr><td valign=top><em>executionContext</em> </td><td> current execution context </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> pointer to either a boolean or a number </dl></div> <a name="b49" doxytag="XPath::predicates"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> void XPath::predicates ( </b></td> <td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> int opPos, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_mutablenodereflist.html">MutableNodeRefList</a> & <em>subQueryResults</em>, </b></td></tr> <tr><td></td><td><b> int & <em>endPredicatesPos</em>) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <a name="b26" doxytag="XPath::runExtFunction"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> XPath::runExtFunction ( </b></td> <td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> int <em>opPos</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Setup for and run an extension function. <p> </div> <a name="b28" doxytag="XPath::runFunction"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> XPath::runFunction ( </b></td> <td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> int <em>opPos</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Setup for and run a function. <p> </div> <a name="a15" doxytag="XPath::setInStylesheet"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> void XPath::setInStylesheet ( </b></td> <td><b> bool <em>fValue</em>)</b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <a name="a17" doxytag="XPath::setLocator"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> void XPath::setLocator ( </b></td> <td><b> const <a class="el" href="class_locator.html">Locator</a> * <em>theLocator</em>)</b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <a name="a2" doxytag="XPath::shrink"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> void XPath::shrink ()</b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Shrink internal tables. <p> </div> <a name="b31" doxytag="XPath::step"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> void XPath::step ( </b></td> <td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> int opPos, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_mutablenodereflist.html">MutableNodeRefList</a> & <em>queryResults</em>) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <a name="b32" doxytag="XPath::stepPattern"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * XPath::stepPattern ( </b></td> <td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> int <em>opPos</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xpath.html#s2">eMatchScore</a> & <em>scoreHolder</em>) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Execute a step in a location path. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>xpath</em> </td><td> The xpath that is executing </td></tr> <tr><td valign=top><em>context</em> </td><td> The current source tree context node </td></tr> <tr><td valign=top><em>opPos</em> </td><td> The current position in the xpath operation map array </td></tr> <tr><td valign=top><em>scoreHolder</em> </td><td> a reference to an eMatchScore to receive the result. </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> the last matched context node </dl></div> <a name="b17" doxytag="XPath::string"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> XPath::string ( </b></td> <td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> int <em>opPos</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Cast an expression to a string. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>context</em> </td><td> The current source tree context node. </td></tr> <tr><td valign=top><em>opPos</em> </td><td> The current position in the m_opMap array. </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> arg cast to a string. </dl></div> <a name="d1" doxytag="XPath::terminate"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> void XPath::terminate ()<code> [static]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Perform static shut down. <p> See class <a class="el" href="class_xpathinit.html">XPathInit</a>. </div> <a name="d4" doxytag="XPath::uninstallFunction"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> bool XPath::uninstallFunction ( </b></td> <td><b> const <a class="el" href="class_xalandomstring.html">XalanDOMString</a> & <em>funcName</em>)<code> [static]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Remove a named function from the function table. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>funcName</em> </td><td> name of function </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> true if the function was found and removed. </dl></div> <a name="b21" doxytag="XPath::variable"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> XPath::variable ( </b></td> <td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td></tr> <tr><td></td><td><b> int <em>opPos</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Get the value of a variable. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>context</em> </td><td> The current source tree context node. </td></tr> <tr><td valign=top><em>opPos</em> </td><td> The current position in the m_opMap array. </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> an <a class="el" href="class_xobject.html">XObject</a> object. </dl></div> <hr><h2>Member Data Documentation</h2> <a name="p0" doxytag="XPath::PSEUDONAME_ANY"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> const <a class="el" href="XalanDOMString.hpp.html#a16">XalanDOMChar</a> XPath::PSEUDONAME_ANY[]<code> [static]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <a name="p3" doxytag="XPath::PSEUDONAME_COMMENT"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> const <a class="el" href="XalanDOMString.hpp.html#a16">XalanDOMChar</a> XPath::PSEUDONAME_COMMENT[]<code> [static]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <a name="p6" doxytag="XPath::PSEUDONAME_NODE"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> const <a class="el" href="XalanDOMString.hpp.html#a16">XalanDOMChar</a> XPath::PSEUDONAME_NODE[]<code> [static]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <a name="p5" doxytag="XPath::PSEUDONAME_OTHER"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> const <a class="el" href="XalanDOMString.hpp.html#a16">XalanDOMChar</a> XPath::PSEUDONAME_OTHER[]<code> [static]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <a name="p4" doxytag="XPath::PSEUDONAME_PI"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> const <a class="el" href="XalanDOMString.hpp.html#a16">XalanDOMChar</a> XPath::PSEUDONAME_PI[]<code> [static]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <a name="p1" doxytag="XPath::PSEUDONAME_ROOT"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> const <a class="el" href="XalanDOMString.hpp.html#a16">XalanDOMChar</a> XPath::PSEUDONAME_ROOT[]<code> [static]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <a name="p2" doxytag="XPath::PSEUDONAME_TEXT"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> const <a class="el" href="XalanDOMString.hpp.html#a16">XalanDOMChar</a> XPath::PSEUDONAME_TEXT[]<code> [static]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <a name="n0" doxytag="XPath::m_expression"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> <a class="el" href="class_xpathexpression.html">XPathExpression</a> XPath::m_expression<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Holds information about the current expression. <p> </div> <a name="n2" doxytag="XPath::m_inStylesheet"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> bool XPath::m_inStylesheet<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> If true, the XPath can allocated XObjects in more efficient ways, since its lifetime is guaranteed to be at least that of the transform. <p> </div> <a name="n1" doxytag="XPath::m_locator"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> const <a class="el" href="class_locator.html">Locator</a> * XPath::m_locator<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> A <a class="el" href="class_locator.html">Locator</a> for reporting errors. <p> </div> <a name="q1" doxytag="XPath::s_emptyString"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> const <a class="el" href="class_xalandomstring.html">XalanDOMString</a> XPath::s_emptyString<code> [static, protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <a name="q0" doxytag="XPath::s_functions"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> <a class="el" href="class_xpath.html#s1">FunctionTableType</a> XPath::s_functions<code> [static, protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> This is the table of installed functions. <p> </div> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="XPath.hpp.html">XPath.hpp</a></ul> <p align="center"><a href="diagramnotes.html">Interpreting class diagrams</a></p> <p><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"> <i><A href="http://www.stack.nl/~dimitri/doxygen/">Doxygen</A> and <A href="http://www.research.att.com/sw/tools/graphviz/">GraphViz</A> are used to generate this API documentation from the Xalan-C header files.</I></FONT></p> <TABLE border="0" cellpadding="0" cellspacing="0" width="820"><TR><TD bgcolor="#0086b2"><IMG height="1" src="images/dot.gif" width="1"></TD></TR></TABLE> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="80%"> <TR> <TD WIDTH="80%" VALIGN="TOP"> <P ALIGN="CENTER"><B>Xalan-C++ XSLT Processor Version 1.4</B><BR> Copyright © 2000, 2001, 2002 The Apache Software Foundation. All Rights Reserved.</i></p> </TD> </TR> <TR> <TD WIDTH="100%"> <P ALIGN="CENTER"><IMG SRC="ApacheLogo.jpg" WIDTH="387" HEIGHT="100" ALIGN="BOTTOM" BORDER="0"> </TD> </TR> </TABLE>