<HTML ><HEAD ><TITLE >xpathInternals</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.64 "><LINK REL="HOME" TITLE="Gnome XML Library Reference Manual" HREF="book1.html"><LINK REL="UP" TITLE="Libxml Library Reference" HREF="libxml-lib.html"><LINK REL="PREVIOUS" TITLE="xpath" HREF="libxml-xpath.html"><LINK REL="NEXT" TITLE="xpointer" HREF="libxml-xpointer.html"></HEAD ><BODY CLASS="REFENTRY" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE WIDTH="100%" BORDER="0" BGCOLOR="#000000" CELLPADDING="1" CELLSPACING="0" ><TR ><TH COLSPAN="4" ALIGN="center" ><FONT COLOR="#FFFFFF" SIZE="5" >Gnome XML Library Reference Manual</FONT ></TH ></TR ><TR ><TD WIDTH="25%" BGCOLOR="#C00000" ALIGN="left" ><A HREF="libxml-xpath.html" ><FONT COLOR="#FFFFFF" SIZE="3" ><B ><<< Previous Page</B ></FONT ></A ></TD ><TD WIDTH="25%" BGCOLOR="#0000C0" ALIGN="center" ><FONT COLOR="#FFFFFF" SIZE="3" ><B ><A HREF="book1.html" ><FONT COLOR="#FFFFFF" SIZE="3" ><B >Home</B ></FONT ></A ></B ></FONT ></TD ><TD WIDTH="25%" BGCOLOR="#00C000" ALIGN="center" ><FONT COLOR="#FFFFFF" SIZE="3" ><B ><A HREF="libxml-lib.html" ><FONT COLOR="#FFFFFF" SIZE="3" ><B >Up</B ></FONT ></A ></B ></FONT ></TD ><TD WIDTH="25%" BGCOLOR="#C00000" ALIGN="right" ><A HREF="libxml-xpointer.html" ><FONT COLOR="#FFFFFF" SIZE="3" ><B >Next Page >>></B ></FONT ></A ></TD ></TR ></TABLE ></DIV ><H1 ><A NAME="LIBXML-XPATHINTERNALS" >xpathInternals</A ></H1 ><DIV CLASS="REFNAMEDIV" ><A NAME="AEN13047" ></A ><H2 >Name</H2 >xpathInternals -- </DIV ><DIV CLASS="REFSYNOPSISDIV" ><A NAME="AEN13050" ></A ><H2 >Synopsis</H2 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="SYNOPSIS" > #define <A HREF="libxml-xpathinternals.html#XMLXPATHSETERROR" >xmlXPathSetError</A > (ctxt, err) #define <A HREF="libxml-xpathinternals.html#XMLXPATHSETARITYERROR" >xmlXPathSetArityError</A > (ctxt) #define <A HREF="libxml-xpathinternals.html#XMLXPATHSETTYPEERROR" >xmlXPathSetTypeError</A > (ctxt) #define <A HREF="libxml-xpathinternals.html#XMLXPATHGETERROR" >xmlXPathGetError</A > (ctxt) #define <A HREF="libxml-xpathinternals.html#XMLXPATHCHECKERROR" >xmlXPathCheckError</A > (ctxt) #define <A HREF="libxml-xpathinternals.html#XMLXPATHGETDOCUMENT" >xmlXPathGetDocument</A > (ctxt) #define <A HREF="libxml-xpathinternals.html#XMLXPATHGETCONTEXTNODE" >xmlXPathGetContextNode</A > (ctxt) int <A HREF="libxml-xpathinternals.html#XMLXPATHPOPBOOLEAN" >xmlXPathPopBoolean</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt); <GTKDOCLINK HREF="DOUBLE" >double</GTKDOCLINK > <A HREF="libxml-xpathinternals.html#XMLXPATHPOPNUMBER" >xmlXPathPopNumber</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt); <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A >* <A HREF="libxml-xpathinternals.html#XMLXPATHPOPSTRING" >xmlXPathPopString</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt); <A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > <A HREF="libxml-xpathinternals.html#XMLXPATHPOPNODESET" >xmlXPathPopNodeSet</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt); void* <A HREF="libxml-xpathinternals.html#XMLXPATHPOPEXTERNAL" >xmlXPathPopExternal</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt); #define <A HREF="libxml-xpathinternals.html#XMLXPATHRETURNBOOLEAN" >xmlXPathReturnBoolean</A > (ctxt, val) #define <A HREF="libxml-xpathinternals.html#XMLXPATHRETURNTRUE" >xmlXPathReturnTrue</A > (ctxt) #define <A HREF="libxml-xpathinternals.html#XMLXPATHRETURNFALSE" >xmlXPathReturnFalse</A > (ctxt) #define <A HREF="libxml-xpathinternals.html#XMLXPATHRETURNNUMBER" >xmlXPathReturnNumber</A > (ctxt, val) #define <A HREF="libxml-xpathinternals.html#XMLXPATHRETURNSTRING" >xmlXPathReturnString</A > (ctxt, str) #define <A HREF="libxml-xpathinternals.html#XMLXPATHRETURNEMPTYSTRING" >xmlXPathReturnEmptyString</A > (ctxt) #define <A HREF="libxml-xpathinternals.html#XMLXPATHRETURNNODESET" >xmlXPathReturnNodeSet</A > (ctxt, ns) #define <A HREF="libxml-xpathinternals.html#XMLXPATHRETURNEMPTYNODESET" >xmlXPathReturnEmptyNodeSet</A > (ctxt) #define <A HREF="libxml-xpathinternals.html#XMLXPATHRETURNEXTERNAL" >xmlXPathReturnExternal</A > (ctxt, val) #define <A HREF="libxml-xpathinternals.html#XMLXPATHSTACKISNODESET" >xmlXPathStackIsNodeSet</A > (ctxt) #define <A HREF="libxml-xpathinternals.html#XMLXPATHSTACKISEXTERNAL" >xmlXPathStackIsExternal</A > (ctxt) #define <A HREF="libxml-xpathinternals.html#XMLXPATHEMPTYNODESET" >xmlXPathEmptyNodeSet</A > (ns) #define <A HREF="libxml-xpathinternals.html#CHECK-ERROR-CAPS" >CHECK_ERROR</A > #define <A HREF="libxml-xpathinternals.html#CHECK-ERROR0-CAPS" >CHECK_ERROR0</A > #define <A HREF="libxml-xpathinternals.html#XP-ERROR-CAPS" >XP_ERROR</A > (X) #define <A HREF="libxml-xpathinternals.html#XP-ERROR0-CAPS" >XP_ERROR0</A > (X) #define <A HREF="libxml-xpathinternals.html#CHECK-TYPE-CAPS" >CHECK_TYPE</A > (typeval) #define <A HREF="libxml-xpathinternals.html#CHECK-TYPE0-CAPS" >CHECK_TYPE0</A > (typeval) #define <A HREF="libxml-xpathinternals.html#CHECK-ARITY-CAPS" >CHECK_ARITY</A > (x) #define <A HREF="libxml-xpathinternals.html#CAST-TO-STRING-CAPS" >CAST_TO_STRING</A > #define <A HREF="libxml-xpathinternals.html#CAST-TO-NUMBER-CAPS" >CAST_TO_NUMBER</A > #define <A HREF="libxml-xpathinternals.html#CAST-TO-BOOLEAN-CAPS" >CAST_TO_BOOLEAN</A > <A HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" >xmlXPathObjectPtr</A > (<A HREF="libxml-xpathinternals.html#XMLXPATHVARIABLELOOKUPFUNC" >*xmlXPathVariableLookupFunc</A >) (void *ctxt, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *name, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *ns_uri); void <A HREF="libxml-xpathinternals.html#XMLXPATHREGISTERVARIABLELOOKUP" >xmlXPathRegisterVariableLookup</A > (<A HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" >xmlXPathContextPtr</A > ctxt, <A HREF="libxml-xpathinternals.html#XMLXPATHVARIABLELOOKUPFUNC" >xmlXPathVariableLookupFunc</A > f, void *data); <A HREF="libxml-xpath.html#XMLXPATHFUNCTION" >xmlXPathFunction</A > (<A HREF="libxml-xpathinternals.html#XMLXPATHFUNCLOOKUPFUNC" >*xmlXPathFuncLookupFunc</A >) (void *ctxt, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *name, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *ns_uri); void <A HREF="libxml-xpathinternals.html#XMLXPATHREGISTERFUNCLOOKUP" >xmlXPathRegisterFuncLookup</A > (<A HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" >xmlXPathContextPtr</A > ctxt, <A HREF="libxml-xpathinternals.html#XMLXPATHFUNCLOOKUPFUNC" >xmlXPathFuncLookupFunc</A > f, void *funcCtxt); void <A HREF="libxml-xpath.html#XMLXPATHERROR" >xmlXPatherror</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, const char *file, int line, int no); void <A HREF="libxml-xpathinternals.html#XMLXPATHDEBUGDUMPOBJECT" >xmlXPathDebugDumpObject</A > (<GTKDOCLINK HREF="FILE-CAPS" >FILE</GTKDOCLINK > *output, <A HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" >xmlXPathObjectPtr</A > cur, int depth); void <A HREF="libxml-xpathinternals.html#XMLXPATHDEBUGDUMPCOMPEXPR" >xmlXPathDebugDumpCompExpr</A > (<GTKDOCLINK HREF="FILE-CAPS" >FILE</GTKDOCLINK > *output, <A HREF="libxml-xpath.html#XMLXPATHCOMPEXPRPTR" >xmlXPathCompExprPtr</A > comp, int depth); int <A HREF="libxml-xpathinternals.html#XMLXPATHNODESETCONTAINS" >xmlXPathNodeSetContains</A > (<A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > cur, <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > val); <A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > <A HREF="libxml-xpathinternals.html#XMLXPATHDIFFERENCE" >xmlXPathDifference</A > (<A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > nodes1, <A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > nodes2); <A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > <A HREF="libxml-xpathinternals.html#XMLXPATHINTERSECTION" >xmlXPathIntersection</A > (<A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > nodes1, <A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > nodes2); <A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > <A HREF="libxml-xpathinternals.html#XMLXPATHDISTINCTSORTED" >xmlXPathDistinctSorted</A > (<A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > nodes); <A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > <A HREF="libxml-xpathinternals.html#XMLXPATHDISTINCT" >xmlXPathDistinct</A > (<A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > nodes); int <A HREF="libxml-xpathinternals.html#XMLXPATHHASSAMENODES" >xmlXPathHasSameNodes</A > (<A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > nodes1, <A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > nodes2); <A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > <A HREF="libxml-xpathinternals.html#XMLXPATHNODELEADINGSORTED" >xmlXPathNodeLeadingSorted</A > (<A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > nodes, <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > node); <A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > <A HREF="libxml-xpathinternals.html#XMLXPATHLEADINGSORTED" >xmlXPathLeadingSorted</A > (<A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > nodes1, <A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > nodes2); <A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > <A HREF="libxml-xpathinternals.html#XMLXPATHNODELEADING" >xmlXPathNodeLeading</A > (<A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > nodes, <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > node); <A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > <A HREF="libxml-xpathinternals.html#XMLXPATHLEADING" >xmlXPathLeading</A > (<A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > nodes1, <A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > nodes2); <A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > <A HREF="libxml-xpathinternals.html#XMLXPATHNODETRAILINGSORTED" >xmlXPathNodeTrailingSorted</A > (<A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > nodes, <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > node); <A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > <A HREF="libxml-xpathinternals.html#XMLXPATHTRAILINGSORTED" >xmlXPathTrailingSorted</A > (<A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > nodes1, <A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > nodes2); <A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > <A HREF="libxml-xpathinternals.html#XMLXPATHNODETRAILING" >xmlXPathNodeTrailing</A > (<A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > nodes, <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > node); <A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > <A HREF="libxml-xpathinternals.html#XMLXPATHTRAILING" >xmlXPathTrailing</A > (<A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > nodes1, <A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > nodes2); int <A HREF="libxml-xpathinternals.html#XMLXPATHREGISTERNS" >xmlXPathRegisterNs</A > (<A HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" >xmlXPathContextPtr</A > ctxt, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *prefix, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *ns_uri); const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A >* <A HREF="libxml-xpathinternals.html#XMLXPATHNSLOOKUP" >xmlXPathNsLookup</A > (<A HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" >xmlXPathContextPtr</A > ctxt, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *prefix); void <A HREF="libxml-xpathinternals.html#XMLXPATHREGISTEREDNSCLEANUP" >xmlXPathRegisteredNsCleanup</A > (<A HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" >xmlXPathContextPtr</A > ctxt); int <A HREF="libxml-xpathinternals.html#XMLXPATHREGISTERFUNC" >xmlXPathRegisterFunc</A > (<A HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" >xmlXPathContextPtr</A > ctxt, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *name, <A HREF="libxml-xpath.html#XMLXPATHFUNCTION" >xmlXPathFunction</A > f); int <A HREF="libxml-xpathinternals.html#XMLXPATHREGISTERFUNCNS" >xmlXPathRegisterFuncNS</A > (<A HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" >xmlXPathContextPtr</A > ctxt, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *name, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *ns_uri, <A HREF="libxml-xpath.html#XMLXPATHFUNCTION" >xmlXPathFunction</A > f); int <A HREF="libxml-xpathinternals.html#XMLXPATHREGISTERVARIABLE" >xmlXPathRegisterVariable</A > (<A HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" >xmlXPathContextPtr</A > ctxt, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *name, <A HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" >xmlXPathObjectPtr</A > value); int <A HREF="libxml-xpathinternals.html#XMLXPATHREGISTERVARIABLENS" >xmlXPathRegisterVariableNS</A > (<A HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" >xmlXPathContextPtr</A > ctxt, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *name, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *ns_uri, <A HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" >xmlXPathObjectPtr</A > value); <A HREF="libxml-xpath.html#XMLXPATHFUNCTION" >xmlXPathFunction</A > <A HREF="libxml-xpathinternals.html#XMLXPATHFUNCTIONLOOKUP" >xmlXPathFunctionLookup</A > (<A HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" >xmlXPathContextPtr</A > ctxt, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *name); <A HREF="libxml-xpath.html#XMLXPATHFUNCTION" >xmlXPathFunction</A > <A HREF="libxml-xpathinternals.html#XMLXPATHFUNCTIONLOOKUPNS" >xmlXPathFunctionLookupNS</A > (<A HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" >xmlXPathContextPtr</A > ctxt, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *name, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *ns_uri); void <A HREF="libxml-xpathinternals.html#XMLXPATHREGISTEREDFUNCSCLEANUP" >xmlXPathRegisteredFuncsCleanup</A > (<A HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" >xmlXPathContextPtr</A > ctxt); <A HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" >xmlXPathObjectPtr</A > <A HREF="libxml-xpathinternals.html#XMLXPATHVARIABLELOOKUP" >xmlXPathVariableLookup</A > (<A HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" >xmlXPathContextPtr</A > ctxt, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *name); <A HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" >xmlXPathObjectPtr</A > <A HREF="libxml-xpathinternals.html#XMLXPATHVARIABLELOOKUPNS" >xmlXPathVariableLookupNS</A > (<A HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" >xmlXPathContextPtr</A > ctxt, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *name, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *ns_uri); void <A HREF="libxml-xpathinternals.html#XMLXPATHREGISTEREDVARIABLESCLEANUP" >xmlXPathRegisteredVariablesCleanup</A > (<A HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" >xmlXPathContextPtr</A > ctxt); <A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > <A HREF="libxml-xpathinternals.html#XMLXPATHNEWPARSERCONTEXT" >xmlXPathNewParserContext</A > (const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *str, <A HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" >xmlXPathContextPtr</A > ctxt); void <A HREF="libxml-xpathinternals.html#XMLXPATHFREEPARSERCONTEXT" >xmlXPathFreeParserContext</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt); <A HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" >xmlXPathObjectPtr</A > <A HREF="libxml-xpathinternals.html#VALUEPOP" >valuePop</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt); int <A HREF="libxml-xpathinternals.html#VALUEPUSH" >valuePush</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, <A HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" >xmlXPathObjectPtr</A > value); <A HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" >xmlXPathObjectPtr</A > <A HREF="libxml-xpathinternals.html#XMLXPATHNEWSTRING" >xmlXPathNewString</A > (const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *val); <A HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" >xmlXPathObjectPtr</A > <A HREF="libxml-xpathinternals.html#XMLXPATHNEWCSTRING" >xmlXPathNewCString</A > (const char *val); <A HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" >xmlXPathObjectPtr</A > <A HREF="libxml-xpathinternals.html#XMLXPATHWRAPSTRING" >xmlXPathWrapString</A > (<A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *val); <A HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" >xmlXPathObjectPtr</A > <A HREF="libxml-xpathinternals.html#XMLXPATHWRAPCSTRING" >xmlXPathWrapCString</A > (char *val); <A HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" >xmlXPathObjectPtr</A > <A HREF="libxml-xpathinternals.html#XMLXPATHNEWFLOAT" >xmlXPathNewFloat</A > (<GTKDOCLINK HREF="DOUBLE" >double</GTKDOCLINK > val); <A HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" >xmlXPathObjectPtr</A > <A HREF="libxml-xpathinternals.html#XMLXPATHNEWBOOLEAN" >xmlXPathNewBoolean</A > (int val); <A HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" >xmlXPathObjectPtr</A > <A HREF="libxml-xpathinternals.html#XMLXPATHNEWNODESET" >xmlXPathNewNodeSet</A > (<A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > val); <A HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" >xmlXPathObjectPtr</A > <A HREF="libxml-xpathinternals.html#XMLXPATHNEWVALUETREE" >xmlXPathNewValueTree</A > (<A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > val); void <A HREF="libxml-xpathinternals.html#XMLXPATHNODESETADD" >xmlXPathNodeSetAdd</A > (<A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > cur, <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > val); void <A HREF="libxml-xpathinternals.html#XMLXPATHNODESETADDUNIQUE" >xmlXPathNodeSetAddUnique</A > (<A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > cur, <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > val); void <A HREF="libxml-xpathinternals.html#XMLXPATHNODESETSORT" >xmlXPathNodeSetSort</A > (<A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > set); void <A HREF="libxml-xpathinternals.html#XMLXPATHROOT" >xmlXPathRoot</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt); void <A HREF="libxml-xpathinternals.html#XMLXPATHEVALEXPR" >xmlXPathEvalExpr</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt); <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A >* <A HREF="libxml-xpathinternals.html#XMLXPATHPARSENAME" >xmlXPathParseName</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt); <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A >* <A HREF="libxml-xpathinternals.html#XMLXPATHPARSENCNAME" >xmlXPathParseNCName</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt); <GTKDOCLINK HREF="DOUBLE" >double</GTKDOCLINK > <A HREF="libxml-xpathinternals.html#XMLXPATHSTRINGEVALNUMBER" >xmlXPathStringEvalNumber</A > (const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *str); int <A HREF="libxml-xpathinternals.html#XMLXPATHEVALUATEPREDICATERESULT" >xmlXPathEvaluatePredicateResult</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, <A HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" >xmlXPathObjectPtr</A > res); void <A HREF="libxml-xpathinternals.html#XMLXPATHREGISTERALLFUNCTIONS" >xmlXPathRegisterAllFunctions</A > (<A HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" >xmlXPathContextPtr</A > ctxt); <A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > <A HREF="libxml-xpathinternals.html#XMLXPATHNODESETMERGE" >xmlXPathNodeSetMerge</A > (<A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > val1, <A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > val2); void <A HREF="libxml-xpathinternals.html#XMLXPATHNODESETDEL" >xmlXPathNodeSetDel</A > (<A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > cur, <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > val); void <A HREF="libxml-xpathinternals.html#XMLXPATHNODESETREMOVE" >xmlXPathNodeSetRemove</A > (<A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > cur, int val); <A HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" >xmlXPathObjectPtr</A > <A HREF="libxml-xpathinternals.html#XMLXPATHNEWNODESETLIST" >xmlXPathNewNodeSetList</A > (<A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > val); <A HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" >xmlXPathObjectPtr</A > <A HREF="libxml-xpathinternals.html#XMLXPATHWRAPNODESET" >xmlXPathWrapNodeSet</A > (<A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > val); <A HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" >xmlXPathObjectPtr</A > <A HREF="libxml-xpathinternals.html#XMLXPATHWRAPEXTERNAL" >xmlXPathWrapExternal</A > (void *val); int <A HREF="libxml-xpathinternals.html#XMLXPATHEQUALVALUES" >xmlXPathEqualValues</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt); int <A HREF="libxml-xpathinternals.html#XMLXPATHCOMPAREVALUES" >xmlXPathCompareValues</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int inf, int strict); void <A HREF="libxml-xpathinternals.html#XMLXPATHVALUEFLIPSIGN" >xmlXPathValueFlipSign</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt); void <A HREF="libxml-xpathinternals.html#XMLXPATHADDVALUES" >xmlXPathAddValues</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt); void <A HREF="libxml-xpathinternals.html#XMLXPATHSUBVALUES" >xmlXPathSubValues</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt); void <A HREF="libxml-xpathinternals.html#XMLXPATHMULTVALUES" >xmlXPathMultValues</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt); void <A HREF="libxml-xpathinternals.html#XMLXPATHDIVVALUES" >xmlXPathDivValues</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt); void <A HREF="libxml-xpathinternals.html#XMLXPATHMODVALUES" >xmlXPathModValues</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt); int <A HREF="libxml-xpathinternals.html#XMLXPATHISNODETYPE" >xmlXPathIsNodeType</A > (const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *name); <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > <A HREF="libxml-xpathinternals.html#XMLXPATHNEXTSELF" >xmlXPathNextSelf</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > cur); <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > <A HREF="libxml-xpathinternals.html#XMLXPATHNEXTCHILD" >xmlXPathNextChild</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > cur); <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > <A HREF="libxml-xpathinternals.html#XMLXPATHNEXTDESCENDANT" >xmlXPathNextDescendant</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > cur); <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > <A HREF="libxml-xpathinternals.html#XMLXPATHNEXTDESCENDANTORSELF" >xmlXPathNextDescendantOrSelf</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > cur); <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > <A HREF="libxml-xpathinternals.html#XMLXPATHNEXTPARENT" >xmlXPathNextParent</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > cur); <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > <A HREF="libxml-xpathinternals.html#XMLXPATHNEXTANCESTORORSELF" >xmlXPathNextAncestorOrSelf</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > cur); <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > <A HREF="libxml-xpathinternals.html#XMLXPATHNEXTFOLLOWINGSIBLING" >xmlXPathNextFollowingSibling</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > cur); <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > <A HREF="libxml-xpathinternals.html#XMLXPATHNEXTFOLLOWING" >xmlXPathNextFollowing</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > cur); <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > <A HREF="libxml-xpathinternals.html#XMLXPATHNEXTNAMESPACE" >xmlXPathNextNamespace</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > cur); <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > <A HREF="libxml-xpathinternals.html#XMLXPATHNEXTATTRIBUTE" >xmlXPathNextAttribute</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > cur); <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > <A HREF="libxml-xpathinternals.html#XMLXPATHNEXTPRECEDING" >xmlXPathNextPreceding</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > cur); <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > <A HREF="libxml-xpathinternals.html#XMLXPATHNEXTANCESTOR" >xmlXPathNextAncestor</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > cur); <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > <A HREF="libxml-xpathinternals.html#XMLXPATHNEXTPRECEDINGSIBLING" >xmlXPathNextPrecedingSibling</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > cur); void <A HREF="libxml-xpathinternals.html#XMLXPATHLASTFUNCTION" >xmlXPathLastFunction</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int nargs); void <A HREF="libxml-xpathinternals.html#XMLXPATHPOSITIONFUNCTION" >xmlXPathPositionFunction</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int nargs); void <A HREF="libxml-xpathinternals.html#XMLXPATHCOUNTFUNCTION" >xmlXPathCountFunction</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int nargs); void <A HREF="libxml-xpathinternals.html#XMLXPATHIDFUNCTION" >xmlXPathIdFunction</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int nargs); void <A HREF="libxml-xpathinternals.html#XMLXPATHLOCALNAMEFUNCTION" >xmlXPathLocalNameFunction</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int nargs); void <A HREF="libxml-xpathinternals.html#XMLXPATHNAMESPACEURIFUNCTION" >xmlXPathNamespaceURIFunction</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int nargs); void <A HREF="libxml-xpathinternals.html#XMLXPATHSTRINGFUNCTION" >xmlXPathStringFunction</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int nargs); void <A HREF="libxml-xpathinternals.html#XMLXPATHSTRINGLENGTHFUNCTION" >xmlXPathStringLengthFunction</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int nargs); void <A HREF="libxml-xpathinternals.html#XMLXPATHCONCATFUNCTION" >xmlXPathConcatFunction</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int nargs); void <A HREF="libxml-xpathinternals.html#XMLXPATHCONTAINSFUNCTION" >xmlXPathContainsFunction</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int nargs); void <A HREF="libxml-xpathinternals.html#XMLXPATHSTARTSWITHFUNCTION" >xmlXPathStartsWithFunction</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int nargs); void <A HREF="libxml-xpathinternals.html#XMLXPATHSUBSTRINGFUNCTION" >xmlXPathSubstringFunction</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int nargs); void <A HREF="libxml-xpathinternals.html#XMLXPATHSUBSTRINGBEFOREFUNCTION" >xmlXPathSubstringBeforeFunction</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int nargs); void <A HREF="libxml-xpathinternals.html#XMLXPATHSUBSTRINGAFTERFUNCTION" >xmlXPathSubstringAfterFunction</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int nargs); void <A HREF="libxml-xpathinternals.html#XMLXPATHNORMALIZEFUNCTION" >xmlXPathNormalizeFunction</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int nargs); void <A HREF="libxml-xpathinternals.html#XMLXPATHTRANSLATEFUNCTION" >xmlXPathTranslateFunction</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int nargs); void <A HREF="libxml-xpathinternals.html#XMLXPATHNOTFUNCTION" >xmlXPathNotFunction</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int nargs); void <A HREF="libxml-xpathinternals.html#XMLXPATHTRUEFUNCTION" >xmlXPathTrueFunction</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int nargs); void <A HREF="libxml-xpathinternals.html#XMLXPATHFALSEFUNCTION" >xmlXPathFalseFunction</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int nargs); void <A HREF="libxml-xpathinternals.html#XMLXPATHLANGFUNCTION" >xmlXPathLangFunction</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int nargs); void <A HREF="libxml-xpathinternals.html#XMLXPATHNUMBERFUNCTION" >xmlXPathNumberFunction</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int nargs); void <A HREF="libxml-xpathinternals.html#XMLXPATHSUMFUNCTION" >xmlXPathSumFunction</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int nargs); void <A HREF="libxml-xpathinternals.html#XMLXPATHFLOORFUNCTION" >xmlXPathFloorFunction</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int nargs); void <A HREF="libxml-xpathinternals.html#XMLXPATHCEILINGFUNCTION" >xmlXPathCeilingFunction</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int nargs); void <A HREF="libxml-xpathinternals.html#XMLXPATHROUNDFUNCTION" >xmlXPathRoundFunction</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int nargs); void <A HREF="libxml-xpathinternals.html#XMLXPATHBOOLEANFUNCTION" >xmlXPathBooleanFunction</A > (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int nargs);</PRE ></TD ></TR ></TABLE ></DIV ><DIV CLASS="REFSECT1" ><A NAME="AEN13417" ></A ><H2 >Description</H2 ><P ></P ></DIV ><DIV CLASS="REFSECT1" ><A NAME="AEN13420" ></A ><H2 >Details</H2 ><DIV CLASS="REFSECT2" ><A NAME="AEN13422" ></A ><H3 ><A NAME="XMLXPATHSETERROR" ></A >xmlXPathSetError()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define xmlXPathSetError(ctxt, err)</PRE ></TD ></TR ></TABLE ><P >Raises an error.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN13428" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > an XPath parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >err</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > an xmlXPathError code</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN13441" ></A ><H3 ><A NAME="XMLXPATHSETARITYERROR" ></A >xmlXPathSetArityError()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define xmlXPathSetArityError(ctxt)</PRE ></TD ></TR ></TABLE ><P >Raises an XPATH_INVALID_ARITY error</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN13447" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > an XPath parser context</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN13456" ></A ><H3 ><A NAME="XMLXPATHSETTYPEERROR" ></A >xmlXPathSetTypeError()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define xmlXPathSetTypeError(ctxt)</PRE ></TD ></TR ></TABLE ><P >Raises an XPATH_INVALID_TYPE error</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN13462" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > an XPath parser context</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN13471" ></A ><H3 ><A NAME="XMLXPATHGETERROR" ></A >xmlXPathGetError()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define xmlXPathGetError(ctxt) ((ctxt)->error)</PRE ></TD ></TR ></TABLE ><P >Get the error code of an XPath context</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN13477" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > an XPath parser context</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN13486" ></A ><H3 ><A NAME="XMLXPATHCHECKERROR" ></A >xmlXPathCheckError()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define xmlXPathCheckError(ctxt) ((ctxt)->error != XPATH_EXPRESSION_OK)</PRE ></TD ></TR ></TABLE ><P >Check if an XPath error was raised</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN13492" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > an XPath parser context</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN13501" ></A ><H3 ><A NAME="XMLXPATHGETDOCUMENT" ></A >xmlXPathGetDocument()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define xmlXPathGetDocument(ctxt) ((ctxt)->context->doc)</PRE ></TD ></TR ></TABLE ><P >Get the document of an XPath context</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN13507" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > an XPath parser context</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN13516" ></A ><H3 ><A NAME="XMLXPATHGETCONTEXTNODE" ></A >xmlXPathGetContextNode()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define xmlXPathGetContextNode(ctxt) ((ctxt)->context->node)</PRE ></TD ></TR ></TABLE ><P >Get the context node of an XPath context</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN13522" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > an XPath parser context</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN13531" ></A ><H3 ><A NAME="XMLXPATHPOPBOOLEAN" ></A >xmlXPathPopBoolean ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >int xmlXPathPopBoolean (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt);</PRE ></TD ></TR ></TABLE ><P >Pops a boolean from the stack, handling conversion if needed. Check error with <A HREF="libxml-xpathinternals.html#XMLXPATHCHECKERROR" >xmlXPathCheckError</A >.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN13539" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > an XPath parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the boolean</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN13552" ></A ><H3 ><A NAME="XMLXPATHPOPNUMBER" ></A >xmlXPathPopNumber ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><GTKDOCLINK HREF="DOUBLE" >double</GTKDOCLINK > xmlXPathPopNumber (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt);</PRE ></TD ></TR ></TABLE ><P >Pops a number from the stack, handling conversion if needed. Check error with <A HREF="libxml-xpathinternals.html#XMLXPATHCHECKERROR" >xmlXPathCheckError</A >.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN13561" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > an XPath parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the number</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN13574" ></A ><H3 ><A NAME="XMLXPATHPOPSTRING" ></A >xmlXPathPopString ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A >* xmlXPathPopString (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt);</PRE ></TD ></TR ></TABLE ><P >Pops a string from the stack, handling conversion if needed. Check error with <A HREF="libxml-xpathinternals.html#XMLXPATHCHECKERROR" >xmlXPathCheckError</A >.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN13583" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > an XPath parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the string</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN13596" ></A ><H3 ><A NAME="XMLXPATHPOPNODESET" ></A >xmlXPathPopNodeSet ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > xmlXPathPopNodeSet (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt);</PRE ></TD ></TR ></TABLE ><P >Pops a node-set from the stack, handling conversion if needed. Check error with <A HREF="libxml-xpathinternals.html#XMLXPATHCHECKERROR" >xmlXPathCheckError</A >.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN13605" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > an XPath parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the node-set</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN13618" ></A ><H3 ><A NAME="XMLXPATHPOPEXTERNAL" ></A >xmlXPathPopExternal ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void* xmlXPathPopExternal (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt);</PRE ></TD ></TR ></TABLE ><P >Pops an external object from the stack, handling conversion if needed. Check error with <A HREF="libxml-xpathinternals.html#XMLXPATHCHECKERROR" >xmlXPathCheckError</A >.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN13626" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > an XPath parser context</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN13635" ></A ><H3 ><A NAME="XMLXPATHRETURNBOOLEAN" ></A >xmlXPathReturnBoolean()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define xmlXPathReturnBoolean(ctxt, val)</PRE ></TD ></TR ></TABLE ><P >Pushes the boolean <TT CLASS="PARAMETER" ><I >val</I ></TT > on the context stack</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN13642" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > an XPath parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >val</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > a boolean</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN13655" ></A ><H3 ><A NAME="XMLXPATHRETURNTRUE" ></A >xmlXPathReturnTrue()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define xmlXPathReturnTrue(ctxt) xmlXPathReturnBoolean((ctxt), 1)</PRE ></TD ></TR ></TABLE ><P >Pushes true on the context stack</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN13661" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > an XPath parser context</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN13670" ></A ><H3 ><A NAME="XMLXPATHRETURNFALSE" ></A >xmlXPathReturnFalse()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define xmlXPathReturnFalse(ctxt) xmlXPathReturnBoolean((ctxt), 0)</PRE ></TD ></TR ></TABLE ><P >Pushes false on the context stack</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN13676" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > an XPath parser context</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN13685" ></A ><H3 ><A NAME="XMLXPATHRETURNNUMBER" ></A >xmlXPathReturnNumber()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define xmlXPathReturnNumber(ctxt, val)</PRE ></TD ></TR ></TABLE ><P >Pushes the double <TT CLASS="PARAMETER" ><I >val</I ></TT > on the context stack</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN13692" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > an XPath parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >val</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > a double</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN13705" ></A ><H3 ><A NAME="XMLXPATHRETURNSTRING" ></A >xmlXPathReturnString()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define xmlXPathReturnString(ctxt, str)</PRE ></TD ></TR ></TABLE ><P >Pushes the string <TT CLASS="PARAMETER" ><I >str</I ></TT > on the context stack</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN13712" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > an XPath parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >str</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > a string</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN13725" ></A ><H3 ><A NAME="XMLXPATHRETURNEMPTYSTRING" ></A >xmlXPathReturnEmptyString()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define xmlXPathReturnEmptyString(ctxt)</PRE ></TD ></TR ></TABLE ><P >Pushes an empty string on the stack</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN13731" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > an XPath parser context</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN13740" ></A ><H3 ><A NAME="XMLXPATHRETURNNODESET" ></A >xmlXPathReturnNodeSet()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define xmlXPathReturnNodeSet(ctxt, ns)</PRE ></TD ></TR ></TABLE ><P >Pushes the node-set <TT CLASS="PARAMETER" ><I >ns</I ></TT > on the context stack</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN13747" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > an XPath parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ns</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > a node-set</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN13760" ></A ><H3 ><A NAME="XMLXPATHRETURNEMPTYNODESET" ></A >xmlXPathReturnEmptyNodeSet()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define xmlXPathReturnEmptyNodeSet(ctxt)</PRE ></TD ></TR ></TABLE ><P >Pushes an empty node-set on the context stack</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN13766" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > an XPath parser context</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN13775" ></A ><H3 ><A NAME="XMLXPATHRETURNEXTERNAL" ></A >xmlXPathReturnExternal()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define xmlXPathReturnExternal(ctxt, val)</PRE ></TD ></TR ></TABLE ><P >Pushes user data on the context stack</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN13781" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > an XPath parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >val</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > user data</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN13794" ></A ><H3 ><A NAME="XMLXPATHSTACKISNODESET" ></A >xmlXPathStackIsNodeSet()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define xmlXPathStackIsNodeSet(ctxt)</PRE ></TD ></TR ></TABLE ><P >Check if the current value on the XPath stack is a node set or an XSLT value tree</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN13800" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > an XPath parser context</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN13809" ></A ><H3 ><A NAME="XMLXPATHSTACKISEXTERNAL" ></A >xmlXPathStackIsExternal()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define xmlXPathStackIsExternal(ctxt)</PRE ></TD ></TR ></TABLE ><P >Checks if the current value on the XPath stack is an external object.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN13815" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > an XPath parser context</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN13824" ></A ><H3 ><A NAME="XMLXPATHEMPTYNODESET" ></A >xmlXPathEmptyNodeSet()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define xmlXPathEmptyNodeSet(ns)</PRE ></TD ></TR ></TABLE ><P >Empties a node-set</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN13830" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ns</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > a node-set</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN13839" ></A ><H3 ><A NAME="CHECK-ERROR-CAPS" ></A >CHECK_ERROR</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define CHECK_ERROR</PRE ></TD ></TR ></TABLE ><P >macro to return from the function if an XPath error was detected</P ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN13845" ></A ><H3 ><A NAME="CHECK-ERROR0-CAPS" ></A >CHECK_ERROR0</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define CHECK_ERROR0</PRE ></TD ></TR ></TABLE ><P >macro to return 0 from the function if an XPath error was detected</P ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN13851" ></A ><H3 ><A NAME="XP-ERROR-CAPS" ></A >XP_ERROR()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define XP_ERROR(X)</PRE ></TD ></TR ></TABLE ><P >Macro to raise an XPath error and return</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN13857" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >X</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the error code</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN13866" ></A ><H3 ><A NAME="XP-ERROR0-CAPS" ></A >XP_ERROR0()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define XP_ERROR0(X)</PRE ></TD ></TR ></TABLE ><P >Macro to raise an XPath error and return 0</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN13872" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >X</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the error code</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN13881" ></A ><H3 ><A NAME="CHECK-TYPE-CAPS" ></A >CHECK_TYPE()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define CHECK_TYPE(typeval)</PRE ></TD ></TR ></TABLE ><P >Macro to check that the value on top of the XPath stack is of a given type.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN13887" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >typeval</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath type</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN13896" ></A ><H3 ><A NAME="CHECK-TYPE0-CAPS" ></A >CHECK_TYPE0()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define CHECK_TYPE0(typeval)</PRE ></TD ></TR ></TABLE ><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 ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN13902" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >typeval</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath type</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN13911" ></A ><H3 ><A NAME="CHECK-ARITY-CAPS" ></A >CHECK_ARITY()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define CHECK_ARITY(x)</PRE ></TD ></TR ></TABLE ><P >Macro to check that the number of args passed to an XPath function matches</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN13917" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >x</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the number of expected args</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN13926" ></A ><H3 ><A NAME="CAST-TO-STRING-CAPS" ></A >CAST_TO_STRING</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define CAST_TO_STRING</PRE ></TD ></TR ></TABLE ><P >Macro to try to cast the value on the top of the XPath stack to a string</P ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN13932" ></A ><H3 ><A NAME="CAST-TO-NUMBER-CAPS" ></A >CAST_TO_NUMBER</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define CAST_TO_NUMBER</PRE ></TD ></TR ></TABLE ><P >Macro to try to cast the value on the top of the XPath stack to a number</P ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN13938" ></A ><H3 ><A NAME="CAST-TO-BOOLEAN-CAPS" ></A >CAST_TO_BOOLEAN</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define CAST_TO_BOOLEAN</PRE ></TD ></TR ></TABLE ><P >Macro to try to cast the value on the top of the XPath stack to a boolean</P ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN13944" ></A ><H3 ><A NAME="XMLXPATHVARIABLELOOKUPFUNC" ></A >xmlXPathVariableLookupFunc ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" >xmlXPathObjectPtr</A > (*xmlXPathVariableLookupFunc) (void *ctxt, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *name, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *ns_uri);</PRE ></TD ></TR ></TABLE ><P >Prototype for callbacks used to plug variable lookup in the XPath engine</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN13953" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > an XPath context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >name</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > name of the variable</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ns_uri</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the namespace name hosting this variable</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the XPath object value or NULL if not found</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN13974" ></A ><H3 ><A NAME="XMLXPATHREGISTERVARIABLELOOKUP" ></A >xmlXPathRegisterVariableLookup ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void xmlXPathRegisterVariableLookup (<A HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" >xmlXPathContextPtr</A > ctxt, <A HREF="libxml-xpathinternals.html#XMLXPATHVARIABLELOOKUPFUNC" >xmlXPathVariableLookupFunc</A > f, void *data);</PRE ></TD ></TR ></TABLE ><P >register an external mechanism to do variable lookup</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN13982" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >f</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the lookup function</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >data</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the lookup data</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN13999" ></A ><H3 ><A NAME="XMLXPATHFUNCLOOKUPFUNC" ></A >xmlXPathFuncLookupFunc ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-xpath.html#XMLXPATHFUNCTION" >xmlXPathFunction</A > (*xmlXPathFuncLookupFunc) (void *ctxt, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *name, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *ns_uri);</PRE ></TD ></TR ></TABLE ><P >Prototype for callbacks used to plug function lookup in the XPath engine</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN14008" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > an XPath context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >name</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > name of the function</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ns_uri</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the namespace name hosting this function</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the XPath function or NULL if not found</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN14029" ></A ><H3 ><A NAME="XMLXPATHREGISTERFUNCLOOKUP" ></A >xmlXPathRegisterFuncLookup ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void xmlXPathRegisterFuncLookup (<A HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" >xmlXPathContextPtr</A > ctxt, <A HREF="libxml-xpathinternals.html#XMLXPATHFUNCLOOKUPFUNC" >xmlXPathFuncLookupFunc</A > f, void *funcCtxt);</PRE ></TD ></TR ></TABLE ><P >Registers an external mechanism to do function lookup.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN14037" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >f</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the lookup function</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >funcCtxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the lookup data</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN14054" ></A ><H3 ><A NAME="XMLXPATHERROR" ></A >xmlXPatherror ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void xmlXPatherror (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, const char *file, int line, int no);</PRE ></TD ></TR ></TABLE ><P >Formats an error message.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN14061" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >file</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the file name</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >line</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the line number</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >no</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the error number</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN14082" ></A ><H3 ><A NAME="XMLXPATHDEBUGDUMPOBJECT" ></A >xmlXPathDebugDumpObject ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void xmlXPathDebugDumpObject (<GTKDOCLINK HREF="FILE-CAPS" >FILE</GTKDOCLINK > *output, <A HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" >xmlXPathObjectPtr</A > cur, int depth);</PRE ></TD ></TR ></TABLE ><P >Dump the content of the object for debugging purposes</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN14090" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >output</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the FILE * to dump the output</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >cur</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the object to inspect</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >depth</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > indentation level</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN14107" ></A ><H3 ><A NAME="XMLXPATHDEBUGDUMPCOMPEXPR" ></A >xmlXPathDebugDumpCompExpr ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void xmlXPathDebugDumpCompExpr (<GTKDOCLINK HREF="FILE-CAPS" >FILE</GTKDOCLINK > *output, <A HREF="libxml-xpath.html#XMLXPATHCOMPEXPRPTR" >xmlXPathCompExprPtr</A > comp, int depth);</PRE ></TD ></TR ></TABLE ><P >Dumps the tree of the compiled XPath expression.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN14115" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >output</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the FILE * for the output</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >comp</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the precompiled XPath expression</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >depth</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the indentation level.</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN14132" ></A ><H3 ><A NAME="XMLXPATHNODESETCONTAINS" ></A >xmlXPathNodeSetContains ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >int xmlXPathNodeSetContains (<A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > cur, <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > val);</PRE ></TD ></TR ></TABLE ><P >checks whether <TT CLASS="PARAMETER" ><I >cur</I ></TT > contains <TT CLASS="PARAMETER" ><I >val</I ></TT ></P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN14142" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >cur</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the node-set</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >val</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the node</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >true (1) if <TT CLASS="PARAMETER" ><I >cur</I ></TT > contains <TT CLASS="PARAMETER" ><I >val</I ></TT >, false (0) otherwise</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN14161" ></A ><H3 ><A NAME="XMLXPATHDIFFERENCE" ></A >xmlXPathDifference ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > xmlXPathDifference (<A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > nodes1, <A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > nodes2);</PRE ></TD ></TR ></TABLE ><P >Implements the EXSLT - Sets <GTKDOCLINK HREF="DIFFERENCE" >difference</GTKDOCLINK >() function: node-set set:difference (node-set, node-set)</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN14171" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >nodes1</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > a node-set</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >nodes2</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > a node-set</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the difference between the two node sets, or nodes1 if nodes2 is empty</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN14188" ></A ><H3 ><A NAME="XMLXPATHINTERSECTION" ></A >xmlXPathIntersection ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > xmlXPathIntersection (<A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > nodes1, <A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > nodes2);</PRE ></TD ></TR ></TABLE ><P >Implements the EXSLT - Sets <GTKDOCLINK HREF="INTERSECTION" >intersection</GTKDOCLINK >() function: node-set set:intersection (node-set, node-set)</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN14198" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >nodes1</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > a node-set</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >nodes2</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > a node-set</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >a node set comprising the nodes that are within both the node sets passed as arguments</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN14215" ></A ><H3 ><A NAME="XMLXPATHDISTINCTSORTED" ></A >xmlXPathDistinctSorted ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > xmlXPathDistinctSorted (<A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > nodes);</PRE ></TD ></TR ></TABLE ><P >Implements the EXSLT - Sets <GTKDOCLINK HREF="DISTINCT" >distinct</GTKDOCLINK >() function: node-set set:distinct (node-set)</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN14224" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >nodes</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > a node-set, sorted by document order</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >a subset of the nodes contained in <TT CLASS="PARAMETER" ><I >nodes</I ></TT >, or <TT CLASS="PARAMETER" ><I >nodes</I ></TT > if it is empty</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN14239" ></A ><H3 ><A NAME="XMLXPATHDISTINCT" ></A >xmlXPathDistinct ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > xmlXPathDistinct (<A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > nodes);</PRE ></TD ></TR ></TABLE ><P >Implements the EXSLT - Sets <GTKDOCLINK HREF="DISTINCT" >distinct</GTKDOCLINK >() function: node-set set:distinct (node-set) <TT CLASS="PARAMETER" ><I >nodes</I ></TT > is sorted by document order, then <GTKDOCLINK HREF="EXSLSETSDISTINCTSORTED" >exslSetsDistinctSorted</GTKDOCLINK > is called with the sorted node-set</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN14250" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >nodes</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > a node-set</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >a subset of the nodes contained in <TT CLASS="PARAMETER" ><I >nodes</I ></TT >, or <TT CLASS="PARAMETER" ><I >nodes</I ></TT > if it is empty</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN14265" ></A ><H3 ><A NAME="XMLXPATHHASSAMENODES" ></A >xmlXPathHasSameNodes ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >int xmlXPathHasSameNodes (<A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > nodes1, <A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > nodes2);</PRE ></TD ></TR ></TABLE ><P >Implements the EXSLT - Sets has-same-nodes function: boolean set:has-same-node(node-set, node-set)</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN14273" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >nodes1</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > a node-set</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >nodes2</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > a node-set</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >true (1) if <TT CLASS="PARAMETER" ><I >nodes1</I ></TT > shares any node with <TT CLASS="PARAMETER" ><I >nodes2</I ></TT >, false (0) otherwise</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN14292" ></A ><H3 ><A NAME="XMLXPATHNODELEADINGSORTED" ></A >xmlXPathNodeLeadingSorted ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > xmlXPathNodeLeadingSorted (<A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > nodes, <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > node);</PRE ></TD ></TR ></TABLE ><P >Implements the EXSLT - Sets <GTKDOCLINK HREF="LEADING" >leading</GTKDOCLINK >() function: node-set set:leading (node-set, node-set)</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN14302" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >nodes</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > a node-set, sorted by document order</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >node</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > a node</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the nodes in <TT CLASS="PARAMETER" ><I >nodes</I ></TT > that precede <TT CLASS="PARAMETER" ><I >node</I ></TT > in document order, <TT CLASS="PARAMETER" ><I >nodes</I ></TT > if <TT CLASS="PARAMETER" ><I >node</I ></TT > is NULL or an empty node-set if <TT CLASS="PARAMETER" ><I >nodes</I ></TT > doesn't contain <TT CLASS="PARAMETER" ><I >node</I ></TT ></TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN14325" ></A ><H3 ><A NAME="XMLXPATHLEADINGSORTED" ></A >xmlXPathLeadingSorted ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > xmlXPathLeadingSorted (<A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > nodes1, <A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > nodes2);</PRE ></TD ></TR ></TABLE ><P >Implements the EXSLT - Sets <GTKDOCLINK HREF="LEADING" >leading</GTKDOCLINK >() function: node-set set:leading (node-set, node-set)</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN14335" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >nodes1</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > a node-set, sorted by document order</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >nodes2</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > a node-set, sorted by document order</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the nodes in <TT CLASS="PARAMETER" ><I >nodes1</I ></TT > that precede the first node in <TT CLASS="PARAMETER" ><I >nodes2</I ></TT > in document order, <TT CLASS="PARAMETER" ><I >nodes1</I ></TT > if <TT CLASS="PARAMETER" ><I >nodes2</I ></TT > is NULL or empty or an empty node-set if <TT CLASS="PARAMETER" ><I >nodes1</I ></TT > doesn't contain <TT CLASS="PARAMETER" ><I >nodes2</I ></TT ></TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN14358" ></A ><H3 ><A NAME="XMLXPATHNODELEADING" ></A >xmlXPathNodeLeading ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > xmlXPathNodeLeading (<A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > nodes, <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > node);</PRE ></TD ></TR ></TABLE ><P >Implements the EXSLT - Sets <GTKDOCLINK HREF="LEADING" >leading</GTKDOCLINK >() function: node-set set:leading (node-set, node-set) <TT CLASS="PARAMETER" ><I >nodes</I ></TT > is sorted by document order, then <GTKDOCLINK HREF="EXSLSETSNODELEADINGSORTED" >exslSetsNodeLeadingSorted</GTKDOCLINK > is called.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN14370" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >nodes</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > a node-set</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >node</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > a node</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the nodes in <TT CLASS="PARAMETER" ><I >nodes</I ></TT > that precede <TT CLASS="PARAMETER" ><I >node</I ></TT > in document order, <TT CLASS="PARAMETER" ><I >nodes</I ></TT > if <TT CLASS="PARAMETER" ><I >node</I ></TT > is NULL or an empty node-set if <TT CLASS="PARAMETER" ><I >nodes</I ></TT > doesn't contain <TT CLASS="PARAMETER" ><I >node</I ></TT ></TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN14393" ></A ><H3 ><A NAME="XMLXPATHLEADING" ></A >xmlXPathLeading ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > xmlXPathLeading (<A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > nodes1, <A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > nodes2);</PRE ></TD ></TR ></TABLE ><P >Implements the EXSLT - Sets <GTKDOCLINK HREF="LEADING" >leading</GTKDOCLINK >() function: node-set set:leading (node-set, node-set) <TT CLASS="PARAMETER" ><I >nodes1</I ></TT > and <TT CLASS="PARAMETER" ><I >nodes2</I ></TT > are sorted by document order, then <GTKDOCLINK HREF="EXSLSETSLEADINGSORTED" >exslSetsLeadingSorted</GTKDOCLINK > is called.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN14406" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >nodes1</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > a node-set</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >nodes2</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > a node-set</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the nodes in <TT CLASS="PARAMETER" ><I >nodes1</I ></TT > that precede the first node in <TT CLASS="PARAMETER" ><I >nodes2</I ></TT > in document order, <TT CLASS="PARAMETER" ><I >nodes1</I ></TT > if <TT CLASS="PARAMETER" ><I >nodes2</I ></TT > is NULL or empty or an empty node-set if <TT CLASS="PARAMETER" ><I >nodes1</I ></TT > doesn't contain <TT CLASS="PARAMETER" ><I >nodes2</I ></TT ></TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN14429" ></A ><H3 ><A NAME="XMLXPATHNODETRAILINGSORTED" ></A >xmlXPathNodeTrailingSorted ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > xmlXPathNodeTrailingSorted (<A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > nodes, <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > node);</PRE ></TD ></TR ></TABLE ><P >Implements the EXSLT - Sets <GTKDOCLINK HREF="TRAILING" >trailing</GTKDOCLINK >() function: node-set set:trailing (node-set, node-set)</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN14439" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >nodes</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > a node-set, sorted by document order</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >node</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > a node</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the nodes in <TT CLASS="PARAMETER" ><I >nodes</I ></TT > that follow <TT CLASS="PARAMETER" ><I >node</I ></TT > in document order, <TT CLASS="PARAMETER" ><I >nodes</I ></TT > if <TT CLASS="PARAMETER" ><I >node</I ></TT > is NULL or an empty node-set if <TT CLASS="PARAMETER" ><I >nodes</I ></TT > doesn't contain <TT CLASS="PARAMETER" ><I >node</I ></TT ></TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN14462" ></A ><H3 ><A NAME="XMLXPATHTRAILINGSORTED" ></A >xmlXPathTrailingSorted ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > xmlXPathTrailingSorted (<A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > nodes1, <A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > nodes2);</PRE ></TD ></TR ></TABLE ><P >Implements the EXSLT - Sets <GTKDOCLINK HREF="TRAILING" >trailing</GTKDOCLINK >() function: node-set set:trailing (node-set, node-set)</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN14472" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >nodes1</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > a node-set, sorted by document order</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >nodes2</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > a node-set, sorted by document order</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the nodes in <TT CLASS="PARAMETER" ><I >nodes1</I ></TT > that follow the first node in <TT CLASS="PARAMETER" ><I >nodes2</I ></TT > in document order, <TT CLASS="PARAMETER" ><I >nodes1</I ></TT > if <TT CLASS="PARAMETER" ><I >nodes2</I ></TT > is NULL or empty or an empty node-set if <TT CLASS="PARAMETER" ><I >nodes1</I ></TT > doesn't contain <TT CLASS="PARAMETER" ><I >nodes2</I ></TT ></TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN14495" ></A ><H3 ><A NAME="XMLXPATHNODETRAILING" ></A >xmlXPathNodeTrailing ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > xmlXPathNodeTrailing (<A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > nodes, <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > node);</PRE ></TD ></TR ></TABLE ><P >Implements the EXSLT - Sets <GTKDOCLINK HREF="TRAILING" >trailing</GTKDOCLINK >() function: node-set set:trailing (node-set, node-set) <TT CLASS="PARAMETER" ><I >nodes</I ></TT > is sorted by document order, then <A HREF="libxml-xpathinternals.html#XMLXPATHNODETRAILINGSORTED" >xmlXPathNodeTrailingSorted</A > is called.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN14507" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >nodes</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > a node-set</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >node</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > a node</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the nodes in <TT CLASS="PARAMETER" ><I >nodes</I ></TT > that follow <TT CLASS="PARAMETER" ><I >node</I ></TT > in document order, <TT CLASS="PARAMETER" ><I >nodes</I ></TT > if <TT CLASS="PARAMETER" ><I >node</I ></TT > is NULL or an empty node-set if <TT CLASS="PARAMETER" ><I >nodes</I ></TT > doesn't contain <TT CLASS="PARAMETER" ><I >node</I ></TT ></TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN14530" ></A ><H3 ><A NAME="XMLXPATHTRAILING" ></A >xmlXPathTrailing ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > xmlXPathTrailing (<A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > nodes1, <A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > nodes2);</PRE ></TD ></TR ></TABLE ><P >Implements the EXSLT - Sets <GTKDOCLINK HREF="TRAILING" >trailing</GTKDOCLINK >() function: node-set set:trailing (node-set, node-set) <TT CLASS="PARAMETER" ><I >nodes1</I ></TT > and <TT CLASS="PARAMETER" ><I >nodes2</I ></TT > are sorted by document order, then <A HREF="libxml-xpathinternals.html#XMLXPATHTRAILINGSORTED" >xmlXPathTrailingSorted</A > is called.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN14543" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >nodes1</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > a node-set</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >nodes2</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > a node-set</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the nodes in <TT CLASS="PARAMETER" ><I >nodes1</I ></TT > that follow the first node in <TT CLASS="PARAMETER" ><I >nodes2</I ></TT > in document order, <TT CLASS="PARAMETER" ><I >nodes1</I ></TT > if <TT CLASS="PARAMETER" ><I >nodes2</I ></TT > is NULL or empty or an empty node-set if <TT CLASS="PARAMETER" ><I >nodes1</I ></TT > doesn't contain <TT CLASS="PARAMETER" ><I >nodes2</I ></TT ></TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN14566" ></A ><H3 ><A NAME="XMLXPATHREGISTERNS" ></A >xmlXPathRegisterNs ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >int xmlXPathRegisterNs (<A HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" >xmlXPathContextPtr</A > ctxt, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *prefix, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *ns_uri);</PRE ></TD ></TR ></TABLE ><P >Register a new namespace. If <TT CLASS="PARAMETER" ><I >ns_uri</I ></TT > is NULL it unregisters the namespace</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN14576" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >prefix</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the namespace prefix</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ns_uri</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the namespace name</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >0 in case of success, -1 in case of error</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN14597" ></A ><H3 ><A NAME="XMLXPATHNSLOOKUP" ></A >xmlXPathNsLookup ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A >* xmlXPathNsLookup (<A HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" >xmlXPathContextPtr</A > ctxt, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *prefix);</PRE ></TD ></TR ></TABLE ><P >Search in the namespace declaration array of the context for the given namespace name associated to the given prefix</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN14606" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >prefix</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the namespace prefix value</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the value or NULL if not found</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN14623" ></A ><H3 ><A NAME="XMLXPATHREGISTEREDNSCLEANUP" ></A >xmlXPathRegisteredNsCleanup ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void xmlXPathRegisteredNsCleanup (<A HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" >xmlXPathContextPtr</A > ctxt);</PRE ></TD ></TR ></TABLE ><P >Cleanup the XPath context data associated to registered variables</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN14630" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath context</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN14639" ></A ><H3 ><A NAME="XMLXPATHREGISTERFUNC" ></A >xmlXPathRegisterFunc ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >int xmlXPathRegisterFunc (<A HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" >xmlXPathContextPtr</A > ctxt, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *name, <A HREF="libxml-xpath.html#XMLXPATHFUNCTION" >xmlXPathFunction</A > f);</PRE ></TD ></TR ></TABLE ><P >Register a new function. If <TT CLASS="PARAMETER" ><I >f</I ></TT > is NULL it unregisters the function</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN14649" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >name</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the function name</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >f</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the function implementation or NULL</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >0 in case of success, -1 in case of error</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN14670" ></A ><H3 ><A NAME="XMLXPATHREGISTERFUNCNS" ></A >xmlXPathRegisterFuncNS ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >int xmlXPathRegisterFuncNS (<A HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" >xmlXPathContextPtr</A > ctxt, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *name, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *ns_uri, <A HREF="libxml-xpath.html#XMLXPATHFUNCTION" >xmlXPathFunction</A > f);</PRE ></TD ></TR ></TABLE ><P >Register a new function. If <TT CLASS="PARAMETER" ><I >f</I ></TT > is NULL it unregisters the function</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN14681" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >name</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the function name</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ns_uri</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the function namespace URI</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >f</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the function implementation or NULL</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >0 in case of success, -1 in case of error</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN14706" ></A ><H3 ><A NAME="XMLXPATHREGISTERVARIABLE" ></A >xmlXPathRegisterVariable ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >int xmlXPathRegisterVariable (<A HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" >xmlXPathContextPtr</A > ctxt, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *name, <A HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" >xmlXPathObjectPtr</A > value);</PRE ></TD ></TR ></TABLE ><P >Register a new variable value. If <TT CLASS="PARAMETER" ><I >value</I ></TT > is NULL it unregisters the variable</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN14716" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >name</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the variable name</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >value</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the variable value or NULL</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >0 in case of success, -1 in case of error</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN14737" ></A ><H3 ><A NAME="XMLXPATHREGISTERVARIABLENS" ></A >xmlXPathRegisterVariableNS ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >int xmlXPathRegisterVariableNS (<A HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" >xmlXPathContextPtr</A > ctxt, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *name, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *ns_uri, <A HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" >xmlXPathObjectPtr</A > value);</PRE ></TD ></TR ></TABLE ><P >Register a new variable value. If <TT CLASS="PARAMETER" ><I >value</I ></TT > is NULL it unregisters the variable</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN14748" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >name</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the variable name</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ns_uri</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the variable namespace URI</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >value</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the variable value or NULL</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >0 in case of success, -1 in case of error</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN14773" ></A ><H3 ><A NAME="XMLXPATHFUNCTIONLOOKUP" ></A >xmlXPathFunctionLookup ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-xpath.html#XMLXPATHFUNCTION" >xmlXPathFunction</A > xmlXPathFunctionLookup (<A HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" >xmlXPathContextPtr</A > ctxt, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *name);</PRE ></TD ></TR ></TABLE ><P >Search in the Function array of the context for the given function.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN14782" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >name</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the function name</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the xmlXPathFunction or NULL if not found</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN14799" ></A ><H3 ><A NAME="XMLXPATHFUNCTIONLOOKUPNS" ></A >xmlXPathFunctionLookupNS ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-xpath.html#XMLXPATHFUNCTION" >xmlXPathFunction</A > xmlXPathFunctionLookupNS (<A HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" >xmlXPathContextPtr</A > ctxt, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *name, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *ns_uri);</PRE ></TD ></TR ></TABLE ><P >Search in the Function array of the context for the given function.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN14809" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >name</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the function name</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ns_uri</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the function namespace URI</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the xmlXPathFunction or NULL if not found</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN14830" ></A ><H3 ><A NAME="XMLXPATHREGISTEREDFUNCSCLEANUP" ></A >xmlXPathRegisteredFuncsCleanup ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void xmlXPathRegisteredFuncsCleanup (<A HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" >xmlXPathContextPtr</A > ctxt);</PRE ></TD ></TR ></TABLE ><P >Cleanup the XPath context data associated to registered functions</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN14837" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath context</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN14846" ></A ><H3 ><A NAME="XMLXPATHVARIABLELOOKUP" ></A >xmlXPathVariableLookup ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" >xmlXPathObjectPtr</A > xmlXPathVariableLookup (<A HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" >xmlXPathContextPtr</A > ctxt, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *name);</PRE ></TD ></TR ></TABLE ><P >Search in the Variable array of the context for the given variable value.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN14855" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >name</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the variable name</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >a copy of the value or NULL if not found</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN14872" ></A ><H3 ><A NAME="XMLXPATHVARIABLELOOKUPNS" ></A >xmlXPathVariableLookupNS ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" >xmlXPathObjectPtr</A > xmlXPathVariableLookupNS (<A HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" >xmlXPathContextPtr</A > ctxt, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *name, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *ns_uri);</PRE ></TD ></TR ></TABLE ><P >Search in the Variable array of the context for the given variable value.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN14882" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >name</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the variable name</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ns_uri</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the variable namespace URI</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the a copy of the value or NULL if not found</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN14903" ></A ><H3 ><A NAME="XMLXPATHREGISTEREDVARIABLESCLEANUP" ></A >xmlXPathRegisteredVariablesCleanup ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void xmlXPathRegisteredVariablesCleanup (<A HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" >xmlXPathContextPtr</A > ctxt);</PRE ></TD ></TR ></TABLE ><P >Cleanup the XPath context data associated to registered variables</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN14910" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath context</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN14919" ></A ><H3 ><A NAME="XMLXPATHNEWPARSERCONTEXT" ></A >xmlXPathNewParserContext ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > xmlXPathNewParserContext (const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *str, <A HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" >xmlXPathContextPtr</A > ctxt);</PRE ></TD ></TR ></TABLE ><P >Create a new xmlXPathParserContext</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN14928" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >str</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath expression</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the xmlXPathParserContext just allocated.</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN14945" ></A ><H3 ><A NAME="XMLXPATHFREEPARSERCONTEXT" ></A >xmlXPathFreeParserContext ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void xmlXPathFreeParserContext (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt);</PRE ></TD ></TR ></TABLE ><P >Free up an xmlXPathParserContext</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN14952" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the context to free</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN14961" ></A ><H3 ><A NAME="VALUEPOP" ></A >valuePop ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" >xmlXPathObjectPtr</A > valuePop (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt);</PRE ></TD ></TR ></TABLE ><P >Pops the top XPath object from the value stack</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN14969" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > an XPath evaluation context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the XPath object just removed</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN14982" ></A ><H3 ><A NAME="VALUEPUSH" ></A >valuePush ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >int valuePush (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, <A HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" >xmlXPathObjectPtr</A > value);</PRE ></TD ></TR ></TABLE ><P >Pushes a new XPath object on top of the value stack</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN14990" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > an XPath evaluation context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >value</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath object</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the number of items on the value stack</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN15007" ></A ><H3 ><A NAME="XMLXPATHNEWSTRING" ></A >xmlXPathNewString ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" >xmlXPathObjectPtr</A > xmlXPathNewString (const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *val);</PRE ></TD ></TR ></TABLE ><P >Create a new xmlXPathObjectPtr of type string and of value <TT CLASS="PARAMETER" ><I >val</I ></TT ></P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN15016" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >val</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the xmlChar * value</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the newly created object.</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN15029" ></A ><H3 ><A NAME="XMLXPATHNEWCSTRING" ></A >xmlXPathNewCString ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" >xmlXPathObjectPtr</A > xmlXPathNewCString (const char *val);</PRE ></TD ></TR ></TABLE ><P >Create a new xmlXPathObjectPtr of type string and of value <TT CLASS="PARAMETER" ><I >val</I ></TT ></P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN15037" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >val</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the char * value</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the newly created object.</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN15050" ></A ><H3 ><A NAME="XMLXPATHWRAPSTRING" ></A >xmlXPathWrapString ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" >xmlXPathObjectPtr</A > xmlXPathWrapString (<A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *val);</PRE ></TD ></TR ></TABLE ><P >Wraps the <TT CLASS="PARAMETER" ><I >val</I ></TT > string into an XPath object.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN15059" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >val</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the xmlChar * value</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the newly created object.</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN15072" ></A ><H3 ><A NAME="XMLXPATHWRAPCSTRING" ></A >xmlXPathWrapCString ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" >xmlXPathObjectPtr</A > xmlXPathWrapCString (char *val);</PRE ></TD ></TR ></TABLE ><P >Wraps a string into an XPath object.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN15079" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >val</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the char * value</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the newly created object.</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN15092" ></A ><H3 ><A NAME="XMLXPATHNEWFLOAT" ></A >xmlXPathNewFloat ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" >xmlXPathObjectPtr</A > xmlXPathNewFloat (<GTKDOCLINK HREF="DOUBLE" >double</GTKDOCLINK > val);</PRE ></TD ></TR ></TABLE ><P >Create a new xmlXPathObjectPtr of type double and of value <TT CLASS="PARAMETER" ><I >val</I ></TT ></P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN15101" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >val</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the double value</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the newly created object.</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN15114" ></A ><H3 ><A NAME="XMLXPATHNEWBOOLEAN" ></A >xmlXPathNewBoolean ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" >xmlXPathObjectPtr</A > xmlXPathNewBoolean (int val);</PRE ></TD ></TR ></TABLE ><P >Create a new xmlXPathObjectPtr of type boolean and of value <TT CLASS="PARAMETER" ><I >val</I ></TT ></P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN15122" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >val</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the boolean value</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the newly created object.</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN15135" ></A ><H3 ><A NAME="XMLXPATHNEWNODESET" ></A >xmlXPathNewNodeSet ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" >xmlXPathObjectPtr</A > xmlXPathNewNodeSet (<A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > val);</PRE ></TD ></TR ></TABLE ><P >Create a new xmlXPathObjectPtr of type NodeSet and initialize it with the single Node <TT CLASS="PARAMETER" ><I >val</I ></TT ></P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN15144" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >val</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the NodePtr value</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the newly created object.</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN15157" ></A ><H3 ><A NAME="XMLXPATHNEWVALUETREE" ></A >xmlXPathNewValueTree ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" >xmlXPathObjectPtr</A > xmlXPathNewValueTree (<A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > val);</PRE ></TD ></TR ></TABLE ><P >Create a new xmlXPathObjectPtr of type Value Tree (XSLT) and initialize it with the tree root <TT CLASS="PARAMETER" ><I >val</I ></TT ></P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN15166" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >val</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the NodePtr value</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the newly created object.</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN15179" ></A ><H3 ><A NAME="XMLXPATHNODESETADD" ></A >xmlXPathNodeSetAdd ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void xmlXPathNodeSetAdd (<A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > cur, <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > val);</PRE ></TD ></TR ></TABLE ><P >add a new xmlNodePtr to an existing NodeSet</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN15187" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >cur</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the initial node set</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >val</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > a new xmlNodePtr</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN15200" ></A ><H3 ><A NAME="XMLXPATHNODESETADDUNIQUE" ></A >xmlXPathNodeSetAddUnique ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void xmlXPathNodeSetAddUnique (<A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > cur, <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > val);</PRE ></TD ></TR ></TABLE ><P >add a new xmlNodePtr to an existing NodeSet, optimized version when we are sure the node is not already in the set.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN15208" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >cur</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the initial node set</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >val</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > a new xmlNodePtr</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN15221" ></A ><H3 ><A NAME="XMLXPATHNODESETSORT" ></A >xmlXPathNodeSetSort ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void xmlXPathNodeSetSort (<A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > set);</PRE ></TD ></TR ></TABLE ><P >Sort the node set in document order</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN15228" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >set</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the node set</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN15237" ></A ><H3 ><A NAME="XMLXPATHROOT" ></A >xmlXPathRoot ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void xmlXPathRoot (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt);</PRE ></TD ></TR ></TABLE ><P >Initialize the context to the root of the document</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN15244" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN15253" ></A ><H3 ><A NAME="XMLXPATHEVALEXPR" ></A >xmlXPathEvalExpr ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void xmlXPathEvalExpr (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt);</PRE ></TD ></TR ></TABLE ><P >Parse and evaluate an XPath expression in the given context, then push the result on the context stack</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN15260" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN15269" ></A ><H3 ><A NAME="XMLXPATHPARSENAME" ></A >xmlXPathParseName ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A >* xmlXPathParseName (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt);</PRE ></TD ></TR ></TABLE ><P >parse an XML name</P ><P >[4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' | CombiningChar | Extender</P ><P >[5] Name ::= (Letter | '_' | ':') (NameChar)*</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN15279" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the namespace name or NULL</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN15292" ></A ><H3 ><A NAME="XMLXPATHPARSENCNAME" ></A >xmlXPathParseNCName ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A >* xmlXPathParseNCName (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt);</PRE ></TD ></TR ></TABLE ><P >parse an XML namespace non qualified name.</P ><P >[NS 3] NCName ::= (Letter | '_') (NCNameChar)*</P ><P >[NS 4] NCNameChar ::= Letter | Digit | '.' | '-' | '_' | CombiningChar | Extender</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN15302" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the namespace name or NULL</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN15315" ></A ><H3 ><A NAME="XMLXPATHSTRINGEVALNUMBER" ></A >xmlXPathStringEvalNumber ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><GTKDOCLINK HREF="DOUBLE" >double</GTKDOCLINK > xmlXPathStringEvalNumber (const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *str);</PRE ></TD ></TR ></TABLE ><P >[30a] Float ::= Number ('e' Digits?)?</P ><P >[30] Number ::= Digits ('.' Digits?)? | '.' Digits [31] Digits ::= [0-9]+</P ><P >Compile a Number in the string In complement of the Number expression, this function also handles negative values : '-' Number.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN15325" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >str</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > A string to scan</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the double value.</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN15338" ></A ><H3 ><A NAME="XMLXPATHEVALUATEPREDICATERESULT" ></A >xmlXPathEvaluatePredicateResult ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >int xmlXPathEvaluatePredicateResult (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, <A HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" >xmlXPathObjectPtr</A > res);</PRE ></TD ></TR ></TABLE ><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 ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN15346" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >res</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the Predicate Expression evaluation result</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >1 if predicate is true, 0 otherwise</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN15363" ></A ><H3 ><A NAME="XMLXPATHREGISTERALLFUNCTIONS" ></A >xmlXPathRegisterAllFunctions ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void xmlXPathRegisterAllFunctions (<A HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" >xmlXPathContextPtr</A > ctxt);</PRE ></TD ></TR ></TABLE ><P >Registers all default XPath functions in this context</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN15370" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath context</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN15379" ></A ><H3 ><A NAME="XMLXPATHNODESETMERGE" ></A >xmlXPathNodeSetMerge ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > xmlXPathNodeSetMerge (<A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > val1, <A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > val2);</PRE ></TD ></TR ></TABLE ><P >Merges two nodesets, all nodes from <TT CLASS="PARAMETER" ><I >val2</I ></TT > are added to <TT CLASS="PARAMETER" ><I >val1</I ></TT > if <TT CLASS="PARAMETER" ><I >val1</I ></TT > is NULL, a new set is created and copied from <TT CLASS="PARAMETER" ><I >val2</I ></TT ></P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN15392" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >val1</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the first NodeSet or NULL</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >val2</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the second NodeSet</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >val1</I ></TT > once extended or NULL in case of error.</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN15410" ></A ><H3 ><A NAME="XMLXPATHNODESETDEL" ></A >xmlXPathNodeSetDel ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void xmlXPathNodeSetDel (<A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > cur, <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > val);</PRE ></TD ></TR ></TABLE ><P >Removes an xmlNodePtr from an existing NodeSet</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN15418" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >cur</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the initial node set</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >val</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > an xmlNodePtr</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN15431" ></A ><H3 ><A NAME="XMLXPATHNODESETREMOVE" ></A >xmlXPathNodeSetRemove ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void xmlXPathNodeSetRemove (<A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > cur, int val);</PRE ></TD ></TR ></TABLE ><P >Removes an entry from an existing NodeSet list.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN15438" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >cur</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the initial node set</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >val</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the index to remove</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN15451" ></A ><H3 ><A NAME="XMLXPATHNEWNODESETLIST" ></A >xmlXPathNewNodeSetList ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" >xmlXPathObjectPtr</A > xmlXPathNewNodeSetList (<A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > val);</PRE ></TD ></TR ></TABLE ><P >Create a new xmlXPathObjectPtr of type NodeSet and initialize it with the Nodeset <TT CLASS="PARAMETER" ><I >val</I ></TT ></P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN15460" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >val</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > an existing NodeSet</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the newly created object.</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN15473" ></A ><H3 ><A NAME="XMLXPATHWRAPNODESET" ></A >xmlXPathWrapNodeSet ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" >xmlXPathObjectPtr</A > xmlXPathWrapNodeSet (<A HREF="libxml-xpath.html#XMLNODESETPTR" >xmlNodeSetPtr</A > val);</PRE ></TD ></TR ></TABLE ><P >Wrap the Nodeset <TT CLASS="PARAMETER" ><I >val</I ></TT > in a new xmlXPathObjectPtr</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN15482" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >val</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the NodePtr value</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the newly created object.</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN15495" ></A ><H3 ><A NAME="XMLXPATHWRAPEXTERNAL" ></A >xmlXPathWrapExternal ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" >xmlXPathObjectPtr</A > xmlXPathWrapExternal (void *val);</PRE ></TD ></TR ></TABLE ><P >Wraps the <TT CLASS="PARAMETER" ><I >val</I ></TT > data into an XPath object.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN15503" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >val</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the user data</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the newly created object.</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN15516" ></A ><H3 ><A NAME="XMLXPATHEQUALVALUES" ></A >xmlXPathEqualValues ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >int xmlXPathEqualValues (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt);</PRE ></TD ></TR ></TABLE ><P >Implement the equal operation on XPath objects content: <TT CLASS="PARAMETER" ><I >arg1</I ></TT > == <TT CLASS="PARAMETER" ><I >arg2</I ></TT ></P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN15525" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >0 or 1 depending on the results of the test.</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN15538" ></A ><H3 ><A NAME="XMLXPATHCOMPAREVALUES" ></A >xmlXPathCompareValues ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >int xmlXPathCompareValues (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int inf, int strict);</PRE ></TD ></TR ></TABLE ><P >Implement the compare operation on XPath objects: <TT CLASS="PARAMETER" ><I >arg1</I ></TT > < <TT CLASS="PARAMETER" ><I >arg2</I ></TT > (1, 1, ... <TT CLASS="PARAMETER" ><I >arg1</I ></TT > <= <TT CLASS="PARAMETER" ><I >arg2</I ></TT > (1, 0, ... <TT CLASS="PARAMETER" ><I >arg1</I ></TT > > <TT CLASS="PARAMETER" ><I >arg2</I ></TT > (0, 1, ... <TT CLASS="PARAMETER" ><I >arg1</I ></TT > >= <TT CLASS="PARAMETER" ><I >arg2</I ></TT > (0, 0, ...</P ><P >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 ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN15554" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >inf</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > less than (1) or greater than (0)</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >strict</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > is the comparison strict</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >1 if the comparison succeeded, 0 if it failed</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN15575" ></A ><H3 ><A NAME="XMLXPATHVALUEFLIPSIGN" ></A >xmlXPathValueFlipSign ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void xmlXPathValueFlipSign (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt);</PRE ></TD ></TR ></TABLE ><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 ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN15582" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN15591" ></A ><H3 ><A NAME="XMLXPATHADDVALUES" ></A >xmlXPathAddValues ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void xmlXPathAddValues (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt);</PRE ></TD ></TR ></TABLE ><P >Implement the add operation on XPath objects: The numeric operators convert their operands to numbers as if by calling the number function.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN15598" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN15607" ></A ><H3 ><A NAME="XMLXPATHSUBVALUES" ></A >xmlXPathSubValues ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void xmlXPathSubValues (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt);</PRE ></TD ></TR ></TABLE ><P >Implement the subtraction operation on XPath objects: The numeric operators convert their operands to numbers as if by calling the number function.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN15614" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN15623" ></A ><H3 ><A NAME="XMLXPATHMULTVALUES" ></A >xmlXPathMultValues ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void xmlXPathMultValues (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt);</PRE ></TD ></TR ></TABLE ><P >Implement the multiply operation on XPath objects: The numeric operators convert their operands to numbers as if by calling the number function.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN15630" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN15639" ></A ><H3 ><A NAME="XMLXPATHDIVVALUES" ></A >xmlXPathDivValues ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void xmlXPathDivValues (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt);</PRE ></TD ></TR ></TABLE ><P >Implement the div operation on XPath objects <TT CLASS="PARAMETER" ><I >arg1</I ></TT > / <TT CLASS="PARAMETER" ><I >arg2</I ></TT >: The numeric operators convert their operands to numbers as if by calling the number function.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN15648" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN15657" ></A ><H3 ><A NAME="XMLXPATHMODVALUES" ></A >xmlXPathModValues ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void xmlXPathModValues (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt);</PRE ></TD ></TR ></TABLE ><P >Implement the mod operation on XPath objects: <TT CLASS="PARAMETER" ><I >arg1</I ></TT > / <TT CLASS="PARAMETER" ><I >arg2</I ></TT > The numeric operators convert their operands to numbers as if by calling the number function.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN15666" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN15675" ></A ><H3 ><A NAME="XMLXPATHISNODETYPE" ></A >xmlXPathIsNodeType ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >int xmlXPathIsNodeType (const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *name);</PRE ></TD ></TR ></TABLE ><P >Is the name given a NodeType one.</P ><P >[38] NodeType ::= 'comment' | 'text' | 'processing-instruction' | 'node'</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN15683" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >name</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > a name string</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >1 if true 0 otherwise</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN15696" ></A ><H3 ><A NAME="XMLXPATHNEXTSELF" ></A >xmlXPathNextSelf ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > xmlXPathNextSelf (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > cur);</PRE ></TD ></TR ></TABLE ><P >Traversal function for the "self" direction The self axis contains just the context node itself</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN15705" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >cur</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the current node in the traversal</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the next element following that axis</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN15722" ></A ><H3 ><A NAME="XMLXPATHNEXTCHILD" ></A >xmlXPathNextChild ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > xmlXPathNextChild (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > cur);</PRE ></TD ></TR ></TABLE ><P >Traversal function for the "child" direction The child axis contains the children of the context node in document order.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN15731" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >cur</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the current node in the traversal</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the next element following that axis</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN15748" ></A ><H3 ><A NAME="XMLXPATHNEXTDESCENDANT" ></A >xmlXPathNextDescendant ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > xmlXPathNextDescendant (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > cur);</PRE ></TD ></TR ></TABLE ><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 ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN15757" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >cur</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the current node in the traversal</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the next element following that axis</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN15774" ></A ><H3 ><A NAME="XMLXPATHNEXTDESCENDANTORSELF" ></A >xmlXPathNextDescendantOrSelf ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > xmlXPathNextDescendantOrSelf (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > cur);</PRE ></TD ></TR ></TABLE ><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 ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN15783" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >cur</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the current node in the traversal</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the next element following that axis</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN15800" ></A ><H3 ><A NAME="XMLXPATHNEXTPARENT" ></A >xmlXPathNextParent ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > xmlXPathNextParent (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > cur);</PRE ></TD ></TR ></TABLE ><P >Traversal function for the "parent" direction The parent axis contains the parent of the context node, if there is one.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN15809" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >cur</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the current node in the traversal</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the next element following that axis</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN15826" ></A ><H3 ><A NAME="XMLXPATHNEXTANCESTORORSELF" ></A >xmlXPathNextAncestorOrSelf ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > xmlXPathNextAncestorOrSelf (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > cur);</PRE ></TD ></TR ></TABLE ><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 ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN15835" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >cur</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the current node in the traversal</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the next element following that axis</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN15852" ></A ><H3 ><A NAME="XMLXPATHNEXTFOLLOWINGSIBLING" ></A >xmlXPathNextFollowingSibling ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > xmlXPathNextFollowingSibling (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > cur);</PRE ></TD ></TR ></TABLE ><P >Traversal function for the "following-sibling" direction The following-sibling axis contains the following siblings of the context node in document order.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN15861" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >cur</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the current node in the traversal</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the next element following that axis</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN15878" ></A ><H3 ><A NAME="XMLXPATHNEXTFOLLOWING" ></A >xmlXPathNextFollowing ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > xmlXPathNextFollowing (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > cur);</PRE ></TD ></TR ></TABLE ><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 attribute nodes and namespace nodes; the nodes are ordered in document order</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN15887" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >cur</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the current node in the traversal</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the next element following that axis</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN15904" ></A ><H3 ><A NAME="XMLXPATHNEXTNAMESPACE" ></A >xmlXPathNextNamespace ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > xmlXPathNextNamespace (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > cur);</PRE ></TD ></TR ></TABLE ><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</P ><P >We keep the XML namespace node at the end of the list.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN15914" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >cur</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the current attribute in the traversal</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the next element following that axis</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN15931" ></A ><H3 ><A NAME="XMLXPATHNEXTATTRIBUTE" ></A >xmlXPathNextAttribute ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > xmlXPathNextAttribute (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > cur);</PRE ></TD ></TR ></TABLE ><P >Traversal function for the "attribute" direction TODO: support DTD inherited default attributes</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN15940" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >cur</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the current attribute in the traversal</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the next element following that axis</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN15957" ></A ><H3 ><A NAME="XMLXPATHNEXTPRECEDING" ></A >xmlXPathNextPreceding ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > xmlXPathNextPreceding (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > cur);</PRE ></TD ></TR ></TABLE ><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 attribute nodes and namespace nodes; the nodes are ordered in reverse document order</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN15966" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >cur</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the current node in the traversal</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the next element following that axis</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN15983" ></A ><H3 ><A NAME="XMLXPATHNEXTANCESTOR" ></A >xmlXPathNextAncestor ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > xmlXPathNextAncestor (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > cur);</PRE ></TD ></TR ></TABLE ><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 ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN15992" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >cur</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the current node in the traversal</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the next element following that axis</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN16009" ></A ><H3 ><A NAME="XMLXPATHNEXTPRECEDINGSIBLING" ></A >xmlXPathNextPrecedingSibling ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > xmlXPathNextPrecedingSibling (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, <A HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr</A > cur);</PRE ></TD ></TR ></TABLE ><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 ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN16018" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >cur</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the current node in the traversal</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the next element following that axis</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN16035" ></A ><H3 ><A NAME="XMLXPATHLASTFUNCTION" ></A >xmlXPathLastFunction ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void xmlXPathLastFunction (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int nargs);</PRE ></TD ></TR ></TABLE ><P >Implement the <GTKDOCLINK HREF="LAST" >last</GTKDOCLINK >() XPath function number <GTKDOCLINK HREF="LAST" >last</GTKDOCLINK >() The last function returns the number of nodes in the context node list.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN16044" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >nargs</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the number of arguments</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN16057" ></A ><H3 ><A NAME="XMLXPATHPOSITIONFUNCTION" ></A >xmlXPathPositionFunction ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void xmlXPathPositionFunction (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int nargs);</PRE ></TD ></TR ></TABLE ><P >Implement the <GTKDOCLINK HREF="POSITION" >position</GTKDOCLINK >() XPath function number <GTKDOCLINK HREF="POSITION" >position</GTKDOCLINK >() 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 <GTKDOCLINK HREF="LAST" >last</GTKDOCLINK >().</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN16067" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >nargs</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the number of arguments</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN16080" ></A ><H3 ><A NAME="XMLXPATHCOUNTFUNCTION" ></A >xmlXPathCountFunction ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void xmlXPathCountFunction (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int nargs);</PRE ></TD ></TR ></TABLE ><P >Implement the <GTKDOCLINK HREF="COUNT" >count</GTKDOCLINK >() XPath function number count(node-set)</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN16088" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >nargs</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the number of arguments</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN16101" ></A ><H3 ><A NAME="XMLXPATHIDFUNCTION" ></A >xmlXPathIdFunction ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void xmlXPathIdFunction (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int nargs);</PRE ></TD ></TR ></TABLE ><P >Implement the <GTKDOCLINK HREF="ID" >id</GTKDOCLINK >() 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 characters 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 ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN16109" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >nargs</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the number of arguments</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN16122" ></A ><H3 ><A NAME="XMLXPATHLOCALNAMEFUNCTION" ></A >xmlXPathLocalNameFunction ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void xmlXPathLocalNameFunction (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int nargs);</PRE ></TD ></TR ></TABLE ><P >Implement the local-<GTKDOCLINK HREF="NAME" >name</GTKDOCLINK >() 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 ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN16130" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >nargs</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the number of arguments</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN16143" ></A ><H3 ><A NAME="XMLXPATHNAMESPACEURIFUNCTION" ></A >xmlXPathNamespaceURIFunction ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void xmlXPathNamespaceURIFunction (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int nargs);</PRE ></TD ></TR ></TABLE ><P >Implement the namespace-<GTKDOCLINK HREF="URI" >uri</GTKDOCLINK >() 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 ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN16151" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >nargs</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the number of arguments</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN16164" ></A ><H3 ><A NAME="XMLXPATHSTRINGFUNCTION" ></A >xmlXPathStringFunction ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void xmlXPathStringFunction (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int nargs);</PRE ></TD ></TR ></TABLE ><P >Implement the <GTKDOCLINK HREF="STRING" >string</GTKDOCLINK >() XPath function string string(object?) he 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.</P ><P >If the argument is omitted, it defaults to a node-set with the context node as its only member.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN16173" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >nargs</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the number of arguments</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN16186" ></A ><H3 ><A NAME="XMLXPATHSTRINGLENGTHFUNCTION" ></A >xmlXPathStringLengthFunction ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void xmlXPathStringLengthFunction (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int nargs);</PRE ></TD ></TR ></TABLE ><P >Implement the string-<GTKDOCLINK HREF="LENGTH" >length</GTKDOCLINK >() XPath function number string-length(string?) The string-length returns the number of characters 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 ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN16194" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >nargs</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the number of arguments</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN16207" ></A ><H3 ><A NAME="XMLXPATHCONCATFUNCTION" ></A >xmlXPathConcatFunction ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void xmlXPathConcatFunction (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int nargs);</PRE ></TD ></TR ></TABLE ><P >Implement the <GTKDOCLINK HREF="CONCAT" >concat</GTKDOCLINK >() XPath function string concat(string, string, string*) The concat function returns the concatenation of its arguments.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN16215" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >nargs</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the number of arguments</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN16228" ></A ><H3 ><A NAME="XMLXPATHCONTAINSFUNCTION" ></A >xmlXPathContainsFunction ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void xmlXPathContainsFunction (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int nargs);</PRE ></TD ></TR ></TABLE ><P >Implement the <GTKDOCLINK HREF="CONTAINS" >contains</GTKDOCLINK >() 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 ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN16236" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >nargs</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the number of arguments</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN16249" ></A ><H3 ><A NAME="XMLXPATHSTARTSWITHFUNCTION" ></A >xmlXPathStartsWithFunction ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void xmlXPathStartsWithFunction (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int nargs);</PRE ></TD ></TR ></TABLE ><P >Implement the starts-<GTKDOCLINK HREF="WITH" >with</GTKDOCLINK >() 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 ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN16257" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >nargs</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the number of arguments</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN16270" ></A ><H3 ><A NAME="XMLXPATHSUBSTRINGFUNCTION" ></A >xmlXPathSubstringFunction ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void xmlXPathSubstringFunction (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int nargs);</PRE ></TD ></TR ></TABLE ><P >Implement the <GTKDOCLINK HREF="SUBSTRING" >substring</GTKDOCLINK >() 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 characters 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 ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN16278" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >nargs</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the number of arguments</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN16291" ></A ><H3 ><A NAME="XMLXPATHSUBSTRINGBEFOREFUNCTION" ></A >xmlXPathSubstringBeforeFunction ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void xmlXPathSubstringBeforeFunction (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int nargs);</PRE ></TD ></TR ></TABLE ><P >Implement the substring-<GTKDOCLINK HREF="BEFORE" >before</GTKDOCLINK >() 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 ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN16299" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >nargs</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the number of arguments</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN16312" ></A ><H3 ><A NAME="XMLXPATHSUBSTRINGAFTERFUNCTION" ></A >xmlXPathSubstringAfterFunction ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void xmlXPathSubstringAfterFunction (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int nargs);</PRE ></TD ></TR ></TABLE ><P >Implement the substring-<GTKDOCLINK HREF="AFTER" >after</GTKDOCLINK >() 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 stringi 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 ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN16320" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >nargs</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the number of arguments</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN16333" ></A ><H3 ><A NAME="XMLXPATHNORMALIZEFUNCTION" ></A >xmlXPathNormalizeFunction ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void xmlXPathNormalizeFunction (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int nargs);</PRE ></TD ></TR ></TABLE ><P >Implement the normalize-<GTKDOCLINK HREF="SPACE" >space</GTKDOCLINK >() 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 characters by a single space. Whitespace characters 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 ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN16341" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >nargs</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the number of arguments</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN16354" ></A ><H3 ><A NAME="XMLXPATHTRANSLATEFUNCTION" ></A >xmlXPathTranslateFunction ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void xmlXPathTranslateFunction (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int nargs);</PRE ></TD ></TR ></TABLE ><P >Implement the <GTKDOCLINK HREF="TRANSLATE" >translate</GTKDOCLINK >() XPath function string translate(string, string, string) The translate function returns the first argument string with occurrences of characters 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 ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN16362" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >nargs</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the number of arguments</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN16375" ></A ><H3 ><A NAME="XMLXPATHNOTFUNCTION" ></A >xmlXPathNotFunction ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void xmlXPathNotFunction (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int nargs);</PRE ></TD ></TR ></TABLE ><P >Implement the <GTKDOCLINK HREF="NOT" >not</GTKDOCLINK >() XPath function boolean not(boolean) The not function returns true if its argument is false, and false otherwise.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN16383" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >nargs</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the number of arguments</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN16396" ></A ><H3 ><A NAME="XMLXPATHTRUEFUNCTION" ></A >xmlXPathTrueFunction ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void xmlXPathTrueFunction (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int nargs);</PRE ></TD ></TR ></TABLE ><P >Implement the <GTKDOCLINK HREF="TRUE" >true</GTKDOCLINK >() XPath function boolean <GTKDOCLINK HREF="TRUE" >true</GTKDOCLINK >()</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN16405" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >nargs</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the number of arguments</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN16418" ></A ><H3 ><A NAME="XMLXPATHFALSEFUNCTION" ></A >xmlXPathFalseFunction ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void xmlXPathFalseFunction (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int nargs);</PRE ></TD ></TR ></TABLE ><P >Implement the <GTKDOCLINK HREF="FALSE" >false</GTKDOCLINK >() XPath function boolean <GTKDOCLINK HREF="FALSE" >false</GTKDOCLINK >()</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN16427" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >nargs</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the number of arguments</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN16440" ></A ><H3 ><A NAME="XMLXPATHLANGFUNCTION" ></A >xmlXPathLangFunction ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void xmlXPathLangFunction (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int nargs);</PRE ></TD ></TR ></TABLE ><P >Implement the <GTKDOCLINK HREF="LANG" >lang</GTKDOCLINK >() 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 attribute on the context node, or, if the context node has no xml:lang attribute, by the value of the xml:lang attribute on the nearest ancestor of the context node that has an xml:lang attribute. If there is no such attribute, then lang</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN16448" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >nargs</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the number of arguments</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN16461" ></A ><H3 ><A NAME="XMLXPATHNUMBERFUNCTION" ></A >xmlXPathNumberFunction ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void xmlXPathNumberFunction (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int nargs);</PRE ></TD ></TR ></TABLE ><P >Implement the <GTKDOCLINK HREF="NUMBER" >number</GTKDOCLINK >() XPath function number number(object?)</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN16469" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >nargs</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the number of arguments</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN16482" ></A ><H3 ><A NAME="XMLXPATHSUMFUNCTION" ></A >xmlXPathSumFunction ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void xmlXPathSumFunction (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int nargs);</PRE ></TD ></TR ></TABLE ><P >Implement the <GTKDOCLINK HREF="SUM" >sum</GTKDOCLINK >() XPath function number sum(node-set) The sum function returns the sum of the values of the nodes in the argument node-set.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN16490" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >nargs</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the number of arguments</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN16503" ></A ><H3 ><A NAME="XMLXPATHFLOORFUNCTION" ></A >xmlXPathFloorFunction ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void xmlXPathFloorFunction (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int nargs);</PRE ></TD ></TR ></TABLE ><P >Implement the <GTKDOCLINK HREF="FLOOR" >floor</GTKDOCLINK >() 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 ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN16511" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >nargs</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the number of arguments</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN16524" ></A ><H3 ><A NAME="XMLXPATHCEILINGFUNCTION" ></A >xmlXPathCeilingFunction ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void xmlXPathCeilingFunction (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int nargs);</PRE ></TD ></TR ></TABLE ><P >Implement the <GTKDOCLINK HREF="CEILING" >ceiling</GTKDOCLINK >() 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 ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN16532" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >nargs</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the number of arguments</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN16545" ></A ><H3 ><A NAME="XMLXPATHROUNDFUNCTION" ></A >xmlXPathRoundFunction ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void xmlXPathRoundFunction (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int nargs);</PRE ></TD ></TR ></TABLE ><P >Implement the <GTKDOCLINK HREF="ROUND" >round</GTKDOCLINK >() 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 even is returned.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN16553" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >nargs</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the number of arguments</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN16566" ></A ><H3 ><A NAME="XMLXPATHBOOLEANFUNCTION" ></A >xmlXPathBooleanFunction ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void xmlXPathBooleanFunction (<A HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" >xmlXPathParserContextPtr</A > ctxt, int nargs);</PRE ></TD ></TR ></TABLE ><P >Implement the <GTKDOCLINK HREF="BOOLEAN" >boolean</GTKDOCLINK >() XPath function boolean boolean(object) he 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 ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN16574" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ctxt</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the XPath Parser context</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >nargs</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the number of arguments</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><BR CLEAR="all"><BR><TABLE WIDTH="100%" BORDER="0" BGCOLOR="#000000" CELLPADDING="1" CELLSPACING="0" ><TR ><TD WIDTH="25%" BGCOLOR="#C00000" ALIGN="left" ><A HREF="libxml-xpath.html" ><FONT COLOR="#FFFFFF" SIZE="3" ><B ><<< Previous Page</B ></FONT ></A ></TD ><TD WIDTH="25%" BGCOLOR="#0000C0" ALIGN="center" ><FONT COLOR="#FFFFFF" SIZE="3" ><B ><A HREF="book1.html" ><FONT COLOR="#FFFFFF" SIZE="3" ><B >Home</B ></FONT ></A ></B ></FONT ></TD ><TD WIDTH="25%" BGCOLOR="#00C000" ALIGN="center" ><FONT COLOR="#FFFFFF" SIZE="3" ><B ><A HREF="libxml-lib.html" ><FONT COLOR="#FFFFFF" SIZE="3" ><B >Up</B ></FONT ></A ></B ></FONT ></TD ><TD WIDTH="25%" BGCOLOR="#C00000" ALIGN="right" ><A HREF="libxml-xpointer.html" ><FONT COLOR="#FFFFFF" SIZE="3" ><B >Next Page >>></B ></FONT ></A ></TD ></TR ><TR ><TD COLSPAN="2" ALIGN="left" ><FONT COLOR="#FFFFFF" SIZE="3" ><B >xpath</B ></FONT ></TD ><TD COLSPAN="2" ALIGN="right" ><FONT COLOR="#FFFFFF" SIZE="3" ><B >xpointer</B ></FONT ></TD ></TR ></TABLE ></DIV ></BODY ></HTML >