| <HTML |
| ><HEAD |
| ><TITLE |
| >xpathInternals</TITLE |
| ><META |
| NAME="GENERATOR" |
| CONTENT="Modular DocBook HTML Stylesheet Version 1.59"><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="AEN12364" |
| ></A |
| ><H2 |
| >Name</H2 |
| >xpathInternals -- </DIV |
| ><DIV |
| CLASS="REFSYNOPSISDIV" |
| ><A |
| NAME="AEN12367" |
| ></A |
| ><H2 |
| >Synopsis</H2 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="SYNOPSIS" |
| > |
| |
| #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 |
| > |
| <GTKDOCLINK |
| HREF="TYPEDEF" |
| >typedef</GTKDOCLINK |
| > <A |
| HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" |
| >xmlXPathObjectPtr</A |
| > (); |
| void <A |
| HREF="libxml-xpathinternals.html#XMLXPATHREGISTERVARIABLELOOKUP" |
| >xmlXPathRegisterVariableLookup</A |
| > (<A |
| HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" |
| >xmlXPathContextPtr</A |
| > ctxt, |
| <GTKDOCLINK |
| HREF="XMLXPATHVARIABLELOOKUPFUNC" |
| >xmlXPathVariableLookupFunc</GTKDOCLINK |
| > f, |
| void *varCtxt); |
| 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#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 |
| > *ns_uri); |
| 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#XMLXPATHIDFUNCTION" |
| >xmlXPathIdFunction</A |
| > (<A |
| HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| >xmlXPathParserContextPtr</A |
| > ctxt, |
| int nargs); |
| 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-xpath.html#XMLXPATHINIT" |
| >xmlXPathInit</A |
| > (void); |
| 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#XMLXPATHREGISTERALLFUNCTIONS" |
| >xmlXPathRegisterAllFunctions</A |
| > (<A |
| HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" |
| >xmlXPathContextPtr</A |
| > ctxt); |
| <A |
| HREF="libxml-xpath.html#XMLNODESETPTR" |
| >xmlNodeSetPtr</A |
| > <A |
| HREF="libxml-xpath.html#XMLXPATHNODESETCREATE" |
| >xmlXPathNodeSetCreate</A |
| > (<A |
| HREF="libxml-tree.html#XMLNODEPTR" |
| >xmlNodePtr</A |
| > val); |
| <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); |
| void <A |
| HREF="libxml-xpath.html#XMLXPATHFREENODESET" |
| >xmlXPathFreeNodeSet</A |
| > (<A |
| HREF="libxml-xpath.html#XMLNODESETPTR" |
| >xmlNodeSetPtr</A |
| > obj); |
| <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); |
| void <A |
| HREF="libxml-xpath.html#XMLXPATHFREENODESETLIST" |
| >xmlXPathFreeNodeSetList</A |
| > (<A |
| HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" |
| >xmlXPathObjectPtr</A |
| > obj); |
| void <A |
| HREF="libxml-xpath.html#XMLXPATHFREEOBJECT" |
| >xmlXPathFreeObject</A |
| > (<A |
| HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" |
| >xmlXPathObjectPtr</A |
| > obj); |
| <A |
| HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" |
| >xmlXPathContextPtr</A |
| > <A |
| HREF="libxml-xpath.html#XMLXPATHNEWCONTEXT" |
| >xmlXPathNewContext</A |
| > (<A |
| HREF="libxml-tree.html#XMLDOCPTR" |
| >xmlDocPtr</A |
| > doc); |
| void <A |
| HREF="libxml-xpath.html#XMLXPATHFREECONTEXT" |
| >xmlXPathFreeContext</A |
| > (<A |
| HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" |
| >xmlXPathContextPtr</A |
| > ctxt); |
| 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#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#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="AEN12654" |
| ></A |
| ><H2 |
| >Description</H2 |
| ><P |
| ></P |
| ></DIV |
| ><DIV |
| CLASS="REFSECT1" |
| ><A |
| NAME="AEN12657" |
| ></A |
| ><H2 |
| >Details</H2 |
| ><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN12659" |
| ></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="AEN12665" |
| ></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="AEN12671" |
| ></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="AEN12677" |
| ></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="AEN12686" |
| ></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="AEN12692" |
| ></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="AEN12701" |
| ></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="AEN12707" |
| ></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="AEN12716" |
| ></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="AEN12722" |
| ></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="AEN12731" |
| ></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="AEN12737" |
| ></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="AEN12746" |
| ></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="AEN12752" |
| ></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="AEN12758" |
| ></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="AEN12764" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLXPATHOBJECTPTR" |
| ></A |
| >xmlXPathObjectPtr ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| ><GTKDOCLINK |
| HREF="TYPEDEF" |
| >typedef</GTKDOCLINK |
| > xmlXPathObjectPtr ();</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><A |
| NAME="AEN12770" |
| ></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" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > </TD |
| ></TR |
| ></TBODY |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN12779" |
| ></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, |
| <GTKDOCLINK |
| HREF="XMLXPATHVARIABLELOOKUPFUNC" |
| >xmlXPathVariableLookupFunc</GTKDOCLINK |
| > f, |
| void *varCtxt);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >register an external mechanism to do variable lookup</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><A |
| NAME="AEN12787" |
| ></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 |
| >varCtxt</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > </TD |
| ></TR |
| ></TBODY |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN12804" |
| ></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 |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><A |
| NAME="AEN12810" |
| ></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" |
| > </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" |
| > </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" |
| > </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" |
| > </TD |
| ></TR |
| ></TBODY |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN12831" |
| ></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="AEN12839" |
| ></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="AEN12856" |
| ></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 |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><A |
| NAME="AEN12863" |
| ></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" |
| > </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" |
| > </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" |
| > </TD |
| ></TR |
| ></TBODY |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN12880" |
| ></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="AEN12890" |
| ></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="AEN12911" |
| ></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 |
| > *ns_uri);</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="AEN12920" |
| ></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 |
| >ns_uri</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > </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="AEN12937" |
| ></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 |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><A |
| NAME="AEN12943" |
| ></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" |
| > </TD |
| ></TR |
| ></TBODY |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN12952" |
| ></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="AEN12962" |
| ></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="AEN12983" |
| ></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="AEN12994" |
| ></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="AEN13019" |
| ></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="AEN13029" |
| ></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="AEN13050" |
| ></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="AEN13061" |
| ></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="AEN13086" |
| ></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="AEN13095" |
| ></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="AEN13112" |
| ></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="AEN13122" |
| ></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="AEN13143" |
| ></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="AEN13150" |
| ></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="AEN13159" |
| ></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="AEN13168" |
| ></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="AEN13185" |
| ></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="AEN13195" |
| ></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="AEN13216" |
| ></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="AEN13223" |
| ></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="AEN13232" |
| ></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="AEN13241" |
| ></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="AEN13258" |
| ></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="AEN13265" |
| ></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="AEN13274" |
| ></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 |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><A |
| NAME="AEN13281" |
| ></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" |
| > </TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > </TD |
| ></TR |
| ></TBODY |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN13294" |
| ></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 |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><A |
| NAME="AEN13301" |
| ></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" |
| > </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" |
| > </TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > </TD |
| ></TR |
| ></TBODY |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN13318" |
| ></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="AEN13327" |
| ></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="AEN13340" |
| ></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="AEN13348" |
| ></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="AEN13361" |
| ></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="AEN13370" |
| ></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="AEN13383" |
| ></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="AEN13390" |
| ></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="AEN13403" |
| ></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="AEN13412" |
| ></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="AEN13425" |
| ></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="AEN13433" |
| ></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="AEN13446" |
| ></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="AEN13455" |
| ></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="AEN13468" |
| ></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="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 |
| >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="AEN13490" |
| ></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 ot an existing NodeSet</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><A |
| NAME="AEN13498" |
| ></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="AEN13511" |
| ></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 ot 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="AEN13519" |
| ></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="AEN13532" |
| ></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="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 |
| >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="AEN13548" |
| ></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="AEN13556" |
| ></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="AEN13569" |
| ></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="AEN13576" |
| ></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="AEN13585" |
| ></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="AEN13592" |
| ></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="AEN13601" |
| ></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="AEN13611" |
| ></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="AEN13624" |
| ></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="AEN13634" |
| ></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="AEN13647" |
| ></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="AEN13657" |
| ></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="AEN13670" |
| ></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 |
| >Return 1 if predicate is true, 0 otherwise</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><A |
| NAME="AEN13679" |
| ></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" |
| > </TD |
| ></TR |
| ></TBODY |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN13696" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLXPATHINIT" |
| ></A |
| >xmlXPathInit ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >void xmlXPathInit (void);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Initialize the XPath environment</P |
| ><P |
| ></P |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN13702" |
| ></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 immediatelyi |
| 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="AEN13711" |
| ></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="AEN13724" |
| ></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="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" |
| > the XPath context</TD |
| ></TR |
| ></TBODY |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN13740" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLXPATHNODESETCREATE" |
| ></A |
| >xmlXPathNodeSetCreate ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| ><A |
| HREF="libxml-xpath.html#XMLNODESETPTR" |
| >xmlNodeSetPtr</A |
| > xmlXPathNodeSetCreate (<A |
| HREF="libxml-tree.html#XMLNODEPTR" |
| >xmlNodePtr</A |
| > val);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Create a new xmlNodeSetPtr of type double and of value <TT |
| CLASS="PARAMETER" |
| ><I |
| >val</I |
| ></TT |
| ></P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><A |
| NAME="AEN13749" |
| ></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" |
| > </TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > </TD |
| ></TR |
| ></TBODY |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN13762" |
| ></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="AEN13775" |
| ></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" |
| >val1 once extended or NULL in case of error.</TD |
| ></TR |
| ></TBODY |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN13792" |
| ></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="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 |
| >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="AEN13813" |
| ></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="AEN13820" |
| ></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="AEN13833" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLXPATHFREENODESET" |
| ></A |
| >xmlXPathFreeNodeSet ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >void xmlXPathFreeNodeSet (<A |
| HREF="libxml-xpath.html#XMLNODESETPTR" |
| >xmlNodeSetPtr</A |
| > obj);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Free the NodeSet compound (not the actual nodes !).</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><A |
| NAME="AEN13840" |
| ></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 |
| >obj</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > </TD |
| ></TR |
| ></TBODY |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN13849" |
| ></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="AEN13858" |
| ></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="AEN13871" |
| ></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="AEN13880" |
| ></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="AEN13893" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLXPATHFREENODESETLIST" |
| ></A |
| >xmlXPathFreeNodeSetList ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >void xmlXPathFreeNodeSetList (<A |
| HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" |
| >xmlXPathObjectPtr</A |
| > obj);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Free up the xmlXPathObjectPtr <TT |
| CLASS="PARAMETER" |
| ><I |
| >obj</I |
| ></TT |
| > but don't deallocate the objects in |
| the list contrary to <A |
| HREF="libxml-xpath.html#XMLXPATHFREEOBJECT" |
| >xmlXPathFreeObject</A |
| >().</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 |
| >obj</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > </TD |
| ></TR |
| ></TBODY |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN13911" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLXPATHFREEOBJECT" |
| ></A |
| >xmlXPathFreeObject ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >void xmlXPathFreeObject (<A |
| HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" |
| >xmlXPathObjectPtr</A |
| > obj);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Free up an xmlXPathObjectPtr object.</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><A |
| NAME="AEN13918" |
| ></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 |
| >obj</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > </TD |
| ></TR |
| ></TBODY |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN13927" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLXPATHNEWCONTEXT" |
| ></A |
| >xmlXPathNewContext ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| ><A |
| HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" |
| >xmlXPathContextPtr</A |
| > xmlXPathNewContext (<A |
| HREF="libxml-tree.html#XMLDOCPTR" |
| >xmlDocPtr</A |
| > doc);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Create a new xmlXPathContext</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><A |
| NAME="AEN13935" |
| ></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 |
| >doc</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > </TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > </TD |
| ></TR |
| ></TBODY |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN13948" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLXPATHFREECONTEXT" |
| ></A |
| >xmlXPathFreeContext ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >void xmlXPathFreeContext (<A |
| HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" |
| >xmlXPathContextPtr</A |
| > ctxt);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Free up an xmlXPathContext</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><A |
| NAME="AEN13955" |
| ></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" |
| > </TD |
| ></TR |
| ></TBODY |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN13964" |
| ></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="AEN13973" |
| ></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="AEN13986" |
| ></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="AEN14002" |
| ></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 comparaison succeeded, 0 if it failed</TD |
| ></TR |
| ></TBODY |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN14023" |
| ></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="AEN14030" |
| ></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="AEN14039" |
| ></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="AEN14046" |
| ></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="AEN14055" |
| ></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 substraction 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="AEN14062" |
| ></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="AEN14071" |
| ></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="AEN14078" |
| ></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="AEN14087" |
| ></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="AEN14096" |
| ></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="AEN14105" |
| ></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="AEN14114" |
| ></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="AEN14123" |
| ></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="AEN14131" |
| ></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="AEN14144" |
| ></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="AEN14153" |
| ></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="AEN14170" |
| ></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="AEN14179" |
| ></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="AEN14196" |
| ></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="AEN14205" |
| ></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="AEN14222" |
| ></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="AEN14231" |
| ></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="AEN14248" |
| ></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="AEN14257" |
| ></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="AEN14274" |
| ></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="AEN14283" |
| ></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="AEN14300" |
| ></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="AEN14309" |
| ></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="AEN14326" |
| ></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="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 |
| >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="AEN14352" |
| ></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 |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><A |
| NAME="AEN14361" |
| ></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="AEN14378" |
| ></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="AEN14387" |
| ></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="AEN14404" |
| ></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="AEN14413" |
| ></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="AEN14430" |
| ></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="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 |
| >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="AEN14456" |
| ></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="AEN14465" |
| ></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="AEN14482" |
| ></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="AEN14491" |
| ></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="AEN14504" |
| ></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 positionr |
| will be equal to <GTKDOCLINK |
| HREF="LAST" |
| >last</GTKDOCLINK |
| >().</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><A |
| NAME="AEN14514" |
| ></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="AEN14527" |
| ></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="AEN14535" |
| ></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="AEN14548" |
| ></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="AEN14556" |
| ></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="AEN14569" |
| ></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="AEN14577" |
| ></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="AEN14590" |
| ></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="AEN14598" |
| ></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="AEN14611" |
| ></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="AEN14619" |
| ></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="AEN14632" |
| ></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="AEN14640" |
| ></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="AEN14653" |
| ></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="AEN14661" |
| ></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="AEN14674" |
| ></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="AEN14682" |
| ></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="AEN14695" |
| ></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="AEN14703" |
| ></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="AEN14716" |
| ></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="AEN14724" |
| ></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="AEN14737" |
| ></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="AEN14745" |
| ></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="AEN14758" |
| ></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="AEN14766" |
| ></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="AEN14779" |
| ></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="AEN14787" |
| ></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="AEN14800" |
| ></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="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 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="AEN14822" |
| ></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="AEN14831" |
| ></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="AEN14844" |
| ></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="AEN14852" |
| ></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="AEN14865" |
| ></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="AEN14873" |
| ></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="AEN14886" |
| ></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="AEN14894" |
| ></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="AEN14907" |
| ></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="AEN14915" |
| ></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="AEN14928" |
| ></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="AEN14936" |
| ></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="AEN14949" |
| ></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="AEN14957" |
| ></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="AEN14970" |
| ></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="AEN14978" |
| ></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 |
| > |