1*7c568831SAndroid Build Coastguard Worker<html> 2*7c568831SAndroid Build Coastguard Worker<head> 3*7c568831SAndroid Build Coastguard Worker<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 4*7c568831SAndroid Build Coastguard Worker<title>xpathInternals: internal interfaces for XML Path Language implementation</title> 5*7c568831SAndroid Build Coastguard Worker<meta name="generator" content="Libxml2 devhelp stylesheet"> 6*7c568831SAndroid Build Coastguard Worker<link rel="start" href="index.html" title="libxml2 Reference Manual"> 7*7c568831SAndroid Build Coastguard Worker<link rel="up" href="general.html" title="API"> 8*7c568831SAndroid Build Coastguard Worker<link rel="stylesheet" href="style.css" type="text/css"> 9*7c568831SAndroid Build Coastguard Worker<link rel="chapter" href="general.html" title="API"> 10*7c568831SAndroid Build Coastguard Worker</head> 11*7c568831SAndroid Build Coastguard Worker<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> 12*7c568831SAndroid Build Coastguard Worker<table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> 13*7c568831SAndroid Build Coastguard Worker<td><a accesskey="p" href="libxml2-xpath.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> 14*7c568831SAndroid Build Coastguard Worker<td><a accesskey="u" href="general.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> 15*7c568831SAndroid Build Coastguard Worker<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> 16*7c568831SAndroid Build Coastguard Worker<td><a accesskey="n" href="libxml2-xpointer.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> 17*7c568831SAndroid Build Coastguard Worker<th width="100%" align="center">libxml2 Reference Manual</th> 18*7c568831SAndroid Build Coastguard Worker</tr></table> 19*7c568831SAndroid Build Coastguard Worker<h2><span class="refentrytitle">xpathInternals</span></h2> 20*7c568831SAndroid Build Coastguard Worker<p>xpathInternals - internal interfaces for XML Path Language implementation</p> 21*7c568831SAndroid Build Coastguard Worker<p>internal interfaces for XML Path Language implementation used to build new modules on top of XPath like XPointer and XSLT </p> 22*7c568831SAndroid Build Coastguard Worker<p>Author(s): Daniel Veillard </p> 23*7c568831SAndroid Build Coastguard Worker<div class="refsynopsisdiv"> 24*7c568831SAndroid Build Coastguard Worker<h2>Synopsis</h2> 25*7c568831SAndroid Build Coastguard Worker<pre class="synopsis">#define <a href="#CAST_TO_BOOLEAN">CAST_TO_BOOLEAN</a>; 26*7c568831SAndroid Build Coastguard Worker#define <a href="#CAST_TO_NUMBER">CAST_TO_NUMBER</a>; 27*7c568831SAndroid Build Coastguard Worker#define <a href="#CAST_TO_STRING">CAST_TO_STRING</a>; 28*7c568831SAndroid Build Coastguard Worker#define <a href="#CHECK_ARITY">CHECK_ARITY</a>(x); 29*7c568831SAndroid Build Coastguard Worker#define <a href="#CHECK_ERROR">CHECK_ERROR</a>; 30*7c568831SAndroid Build Coastguard Worker#define <a href="#CHECK_ERROR0">CHECK_ERROR0</a>; 31*7c568831SAndroid Build Coastguard Worker#define <a href="#CHECK_TYPE">CHECK_TYPE</a>(typeval); 32*7c568831SAndroid Build Coastguard Worker#define <a href="#CHECK_TYPE0">CHECK_TYPE0</a>(typeval); 33*7c568831SAndroid Build Coastguard Worker#define <a href="#XP_ERROR">XP_ERROR</a>(X); 34*7c568831SAndroid Build Coastguard Worker#define <a href="#XP_ERROR0">XP_ERROR0</a>(X); 35*7c568831SAndroid Build Coastguard Worker#define <a href="#xmlXPathCheckError">xmlXPathCheckError</a>(ctxt); 36*7c568831SAndroid Build Coastguard Worker#define <a href="#xmlXPathEmptyNodeSet">xmlXPathEmptyNodeSet</a>(ns); 37*7c568831SAndroid Build Coastguard Worker#define <a href="#xmlXPathGetContextNode">xmlXPathGetContextNode</a>(ctxt); 38*7c568831SAndroid Build Coastguard Worker#define <a href="#xmlXPathGetDocument">xmlXPathGetDocument</a>(ctxt); 39*7c568831SAndroid Build Coastguard Worker#define <a href="#xmlXPathGetError">xmlXPathGetError</a>(ctxt); 40*7c568831SAndroid Build Coastguard Worker#define <a href="#xmlXPathReturnBoolean">xmlXPathReturnBoolean</a>(ctxt, val); 41*7c568831SAndroid Build Coastguard Worker#define <a href="#xmlXPathReturnEmptyNodeSet">xmlXPathReturnEmptyNodeSet</a>(ctxt); 42*7c568831SAndroid Build Coastguard Worker#define <a href="#xmlXPathReturnEmptyString">xmlXPathReturnEmptyString</a>(ctxt); 43*7c568831SAndroid Build Coastguard Worker#define <a href="#xmlXPathReturnExternal">xmlXPathReturnExternal</a>(ctxt, val); 44*7c568831SAndroid Build Coastguard Worker#define <a href="#xmlXPathReturnFalse">xmlXPathReturnFalse</a>(ctxt); 45*7c568831SAndroid Build Coastguard Worker#define <a href="#xmlXPathReturnNodeSet">xmlXPathReturnNodeSet</a>(ctxt, ns); 46*7c568831SAndroid Build Coastguard Worker#define <a href="#xmlXPathReturnNumber">xmlXPathReturnNumber</a>(ctxt, val); 47*7c568831SAndroid Build Coastguard Worker#define <a href="#xmlXPathReturnString">xmlXPathReturnString</a>(ctxt, str); 48*7c568831SAndroid Build Coastguard Worker#define <a href="#xmlXPathReturnTrue">xmlXPathReturnTrue</a>(ctxt); 49*7c568831SAndroid Build Coastguard Worker#define <a href="#xmlXPathSetArityError">xmlXPathSetArityError</a>(ctxt); 50*7c568831SAndroid Build Coastguard Worker#define <a href="#xmlXPathSetError">xmlXPathSetError</a>(ctxt, err); 51*7c568831SAndroid Build Coastguard Worker#define <a href="#xmlXPathSetTypeError">xmlXPathSetTypeError</a>(ctxt); 52*7c568831SAndroid Build Coastguard Worker#define <a href="#xmlXPathStackIsExternal">xmlXPathStackIsExternal</a>(ctxt); 53*7c568831SAndroid Build Coastguard Worker#define <a href="#xmlXPathStackIsNodeSet">xmlXPathStackIsNodeSet</a>(ctxt); 54*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> <a href="#valuePop">valuePop</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt); 55*7c568831SAndroid Build Coastguard Workerint <a href="#valuePush">valuePush</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> <a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> value); 56*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlXPathAddValues">xmlXPathAddValues</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt); 57*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlXPathBooleanFunction">xmlXPathBooleanFunction</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int nargs); 58*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlXPathCeilingFunction">xmlXPathCeilingFunction</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int nargs); 59*7c568831SAndroid Build Coastguard Workerint <a href="#xmlXPathCompareValues">xmlXPathCompareValues</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int inf, <br> int strict); 60*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlXPathConcatFunction">xmlXPathConcatFunction</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int nargs); 61*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlXPathContainsFunction">xmlXPathContainsFunction</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int nargs); 62*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlXPathCountFunction">xmlXPathCountFunction</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int nargs); 63*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlXPathDebugDumpCompExpr">xmlXPathDebugDumpCompExpr</a> (FILE * output, <br> <a href="libxml2-xpath.html#xmlXPathCompExprPtr">xmlXPathCompExprPtr</a> comp, <br> int depth); 64*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlXPathDebugDumpObject">xmlXPathDebugDumpObject</a> (FILE * output, <br> <a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> cur, <br> int depth); 65*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> <a href="#xmlXPathDifference">xmlXPathDifference</a> (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodes1, <br> <a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodes2); 66*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> <a href="#xmlXPathDistinct">xmlXPathDistinct</a> (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodes); 67*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> <a href="#xmlXPathDistinctSorted">xmlXPathDistinctSorted</a> (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodes); 68*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlXPathDivValues">xmlXPathDivValues</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt); 69*7c568831SAndroid Build Coastguard Workerint <a href="#xmlXPathEqualValues">xmlXPathEqualValues</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt); 70*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlXPathErr">xmlXPathErr</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int code); 71*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlXPathEvalExpr">xmlXPathEvalExpr</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt); 72*7c568831SAndroid Build Coastguard Workerint <a href="#xmlXPathEvaluatePredicateResult">xmlXPathEvaluatePredicateResult</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> <a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> res); 73*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlXPathFalseFunction">xmlXPathFalseFunction</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int nargs); 74*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlXPathFloorFunction">xmlXPathFloorFunction</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int nargs); 75*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlXPathFreeParserContext">xmlXPathFreeParserContext</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt); 76*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xpath.html#xmlXPathFunction">xmlXPathFunction</a> <a href="#xmlXPathFunctionLookup">xmlXPathFunctionLookup</a> (<a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctxt, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name); 77*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xpath.html#xmlXPathFunction">xmlXPathFunction</a> <a href="#xmlXPathFunctionLookupNS">xmlXPathFunctionLookupNS</a> (<a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctxt, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * ns_uri); 78*7c568831SAndroid Build Coastguard Workerint <a href="#xmlXPathHasSameNodes">xmlXPathHasSameNodes</a> (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodes1, <br> <a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodes2); 79*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlXPathIdFunction">xmlXPathIdFunction</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int nargs); 80*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> <a href="#xmlXPathIntersection">xmlXPathIntersection</a> (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodes1, <br> <a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodes2); 81*7c568831SAndroid Build Coastguard Workerint <a href="#xmlXPathIsNodeType">xmlXPathIsNodeType</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name); 82*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlXPathLangFunction">xmlXPathLangFunction</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int nargs); 83*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlXPathLastFunction">xmlXPathLastFunction</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int nargs); 84*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> <a href="#xmlXPathLeading">xmlXPathLeading</a> (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodes1, <br> <a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodes2); 85*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> <a href="#xmlXPathLeadingSorted">xmlXPathLeadingSorted</a> (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodes1, <br> <a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodes2); 86*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlXPathLocalNameFunction">xmlXPathLocalNameFunction</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int nargs); 87*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlXPathModValues">xmlXPathModValues</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt); 88*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlXPathMultValues">xmlXPathMultValues</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt); 89*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlXPathNamespaceURIFunction">xmlXPathNamespaceURIFunction</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int nargs); 90*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> <a href="#xmlXPathNewBoolean">xmlXPathNewBoolean</a> (int val); 91*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> <a href="#xmlXPathNewCString">xmlXPathNewCString</a> (const char * val); 92*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> <a href="#xmlXPathNewFloat">xmlXPathNewFloat</a> (double val); 93*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> <a href="#xmlXPathNewNodeSet">xmlXPathNewNodeSet</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> val); 94*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> <a href="#xmlXPathNewNodeSetList">xmlXPathNewNodeSetList</a> (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> val); 95*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> <a href="#xmlXPathNewParserContext">xmlXPathNewParserContext</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str, <br> <a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctxt); 96*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> <a href="#xmlXPathNewString">xmlXPathNewString</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * val); 97*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> <a href="#xmlXPathNewValueTree">xmlXPathNewValueTree</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> val); 98*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlXPathNextAncestor">xmlXPathNextAncestor</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur); 99*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlXPathNextAncestorOrSelf">xmlXPathNextAncestorOrSelf</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur); 100*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlXPathNextAttribute">xmlXPathNextAttribute</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur); 101*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlXPathNextChild">xmlXPathNextChild</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur); 102*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlXPathNextDescendant">xmlXPathNextDescendant</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur); 103*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlXPathNextDescendantOrSelf">xmlXPathNextDescendantOrSelf</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur); 104*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlXPathNextFollowing">xmlXPathNextFollowing</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur); 105*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlXPathNextFollowingSibling">xmlXPathNextFollowingSibling</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur); 106*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlXPathNextNamespace">xmlXPathNextNamespace</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur); 107*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlXPathNextParent">xmlXPathNextParent</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur); 108*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlXPathNextPreceding">xmlXPathNextPreceding</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur); 109*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlXPathNextPrecedingSibling">xmlXPathNextPrecedingSibling</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur); 110*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlXPathNextSelf">xmlXPathNextSelf</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur); 111*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> <a href="#xmlXPathNodeLeading">xmlXPathNodeLeading</a> (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodes, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node); 112*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> <a href="#xmlXPathNodeLeadingSorted">xmlXPathNodeLeadingSorted</a> (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodes, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node); 113*7c568831SAndroid Build Coastguard Workerint <a href="#xmlXPathNodeSetAdd">xmlXPathNodeSetAdd</a> (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> cur, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> val); 114*7c568831SAndroid Build Coastguard Workerint <a href="#xmlXPathNodeSetAddNs">xmlXPathNodeSetAddNs</a> (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> cur, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node, <br> <a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> ns); 115*7c568831SAndroid Build Coastguard Workerint <a href="#xmlXPathNodeSetAddUnique">xmlXPathNodeSetAddUnique</a> (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> cur, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> val); 116*7c568831SAndroid Build Coastguard Workerint <a href="#xmlXPathNodeSetContains">xmlXPathNodeSetContains</a> (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> cur, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> val); 117*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlXPathNodeSetDel">xmlXPathNodeSetDel</a> (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> cur, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> val); 118*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlXPathNodeSetFreeNs">xmlXPathNodeSetFreeNs</a> (<a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> ns); 119*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> <a href="#xmlXPathNodeSetMerge">xmlXPathNodeSetMerge</a> (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> val1, <br> <a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> val2); 120*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlXPathNodeSetRemove">xmlXPathNodeSetRemove</a> (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> cur, <br> int val); 121*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlXPathNodeSetSort">xmlXPathNodeSetSort</a> (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> set); 122*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> <a href="#xmlXPathNodeTrailing">xmlXPathNodeTrailing</a> (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodes, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node); 123*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> <a href="#xmlXPathNodeTrailingSorted">xmlXPathNodeTrailingSorted</a> (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodes, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node); 124*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlXPathNormalizeFunction">xmlXPathNormalizeFunction</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int nargs); 125*7c568831SAndroid Build Coastguard Workerint <a href="#xmlXPathNotEqualValues">xmlXPathNotEqualValues</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt); 126*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlXPathNotFunction">xmlXPathNotFunction</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int nargs); 127*7c568831SAndroid Build Coastguard Workerconst <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlXPathNsLookup">xmlXPathNsLookup</a> (<a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctxt, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * prefix); 128*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlXPathNumberFunction">xmlXPathNumberFunction</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int nargs); 129*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlXPathParseNCName">xmlXPathParseNCName</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt); 130*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlXPathParseName">xmlXPathParseName</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt); 131*7c568831SAndroid Build Coastguard Workerint <a href="#xmlXPathPopBoolean">xmlXPathPopBoolean</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt); 132*7c568831SAndroid Build Coastguard Workervoid * <a href="#xmlXPathPopExternal">xmlXPathPopExternal</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt); 133*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> <a href="#xmlXPathPopNodeSet">xmlXPathPopNodeSet</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt); 134*7c568831SAndroid Build Coastguard Workerdouble <a href="#xmlXPathPopNumber">xmlXPathPopNumber</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt); 135*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlXPathPopString">xmlXPathPopString</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt); 136*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlXPathPositionFunction">xmlXPathPositionFunction</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int nargs); 137*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlXPathRegisterAllFunctions">xmlXPathRegisterAllFunctions</a> (<a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctxt); 138*7c568831SAndroid Build Coastguard Workerint <a href="#xmlXPathRegisterFunc">xmlXPathRegisterFunc</a> (<a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctxt, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br> <a href="libxml2-xpath.html#xmlXPathFunction">xmlXPathFunction</a> f); 139*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlXPathRegisterFuncLookup">xmlXPathRegisterFuncLookup</a> (<a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctxt, <br> <a href="libxml2-xpath.html#xmlXPathFuncLookupFunc">xmlXPathFuncLookupFunc</a> f, <br> void * funcCtxt); 140*7c568831SAndroid Build Coastguard Workerint <a href="#xmlXPathRegisterFuncNS">xmlXPathRegisterFuncNS</a> (<a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctxt, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * ns_uri, <br> <a href="libxml2-xpath.html#xmlXPathFunction">xmlXPathFunction</a> f); 141*7c568831SAndroid Build Coastguard Workerint <a href="#xmlXPathRegisterNs">xmlXPathRegisterNs</a> (<a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctxt, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * prefix, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * ns_uri); 142*7c568831SAndroid Build Coastguard Workerint <a href="#xmlXPathRegisterVariable">xmlXPathRegisterVariable</a> (<a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctxt, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br> <a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> value); 143*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlXPathRegisterVariableLookup">xmlXPathRegisterVariableLookup</a> (<a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctxt, <br> <a href="libxml2-xpath.html#xmlXPathVariableLookupFunc">xmlXPathVariableLookupFunc</a> f, <br> void * data); 144*7c568831SAndroid Build Coastguard Workerint <a href="#xmlXPathRegisterVariableNS">xmlXPathRegisterVariableNS</a> (<a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctxt, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * ns_uri, <br> <a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> value); 145*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlXPathRegisteredFuncsCleanup">xmlXPathRegisteredFuncsCleanup</a> (<a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctxt); 146*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlXPathRegisteredNsCleanup">xmlXPathRegisteredNsCleanup</a> (<a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctxt); 147*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlXPathRegisteredVariablesCleanup">xmlXPathRegisteredVariablesCleanup</a> (<a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctxt); 148*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlXPathRoot">xmlXPathRoot</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt); 149*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlXPathRoundFunction">xmlXPathRoundFunction</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int nargs); 150*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlXPathStartsWithFunction">xmlXPathStartsWithFunction</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int nargs); 151*7c568831SAndroid Build Coastguard Workerdouble <a href="#xmlXPathStringEvalNumber">xmlXPathStringEvalNumber</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str); 152*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlXPathStringFunction">xmlXPathStringFunction</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int nargs); 153*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlXPathStringLengthFunction">xmlXPathStringLengthFunction</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int nargs); 154*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlXPathSubValues">xmlXPathSubValues</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt); 155*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlXPathSubstringAfterFunction">xmlXPathSubstringAfterFunction</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int nargs); 156*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlXPathSubstringBeforeFunction">xmlXPathSubstringBeforeFunction</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int nargs); 157*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlXPathSubstringFunction">xmlXPathSubstringFunction</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int nargs); 158*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlXPathSumFunction">xmlXPathSumFunction</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int nargs); 159*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> <a href="#xmlXPathTrailing">xmlXPathTrailing</a> (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodes1, <br> <a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodes2); 160*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> <a href="#xmlXPathTrailingSorted">xmlXPathTrailingSorted</a> (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodes1, <br> <a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodes2); 161*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlXPathTranslateFunction">xmlXPathTranslateFunction</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int nargs); 162*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlXPathTrueFunction">xmlXPathTrueFunction</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int nargs); 163*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlXPathValueFlipSign">xmlXPathValueFlipSign</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt); 164*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> <a href="#xmlXPathVariableLookup">xmlXPathVariableLookup</a> (<a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctxt, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name); 165*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> <a href="#xmlXPathVariableLookupNS">xmlXPathVariableLookupNS</a> (<a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctxt, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * ns_uri); 166*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> <a href="#xmlXPathWrapCString">xmlXPathWrapCString</a> (char * val); 167*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> <a href="#xmlXPathWrapExternal">xmlXPathWrapExternal</a> (void * val); 168*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> <a href="#xmlXPathWrapNodeSet">xmlXPathWrapNodeSet</a> (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> val); 169*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> <a href="#xmlXPathWrapString">xmlXPathWrapString</a> (<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * val); 170*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlXPatherror">xmlXPatherror</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> const char * file, <br> int line, <br> int no); 171*7c568831SAndroid Build Coastguard Worker</pre> 172*7c568831SAndroid Build Coastguard Worker</div> 173*7c568831SAndroid Build Coastguard Worker<div class="refsect1" lang="en"><h2>Description</h2></div> 174*7c568831SAndroid Build Coastguard Worker<div class="refsect1" lang="en"> 175*7c568831SAndroid Build Coastguard Worker<h2>Details</h2> 176*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 177*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 178*7c568831SAndroid Build Coastguard Worker<h3> 179*7c568831SAndroid Build Coastguard Worker<a name="CAST_TO_BOOLEAN">Macro </a>CAST_TO_BOOLEAN</h3> 180*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">#define <a href="#CAST_TO_BOOLEAN">CAST_TO_BOOLEAN</a>; 181*7c568831SAndroid Build Coastguard Worker</pre> 182*7c568831SAndroid Build Coastguard Worker<p>Macro to try to cast the value on the top of the XPath stack to a boolean.</p> 183*7c568831SAndroid Build Coastguard Worker</div> 184*7c568831SAndroid Build Coastguard Worker<hr> 185*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 186*7c568831SAndroid Build Coastguard Worker<h3> 187*7c568831SAndroid Build Coastguard Worker<a name="CAST_TO_NUMBER">Macro </a>CAST_TO_NUMBER</h3> 188*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">#define <a href="#CAST_TO_NUMBER">CAST_TO_NUMBER</a>; 189*7c568831SAndroid Build Coastguard Worker</pre> 190*7c568831SAndroid Build Coastguard Worker<p>Macro to try to cast the value on the top of the XPath stack to a number.</p> 191*7c568831SAndroid Build Coastguard Worker</div> 192*7c568831SAndroid Build Coastguard Worker<hr> 193*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 194*7c568831SAndroid Build Coastguard Worker<h3> 195*7c568831SAndroid Build Coastguard Worker<a name="CAST_TO_STRING">Macro </a>CAST_TO_STRING</h3> 196*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">#define <a href="#CAST_TO_STRING">CAST_TO_STRING</a>; 197*7c568831SAndroid Build Coastguard Worker</pre> 198*7c568831SAndroid Build Coastguard Worker<p>Macro to try to cast the value on the top of the XPath stack to a string.</p> 199*7c568831SAndroid Build Coastguard Worker</div> 200*7c568831SAndroid Build Coastguard Worker<hr> 201*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 202*7c568831SAndroid Build Coastguard Worker<h3> 203*7c568831SAndroid Build Coastguard Worker<a name="CHECK_ARITY">Macro </a>CHECK_ARITY</h3> 204*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">#define <a href="#CHECK_ARITY">CHECK_ARITY</a>(x); 205*7c568831SAndroid Build Coastguard Worker</pre> 206*7c568831SAndroid Build Coastguard Worker<p>Macro to check that the number of args passed to an XPath function matches.</p> 207*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 208*7c568831SAndroid Build Coastguard Worker<col align="left"> 209*7c568831SAndroid Build Coastguard Worker<tbody><tr> 210*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>x</tt></i>:</span></td> 211*7c568831SAndroid Build Coastguard Worker<td>the number of expected args</td> 212*7c568831SAndroid Build Coastguard Worker</tr></tbody> 213*7c568831SAndroid Build Coastguard Worker</table></div> 214*7c568831SAndroid Build Coastguard Worker</div> 215*7c568831SAndroid Build Coastguard Worker<hr> 216*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 217*7c568831SAndroid Build Coastguard Worker<h3> 218*7c568831SAndroid Build Coastguard Worker<a name="CHECK_ERROR">Macro </a>CHECK_ERROR</h3> 219*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">#define <a href="#CHECK_ERROR">CHECK_ERROR</a>; 220*7c568831SAndroid Build Coastguard Worker</pre> 221*7c568831SAndroid Build Coastguard Worker<p>Macro to return from the function if an XPath error was detected.</p> 222*7c568831SAndroid Build Coastguard Worker</div> 223*7c568831SAndroid Build Coastguard Worker<hr> 224*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 225*7c568831SAndroid Build Coastguard Worker<h3> 226*7c568831SAndroid Build Coastguard Worker<a name="CHECK_ERROR0">Macro </a>CHECK_ERROR0</h3> 227*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">#define <a href="#CHECK_ERROR0">CHECK_ERROR0</a>; 228*7c568831SAndroid Build Coastguard Worker</pre> 229*7c568831SAndroid Build Coastguard Worker<p>Macro to return 0 from the function if an XPath error was detected.</p> 230*7c568831SAndroid Build Coastguard Worker</div> 231*7c568831SAndroid Build Coastguard Worker<hr> 232*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 233*7c568831SAndroid Build Coastguard Worker<h3> 234*7c568831SAndroid Build Coastguard Worker<a name="CHECK_TYPE">Macro </a>CHECK_TYPE</h3> 235*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">#define <a href="#CHECK_TYPE">CHECK_TYPE</a>(typeval); 236*7c568831SAndroid Build Coastguard Worker</pre> 237*7c568831SAndroid Build Coastguard Worker<p>Macro to check that the value on top of the XPath stack is of a given type.</p> 238*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 239*7c568831SAndroid Build Coastguard Worker<col align="left"> 240*7c568831SAndroid Build Coastguard Worker<tbody><tr> 241*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>typeval</tt></i>:</span></td> 242*7c568831SAndroid Build Coastguard Worker<td>the XPath type</td> 243*7c568831SAndroid Build Coastguard Worker</tr></tbody> 244*7c568831SAndroid Build Coastguard Worker</table></div> 245*7c568831SAndroid Build Coastguard Worker</div> 246*7c568831SAndroid Build Coastguard Worker<hr> 247*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 248*7c568831SAndroid Build Coastguard Worker<h3> 249*7c568831SAndroid Build Coastguard Worker<a name="CHECK_TYPE0">Macro </a>CHECK_TYPE0</h3> 250*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">#define <a href="#CHECK_TYPE0">CHECK_TYPE0</a>(typeval); 251*7c568831SAndroid Build Coastguard Worker</pre> 252*7c568831SAndroid Build Coastguard Worker<p>Macro to check that the value on top of the XPath stack is of a given type. Return(0) in case of failure</p> 253*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 254*7c568831SAndroid Build Coastguard Worker<col align="left"> 255*7c568831SAndroid Build Coastguard Worker<tbody><tr> 256*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>typeval</tt></i>:</span></td> 257*7c568831SAndroid Build Coastguard Worker<td>the XPath type</td> 258*7c568831SAndroid Build Coastguard Worker</tr></tbody> 259*7c568831SAndroid Build Coastguard Worker</table></div> 260*7c568831SAndroid Build Coastguard Worker</div> 261*7c568831SAndroid Build Coastguard Worker<hr> 262*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 263*7c568831SAndroid Build Coastguard Worker<h3> 264*7c568831SAndroid Build Coastguard Worker<a name="XP_ERROR">Macro </a>XP_ERROR</h3> 265*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">#define <a href="#XP_ERROR">XP_ERROR</a>(X); 266*7c568831SAndroid Build Coastguard Worker</pre> 267*7c568831SAndroid Build Coastguard Worker<p>Macro to raise an XPath error and return.</p> 268*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 269*7c568831SAndroid Build Coastguard Worker<col align="left"> 270*7c568831SAndroid Build Coastguard Worker<tbody><tr> 271*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>X</tt></i>:</span></td> 272*7c568831SAndroid Build Coastguard Worker<td>the error code</td> 273*7c568831SAndroid Build Coastguard Worker</tr></tbody> 274*7c568831SAndroid Build Coastguard Worker</table></div> 275*7c568831SAndroid Build Coastguard Worker</div> 276*7c568831SAndroid Build Coastguard Worker<hr> 277*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 278*7c568831SAndroid Build Coastguard Worker<h3> 279*7c568831SAndroid Build Coastguard Worker<a name="XP_ERROR0">Macro </a>XP_ERROR0</h3> 280*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">#define <a href="#XP_ERROR0">XP_ERROR0</a>(X); 281*7c568831SAndroid Build Coastguard Worker</pre> 282*7c568831SAndroid Build Coastguard Worker<p>Macro to raise an XPath error and return 0.</p> 283*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 284*7c568831SAndroid Build Coastguard Worker<col align="left"> 285*7c568831SAndroid Build Coastguard Worker<tbody><tr> 286*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>X</tt></i>:</span></td> 287*7c568831SAndroid Build Coastguard Worker<td>the error code</td> 288*7c568831SAndroid Build Coastguard Worker</tr></tbody> 289*7c568831SAndroid Build Coastguard Worker</table></div> 290*7c568831SAndroid Build Coastguard Worker</div> 291*7c568831SAndroid Build Coastguard Worker<hr> 292*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 293*7c568831SAndroid Build Coastguard Worker<h3> 294*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathCheckError">Macro </a>xmlXPathCheckError</h3> 295*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">#define <a href="#xmlXPathCheckError">xmlXPathCheckError</a>(ctxt); 296*7c568831SAndroid Build Coastguard Worker</pre> 297*7c568831SAndroid Build Coastguard Worker<p>Check if an XPath error was raised. Returns true if an error has been raised, false otherwise.</p> 298*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 299*7c568831SAndroid Build Coastguard Worker<col align="left"> 300*7c568831SAndroid Build Coastguard Worker<tbody><tr> 301*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 302*7c568831SAndroid Build Coastguard Worker<td>an XPath parser context</td> 303*7c568831SAndroid Build Coastguard Worker</tr></tbody> 304*7c568831SAndroid Build Coastguard Worker</table></div> 305*7c568831SAndroid Build Coastguard Worker</div> 306*7c568831SAndroid Build Coastguard Worker<hr> 307*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 308*7c568831SAndroid Build Coastguard Worker<h3> 309*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathEmptyNodeSet">Macro </a>xmlXPathEmptyNodeSet</h3> 310*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">#define <a href="#xmlXPathEmptyNodeSet">xmlXPathEmptyNodeSet</a>(ns); 311*7c568831SAndroid Build Coastguard Worker</pre> 312*7c568831SAndroid Build Coastguard Worker<p>Empties a node-set.</p> 313*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 314*7c568831SAndroid Build Coastguard Worker<col align="left"> 315*7c568831SAndroid Build Coastguard Worker<tbody><tr> 316*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ns</tt></i>:</span></td> 317*7c568831SAndroid Build Coastguard Worker<td>a node-set</td> 318*7c568831SAndroid Build Coastguard Worker</tr></tbody> 319*7c568831SAndroid Build Coastguard Worker</table></div> 320*7c568831SAndroid Build Coastguard Worker</div> 321*7c568831SAndroid Build Coastguard Worker<hr> 322*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 323*7c568831SAndroid Build Coastguard Worker<h3> 324*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathGetContextNode">Macro </a>xmlXPathGetContextNode</h3> 325*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">#define <a href="#xmlXPathGetContextNode">xmlXPathGetContextNode</a>(ctxt); 326*7c568831SAndroid Build Coastguard Worker</pre> 327*7c568831SAndroid Build Coastguard Worker<p>Get the context node of an XPath context. Returns the context node.</p> 328*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 329*7c568831SAndroid Build Coastguard Worker<col align="left"> 330*7c568831SAndroid Build Coastguard Worker<tbody><tr> 331*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 332*7c568831SAndroid Build Coastguard Worker<td>an XPath parser context</td> 333*7c568831SAndroid Build Coastguard Worker</tr></tbody> 334*7c568831SAndroid Build Coastguard Worker</table></div> 335*7c568831SAndroid Build Coastguard Worker</div> 336*7c568831SAndroid Build Coastguard Worker<hr> 337*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 338*7c568831SAndroid Build Coastguard Worker<h3> 339*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathGetDocument">Macro </a>xmlXPathGetDocument</h3> 340*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">#define <a href="#xmlXPathGetDocument">xmlXPathGetDocument</a>(ctxt); 341*7c568831SAndroid Build Coastguard Worker</pre> 342*7c568831SAndroid Build Coastguard Worker<p>Get the document of an XPath context. Returns the context document.</p> 343*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 344*7c568831SAndroid Build Coastguard Worker<col align="left"> 345*7c568831SAndroid Build Coastguard Worker<tbody><tr> 346*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 347*7c568831SAndroid Build Coastguard Worker<td>an XPath parser context</td> 348*7c568831SAndroid Build Coastguard Worker</tr></tbody> 349*7c568831SAndroid Build Coastguard Worker</table></div> 350*7c568831SAndroid Build Coastguard Worker</div> 351*7c568831SAndroid Build Coastguard Worker<hr> 352*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 353*7c568831SAndroid Build Coastguard Worker<h3> 354*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathGetError">Macro </a>xmlXPathGetError</h3> 355*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">#define <a href="#xmlXPathGetError">xmlXPathGetError</a>(ctxt); 356*7c568831SAndroid Build Coastguard Worker</pre> 357*7c568831SAndroid Build Coastguard Worker<p>Get the error code of an XPath context. Returns the context error.</p> 358*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 359*7c568831SAndroid Build Coastguard Worker<col align="left"> 360*7c568831SAndroid Build Coastguard Worker<tbody><tr> 361*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 362*7c568831SAndroid Build Coastguard Worker<td>an XPath parser context</td> 363*7c568831SAndroid Build Coastguard Worker</tr></tbody> 364*7c568831SAndroid Build Coastguard Worker</table></div> 365*7c568831SAndroid Build Coastguard Worker</div> 366*7c568831SAndroid Build Coastguard Worker<hr> 367*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 368*7c568831SAndroid Build Coastguard Worker<h3> 369*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathReturnBoolean">Macro </a>xmlXPathReturnBoolean</h3> 370*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">#define <a href="#xmlXPathReturnBoolean">xmlXPathReturnBoolean</a>(ctxt, val); 371*7c568831SAndroid Build Coastguard Worker</pre> 372*7c568831SAndroid Build Coastguard Worker<p>Pushes the boolean @val on the context stack.</p> 373*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 374*7c568831SAndroid Build Coastguard Worker<col align="left"> 375*7c568831SAndroid Build Coastguard Worker<tbody> 376*7c568831SAndroid Build Coastguard Worker<tr> 377*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 378*7c568831SAndroid Build Coastguard Worker<td>an XPath parser context</td> 379*7c568831SAndroid Build Coastguard Worker</tr> 380*7c568831SAndroid Build Coastguard Worker<tr> 381*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>val</tt></i>:</span></td> 382*7c568831SAndroid Build Coastguard Worker<td>a boolean</td> 383*7c568831SAndroid Build Coastguard Worker</tr> 384*7c568831SAndroid Build Coastguard Worker</tbody> 385*7c568831SAndroid Build Coastguard Worker</table></div> 386*7c568831SAndroid Build Coastguard Worker</div> 387*7c568831SAndroid Build Coastguard Worker<hr> 388*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 389*7c568831SAndroid Build Coastguard Worker<h3> 390*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathReturnEmptyNodeSet">Macro </a>xmlXPathReturnEmptyNodeSet</h3> 391*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">#define <a href="#xmlXPathReturnEmptyNodeSet">xmlXPathReturnEmptyNodeSet</a>(ctxt); 392*7c568831SAndroid Build Coastguard Worker</pre> 393*7c568831SAndroid Build Coastguard Worker<p>Pushes an empty node-set on the context stack.</p> 394*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 395*7c568831SAndroid Build Coastguard Worker<col align="left"> 396*7c568831SAndroid Build Coastguard Worker<tbody><tr> 397*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 398*7c568831SAndroid Build Coastguard Worker<td>an XPath parser context</td> 399*7c568831SAndroid Build Coastguard Worker</tr></tbody> 400*7c568831SAndroid Build Coastguard Worker</table></div> 401*7c568831SAndroid Build Coastguard Worker</div> 402*7c568831SAndroid Build Coastguard Worker<hr> 403*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 404*7c568831SAndroid Build Coastguard Worker<h3> 405*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathReturnEmptyString">Macro </a>xmlXPathReturnEmptyString</h3> 406*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">#define <a href="#xmlXPathReturnEmptyString">xmlXPathReturnEmptyString</a>(ctxt); 407*7c568831SAndroid Build Coastguard Worker</pre> 408*7c568831SAndroid Build Coastguard Worker<p>Pushes an empty string on the stack.</p> 409*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 410*7c568831SAndroid Build Coastguard Worker<col align="left"> 411*7c568831SAndroid Build Coastguard Worker<tbody><tr> 412*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 413*7c568831SAndroid Build Coastguard Worker<td>an XPath parser context</td> 414*7c568831SAndroid Build Coastguard Worker</tr></tbody> 415*7c568831SAndroid Build Coastguard Worker</table></div> 416*7c568831SAndroid Build Coastguard Worker</div> 417*7c568831SAndroid Build Coastguard Worker<hr> 418*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 419*7c568831SAndroid Build Coastguard Worker<h3> 420*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathReturnExternal">Macro </a>xmlXPathReturnExternal</h3> 421*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">#define <a href="#xmlXPathReturnExternal">xmlXPathReturnExternal</a>(ctxt, val); 422*7c568831SAndroid Build Coastguard Worker</pre> 423*7c568831SAndroid Build Coastguard Worker<p>Pushes user data on the context stack.</p> 424*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 425*7c568831SAndroid Build Coastguard Worker<col align="left"> 426*7c568831SAndroid Build Coastguard Worker<tbody> 427*7c568831SAndroid Build Coastguard Worker<tr> 428*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 429*7c568831SAndroid Build Coastguard Worker<td>an XPath parser context</td> 430*7c568831SAndroid Build Coastguard Worker</tr> 431*7c568831SAndroid Build Coastguard Worker<tr> 432*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>val</tt></i>:</span></td> 433*7c568831SAndroid Build Coastguard Worker<td>user data</td> 434*7c568831SAndroid Build Coastguard Worker</tr> 435*7c568831SAndroid Build Coastguard Worker</tbody> 436*7c568831SAndroid Build Coastguard Worker</table></div> 437*7c568831SAndroid Build Coastguard Worker</div> 438*7c568831SAndroid Build Coastguard Worker<hr> 439*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 440*7c568831SAndroid Build Coastguard Worker<h3> 441*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathReturnFalse">Macro </a>xmlXPathReturnFalse</h3> 442*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">#define <a href="#xmlXPathReturnFalse">xmlXPathReturnFalse</a>(ctxt); 443*7c568831SAndroid Build Coastguard Worker</pre> 444*7c568831SAndroid Build Coastguard Worker<p>Pushes false on the context stack.</p> 445*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 446*7c568831SAndroid Build Coastguard Worker<col align="left"> 447*7c568831SAndroid Build Coastguard Worker<tbody><tr> 448*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 449*7c568831SAndroid Build Coastguard Worker<td>an XPath parser context</td> 450*7c568831SAndroid Build Coastguard Worker</tr></tbody> 451*7c568831SAndroid Build Coastguard Worker</table></div> 452*7c568831SAndroid Build Coastguard Worker</div> 453*7c568831SAndroid Build Coastguard Worker<hr> 454*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 455*7c568831SAndroid Build Coastguard Worker<h3> 456*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathReturnNodeSet">Macro </a>xmlXPathReturnNodeSet</h3> 457*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">#define <a href="#xmlXPathReturnNodeSet">xmlXPathReturnNodeSet</a>(ctxt, ns); 458*7c568831SAndroid Build Coastguard Worker</pre> 459*7c568831SAndroid Build Coastguard Worker<p>Pushes the node-set @ns on the context stack.</p> 460*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 461*7c568831SAndroid Build Coastguard Worker<col align="left"> 462*7c568831SAndroid Build Coastguard Worker<tbody> 463*7c568831SAndroid Build Coastguard Worker<tr> 464*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 465*7c568831SAndroid Build Coastguard Worker<td>an XPath parser context</td> 466*7c568831SAndroid Build Coastguard Worker</tr> 467*7c568831SAndroid Build Coastguard Worker<tr> 468*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ns</tt></i>:</span></td> 469*7c568831SAndroid Build Coastguard Worker<td>a node-set</td> 470*7c568831SAndroid Build Coastguard Worker</tr> 471*7c568831SAndroid Build Coastguard Worker</tbody> 472*7c568831SAndroid Build Coastguard Worker</table></div> 473*7c568831SAndroid Build Coastguard Worker</div> 474*7c568831SAndroid Build Coastguard Worker<hr> 475*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 476*7c568831SAndroid Build Coastguard Worker<h3> 477*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathReturnNumber">Macro </a>xmlXPathReturnNumber</h3> 478*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">#define <a href="#xmlXPathReturnNumber">xmlXPathReturnNumber</a>(ctxt, val); 479*7c568831SAndroid Build Coastguard Worker</pre> 480*7c568831SAndroid Build Coastguard Worker<p>Pushes the double @val on the context stack.</p> 481*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 482*7c568831SAndroid Build Coastguard Worker<col align="left"> 483*7c568831SAndroid Build Coastguard Worker<tbody> 484*7c568831SAndroid Build Coastguard Worker<tr> 485*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 486*7c568831SAndroid Build Coastguard Worker<td>an XPath parser context</td> 487*7c568831SAndroid Build Coastguard Worker</tr> 488*7c568831SAndroid Build Coastguard Worker<tr> 489*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>val</tt></i>:</span></td> 490*7c568831SAndroid Build Coastguard Worker<td>a double</td> 491*7c568831SAndroid Build Coastguard Worker</tr> 492*7c568831SAndroid Build Coastguard Worker</tbody> 493*7c568831SAndroid Build Coastguard Worker</table></div> 494*7c568831SAndroid Build Coastguard Worker</div> 495*7c568831SAndroid Build Coastguard Worker<hr> 496*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 497*7c568831SAndroid Build Coastguard Worker<h3> 498*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathReturnString">Macro </a>xmlXPathReturnString</h3> 499*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">#define <a href="#xmlXPathReturnString">xmlXPathReturnString</a>(ctxt, str); 500*7c568831SAndroid Build Coastguard Worker</pre> 501*7c568831SAndroid Build Coastguard Worker<p>Pushes the string @str on the context stack.</p> 502*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 503*7c568831SAndroid Build Coastguard Worker<col align="left"> 504*7c568831SAndroid Build Coastguard Worker<tbody> 505*7c568831SAndroid Build Coastguard Worker<tr> 506*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 507*7c568831SAndroid Build Coastguard Worker<td>an XPath parser context</td> 508*7c568831SAndroid Build Coastguard Worker</tr> 509*7c568831SAndroid Build Coastguard Worker<tr> 510*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>str</tt></i>:</span></td> 511*7c568831SAndroid Build Coastguard Worker<td>a string</td> 512*7c568831SAndroid Build Coastguard Worker</tr> 513*7c568831SAndroid Build Coastguard Worker</tbody> 514*7c568831SAndroid Build Coastguard Worker</table></div> 515*7c568831SAndroid Build Coastguard Worker</div> 516*7c568831SAndroid Build Coastguard Worker<hr> 517*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 518*7c568831SAndroid Build Coastguard Worker<h3> 519*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathReturnTrue">Macro </a>xmlXPathReturnTrue</h3> 520*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">#define <a href="#xmlXPathReturnTrue">xmlXPathReturnTrue</a>(ctxt); 521*7c568831SAndroid Build Coastguard Worker</pre> 522*7c568831SAndroid Build Coastguard Worker<p>Pushes true on the context stack.</p> 523*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 524*7c568831SAndroid Build Coastguard Worker<col align="left"> 525*7c568831SAndroid Build Coastguard Worker<tbody><tr> 526*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 527*7c568831SAndroid Build Coastguard Worker<td>an XPath parser context</td> 528*7c568831SAndroid Build Coastguard Worker</tr></tbody> 529*7c568831SAndroid Build Coastguard Worker</table></div> 530*7c568831SAndroid Build Coastguard Worker</div> 531*7c568831SAndroid Build Coastguard Worker<hr> 532*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 533*7c568831SAndroid Build Coastguard Worker<h3> 534*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathSetArityError">Macro </a>xmlXPathSetArityError</h3> 535*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">#define <a href="#xmlXPathSetArityError">xmlXPathSetArityError</a>(ctxt); 536*7c568831SAndroid Build Coastguard Worker</pre> 537*7c568831SAndroid Build Coastguard Worker<p>Raises an <a href="libxml2-xpath.html#XPATH_INVALID_ARITY">XPATH_INVALID_ARITY</a> error.</p> 538*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 539*7c568831SAndroid Build Coastguard Worker<col align="left"> 540*7c568831SAndroid Build Coastguard Worker<tbody><tr> 541*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 542*7c568831SAndroid Build Coastguard Worker<td>an XPath parser context</td> 543*7c568831SAndroid Build Coastguard Worker</tr></tbody> 544*7c568831SAndroid Build Coastguard Worker</table></div> 545*7c568831SAndroid Build Coastguard Worker</div> 546*7c568831SAndroid Build Coastguard Worker<hr> 547*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 548*7c568831SAndroid Build Coastguard Worker<h3> 549*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathSetError">Macro </a>xmlXPathSetError</h3> 550*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">#define <a href="#xmlXPathSetError">xmlXPathSetError</a>(ctxt, err); 551*7c568831SAndroid Build Coastguard Worker</pre> 552*7c568831SAndroid Build Coastguard Worker<p>Raises an error.</p> 553*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 554*7c568831SAndroid Build Coastguard Worker<col align="left"> 555*7c568831SAndroid Build Coastguard Worker<tbody> 556*7c568831SAndroid Build Coastguard Worker<tr> 557*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 558*7c568831SAndroid Build Coastguard Worker<td>an XPath parser context</td> 559*7c568831SAndroid Build Coastguard Worker</tr> 560*7c568831SAndroid Build Coastguard Worker<tr> 561*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>err</tt></i>:</span></td> 562*7c568831SAndroid Build Coastguard Worker<td>an <a href="libxml2-xpath.html#xmlXPathError">xmlXPathError</a> code</td> 563*7c568831SAndroid Build Coastguard Worker</tr> 564*7c568831SAndroid Build Coastguard Worker</tbody> 565*7c568831SAndroid Build Coastguard Worker</table></div> 566*7c568831SAndroid Build Coastguard Worker</div> 567*7c568831SAndroid Build Coastguard Worker<hr> 568*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 569*7c568831SAndroid Build Coastguard Worker<h3> 570*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathSetTypeError">Macro </a>xmlXPathSetTypeError</h3> 571*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">#define <a href="#xmlXPathSetTypeError">xmlXPathSetTypeError</a>(ctxt); 572*7c568831SAndroid Build Coastguard Worker</pre> 573*7c568831SAndroid Build Coastguard Worker<p>Raises an <a href="libxml2-xpath.html#XPATH_INVALID_TYPE">XPATH_INVALID_TYPE</a> error.</p> 574*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 575*7c568831SAndroid Build Coastguard Worker<col align="left"> 576*7c568831SAndroid Build Coastguard Worker<tbody><tr> 577*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 578*7c568831SAndroid Build Coastguard Worker<td>an XPath parser context</td> 579*7c568831SAndroid Build Coastguard Worker</tr></tbody> 580*7c568831SAndroid Build Coastguard Worker</table></div> 581*7c568831SAndroid Build Coastguard Worker</div> 582*7c568831SAndroid Build Coastguard Worker<hr> 583*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 584*7c568831SAndroid Build Coastguard Worker<h3> 585*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathStackIsExternal">Macro </a>xmlXPathStackIsExternal</h3> 586*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">#define <a href="#xmlXPathStackIsExternal">xmlXPathStackIsExternal</a>(ctxt); 587*7c568831SAndroid Build Coastguard Worker</pre> 588*7c568831SAndroid Build Coastguard Worker<p>Checks if the current value on the XPath stack is an external object. Returns true if the current object on the stack is an external object.</p> 589*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 590*7c568831SAndroid Build Coastguard Worker<col align="left"> 591*7c568831SAndroid Build Coastguard Worker<tbody><tr> 592*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 593*7c568831SAndroid Build Coastguard Worker<td>an XPath parser context</td> 594*7c568831SAndroid Build Coastguard Worker</tr></tbody> 595*7c568831SAndroid Build Coastguard Worker</table></div> 596*7c568831SAndroid Build Coastguard Worker</div> 597*7c568831SAndroid Build Coastguard Worker<hr> 598*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 599*7c568831SAndroid Build Coastguard Worker<h3> 600*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathStackIsNodeSet">Macro </a>xmlXPathStackIsNodeSet</h3> 601*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">#define <a href="#xmlXPathStackIsNodeSet">xmlXPathStackIsNodeSet</a>(ctxt); 602*7c568831SAndroid Build Coastguard Worker</pre> 603*7c568831SAndroid Build Coastguard Worker<p>Check if the current value on the XPath stack is a node set or an XSLT value tree. Returns true if the current object on the stack is a node-set.</p> 604*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 605*7c568831SAndroid Build Coastguard Worker<col align="left"> 606*7c568831SAndroid Build Coastguard Worker<tbody><tr> 607*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 608*7c568831SAndroid Build Coastguard Worker<td>an XPath parser context</td> 609*7c568831SAndroid Build Coastguard Worker</tr></tbody> 610*7c568831SAndroid Build Coastguard Worker</table></div> 611*7c568831SAndroid Build Coastguard Worker</div> 612*7c568831SAndroid Build Coastguard Worker<hr> 613*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 614*7c568831SAndroid Build Coastguard Worker<h3> 615*7c568831SAndroid Build Coastguard Worker<a name="valuePop"></a>valuePop ()</h3> 616*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> valuePop (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt)<br> 617*7c568831SAndroid Build Coastguard Worker</pre> 618*7c568831SAndroid Build Coastguard Worker<p>Pops the top XPath object from the value stack</p> 619*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 620*7c568831SAndroid Build Coastguard Worker<col align="left"> 621*7c568831SAndroid Build Coastguard Worker<tbody> 622*7c568831SAndroid Build Coastguard Worker<tr> 623*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 624*7c568831SAndroid Build Coastguard Worker<td>an XPath evaluation context</td> 625*7c568831SAndroid Build Coastguard Worker</tr> 626*7c568831SAndroid Build Coastguard Worker<tr> 627*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 628*7c568831SAndroid Build Coastguard Worker<td>the XPath object just removed</td> 629*7c568831SAndroid Build Coastguard Worker</tr> 630*7c568831SAndroid Build Coastguard Worker</tbody> 631*7c568831SAndroid Build Coastguard Worker</table></div> 632*7c568831SAndroid Build Coastguard Worker</div> 633*7c568831SAndroid Build Coastguard Worker<hr> 634*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 635*7c568831SAndroid Build Coastguard Worker<h3> 636*7c568831SAndroid Build Coastguard Worker<a name="valuePush"></a>valuePush ()</h3> 637*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int valuePush (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> <a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> value)<br> 638*7c568831SAndroid Build Coastguard Worker</pre> 639*7c568831SAndroid Build Coastguard Worker<p>Pushes a new XPath object on top of the value stack. If value is NULL, a memory error is recorded in the parser context.</p> 640*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 641*7c568831SAndroid Build Coastguard Worker<col align="left"> 642*7c568831SAndroid Build Coastguard Worker<tbody> 643*7c568831SAndroid Build Coastguard Worker<tr> 644*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 645*7c568831SAndroid Build Coastguard Worker<td>an XPath evaluation context</td> 646*7c568831SAndroid Build Coastguard Worker</tr> 647*7c568831SAndroid Build Coastguard Worker<tr> 648*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>value</tt></i>:</span></td> 649*7c568831SAndroid Build Coastguard Worker<td>the XPath object</td> 650*7c568831SAndroid Build Coastguard Worker</tr> 651*7c568831SAndroid Build Coastguard Worker<tr> 652*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 653*7c568831SAndroid Build Coastguard Worker<td>the number of items on the value stack, or -1 in case of error. The object is destroyed in case of error.</td> 654*7c568831SAndroid Build Coastguard Worker</tr> 655*7c568831SAndroid Build Coastguard Worker</tbody> 656*7c568831SAndroid Build Coastguard Worker</table></div> 657*7c568831SAndroid Build Coastguard Worker</div> 658*7c568831SAndroid Build Coastguard Worker<hr> 659*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 660*7c568831SAndroid Build Coastguard Worker<h3> 661*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathAddValues"></a>xmlXPathAddValues ()</h3> 662*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlXPathAddValues (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt)<br> 663*7c568831SAndroid Build Coastguard Worker</pre> 664*7c568831SAndroid Build Coastguard Worker<p>Implement the add operation on XPath objects: The numeric operators convert their operands to numbers as if by calling the number function.</p> 665*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 666*7c568831SAndroid Build Coastguard Worker<col align="left"> 667*7c568831SAndroid Build Coastguard Worker<tbody><tr> 668*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 669*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 670*7c568831SAndroid Build Coastguard Worker</tr></tbody> 671*7c568831SAndroid Build Coastguard Worker</table></div> 672*7c568831SAndroid Build Coastguard Worker</div> 673*7c568831SAndroid Build Coastguard Worker<hr> 674*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 675*7c568831SAndroid Build Coastguard Worker<h3> 676*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathBooleanFunction"></a>xmlXPathBooleanFunction ()</h3> 677*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlXPathBooleanFunction (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int nargs)<br> 678*7c568831SAndroid Build Coastguard Worker</pre> 679*7c568831SAndroid Build Coastguard Worker<p>Implement the boolean() XPath function boolean boolean(object) The boolean function converts its argument to a boolean as follows: - a number is true if and only if it is neither positive or negative zero nor NaN - a node-set is true if and only if it is non-empty - a string is true if and only if its length is non-zero</p> 680*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 681*7c568831SAndroid Build Coastguard Worker<col align="left"> 682*7c568831SAndroid Build Coastguard Worker<tbody> 683*7c568831SAndroid Build Coastguard Worker<tr> 684*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 685*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 686*7c568831SAndroid Build Coastguard Worker</tr> 687*7c568831SAndroid Build Coastguard Worker<tr> 688*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>nargs</tt></i>:</span></td> 689*7c568831SAndroid Build Coastguard Worker<td>the number of arguments</td> 690*7c568831SAndroid Build Coastguard Worker</tr> 691*7c568831SAndroid Build Coastguard Worker</tbody> 692*7c568831SAndroid Build Coastguard Worker</table></div> 693*7c568831SAndroid Build Coastguard Worker</div> 694*7c568831SAndroid Build Coastguard Worker<hr> 695*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 696*7c568831SAndroid Build Coastguard Worker<h3> 697*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathCeilingFunction"></a>xmlXPathCeilingFunction ()</h3> 698*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlXPathCeilingFunction (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int nargs)<br> 699*7c568831SAndroid Build Coastguard Worker</pre> 700*7c568831SAndroid Build Coastguard Worker<p>Implement the ceiling() XPath function number ceiling(number) The ceiling function returns the smallest (closest to negative infinity) number that is not less than the argument and that is an integer.</p> 701*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 702*7c568831SAndroid Build Coastguard Worker<col align="left"> 703*7c568831SAndroid Build Coastguard Worker<tbody> 704*7c568831SAndroid Build Coastguard Worker<tr> 705*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 706*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 707*7c568831SAndroid Build Coastguard Worker</tr> 708*7c568831SAndroid Build Coastguard Worker<tr> 709*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>nargs</tt></i>:</span></td> 710*7c568831SAndroid Build Coastguard Worker<td>the number of arguments</td> 711*7c568831SAndroid Build Coastguard Worker</tr> 712*7c568831SAndroid Build Coastguard Worker</tbody> 713*7c568831SAndroid Build Coastguard Worker</table></div> 714*7c568831SAndroid Build Coastguard Worker</div> 715*7c568831SAndroid Build Coastguard Worker<hr> 716*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 717*7c568831SAndroid Build Coastguard Worker<h3> 718*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathCompareValues"></a>xmlXPathCompareValues ()</h3> 719*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlXPathCompareValues (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int inf, <br> int strict)<br> 720*7c568831SAndroid Build Coastguard Worker</pre> 721*7c568831SAndroid Build Coastguard Worker<p>Implement the compare operation on XPath objects: @arg1 < @arg2 (1, 1, ... @arg1 <= @arg2 (1, 0, ... @arg1 > @arg2 (0, 1, ... @arg1 >= @arg2 (0, 0, ... When neither object to be compared is a node-set and the operator is <=, <, >=, >, then the objects are compared by converted both objects to numbers and comparing the numbers according to IEEE 754. The < comparison will be true if and only if the first number is less than the second number. The <= comparison will be true if and only if the first number is less than or equal to the second number. The > comparison will be true if and only if the first number is greater than the second number. The >= comparison will be true if and only if the first number is greater than or equal to the second number.</p> 722*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 723*7c568831SAndroid Build Coastguard Worker<col align="left"> 724*7c568831SAndroid Build Coastguard Worker<tbody> 725*7c568831SAndroid Build Coastguard Worker<tr> 726*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 727*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 728*7c568831SAndroid Build Coastguard Worker</tr> 729*7c568831SAndroid Build Coastguard Worker<tr> 730*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>inf</tt></i>:</span></td> 731*7c568831SAndroid Build Coastguard Worker<td>less than (1) or greater than (0)</td> 732*7c568831SAndroid Build Coastguard Worker</tr> 733*7c568831SAndroid Build Coastguard Worker<tr> 734*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>strict</tt></i>:</span></td> 735*7c568831SAndroid Build Coastguard Worker<td>is the comparison strict</td> 736*7c568831SAndroid Build Coastguard Worker</tr> 737*7c568831SAndroid Build Coastguard Worker<tr> 738*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 739*7c568831SAndroid Build Coastguard Worker<td>1 if the comparison succeeded, 0 if it failed</td> 740*7c568831SAndroid Build Coastguard Worker</tr> 741*7c568831SAndroid Build Coastguard Worker</tbody> 742*7c568831SAndroid Build Coastguard Worker</table></div> 743*7c568831SAndroid Build Coastguard Worker</div> 744*7c568831SAndroid Build Coastguard Worker<hr> 745*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 746*7c568831SAndroid Build Coastguard Worker<h3> 747*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathConcatFunction"></a>xmlXPathConcatFunction ()</h3> 748*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlXPathConcatFunction (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int nargs)<br> 749*7c568831SAndroid Build Coastguard Worker</pre> 750*7c568831SAndroid Build Coastguard Worker<p>Implement the concat() XPath function string concat(string, string, string*) The concat function returns the concatenation of its arguments.</p> 751*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 752*7c568831SAndroid Build Coastguard Worker<col align="left"> 753*7c568831SAndroid Build Coastguard Worker<tbody> 754*7c568831SAndroid Build Coastguard Worker<tr> 755*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 756*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 757*7c568831SAndroid Build Coastguard Worker</tr> 758*7c568831SAndroid Build Coastguard Worker<tr> 759*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>nargs</tt></i>:</span></td> 760*7c568831SAndroid Build Coastguard Worker<td>the number of arguments</td> 761*7c568831SAndroid Build Coastguard Worker</tr> 762*7c568831SAndroid Build Coastguard Worker</tbody> 763*7c568831SAndroid Build Coastguard Worker</table></div> 764*7c568831SAndroid Build Coastguard Worker</div> 765*7c568831SAndroid Build Coastguard Worker<hr> 766*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 767*7c568831SAndroid Build Coastguard Worker<h3> 768*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathContainsFunction"></a>xmlXPathContainsFunction ()</h3> 769*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlXPathContainsFunction (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int nargs)<br> 770*7c568831SAndroid Build Coastguard Worker</pre> 771*7c568831SAndroid Build Coastguard Worker<p>Implement the contains() XPath function boolean contains(string, string) The contains function returns true if the first argument string contains the second argument string, and otherwise returns false.</p> 772*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 773*7c568831SAndroid Build Coastguard Worker<col align="left"> 774*7c568831SAndroid Build Coastguard Worker<tbody> 775*7c568831SAndroid Build Coastguard Worker<tr> 776*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 777*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 778*7c568831SAndroid Build Coastguard Worker</tr> 779*7c568831SAndroid Build Coastguard Worker<tr> 780*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>nargs</tt></i>:</span></td> 781*7c568831SAndroid Build Coastguard Worker<td>the number of arguments</td> 782*7c568831SAndroid Build Coastguard Worker</tr> 783*7c568831SAndroid Build Coastguard Worker</tbody> 784*7c568831SAndroid Build Coastguard Worker</table></div> 785*7c568831SAndroid Build Coastguard Worker</div> 786*7c568831SAndroid Build Coastguard Worker<hr> 787*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 788*7c568831SAndroid Build Coastguard Worker<h3> 789*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathCountFunction"></a>xmlXPathCountFunction ()</h3> 790*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlXPathCountFunction (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int nargs)<br> 791*7c568831SAndroid Build Coastguard Worker</pre> 792*7c568831SAndroid Build Coastguard Worker<p>Implement the count() XPath function number count(node-set)</p> 793*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 794*7c568831SAndroid Build Coastguard Worker<col align="left"> 795*7c568831SAndroid Build Coastguard Worker<tbody> 796*7c568831SAndroid Build Coastguard Worker<tr> 797*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 798*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 799*7c568831SAndroid Build Coastguard Worker</tr> 800*7c568831SAndroid Build Coastguard Worker<tr> 801*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>nargs</tt></i>:</span></td> 802*7c568831SAndroid Build Coastguard Worker<td>the number of arguments</td> 803*7c568831SAndroid Build Coastguard Worker</tr> 804*7c568831SAndroid Build Coastguard Worker</tbody> 805*7c568831SAndroid Build Coastguard Worker</table></div> 806*7c568831SAndroid Build Coastguard Worker</div> 807*7c568831SAndroid Build Coastguard Worker<hr> 808*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 809*7c568831SAndroid Build Coastguard Worker<h3> 810*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathDebugDumpCompExpr"></a>xmlXPathDebugDumpCompExpr ()</h3> 811*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlXPathDebugDumpCompExpr (FILE * output, <br> <a href="libxml2-xpath.html#xmlXPathCompExprPtr">xmlXPathCompExprPtr</a> comp, <br> int depth)<br> 812*7c568831SAndroid Build Coastguard Worker</pre> 813*7c568831SAndroid Build Coastguard Worker<p>Dumps the tree of the compiled XPath expression.</p> 814*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 815*7c568831SAndroid Build Coastguard Worker<col align="left"> 816*7c568831SAndroid Build Coastguard Worker<tbody> 817*7c568831SAndroid Build Coastguard Worker<tr> 818*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>output</tt></i>:</span></td> 819*7c568831SAndroid Build Coastguard Worker<td>the FILE * for the output</td> 820*7c568831SAndroid Build Coastguard Worker</tr> 821*7c568831SAndroid Build Coastguard Worker<tr> 822*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>comp</tt></i>:</span></td> 823*7c568831SAndroid Build Coastguard Worker<td>the precompiled XPath expression</td> 824*7c568831SAndroid Build Coastguard Worker</tr> 825*7c568831SAndroid Build Coastguard Worker<tr> 826*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>depth</tt></i>:</span></td> 827*7c568831SAndroid Build Coastguard Worker<td>the indentation level.</td> 828*7c568831SAndroid Build Coastguard Worker</tr> 829*7c568831SAndroid Build Coastguard Worker</tbody> 830*7c568831SAndroid Build Coastguard Worker</table></div> 831*7c568831SAndroid Build Coastguard Worker</div> 832*7c568831SAndroid Build Coastguard Worker<hr> 833*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 834*7c568831SAndroid Build Coastguard Worker<h3> 835*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathDebugDumpObject"></a>xmlXPathDebugDumpObject ()</h3> 836*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlXPathDebugDumpObject (FILE * output, <br> <a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> cur, <br> int depth)<br> 837*7c568831SAndroid Build Coastguard Worker</pre> 838*7c568831SAndroid Build Coastguard Worker<p>Dump the content of the object for debugging purposes</p> 839*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 840*7c568831SAndroid Build Coastguard Worker<col align="left"> 841*7c568831SAndroid Build Coastguard Worker<tbody> 842*7c568831SAndroid Build Coastguard Worker<tr> 843*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>output</tt></i>:</span></td> 844*7c568831SAndroid Build Coastguard Worker<td>the FILE * to dump the output</td> 845*7c568831SAndroid Build Coastguard Worker</tr> 846*7c568831SAndroid Build Coastguard Worker<tr> 847*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 848*7c568831SAndroid Build Coastguard Worker<td>the object to inspect</td> 849*7c568831SAndroid Build Coastguard Worker</tr> 850*7c568831SAndroid Build Coastguard Worker<tr> 851*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>depth</tt></i>:</span></td> 852*7c568831SAndroid Build Coastguard Worker<td>indentation level</td> 853*7c568831SAndroid Build Coastguard Worker</tr> 854*7c568831SAndroid Build Coastguard Worker</tbody> 855*7c568831SAndroid Build Coastguard Worker</table></div> 856*7c568831SAndroid Build Coastguard Worker</div> 857*7c568831SAndroid Build Coastguard Worker<hr> 858*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 859*7c568831SAndroid Build Coastguard Worker<h3> 860*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathDifference"></a>xmlXPathDifference ()</h3> 861*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> xmlXPathDifference (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodes1, <br> <a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodes2)<br> 862*7c568831SAndroid Build Coastguard Worker</pre> 863*7c568831SAndroid Build Coastguard Worker<p>Implements the EXSLT - Sets difference() function: node-set set:difference (node-set, node-set)</p> 864*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 865*7c568831SAndroid Build Coastguard Worker<col align="left"> 866*7c568831SAndroid Build Coastguard Worker<tbody> 867*7c568831SAndroid Build Coastguard Worker<tr> 868*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>nodes1</tt></i>:</span></td> 869*7c568831SAndroid Build Coastguard Worker<td>a node-set</td> 870*7c568831SAndroid Build Coastguard Worker</tr> 871*7c568831SAndroid Build Coastguard Worker<tr> 872*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>nodes2</tt></i>:</span></td> 873*7c568831SAndroid Build Coastguard Worker<td>a node-set</td> 874*7c568831SAndroid Build Coastguard Worker</tr> 875*7c568831SAndroid Build Coastguard Worker<tr> 876*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 877*7c568831SAndroid Build Coastguard Worker<td>the difference between the two node sets, or nodes1 if nodes2 is empty</td> 878*7c568831SAndroid Build Coastguard Worker</tr> 879*7c568831SAndroid Build Coastguard Worker</tbody> 880*7c568831SAndroid Build Coastguard Worker</table></div> 881*7c568831SAndroid Build Coastguard Worker</div> 882*7c568831SAndroid Build Coastguard Worker<hr> 883*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 884*7c568831SAndroid Build Coastguard Worker<h3> 885*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathDistinct"></a>xmlXPathDistinct ()</h3> 886*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> xmlXPathDistinct (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodes)<br> 887*7c568831SAndroid Build Coastguard Worker</pre> 888*7c568831SAndroid Build Coastguard Worker<p>Implements the EXSLT - Sets distinct() function: node-set set:distinct (node-set) @nodes is sorted by document order, then #exslSetsDistinctSorted is called with the sorted node-set</p> 889*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 890*7c568831SAndroid Build Coastguard Worker<col align="left"> 891*7c568831SAndroid Build Coastguard Worker<tbody> 892*7c568831SAndroid Build Coastguard Worker<tr> 893*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>nodes</tt></i>:</span></td> 894*7c568831SAndroid Build Coastguard Worker<td>a node-set</td> 895*7c568831SAndroid Build Coastguard Worker</tr> 896*7c568831SAndroid Build Coastguard Worker<tr> 897*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 898*7c568831SAndroid Build Coastguard Worker<td>a subset of the nodes contained in @nodes, or @nodes if it is empty</td> 899*7c568831SAndroid Build Coastguard Worker</tr> 900*7c568831SAndroid Build Coastguard Worker</tbody> 901*7c568831SAndroid Build Coastguard Worker</table></div> 902*7c568831SAndroid Build Coastguard Worker</div> 903*7c568831SAndroid Build Coastguard Worker<hr> 904*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 905*7c568831SAndroid Build Coastguard Worker<h3> 906*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathDistinctSorted"></a>xmlXPathDistinctSorted ()</h3> 907*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> xmlXPathDistinctSorted (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodes)<br> 908*7c568831SAndroid Build Coastguard Worker</pre> 909*7c568831SAndroid Build Coastguard Worker<p>Implements the EXSLT - Sets distinct() function: node-set set:distinct (node-set)</p> 910*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 911*7c568831SAndroid Build Coastguard Worker<col align="left"> 912*7c568831SAndroid Build Coastguard Worker<tbody> 913*7c568831SAndroid Build Coastguard Worker<tr> 914*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>nodes</tt></i>:</span></td> 915*7c568831SAndroid Build Coastguard Worker<td>a node-set, sorted by document order</td> 916*7c568831SAndroid Build Coastguard Worker</tr> 917*7c568831SAndroid Build Coastguard Worker<tr> 918*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 919*7c568831SAndroid Build Coastguard Worker<td>a subset of the nodes contained in @nodes, or @nodes if it is empty</td> 920*7c568831SAndroid Build Coastguard Worker</tr> 921*7c568831SAndroid Build Coastguard Worker</tbody> 922*7c568831SAndroid Build Coastguard Worker</table></div> 923*7c568831SAndroid Build Coastguard Worker</div> 924*7c568831SAndroid Build Coastguard Worker<hr> 925*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 926*7c568831SAndroid Build Coastguard Worker<h3> 927*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathDivValues"></a>xmlXPathDivValues ()</h3> 928*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlXPathDivValues (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt)<br> 929*7c568831SAndroid Build Coastguard Worker</pre> 930*7c568831SAndroid Build Coastguard Worker<p>Implement the div operation on XPath objects @arg1 / @arg2: The numeric operators convert their operands to numbers as if by calling the number function.</p> 931*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 932*7c568831SAndroid Build Coastguard Worker<col align="left"> 933*7c568831SAndroid Build Coastguard Worker<tbody><tr> 934*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 935*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 936*7c568831SAndroid Build Coastguard Worker</tr></tbody> 937*7c568831SAndroid Build Coastguard Worker</table></div> 938*7c568831SAndroid Build Coastguard Worker</div> 939*7c568831SAndroid Build Coastguard Worker<hr> 940*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 941*7c568831SAndroid Build Coastguard Worker<h3> 942*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathEqualValues"></a>xmlXPathEqualValues ()</h3> 943*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlXPathEqualValues (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt)<br> 944*7c568831SAndroid Build Coastguard Worker</pre> 945*7c568831SAndroid Build Coastguard Worker<p>Implement the equal operation on XPath objects content: @arg1 == @arg2</p> 946*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 947*7c568831SAndroid Build Coastguard Worker<col align="left"> 948*7c568831SAndroid Build Coastguard Worker<tbody> 949*7c568831SAndroid Build Coastguard Worker<tr> 950*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 951*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 952*7c568831SAndroid Build Coastguard Worker</tr> 953*7c568831SAndroid Build Coastguard Worker<tr> 954*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 955*7c568831SAndroid Build Coastguard Worker<td>0 or 1 depending on the results of the test.</td> 956*7c568831SAndroid Build Coastguard Worker</tr> 957*7c568831SAndroid Build Coastguard Worker</tbody> 958*7c568831SAndroid Build Coastguard Worker</table></div> 959*7c568831SAndroid Build Coastguard Worker</div> 960*7c568831SAndroid Build Coastguard Worker<hr> 961*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 962*7c568831SAndroid Build Coastguard Worker<h3> 963*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathErr"></a>xmlXPathErr ()</h3> 964*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlXPathErr (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int code)<br> 965*7c568831SAndroid Build Coastguard Worker</pre> 966*7c568831SAndroid Build Coastguard Worker<p>Handle an XPath error</p> 967*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 968*7c568831SAndroid Build Coastguard Worker<col align="left"> 969*7c568831SAndroid Build Coastguard Worker<tbody> 970*7c568831SAndroid Build Coastguard Worker<tr> 971*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 972*7c568831SAndroid Build Coastguard Worker<td>a XPath parser context</td> 973*7c568831SAndroid Build Coastguard Worker</tr> 974*7c568831SAndroid Build Coastguard Worker<tr> 975*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>code</tt></i>:</span></td> 976*7c568831SAndroid Build Coastguard Worker<td>the error code</td> 977*7c568831SAndroid Build Coastguard Worker</tr> 978*7c568831SAndroid Build Coastguard Worker</tbody> 979*7c568831SAndroid Build Coastguard Worker</table></div> 980*7c568831SAndroid Build Coastguard Worker</div> 981*7c568831SAndroid Build Coastguard Worker<hr> 982*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 983*7c568831SAndroid Build Coastguard Worker<h3> 984*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathEvalExpr"></a>xmlXPathEvalExpr ()</h3> 985*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlXPathEvalExpr (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt)<br> 986*7c568831SAndroid Build Coastguard Worker</pre> 987*7c568831SAndroid Build Coastguard Worker<p>Parse and evaluate an XPath expression in the given context, then push the result on the context stack</p> 988*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 989*7c568831SAndroid Build Coastguard Worker<col align="left"> 990*7c568831SAndroid Build Coastguard Worker<tbody><tr> 991*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 992*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 993*7c568831SAndroid Build Coastguard Worker</tr></tbody> 994*7c568831SAndroid Build Coastguard Worker</table></div> 995*7c568831SAndroid Build Coastguard Worker</div> 996*7c568831SAndroid Build Coastguard Worker<hr> 997*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 998*7c568831SAndroid Build Coastguard Worker<h3> 999*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathEvaluatePredicateResult"></a>xmlXPathEvaluatePredicateResult ()</h3> 1000*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlXPathEvaluatePredicateResult (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> <a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> res)<br> 1001*7c568831SAndroid Build Coastguard Worker</pre> 1002*7c568831SAndroid Build Coastguard Worker<p>Evaluate a predicate result for the current node. A PredicateExpr is evaluated by evaluating the Expr and converting the result to a boolean. If the result is a number, the result will be converted to true if the number is equal to the position of the context node in the context node list (as returned by the position function) and will be converted to false otherwise; if the result is not a number, then the result will be converted as if by a call to the boolean function.</p> 1003*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1004*7c568831SAndroid Build Coastguard Worker<col align="left"> 1005*7c568831SAndroid Build Coastguard Worker<tbody> 1006*7c568831SAndroid Build Coastguard Worker<tr> 1007*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 1008*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 1009*7c568831SAndroid Build Coastguard Worker</tr> 1010*7c568831SAndroid Build Coastguard Worker<tr> 1011*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>res</tt></i>:</span></td> 1012*7c568831SAndroid Build Coastguard Worker<td>the Predicate Expression evaluation result</td> 1013*7c568831SAndroid Build Coastguard Worker</tr> 1014*7c568831SAndroid Build Coastguard Worker<tr> 1015*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1016*7c568831SAndroid Build Coastguard Worker<td>1 if predicate is true, 0 otherwise</td> 1017*7c568831SAndroid Build Coastguard Worker</tr> 1018*7c568831SAndroid Build Coastguard Worker</tbody> 1019*7c568831SAndroid Build Coastguard Worker</table></div> 1020*7c568831SAndroid Build Coastguard Worker</div> 1021*7c568831SAndroid Build Coastguard Worker<hr> 1022*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1023*7c568831SAndroid Build Coastguard Worker<h3> 1024*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathFalseFunction"></a>xmlXPathFalseFunction ()</h3> 1025*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlXPathFalseFunction (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int nargs)<br> 1026*7c568831SAndroid Build Coastguard Worker</pre> 1027*7c568831SAndroid Build Coastguard Worker<p>Implement the false() XPath function boolean false()</p> 1028*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1029*7c568831SAndroid Build Coastguard Worker<col align="left"> 1030*7c568831SAndroid Build Coastguard Worker<tbody> 1031*7c568831SAndroid Build Coastguard Worker<tr> 1032*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 1033*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 1034*7c568831SAndroid Build Coastguard Worker</tr> 1035*7c568831SAndroid Build Coastguard Worker<tr> 1036*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>nargs</tt></i>:</span></td> 1037*7c568831SAndroid Build Coastguard Worker<td>the number of arguments</td> 1038*7c568831SAndroid Build Coastguard Worker</tr> 1039*7c568831SAndroid Build Coastguard Worker</tbody> 1040*7c568831SAndroid Build Coastguard Worker</table></div> 1041*7c568831SAndroid Build Coastguard Worker</div> 1042*7c568831SAndroid Build Coastguard Worker<hr> 1043*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1044*7c568831SAndroid Build Coastguard Worker<h3> 1045*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathFloorFunction"></a>xmlXPathFloorFunction ()</h3> 1046*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlXPathFloorFunction (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int nargs)<br> 1047*7c568831SAndroid Build Coastguard Worker</pre> 1048*7c568831SAndroid Build Coastguard Worker<p>Implement the floor() XPath function number floor(number) The floor function returns the largest (closest to positive infinity) number that is not greater than the argument and that is an integer.</p> 1049*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1050*7c568831SAndroid Build Coastguard Worker<col align="left"> 1051*7c568831SAndroid Build Coastguard Worker<tbody> 1052*7c568831SAndroid Build Coastguard Worker<tr> 1053*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 1054*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 1055*7c568831SAndroid Build Coastguard Worker</tr> 1056*7c568831SAndroid Build Coastguard Worker<tr> 1057*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>nargs</tt></i>:</span></td> 1058*7c568831SAndroid Build Coastguard Worker<td>the number of arguments</td> 1059*7c568831SAndroid Build Coastguard Worker</tr> 1060*7c568831SAndroid Build Coastguard Worker</tbody> 1061*7c568831SAndroid Build Coastguard Worker</table></div> 1062*7c568831SAndroid Build Coastguard Worker</div> 1063*7c568831SAndroid Build Coastguard Worker<hr> 1064*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1065*7c568831SAndroid Build Coastguard Worker<h3> 1066*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathFreeParserContext"></a>xmlXPathFreeParserContext ()</h3> 1067*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlXPathFreeParserContext (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt)<br> 1068*7c568831SAndroid Build Coastguard Worker</pre> 1069*7c568831SAndroid Build Coastguard Worker<p>Free up an <a href="libxml2-xpath.html#xmlXPathParserContext">xmlXPathParserContext</a></p> 1070*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1071*7c568831SAndroid Build Coastguard Worker<col align="left"> 1072*7c568831SAndroid Build Coastguard Worker<tbody><tr> 1073*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 1074*7c568831SAndroid Build Coastguard Worker<td>the context to free</td> 1075*7c568831SAndroid Build Coastguard Worker</tr></tbody> 1076*7c568831SAndroid Build Coastguard Worker</table></div> 1077*7c568831SAndroid Build Coastguard Worker</div> 1078*7c568831SAndroid Build Coastguard Worker<hr> 1079*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1080*7c568831SAndroid Build Coastguard Worker<h3> 1081*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathFunctionLookup"></a>xmlXPathFunctionLookup ()</h3> 1082*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xpath.html#xmlXPathFunction">xmlXPathFunction</a> xmlXPathFunctionLookup (<a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctxt, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name)<br> 1083*7c568831SAndroid Build Coastguard Worker</pre> 1084*7c568831SAndroid Build Coastguard Worker<p>Search in the Function array of the context for the given function.</p> 1085*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1086*7c568831SAndroid Build Coastguard Worker<col align="left"> 1087*7c568831SAndroid Build Coastguard Worker<tbody> 1088*7c568831SAndroid Build Coastguard Worker<tr> 1089*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 1090*7c568831SAndroid Build Coastguard Worker<td>the XPath context</td> 1091*7c568831SAndroid Build Coastguard Worker</tr> 1092*7c568831SAndroid Build Coastguard Worker<tr> 1093*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>name</tt></i>:</span></td> 1094*7c568831SAndroid Build Coastguard Worker<td>the function name</td> 1095*7c568831SAndroid Build Coastguard Worker</tr> 1096*7c568831SAndroid Build Coastguard Worker<tr> 1097*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1098*7c568831SAndroid Build Coastguard Worker<td>the <a href="libxml2-xpath.html#xmlXPathFunction">xmlXPathFunction</a> or NULL if not found</td> 1099*7c568831SAndroid Build Coastguard Worker</tr> 1100*7c568831SAndroid Build Coastguard Worker</tbody> 1101*7c568831SAndroid Build Coastguard Worker</table></div> 1102*7c568831SAndroid Build Coastguard Worker</div> 1103*7c568831SAndroid Build Coastguard Worker<hr> 1104*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1105*7c568831SAndroid Build Coastguard Worker<h3> 1106*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathFunctionLookupNS"></a>xmlXPathFunctionLookupNS ()</h3> 1107*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xpath.html#xmlXPathFunction">xmlXPathFunction</a> xmlXPathFunctionLookupNS (<a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctxt, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * ns_uri)<br> 1108*7c568831SAndroid Build Coastguard Worker</pre> 1109*7c568831SAndroid Build Coastguard Worker<p>Search in the Function array of the context for the given function.</p> 1110*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1111*7c568831SAndroid Build Coastguard Worker<col align="left"> 1112*7c568831SAndroid Build Coastguard Worker<tbody> 1113*7c568831SAndroid Build Coastguard Worker<tr> 1114*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 1115*7c568831SAndroid Build Coastguard Worker<td>the XPath context</td> 1116*7c568831SAndroid Build Coastguard Worker</tr> 1117*7c568831SAndroid Build Coastguard Worker<tr> 1118*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>name</tt></i>:</span></td> 1119*7c568831SAndroid Build Coastguard Worker<td>the function name</td> 1120*7c568831SAndroid Build Coastguard Worker</tr> 1121*7c568831SAndroid Build Coastguard Worker<tr> 1122*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ns_uri</tt></i>:</span></td> 1123*7c568831SAndroid Build Coastguard Worker<td>the function namespace URI</td> 1124*7c568831SAndroid Build Coastguard Worker</tr> 1125*7c568831SAndroid Build Coastguard Worker<tr> 1126*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1127*7c568831SAndroid Build Coastguard Worker<td>the <a href="libxml2-xpath.html#xmlXPathFunction">xmlXPathFunction</a> or NULL if not found</td> 1128*7c568831SAndroid Build Coastguard Worker</tr> 1129*7c568831SAndroid Build Coastguard Worker</tbody> 1130*7c568831SAndroid Build Coastguard Worker</table></div> 1131*7c568831SAndroid Build Coastguard Worker</div> 1132*7c568831SAndroid Build Coastguard Worker<hr> 1133*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1134*7c568831SAndroid Build Coastguard Worker<h3> 1135*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathHasSameNodes"></a>xmlXPathHasSameNodes ()</h3> 1136*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlXPathHasSameNodes (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodes1, <br> <a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodes2)<br> 1137*7c568831SAndroid Build Coastguard Worker</pre> 1138*7c568831SAndroid Build Coastguard Worker<p>Implements the EXSLT - Sets has-same-nodes function: boolean set:has-same-node(node-set, node-set)</p> 1139*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1140*7c568831SAndroid Build Coastguard Worker<col align="left"> 1141*7c568831SAndroid Build Coastguard Worker<tbody> 1142*7c568831SAndroid Build Coastguard Worker<tr> 1143*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>nodes1</tt></i>:</span></td> 1144*7c568831SAndroid Build Coastguard Worker<td>a node-set</td> 1145*7c568831SAndroid Build Coastguard Worker</tr> 1146*7c568831SAndroid Build Coastguard Worker<tr> 1147*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>nodes2</tt></i>:</span></td> 1148*7c568831SAndroid Build Coastguard Worker<td>a node-set</td> 1149*7c568831SAndroid Build Coastguard Worker</tr> 1150*7c568831SAndroid Build Coastguard Worker<tr> 1151*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1152*7c568831SAndroid Build Coastguard Worker<td>true (1) if @nodes1 shares any node with @nodes2, false (0) otherwise</td> 1153*7c568831SAndroid Build Coastguard Worker</tr> 1154*7c568831SAndroid Build Coastguard Worker</tbody> 1155*7c568831SAndroid Build Coastguard Worker</table></div> 1156*7c568831SAndroid Build Coastguard Worker</div> 1157*7c568831SAndroid Build Coastguard Worker<hr> 1158*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1159*7c568831SAndroid Build Coastguard Worker<h3> 1160*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathIdFunction"></a>xmlXPathIdFunction ()</h3> 1161*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlXPathIdFunction (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int nargs)<br> 1162*7c568831SAndroid Build Coastguard Worker</pre> 1163*7c568831SAndroid Build Coastguard Worker<p>Implement the id() XPath function node-set id(object) The id function selects elements by their unique ID (see [5.2.1 Unique IDs]). When the argument to id is of type node-set, then the result is the union of the result of applying id to the string value of each of the nodes in the argument node-set. When the argument to id is of any other type, the argument is converted to a string as if by a call to the string function; the string is split into a whitespace-separated list of tokens (whitespace is any sequence of <a href="libxml2-SAX.html#characters">characters</a> matching the production S); the result is a node-set containing the elements in the same document as the context node that have a unique ID equal to any of the tokens in the list.</p> 1164*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1165*7c568831SAndroid Build Coastguard Worker<col align="left"> 1166*7c568831SAndroid Build Coastguard Worker<tbody> 1167*7c568831SAndroid Build Coastguard Worker<tr> 1168*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 1169*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 1170*7c568831SAndroid Build Coastguard Worker</tr> 1171*7c568831SAndroid Build Coastguard Worker<tr> 1172*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>nargs</tt></i>:</span></td> 1173*7c568831SAndroid Build Coastguard Worker<td>the number of arguments</td> 1174*7c568831SAndroid Build Coastguard Worker</tr> 1175*7c568831SAndroid Build Coastguard Worker</tbody> 1176*7c568831SAndroid Build Coastguard Worker</table></div> 1177*7c568831SAndroid Build Coastguard Worker</div> 1178*7c568831SAndroid Build Coastguard Worker<hr> 1179*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1180*7c568831SAndroid Build Coastguard Worker<h3> 1181*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathIntersection"></a>xmlXPathIntersection ()</h3> 1182*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> xmlXPathIntersection (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodes1, <br> <a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodes2)<br> 1183*7c568831SAndroid Build Coastguard Worker</pre> 1184*7c568831SAndroid Build Coastguard Worker<p>Implements the EXSLT - Sets intersection() function: node-set set:intersection (node-set, node-set)</p> 1185*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1186*7c568831SAndroid Build Coastguard Worker<col align="left"> 1187*7c568831SAndroid Build Coastguard Worker<tbody> 1188*7c568831SAndroid Build Coastguard Worker<tr> 1189*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>nodes1</tt></i>:</span></td> 1190*7c568831SAndroid Build Coastguard Worker<td>a node-set</td> 1191*7c568831SAndroid Build Coastguard Worker</tr> 1192*7c568831SAndroid Build Coastguard Worker<tr> 1193*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>nodes2</tt></i>:</span></td> 1194*7c568831SAndroid Build Coastguard Worker<td>a node-set</td> 1195*7c568831SAndroid Build Coastguard Worker</tr> 1196*7c568831SAndroid Build Coastguard Worker<tr> 1197*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1198*7c568831SAndroid Build Coastguard Worker<td>a node set comprising the nodes that are within both the node sets passed as arguments</td> 1199*7c568831SAndroid Build Coastguard Worker</tr> 1200*7c568831SAndroid Build Coastguard Worker</tbody> 1201*7c568831SAndroid Build Coastguard Worker</table></div> 1202*7c568831SAndroid Build Coastguard Worker</div> 1203*7c568831SAndroid Build Coastguard Worker<hr> 1204*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1205*7c568831SAndroid Build Coastguard Worker<h3> 1206*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathIsNodeType"></a>xmlXPathIsNodeType ()</h3> 1207*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlXPathIsNodeType (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name)<br> 1208*7c568831SAndroid Build Coastguard Worker</pre> 1209*7c568831SAndroid Build Coastguard Worker<p>Is the name given a NodeType one. [38] NodeType ::= 'comment' | 'text' | 'processing-instruction' | 'node'</p> 1210*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1211*7c568831SAndroid Build Coastguard Worker<col align="left"> 1212*7c568831SAndroid Build Coastguard Worker<tbody> 1213*7c568831SAndroid Build Coastguard Worker<tr> 1214*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>name</tt></i>:</span></td> 1215*7c568831SAndroid Build Coastguard Worker<td>a name string</td> 1216*7c568831SAndroid Build Coastguard Worker</tr> 1217*7c568831SAndroid Build Coastguard Worker<tr> 1218*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1219*7c568831SAndroid Build Coastguard Worker<td>1 if true 0 otherwise</td> 1220*7c568831SAndroid Build Coastguard Worker</tr> 1221*7c568831SAndroid Build Coastguard Worker</tbody> 1222*7c568831SAndroid Build Coastguard Worker</table></div> 1223*7c568831SAndroid Build Coastguard Worker</div> 1224*7c568831SAndroid Build Coastguard Worker<hr> 1225*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1226*7c568831SAndroid Build Coastguard Worker<h3> 1227*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathLangFunction"></a>xmlXPathLangFunction ()</h3> 1228*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlXPathLangFunction (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int nargs)<br> 1229*7c568831SAndroid Build Coastguard Worker</pre> 1230*7c568831SAndroid Build Coastguard Worker<p>Implement the lang() XPath function boolean lang(string) The lang function returns true or false depending on whether the language of the context node as specified by xml:lang attributes is the same as or is a sublanguage of the language specified by the argument string. The language of the context node is determined by the value of the xml:lang <a href="libxml2-SAX.html#attribute">attribute</a> on the context node, or, if the context node has no xml:lang attribute, by the value of the xml:lang <a href="libxml2-SAX.html#attribute">attribute</a> on the nearest ancestor of the context node that has an xml:lang <a href="libxml2-SAX.html#attribute">attribute</a>. If there is no such attribute, then lang</p> 1231*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1232*7c568831SAndroid Build Coastguard Worker<col align="left"> 1233*7c568831SAndroid Build Coastguard Worker<tbody> 1234*7c568831SAndroid Build Coastguard Worker<tr> 1235*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 1236*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 1237*7c568831SAndroid Build Coastguard Worker</tr> 1238*7c568831SAndroid Build Coastguard Worker<tr> 1239*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>nargs</tt></i>:</span></td> 1240*7c568831SAndroid Build Coastguard Worker<td>the number of arguments</td> 1241*7c568831SAndroid Build Coastguard Worker</tr> 1242*7c568831SAndroid Build Coastguard Worker</tbody> 1243*7c568831SAndroid Build Coastguard Worker</table></div> 1244*7c568831SAndroid Build Coastguard Worker</div> 1245*7c568831SAndroid Build Coastguard Worker<hr> 1246*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1247*7c568831SAndroid Build Coastguard Worker<h3> 1248*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathLastFunction"></a>xmlXPathLastFunction ()</h3> 1249*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlXPathLastFunction (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int nargs)<br> 1250*7c568831SAndroid Build Coastguard Worker</pre> 1251*7c568831SAndroid Build Coastguard Worker<p>Implement the last() XPath function number last() The last function returns the number of nodes in the context node list.</p> 1252*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1253*7c568831SAndroid Build Coastguard Worker<col align="left"> 1254*7c568831SAndroid Build Coastguard Worker<tbody> 1255*7c568831SAndroid Build Coastguard Worker<tr> 1256*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 1257*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 1258*7c568831SAndroid Build Coastguard Worker</tr> 1259*7c568831SAndroid Build Coastguard Worker<tr> 1260*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>nargs</tt></i>:</span></td> 1261*7c568831SAndroid Build Coastguard Worker<td>the number of arguments</td> 1262*7c568831SAndroid Build Coastguard Worker</tr> 1263*7c568831SAndroid Build Coastguard Worker</tbody> 1264*7c568831SAndroid Build Coastguard Worker</table></div> 1265*7c568831SAndroid Build Coastguard Worker</div> 1266*7c568831SAndroid Build Coastguard Worker<hr> 1267*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1268*7c568831SAndroid Build Coastguard Worker<h3> 1269*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathLeading"></a>xmlXPathLeading ()</h3> 1270*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> xmlXPathLeading (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodes1, <br> <a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodes2)<br> 1271*7c568831SAndroid Build Coastguard Worker</pre> 1272*7c568831SAndroid Build Coastguard Worker<p>Implements the EXSLT - Sets leading() function: node-set set:leading (node-set, node-set) @nodes1 and @nodes2 are sorted by document order, then #exslSetsLeadingSorted is called.</p> 1273*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1274*7c568831SAndroid Build Coastguard Worker<col align="left"> 1275*7c568831SAndroid Build Coastguard Worker<tbody> 1276*7c568831SAndroid Build Coastguard Worker<tr> 1277*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>nodes1</tt></i>:</span></td> 1278*7c568831SAndroid Build Coastguard Worker<td>a node-set</td> 1279*7c568831SAndroid Build Coastguard Worker</tr> 1280*7c568831SAndroid Build Coastguard Worker<tr> 1281*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>nodes2</tt></i>:</span></td> 1282*7c568831SAndroid Build Coastguard Worker<td>a node-set</td> 1283*7c568831SAndroid Build Coastguard Worker</tr> 1284*7c568831SAndroid Build Coastguard Worker<tr> 1285*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1286*7c568831SAndroid Build Coastguard Worker<td>the nodes in @nodes1 that precede the first node in @nodes2 in document order, @nodes1 if @nodes2 is NULL or empty or an empty node-set if @nodes1 doesn't contain @nodes2</td> 1287*7c568831SAndroid Build Coastguard Worker</tr> 1288*7c568831SAndroid Build Coastguard Worker</tbody> 1289*7c568831SAndroid Build Coastguard Worker</table></div> 1290*7c568831SAndroid Build Coastguard Worker</div> 1291*7c568831SAndroid Build Coastguard Worker<hr> 1292*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1293*7c568831SAndroid Build Coastguard Worker<h3> 1294*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathLeadingSorted"></a>xmlXPathLeadingSorted ()</h3> 1295*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> xmlXPathLeadingSorted (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodes1, <br> <a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodes2)<br> 1296*7c568831SAndroid Build Coastguard Worker</pre> 1297*7c568831SAndroid Build Coastguard Worker<p>Implements the EXSLT - Sets leading() function: node-set set:leading (node-set, node-set)</p> 1298*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1299*7c568831SAndroid Build Coastguard Worker<col align="left"> 1300*7c568831SAndroid Build Coastguard Worker<tbody> 1301*7c568831SAndroid Build Coastguard Worker<tr> 1302*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>nodes1</tt></i>:</span></td> 1303*7c568831SAndroid Build Coastguard Worker<td>a node-set, sorted by document order</td> 1304*7c568831SAndroid Build Coastguard Worker</tr> 1305*7c568831SAndroid Build Coastguard Worker<tr> 1306*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>nodes2</tt></i>:</span></td> 1307*7c568831SAndroid Build Coastguard Worker<td>a node-set, sorted by document order</td> 1308*7c568831SAndroid Build Coastguard Worker</tr> 1309*7c568831SAndroid Build Coastguard Worker<tr> 1310*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1311*7c568831SAndroid Build Coastguard Worker<td>the nodes in @nodes1 that precede the first node in @nodes2 in document order, @nodes1 if @nodes2 is NULL or empty or an empty node-set if @nodes1 doesn't contain @nodes2</td> 1312*7c568831SAndroid Build Coastguard Worker</tr> 1313*7c568831SAndroid Build Coastguard Worker</tbody> 1314*7c568831SAndroid Build Coastguard Worker</table></div> 1315*7c568831SAndroid Build Coastguard Worker</div> 1316*7c568831SAndroid Build Coastguard Worker<hr> 1317*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1318*7c568831SAndroid Build Coastguard Worker<h3> 1319*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathLocalNameFunction"></a>xmlXPathLocalNameFunction ()</h3> 1320*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlXPathLocalNameFunction (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int nargs)<br> 1321*7c568831SAndroid Build Coastguard Worker</pre> 1322*7c568831SAndroid Build Coastguard Worker<p>Implement the local-name() XPath function string local-name(node-set?) The local-name function returns a string containing the local part of the name of the node in the argument node-set that is first in document order. If the node-set is empty or the first node has no name, an empty string is returned. If the argument is omitted it defaults to the context node.</p> 1323*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1324*7c568831SAndroid Build Coastguard Worker<col align="left"> 1325*7c568831SAndroid Build Coastguard Worker<tbody> 1326*7c568831SAndroid Build Coastguard Worker<tr> 1327*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 1328*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 1329*7c568831SAndroid Build Coastguard Worker</tr> 1330*7c568831SAndroid Build Coastguard Worker<tr> 1331*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>nargs</tt></i>:</span></td> 1332*7c568831SAndroid Build Coastguard Worker<td>the number of arguments</td> 1333*7c568831SAndroid Build Coastguard Worker</tr> 1334*7c568831SAndroid Build Coastguard Worker</tbody> 1335*7c568831SAndroid Build Coastguard Worker</table></div> 1336*7c568831SAndroid Build Coastguard Worker</div> 1337*7c568831SAndroid Build Coastguard Worker<hr> 1338*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1339*7c568831SAndroid Build Coastguard Worker<h3> 1340*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathModValues"></a>xmlXPathModValues ()</h3> 1341*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlXPathModValues (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt)<br> 1342*7c568831SAndroid Build Coastguard Worker</pre> 1343*7c568831SAndroid Build Coastguard Worker<p>Implement the mod operation on XPath objects: @arg1 / @arg2 The numeric operators convert their operands to numbers as if by calling the number function.</p> 1344*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1345*7c568831SAndroid Build Coastguard Worker<col align="left"> 1346*7c568831SAndroid Build Coastguard Worker<tbody><tr> 1347*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 1348*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 1349*7c568831SAndroid Build Coastguard Worker</tr></tbody> 1350*7c568831SAndroid Build Coastguard Worker</table></div> 1351*7c568831SAndroid Build Coastguard Worker</div> 1352*7c568831SAndroid Build Coastguard Worker<hr> 1353*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1354*7c568831SAndroid Build Coastguard Worker<h3> 1355*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathMultValues"></a>xmlXPathMultValues ()</h3> 1356*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlXPathMultValues (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt)<br> 1357*7c568831SAndroid Build Coastguard Worker</pre> 1358*7c568831SAndroid Build Coastguard Worker<p>Implement the multiply operation on XPath objects: The numeric operators convert their operands to numbers as if by calling the number function.</p> 1359*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1360*7c568831SAndroid Build Coastguard Worker<col align="left"> 1361*7c568831SAndroid Build Coastguard Worker<tbody><tr> 1362*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 1363*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 1364*7c568831SAndroid Build Coastguard Worker</tr></tbody> 1365*7c568831SAndroid Build Coastguard Worker</table></div> 1366*7c568831SAndroid Build Coastguard Worker</div> 1367*7c568831SAndroid Build Coastguard Worker<hr> 1368*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1369*7c568831SAndroid Build Coastguard Worker<h3> 1370*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathNamespaceURIFunction"></a>xmlXPathNamespaceURIFunction ()</h3> 1371*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlXPathNamespaceURIFunction (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int nargs)<br> 1372*7c568831SAndroid Build Coastguard Worker</pre> 1373*7c568831SAndroid Build Coastguard Worker<p>Implement the namespace-uri() XPath function string namespace-uri(node-set?) The namespace-uri function returns a string containing the namespace URI of the expanded name of the node in the argument node-set that is first in document order. If the node-set is empty, the first node has no name, or the expanded name has no namespace URI, an empty string is returned. If the argument is omitted it defaults to the context node.</p> 1374*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1375*7c568831SAndroid Build Coastguard Worker<col align="left"> 1376*7c568831SAndroid Build Coastguard Worker<tbody> 1377*7c568831SAndroid Build Coastguard Worker<tr> 1378*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 1379*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 1380*7c568831SAndroid Build Coastguard Worker</tr> 1381*7c568831SAndroid Build Coastguard Worker<tr> 1382*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>nargs</tt></i>:</span></td> 1383*7c568831SAndroid Build Coastguard Worker<td>the number of arguments</td> 1384*7c568831SAndroid Build Coastguard Worker</tr> 1385*7c568831SAndroid Build Coastguard Worker</tbody> 1386*7c568831SAndroid Build Coastguard Worker</table></div> 1387*7c568831SAndroid Build Coastguard Worker</div> 1388*7c568831SAndroid Build Coastguard Worker<hr> 1389*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1390*7c568831SAndroid Build Coastguard Worker<h3> 1391*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathNewBoolean"></a>xmlXPathNewBoolean ()</h3> 1392*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> xmlXPathNewBoolean (int val)<br> 1393*7c568831SAndroid Build Coastguard Worker</pre> 1394*7c568831SAndroid Build Coastguard Worker<p>Create a new <a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> of type boolean and of value @val</p> 1395*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1396*7c568831SAndroid Build Coastguard Worker<col align="left"> 1397*7c568831SAndroid Build Coastguard Worker<tbody> 1398*7c568831SAndroid Build Coastguard Worker<tr> 1399*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>val</tt></i>:</span></td> 1400*7c568831SAndroid Build Coastguard Worker<td>the boolean value</td> 1401*7c568831SAndroid Build Coastguard Worker</tr> 1402*7c568831SAndroid Build Coastguard Worker<tr> 1403*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1404*7c568831SAndroid Build Coastguard Worker<td>the newly created object.</td> 1405*7c568831SAndroid Build Coastguard Worker</tr> 1406*7c568831SAndroid Build Coastguard Worker</tbody> 1407*7c568831SAndroid Build Coastguard Worker</table></div> 1408*7c568831SAndroid Build Coastguard Worker</div> 1409*7c568831SAndroid Build Coastguard Worker<hr> 1410*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1411*7c568831SAndroid Build Coastguard Worker<h3> 1412*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathNewCString"></a>xmlXPathNewCString ()</h3> 1413*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> xmlXPathNewCString (const char * val)<br> 1414*7c568831SAndroid Build Coastguard Worker</pre> 1415*7c568831SAndroid Build Coastguard Worker<p>Create a new <a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> of type string and of value @val</p> 1416*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1417*7c568831SAndroid Build Coastguard Worker<col align="left"> 1418*7c568831SAndroid Build Coastguard Worker<tbody> 1419*7c568831SAndroid Build Coastguard Worker<tr> 1420*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>val</tt></i>:</span></td> 1421*7c568831SAndroid Build Coastguard Worker<td>the char * value</td> 1422*7c568831SAndroid Build Coastguard Worker</tr> 1423*7c568831SAndroid Build Coastguard Worker<tr> 1424*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1425*7c568831SAndroid Build Coastguard Worker<td>the newly created object.</td> 1426*7c568831SAndroid Build Coastguard Worker</tr> 1427*7c568831SAndroid Build Coastguard Worker</tbody> 1428*7c568831SAndroid Build Coastguard Worker</table></div> 1429*7c568831SAndroid Build Coastguard Worker</div> 1430*7c568831SAndroid Build Coastguard Worker<hr> 1431*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1432*7c568831SAndroid Build Coastguard Worker<h3> 1433*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathNewFloat"></a>xmlXPathNewFloat ()</h3> 1434*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> xmlXPathNewFloat (double val)<br> 1435*7c568831SAndroid Build Coastguard Worker</pre> 1436*7c568831SAndroid Build Coastguard Worker<p>Create a new <a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> of type double and of value @val</p> 1437*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1438*7c568831SAndroid Build Coastguard Worker<col align="left"> 1439*7c568831SAndroid Build Coastguard Worker<tbody> 1440*7c568831SAndroid Build Coastguard Worker<tr> 1441*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>val</tt></i>:</span></td> 1442*7c568831SAndroid Build Coastguard Worker<td>the double value</td> 1443*7c568831SAndroid Build Coastguard Worker</tr> 1444*7c568831SAndroid Build Coastguard Worker<tr> 1445*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1446*7c568831SAndroid Build Coastguard Worker<td>the newly created object.</td> 1447*7c568831SAndroid Build Coastguard Worker</tr> 1448*7c568831SAndroid Build Coastguard Worker</tbody> 1449*7c568831SAndroid Build Coastguard Worker</table></div> 1450*7c568831SAndroid Build Coastguard Worker</div> 1451*7c568831SAndroid Build Coastguard Worker<hr> 1452*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1453*7c568831SAndroid Build Coastguard Worker<h3> 1454*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathNewNodeSet"></a>xmlXPathNewNodeSet ()</h3> 1455*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> xmlXPathNewNodeSet (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> val)<br> 1456*7c568831SAndroid Build Coastguard Worker</pre> 1457*7c568831SAndroid Build Coastguard Worker<p>Create a new <a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> of type NodeSet and initialize it with the single Node @val</p> 1458*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1459*7c568831SAndroid Build Coastguard Worker<col align="left"> 1460*7c568831SAndroid Build Coastguard Worker<tbody> 1461*7c568831SAndroid Build Coastguard Worker<tr> 1462*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>val</tt></i>:</span></td> 1463*7c568831SAndroid Build Coastguard Worker<td>the NodePtr value</td> 1464*7c568831SAndroid Build Coastguard Worker</tr> 1465*7c568831SAndroid Build Coastguard Worker<tr> 1466*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1467*7c568831SAndroid Build Coastguard Worker<td>the newly created object.</td> 1468*7c568831SAndroid Build Coastguard Worker</tr> 1469*7c568831SAndroid Build Coastguard Worker</tbody> 1470*7c568831SAndroid Build Coastguard Worker</table></div> 1471*7c568831SAndroid Build Coastguard Worker</div> 1472*7c568831SAndroid Build Coastguard Worker<hr> 1473*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1474*7c568831SAndroid Build Coastguard Worker<h3> 1475*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathNewNodeSetList"></a>xmlXPathNewNodeSetList ()</h3> 1476*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> xmlXPathNewNodeSetList (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> val)<br> 1477*7c568831SAndroid Build Coastguard Worker</pre> 1478*7c568831SAndroid Build Coastguard Worker<p>Create a new <a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> of type NodeSet and initialize it with the Nodeset @val</p> 1479*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1480*7c568831SAndroid Build Coastguard Worker<col align="left"> 1481*7c568831SAndroid Build Coastguard Worker<tbody> 1482*7c568831SAndroid Build Coastguard Worker<tr> 1483*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>val</tt></i>:</span></td> 1484*7c568831SAndroid Build Coastguard Worker<td>an existing NodeSet</td> 1485*7c568831SAndroid Build Coastguard Worker</tr> 1486*7c568831SAndroid Build Coastguard Worker<tr> 1487*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1488*7c568831SAndroid Build Coastguard Worker<td>the newly created object.</td> 1489*7c568831SAndroid Build Coastguard Worker</tr> 1490*7c568831SAndroid Build Coastguard Worker</tbody> 1491*7c568831SAndroid Build Coastguard Worker</table></div> 1492*7c568831SAndroid Build Coastguard Worker</div> 1493*7c568831SAndroid Build Coastguard Worker<hr> 1494*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1495*7c568831SAndroid Build Coastguard Worker<h3> 1496*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathNewParserContext"></a>xmlXPathNewParserContext ()</h3> 1497*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> xmlXPathNewParserContext (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str, <br> <a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctxt)<br> 1498*7c568831SAndroid Build Coastguard Worker</pre> 1499*7c568831SAndroid Build Coastguard Worker<p>Create a new <a href="libxml2-xpath.html#xmlXPathParserContext">xmlXPathParserContext</a></p> 1500*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1501*7c568831SAndroid Build Coastguard Worker<col align="left"> 1502*7c568831SAndroid Build Coastguard Worker<tbody> 1503*7c568831SAndroid Build Coastguard Worker<tr> 1504*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>str</tt></i>:</span></td> 1505*7c568831SAndroid Build Coastguard Worker<td>the XPath expression</td> 1506*7c568831SAndroid Build Coastguard Worker</tr> 1507*7c568831SAndroid Build Coastguard Worker<tr> 1508*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 1509*7c568831SAndroid Build Coastguard Worker<td>the XPath context</td> 1510*7c568831SAndroid Build Coastguard Worker</tr> 1511*7c568831SAndroid Build Coastguard Worker<tr> 1512*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1513*7c568831SAndroid Build Coastguard Worker<td>the <a href="libxml2-xpath.html#xmlXPathParserContext">xmlXPathParserContext</a> just allocated.</td> 1514*7c568831SAndroid Build Coastguard Worker</tr> 1515*7c568831SAndroid Build Coastguard Worker</tbody> 1516*7c568831SAndroid Build Coastguard Worker</table></div> 1517*7c568831SAndroid Build Coastguard Worker</div> 1518*7c568831SAndroid Build Coastguard Worker<hr> 1519*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1520*7c568831SAndroid Build Coastguard Worker<h3> 1521*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathNewString"></a>xmlXPathNewString ()</h3> 1522*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> xmlXPathNewString (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * val)<br> 1523*7c568831SAndroid Build Coastguard Worker</pre> 1524*7c568831SAndroid Build Coastguard Worker<p>Create a new <a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> of type string and of value @val</p> 1525*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1526*7c568831SAndroid Build Coastguard Worker<col align="left"> 1527*7c568831SAndroid Build Coastguard Worker<tbody> 1528*7c568831SAndroid Build Coastguard Worker<tr> 1529*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>val</tt></i>:</span></td> 1530*7c568831SAndroid Build Coastguard Worker<td>the <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value</td> 1531*7c568831SAndroid Build Coastguard Worker</tr> 1532*7c568831SAndroid Build Coastguard Worker<tr> 1533*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1534*7c568831SAndroid Build Coastguard Worker<td>the newly created object.</td> 1535*7c568831SAndroid Build Coastguard Worker</tr> 1536*7c568831SAndroid Build Coastguard Worker</tbody> 1537*7c568831SAndroid Build Coastguard Worker</table></div> 1538*7c568831SAndroid Build Coastguard Worker</div> 1539*7c568831SAndroid Build Coastguard Worker<hr> 1540*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1541*7c568831SAndroid Build Coastguard Worker<h3> 1542*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathNewValueTree"></a>xmlXPathNewValueTree ()</h3> 1543*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> xmlXPathNewValueTree (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> val)<br> 1544*7c568831SAndroid Build Coastguard Worker</pre> 1545*7c568831SAndroid Build Coastguard Worker<p>Create a new <a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> of type Value Tree (XSLT) and initialize it with the tree root @val</p> 1546*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1547*7c568831SAndroid Build Coastguard Worker<col align="left"> 1548*7c568831SAndroid Build Coastguard Worker<tbody> 1549*7c568831SAndroid Build Coastguard Worker<tr> 1550*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>val</tt></i>:</span></td> 1551*7c568831SAndroid Build Coastguard Worker<td>the NodePtr value</td> 1552*7c568831SAndroid Build Coastguard Worker</tr> 1553*7c568831SAndroid Build Coastguard Worker<tr> 1554*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1555*7c568831SAndroid Build Coastguard Worker<td>the newly created object.</td> 1556*7c568831SAndroid Build Coastguard Worker</tr> 1557*7c568831SAndroid Build Coastguard Worker</tbody> 1558*7c568831SAndroid Build Coastguard Worker</table></div> 1559*7c568831SAndroid Build Coastguard Worker</div> 1560*7c568831SAndroid Build Coastguard Worker<hr> 1561*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1562*7c568831SAndroid Build Coastguard Worker<h3> 1563*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathNextAncestor"></a>xmlXPathNextAncestor ()</h3> 1564*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> xmlXPathNextAncestor (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur)<br> 1565*7c568831SAndroid Build Coastguard Worker</pre> 1566*7c568831SAndroid Build Coastguard Worker<p>Traversal function for the "ancestor" direction the ancestor axis contains the ancestors of the context node; the ancestors of the context node consist of the parent of context node and the parent's parent and so on; the nodes are ordered in reverse document order; thus the parent is the first node on the axis, and the parent's parent is the second node on the axis</p> 1567*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1568*7c568831SAndroid Build Coastguard Worker<col align="left"> 1569*7c568831SAndroid Build Coastguard Worker<tbody> 1570*7c568831SAndroid Build Coastguard Worker<tr> 1571*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 1572*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 1573*7c568831SAndroid Build Coastguard Worker</tr> 1574*7c568831SAndroid Build Coastguard Worker<tr> 1575*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 1576*7c568831SAndroid Build Coastguard Worker<td>the current node in the traversal</td> 1577*7c568831SAndroid Build Coastguard Worker</tr> 1578*7c568831SAndroid Build Coastguard Worker<tr> 1579*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1580*7c568831SAndroid Build Coastguard Worker<td>the next element following that axis</td> 1581*7c568831SAndroid Build Coastguard Worker</tr> 1582*7c568831SAndroid Build Coastguard Worker</tbody> 1583*7c568831SAndroid Build Coastguard Worker</table></div> 1584*7c568831SAndroid Build Coastguard Worker</div> 1585*7c568831SAndroid Build Coastguard Worker<hr> 1586*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1587*7c568831SAndroid Build Coastguard Worker<h3> 1588*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathNextAncestorOrSelf"></a>xmlXPathNextAncestorOrSelf ()</h3> 1589*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> xmlXPathNextAncestorOrSelf (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur)<br> 1590*7c568831SAndroid Build Coastguard Worker</pre> 1591*7c568831SAndroid Build Coastguard Worker<p>Traversal function for the "ancestor-or-self" direction he ancestor-or-self axis contains the context node and ancestors of the context node in reverse document order; thus the context node is the first node on the axis, and the context node's parent the second; parent here is defined the same as with the parent axis.</p> 1592*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1593*7c568831SAndroid Build Coastguard Worker<col align="left"> 1594*7c568831SAndroid Build Coastguard Worker<tbody> 1595*7c568831SAndroid Build Coastguard Worker<tr> 1596*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 1597*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 1598*7c568831SAndroid Build Coastguard Worker</tr> 1599*7c568831SAndroid Build Coastguard Worker<tr> 1600*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 1601*7c568831SAndroid Build Coastguard Worker<td>the current node in the traversal</td> 1602*7c568831SAndroid Build Coastguard Worker</tr> 1603*7c568831SAndroid Build Coastguard Worker<tr> 1604*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1605*7c568831SAndroid Build Coastguard Worker<td>the next element following that axis</td> 1606*7c568831SAndroid Build Coastguard Worker</tr> 1607*7c568831SAndroid Build Coastguard Worker</tbody> 1608*7c568831SAndroid Build Coastguard Worker</table></div> 1609*7c568831SAndroid Build Coastguard Worker</div> 1610*7c568831SAndroid Build Coastguard Worker<hr> 1611*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1612*7c568831SAndroid Build Coastguard Worker<h3> 1613*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathNextAttribute"></a>xmlXPathNextAttribute ()</h3> 1614*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> xmlXPathNextAttribute (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur)<br> 1615*7c568831SAndroid Build Coastguard Worker</pre> 1616*7c568831SAndroid Build Coastguard Worker<p>Traversal function for the "attribute" direction TODO: support DTD inherited default attributes</p> 1617*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1618*7c568831SAndroid Build Coastguard Worker<col align="left"> 1619*7c568831SAndroid Build Coastguard Worker<tbody> 1620*7c568831SAndroid Build Coastguard Worker<tr> 1621*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 1622*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 1623*7c568831SAndroid Build Coastguard Worker</tr> 1624*7c568831SAndroid Build Coastguard Worker<tr> 1625*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 1626*7c568831SAndroid Build Coastguard Worker<td>the current <a href="libxml2-SAX.html#attribute">attribute</a> in the traversal</td> 1627*7c568831SAndroid Build Coastguard Worker</tr> 1628*7c568831SAndroid Build Coastguard Worker<tr> 1629*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1630*7c568831SAndroid Build Coastguard Worker<td>the next element following that axis</td> 1631*7c568831SAndroid Build Coastguard Worker</tr> 1632*7c568831SAndroid Build Coastguard Worker</tbody> 1633*7c568831SAndroid Build Coastguard Worker</table></div> 1634*7c568831SAndroid Build Coastguard Worker</div> 1635*7c568831SAndroid Build Coastguard Worker<hr> 1636*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1637*7c568831SAndroid Build Coastguard Worker<h3> 1638*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathNextChild"></a>xmlXPathNextChild ()</h3> 1639*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> xmlXPathNextChild (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur)<br> 1640*7c568831SAndroid Build Coastguard Worker</pre> 1641*7c568831SAndroid Build Coastguard Worker<p>Traversal function for the "child" direction The child axis contains the children of the context node in document order.</p> 1642*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1643*7c568831SAndroid Build Coastguard Worker<col align="left"> 1644*7c568831SAndroid Build Coastguard Worker<tbody> 1645*7c568831SAndroid Build Coastguard Worker<tr> 1646*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 1647*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 1648*7c568831SAndroid Build Coastguard Worker</tr> 1649*7c568831SAndroid Build Coastguard Worker<tr> 1650*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 1651*7c568831SAndroid Build Coastguard Worker<td>the current node in the traversal</td> 1652*7c568831SAndroid Build Coastguard Worker</tr> 1653*7c568831SAndroid Build Coastguard Worker<tr> 1654*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1655*7c568831SAndroid Build Coastguard Worker<td>the next element following that axis</td> 1656*7c568831SAndroid Build Coastguard Worker</tr> 1657*7c568831SAndroid Build Coastguard Worker</tbody> 1658*7c568831SAndroid Build Coastguard Worker</table></div> 1659*7c568831SAndroid Build Coastguard Worker</div> 1660*7c568831SAndroid Build Coastguard Worker<hr> 1661*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1662*7c568831SAndroid Build Coastguard Worker<h3> 1663*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathNextDescendant"></a>xmlXPathNextDescendant ()</h3> 1664*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> xmlXPathNextDescendant (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur)<br> 1665*7c568831SAndroid Build Coastguard Worker</pre> 1666*7c568831SAndroid Build Coastguard Worker<p>Traversal function for the "descendant" direction the descendant axis contains the descendants of the context node in document order; a descendant is a child or a child of a child and so on.</p> 1667*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1668*7c568831SAndroid Build Coastguard Worker<col align="left"> 1669*7c568831SAndroid Build Coastguard Worker<tbody> 1670*7c568831SAndroid Build Coastguard Worker<tr> 1671*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 1672*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 1673*7c568831SAndroid Build Coastguard Worker</tr> 1674*7c568831SAndroid Build Coastguard Worker<tr> 1675*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 1676*7c568831SAndroid Build Coastguard Worker<td>the current node in the traversal</td> 1677*7c568831SAndroid Build Coastguard Worker</tr> 1678*7c568831SAndroid Build Coastguard Worker<tr> 1679*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1680*7c568831SAndroid Build Coastguard Worker<td>the next element following that axis</td> 1681*7c568831SAndroid Build Coastguard Worker</tr> 1682*7c568831SAndroid Build Coastguard Worker</tbody> 1683*7c568831SAndroid Build Coastguard Worker</table></div> 1684*7c568831SAndroid Build Coastguard Worker</div> 1685*7c568831SAndroid Build Coastguard Worker<hr> 1686*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1687*7c568831SAndroid Build Coastguard Worker<h3> 1688*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathNextDescendantOrSelf"></a>xmlXPathNextDescendantOrSelf ()</h3> 1689*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> xmlXPathNextDescendantOrSelf (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur)<br> 1690*7c568831SAndroid Build Coastguard Worker</pre> 1691*7c568831SAndroid Build Coastguard Worker<p>Traversal function for the "descendant-or-self" direction the descendant-or-self axis contains the context node and the descendants of the context node in document order; thus the context node is the first node on the axis, and the first child of the context node is the second node on the axis</p> 1692*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1693*7c568831SAndroid Build Coastguard Worker<col align="left"> 1694*7c568831SAndroid Build Coastguard Worker<tbody> 1695*7c568831SAndroid Build Coastguard Worker<tr> 1696*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 1697*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 1698*7c568831SAndroid Build Coastguard Worker</tr> 1699*7c568831SAndroid Build Coastguard Worker<tr> 1700*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 1701*7c568831SAndroid Build Coastguard Worker<td>the current node in the traversal</td> 1702*7c568831SAndroid Build Coastguard Worker</tr> 1703*7c568831SAndroid Build Coastguard Worker<tr> 1704*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1705*7c568831SAndroid Build Coastguard Worker<td>the next element following that axis</td> 1706*7c568831SAndroid Build Coastguard Worker</tr> 1707*7c568831SAndroid Build Coastguard Worker</tbody> 1708*7c568831SAndroid Build Coastguard Worker</table></div> 1709*7c568831SAndroid Build Coastguard Worker</div> 1710*7c568831SAndroid Build Coastguard Worker<hr> 1711*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1712*7c568831SAndroid Build Coastguard Worker<h3> 1713*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathNextFollowing"></a>xmlXPathNextFollowing ()</h3> 1714*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> xmlXPathNextFollowing (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur)<br> 1715*7c568831SAndroid Build Coastguard Worker</pre> 1716*7c568831SAndroid Build Coastguard Worker<p>Traversal function for the "following" direction The following axis contains all nodes in the same document as the context node that are after the context node in document order, excluding any descendants and excluding <a href="libxml2-SAX.html#attribute">attribute</a> nodes and namespace nodes; the nodes are ordered in document order</p> 1717*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1718*7c568831SAndroid Build Coastguard Worker<col align="left"> 1719*7c568831SAndroid Build Coastguard Worker<tbody> 1720*7c568831SAndroid Build Coastguard Worker<tr> 1721*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 1722*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 1723*7c568831SAndroid Build Coastguard Worker</tr> 1724*7c568831SAndroid Build Coastguard Worker<tr> 1725*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 1726*7c568831SAndroid Build Coastguard Worker<td>the current node in the traversal</td> 1727*7c568831SAndroid Build Coastguard Worker</tr> 1728*7c568831SAndroid Build Coastguard Worker<tr> 1729*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1730*7c568831SAndroid Build Coastguard Worker<td>the next element following that axis</td> 1731*7c568831SAndroid Build Coastguard Worker</tr> 1732*7c568831SAndroid Build Coastguard Worker</tbody> 1733*7c568831SAndroid Build Coastguard Worker</table></div> 1734*7c568831SAndroid Build Coastguard Worker</div> 1735*7c568831SAndroid Build Coastguard Worker<hr> 1736*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1737*7c568831SAndroid Build Coastguard Worker<h3> 1738*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathNextFollowingSibling"></a>xmlXPathNextFollowingSibling ()</h3> 1739*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> xmlXPathNextFollowingSibling (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur)<br> 1740*7c568831SAndroid Build Coastguard Worker</pre> 1741*7c568831SAndroid Build Coastguard Worker<p>Traversal function for the "following-sibling" direction The following-sibling axis contains the following siblings of the context node in document order.</p> 1742*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1743*7c568831SAndroid Build Coastguard Worker<col align="left"> 1744*7c568831SAndroid Build Coastguard Worker<tbody> 1745*7c568831SAndroid Build Coastguard Worker<tr> 1746*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 1747*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 1748*7c568831SAndroid Build Coastguard Worker</tr> 1749*7c568831SAndroid Build Coastguard Worker<tr> 1750*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 1751*7c568831SAndroid Build Coastguard Worker<td>the current node in the traversal</td> 1752*7c568831SAndroid Build Coastguard Worker</tr> 1753*7c568831SAndroid Build Coastguard Worker<tr> 1754*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1755*7c568831SAndroid Build Coastguard Worker<td>the next element following that axis</td> 1756*7c568831SAndroid Build Coastguard Worker</tr> 1757*7c568831SAndroid Build Coastguard Worker</tbody> 1758*7c568831SAndroid Build Coastguard Worker</table></div> 1759*7c568831SAndroid Build Coastguard Worker</div> 1760*7c568831SAndroid Build Coastguard Worker<hr> 1761*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1762*7c568831SAndroid Build Coastguard Worker<h3> 1763*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathNextNamespace"></a>xmlXPathNextNamespace ()</h3> 1764*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> xmlXPathNextNamespace (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur)<br> 1765*7c568831SAndroid Build Coastguard Worker</pre> 1766*7c568831SAndroid Build Coastguard Worker<p>Traversal function for the "namespace" direction the namespace axis contains the namespace nodes of the context node; the order of nodes on this axis is implementation-defined; the axis will be empty unless the context node is an element We keep the XML namespace node at the end of the list.</p> 1767*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1768*7c568831SAndroid Build Coastguard Worker<col align="left"> 1769*7c568831SAndroid Build Coastguard Worker<tbody> 1770*7c568831SAndroid Build Coastguard Worker<tr> 1771*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 1772*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 1773*7c568831SAndroid Build Coastguard Worker</tr> 1774*7c568831SAndroid Build Coastguard Worker<tr> 1775*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 1776*7c568831SAndroid Build Coastguard Worker<td>the current <a href="libxml2-SAX.html#attribute">attribute</a> in the traversal</td> 1777*7c568831SAndroid Build Coastguard Worker</tr> 1778*7c568831SAndroid Build Coastguard Worker<tr> 1779*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1780*7c568831SAndroid Build Coastguard Worker<td>the next element following that axis</td> 1781*7c568831SAndroid Build Coastguard Worker</tr> 1782*7c568831SAndroid Build Coastguard Worker</tbody> 1783*7c568831SAndroid Build Coastguard Worker</table></div> 1784*7c568831SAndroid Build Coastguard Worker</div> 1785*7c568831SAndroid Build Coastguard Worker<hr> 1786*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1787*7c568831SAndroid Build Coastguard Worker<h3> 1788*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathNextParent"></a>xmlXPathNextParent ()</h3> 1789*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> xmlXPathNextParent (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur)<br> 1790*7c568831SAndroid Build Coastguard Worker</pre> 1791*7c568831SAndroid Build Coastguard Worker<p>Traversal function for the "parent" direction The parent axis contains the parent of the context node, if there is one.</p> 1792*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1793*7c568831SAndroid Build Coastguard Worker<col align="left"> 1794*7c568831SAndroid Build Coastguard Worker<tbody> 1795*7c568831SAndroid Build Coastguard Worker<tr> 1796*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 1797*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 1798*7c568831SAndroid Build Coastguard Worker</tr> 1799*7c568831SAndroid Build Coastguard Worker<tr> 1800*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 1801*7c568831SAndroid Build Coastguard Worker<td>the current node in the traversal</td> 1802*7c568831SAndroid Build Coastguard Worker</tr> 1803*7c568831SAndroid Build Coastguard Worker<tr> 1804*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1805*7c568831SAndroid Build Coastguard Worker<td>the next element following that axis</td> 1806*7c568831SAndroid Build Coastguard Worker</tr> 1807*7c568831SAndroid Build Coastguard Worker</tbody> 1808*7c568831SAndroid Build Coastguard Worker</table></div> 1809*7c568831SAndroid Build Coastguard Worker</div> 1810*7c568831SAndroid Build Coastguard Worker<hr> 1811*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1812*7c568831SAndroid Build Coastguard Worker<h3> 1813*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathNextPreceding"></a>xmlXPathNextPreceding ()</h3> 1814*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> xmlXPathNextPreceding (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur)<br> 1815*7c568831SAndroid Build Coastguard Worker</pre> 1816*7c568831SAndroid Build Coastguard Worker<p>Traversal function for the "preceding" direction the preceding axis contains all nodes in the same document as the context node that are before the context node in document order, excluding any ancestors and excluding <a href="libxml2-SAX.html#attribute">attribute</a> nodes and namespace nodes; the nodes are ordered in reverse document order</p> 1817*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1818*7c568831SAndroid Build Coastguard Worker<col align="left"> 1819*7c568831SAndroid Build Coastguard Worker<tbody> 1820*7c568831SAndroid Build Coastguard Worker<tr> 1821*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 1822*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 1823*7c568831SAndroid Build Coastguard Worker</tr> 1824*7c568831SAndroid Build Coastguard Worker<tr> 1825*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 1826*7c568831SAndroid Build Coastguard Worker<td>the current node in the traversal</td> 1827*7c568831SAndroid Build Coastguard Worker</tr> 1828*7c568831SAndroid Build Coastguard Worker<tr> 1829*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1830*7c568831SAndroid Build Coastguard Worker<td>the next element following that axis</td> 1831*7c568831SAndroid Build Coastguard Worker</tr> 1832*7c568831SAndroid Build Coastguard Worker</tbody> 1833*7c568831SAndroid Build Coastguard Worker</table></div> 1834*7c568831SAndroid Build Coastguard Worker</div> 1835*7c568831SAndroid Build Coastguard Worker<hr> 1836*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1837*7c568831SAndroid Build Coastguard Worker<h3> 1838*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathNextPrecedingSibling"></a>xmlXPathNextPrecedingSibling ()</h3> 1839*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> xmlXPathNextPrecedingSibling (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur)<br> 1840*7c568831SAndroid Build Coastguard Worker</pre> 1841*7c568831SAndroid Build Coastguard Worker<p>Traversal function for the "preceding-sibling" direction The preceding-sibling axis contains the preceding siblings of the context node in reverse document order; the first preceding sibling is first on the axis; the sibling preceding that node is the second on the axis and so on.</p> 1842*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1843*7c568831SAndroid Build Coastguard Worker<col align="left"> 1844*7c568831SAndroid Build Coastguard Worker<tbody> 1845*7c568831SAndroid Build Coastguard Worker<tr> 1846*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 1847*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 1848*7c568831SAndroid Build Coastguard Worker</tr> 1849*7c568831SAndroid Build Coastguard Worker<tr> 1850*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 1851*7c568831SAndroid Build Coastguard Worker<td>the current node in the traversal</td> 1852*7c568831SAndroid Build Coastguard Worker</tr> 1853*7c568831SAndroid Build Coastguard Worker<tr> 1854*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1855*7c568831SAndroid Build Coastguard Worker<td>the next element following that axis</td> 1856*7c568831SAndroid Build Coastguard Worker</tr> 1857*7c568831SAndroid Build Coastguard Worker</tbody> 1858*7c568831SAndroid Build Coastguard Worker</table></div> 1859*7c568831SAndroid Build Coastguard Worker</div> 1860*7c568831SAndroid Build Coastguard Worker<hr> 1861*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1862*7c568831SAndroid Build Coastguard Worker<h3> 1863*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathNextSelf"></a>xmlXPathNextSelf ()</h3> 1864*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> xmlXPathNextSelf (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur)<br> 1865*7c568831SAndroid Build Coastguard Worker</pre> 1866*7c568831SAndroid Build Coastguard Worker<p>Traversal function for the "self" direction The self axis contains just the context node itself</p> 1867*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1868*7c568831SAndroid Build Coastguard Worker<col align="left"> 1869*7c568831SAndroid Build Coastguard Worker<tbody> 1870*7c568831SAndroid Build Coastguard Worker<tr> 1871*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 1872*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 1873*7c568831SAndroid Build Coastguard Worker</tr> 1874*7c568831SAndroid Build Coastguard Worker<tr> 1875*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 1876*7c568831SAndroid Build Coastguard Worker<td>the current node in the traversal</td> 1877*7c568831SAndroid Build Coastguard Worker</tr> 1878*7c568831SAndroid Build Coastguard Worker<tr> 1879*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1880*7c568831SAndroid Build Coastguard Worker<td>the next element following that axis</td> 1881*7c568831SAndroid Build Coastguard Worker</tr> 1882*7c568831SAndroid Build Coastguard Worker</tbody> 1883*7c568831SAndroid Build Coastguard Worker</table></div> 1884*7c568831SAndroid Build Coastguard Worker</div> 1885*7c568831SAndroid Build Coastguard Worker<hr> 1886*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1887*7c568831SAndroid Build Coastguard Worker<h3> 1888*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathNodeLeading"></a>xmlXPathNodeLeading ()</h3> 1889*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> xmlXPathNodeLeading (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodes, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node)<br> 1890*7c568831SAndroid Build Coastguard Worker</pre> 1891*7c568831SAndroid Build Coastguard Worker<p>Implements the EXSLT - Sets leading() function: node-set set:leading (node-set, node-set) @nodes is sorted by document order, then #exslSetsNodeLeadingSorted is called.</p> 1892*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1893*7c568831SAndroid Build Coastguard Worker<col align="left"> 1894*7c568831SAndroid Build Coastguard Worker<tbody> 1895*7c568831SAndroid Build Coastguard Worker<tr> 1896*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>nodes</tt></i>:</span></td> 1897*7c568831SAndroid Build Coastguard Worker<td>a node-set</td> 1898*7c568831SAndroid Build Coastguard Worker</tr> 1899*7c568831SAndroid Build Coastguard Worker<tr> 1900*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>node</tt></i>:</span></td> 1901*7c568831SAndroid Build Coastguard Worker<td>a node</td> 1902*7c568831SAndroid Build Coastguard Worker</tr> 1903*7c568831SAndroid Build Coastguard Worker<tr> 1904*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1905*7c568831SAndroid Build Coastguard Worker<td>the nodes in @nodes that precede @node in document order, @nodes if @node is NULL or an empty node-set if @nodes doesn't contain @node</td> 1906*7c568831SAndroid Build Coastguard Worker</tr> 1907*7c568831SAndroid Build Coastguard Worker</tbody> 1908*7c568831SAndroid Build Coastguard Worker</table></div> 1909*7c568831SAndroid Build Coastguard Worker</div> 1910*7c568831SAndroid Build Coastguard Worker<hr> 1911*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1912*7c568831SAndroid Build Coastguard Worker<h3> 1913*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathNodeLeadingSorted"></a>xmlXPathNodeLeadingSorted ()</h3> 1914*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> xmlXPathNodeLeadingSorted (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodes, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node)<br> 1915*7c568831SAndroid Build Coastguard Worker</pre> 1916*7c568831SAndroid Build Coastguard Worker<p>Implements the EXSLT - Sets leading() function: node-set set:leading (node-set, node-set)</p> 1917*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1918*7c568831SAndroid Build Coastguard Worker<col align="left"> 1919*7c568831SAndroid Build Coastguard Worker<tbody> 1920*7c568831SAndroid Build Coastguard Worker<tr> 1921*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>nodes</tt></i>:</span></td> 1922*7c568831SAndroid Build Coastguard Worker<td>a node-set, sorted by document order</td> 1923*7c568831SAndroid Build Coastguard Worker</tr> 1924*7c568831SAndroid Build Coastguard Worker<tr> 1925*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>node</tt></i>:</span></td> 1926*7c568831SAndroid Build Coastguard Worker<td>a node</td> 1927*7c568831SAndroid Build Coastguard Worker</tr> 1928*7c568831SAndroid Build Coastguard Worker<tr> 1929*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1930*7c568831SAndroid Build Coastguard Worker<td>the nodes in @nodes that precede @node in document order, @nodes if @node is NULL or an empty node-set if @nodes doesn't contain @node</td> 1931*7c568831SAndroid Build Coastguard Worker</tr> 1932*7c568831SAndroid Build Coastguard Worker</tbody> 1933*7c568831SAndroid Build Coastguard Worker</table></div> 1934*7c568831SAndroid Build Coastguard Worker</div> 1935*7c568831SAndroid Build Coastguard Worker<hr> 1936*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1937*7c568831SAndroid Build Coastguard Worker<h3> 1938*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathNodeSetAdd"></a>xmlXPathNodeSetAdd ()</h3> 1939*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlXPathNodeSetAdd (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> cur, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> val)<br> 1940*7c568831SAndroid Build Coastguard Worker</pre> 1941*7c568831SAndroid Build Coastguard Worker<p>add a new <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> to an existing NodeSet</p> 1942*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1943*7c568831SAndroid Build Coastguard Worker<col align="left"> 1944*7c568831SAndroid Build Coastguard Worker<tbody> 1945*7c568831SAndroid Build Coastguard Worker<tr> 1946*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 1947*7c568831SAndroid Build Coastguard Worker<td>the initial node set</td> 1948*7c568831SAndroid Build Coastguard Worker</tr> 1949*7c568831SAndroid Build Coastguard Worker<tr> 1950*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>val</tt></i>:</span></td> 1951*7c568831SAndroid Build Coastguard Worker<td>a new <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> 1952*7c568831SAndroid Build Coastguard Worker</td> 1953*7c568831SAndroid Build Coastguard Worker</tr> 1954*7c568831SAndroid Build Coastguard Worker<tr> 1955*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1956*7c568831SAndroid Build Coastguard Worker<td>0 in case of success, and -1 in case of error</td> 1957*7c568831SAndroid Build Coastguard Worker</tr> 1958*7c568831SAndroid Build Coastguard Worker</tbody> 1959*7c568831SAndroid Build Coastguard Worker</table></div> 1960*7c568831SAndroid Build Coastguard Worker</div> 1961*7c568831SAndroid Build Coastguard Worker<hr> 1962*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1963*7c568831SAndroid Build Coastguard Worker<h3> 1964*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathNodeSetAddNs"></a>xmlXPathNodeSetAddNs ()</h3> 1965*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlXPathNodeSetAddNs (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> cur, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node, <br> <a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> ns)<br> 1966*7c568831SAndroid Build Coastguard Worker</pre> 1967*7c568831SAndroid Build Coastguard Worker<p>add a new namespace node to an existing NodeSet</p> 1968*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1969*7c568831SAndroid Build Coastguard Worker<col align="left"> 1970*7c568831SAndroid Build Coastguard Worker<tbody> 1971*7c568831SAndroid Build Coastguard Worker<tr> 1972*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 1973*7c568831SAndroid Build Coastguard Worker<td>the initial node set</td> 1974*7c568831SAndroid Build Coastguard Worker</tr> 1975*7c568831SAndroid Build Coastguard Worker<tr> 1976*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>node</tt></i>:</span></td> 1977*7c568831SAndroid Build Coastguard Worker<td>the hosting node</td> 1978*7c568831SAndroid Build Coastguard Worker</tr> 1979*7c568831SAndroid Build Coastguard Worker<tr> 1980*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ns</tt></i>:</span></td> 1981*7c568831SAndroid Build Coastguard Worker<td>a the namespace node</td> 1982*7c568831SAndroid Build Coastguard Worker</tr> 1983*7c568831SAndroid Build Coastguard Worker<tr> 1984*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1985*7c568831SAndroid Build Coastguard Worker<td>0 in case of success and -1 in case of error</td> 1986*7c568831SAndroid Build Coastguard Worker</tr> 1987*7c568831SAndroid Build Coastguard Worker</tbody> 1988*7c568831SAndroid Build Coastguard Worker</table></div> 1989*7c568831SAndroid Build Coastguard Worker</div> 1990*7c568831SAndroid Build Coastguard Worker<hr> 1991*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1992*7c568831SAndroid Build Coastguard Worker<h3> 1993*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathNodeSetAddUnique"></a>xmlXPathNodeSetAddUnique ()</h3> 1994*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlXPathNodeSetAddUnique (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> cur, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> val)<br> 1995*7c568831SAndroid Build Coastguard Worker</pre> 1996*7c568831SAndroid Build Coastguard Worker<p>add a new <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> to an existing NodeSet, optimized version when we are sure the node is not already in the set.</p> 1997*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1998*7c568831SAndroid Build Coastguard Worker<col align="left"> 1999*7c568831SAndroid Build Coastguard Worker<tbody> 2000*7c568831SAndroid Build Coastguard Worker<tr> 2001*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 2002*7c568831SAndroid Build Coastguard Worker<td>the initial node set</td> 2003*7c568831SAndroid Build Coastguard Worker</tr> 2004*7c568831SAndroid Build Coastguard Worker<tr> 2005*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>val</tt></i>:</span></td> 2006*7c568831SAndroid Build Coastguard Worker<td>a new <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> 2007*7c568831SAndroid Build Coastguard Worker</td> 2008*7c568831SAndroid Build Coastguard Worker</tr> 2009*7c568831SAndroid Build Coastguard Worker<tr> 2010*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 2011*7c568831SAndroid Build Coastguard Worker<td>0 in case of success and -1 in case of failure</td> 2012*7c568831SAndroid Build Coastguard Worker</tr> 2013*7c568831SAndroid Build Coastguard Worker</tbody> 2014*7c568831SAndroid Build Coastguard Worker</table></div> 2015*7c568831SAndroid Build Coastguard Worker</div> 2016*7c568831SAndroid Build Coastguard Worker<hr> 2017*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2018*7c568831SAndroid Build Coastguard Worker<h3> 2019*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathNodeSetContains"></a>xmlXPathNodeSetContains ()</h3> 2020*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlXPathNodeSetContains (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> cur, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> val)<br> 2021*7c568831SAndroid Build Coastguard Worker</pre> 2022*7c568831SAndroid Build Coastguard Worker<p>checks whether @cur contains @val</p> 2023*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2024*7c568831SAndroid Build Coastguard Worker<col align="left"> 2025*7c568831SAndroid Build Coastguard Worker<tbody> 2026*7c568831SAndroid Build Coastguard Worker<tr> 2027*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 2028*7c568831SAndroid Build Coastguard Worker<td>the node-set</td> 2029*7c568831SAndroid Build Coastguard Worker</tr> 2030*7c568831SAndroid Build Coastguard Worker<tr> 2031*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>val</tt></i>:</span></td> 2032*7c568831SAndroid Build Coastguard Worker<td>the node</td> 2033*7c568831SAndroid Build Coastguard Worker</tr> 2034*7c568831SAndroid Build Coastguard Worker<tr> 2035*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 2036*7c568831SAndroid Build Coastguard Worker<td>true (1) if @cur contains @val, false (0) otherwise</td> 2037*7c568831SAndroid Build Coastguard Worker</tr> 2038*7c568831SAndroid Build Coastguard Worker</tbody> 2039*7c568831SAndroid Build Coastguard Worker</table></div> 2040*7c568831SAndroid Build Coastguard Worker</div> 2041*7c568831SAndroid Build Coastguard Worker<hr> 2042*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2043*7c568831SAndroid Build Coastguard Worker<h3> 2044*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathNodeSetDel"></a>xmlXPathNodeSetDel ()</h3> 2045*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlXPathNodeSetDel (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> cur, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> val)<br> 2046*7c568831SAndroid Build Coastguard Worker</pre> 2047*7c568831SAndroid Build Coastguard Worker<p>Removes an <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> from an existing NodeSet</p> 2048*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2049*7c568831SAndroid Build Coastguard Worker<col align="left"> 2050*7c568831SAndroid Build Coastguard Worker<tbody> 2051*7c568831SAndroid Build Coastguard Worker<tr> 2052*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 2053*7c568831SAndroid Build Coastguard Worker<td>the initial node set</td> 2054*7c568831SAndroid Build Coastguard Worker</tr> 2055*7c568831SAndroid Build Coastguard Worker<tr> 2056*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>val</tt></i>:</span></td> 2057*7c568831SAndroid Build Coastguard Worker<td>an <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> 2058*7c568831SAndroid Build Coastguard Worker</td> 2059*7c568831SAndroid Build Coastguard Worker</tr> 2060*7c568831SAndroid Build Coastguard Worker</tbody> 2061*7c568831SAndroid Build Coastguard Worker</table></div> 2062*7c568831SAndroid Build Coastguard Worker</div> 2063*7c568831SAndroid Build Coastguard Worker<hr> 2064*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2065*7c568831SAndroid Build Coastguard Worker<h3> 2066*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathNodeSetFreeNs"></a>xmlXPathNodeSetFreeNs ()</h3> 2067*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlXPathNodeSetFreeNs (<a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> ns)<br> 2068*7c568831SAndroid Build Coastguard Worker</pre> 2069*7c568831SAndroid Build Coastguard Worker<p>Namespace nodes in libxml don't match the XPath semantic. In a node set the namespace nodes are duplicated and the next pointer is set to the parent node in the XPath semantic. Check if such a node needs to be freed</p> 2070*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2071*7c568831SAndroid Build Coastguard Worker<col align="left"> 2072*7c568831SAndroid Build Coastguard Worker<tbody><tr> 2073*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ns</tt></i>:</span></td> 2074*7c568831SAndroid Build Coastguard Worker<td>the XPath namespace node found in a nodeset.</td> 2075*7c568831SAndroid Build Coastguard Worker</tr></tbody> 2076*7c568831SAndroid Build Coastguard Worker</table></div> 2077*7c568831SAndroid Build Coastguard Worker</div> 2078*7c568831SAndroid Build Coastguard Worker<hr> 2079*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2080*7c568831SAndroid Build Coastguard Worker<h3> 2081*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathNodeSetMerge"></a>xmlXPathNodeSetMerge ()</h3> 2082*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> xmlXPathNodeSetMerge (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> val1, <br> <a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> val2)<br> 2083*7c568831SAndroid Build Coastguard Worker</pre> 2084*7c568831SAndroid Build Coastguard Worker<p>Merges two nodesets, all nodes from @val2 are added to @val1 if @val1 is NULL, a new set is created and copied from @val2</p> 2085*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2086*7c568831SAndroid Build Coastguard Worker<col align="left"> 2087*7c568831SAndroid Build Coastguard Worker<tbody> 2088*7c568831SAndroid Build Coastguard Worker<tr> 2089*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>val1</tt></i>:</span></td> 2090*7c568831SAndroid Build Coastguard Worker<td>the first NodeSet or NULL</td> 2091*7c568831SAndroid Build Coastguard Worker</tr> 2092*7c568831SAndroid Build Coastguard Worker<tr> 2093*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>val2</tt></i>:</span></td> 2094*7c568831SAndroid Build Coastguard Worker<td>the second NodeSet</td> 2095*7c568831SAndroid Build Coastguard Worker</tr> 2096*7c568831SAndroid Build Coastguard Worker<tr> 2097*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 2098*7c568831SAndroid Build Coastguard Worker<td>@val1 once extended or NULL in case of error. Frees @val1 in case of error.</td> 2099*7c568831SAndroid Build Coastguard Worker</tr> 2100*7c568831SAndroid Build Coastguard Worker</tbody> 2101*7c568831SAndroid Build Coastguard Worker</table></div> 2102*7c568831SAndroid Build Coastguard Worker</div> 2103*7c568831SAndroid Build Coastguard Worker<hr> 2104*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2105*7c568831SAndroid Build Coastguard Worker<h3> 2106*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathNodeSetRemove"></a>xmlXPathNodeSetRemove ()</h3> 2107*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlXPathNodeSetRemove (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> cur, <br> int val)<br> 2108*7c568831SAndroid Build Coastguard Worker</pre> 2109*7c568831SAndroid Build Coastguard Worker<p>Removes an entry from an existing NodeSet list.</p> 2110*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2111*7c568831SAndroid Build Coastguard Worker<col align="left"> 2112*7c568831SAndroid Build Coastguard Worker<tbody> 2113*7c568831SAndroid Build Coastguard Worker<tr> 2114*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 2115*7c568831SAndroid Build Coastguard Worker<td>the initial node set</td> 2116*7c568831SAndroid Build Coastguard Worker</tr> 2117*7c568831SAndroid Build Coastguard Worker<tr> 2118*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>val</tt></i>:</span></td> 2119*7c568831SAndroid Build Coastguard Worker<td>the index to remove</td> 2120*7c568831SAndroid Build Coastguard Worker</tr> 2121*7c568831SAndroid Build Coastguard Worker</tbody> 2122*7c568831SAndroid Build Coastguard Worker</table></div> 2123*7c568831SAndroid Build Coastguard Worker</div> 2124*7c568831SAndroid Build Coastguard Worker<hr> 2125*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2126*7c568831SAndroid Build Coastguard Worker<h3> 2127*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathNodeSetSort"></a>xmlXPathNodeSetSort ()</h3> 2128*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlXPathNodeSetSort (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> set)<br> 2129*7c568831SAndroid Build Coastguard Worker</pre> 2130*7c568831SAndroid Build Coastguard Worker<p>Sort the node set in document order</p> 2131*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2132*7c568831SAndroid Build Coastguard Worker<col align="left"> 2133*7c568831SAndroid Build Coastguard Worker<tbody><tr> 2134*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>set</tt></i>:</span></td> 2135*7c568831SAndroid Build Coastguard Worker<td>the node set</td> 2136*7c568831SAndroid Build Coastguard Worker</tr></tbody> 2137*7c568831SAndroid Build Coastguard Worker</table></div> 2138*7c568831SAndroid Build Coastguard Worker</div> 2139*7c568831SAndroid Build Coastguard Worker<hr> 2140*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2141*7c568831SAndroid Build Coastguard Worker<h3> 2142*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathNodeTrailing"></a>xmlXPathNodeTrailing ()</h3> 2143*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> xmlXPathNodeTrailing (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodes, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node)<br> 2144*7c568831SAndroid Build Coastguard Worker</pre> 2145*7c568831SAndroid Build Coastguard Worker<p>Implements the EXSLT - Sets trailing() function: node-set set:trailing (node-set, node-set) @nodes is sorted by document order, then #xmlXPathNodeTrailingSorted is called.</p> 2146*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2147*7c568831SAndroid Build Coastguard Worker<col align="left"> 2148*7c568831SAndroid Build Coastguard Worker<tbody> 2149*7c568831SAndroid Build Coastguard Worker<tr> 2150*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>nodes</tt></i>:</span></td> 2151*7c568831SAndroid Build Coastguard Worker<td>a node-set</td> 2152*7c568831SAndroid Build Coastguard Worker</tr> 2153*7c568831SAndroid Build Coastguard Worker<tr> 2154*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>node</tt></i>:</span></td> 2155*7c568831SAndroid Build Coastguard Worker<td>a node</td> 2156*7c568831SAndroid Build Coastguard Worker</tr> 2157*7c568831SAndroid Build Coastguard Worker<tr> 2158*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 2159*7c568831SAndroid Build Coastguard Worker<td>the nodes in @nodes that follow @node in document order, @nodes if @node is NULL or an empty node-set if @nodes doesn't contain @node</td> 2160*7c568831SAndroid Build Coastguard Worker</tr> 2161*7c568831SAndroid Build Coastguard Worker</tbody> 2162*7c568831SAndroid Build Coastguard Worker</table></div> 2163*7c568831SAndroid Build Coastguard Worker</div> 2164*7c568831SAndroid Build Coastguard Worker<hr> 2165*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2166*7c568831SAndroid Build Coastguard Worker<h3> 2167*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathNodeTrailingSorted"></a>xmlXPathNodeTrailingSorted ()</h3> 2168*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> xmlXPathNodeTrailingSorted (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodes, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node)<br> 2169*7c568831SAndroid Build Coastguard Worker</pre> 2170*7c568831SAndroid Build Coastguard Worker<p>Implements the EXSLT - Sets trailing() function: node-set set:trailing (node-set, node-set)</p> 2171*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2172*7c568831SAndroid Build Coastguard Worker<col align="left"> 2173*7c568831SAndroid Build Coastguard Worker<tbody> 2174*7c568831SAndroid Build Coastguard Worker<tr> 2175*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>nodes</tt></i>:</span></td> 2176*7c568831SAndroid Build Coastguard Worker<td>a node-set, sorted by document order</td> 2177*7c568831SAndroid Build Coastguard Worker</tr> 2178*7c568831SAndroid Build Coastguard Worker<tr> 2179*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>node</tt></i>:</span></td> 2180*7c568831SAndroid Build Coastguard Worker<td>a node</td> 2181*7c568831SAndroid Build Coastguard Worker</tr> 2182*7c568831SAndroid Build Coastguard Worker<tr> 2183*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 2184*7c568831SAndroid Build Coastguard Worker<td>the nodes in @nodes that follow @node in document order, @nodes if @node is NULL or an empty node-set if @nodes doesn't contain @node</td> 2185*7c568831SAndroid Build Coastguard Worker</tr> 2186*7c568831SAndroid Build Coastguard Worker</tbody> 2187*7c568831SAndroid Build Coastguard Worker</table></div> 2188*7c568831SAndroid Build Coastguard Worker</div> 2189*7c568831SAndroid Build Coastguard Worker<hr> 2190*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2191*7c568831SAndroid Build Coastguard Worker<h3> 2192*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathNormalizeFunction"></a>xmlXPathNormalizeFunction ()</h3> 2193*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlXPathNormalizeFunction (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int nargs)<br> 2194*7c568831SAndroid Build Coastguard Worker</pre> 2195*7c568831SAndroid Build Coastguard Worker<p>Implement the normalize-space() XPath function string normalize-space(string?) The normalize-space function returns the argument string with white space normalized by stripping leading and trailing whitespace and replacing sequences of whitespace <a href="libxml2-SAX.html#characters">characters</a> by a single space. Whitespace <a href="libxml2-SAX.html#characters">characters</a> are the same allowed by the S production in XML. If the argument is omitted, it defaults to the context node converted to a string, in other words the value of the context node.</p> 2196*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2197*7c568831SAndroid Build Coastguard Worker<col align="left"> 2198*7c568831SAndroid Build Coastguard Worker<tbody> 2199*7c568831SAndroid Build Coastguard Worker<tr> 2200*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 2201*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 2202*7c568831SAndroid Build Coastguard Worker</tr> 2203*7c568831SAndroid Build Coastguard Worker<tr> 2204*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>nargs</tt></i>:</span></td> 2205*7c568831SAndroid Build Coastguard Worker<td>the number of arguments</td> 2206*7c568831SAndroid Build Coastguard Worker</tr> 2207*7c568831SAndroid Build Coastguard Worker</tbody> 2208*7c568831SAndroid Build Coastguard Worker</table></div> 2209*7c568831SAndroid Build Coastguard Worker</div> 2210*7c568831SAndroid Build Coastguard Worker<hr> 2211*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2212*7c568831SAndroid Build Coastguard Worker<h3> 2213*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathNotEqualValues"></a>xmlXPathNotEqualValues ()</h3> 2214*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlXPathNotEqualValues (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt)<br> 2215*7c568831SAndroid Build Coastguard Worker</pre> 2216*7c568831SAndroid Build Coastguard Worker<p>Implement the equal operation on XPath objects content: @arg1 == @arg2</p> 2217*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2218*7c568831SAndroid Build Coastguard Worker<col align="left"> 2219*7c568831SAndroid Build Coastguard Worker<tbody> 2220*7c568831SAndroid Build Coastguard Worker<tr> 2221*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 2222*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 2223*7c568831SAndroid Build Coastguard Worker</tr> 2224*7c568831SAndroid Build Coastguard Worker<tr> 2225*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 2226*7c568831SAndroid Build Coastguard Worker<td>0 or 1 depending on the results of the test.</td> 2227*7c568831SAndroid Build Coastguard Worker</tr> 2228*7c568831SAndroid Build Coastguard Worker</tbody> 2229*7c568831SAndroid Build Coastguard Worker</table></div> 2230*7c568831SAndroid Build Coastguard Worker</div> 2231*7c568831SAndroid Build Coastguard Worker<hr> 2232*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2233*7c568831SAndroid Build Coastguard Worker<h3> 2234*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathNotFunction"></a>xmlXPathNotFunction ()</h3> 2235*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlXPathNotFunction (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int nargs)<br> 2236*7c568831SAndroid Build Coastguard Worker</pre> 2237*7c568831SAndroid Build Coastguard Worker<p>Implement the not() XPath function boolean not(boolean) The not function returns true if its argument is false, and false otherwise.</p> 2238*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2239*7c568831SAndroid Build Coastguard Worker<col align="left"> 2240*7c568831SAndroid Build Coastguard Worker<tbody> 2241*7c568831SAndroid Build Coastguard Worker<tr> 2242*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 2243*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 2244*7c568831SAndroid Build Coastguard Worker</tr> 2245*7c568831SAndroid Build Coastguard Worker<tr> 2246*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>nargs</tt></i>:</span></td> 2247*7c568831SAndroid Build Coastguard Worker<td>the number of arguments</td> 2248*7c568831SAndroid Build Coastguard Worker</tr> 2249*7c568831SAndroid Build Coastguard Worker</tbody> 2250*7c568831SAndroid Build Coastguard Worker</table></div> 2251*7c568831SAndroid Build Coastguard Worker</div> 2252*7c568831SAndroid Build Coastguard Worker<hr> 2253*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2254*7c568831SAndroid Build Coastguard Worker<h3> 2255*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathNsLookup"></a>xmlXPathNsLookup ()</h3> 2256*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlXPathNsLookup (<a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctxt, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * prefix)<br> 2257*7c568831SAndroid Build Coastguard Worker</pre> 2258*7c568831SAndroid Build Coastguard Worker<p>Search in the namespace declaration array of the context for the given namespace name associated to the given prefix</p> 2259*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2260*7c568831SAndroid Build Coastguard Worker<col align="left"> 2261*7c568831SAndroid Build Coastguard Worker<tbody> 2262*7c568831SAndroid Build Coastguard Worker<tr> 2263*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 2264*7c568831SAndroid Build Coastguard Worker<td>the XPath context</td> 2265*7c568831SAndroid Build Coastguard Worker</tr> 2266*7c568831SAndroid Build Coastguard Worker<tr> 2267*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>prefix</tt></i>:</span></td> 2268*7c568831SAndroid Build Coastguard Worker<td>the namespace prefix value</td> 2269*7c568831SAndroid Build Coastguard Worker</tr> 2270*7c568831SAndroid Build Coastguard Worker<tr> 2271*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 2272*7c568831SAndroid Build Coastguard Worker<td>the value or NULL if not found</td> 2273*7c568831SAndroid Build Coastguard Worker</tr> 2274*7c568831SAndroid Build Coastguard Worker</tbody> 2275*7c568831SAndroid Build Coastguard Worker</table></div> 2276*7c568831SAndroid Build Coastguard Worker</div> 2277*7c568831SAndroid Build Coastguard Worker<hr> 2278*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2279*7c568831SAndroid Build Coastguard Worker<h3> 2280*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathNumberFunction"></a>xmlXPathNumberFunction ()</h3> 2281*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlXPathNumberFunction (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int nargs)<br> 2282*7c568831SAndroid Build Coastguard Worker</pre> 2283*7c568831SAndroid Build Coastguard Worker<p>Implement the number() XPath function number number(object?)</p> 2284*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2285*7c568831SAndroid Build Coastguard Worker<col align="left"> 2286*7c568831SAndroid Build Coastguard Worker<tbody> 2287*7c568831SAndroid Build Coastguard Worker<tr> 2288*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 2289*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 2290*7c568831SAndroid Build Coastguard Worker</tr> 2291*7c568831SAndroid Build Coastguard Worker<tr> 2292*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>nargs</tt></i>:</span></td> 2293*7c568831SAndroid Build Coastguard Worker<td>the number of arguments</td> 2294*7c568831SAndroid Build Coastguard Worker</tr> 2295*7c568831SAndroid Build Coastguard Worker</tbody> 2296*7c568831SAndroid Build Coastguard Worker</table></div> 2297*7c568831SAndroid Build Coastguard Worker</div> 2298*7c568831SAndroid Build Coastguard Worker<hr> 2299*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2300*7c568831SAndroid Build Coastguard Worker<h3> 2301*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathParseNCName"></a>xmlXPathParseNCName ()</h3> 2302*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlXPathParseNCName (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt)<br> 2303*7c568831SAndroid Build Coastguard Worker</pre> 2304*7c568831SAndroid Build Coastguard Worker<p>parse an XML namespace non qualified name. [NS 3] NCName ::= (Letter | '_') (NCNameChar)* [NS 4] NCNameChar ::= Letter | Digit | '.' | '-' | '_' | CombiningChar | Extender</p> 2305*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2306*7c568831SAndroid Build Coastguard Worker<col align="left"> 2307*7c568831SAndroid Build Coastguard Worker<tbody> 2308*7c568831SAndroid Build Coastguard Worker<tr> 2309*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 2310*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 2311*7c568831SAndroid Build Coastguard Worker</tr> 2312*7c568831SAndroid Build Coastguard Worker<tr> 2313*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 2314*7c568831SAndroid Build Coastguard Worker<td>the namespace name or NULL</td> 2315*7c568831SAndroid Build Coastguard Worker</tr> 2316*7c568831SAndroid Build Coastguard Worker</tbody> 2317*7c568831SAndroid Build Coastguard Worker</table></div> 2318*7c568831SAndroid Build Coastguard Worker</div> 2319*7c568831SAndroid Build Coastguard Worker<hr> 2320*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2321*7c568831SAndroid Build Coastguard Worker<h3> 2322*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathParseName"></a>xmlXPathParseName ()</h3> 2323*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlXPathParseName (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt)<br> 2324*7c568831SAndroid Build Coastguard Worker</pre> 2325*7c568831SAndroid Build Coastguard Worker<p>parse an XML name [4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' | CombiningChar | Extender [5] Name ::= (Letter | '_' | ':') (NameChar)*</p> 2326*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2327*7c568831SAndroid Build Coastguard Worker<col align="left"> 2328*7c568831SAndroid Build Coastguard Worker<tbody> 2329*7c568831SAndroid Build Coastguard Worker<tr> 2330*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 2331*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 2332*7c568831SAndroid Build Coastguard Worker</tr> 2333*7c568831SAndroid Build Coastguard Worker<tr> 2334*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 2335*7c568831SAndroid Build Coastguard Worker<td>the namespace name or NULL</td> 2336*7c568831SAndroid Build Coastguard Worker</tr> 2337*7c568831SAndroid Build Coastguard Worker</tbody> 2338*7c568831SAndroid Build Coastguard Worker</table></div> 2339*7c568831SAndroid Build Coastguard Worker</div> 2340*7c568831SAndroid Build Coastguard Worker<hr> 2341*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2342*7c568831SAndroid Build Coastguard Worker<h3> 2343*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathPopBoolean"></a>xmlXPathPopBoolean ()</h3> 2344*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlXPathPopBoolean (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt)<br> 2345*7c568831SAndroid Build Coastguard Worker</pre> 2346*7c568831SAndroid Build Coastguard Worker<p>Pops a boolean from the stack, handling conversion if needed. Check error with #xmlXPathCheckError.</p> 2347*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2348*7c568831SAndroid Build Coastguard Worker<col align="left"> 2349*7c568831SAndroid Build Coastguard Worker<tbody> 2350*7c568831SAndroid Build Coastguard Worker<tr> 2351*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 2352*7c568831SAndroid Build Coastguard Worker<td>an XPath parser context</td> 2353*7c568831SAndroid Build Coastguard Worker</tr> 2354*7c568831SAndroid Build Coastguard Worker<tr> 2355*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 2356*7c568831SAndroid Build Coastguard Worker<td>the boolean</td> 2357*7c568831SAndroid Build Coastguard Worker</tr> 2358*7c568831SAndroid Build Coastguard Worker</tbody> 2359*7c568831SAndroid Build Coastguard Worker</table></div> 2360*7c568831SAndroid Build Coastguard Worker</div> 2361*7c568831SAndroid Build Coastguard Worker<hr> 2362*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2363*7c568831SAndroid Build Coastguard Worker<h3> 2364*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathPopExternal"></a>xmlXPathPopExternal ()</h3> 2365*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void * xmlXPathPopExternal (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt)<br> 2366*7c568831SAndroid Build Coastguard Worker</pre> 2367*7c568831SAndroid Build Coastguard Worker<p>Pops an external object from the stack, handling conversion if needed. Check error with #xmlXPathCheckError.</p> 2368*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2369*7c568831SAndroid Build Coastguard Worker<col align="left"> 2370*7c568831SAndroid Build Coastguard Worker<tbody> 2371*7c568831SAndroid Build Coastguard Worker<tr> 2372*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 2373*7c568831SAndroid Build Coastguard Worker<td>an XPath parser context</td> 2374*7c568831SAndroid Build Coastguard Worker</tr> 2375*7c568831SAndroid Build Coastguard Worker<tr> 2376*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 2377*7c568831SAndroid Build Coastguard Worker<td>the object</td> 2378*7c568831SAndroid Build Coastguard Worker</tr> 2379*7c568831SAndroid Build Coastguard Worker</tbody> 2380*7c568831SAndroid Build Coastguard Worker</table></div> 2381*7c568831SAndroid Build Coastguard Worker</div> 2382*7c568831SAndroid Build Coastguard Worker<hr> 2383*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2384*7c568831SAndroid Build Coastguard Worker<h3> 2385*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathPopNodeSet"></a>xmlXPathPopNodeSet ()</h3> 2386*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> xmlXPathPopNodeSet (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt)<br> 2387*7c568831SAndroid Build Coastguard Worker</pre> 2388*7c568831SAndroid Build Coastguard Worker<p>Pops a node-set from the stack, handling conversion if needed. Check error with #xmlXPathCheckError.</p> 2389*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2390*7c568831SAndroid Build Coastguard Worker<col align="left"> 2391*7c568831SAndroid Build Coastguard Worker<tbody> 2392*7c568831SAndroid Build Coastguard Worker<tr> 2393*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 2394*7c568831SAndroid Build Coastguard Worker<td>an XPath parser context</td> 2395*7c568831SAndroid Build Coastguard Worker</tr> 2396*7c568831SAndroid Build Coastguard Worker<tr> 2397*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 2398*7c568831SAndroid Build Coastguard Worker<td>the node-set</td> 2399*7c568831SAndroid Build Coastguard Worker</tr> 2400*7c568831SAndroid Build Coastguard Worker</tbody> 2401*7c568831SAndroid Build Coastguard Worker</table></div> 2402*7c568831SAndroid Build Coastguard Worker</div> 2403*7c568831SAndroid Build Coastguard Worker<hr> 2404*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2405*7c568831SAndroid Build Coastguard Worker<h3> 2406*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathPopNumber"></a>xmlXPathPopNumber ()</h3> 2407*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">double xmlXPathPopNumber (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt)<br> 2408*7c568831SAndroid Build Coastguard Worker</pre> 2409*7c568831SAndroid Build Coastguard Worker<p>Pops a number from the stack, handling conversion if needed. Check error with #xmlXPathCheckError.</p> 2410*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2411*7c568831SAndroid Build Coastguard Worker<col align="left"> 2412*7c568831SAndroid Build Coastguard Worker<tbody> 2413*7c568831SAndroid Build Coastguard Worker<tr> 2414*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 2415*7c568831SAndroid Build Coastguard Worker<td>an XPath parser context</td> 2416*7c568831SAndroid Build Coastguard Worker</tr> 2417*7c568831SAndroid Build Coastguard Worker<tr> 2418*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 2419*7c568831SAndroid Build Coastguard Worker<td>the number</td> 2420*7c568831SAndroid Build Coastguard Worker</tr> 2421*7c568831SAndroid Build Coastguard Worker</tbody> 2422*7c568831SAndroid Build Coastguard Worker</table></div> 2423*7c568831SAndroid Build Coastguard Worker</div> 2424*7c568831SAndroid Build Coastguard Worker<hr> 2425*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2426*7c568831SAndroid Build Coastguard Worker<h3> 2427*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathPopString"></a>xmlXPathPopString ()</h3> 2428*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlXPathPopString (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt)<br> 2429*7c568831SAndroid Build Coastguard Worker</pre> 2430*7c568831SAndroid Build Coastguard Worker<p>Pops a string from the stack, handling conversion if needed. Check error with #xmlXPathCheckError.</p> 2431*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2432*7c568831SAndroid Build Coastguard Worker<col align="left"> 2433*7c568831SAndroid Build Coastguard Worker<tbody> 2434*7c568831SAndroid Build Coastguard Worker<tr> 2435*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 2436*7c568831SAndroid Build Coastguard Worker<td>an XPath parser context</td> 2437*7c568831SAndroid Build Coastguard Worker</tr> 2438*7c568831SAndroid Build Coastguard Worker<tr> 2439*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 2440*7c568831SAndroid Build Coastguard Worker<td>the string</td> 2441*7c568831SAndroid Build Coastguard Worker</tr> 2442*7c568831SAndroid Build Coastguard Worker</tbody> 2443*7c568831SAndroid Build Coastguard Worker</table></div> 2444*7c568831SAndroid Build Coastguard Worker</div> 2445*7c568831SAndroid Build Coastguard Worker<hr> 2446*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2447*7c568831SAndroid Build Coastguard Worker<h3> 2448*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathPositionFunction"></a>xmlXPathPositionFunction ()</h3> 2449*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlXPathPositionFunction (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int nargs)<br> 2450*7c568831SAndroid Build Coastguard Worker</pre> 2451*7c568831SAndroid Build Coastguard Worker<p>Implement the position() XPath function number position() The position function returns the position of the context node in the context node list. The first position is 1, and so the last position will be equal to last().</p> 2452*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2453*7c568831SAndroid Build Coastguard Worker<col align="left"> 2454*7c568831SAndroid Build Coastguard Worker<tbody> 2455*7c568831SAndroid Build Coastguard Worker<tr> 2456*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 2457*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 2458*7c568831SAndroid Build Coastguard Worker</tr> 2459*7c568831SAndroid Build Coastguard Worker<tr> 2460*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>nargs</tt></i>:</span></td> 2461*7c568831SAndroid Build Coastguard Worker<td>the number of arguments</td> 2462*7c568831SAndroid Build Coastguard Worker</tr> 2463*7c568831SAndroid Build Coastguard Worker</tbody> 2464*7c568831SAndroid Build Coastguard Worker</table></div> 2465*7c568831SAndroid Build Coastguard Worker</div> 2466*7c568831SAndroid Build Coastguard Worker<hr> 2467*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2468*7c568831SAndroid Build Coastguard Worker<h3> 2469*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathRegisterAllFunctions"></a>xmlXPathRegisterAllFunctions ()</h3> 2470*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlXPathRegisterAllFunctions (<a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctxt)<br> 2471*7c568831SAndroid Build Coastguard Worker</pre> 2472*7c568831SAndroid Build Coastguard Worker<p>Registers all default XPath functions in this context</p> 2473*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2474*7c568831SAndroid Build Coastguard Worker<col align="left"> 2475*7c568831SAndroid Build Coastguard Worker<tbody><tr> 2476*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 2477*7c568831SAndroid Build Coastguard Worker<td>the XPath context</td> 2478*7c568831SAndroid Build Coastguard Worker</tr></tbody> 2479*7c568831SAndroid Build Coastguard Worker</table></div> 2480*7c568831SAndroid Build Coastguard Worker</div> 2481*7c568831SAndroid Build Coastguard Worker<hr> 2482*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2483*7c568831SAndroid Build Coastguard Worker<h3> 2484*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathRegisterFunc"></a>xmlXPathRegisterFunc ()</h3> 2485*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlXPathRegisterFunc (<a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctxt, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br> <a href="libxml2-xpath.html#xmlXPathFunction">xmlXPathFunction</a> f)<br> 2486*7c568831SAndroid Build Coastguard Worker</pre> 2487*7c568831SAndroid Build Coastguard Worker<p>Register a new function. If @f is NULL it unregisters the function</p> 2488*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2489*7c568831SAndroid Build Coastguard Worker<col align="left"> 2490*7c568831SAndroid Build Coastguard Worker<tbody> 2491*7c568831SAndroid Build Coastguard Worker<tr> 2492*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 2493*7c568831SAndroid Build Coastguard Worker<td>the XPath context</td> 2494*7c568831SAndroid Build Coastguard Worker</tr> 2495*7c568831SAndroid Build Coastguard Worker<tr> 2496*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>name</tt></i>:</span></td> 2497*7c568831SAndroid Build Coastguard Worker<td>the function name</td> 2498*7c568831SAndroid Build Coastguard Worker</tr> 2499*7c568831SAndroid Build Coastguard Worker<tr> 2500*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>f</tt></i>:</span></td> 2501*7c568831SAndroid Build Coastguard Worker<td>the function implementation or NULL</td> 2502*7c568831SAndroid Build Coastguard Worker</tr> 2503*7c568831SAndroid Build Coastguard Worker<tr> 2504*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 2505*7c568831SAndroid Build Coastguard Worker<td>0 in case of success, -1 in case of error</td> 2506*7c568831SAndroid Build Coastguard Worker</tr> 2507*7c568831SAndroid Build Coastguard Worker</tbody> 2508*7c568831SAndroid Build Coastguard Worker</table></div> 2509*7c568831SAndroid Build Coastguard Worker</div> 2510*7c568831SAndroid Build Coastguard Worker<hr> 2511*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2512*7c568831SAndroid Build Coastguard Worker<h3> 2513*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathRegisterFuncLookup"></a>xmlXPathRegisterFuncLookup ()</h3> 2514*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlXPathRegisterFuncLookup (<a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctxt, <br> <a href="libxml2-xpath.html#xmlXPathFuncLookupFunc">xmlXPathFuncLookupFunc</a> f, <br> void * funcCtxt)<br> 2515*7c568831SAndroid Build Coastguard Worker</pre> 2516*7c568831SAndroid Build Coastguard Worker<p>Registers an external mechanism to do function lookup.</p> 2517*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2518*7c568831SAndroid Build Coastguard Worker<col align="left"> 2519*7c568831SAndroid Build Coastguard Worker<tbody> 2520*7c568831SAndroid Build Coastguard Worker<tr> 2521*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 2522*7c568831SAndroid Build Coastguard Worker<td>the XPath context</td> 2523*7c568831SAndroid Build Coastguard Worker</tr> 2524*7c568831SAndroid Build Coastguard Worker<tr> 2525*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>f</tt></i>:</span></td> 2526*7c568831SAndroid Build Coastguard Worker<td>the lookup function</td> 2527*7c568831SAndroid Build Coastguard Worker</tr> 2528*7c568831SAndroid Build Coastguard Worker<tr> 2529*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>funcCtxt</tt></i>:</span></td> 2530*7c568831SAndroid Build Coastguard Worker<td>the lookup data</td> 2531*7c568831SAndroid Build Coastguard Worker</tr> 2532*7c568831SAndroid Build Coastguard Worker</tbody> 2533*7c568831SAndroid Build Coastguard Worker</table></div> 2534*7c568831SAndroid Build Coastguard Worker</div> 2535*7c568831SAndroid Build Coastguard Worker<hr> 2536*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2537*7c568831SAndroid Build Coastguard Worker<h3> 2538*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathRegisterFuncNS"></a>xmlXPathRegisterFuncNS ()</h3> 2539*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlXPathRegisterFuncNS (<a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctxt, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * ns_uri, <br> <a href="libxml2-xpath.html#xmlXPathFunction">xmlXPathFunction</a> f)<br> 2540*7c568831SAndroid Build Coastguard Worker</pre> 2541*7c568831SAndroid Build Coastguard Worker<p>Register a new function. If @f is NULL it unregisters the function</p> 2542*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2543*7c568831SAndroid Build Coastguard Worker<col align="left"> 2544*7c568831SAndroid Build Coastguard Worker<tbody> 2545*7c568831SAndroid Build Coastguard Worker<tr> 2546*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 2547*7c568831SAndroid Build Coastguard Worker<td>the XPath context</td> 2548*7c568831SAndroid Build Coastguard Worker</tr> 2549*7c568831SAndroid Build Coastguard Worker<tr> 2550*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>name</tt></i>:</span></td> 2551*7c568831SAndroid Build Coastguard Worker<td>the function name</td> 2552*7c568831SAndroid Build Coastguard Worker</tr> 2553*7c568831SAndroid Build Coastguard Worker<tr> 2554*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ns_uri</tt></i>:</span></td> 2555*7c568831SAndroid Build Coastguard Worker<td>the function namespace URI</td> 2556*7c568831SAndroid Build Coastguard Worker</tr> 2557*7c568831SAndroid Build Coastguard Worker<tr> 2558*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>f</tt></i>:</span></td> 2559*7c568831SAndroid Build Coastguard Worker<td>the function implementation or NULL</td> 2560*7c568831SAndroid Build Coastguard Worker</tr> 2561*7c568831SAndroid Build Coastguard Worker<tr> 2562*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 2563*7c568831SAndroid Build Coastguard Worker<td>0 in case of success, -1 in case of error</td> 2564*7c568831SAndroid Build Coastguard Worker</tr> 2565*7c568831SAndroid Build Coastguard Worker</tbody> 2566*7c568831SAndroid Build Coastguard Worker</table></div> 2567*7c568831SAndroid Build Coastguard Worker</div> 2568*7c568831SAndroid Build Coastguard Worker<hr> 2569*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2570*7c568831SAndroid Build Coastguard Worker<h3> 2571*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathRegisterNs"></a>xmlXPathRegisterNs ()</h3> 2572*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlXPathRegisterNs (<a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctxt, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * prefix, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * ns_uri)<br> 2573*7c568831SAndroid Build Coastguard Worker</pre> 2574*7c568831SAndroid Build Coastguard Worker<p>Register a new namespace. If @ns_uri is NULL it unregisters the namespace</p> 2575*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2576*7c568831SAndroid Build Coastguard Worker<col align="left"> 2577*7c568831SAndroid Build Coastguard Worker<tbody> 2578*7c568831SAndroid Build Coastguard Worker<tr> 2579*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 2580*7c568831SAndroid Build Coastguard Worker<td>the XPath context</td> 2581*7c568831SAndroid Build Coastguard Worker</tr> 2582*7c568831SAndroid Build Coastguard Worker<tr> 2583*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>prefix</tt></i>:</span></td> 2584*7c568831SAndroid Build Coastguard Worker<td>the namespace prefix cannot be NULL or empty string</td> 2585*7c568831SAndroid Build Coastguard Worker</tr> 2586*7c568831SAndroid Build Coastguard Worker<tr> 2587*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ns_uri</tt></i>:</span></td> 2588*7c568831SAndroid Build Coastguard Worker<td>the namespace name</td> 2589*7c568831SAndroid Build Coastguard Worker</tr> 2590*7c568831SAndroid Build Coastguard Worker<tr> 2591*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 2592*7c568831SAndroid Build Coastguard Worker<td>0 in case of success, -1 in case of error</td> 2593*7c568831SAndroid Build Coastguard Worker</tr> 2594*7c568831SAndroid Build Coastguard Worker</tbody> 2595*7c568831SAndroid Build Coastguard Worker</table></div> 2596*7c568831SAndroid Build Coastguard Worker</div> 2597*7c568831SAndroid Build Coastguard Worker<hr> 2598*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2599*7c568831SAndroid Build Coastguard Worker<h3> 2600*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathRegisterVariable"></a>xmlXPathRegisterVariable ()</h3> 2601*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlXPathRegisterVariable (<a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctxt, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br> <a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> value)<br> 2602*7c568831SAndroid Build Coastguard Worker</pre> 2603*7c568831SAndroid Build Coastguard Worker<p>Register a new variable value. If @value is NULL it unregisters the variable</p> 2604*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2605*7c568831SAndroid Build Coastguard Worker<col align="left"> 2606*7c568831SAndroid Build Coastguard Worker<tbody> 2607*7c568831SAndroid Build Coastguard Worker<tr> 2608*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 2609*7c568831SAndroid Build Coastguard Worker<td>the XPath context</td> 2610*7c568831SAndroid Build Coastguard Worker</tr> 2611*7c568831SAndroid Build Coastguard Worker<tr> 2612*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>name</tt></i>:</span></td> 2613*7c568831SAndroid Build Coastguard Worker<td>the variable name</td> 2614*7c568831SAndroid Build Coastguard Worker</tr> 2615*7c568831SAndroid Build Coastguard Worker<tr> 2616*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>value</tt></i>:</span></td> 2617*7c568831SAndroid Build Coastguard Worker<td>the variable value or NULL</td> 2618*7c568831SAndroid Build Coastguard Worker</tr> 2619*7c568831SAndroid Build Coastguard Worker<tr> 2620*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 2621*7c568831SAndroid Build Coastguard Worker<td>0 in case of success, -1 in case of error</td> 2622*7c568831SAndroid Build Coastguard Worker</tr> 2623*7c568831SAndroid Build Coastguard Worker</tbody> 2624*7c568831SAndroid Build Coastguard Worker</table></div> 2625*7c568831SAndroid Build Coastguard Worker</div> 2626*7c568831SAndroid Build Coastguard Worker<hr> 2627*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2628*7c568831SAndroid Build Coastguard Worker<h3> 2629*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathRegisterVariableLookup"></a>xmlXPathRegisterVariableLookup ()</h3> 2630*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlXPathRegisterVariableLookup (<a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctxt, <br> <a href="libxml2-xpath.html#xmlXPathVariableLookupFunc">xmlXPathVariableLookupFunc</a> f, <br> void * data)<br> 2631*7c568831SAndroid Build Coastguard Worker</pre> 2632*7c568831SAndroid Build Coastguard Worker<p>register an external mechanism to do variable lookup</p> 2633*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2634*7c568831SAndroid Build Coastguard Worker<col align="left"> 2635*7c568831SAndroid Build Coastguard Worker<tbody> 2636*7c568831SAndroid Build Coastguard Worker<tr> 2637*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 2638*7c568831SAndroid Build Coastguard Worker<td>the XPath context</td> 2639*7c568831SAndroid Build Coastguard Worker</tr> 2640*7c568831SAndroid Build Coastguard Worker<tr> 2641*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>f</tt></i>:</span></td> 2642*7c568831SAndroid Build Coastguard Worker<td>the lookup function</td> 2643*7c568831SAndroid Build Coastguard Worker</tr> 2644*7c568831SAndroid Build Coastguard Worker<tr> 2645*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>data</tt></i>:</span></td> 2646*7c568831SAndroid Build Coastguard Worker<td>the lookup data</td> 2647*7c568831SAndroid Build Coastguard Worker</tr> 2648*7c568831SAndroid Build Coastguard Worker</tbody> 2649*7c568831SAndroid Build Coastguard Worker</table></div> 2650*7c568831SAndroid Build Coastguard Worker</div> 2651*7c568831SAndroid Build Coastguard Worker<hr> 2652*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2653*7c568831SAndroid Build Coastguard Worker<h3> 2654*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathRegisterVariableNS"></a>xmlXPathRegisterVariableNS ()</h3> 2655*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlXPathRegisterVariableNS (<a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctxt, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * ns_uri, <br> <a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> value)<br> 2656*7c568831SAndroid Build Coastguard Worker</pre> 2657*7c568831SAndroid Build Coastguard Worker<p>Register a new variable value. If @value is NULL it unregisters the variable</p> 2658*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2659*7c568831SAndroid Build Coastguard Worker<col align="left"> 2660*7c568831SAndroid Build Coastguard Worker<tbody> 2661*7c568831SAndroid Build Coastguard Worker<tr> 2662*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 2663*7c568831SAndroid Build Coastguard Worker<td>the XPath context</td> 2664*7c568831SAndroid Build Coastguard Worker</tr> 2665*7c568831SAndroid Build Coastguard Worker<tr> 2666*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>name</tt></i>:</span></td> 2667*7c568831SAndroid Build Coastguard Worker<td>the variable name</td> 2668*7c568831SAndroid Build Coastguard Worker</tr> 2669*7c568831SAndroid Build Coastguard Worker<tr> 2670*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ns_uri</tt></i>:</span></td> 2671*7c568831SAndroid Build Coastguard Worker<td>the variable namespace URI</td> 2672*7c568831SAndroid Build Coastguard Worker</tr> 2673*7c568831SAndroid Build Coastguard Worker<tr> 2674*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>value</tt></i>:</span></td> 2675*7c568831SAndroid Build Coastguard Worker<td>the variable value or NULL</td> 2676*7c568831SAndroid Build Coastguard Worker</tr> 2677*7c568831SAndroid Build Coastguard Worker<tr> 2678*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 2679*7c568831SAndroid Build Coastguard Worker<td>0 in case of success, -1 in case of error</td> 2680*7c568831SAndroid Build Coastguard Worker</tr> 2681*7c568831SAndroid Build Coastguard Worker</tbody> 2682*7c568831SAndroid Build Coastguard Worker</table></div> 2683*7c568831SAndroid Build Coastguard Worker</div> 2684*7c568831SAndroid Build Coastguard Worker<hr> 2685*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2686*7c568831SAndroid Build Coastguard Worker<h3> 2687*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathRegisteredFuncsCleanup"></a>xmlXPathRegisteredFuncsCleanup ()</h3> 2688*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlXPathRegisteredFuncsCleanup (<a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctxt)<br> 2689*7c568831SAndroid Build Coastguard Worker</pre> 2690*7c568831SAndroid Build Coastguard Worker<p>Cleanup the XPath context data associated to registered functions</p> 2691*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2692*7c568831SAndroid Build Coastguard Worker<col align="left"> 2693*7c568831SAndroid Build Coastguard Worker<tbody><tr> 2694*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 2695*7c568831SAndroid Build Coastguard Worker<td>the XPath context</td> 2696*7c568831SAndroid Build Coastguard Worker</tr></tbody> 2697*7c568831SAndroid Build Coastguard Worker</table></div> 2698*7c568831SAndroid Build Coastguard Worker</div> 2699*7c568831SAndroid Build Coastguard Worker<hr> 2700*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2701*7c568831SAndroid Build Coastguard Worker<h3> 2702*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathRegisteredNsCleanup"></a>xmlXPathRegisteredNsCleanup ()</h3> 2703*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlXPathRegisteredNsCleanup (<a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctxt)<br> 2704*7c568831SAndroid Build Coastguard Worker</pre> 2705*7c568831SAndroid Build Coastguard Worker<p>Cleanup the XPath context data associated to registered variables</p> 2706*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2707*7c568831SAndroid Build Coastguard Worker<col align="left"> 2708*7c568831SAndroid Build Coastguard Worker<tbody><tr> 2709*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 2710*7c568831SAndroid Build Coastguard Worker<td>the XPath context</td> 2711*7c568831SAndroid Build Coastguard Worker</tr></tbody> 2712*7c568831SAndroid Build Coastguard Worker</table></div> 2713*7c568831SAndroid Build Coastguard Worker</div> 2714*7c568831SAndroid Build Coastguard Worker<hr> 2715*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2716*7c568831SAndroid Build Coastguard Worker<h3> 2717*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathRegisteredVariablesCleanup"></a>xmlXPathRegisteredVariablesCleanup ()</h3> 2718*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlXPathRegisteredVariablesCleanup (<a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctxt)<br> 2719*7c568831SAndroid Build Coastguard Worker</pre> 2720*7c568831SAndroid Build Coastguard Worker<p>Cleanup the XPath context data associated to registered variables</p> 2721*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2722*7c568831SAndroid Build Coastguard Worker<col align="left"> 2723*7c568831SAndroid Build Coastguard Worker<tbody><tr> 2724*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 2725*7c568831SAndroid Build Coastguard Worker<td>the XPath context</td> 2726*7c568831SAndroid Build Coastguard Worker</tr></tbody> 2727*7c568831SAndroid Build Coastguard Worker</table></div> 2728*7c568831SAndroid Build Coastguard Worker</div> 2729*7c568831SAndroid Build Coastguard Worker<hr> 2730*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2731*7c568831SAndroid Build Coastguard Worker<h3> 2732*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathRoot"></a>xmlXPathRoot ()</h3> 2733*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlXPathRoot (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt)<br> 2734*7c568831SAndroid Build Coastguard Worker</pre> 2735*7c568831SAndroid Build Coastguard Worker<p>Initialize the context to the root of the document</p> 2736*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2737*7c568831SAndroid Build Coastguard Worker<col align="left"> 2738*7c568831SAndroid Build Coastguard Worker<tbody><tr> 2739*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 2740*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 2741*7c568831SAndroid Build Coastguard Worker</tr></tbody> 2742*7c568831SAndroid Build Coastguard Worker</table></div> 2743*7c568831SAndroid Build Coastguard Worker</div> 2744*7c568831SAndroid Build Coastguard Worker<hr> 2745*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2746*7c568831SAndroid Build Coastguard Worker<h3> 2747*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathRoundFunction"></a>xmlXPathRoundFunction ()</h3> 2748*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlXPathRoundFunction (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int nargs)<br> 2749*7c568831SAndroid Build Coastguard Worker</pre> 2750*7c568831SAndroid Build Coastguard Worker<p>Implement the round() XPath function number round(number) The round function returns the number that is closest to the argument and that is an integer. If there are two such numbers, then the one that is closest to positive infinity is returned.</p> 2751*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2752*7c568831SAndroid Build Coastguard Worker<col align="left"> 2753*7c568831SAndroid Build Coastguard Worker<tbody> 2754*7c568831SAndroid Build Coastguard Worker<tr> 2755*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 2756*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 2757*7c568831SAndroid Build Coastguard Worker</tr> 2758*7c568831SAndroid Build Coastguard Worker<tr> 2759*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>nargs</tt></i>:</span></td> 2760*7c568831SAndroid Build Coastguard Worker<td>the number of arguments</td> 2761*7c568831SAndroid Build Coastguard Worker</tr> 2762*7c568831SAndroid Build Coastguard Worker</tbody> 2763*7c568831SAndroid Build Coastguard Worker</table></div> 2764*7c568831SAndroid Build Coastguard Worker</div> 2765*7c568831SAndroid Build Coastguard Worker<hr> 2766*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2767*7c568831SAndroid Build Coastguard Worker<h3> 2768*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathStartsWithFunction"></a>xmlXPathStartsWithFunction ()</h3> 2769*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlXPathStartsWithFunction (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int nargs)<br> 2770*7c568831SAndroid Build Coastguard Worker</pre> 2771*7c568831SAndroid Build Coastguard Worker<p>Implement the starts-with() XPath function boolean starts-with(string, string) The starts-with function returns true if the first argument string starts with the second argument string, and otherwise returns false.</p> 2772*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2773*7c568831SAndroid Build Coastguard Worker<col align="left"> 2774*7c568831SAndroid Build Coastguard Worker<tbody> 2775*7c568831SAndroid Build Coastguard Worker<tr> 2776*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 2777*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 2778*7c568831SAndroid Build Coastguard Worker</tr> 2779*7c568831SAndroid Build Coastguard Worker<tr> 2780*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>nargs</tt></i>:</span></td> 2781*7c568831SAndroid Build Coastguard Worker<td>the number of arguments</td> 2782*7c568831SAndroid Build Coastguard Worker</tr> 2783*7c568831SAndroid Build Coastguard Worker</tbody> 2784*7c568831SAndroid Build Coastguard Worker</table></div> 2785*7c568831SAndroid Build Coastguard Worker</div> 2786*7c568831SAndroid Build Coastguard Worker<hr> 2787*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2788*7c568831SAndroid Build Coastguard Worker<h3> 2789*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathStringEvalNumber"></a>xmlXPathStringEvalNumber ()</h3> 2790*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">double xmlXPathStringEvalNumber (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str)<br> 2791*7c568831SAndroid Build Coastguard Worker</pre> 2792*7c568831SAndroid Build Coastguard Worker<p>[30a] Float ::= Number ('e' Digits?)? [30] Number ::= Digits ('.' Digits?)? | '.' Digits [31] Digits ::= [0-9]+ Compile a Number in the string In complement of the Number expression, this function also handles negative values : '-' Number.</p> 2793*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2794*7c568831SAndroid Build Coastguard Worker<col align="left"> 2795*7c568831SAndroid Build Coastguard Worker<tbody> 2796*7c568831SAndroid Build Coastguard Worker<tr> 2797*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>str</tt></i>:</span></td> 2798*7c568831SAndroid Build Coastguard Worker<td>A string to scan</td> 2799*7c568831SAndroid Build Coastguard Worker</tr> 2800*7c568831SAndroid Build Coastguard Worker<tr> 2801*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 2802*7c568831SAndroid Build Coastguard Worker<td>the double value.</td> 2803*7c568831SAndroid Build Coastguard Worker</tr> 2804*7c568831SAndroid Build Coastguard Worker</tbody> 2805*7c568831SAndroid Build Coastguard Worker</table></div> 2806*7c568831SAndroid Build Coastguard Worker</div> 2807*7c568831SAndroid Build Coastguard Worker<hr> 2808*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2809*7c568831SAndroid Build Coastguard Worker<h3> 2810*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathStringFunction"></a>xmlXPathStringFunction ()</h3> 2811*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlXPathStringFunction (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int nargs)<br> 2812*7c568831SAndroid Build Coastguard Worker</pre> 2813*7c568831SAndroid Build Coastguard Worker<p>Implement the string() XPath function string string(object?) The string function converts an object to a string as follows: - A node-set is converted to a string by returning the value of the node in the node-set that is first in document order. If the node-set is empty, an empty string is returned. - A number is converted to a string as follows + NaN is converted to the string NaN + positive zero is converted to the string 0 + negative zero is converted to the string 0 + positive infinity is converted to the string Infinity + negative infinity is converted to the string -Infinity + if the number is an integer, the number is represented in decimal form as a Number with no decimal point and no leading zeros, preceded by a minus sign (-) if the number is negative + otherwise, the number is represented in decimal form as a Number including a decimal point with at least one digit before the decimal point and at least one digit after the decimal point, preceded by a minus sign (-) if the number is negative; there must be no leading zeros before the decimal point apart possibly from the one required digit immediately before the decimal point; beyond the one required digit after the decimal point there must be as many, but only as many, more digits as are needed to uniquely distinguish the number from all other IEEE 754 numeric values. - The boolean false value is converted to the string false. The boolean true value is converted to the string true. If the argument is omitted, it defaults to a node-set with the context node as its only member.</p> 2814*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2815*7c568831SAndroid Build Coastguard Worker<col align="left"> 2816*7c568831SAndroid Build Coastguard Worker<tbody> 2817*7c568831SAndroid Build Coastguard Worker<tr> 2818*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 2819*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 2820*7c568831SAndroid Build Coastguard Worker</tr> 2821*7c568831SAndroid Build Coastguard Worker<tr> 2822*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>nargs</tt></i>:</span></td> 2823*7c568831SAndroid Build Coastguard Worker<td>the number of arguments</td> 2824*7c568831SAndroid Build Coastguard Worker</tr> 2825*7c568831SAndroid Build Coastguard Worker</tbody> 2826*7c568831SAndroid Build Coastguard Worker</table></div> 2827*7c568831SAndroid Build Coastguard Worker</div> 2828*7c568831SAndroid Build Coastguard Worker<hr> 2829*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2830*7c568831SAndroid Build Coastguard Worker<h3> 2831*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathStringLengthFunction"></a>xmlXPathStringLengthFunction ()</h3> 2832*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlXPathStringLengthFunction (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int nargs)<br> 2833*7c568831SAndroid Build Coastguard Worker</pre> 2834*7c568831SAndroid Build Coastguard Worker<p>Implement the string-length() XPath function number string-length(string?) The string-length returns the number of <a href="libxml2-SAX.html#characters">characters</a> in the string (see [3.6 Strings]). If the argument is omitted, it defaults to the context node converted to a string, in other words the value of the context node.</p> 2835*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2836*7c568831SAndroid Build Coastguard Worker<col align="left"> 2837*7c568831SAndroid Build Coastguard Worker<tbody> 2838*7c568831SAndroid Build Coastguard Worker<tr> 2839*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 2840*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 2841*7c568831SAndroid Build Coastguard Worker</tr> 2842*7c568831SAndroid Build Coastguard Worker<tr> 2843*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>nargs</tt></i>:</span></td> 2844*7c568831SAndroid Build Coastguard Worker<td>the number of arguments</td> 2845*7c568831SAndroid Build Coastguard Worker</tr> 2846*7c568831SAndroid Build Coastguard Worker</tbody> 2847*7c568831SAndroid Build Coastguard Worker</table></div> 2848*7c568831SAndroid Build Coastguard Worker</div> 2849*7c568831SAndroid Build Coastguard Worker<hr> 2850*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2851*7c568831SAndroid Build Coastguard Worker<h3> 2852*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathSubValues"></a>xmlXPathSubValues ()</h3> 2853*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlXPathSubValues (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt)<br> 2854*7c568831SAndroid Build Coastguard Worker</pre> 2855*7c568831SAndroid Build Coastguard Worker<p>Implement the subtraction operation on XPath objects: The numeric operators convert their operands to numbers as if by calling the number function.</p> 2856*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2857*7c568831SAndroid Build Coastguard Worker<col align="left"> 2858*7c568831SAndroid Build Coastguard Worker<tbody><tr> 2859*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 2860*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 2861*7c568831SAndroid Build Coastguard Worker</tr></tbody> 2862*7c568831SAndroid Build Coastguard Worker</table></div> 2863*7c568831SAndroid Build Coastguard Worker</div> 2864*7c568831SAndroid Build Coastguard Worker<hr> 2865*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2866*7c568831SAndroid Build Coastguard Worker<h3> 2867*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathSubstringAfterFunction"></a>xmlXPathSubstringAfterFunction ()</h3> 2868*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlXPathSubstringAfterFunction (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int nargs)<br> 2869*7c568831SAndroid Build Coastguard Worker</pre> 2870*7c568831SAndroid Build Coastguard Worker<p>Implement the substring-after() XPath function string substring-after(string, string) The substring-after function returns the substring of the first argument string that follows the first occurrence of the second argument string in the first argument string, or the empty string if the first argument string does not contain the second argument string. For example, substring-after("1999/04/01","/") returns 04/01, and substring-after("1999/04/01","19") returns 99/04/01.</p> 2871*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2872*7c568831SAndroid Build Coastguard Worker<col align="left"> 2873*7c568831SAndroid Build Coastguard Worker<tbody> 2874*7c568831SAndroid Build Coastguard Worker<tr> 2875*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 2876*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 2877*7c568831SAndroid Build Coastguard Worker</tr> 2878*7c568831SAndroid Build Coastguard Worker<tr> 2879*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>nargs</tt></i>:</span></td> 2880*7c568831SAndroid Build Coastguard Worker<td>the number of arguments</td> 2881*7c568831SAndroid Build Coastguard Worker</tr> 2882*7c568831SAndroid Build Coastguard Worker</tbody> 2883*7c568831SAndroid Build Coastguard Worker</table></div> 2884*7c568831SAndroid Build Coastguard Worker</div> 2885*7c568831SAndroid Build Coastguard Worker<hr> 2886*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2887*7c568831SAndroid Build Coastguard Worker<h3> 2888*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathSubstringBeforeFunction"></a>xmlXPathSubstringBeforeFunction ()</h3> 2889*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlXPathSubstringBeforeFunction (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int nargs)<br> 2890*7c568831SAndroid Build Coastguard Worker</pre> 2891*7c568831SAndroid Build Coastguard Worker<p>Implement the substring-before() XPath function string substring-before(string, string) The substring-before function returns the substring of the first argument string that precedes the first occurrence of the second argument string in the first argument string, or the empty string if the first argument string does not contain the second argument string. For example, substring-before("1999/04/01","/") returns 1999.</p> 2892*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2893*7c568831SAndroid Build Coastguard Worker<col align="left"> 2894*7c568831SAndroid Build Coastguard Worker<tbody> 2895*7c568831SAndroid Build Coastguard Worker<tr> 2896*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 2897*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 2898*7c568831SAndroid Build Coastguard Worker</tr> 2899*7c568831SAndroid Build Coastguard Worker<tr> 2900*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>nargs</tt></i>:</span></td> 2901*7c568831SAndroid Build Coastguard Worker<td>the number of arguments</td> 2902*7c568831SAndroid Build Coastguard Worker</tr> 2903*7c568831SAndroid Build Coastguard Worker</tbody> 2904*7c568831SAndroid Build Coastguard Worker</table></div> 2905*7c568831SAndroid Build Coastguard Worker</div> 2906*7c568831SAndroid Build Coastguard Worker<hr> 2907*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2908*7c568831SAndroid Build Coastguard Worker<h3> 2909*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathSubstringFunction"></a>xmlXPathSubstringFunction ()</h3> 2910*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlXPathSubstringFunction (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int nargs)<br> 2911*7c568831SAndroid Build Coastguard Worker</pre> 2912*7c568831SAndroid Build Coastguard Worker<p>Implement the substring() XPath function string substring(string, number, number?) The substring function returns the substring of the first argument starting at the position specified in the second argument with length specified in the third argument. For example, substring("12345",2,3) returns "234". If the third argument is not specified, it returns the substring starting at the position specified in the second argument and continuing to the end of the string. For example, substring("12345",2) returns "2345". More precisely, each character in the string (see [3.6 Strings]) is considered to have a numeric position: the position of the first character is 1, the position of the second character is 2 and so on. The returned substring contains those <a href="libxml2-SAX.html#characters">characters</a> for which the position of the character is greater than or equal to the second argument and, if the third argument is specified, less than the sum of the second and third arguments; the comparisons and addition used for the above follow the standard IEEE 754 rules. Thus: - substring("12345", 1.5, 2.6) returns "234" - substring("12345", 0, 3) returns "12" - substring("12345", 0 div 0, 3) returns "" - substring("12345", 1, 0 div 0) returns "" - substring("12345", -42, 1 div 0) returns "12345" - substring("12345", -1 div 0, 1 div 0) returns ""</p> 2913*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2914*7c568831SAndroid Build Coastguard Worker<col align="left"> 2915*7c568831SAndroid Build Coastguard Worker<tbody> 2916*7c568831SAndroid Build Coastguard Worker<tr> 2917*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 2918*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 2919*7c568831SAndroid Build Coastguard Worker</tr> 2920*7c568831SAndroid Build Coastguard Worker<tr> 2921*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>nargs</tt></i>:</span></td> 2922*7c568831SAndroid Build Coastguard Worker<td>the number of arguments</td> 2923*7c568831SAndroid Build Coastguard Worker</tr> 2924*7c568831SAndroid Build Coastguard Worker</tbody> 2925*7c568831SAndroid Build Coastguard Worker</table></div> 2926*7c568831SAndroid Build Coastguard Worker</div> 2927*7c568831SAndroid Build Coastguard Worker<hr> 2928*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2929*7c568831SAndroid Build Coastguard Worker<h3> 2930*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathSumFunction"></a>xmlXPathSumFunction ()</h3> 2931*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlXPathSumFunction (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int nargs)<br> 2932*7c568831SAndroid Build Coastguard Worker</pre> 2933*7c568831SAndroid Build Coastguard Worker<p>Implement the sum() XPath function number sum(node-set) The sum function returns the sum of the values of the nodes in the argument node-set.</p> 2934*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2935*7c568831SAndroid Build Coastguard Worker<col align="left"> 2936*7c568831SAndroid Build Coastguard Worker<tbody> 2937*7c568831SAndroid Build Coastguard Worker<tr> 2938*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 2939*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 2940*7c568831SAndroid Build Coastguard Worker</tr> 2941*7c568831SAndroid Build Coastguard Worker<tr> 2942*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>nargs</tt></i>:</span></td> 2943*7c568831SAndroid Build Coastguard Worker<td>the number of arguments</td> 2944*7c568831SAndroid Build Coastguard Worker</tr> 2945*7c568831SAndroid Build Coastguard Worker</tbody> 2946*7c568831SAndroid Build Coastguard Worker</table></div> 2947*7c568831SAndroid Build Coastguard Worker</div> 2948*7c568831SAndroid Build Coastguard Worker<hr> 2949*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2950*7c568831SAndroid Build Coastguard Worker<h3> 2951*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathTrailing"></a>xmlXPathTrailing ()</h3> 2952*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> xmlXPathTrailing (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodes1, <br> <a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodes2)<br> 2953*7c568831SAndroid Build Coastguard Worker</pre> 2954*7c568831SAndroid Build Coastguard Worker<p>Implements the EXSLT - Sets trailing() function: node-set set:trailing (node-set, node-set) @nodes1 and @nodes2 are sorted by document order, then #xmlXPathTrailingSorted is called.</p> 2955*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2956*7c568831SAndroid Build Coastguard Worker<col align="left"> 2957*7c568831SAndroid Build Coastguard Worker<tbody> 2958*7c568831SAndroid Build Coastguard Worker<tr> 2959*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>nodes1</tt></i>:</span></td> 2960*7c568831SAndroid Build Coastguard Worker<td>a node-set</td> 2961*7c568831SAndroid Build Coastguard Worker</tr> 2962*7c568831SAndroid Build Coastguard Worker<tr> 2963*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>nodes2</tt></i>:</span></td> 2964*7c568831SAndroid Build Coastguard Worker<td>a node-set</td> 2965*7c568831SAndroid Build Coastguard Worker</tr> 2966*7c568831SAndroid Build Coastguard Worker<tr> 2967*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 2968*7c568831SAndroid Build Coastguard Worker<td>the nodes in @nodes1 that follow the first node in @nodes2 in document order, @nodes1 if @nodes2 is NULL or empty or an empty node-set if @nodes1 doesn't contain @nodes2</td> 2969*7c568831SAndroid Build Coastguard Worker</tr> 2970*7c568831SAndroid Build Coastguard Worker</tbody> 2971*7c568831SAndroid Build Coastguard Worker</table></div> 2972*7c568831SAndroid Build Coastguard Worker</div> 2973*7c568831SAndroid Build Coastguard Worker<hr> 2974*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2975*7c568831SAndroid Build Coastguard Worker<h3> 2976*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathTrailingSorted"></a>xmlXPathTrailingSorted ()</h3> 2977*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> xmlXPathTrailingSorted (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodes1, <br> <a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodes2)<br> 2978*7c568831SAndroid Build Coastguard Worker</pre> 2979*7c568831SAndroid Build Coastguard Worker<p>Implements the EXSLT - Sets trailing() function: node-set set:trailing (node-set, node-set)</p> 2980*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2981*7c568831SAndroid Build Coastguard Worker<col align="left"> 2982*7c568831SAndroid Build Coastguard Worker<tbody> 2983*7c568831SAndroid Build Coastguard Worker<tr> 2984*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>nodes1</tt></i>:</span></td> 2985*7c568831SAndroid Build Coastguard Worker<td>a node-set, sorted by document order</td> 2986*7c568831SAndroid Build Coastguard Worker</tr> 2987*7c568831SAndroid Build Coastguard Worker<tr> 2988*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>nodes2</tt></i>:</span></td> 2989*7c568831SAndroid Build Coastguard Worker<td>a node-set, sorted by document order</td> 2990*7c568831SAndroid Build Coastguard Worker</tr> 2991*7c568831SAndroid Build Coastguard Worker<tr> 2992*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 2993*7c568831SAndroid Build Coastguard Worker<td>the nodes in @nodes1 that follow the first node in @nodes2 in document order, @nodes1 if @nodes2 is NULL or empty or an empty node-set if @nodes1 doesn't contain @nodes2</td> 2994*7c568831SAndroid Build Coastguard Worker</tr> 2995*7c568831SAndroid Build Coastguard Worker</tbody> 2996*7c568831SAndroid Build Coastguard Worker</table></div> 2997*7c568831SAndroid Build Coastguard Worker</div> 2998*7c568831SAndroid Build Coastguard Worker<hr> 2999*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 3000*7c568831SAndroid Build Coastguard Worker<h3> 3001*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathTranslateFunction"></a>xmlXPathTranslateFunction ()</h3> 3002*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlXPathTranslateFunction (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int nargs)<br> 3003*7c568831SAndroid Build Coastguard Worker</pre> 3004*7c568831SAndroid Build Coastguard Worker<p>Implement the translate() XPath function string translate(string, string, string) The translate function returns the first argument string with occurrences of <a href="libxml2-SAX.html#characters">characters</a> in the second argument string replaced by the character at the corresponding position in the third argument string. For example, translate("bar","abc","ABC") returns the string BAr. If there is a character in the second argument string with no character at a corresponding position in the third argument string (because the second argument string is longer than the third argument string), then occurrences of that character in the first argument string are removed. For example, translate("--aaa--","abc-","ABC")</p> 3005*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 3006*7c568831SAndroid Build Coastguard Worker<col align="left"> 3007*7c568831SAndroid Build Coastguard Worker<tbody> 3008*7c568831SAndroid Build Coastguard Worker<tr> 3009*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 3010*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 3011*7c568831SAndroid Build Coastguard Worker</tr> 3012*7c568831SAndroid Build Coastguard Worker<tr> 3013*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>nargs</tt></i>:</span></td> 3014*7c568831SAndroid Build Coastguard Worker<td>the number of arguments</td> 3015*7c568831SAndroid Build Coastguard Worker</tr> 3016*7c568831SAndroid Build Coastguard Worker</tbody> 3017*7c568831SAndroid Build Coastguard Worker</table></div> 3018*7c568831SAndroid Build Coastguard Worker</div> 3019*7c568831SAndroid Build Coastguard Worker<hr> 3020*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 3021*7c568831SAndroid Build Coastguard Worker<h3> 3022*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathTrueFunction"></a>xmlXPathTrueFunction ()</h3> 3023*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlXPathTrueFunction (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> int nargs)<br> 3024*7c568831SAndroid Build Coastguard Worker</pre> 3025*7c568831SAndroid Build Coastguard Worker<p>Implement the true() XPath function boolean true()</p> 3026*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 3027*7c568831SAndroid Build Coastguard Worker<col align="left"> 3028*7c568831SAndroid Build Coastguard Worker<tbody> 3029*7c568831SAndroid Build Coastguard Worker<tr> 3030*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 3031*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 3032*7c568831SAndroid Build Coastguard Worker</tr> 3033*7c568831SAndroid Build Coastguard Worker<tr> 3034*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>nargs</tt></i>:</span></td> 3035*7c568831SAndroid Build Coastguard Worker<td>the number of arguments</td> 3036*7c568831SAndroid Build Coastguard Worker</tr> 3037*7c568831SAndroid Build Coastguard Worker</tbody> 3038*7c568831SAndroid Build Coastguard Worker</table></div> 3039*7c568831SAndroid Build Coastguard Worker</div> 3040*7c568831SAndroid Build Coastguard Worker<hr> 3041*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 3042*7c568831SAndroid Build Coastguard Worker<h3> 3043*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathValueFlipSign"></a>xmlXPathValueFlipSign ()</h3> 3044*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlXPathValueFlipSign (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt)<br> 3045*7c568831SAndroid Build Coastguard Worker</pre> 3046*7c568831SAndroid Build Coastguard Worker<p>Implement the unary - operation on an XPath object The numeric operators convert their operands to numbers as if by calling the number function.</p> 3047*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 3048*7c568831SAndroid Build Coastguard Worker<col align="left"> 3049*7c568831SAndroid Build Coastguard Worker<tbody><tr> 3050*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 3051*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 3052*7c568831SAndroid Build Coastguard Worker</tr></tbody> 3053*7c568831SAndroid Build Coastguard Worker</table></div> 3054*7c568831SAndroid Build Coastguard Worker</div> 3055*7c568831SAndroid Build Coastguard Worker<hr> 3056*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 3057*7c568831SAndroid Build Coastguard Worker<h3> 3058*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathVariableLookup"></a>xmlXPathVariableLookup ()</h3> 3059*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> xmlXPathVariableLookup (<a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctxt, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name)<br> 3060*7c568831SAndroid Build Coastguard Worker</pre> 3061*7c568831SAndroid Build Coastguard Worker<p>Search in the Variable array of the context for the given variable value.</p> 3062*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 3063*7c568831SAndroid Build Coastguard Worker<col align="left"> 3064*7c568831SAndroid Build Coastguard Worker<tbody> 3065*7c568831SAndroid Build Coastguard Worker<tr> 3066*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 3067*7c568831SAndroid Build Coastguard Worker<td>the XPath context</td> 3068*7c568831SAndroid Build Coastguard Worker</tr> 3069*7c568831SAndroid Build Coastguard Worker<tr> 3070*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>name</tt></i>:</span></td> 3071*7c568831SAndroid Build Coastguard Worker<td>the variable name</td> 3072*7c568831SAndroid Build Coastguard Worker</tr> 3073*7c568831SAndroid Build Coastguard Worker<tr> 3074*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 3075*7c568831SAndroid Build Coastguard Worker<td>a copy of the value or NULL if not found</td> 3076*7c568831SAndroid Build Coastguard Worker</tr> 3077*7c568831SAndroid Build Coastguard Worker</tbody> 3078*7c568831SAndroid Build Coastguard Worker</table></div> 3079*7c568831SAndroid Build Coastguard Worker</div> 3080*7c568831SAndroid Build Coastguard Worker<hr> 3081*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 3082*7c568831SAndroid Build Coastguard Worker<h3> 3083*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathVariableLookupNS"></a>xmlXPathVariableLookupNS ()</h3> 3084*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> xmlXPathVariableLookupNS (<a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctxt, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * ns_uri)<br> 3085*7c568831SAndroid Build Coastguard Worker</pre> 3086*7c568831SAndroid Build Coastguard Worker<p>Search in the Variable array of the context for the given variable value.</p> 3087*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 3088*7c568831SAndroid Build Coastguard Worker<col align="left"> 3089*7c568831SAndroid Build Coastguard Worker<tbody> 3090*7c568831SAndroid Build Coastguard Worker<tr> 3091*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 3092*7c568831SAndroid Build Coastguard Worker<td>the XPath context</td> 3093*7c568831SAndroid Build Coastguard Worker</tr> 3094*7c568831SAndroid Build Coastguard Worker<tr> 3095*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>name</tt></i>:</span></td> 3096*7c568831SAndroid Build Coastguard Worker<td>the variable name</td> 3097*7c568831SAndroid Build Coastguard Worker</tr> 3098*7c568831SAndroid Build Coastguard Worker<tr> 3099*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ns_uri</tt></i>:</span></td> 3100*7c568831SAndroid Build Coastguard Worker<td>the variable namespace URI</td> 3101*7c568831SAndroid Build Coastguard Worker</tr> 3102*7c568831SAndroid Build Coastguard Worker<tr> 3103*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 3104*7c568831SAndroid Build Coastguard Worker<td>the a copy of the value or NULL if not found</td> 3105*7c568831SAndroid Build Coastguard Worker</tr> 3106*7c568831SAndroid Build Coastguard Worker</tbody> 3107*7c568831SAndroid Build Coastguard Worker</table></div> 3108*7c568831SAndroid Build Coastguard Worker</div> 3109*7c568831SAndroid Build Coastguard Worker<hr> 3110*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 3111*7c568831SAndroid Build Coastguard Worker<h3> 3112*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathWrapCString"></a>xmlXPathWrapCString ()</h3> 3113*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> xmlXPathWrapCString (char * val)<br> 3114*7c568831SAndroid Build Coastguard Worker</pre> 3115*7c568831SAndroid Build Coastguard Worker<p>Wraps a string into an XPath object.</p> 3116*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 3117*7c568831SAndroid Build Coastguard Worker<col align="left"> 3118*7c568831SAndroid Build Coastguard Worker<tbody> 3119*7c568831SAndroid Build Coastguard Worker<tr> 3120*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>val</tt></i>:</span></td> 3121*7c568831SAndroid Build Coastguard Worker<td>the char * value</td> 3122*7c568831SAndroid Build Coastguard Worker</tr> 3123*7c568831SAndroid Build Coastguard Worker<tr> 3124*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 3125*7c568831SAndroid Build Coastguard Worker<td>the newly created object.</td> 3126*7c568831SAndroid Build Coastguard Worker</tr> 3127*7c568831SAndroid Build Coastguard Worker</tbody> 3128*7c568831SAndroid Build Coastguard Worker</table></div> 3129*7c568831SAndroid Build Coastguard Worker</div> 3130*7c568831SAndroid Build Coastguard Worker<hr> 3131*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 3132*7c568831SAndroid Build Coastguard Worker<h3> 3133*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathWrapExternal"></a>xmlXPathWrapExternal ()</h3> 3134*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> xmlXPathWrapExternal (void * val)<br> 3135*7c568831SAndroid Build Coastguard Worker</pre> 3136*7c568831SAndroid Build Coastguard Worker<p>Wraps the @val data into an XPath object.</p> 3137*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 3138*7c568831SAndroid Build Coastguard Worker<col align="left"> 3139*7c568831SAndroid Build Coastguard Worker<tbody> 3140*7c568831SAndroid Build Coastguard Worker<tr> 3141*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>val</tt></i>:</span></td> 3142*7c568831SAndroid Build Coastguard Worker<td>the user data</td> 3143*7c568831SAndroid Build Coastguard Worker</tr> 3144*7c568831SAndroid Build Coastguard Worker<tr> 3145*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 3146*7c568831SAndroid Build Coastguard Worker<td>the newly created object.</td> 3147*7c568831SAndroid Build Coastguard Worker</tr> 3148*7c568831SAndroid Build Coastguard Worker</tbody> 3149*7c568831SAndroid Build Coastguard Worker</table></div> 3150*7c568831SAndroid Build Coastguard Worker</div> 3151*7c568831SAndroid Build Coastguard Worker<hr> 3152*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 3153*7c568831SAndroid Build Coastguard Worker<h3> 3154*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathWrapNodeSet"></a>xmlXPathWrapNodeSet ()</h3> 3155*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> xmlXPathWrapNodeSet (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> val)<br> 3156*7c568831SAndroid Build Coastguard Worker</pre> 3157*7c568831SAndroid Build Coastguard Worker<p>Wrap the Nodeset @val in a new <a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a></p> 3158*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 3159*7c568831SAndroid Build Coastguard Worker<col align="left"> 3160*7c568831SAndroid Build Coastguard Worker<tbody> 3161*7c568831SAndroid Build Coastguard Worker<tr> 3162*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>val</tt></i>:</span></td> 3163*7c568831SAndroid Build Coastguard Worker<td>the NodePtr value</td> 3164*7c568831SAndroid Build Coastguard Worker</tr> 3165*7c568831SAndroid Build Coastguard Worker<tr> 3166*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 3167*7c568831SAndroid Build Coastguard Worker<td>the newly created object. In case of error the node set is destroyed and NULL is returned.</td> 3168*7c568831SAndroid Build Coastguard Worker</tr> 3169*7c568831SAndroid Build Coastguard Worker</tbody> 3170*7c568831SAndroid Build Coastguard Worker</table></div> 3171*7c568831SAndroid Build Coastguard Worker</div> 3172*7c568831SAndroid Build Coastguard Worker<hr> 3173*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 3174*7c568831SAndroid Build Coastguard Worker<h3> 3175*7c568831SAndroid Build Coastguard Worker<a name="xmlXPathWrapString"></a>xmlXPathWrapString ()</h3> 3176*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> xmlXPathWrapString (<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * val)<br> 3177*7c568831SAndroid Build Coastguard Worker</pre> 3178*7c568831SAndroid Build Coastguard Worker<p>Wraps the @val string into an XPath object.</p> 3179*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 3180*7c568831SAndroid Build Coastguard Worker<col align="left"> 3181*7c568831SAndroid Build Coastguard Worker<tbody> 3182*7c568831SAndroid Build Coastguard Worker<tr> 3183*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>val</tt></i>:</span></td> 3184*7c568831SAndroid Build Coastguard Worker<td>the <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value</td> 3185*7c568831SAndroid Build Coastguard Worker</tr> 3186*7c568831SAndroid Build Coastguard Worker<tr> 3187*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 3188*7c568831SAndroid Build Coastguard Worker<td>the newly created object. Frees @val in case of error.</td> 3189*7c568831SAndroid Build Coastguard Worker</tr> 3190*7c568831SAndroid Build Coastguard Worker</tbody> 3191*7c568831SAndroid Build Coastguard Worker</table></div> 3192*7c568831SAndroid Build Coastguard Worker</div> 3193*7c568831SAndroid Build Coastguard Worker<hr> 3194*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 3195*7c568831SAndroid Build Coastguard Worker<h3> 3196*7c568831SAndroid Build Coastguard Worker<a name="xmlXPatherror"></a>xmlXPatherror ()</h3> 3197*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlXPatherror (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br> const char * file, <br> int line, <br> int no)<br> 3198*7c568831SAndroid Build Coastguard Worker</pre> 3199*7c568831SAndroid Build Coastguard Worker<p>Formats an error message.</p> 3200*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 3201*7c568831SAndroid Build Coastguard Worker<col align="left"> 3202*7c568831SAndroid Build Coastguard Worker<tbody> 3203*7c568831SAndroid Build Coastguard Worker<tr> 3204*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 3205*7c568831SAndroid Build Coastguard Worker<td>the XPath Parser context</td> 3206*7c568831SAndroid Build Coastguard Worker</tr> 3207*7c568831SAndroid Build Coastguard Worker<tr> 3208*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>file</tt></i>:</span></td> 3209*7c568831SAndroid Build Coastguard Worker<td>the file name</td> 3210*7c568831SAndroid Build Coastguard Worker</tr> 3211*7c568831SAndroid Build Coastguard Worker<tr> 3212*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>line</tt></i>:</span></td> 3213*7c568831SAndroid Build Coastguard Worker<td>the line number</td> 3214*7c568831SAndroid Build Coastguard Worker</tr> 3215*7c568831SAndroid Build Coastguard Worker<tr> 3216*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>no</tt></i>:</span></td> 3217*7c568831SAndroid Build Coastguard Worker<td>the error number</td> 3218*7c568831SAndroid Build Coastguard Worker</tr> 3219*7c568831SAndroid Build Coastguard Worker</tbody> 3220*7c568831SAndroid Build Coastguard Worker</table></div> 3221*7c568831SAndroid Build Coastguard Worker</div> 3222*7c568831SAndroid Build Coastguard Worker<hr> 3223*7c568831SAndroid Build Coastguard Worker</div> 3224*7c568831SAndroid Build Coastguard Worker</div> 3225*7c568831SAndroid Build Coastguard Worker</body> 3226*7c568831SAndroid Build Coastguard Worker</html> 3227