| <HTML |
| ><HEAD |
| ><TITLE |
| >xpathInternals</TITLE |
| ><META |
| NAME="GENERATOR" |
| CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><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 |
| 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="AEN11308" |
| ></A |
| ><H2 |
| >Name</H2 |
| >xpathInternals -- </DIV |
| ><DIV |
| CLASS="REFSYNOPSISDIV" |
| ><A |
| NAME="AEN11311" |
| ></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-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); |
| 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#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#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); |
| <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="AEN11542" |
| ></A |
| ><H2 |
| >Description</H2 |
| ><P |
| ></P |
| ></DIV |
| ><DIV |
| CLASS="REFSECT1" |
| ><A |
| NAME="AEN11545" |
| ></A |
| ><H2 |
| >Details</H2 |
| ><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN11547" |
| ></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 |
| ></P |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN11552" |
| ></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 |
| ></P |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN11557" |
| ></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 |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >X</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > </TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN11571" |
| ></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 |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >X</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > </TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN11585" |
| ></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 |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >typeval</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > </TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN11599" |
| ></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 |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >x</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > </TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN11613" |
| ></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 |
| ></P |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN11618" |
| ></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 |
| ></P |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN11623" |
| ></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 |
| ></P |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN11628" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > </TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN11643" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN11668" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN11695" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN11720" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN11751" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN11777" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN11792" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN11823" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN11859" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN11890" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN11926" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN11952" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN11983" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN11999" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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" |
| >the value or NULL if not found</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN12025" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 value or NULL if not found</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN12056" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN12072" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN12098" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN12114" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN12134" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN12158" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN12180" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN12201" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN12223" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN12244" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN12266" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN12288" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN12309" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN12330" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN12346" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN12362" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN12385" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN12408" |
| ></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 |
| >[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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN12430" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN12456" |
| ></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="AEN12462" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN12484" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN12500" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN12522" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN12552" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN12573" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN12593" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN12609" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN12631" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN12653" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN12671" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN12687" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN12708" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN12724" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN12746" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN12783" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN12799" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN12815" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN12831" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN12847" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN12865" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN12883" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN12909" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN12935" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN12961" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN12983" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN13006" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN13027" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN13048" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN13069" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN13090" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN13111" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN13132" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN13153" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN13174" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN13195" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN13216" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN13237" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN13258" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN13279" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN13301" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN13323" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN13344" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN13365" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN13386" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN13407" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN13428" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN13449" |
| ></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" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><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 |
| ></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 |
| > |