Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 1 | <HTML |
| 2 | ><HEAD |
| 3 | ><TITLE |
| 4 | >xpathInternals</TITLE |
| 5 | ><META |
| 6 | NAME="GENERATOR" |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 7 | CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 8 | REL="HOME" |
| 9 | TITLE="Gnome XML Library Reference Manual" |
| 10 | HREF="book1.html"><LINK |
| 11 | REL="UP" |
| 12 | TITLE="Libxml Library Reference" |
| 13 | HREF="libxml-lib.html"><LINK |
| 14 | REL="PREVIOUS" |
| 15 | TITLE="xpath" |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 16 | HREF="libxml-xpath.html"><LINK |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 17 | REL="NEXT" |
| 18 | TITLE="xpointer" |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 19 | HREF="libxml-xpointer.html"></HEAD |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 20 | ><BODY |
| 21 | BGCOLOR="#FFFFFF" |
| 22 | TEXT="#000000" |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 23 | LINK="#0000FF" |
| 24 | VLINK="#840084" |
| 25 | ALINK="#0000FF" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 26 | ><DIV |
| 27 | CLASS="NAVHEADER" |
| 28 | ><TABLE |
| 29 | WIDTH="100%" |
| 30 | BORDER="0" |
| 31 | BGCOLOR="#000000" |
| 32 | CELLPADDING="1" |
| 33 | CELLSPACING="0" |
| 34 | ><TR |
| 35 | ><TH |
| 36 | COLSPAN="4" |
| 37 | ALIGN="center" |
| 38 | ><FONT |
| 39 | COLOR="#FFFFFF" |
| 40 | SIZE="5" |
| 41 | >Gnome XML Library Reference Manual</FONT |
| 42 | ></TH |
| 43 | ></TR |
| 44 | ><TR |
| 45 | ><TD |
| 46 | WIDTH="25%" |
| 47 | BGCOLOR="#C00000" |
| 48 | ALIGN="left" |
| 49 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 50 | HREF="libxml-xpath.html" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 51 | ><FONT |
| 52 | COLOR="#FFFFFF" |
| 53 | SIZE="3" |
| 54 | ><B |
| 55 | ><<< Previous Page</B |
| 56 | ></FONT |
| 57 | ></A |
| 58 | ></TD |
| 59 | ><TD |
| 60 | WIDTH="25%" |
| 61 | BGCOLOR="#0000C0" |
| 62 | ALIGN="center" |
| 63 | ><FONT |
| 64 | COLOR="#FFFFFF" |
| 65 | SIZE="3" |
| 66 | ><B |
| 67 | ><A |
| 68 | HREF="book1.html" |
| 69 | ><FONT |
| 70 | COLOR="#FFFFFF" |
| 71 | SIZE="3" |
| 72 | ><B |
| 73 | >Home</B |
| 74 | ></FONT |
| 75 | ></A |
| 76 | ></B |
| 77 | ></FONT |
| 78 | ></TD |
| 79 | ><TD |
| 80 | WIDTH="25%" |
| 81 | BGCOLOR="#00C000" |
| 82 | ALIGN="center" |
| 83 | ><FONT |
| 84 | COLOR="#FFFFFF" |
| 85 | SIZE="3" |
| 86 | ><B |
| 87 | ><A |
| 88 | HREF="libxml-lib.html" |
| 89 | ><FONT |
| 90 | COLOR="#FFFFFF" |
| 91 | SIZE="3" |
| 92 | ><B |
| 93 | >Up</B |
| 94 | ></FONT |
| 95 | ></A |
| 96 | ></B |
| 97 | ></FONT |
| 98 | ></TD |
| 99 | ><TD |
| 100 | WIDTH="25%" |
| 101 | BGCOLOR="#C00000" |
| 102 | ALIGN="right" |
| 103 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 104 | HREF="libxml-xpointer.html" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 105 | ><FONT |
| 106 | COLOR="#FFFFFF" |
| 107 | SIZE="3" |
| 108 | ><B |
| 109 | >Next Page >>></B |
| 110 | ></FONT |
| 111 | ></A |
| 112 | ></TD |
| 113 | ></TR |
| 114 | ></TABLE |
| 115 | ></DIV |
| 116 | ><H1 |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 117 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 118 | NAME="LIBXML-XPATHINTERNALS" |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 119 | >xpathInternals</A |
| 120 | ></H1 |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 121 | ><DIV |
| 122 | CLASS="REFNAMEDIV" |
| 123 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 124 | NAME="AEN11110" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 125 | ></A |
| 126 | ><H2 |
| 127 | >Name</H2 |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 128 | >xpathInternals -- </DIV |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 129 | ><DIV |
| 130 | CLASS="REFSYNOPSISDIV" |
| 131 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 132 | NAME="AEN11113" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 133 | ></A |
| 134 | ><H2 |
| 135 | >Synopsis</H2 |
| 136 | ><TABLE |
| 137 | BORDER="0" |
| 138 | BGCOLOR="#D6E8FF" |
| 139 | WIDTH="100%" |
| 140 | CELLPADDING="6" |
| 141 | ><TR |
| 142 | ><TD |
| 143 | ><PRE |
| 144 | CLASS="SYNOPSIS" |
| 145 | > |
| 146 | |
| 147 | #define <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 148 | HREF="libxml-xpathinternals.html#CHECK-ERROR-CAPS" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 149 | >CHECK_ERROR</A |
| 150 | > |
| 151 | #define <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 152 | HREF="libxml-xpathinternals.html#CHECK-ERROR0-CAPS" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 153 | >CHECK_ERROR0</A |
| 154 | > |
| 155 | #define <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 156 | HREF="libxml-xpathinternals.html#XP-ERROR-CAPS" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 157 | >XP_ERROR</A |
| 158 | > (X) |
| 159 | #define <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 160 | HREF="libxml-xpathinternals.html#XP-ERROR0-CAPS" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 161 | >XP_ERROR0</A |
| 162 | > (X) |
| 163 | #define <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 164 | HREF="libxml-xpathinternals.html#CHECK-TYPE-CAPS" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 165 | >CHECK_TYPE</A |
| 166 | > (typeval) |
| 167 | #define <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 168 | HREF="libxml-xpathinternals.html#CHECK-ARITY-CAPS" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 169 | >CHECK_ARITY</A |
| 170 | > (x) |
| 171 | #define <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 172 | HREF="libxml-xpathinternals.html#CAST-TO-STRING-CAPS" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 173 | >CAST_TO_STRING</A |
| 174 | > |
| 175 | #define <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 176 | HREF="libxml-xpathinternals.html#CAST-TO-NUMBER-CAPS" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 177 | >CAST_TO_NUMBER</A |
| 178 | > |
| 179 | #define <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 180 | HREF="libxml-xpathinternals.html#CAST-TO-BOOLEAN-CAPS" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 181 | >CAST_TO_BOOLEAN</A |
| 182 | > |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 183 | <GTKDOCLINK |
| 184 | HREF="TYPEDEF" |
| 185 | >typedef</GTKDOCLINK |
| 186 | > <A |
| 187 | HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" |
| 188 | >xmlXPathObjectPtr</A |
| 189 | > (); |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 190 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 191 | HREF="libxml-xpathinternals.html#XMLXPATHREGISTERVARIABLELOOKUP" |
| 192 | >xmlXPathRegisterVariableLookup</A |
| 193 | > (<A |
| 194 | HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" |
| 195 | >xmlXPathContextPtr</A |
| 196 | > ctxt, |
| 197 | <GTKDOCLINK |
| 198 | HREF="XMLXPATHVARIABLELOOKUPFUNC" |
| 199 | >xmlXPathVariableLookupFunc</GTKDOCLINK |
| 200 | > f, |
| 201 | void *varCtxt); |
| 202 | void <A |
| 203 | HREF="libxml-xpath.html#XMLXPATHERROR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 204 | >xmlXPatherror</A |
| 205 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 206 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 207 | >xmlXPathParserContextPtr</A |
| 208 | > ctxt, |
| 209 | const char *file, |
| 210 | int line, |
| 211 | int no); |
| 212 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 213 | HREF="libxml-xpathinternals.html#XMLXPATHDEBUGDUMPOBJECT" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 214 | >xmlXPathDebugDumpObject</A |
| 215 | > (<GTKDOCLINK |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 216 | HREF="FILE-CAPS" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 217 | >FILE</GTKDOCLINK |
| 218 | > *output, |
| 219 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 220 | HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 221 | >xmlXPathObjectPtr</A |
| 222 | > cur, |
| 223 | int depth); |
| 224 | int <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 225 | HREF="libxml-xpathinternals.html#XMLXPATHREGISTERNS" |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 226 | >xmlXPathRegisterNs</A |
| 227 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 228 | HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 229 | >xmlXPathContextPtr</A |
| 230 | > ctxt, |
| 231 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 232 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 233 | >xmlChar</A |
| 234 | > *prefix, |
| 235 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 236 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 237 | >xmlChar</A |
| 238 | > *ns_uri); |
| 239 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 240 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 241 | >xmlChar</A |
| 242 | >* <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 243 | HREF="libxml-xpathinternals.html#XMLXPATHNSLOOKUP" |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 244 | >xmlXPathNsLookup</A |
| 245 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 246 | HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 247 | >xmlXPathContextPtr</A |
| 248 | > ctxt, |
| 249 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 250 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 251 | >xmlChar</A |
| 252 | > *ns_uri); |
| 253 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 254 | HREF="libxml-xpathinternals.html#XMLXPATHREGISTEREDNSCLEANUP" |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 255 | >xmlXPathRegisteredNsCleanup</A |
| 256 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 257 | HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 258 | >xmlXPathContextPtr</A |
| 259 | > ctxt); |
| 260 | int <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 261 | HREF="libxml-xpathinternals.html#XMLXPATHREGISTERFUNC" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 262 | >xmlXPathRegisterFunc</A |
| 263 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 264 | HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 265 | >xmlXPathContextPtr</A |
| 266 | > ctxt, |
| 267 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 268 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 269 | >xmlChar</A |
| 270 | > *name, |
| 271 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 272 | HREF="libxml-xpath.html#XMLXPATHFUNCTION" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 273 | >xmlXPathFunction</A |
| 274 | > f); |
| 275 | int <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 276 | HREF="libxml-xpathinternals.html#XMLXPATHREGISTERFUNCNS" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 277 | >xmlXPathRegisterFuncNS</A |
| 278 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 279 | HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 280 | >xmlXPathContextPtr</A |
| 281 | > ctxt, |
| 282 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 283 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 284 | >xmlChar</A |
| 285 | > *name, |
| 286 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 287 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 288 | >xmlChar</A |
| 289 | > *ns_uri, |
| 290 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 291 | HREF="libxml-xpath.html#XMLXPATHFUNCTION" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 292 | >xmlXPathFunction</A |
| 293 | > f); |
| 294 | int <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 295 | HREF="libxml-xpathinternals.html#XMLXPATHREGISTERVARIABLE" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 296 | >xmlXPathRegisterVariable</A |
| 297 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 298 | HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 299 | >xmlXPathContextPtr</A |
| 300 | > ctxt, |
| 301 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 302 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 303 | >xmlChar</A |
| 304 | > *name, |
| 305 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 306 | HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 307 | >xmlXPathObjectPtr</A |
| 308 | > value); |
| 309 | int <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 310 | HREF="libxml-xpathinternals.html#XMLXPATHREGISTERVARIABLENS" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 311 | >xmlXPathRegisterVariableNS</A |
| 312 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 313 | HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 314 | >xmlXPathContextPtr</A |
| 315 | > ctxt, |
| 316 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 317 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 318 | >xmlChar</A |
| 319 | > *name, |
| 320 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 321 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 322 | >xmlChar</A |
| 323 | > *ns_uri, |
| 324 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 325 | HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 326 | >xmlXPathObjectPtr</A |
| 327 | > value); |
| 328 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 329 | HREF="libxml-xpath.html#XMLXPATHFUNCTION" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 330 | >xmlXPathFunction</A |
| 331 | > <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 332 | HREF="libxml-xpathinternals.html#XMLXPATHFUNCTIONLOOKUP" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 333 | >xmlXPathFunctionLookup</A |
| 334 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 335 | HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 336 | >xmlXPathContextPtr</A |
| 337 | > ctxt, |
| 338 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 339 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 340 | >xmlChar</A |
| 341 | > *name); |
| 342 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 343 | HREF="libxml-xpath.html#XMLXPATHFUNCTION" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 344 | >xmlXPathFunction</A |
| 345 | > <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 346 | HREF="libxml-xpathinternals.html#XMLXPATHFUNCTIONLOOKUPNS" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 347 | >xmlXPathFunctionLookupNS</A |
| 348 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 349 | HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 350 | >xmlXPathContextPtr</A |
| 351 | > ctxt, |
| 352 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 353 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 354 | >xmlChar</A |
| 355 | > *name, |
| 356 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 357 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 358 | >xmlChar</A |
| 359 | > *ns_uri); |
| 360 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 361 | HREF="libxml-xpathinternals.html#XMLXPATHREGISTEREDFUNCSCLEANUP" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 362 | >xmlXPathRegisteredFuncsCleanup</A |
| 363 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 364 | HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 365 | >xmlXPathContextPtr</A |
| 366 | > ctxt); |
| 367 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 368 | HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 369 | >xmlXPathObjectPtr</A |
| 370 | > <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 371 | HREF="libxml-xpathinternals.html#XMLXPATHVARIABLELOOKUP" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 372 | >xmlXPathVariableLookup</A |
| 373 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 374 | HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 375 | >xmlXPathContextPtr</A |
| 376 | > ctxt, |
| 377 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 378 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 379 | >xmlChar</A |
| 380 | > *name); |
| 381 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 382 | HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 383 | >xmlXPathObjectPtr</A |
| 384 | > <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 385 | HREF="libxml-xpathinternals.html#XMLXPATHVARIABLELOOKUPNS" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 386 | >xmlXPathVariableLookupNS</A |
| 387 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 388 | HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 389 | >xmlXPathContextPtr</A |
| 390 | > ctxt, |
| 391 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 392 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 393 | >xmlChar</A |
| 394 | > *name, |
| 395 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 396 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 397 | >xmlChar</A |
| 398 | > *ns_uri); |
| 399 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 400 | HREF="libxml-xpathinternals.html#XMLXPATHREGISTEREDVARIABLESCLEANUP" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 401 | >xmlXPathRegisteredVariablesCleanup</A |
| 402 | > |
| 403 | (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 404 | HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 405 | >xmlXPathContextPtr</A |
| 406 | > ctxt); |
| 407 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 408 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 409 | >xmlXPathParserContextPtr</A |
| 410 | > <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 411 | HREF="libxml-xpathinternals.html#XMLXPATHNEWPARSERCONTEXT" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 412 | >xmlXPathNewParserContext</A |
| 413 | > |
| 414 | (const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 415 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 416 | >xmlChar</A |
| 417 | > *str, |
| 418 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 419 | HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 420 | >xmlXPathContextPtr</A |
| 421 | > ctxt); |
| 422 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 423 | HREF="libxml-xpathinternals.html#XMLXPATHFREEPARSERCONTEXT" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 424 | >xmlXPathFreeParserContext</A |
| 425 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 426 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 427 | >xmlXPathParserContextPtr</A |
| 428 | > ctxt); |
| 429 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 430 | HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 431 | >xmlXPathObjectPtr</A |
| 432 | > <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 433 | HREF="libxml-xpathinternals.html#VALUEPOP" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 434 | >valuePop</A |
| 435 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 436 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 437 | >xmlXPathParserContextPtr</A |
| 438 | > ctxt); |
| 439 | int <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 440 | HREF="libxml-xpathinternals.html#VALUEPUSH" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 441 | >valuePush</A |
| 442 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 443 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 444 | >xmlXPathParserContextPtr</A |
| 445 | > ctxt, |
| 446 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 447 | HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 448 | >xmlXPathObjectPtr</A |
| 449 | > value); |
| 450 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 451 | HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 452 | >xmlXPathObjectPtr</A |
| 453 | > <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 454 | HREF="libxml-xpathinternals.html#XMLXPATHNEWSTRING" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 455 | >xmlXPathNewString</A |
| 456 | > (const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 457 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 458 | >xmlChar</A |
| 459 | > *val); |
| 460 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 461 | HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 462 | >xmlXPathObjectPtr</A |
| 463 | > <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 464 | HREF="libxml-xpathinternals.html#XMLXPATHNEWCSTRING" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 465 | >xmlXPathNewCString</A |
| 466 | > (const char *val); |
| 467 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 468 | HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 469 | >xmlXPathObjectPtr</A |
| 470 | > <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 471 | HREF="libxml-xpathinternals.html#XMLXPATHNEWFLOAT" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 472 | >xmlXPathNewFloat</A |
| 473 | > (<GTKDOCLINK |
| 474 | HREF="DOUBLE" |
| 475 | >double</GTKDOCLINK |
| 476 | > val); |
| 477 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 478 | HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 479 | >xmlXPathObjectPtr</A |
| 480 | > <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 481 | HREF="libxml-xpathinternals.html#XMLXPATHNEWBOOLEAN" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 482 | >xmlXPathNewBoolean</A |
| 483 | > (int val); |
| 484 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 485 | HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 486 | >xmlXPathObjectPtr</A |
| 487 | > <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 488 | HREF="libxml-xpathinternals.html#XMLXPATHNEWNODESET" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 489 | >xmlXPathNewNodeSet</A |
| 490 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 491 | HREF="libxml-tree.html#XMLNODEPTR" |
| 492 | >xmlNodePtr</A |
| 493 | > val); |
| 494 | <A |
| 495 | HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" |
| 496 | >xmlXPathObjectPtr</A |
| 497 | > <A |
| 498 | HREF="libxml-xpathinternals.html#XMLXPATHNEWVALUETREE" |
| 499 | >xmlXPathNewValueTree</A |
| 500 | > (<A |
| 501 | HREF="libxml-tree.html#XMLNODEPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 502 | >xmlNodePtr</A |
| 503 | > val); |
| 504 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 505 | HREF="libxml-xpathinternals.html#XMLXPATHNODESETADD" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 506 | >xmlXPathNodeSetAdd</A |
| 507 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 508 | HREF="libxml-xpath.html#XMLNODESETPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 509 | >xmlNodeSetPtr</A |
| 510 | > cur, |
| 511 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 512 | HREF="libxml-tree.html#XMLNODEPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 513 | >xmlNodePtr</A |
| 514 | > val); |
| 515 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 516 | HREF="libxml-xpathinternals.html#XMLXPATHIDFUNCTION" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 517 | >xmlXPathIdFunction</A |
| 518 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 519 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 520 | >xmlXPathParserContextPtr</A |
| 521 | > ctxt, |
| 522 | int nargs); |
| 523 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 524 | HREF="libxml-xpathinternals.html#XMLXPATHROOT" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 525 | >xmlXPathRoot</A |
| 526 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 527 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 528 | >xmlXPathParserContextPtr</A |
| 529 | > ctxt); |
| 530 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 531 | HREF="libxml-xpathinternals.html#XMLXPATHEVALEXPR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 532 | >xmlXPathEvalExpr</A |
| 533 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 534 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 535 | >xmlXPathParserContextPtr</A |
| 536 | > ctxt); |
| 537 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 538 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 539 | >xmlChar</A |
| 540 | >* <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 541 | HREF="libxml-xpathinternals.html#XMLXPATHPARSENAME" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 542 | >xmlXPathParseName</A |
| 543 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 544 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 545 | >xmlXPathParserContextPtr</A |
| 546 | > ctxt); |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 547 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 548 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 549 | >xmlChar</A |
| 550 | >* <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 551 | HREF="libxml-xpathinternals.html#XMLXPATHPARSENCNAME" |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 552 | >xmlXPathParseNCName</A |
| 553 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 554 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 555 | >xmlXPathParserContextPtr</A |
| 556 | > ctxt); |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 557 | <GTKDOCLINK |
| 558 | HREF="DOUBLE" |
| 559 | >double</GTKDOCLINK |
| 560 | > <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 561 | HREF="libxml-xpathinternals.html#XMLXPATHSTRINGEVALNUMBER" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 562 | >xmlXPathStringEvalNumber</A |
| 563 | > (const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 564 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 565 | >xmlChar</A |
| 566 | > *str); |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame] | 567 | int <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 568 | HREF="libxml-xpathinternals.html#XMLXPATHEVALUATEPREDICATERESULT" |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame] | 569 | >xmlXPathEvaluatePredicateResult</A |
| 570 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 571 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame] | 572 | >xmlXPathParserContextPtr</A |
| 573 | > ctxt, |
| 574 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 575 | HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame] | 576 | >xmlXPathObjectPtr</A |
| 577 | > res); |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 578 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 579 | HREF="libxml-xpath.html#XMLXPATHINIT" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 580 | >xmlXPathInit</A |
| 581 | > (void); |
| 582 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 583 | HREF="libxml-xpathinternals.html#XMLXPATHSTRINGFUNCTION" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 584 | >xmlXPathStringFunction</A |
| 585 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 586 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 587 | >xmlXPathParserContextPtr</A |
| 588 | > ctxt, |
| 589 | int nargs); |
| 590 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 591 | HREF="libxml-xpathinternals.html#XMLXPATHREGISTERALLFUNCTIONS" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 592 | >xmlXPathRegisterAllFunctions</A |
| 593 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 594 | HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 595 | >xmlXPathContextPtr</A |
| 596 | > ctxt); |
| 597 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 598 | HREF="libxml-xpath.html#XMLNODESETPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 599 | >xmlNodeSetPtr</A |
| 600 | > <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 601 | HREF="libxml-xpath.html#XMLXPATHNODESETCREATE" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 602 | >xmlXPathNodeSetCreate</A |
| 603 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 604 | HREF="libxml-tree.html#XMLNODEPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 605 | >xmlNodePtr</A |
| 606 | > val); |
| 607 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 608 | HREF="libxml-xpath.html#XMLNODESETPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 609 | >xmlNodeSetPtr</A |
| 610 | > <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 611 | HREF="libxml-xpathinternals.html#XMLXPATHNODESETMERGE" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 612 | >xmlXPathNodeSetMerge</A |
| 613 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 614 | HREF="libxml-xpath.html#XMLNODESETPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 615 | >xmlNodeSetPtr</A |
| 616 | > val1, |
| 617 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 618 | HREF="libxml-xpath.html#XMLNODESETPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 619 | >xmlNodeSetPtr</A |
| 620 | > val2); |
| 621 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 622 | HREF="libxml-xpathinternals.html#XMLXPATHNODESETDEL" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 623 | >xmlXPathNodeSetDel</A |
| 624 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 625 | HREF="libxml-xpath.html#XMLNODESETPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 626 | >xmlNodeSetPtr</A |
| 627 | > cur, |
| 628 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 629 | HREF="libxml-tree.html#XMLNODEPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 630 | >xmlNodePtr</A |
| 631 | > val); |
| 632 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 633 | HREF="libxml-xpathinternals.html#XMLXPATHNODESETREMOVE" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 634 | >xmlXPathNodeSetRemove</A |
| 635 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 636 | HREF="libxml-xpath.html#XMLNODESETPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 637 | >xmlNodeSetPtr</A |
| 638 | > cur, |
| 639 | int val); |
| 640 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 641 | HREF="libxml-xpath.html#XMLXPATHFREENODESET" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 642 | >xmlXPathFreeNodeSet</A |
| 643 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 644 | HREF="libxml-xpath.html#XMLNODESETPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 645 | >xmlNodeSetPtr</A |
| 646 | > obj); |
| 647 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 648 | HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 649 | >xmlXPathObjectPtr</A |
| 650 | > <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 651 | HREF="libxml-xpathinternals.html#XMLXPATHNEWNODESETLIST" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 652 | >xmlXPathNewNodeSetList</A |
| 653 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 654 | HREF="libxml-xpath.html#XMLNODESETPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 655 | >xmlNodeSetPtr</A |
| 656 | > val); |
| 657 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 658 | HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 659 | >xmlXPathObjectPtr</A |
| 660 | > <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 661 | HREF="libxml-xpathinternals.html#XMLXPATHWRAPNODESET" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 662 | >xmlXPathWrapNodeSet</A |
| 663 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 664 | HREF="libxml-xpath.html#XMLNODESETPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 665 | >xmlNodeSetPtr</A |
| 666 | > val); |
| 667 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 668 | HREF="libxml-xpath.html#XMLXPATHFREENODESETLIST" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 669 | >xmlXPathFreeNodeSetList</A |
| 670 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 671 | HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 672 | >xmlXPathObjectPtr</A |
| 673 | > obj); |
| 674 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 675 | HREF="libxml-xpath.html#XMLXPATHFREEOBJECT" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 676 | >xmlXPathFreeObject</A |
| 677 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 678 | HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 679 | >xmlXPathObjectPtr</A |
| 680 | > obj); |
| 681 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 682 | HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 683 | >xmlXPathContextPtr</A |
| 684 | > <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 685 | HREF="libxml-xpath.html#XMLXPATHNEWCONTEXT" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 686 | >xmlXPathNewContext</A |
| 687 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 688 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 689 | >xmlDocPtr</A |
| 690 | > doc); |
| 691 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 692 | HREF="libxml-xpath.html#XMLXPATHFREECONTEXT" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 693 | >xmlXPathFreeContext</A |
| 694 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 695 | HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 696 | >xmlXPathContextPtr</A |
| 697 | > ctxt); |
| 698 | int <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 699 | HREF="libxml-xpathinternals.html#XMLXPATHEQUALVALUES" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 700 | >xmlXPathEqualValues</A |
| 701 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 702 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 703 | >xmlXPathParserContextPtr</A |
| 704 | > ctxt); |
| 705 | int <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 706 | HREF="libxml-xpathinternals.html#XMLXPATHCOMPAREVALUES" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 707 | >xmlXPathCompareValues</A |
| 708 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 709 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 710 | >xmlXPathParserContextPtr</A |
| 711 | > ctxt, |
| 712 | int inf, |
| 713 | int strict); |
| 714 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 715 | HREF="libxml-xpathinternals.html#XMLXPATHVALUEFLIPSIGN" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 716 | >xmlXPathValueFlipSign</A |
| 717 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 718 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 719 | >xmlXPathParserContextPtr</A |
| 720 | > ctxt); |
| 721 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 722 | HREF="libxml-xpathinternals.html#XMLXPATHADDVALUES" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 723 | >xmlXPathAddValues</A |
| 724 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 725 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 726 | >xmlXPathParserContextPtr</A |
| 727 | > ctxt); |
| 728 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 729 | HREF="libxml-xpathinternals.html#XMLXPATHSUBVALUES" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 730 | >xmlXPathSubValues</A |
| 731 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 732 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 733 | >xmlXPathParserContextPtr</A |
| 734 | > ctxt); |
| 735 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 736 | HREF="libxml-xpathinternals.html#XMLXPATHMULTVALUES" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 737 | >xmlXPathMultValues</A |
| 738 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 739 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 740 | >xmlXPathParserContextPtr</A |
| 741 | > ctxt); |
| 742 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 743 | HREF="libxml-xpathinternals.html#XMLXPATHDIVVALUES" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 744 | >xmlXPathDivValues</A |
| 745 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 746 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 747 | >xmlXPathParserContextPtr</A |
| 748 | > ctxt); |
| 749 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 750 | HREF="libxml-xpathinternals.html#XMLXPATHMODVALUES" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 751 | >xmlXPathModValues</A |
| 752 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 753 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 754 | >xmlXPathParserContextPtr</A |
| 755 | > ctxt); |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 756 | <A |
| 757 | HREF="libxml-tree.html#XMLNODEPTR" |
| 758 | >xmlNodePtr</A |
| 759 | > <A |
| 760 | HREF="libxml-xpathinternals.html#XMLXPATHNEXTPRECEDING" |
| 761 | >xmlXPathNextPreceding</A |
| 762 | > (<A |
| 763 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 764 | >xmlXPathParserContextPtr</A |
| 765 | > ctxt, |
| 766 | <A |
| 767 | HREF="libxml-tree.html#XMLNODEPTR" |
| 768 | >xmlNodePtr</A |
| 769 | > cur); |
| 770 | <A |
| 771 | HREF="libxml-tree.html#XMLNODEPTR" |
| 772 | >xmlNodePtr</A |
| 773 | > <A |
| 774 | HREF="libxml-xpathinternals.html#XMLXPATHNEXTANCESTOR" |
| 775 | >xmlXPathNextAncestor</A |
| 776 | > (<A |
| 777 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 778 | >xmlXPathParserContextPtr</A |
| 779 | > ctxt, |
| 780 | <A |
| 781 | HREF="libxml-tree.html#XMLNODEPTR" |
| 782 | >xmlNodePtr</A |
| 783 | > cur); |
| 784 | <A |
| 785 | HREF="libxml-tree.html#XMLNODEPTR" |
| 786 | >xmlNodePtr</A |
| 787 | > <A |
| 788 | HREF="libxml-xpathinternals.html#XMLXPATHNEXTPRECEDINGSIBLING" |
| 789 | >xmlXPathNextPrecedingSibling</A |
| 790 | > (<A |
| 791 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 792 | >xmlXPathParserContextPtr</A |
| 793 | > ctxt, |
| 794 | <A |
| 795 | HREF="libxml-tree.html#XMLNODEPTR" |
| 796 | >xmlNodePtr</A |
| 797 | > cur); |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 798 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 799 | HREF="libxml-xpathinternals.html#XMLXPATHLASTFUNCTION" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 800 | >xmlXPathLastFunction</A |
| 801 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 802 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 803 | >xmlXPathParserContextPtr</A |
| 804 | > ctxt, |
| 805 | int nargs); |
| 806 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 807 | HREF="libxml-xpathinternals.html#XMLXPATHPOSITIONFUNCTION" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 808 | >xmlXPathPositionFunction</A |
| 809 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 810 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 811 | >xmlXPathParserContextPtr</A |
| 812 | > ctxt, |
| 813 | int nargs); |
| 814 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 815 | HREF="libxml-xpathinternals.html#XMLXPATHCOUNTFUNCTION" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 816 | >xmlXPathCountFunction</A |
| 817 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 818 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 819 | >xmlXPathParserContextPtr</A |
| 820 | > ctxt, |
| 821 | int nargs); |
| 822 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 823 | HREF="libxml-xpathinternals.html#XMLXPATHLOCALNAMEFUNCTION" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 824 | >xmlXPathLocalNameFunction</A |
| 825 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 826 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 827 | >xmlXPathParserContextPtr</A |
| 828 | > ctxt, |
| 829 | int nargs); |
| 830 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 831 | HREF="libxml-xpathinternals.html#XMLXPATHNAMESPACEURIFUNCTION" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 832 | >xmlXPathNamespaceURIFunction</A |
| 833 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 834 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 835 | >xmlXPathParserContextPtr</A |
| 836 | > ctxt, |
| 837 | int nargs); |
| 838 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 839 | HREF="libxml-xpathinternals.html#XMLXPATHSTRINGLENGTHFUNCTION" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 840 | >xmlXPathStringLengthFunction</A |
| 841 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 842 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 843 | >xmlXPathParserContextPtr</A |
| 844 | > ctxt, |
| 845 | int nargs); |
| 846 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 847 | HREF="libxml-xpathinternals.html#XMLXPATHCONCATFUNCTION" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 848 | >xmlXPathConcatFunction</A |
| 849 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 850 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 851 | >xmlXPathParserContextPtr</A |
| 852 | > ctxt, |
| 853 | int nargs); |
| 854 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 855 | HREF="libxml-xpathinternals.html#XMLXPATHCONTAINSFUNCTION" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 856 | >xmlXPathContainsFunction</A |
| 857 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 858 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 859 | >xmlXPathParserContextPtr</A |
| 860 | > ctxt, |
| 861 | int nargs); |
| 862 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 863 | HREF="libxml-xpathinternals.html#XMLXPATHSTARTSWITHFUNCTION" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 864 | >xmlXPathStartsWithFunction</A |
| 865 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 866 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 867 | >xmlXPathParserContextPtr</A |
| 868 | > ctxt, |
| 869 | int nargs); |
| 870 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 871 | HREF="libxml-xpathinternals.html#XMLXPATHSUBSTRINGFUNCTION" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 872 | >xmlXPathSubstringFunction</A |
| 873 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 874 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 875 | >xmlXPathParserContextPtr</A |
| 876 | > ctxt, |
| 877 | int nargs); |
| 878 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 879 | HREF="libxml-xpathinternals.html#XMLXPATHSUBSTRINGBEFOREFUNCTION" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 880 | >xmlXPathSubstringBeforeFunction</A |
| 881 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 882 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 883 | >xmlXPathParserContextPtr</A |
| 884 | > ctxt, |
| 885 | int nargs); |
| 886 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 887 | HREF="libxml-xpathinternals.html#XMLXPATHSUBSTRINGAFTERFUNCTION" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 888 | >xmlXPathSubstringAfterFunction</A |
| 889 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 890 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 891 | >xmlXPathParserContextPtr</A |
| 892 | > ctxt, |
| 893 | int nargs); |
| 894 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 895 | HREF="libxml-xpathinternals.html#XMLXPATHNORMALIZEFUNCTION" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 896 | >xmlXPathNormalizeFunction</A |
| 897 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 898 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 899 | >xmlXPathParserContextPtr</A |
| 900 | > ctxt, |
| 901 | int nargs); |
| 902 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 903 | HREF="libxml-xpathinternals.html#XMLXPATHTRANSLATEFUNCTION" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 904 | >xmlXPathTranslateFunction</A |
| 905 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 906 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 907 | >xmlXPathParserContextPtr</A |
| 908 | > ctxt, |
| 909 | int nargs); |
| 910 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 911 | HREF="libxml-xpathinternals.html#XMLXPATHNOTFUNCTION" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 912 | >xmlXPathNotFunction</A |
| 913 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 914 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 915 | >xmlXPathParserContextPtr</A |
| 916 | > ctxt, |
| 917 | int nargs); |
| 918 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 919 | HREF="libxml-xpathinternals.html#XMLXPATHTRUEFUNCTION" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 920 | >xmlXPathTrueFunction</A |
| 921 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 922 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 923 | >xmlXPathParserContextPtr</A |
| 924 | > ctxt, |
| 925 | int nargs); |
| 926 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 927 | HREF="libxml-xpathinternals.html#XMLXPATHFALSEFUNCTION" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 928 | >xmlXPathFalseFunction</A |
| 929 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 930 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 931 | >xmlXPathParserContextPtr</A |
| 932 | > ctxt, |
| 933 | int nargs); |
| 934 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 935 | HREF="libxml-xpathinternals.html#XMLXPATHLANGFUNCTION" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 936 | >xmlXPathLangFunction</A |
| 937 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 938 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 939 | >xmlXPathParserContextPtr</A |
| 940 | > ctxt, |
| 941 | int nargs); |
| 942 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 943 | HREF="libxml-xpathinternals.html#XMLXPATHNUMBERFUNCTION" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 944 | >xmlXPathNumberFunction</A |
| 945 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 946 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 947 | >xmlXPathParserContextPtr</A |
| 948 | > ctxt, |
| 949 | int nargs); |
| 950 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 951 | HREF="libxml-xpathinternals.html#XMLXPATHSUMFUNCTION" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 952 | >xmlXPathSumFunction</A |
| 953 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 954 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 955 | >xmlXPathParserContextPtr</A |
| 956 | > ctxt, |
| 957 | int nargs); |
| 958 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 959 | HREF="libxml-xpathinternals.html#XMLXPATHFLOORFUNCTION" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 960 | >xmlXPathFloorFunction</A |
| 961 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 962 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 963 | >xmlXPathParserContextPtr</A |
| 964 | > ctxt, |
| 965 | int nargs); |
| 966 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 967 | HREF="libxml-xpathinternals.html#XMLXPATHCEILINGFUNCTION" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 968 | >xmlXPathCeilingFunction</A |
| 969 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 970 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 971 | >xmlXPathParserContextPtr</A |
| 972 | > ctxt, |
| 973 | int nargs); |
| 974 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 975 | HREF="libxml-xpathinternals.html#XMLXPATHROUNDFUNCTION" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 976 | >xmlXPathRoundFunction</A |
| 977 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 978 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 979 | >xmlXPathParserContextPtr</A |
| 980 | > ctxt, |
| 981 | int nargs); |
| 982 | void <A |
| 983 | HREF="libxml-xpathinternals.html#XMLXPATHBOOLEANFUNCTION" |
| 984 | >xmlXPathBooleanFunction</A |
| 985 | > (<A |
| 986 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 987 | >xmlXPathParserContextPtr</A |
| 988 | > ctxt, |
| 989 | int nargs);</PRE |
| 990 | ></TD |
| 991 | ></TR |
| 992 | ></TABLE |
| 993 | ></DIV |
| 994 | ><DIV |
| 995 | CLASS="REFSECT1" |
| 996 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 997 | NAME="AEN11344" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 998 | ></A |
| 999 | ><H2 |
| 1000 | >Description</H2 |
| 1001 | ><P |
| 1002 | ></P |
| 1003 | ></DIV |
| 1004 | ><DIV |
| 1005 | CLASS="REFSECT1" |
| 1006 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 1007 | NAME="AEN11347" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 1008 | ></A |
| 1009 | ><H2 |
| 1010 | >Details</H2 |
| 1011 | ><DIV |
| 1012 | CLASS="REFSECT2" |
| 1013 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 1014 | NAME="AEN11349" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 1015 | ></A |
| 1016 | ><H3 |
| 1017 | ><A |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 1018 | NAME="CHECK-ERROR-CAPS" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 1019 | ></A |
| 1020 | >CHECK_ERROR</H3 |
| 1021 | ><TABLE |
| 1022 | BORDER="0" |
| 1023 | BGCOLOR="#D6E8FF" |
| 1024 | WIDTH="100%" |
| 1025 | CELLPADDING="6" |
| 1026 | ><TR |
| 1027 | ><TD |
| 1028 | ><PRE |
| 1029 | CLASS="PROGRAMLISTING" |
| 1030 | >#define CHECK_ERROR</PRE |
| 1031 | ></TD |
| 1032 | ></TR |
| 1033 | ></TABLE |
| 1034 | ><P |
| 1035 | ></P |
| 1036 | ></DIV |
| 1037 | ><HR><DIV |
| 1038 | CLASS="REFSECT2" |
| 1039 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 1040 | NAME="AEN11354" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 1041 | ></A |
| 1042 | ><H3 |
| 1043 | ><A |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 1044 | NAME="CHECK-ERROR0-CAPS" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 1045 | ></A |
| 1046 | >CHECK_ERROR0</H3 |
| 1047 | ><TABLE |
| 1048 | BORDER="0" |
| 1049 | BGCOLOR="#D6E8FF" |
| 1050 | WIDTH="100%" |
| 1051 | CELLPADDING="6" |
| 1052 | ><TR |
| 1053 | ><TD |
| 1054 | ><PRE |
| 1055 | CLASS="PROGRAMLISTING" |
| 1056 | >#define CHECK_ERROR0</PRE |
| 1057 | ></TD |
| 1058 | ></TR |
| 1059 | ></TABLE |
| 1060 | ><P |
| 1061 | ></P |
| 1062 | ></DIV |
| 1063 | ><HR><DIV |
| 1064 | CLASS="REFSECT2" |
| 1065 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 1066 | NAME="AEN11359" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 1067 | ></A |
| 1068 | ><H3 |
| 1069 | ><A |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 1070 | NAME="XP-ERROR-CAPS" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 1071 | ></A |
| 1072 | >XP_ERROR()</H3 |
| 1073 | ><TABLE |
| 1074 | BORDER="0" |
| 1075 | BGCOLOR="#D6E8FF" |
| 1076 | WIDTH="100%" |
| 1077 | CELLPADDING="6" |
| 1078 | ><TR |
| 1079 | ><TD |
| 1080 | ><PRE |
| 1081 | CLASS="PROGRAMLISTING" |
| 1082 | >#define XP_ERROR(X)</PRE |
| 1083 | ></TD |
| 1084 | ></TR |
| 1085 | ></TABLE |
| 1086 | ><P |
| 1087 | ></P |
| 1088 | ><DIV |
| 1089 | CLASS="INFORMALTABLE" |
| 1090 | ><P |
| 1091 | ></P |
| 1092 | ><TABLE |
| 1093 | BORDER="0" |
| 1094 | WIDTH="100%" |
| 1095 | BGCOLOR="#FFD0D0" |
| 1096 | CELLSPACING="0" |
| 1097 | CELLPADDING="4" |
| 1098 | CLASS="CALSTABLE" |
| 1099 | ><TR |
| 1100 | ><TD |
| 1101 | WIDTH="20%" |
| 1102 | ALIGN="RIGHT" |
| 1103 | VALIGN="TOP" |
| 1104 | ><TT |
| 1105 | CLASS="PARAMETER" |
| 1106 | ><I |
| 1107 | >X</I |
| 1108 | ></TT |
| 1109 | > :</TD |
| 1110 | ><TD |
| 1111 | WIDTH="80%" |
| 1112 | ALIGN="LEFT" |
| 1113 | VALIGN="TOP" |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 1114 | > </TD |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 1115 | ></TR |
| 1116 | ></TABLE |
| 1117 | ><P |
| 1118 | ></P |
| 1119 | ></DIV |
| 1120 | ></DIV |
| 1121 | ><HR><DIV |
| 1122 | CLASS="REFSECT2" |
| 1123 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 1124 | NAME="AEN11373" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 1125 | ></A |
| 1126 | ><H3 |
| 1127 | ><A |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 1128 | NAME="XP-ERROR0-CAPS" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 1129 | ></A |
| 1130 | >XP_ERROR0()</H3 |
| 1131 | ><TABLE |
| 1132 | BORDER="0" |
| 1133 | BGCOLOR="#D6E8FF" |
| 1134 | WIDTH="100%" |
| 1135 | CELLPADDING="6" |
| 1136 | ><TR |
| 1137 | ><TD |
| 1138 | ><PRE |
| 1139 | CLASS="PROGRAMLISTING" |
| 1140 | >#define XP_ERROR0(X)</PRE |
| 1141 | ></TD |
| 1142 | ></TR |
| 1143 | ></TABLE |
| 1144 | ><P |
| 1145 | ></P |
| 1146 | ><DIV |
| 1147 | CLASS="INFORMALTABLE" |
| 1148 | ><P |
| 1149 | ></P |
| 1150 | ><TABLE |
| 1151 | BORDER="0" |
| 1152 | WIDTH="100%" |
| 1153 | BGCOLOR="#FFD0D0" |
| 1154 | CELLSPACING="0" |
| 1155 | CELLPADDING="4" |
| 1156 | CLASS="CALSTABLE" |
| 1157 | ><TR |
| 1158 | ><TD |
| 1159 | WIDTH="20%" |
| 1160 | ALIGN="RIGHT" |
| 1161 | VALIGN="TOP" |
| 1162 | ><TT |
| 1163 | CLASS="PARAMETER" |
| 1164 | ><I |
| 1165 | >X</I |
| 1166 | ></TT |
| 1167 | > :</TD |
| 1168 | ><TD |
| 1169 | WIDTH="80%" |
| 1170 | ALIGN="LEFT" |
| 1171 | VALIGN="TOP" |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 1172 | > </TD |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 1173 | ></TR |
| 1174 | ></TABLE |
| 1175 | ><P |
| 1176 | ></P |
| 1177 | ></DIV |
| 1178 | ></DIV |
| 1179 | ><HR><DIV |
| 1180 | CLASS="REFSECT2" |
| 1181 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 1182 | NAME="AEN11387" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 1183 | ></A |
| 1184 | ><H3 |
| 1185 | ><A |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 1186 | NAME="CHECK-TYPE-CAPS" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 1187 | ></A |
| 1188 | >CHECK_TYPE()</H3 |
| 1189 | ><TABLE |
| 1190 | BORDER="0" |
| 1191 | BGCOLOR="#D6E8FF" |
| 1192 | WIDTH="100%" |
| 1193 | CELLPADDING="6" |
| 1194 | ><TR |
| 1195 | ><TD |
| 1196 | ><PRE |
| 1197 | CLASS="PROGRAMLISTING" |
| 1198 | >#define CHECK_TYPE(typeval)</PRE |
| 1199 | ></TD |
| 1200 | ></TR |
| 1201 | ></TABLE |
| 1202 | ><P |
| 1203 | ></P |
| 1204 | ><DIV |
| 1205 | CLASS="INFORMALTABLE" |
| 1206 | ><P |
| 1207 | ></P |
| 1208 | ><TABLE |
| 1209 | BORDER="0" |
| 1210 | WIDTH="100%" |
| 1211 | BGCOLOR="#FFD0D0" |
| 1212 | CELLSPACING="0" |
| 1213 | CELLPADDING="4" |
| 1214 | CLASS="CALSTABLE" |
| 1215 | ><TR |
| 1216 | ><TD |
| 1217 | WIDTH="20%" |
| 1218 | ALIGN="RIGHT" |
| 1219 | VALIGN="TOP" |
| 1220 | ><TT |
| 1221 | CLASS="PARAMETER" |
| 1222 | ><I |
| 1223 | >typeval</I |
| 1224 | ></TT |
| 1225 | > :</TD |
| 1226 | ><TD |
| 1227 | WIDTH="80%" |
| 1228 | ALIGN="LEFT" |
| 1229 | VALIGN="TOP" |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 1230 | > </TD |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 1231 | ></TR |
| 1232 | ></TABLE |
| 1233 | ><P |
| 1234 | ></P |
| 1235 | ></DIV |
| 1236 | ></DIV |
| 1237 | ><HR><DIV |
| 1238 | CLASS="REFSECT2" |
| 1239 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 1240 | NAME="AEN11401" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 1241 | ></A |
| 1242 | ><H3 |
| 1243 | ><A |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 1244 | NAME="CHECK-ARITY-CAPS" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 1245 | ></A |
| 1246 | >CHECK_ARITY()</H3 |
| 1247 | ><TABLE |
| 1248 | BORDER="0" |
| 1249 | BGCOLOR="#D6E8FF" |
| 1250 | WIDTH="100%" |
| 1251 | CELLPADDING="6" |
| 1252 | ><TR |
| 1253 | ><TD |
| 1254 | ><PRE |
| 1255 | CLASS="PROGRAMLISTING" |
| 1256 | >#define CHECK_ARITY(x)</PRE |
| 1257 | ></TD |
| 1258 | ></TR |
| 1259 | ></TABLE |
| 1260 | ><P |
| 1261 | ></P |
| 1262 | ><DIV |
| 1263 | CLASS="INFORMALTABLE" |
| 1264 | ><P |
| 1265 | ></P |
| 1266 | ><TABLE |
| 1267 | BORDER="0" |
| 1268 | WIDTH="100%" |
| 1269 | BGCOLOR="#FFD0D0" |
| 1270 | CELLSPACING="0" |
| 1271 | CELLPADDING="4" |
| 1272 | CLASS="CALSTABLE" |
| 1273 | ><TR |
| 1274 | ><TD |
| 1275 | WIDTH="20%" |
| 1276 | ALIGN="RIGHT" |
| 1277 | VALIGN="TOP" |
| 1278 | ><TT |
| 1279 | CLASS="PARAMETER" |
| 1280 | ><I |
| 1281 | >x</I |
| 1282 | ></TT |
| 1283 | > :</TD |
| 1284 | ><TD |
| 1285 | WIDTH="80%" |
| 1286 | ALIGN="LEFT" |
| 1287 | VALIGN="TOP" |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 1288 | > </TD |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 1289 | ></TR |
| 1290 | ></TABLE |
| 1291 | ><P |
| 1292 | ></P |
| 1293 | ></DIV |
| 1294 | ></DIV |
| 1295 | ><HR><DIV |
| 1296 | CLASS="REFSECT2" |
| 1297 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 1298 | NAME="AEN11415" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 1299 | ></A |
| 1300 | ><H3 |
| 1301 | ><A |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 1302 | NAME="CAST-TO-STRING-CAPS" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 1303 | ></A |
| 1304 | >CAST_TO_STRING</H3 |
| 1305 | ><TABLE |
| 1306 | BORDER="0" |
| 1307 | BGCOLOR="#D6E8FF" |
| 1308 | WIDTH="100%" |
| 1309 | CELLPADDING="6" |
| 1310 | ><TR |
| 1311 | ><TD |
| 1312 | ><PRE |
| 1313 | CLASS="PROGRAMLISTING" |
| 1314 | >#define CAST_TO_STRING</PRE |
| 1315 | ></TD |
| 1316 | ></TR |
| 1317 | ></TABLE |
| 1318 | ><P |
| 1319 | ></P |
| 1320 | ></DIV |
| 1321 | ><HR><DIV |
| 1322 | CLASS="REFSECT2" |
| 1323 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 1324 | NAME="AEN11420" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 1325 | ></A |
| 1326 | ><H3 |
| 1327 | ><A |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 1328 | NAME="CAST-TO-NUMBER-CAPS" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 1329 | ></A |
| 1330 | >CAST_TO_NUMBER</H3 |
| 1331 | ><TABLE |
| 1332 | BORDER="0" |
| 1333 | BGCOLOR="#D6E8FF" |
| 1334 | WIDTH="100%" |
| 1335 | CELLPADDING="6" |
| 1336 | ><TR |
| 1337 | ><TD |
| 1338 | ><PRE |
| 1339 | CLASS="PROGRAMLISTING" |
| 1340 | >#define CAST_TO_NUMBER</PRE |
| 1341 | ></TD |
| 1342 | ></TR |
| 1343 | ></TABLE |
| 1344 | ><P |
| 1345 | ></P |
| 1346 | ></DIV |
| 1347 | ><HR><DIV |
| 1348 | CLASS="REFSECT2" |
| 1349 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 1350 | NAME="AEN11425" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 1351 | ></A |
| 1352 | ><H3 |
| 1353 | ><A |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 1354 | NAME="CAST-TO-BOOLEAN-CAPS" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 1355 | ></A |
| 1356 | >CAST_TO_BOOLEAN</H3 |
| 1357 | ><TABLE |
| 1358 | BORDER="0" |
| 1359 | BGCOLOR="#D6E8FF" |
| 1360 | WIDTH="100%" |
| 1361 | CELLPADDING="6" |
| 1362 | ><TR |
| 1363 | ><TD |
| 1364 | ><PRE |
| 1365 | CLASS="PROGRAMLISTING" |
| 1366 | >#define CAST_TO_BOOLEAN</PRE |
| 1367 | ></TD |
| 1368 | ></TR |
| 1369 | ></TABLE |
| 1370 | ><P |
| 1371 | ></P |
| 1372 | ></DIV |
| 1373 | ><HR><DIV |
| 1374 | CLASS="REFSECT2" |
| 1375 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 1376 | NAME="AEN11430" |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1377 | ></A |
| 1378 | ><H3 |
| 1379 | ><A |
| 1380 | NAME="XMLXPATHOBJECTPTR" |
| 1381 | ></A |
| 1382 | >xmlXPathObjectPtr ()</H3 |
| 1383 | ><TABLE |
| 1384 | BORDER="0" |
| 1385 | BGCOLOR="#D6E8FF" |
| 1386 | WIDTH="100%" |
| 1387 | CELLPADDING="6" |
| 1388 | ><TR |
| 1389 | ><TD |
| 1390 | ><PRE |
| 1391 | CLASS="PROGRAMLISTING" |
| 1392 | ><GTKDOCLINK |
| 1393 | HREF="TYPEDEF" |
| 1394 | >typedef</GTKDOCLINK |
| 1395 | > xmlXPathObjectPtr ();</PRE |
| 1396 | ></TD |
| 1397 | ></TR |
| 1398 | ></TABLE |
| 1399 | ><P |
| 1400 | ></P |
| 1401 | ><DIV |
| 1402 | CLASS="INFORMALTABLE" |
| 1403 | ><P |
| 1404 | ></P |
| 1405 | ><TABLE |
| 1406 | BORDER="0" |
| 1407 | WIDTH="100%" |
| 1408 | BGCOLOR="#FFD0D0" |
| 1409 | CELLSPACING="0" |
| 1410 | CELLPADDING="4" |
| 1411 | CLASS="CALSTABLE" |
| 1412 | ><TR |
| 1413 | ><TD |
| 1414 | WIDTH="20%" |
| 1415 | ALIGN="RIGHT" |
| 1416 | VALIGN="TOP" |
| 1417 | ><I |
| 1418 | CLASS="EMPHASIS" |
| 1419 | >Returns</I |
| 1420 | > :</TD |
| 1421 | ><TD |
| 1422 | WIDTH="80%" |
| 1423 | ALIGN="LEFT" |
| 1424 | VALIGN="TOP" |
| 1425 | > </TD |
| 1426 | ></TR |
| 1427 | ></TABLE |
| 1428 | ><P |
| 1429 | ></P |
| 1430 | ></DIV |
| 1431 | ></DIV |
| 1432 | ><HR><DIV |
| 1433 | CLASS="REFSECT2" |
| 1434 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 1435 | NAME="AEN11445" |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1436 | ></A |
| 1437 | ><H3 |
| 1438 | ><A |
| 1439 | NAME="XMLXPATHREGISTERVARIABLELOOKUP" |
| 1440 | ></A |
| 1441 | >xmlXPathRegisterVariableLookup ()</H3 |
| 1442 | ><TABLE |
| 1443 | BORDER="0" |
| 1444 | BGCOLOR="#D6E8FF" |
| 1445 | WIDTH="100%" |
| 1446 | CELLPADDING="6" |
| 1447 | ><TR |
| 1448 | ><TD |
| 1449 | ><PRE |
| 1450 | CLASS="PROGRAMLISTING" |
| 1451 | >void xmlXPathRegisterVariableLookup (<A |
| 1452 | HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" |
| 1453 | >xmlXPathContextPtr</A |
| 1454 | > ctxt, |
| 1455 | <GTKDOCLINK |
| 1456 | HREF="XMLXPATHVARIABLELOOKUPFUNC" |
| 1457 | >xmlXPathVariableLookupFunc</GTKDOCLINK |
| 1458 | > f, |
| 1459 | void *varCtxt);</PRE |
| 1460 | ></TD |
| 1461 | ></TR |
| 1462 | ></TABLE |
| 1463 | ><P |
| 1464 | >register an external mechanism to do variable lookup</P |
| 1465 | ><P |
| 1466 | ></P |
| 1467 | ><DIV |
| 1468 | CLASS="INFORMALTABLE" |
| 1469 | ><P |
| 1470 | ></P |
| 1471 | ><TABLE |
| 1472 | BORDER="0" |
| 1473 | WIDTH="100%" |
| 1474 | BGCOLOR="#FFD0D0" |
| 1475 | CELLSPACING="0" |
| 1476 | CELLPADDING="4" |
| 1477 | CLASS="CALSTABLE" |
| 1478 | ><TR |
| 1479 | ><TD |
| 1480 | WIDTH="20%" |
| 1481 | ALIGN="RIGHT" |
| 1482 | VALIGN="TOP" |
| 1483 | ><TT |
| 1484 | CLASS="PARAMETER" |
| 1485 | ><I |
| 1486 | >ctxt</I |
| 1487 | ></TT |
| 1488 | > :</TD |
| 1489 | ><TD |
| 1490 | WIDTH="80%" |
| 1491 | ALIGN="LEFT" |
| 1492 | VALIGN="TOP" |
| 1493 | > the XPath context</TD |
| 1494 | ></TR |
| 1495 | ><TR |
| 1496 | ><TD |
| 1497 | WIDTH="20%" |
| 1498 | ALIGN="RIGHT" |
| 1499 | VALIGN="TOP" |
| 1500 | ><TT |
| 1501 | CLASS="PARAMETER" |
| 1502 | ><I |
| 1503 | >f</I |
| 1504 | ></TT |
| 1505 | > :</TD |
| 1506 | ><TD |
| 1507 | WIDTH="80%" |
| 1508 | ALIGN="LEFT" |
| 1509 | VALIGN="TOP" |
| 1510 | > the lookup function</TD |
| 1511 | ></TR |
| 1512 | ><TR |
| 1513 | ><TD |
| 1514 | WIDTH="20%" |
| 1515 | ALIGN="RIGHT" |
| 1516 | VALIGN="TOP" |
| 1517 | ><TT |
| 1518 | CLASS="PARAMETER" |
| 1519 | ><I |
| 1520 | >varCtxt</I |
| 1521 | ></TT |
| 1522 | > :</TD |
| 1523 | ><TD |
| 1524 | WIDTH="80%" |
| 1525 | ALIGN="LEFT" |
| 1526 | VALIGN="TOP" |
| 1527 | > </TD |
| 1528 | ></TR |
| 1529 | ></TABLE |
| 1530 | ><P |
| 1531 | ></P |
| 1532 | ></DIV |
| 1533 | ></DIV |
| 1534 | ><HR><DIV |
| 1535 | CLASS="REFSECT2" |
| 1536 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 1537 | NAME="AEN11470" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 1538 | ></A |
| 1539 | ><H3 |
| 1540 | ><A |
| 1541 | NAME="XMLXPATHERROR" |
| 1542 | ></A |
| 1543 | >xmlXPatherror ()</H3 |
| 1544 | ><TABLE |
| 1545 | BORDER="0" |
| 1546 | BGCOLOR="#D6E8FF" |
| 1547 | WIDTH="100%" |
| 1548 | CELLPADDING="6" |
| 1549 | ><TR |
| 1550 | ><TD |
| 1551 | ><PRE |
| 1552 | CLASS="PROGRAMLISTING" |
| 1553 | >void xmlXPatherror (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1554 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 1555 | >xmlXPathParserContextPtr</A |
| 1556 | > ctxt, |
| 1557 | const char *file, |
| 1558 | int line, |
| 1559 | int no);</PRE |
| 1560 | ></TD |
| 1561 | ></TR |
| 1562 | ></TABLE |
| 1563 | ><P |
| 1564 | ></P |
| 1565 | ><DIV |
| 1566 | CLASS="INFORMALTABLE" |
| 1567 | ><P |
| 1568 | ></P |
| 1569 | ><TABLE |
| 1570 | BORDER="0" |
| 1571 | WIDTH="100%" |
| 1572 | BGCOLOR="#FFD0D0" |
| 1573 | CELLSPACING="0" |
| 1574 | CELLPADDING="4" |
| 1575 | CLASS="CALSTABLE" |
| 1576 | ><TR |
| 1577 | ><TD |
| 1578 | WIDTH="20%" |
| 1579 | ALIGN="RIGHT" |
| 1580 | VALIGN="TOP" |
| 1581 | ><TT |
| 1582 | CLASS="PARAMETER" |
| 1583 | ><I |
| 1584 | >ctxt</I |
| 1585 | ></TT |
| 1586 | > :</TD |
| 1587 | ><TD |
| 1588 | WIDTH="80%" |
| 1589 | ALIGN="LEFT" |
| 1590 | VALIGN="TOP" |
| 1591 | > </TD |
| 1592 | ></TR |
| 1593 | ><TR |
| 1594 | ><TD |
| 1595 | WIDTH="20%" |
| 1596 | ALIGN="RIGHT" |
| 1597 | VALIGN="TOP" |
| 1598 | ><TT |
| 1599 | CLASS="PARAMETER" |
| 1600 | ><I |
| 1601 | >file</I |
| 1602 | ></TT |
| 1603 | > :</TD |
| 1604 | ><TD |
| 1605 | WIDTH="80%" |
| 1606 | ALIGN="LEFT" |
| 1607 | VALIGN="TOP" |
| 1608 | > </TD |
| 1609 | ></TR |
| 1610 | ><TR |
| 1611 | ><TD |
| 1612 | WIDTH="20%" |
| 1613 | ALIGN="RIGHT" |
| 1614 | VALIGN="TOP" |
| 1615 | ><TT |
| 1616 | CLASS="PARAMETER" |
| 1617 | ><I |
| 1618 | >line</I |
| 1619 | ></TT |
| 1620 | > :</TD |
| 1621 | ><TD |
| 1622 | WIDTH="80%" |
| 1623 | ALIGN="LEFT" |
| 1624 | VALIGN="TOP" |
| 1625 | > </TD |
| 1626 | ></TR |
| 1627 | ><TR |
| 1628 | ><TD |
| 1629 | WIDTH="20%" |
| 1630 | ALIGN="RIGHT" |
| 1631 | VALIGN="TOP" |
| 1632 | ><TT |
| 1633 | CLASS="PARAMETER" |
| 1634 | ><I |
| 1635 | >no</I |
| 1636 | ></TT |
| 1637 | > :</TD |
| 1638 | ><TD |
| 1639 | WIDTH="80%" |
| 1640 | ALIGN="LEFT" |
| 1641 | VALIGN="TOP" |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 1642 | > </TD |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 1643 | ></TR |
| 1644 | ></TABLE |
| 1645 | ><P |
| 1646 | ></P |
| 1647 | ></DIV |
| 1648 | ></DIV |
| 1649 | ><HR><DIV |
| 1650 | CLASS="REFSECT2" |
| 1651 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 1652 | NAME="AEN11497" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 1653 | ></A |
| 1654 | ><H3 |
| 1655 | ><A |
| 1656 | NAME="XMLXPATHDEBUGDUMPOBJECT" |
| 1657 | ></A |
| 1658 | >xmlXPathDebugDumpObject ()</H3 |
| 1659 | ><TABLE |
| 1660 | BORDER="0" |
| 1661 | BGCOLOR="#D6E8FF" |
| 1662 | WIDTH="100%" |
| 1663 | CELLPADDING="6" |
| 1664 | ><TR |
| 1665 | ><TD |
| 1666 | ><PRE |
| 1667 | CLASS="PROGRAMLISTING" |
| 1668 | >void xmlXPathDebugDumpObject (<GTKDOCLINK |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 1669 | HREF="FILE-CAPS" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 1670 | >FILE</GTKDOCLINK |
| 1671 | > *output, |
| 1672 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1673 | HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 1674 | >xmlXPathObjectPtr</A |
| 1675 | > cur, |
| 1676 | int depth);</PRE |
| 1677 | ></TD |
| 1678 | ></TR |
| 1679 | ></TABLE |
| 1680 | ><P |
| 1681 | ></P |
| 1682 | ><DIV |
| 1683 | CLASS="INFORMALTABLE" |
| 1684 | ><P |
| 1685 | ></P |
| 1686 | ><TABLE |
| 1687 | BORDER="0" |
| 1688 | WIDTH="100%" |
| 1689 | BGCOLOR="#FFD0D0" |
| 1690 | CELLSPACING="0" |
| 1691 | CELLPADDING="4" |
| 1692 | CLASS="CALSTABLE" |
| 1693 | ><TR |
| 1694 | ><TD |
| 1695 | WIDTH="20%" |
| 1696 | ALIGN="RIGHT" |
| 1697 | VALIGN="TOP" |
| 1698 | ><TT |
| 1699 | CLASS="PARAMETER" |
| 1700 | ><I |
| 1701 | >output</I |
| 1702 | ></TT |
| 1703 | > :</TD |
| 1704 | ><TD |
| 1705 | WIDTH="80%" |
| 1706 | ALIGN="LEFT" |
| 1707 | VALIGN="TOP" |
| 1708 | > </TD |
| 1709 | ></TR |
| 1710 | ><TR |
| 1711 | ><TD |
| 1712 | WIDTH="20%" |
| 1713 | ALIGN="RIGHT" |
| 1714 | VALIGN="TOP" |
| 1715 | ><TT |
| 1716 | CLASS="PARAMETER" |
| 1717 | ><I |
| 1718 | >cur</I |
| 1719 | ></TT |
| 1720 | > :</TD |
| 1721 | ><TD |
| 1722 | WIDTH="80%" |
| 1723 | ALIGN="LEFT" |
| 1724 | VALIGN="TOP" |
| 1725 | > </TD |
| 1726 | ></TR |
| 1727 | ><TR |
| 1728 | ><TD |
| 1729 | WIDTH="20%" |
| 1730 | ALIGN="RIGHT" |
| 1731 | VALIGN="TOP" |
| 1732 | ><TT |
| 1733 | CLASS="PARAMETER" |
| 1734 | ><I |
| 1735 | >depth</I |
| 1736 | ></TT |
| 1737 | > :</TD |
| 1738 | ><TD |
| 1739 | WIDTH="80%" |
| 1740 | ALIGN="LEFT" |
| 1741 | VALIGN="TOP" |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 1742 | > </TD |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 1743 | ></TR |
| 1744 | ></TABLE |
| 1745 | ><P |
| 1746 | ></P |
| 1747 | ></DIV |
| 1748 | ></DIV |
| 1749 | ><HR><DIV |
| 1750 | CLASS="REFSECT2" |
| 1751 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 1752 | NAME="AEN11521" |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 1753 | ></A |
| 1754 | ><H3 |
| 1755 | ><A |
| 1756 | NAME="XMLXPATHREGISTERNS" |
| 1757 | ></A |
| 1758 | >xmlXPathRegisterNs ()</H3 |
| 1759 | ><TABLE |
| 1760 | BORDER="0" |
| 1761 | BGCOLOR="#D6E8FF" |
| 1762 | WIDTH="100%" |
| 1763 | CELLPADDING="6" |
| 1764 | ><TR |
| 1765 | ><TD |
| 1766 | ><PRE |
| 1767 | CLASS="PROGRAMLISTING" |
| 1768 | >int xmlXPathRegisterNs (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1769 | HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 1770 | >xmlXPathContextPtr</A |
| 1771 | > ctxt, |
| 1772 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1773 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 1774 | >xmlChar</A |
| 1775 | > *prefix, |
| 1776 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1777 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 1778 | >xmlChar</A |
| 1779 | > *ns_uri);</PRE |
| 1780 | ></TD |
| 1781 | ></TR |
| 1782 | ></TABLE |
| 1783 | ><P |
| 1784 | >Register a new namespace. If <TT |
| 1785 | CLASS="PARAMETER" |
| 1786 | ><I |
| 1787 | >ns_uri</I |
| 1788 | ></TT |
| 1789 | > is NULL it unregisters |
| 1790 | the namespace</P |
| 1791 | ><P |
| 1792 | ></P |
| 1793 | ><DIV |
| 1794 | CLASS="INFORMALTABLE" |
| 1795 | ><P |
| 1796 | ></P |
| 1797 | ><TABLE |
| 1798 | BORDER="0" |
| 1799 | WIDTH="100%" |
| 1800 | BGCOLOR="#FFD0D0" |
| 1801 | CELLSPACING="0" |
| 1802 | CELLPADDING="4" |
| 1803 | CLASS="CALSTABLE" |
| 1804 | ><TR |
| 1805 | ><TD |
| 1806 | WIDTH="20%" |
| 1807 | ALIGN="RIGHT" |
| 1808 | VALIGN="TOP" |
| 1809 | ><TT |
| 1810 | CLASS="PARAMETER" |
| 1811 | ><I |
| 1812 | >ctxt</I |
| 1813 | ></TT |
| 1814 | > :</TD |
| 1815 | ><TD |
| 1816 | WIDTH="80%" |
| 1817 | ALIGN="LEFT" |
| 1818 | VALIGN="TOP" |
| 1819 | > the XPath context</TD |
| 1820 | ></TR |
| 1821 | ><TR |
| 1822 | ><TD |
| 1823 | WIDTH="20%" |
| 1824 | ALIGN="RIGHT" |
| 1825 | VALIGN="TOP" |
| 1826 | ><TT |
| 1827 | CLASS="PARAMETER" |
| 1828 | ><I |
| 1829 | >prefix</I |
| 1830 | ></TT |
| 1831 | > :</TD |
| 1832 | ><TD |
| 1833 | WIDTH="80%" |
| 1834 | ALIGN="LEFT" |
| 1835 | VALIGN="TOP" |
| 1836 | > the namespace prefix</TD |
| 1837 | ></TR |
| 1838 | ><TR |
| 1839 | ><TD |
| 1840 | WIDTH="20%" |
| 1841 | ALIGN="RIGHT" |
| 1842 | VALIGN="TOP" |
| 1843 | ><TT |
| 1844 | CLASS="PARAMETER" |
| 1845 | ><I |
| 1846 | >ns_uri</I |
| 1847 | ></TT |
| 1848 | > :</TD |
| 1849 | ><TD |
| 1850 | WIDTH="80%" |
| 1851 | ALIGN="LEFT" |
| 1852 | VALIGN="TOP" |
| 1853 | > the namespace name</TD |
| 1854 | ></TR |
| 1855 | ><TR |
| 1856 | ><TD |
| 1857 | WIDTH="20%" |
| 1858 | ALIGN="RIGHT" |
| 1859 | VALIGN="TOP" |
| 1860 | ><I |
| 1861 | CLASS="EMPHASIS" |
| 1862 | >Returns</I |
| 1863 | > :</TD |
| 1864 | ><TD |
| 1865 | WIDTH="80%" |
| 1866 | ALIGN="LEFT" |
| 1867 | VALIGN="TOP" |
| 1868 | >0 in case of success, -1 in case of error</TD |
| 1869 | ></TR |
| 1870 | ></TABLE |
| 1871 | ><P |
| 1872 | ></P |
| 1873 | ></DIV |
| 1874 | ></DIV |
| 1875 | ><HR><DIV |
| 1876 | CLASS="REFSECT2" |
| 1877 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 1878 | NAME="AEN11552" |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 1879 | ></A |
| 1880 | ><H3 |
| 1881 | ><A |
| 1882 | NAME="XMLXPATHNSLOOKUP" |
| 1883 | ></A |
| 1884 | >xmlXPathNsLookup ()</H3 |
| 1885 | ><TABLE |
| 1886 | BORDER="0" |
| 1887 | BGCOLOR="#D6E8FF" |
| 1888 | WIDTH="100%" |
| 1889 | CELLPADDING="6" |
| 1890 | ><TR |
| 1891 | ><TD |
| 1892 | ><PRE |
| 1893 | CLASS="PROGRAMLISTING" |
| 1894 | >const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1895 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 1896 | >xmlChar</A |
| 1897 | >* xmlXPathNsLookup (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1898 | HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 1899 | >xmlXPathContextPtr</A |
| 1900 | > ctxt, |
| 1901 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1902 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 1903 | >xmlChar</A |
| 1904 | > *ns_uri);</PRE |
| 1905 | ></TD |
| 1906 | ></TR |
| 1907 | ></TABLE |
| 1908 | ><P |
| 1909 | >Search in the namespace declaration array of the context for the given |
| 1910 | namespace name associated to the given prefix</P |
| 1911 | ><P |
| 1912 | ></P |
| 1913 | ><DIV |
| 1914 | CLASS="INFORMALTABLE" |
| 1915 | ><P |
| 1916 | ></P |
| 1917 | ><TABLE |
| 1918 | BORDER="0" |
| 1919 | WIDTH="100%" |
| 1920 | BGCOLOR="#FFD0D0" |
| 1921 | CELLSPACING="0" |
| 1922 | CELLPADDING="4" |
| 1923 | CLASS="CALSTABLE" |
| 1924 | ><TR |
| 1925 | ><TD |
| 1926 | WIDTH="20%" |
| 1927 | ALIGN="RIGHT" |
| 1928 | VALIGN="TOP" |
| 1929 | ><TT |
| 1930 | CLASS="PARAMETER" |
| 1931 | ><I |
| 1932 | >ctxt</I |
| 1933 | ></TT |
| 1934 | > :</TD |
| 1935 | ><TD |
| 1936 | WIDTH="80%" |
| 1937 | ALIGN="LEFT" |
| 1938 | VALIGN="TOP" |
| 1939 | > the XPath context</TD |
| 1940 | ></TR |
| 1941 | ><TR |
| 1942 | ><TD |
| 1943 | WIDTH="20%" |
| 1944 | ALIGN="RIGHT" |
| 1945 | VALIGN="TOP" |
| 1946 | ><TT |
| 1947 | CLASS="PARAMETER" |
| 1948 | ><I |
| 1949 | >ns_uri</I |
| 1950 | ></TT |
| 1951 | > :</TD |
| 1952 | ><TD |
| 1953 | WIDTH="80%" |
| 1954 | ALIGN="LEFT" |
| 1955 | VALIGN="TOP" |
| 1956 | > </TD |
| 1957 | ></TR |
| 1958 | ><TR |
| 1959 | ><TD |
| 1960 | WIDTH="20%" |
| 1961 | ALIGN="RIGHT" |
| 1962 | VALIGN="TOP" |
| 1963 | ><I |
| 1964 | CLASS="EMPHASIS" |
| 1965 | >Returns</I |
| 1966 | > :</TD |
| 1967 | ><TD |
| 1968 | WIDTH="80%" |
| 1969 | ALIGN="LEFT" |
| 1970 | VALIGN="TOP" |
| 1971 | >the value or NULL if not found</TD |
| 1972 | ></TR |
| 1973 | ></TABLE |
| 1974 | ><P |
| 1975 | ></P |
| 1976 | ></DIV |
| 1977 | ></DIV |
| 1978 | ><HR><DIV |
| 1979 | CLASS="REFSECT2" |
| 1980 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 1981 | NAME="AEN11578" |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 1982 | ></A |
| 1983 | ><H3 |
| 1984 | ><A |
| 1985 | NAME="XMLXPATHREGISTEREDNSCLEANUP" |
| 1986 | ></A |
| 1987 | >xmlXPathRegisteredNsCleanup ()</H3 |
| 1988 | ><TABLE |
| 1989 | BORDER="0" |
| 1990 | BGCOLOR="#D6E8FF" |
| 1991 | WIDTH="100%" |
| 1992 | CELLPADDING="6" |
| 1993 | ><TR |
| 1994 | ><TD |
| 1995 | ><PRE |
| 1996 | CLASS="PROGRAMLISTING" |
| 1997 | >void xmlXPathRegisteredNsCleanup (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1998 | HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 1999 | >xmlXPathContextPtr</A |
| 2000 | > ctxt);</PRE |
| 2001 | ></TD |
| 2002 | ></TR |
| 2003 | ></TABLE |
| 2004 | ><P |
| 2005 | ></P |
| 2006 | ><DIV |
| 2007 | CLASS="INFORMALTABLE" |
| 2008 | ><P |
| 2009 | ></P |
| 2010 | ><TABLE |
| 2011 | BORDER="0" |
| 2012 | WIDTH="100%" |
| 2013 | BGCOLOR="#FFD0D0" |
| 2014 | CELLSPACING="0" |
| 2015 | CELLPADDING="4" |
| 2016 | CLASS="CALSTABLE" |
| 2017 | ><TR |
| 2018 | ><TD |
| 2019 | WIDTH="20%" |
| 2020 | ALIGN="RIGHT" |
| 2021 | VALIGN="TOP" |
| 2022 | ><TT |
| 2023 | CLASS="PARAMETER" |
| 2024 | ><I |
| 2025 | >ctxt</I |
| 2026 | ></TT |
| 2027 | > :</TD |
| 2028 | ><TD |
| 2029 | WIDTH="80%" |
| 2030 | ALIGN="LEFT" |
| 2031 | VALIGN="TOP" |
| 2032 | > </TD |
| 2033 | ></TR |
| 2034 | ></TABLE |
| 2035 | ><P |
| 2036 | ></P |
| 2037 | ></DIV |
| 2038 | ></DIV |
| 2039 | ><HR><DIV |
| 2040 | CLASS="REFSECT2" |
| 2041 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 2042 | NAME="AEN11593" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 2043 | ></A |
| 2044 | ><H3 |
| 2045 | ><A |
| 2046 | NAME="XMLXPATHREGISTERFUNC" |
| 2047 | ></A |
| 2048 | >xmlXPathRegisterFunc ()</H3 |
| 2049 | ><TABLE |
| 2050 | BORDER="0" |
| 2051 | BGCOLOR="#D6E8FF" |
| 2052 | WIDTH="100%" |
| 2053 | CELLPADDING="6" |
| 2054 | ><TR |
| 2055 | ><TD |
| 2056 | ><PRE |
| 2057 | CLASS="PROGRAMLISTING" |
| 2058 | >int xmlXPathRegisterFunc (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2059 | HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 2060 | >xmlXPathContextPtr</A |
| 2061 | > ctxt, |
| 2062 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2063 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 2064 | >xmlChar</A |
| 2065 | > *name, |
| 2066 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2067 | HREF="libxml-xpath.html#XMLXPATHFUNCTION" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 2068 | >xmlXPathFunction</A |
| 2069 | > f);</PRE |
| 2070 | ></TD |
| 2071 | ></TR |
| 2072 | ></TABLE |
| 2073 | ><P |
| 2074 | >Register a new function. If <TT |
| 2075 | CLASS="PARAMETER" |
| 2076 | ><I |
| 2077 | >f</I |
| 2078 | ></TT |
| 2079 | > is NULL it unregisters the function</P |
| 2080 | ><P |
| 2081 | ></P |
| 2082 | ><DIV |
| 2083 | CLASS="INFORMALTABLE" |
| 2084 | ><P |
| 2085 | ></P |
| 2086 | ><TABLE |
| 2087 | BORDER="0" |
| 2088 | WIDTH="100%" |
| 2089 | BGCOLOR="#FFD0D0" |
| 2090 | CELLSPACING="0" |
| 2091 | CELLPADDING="4" |
| 2092 | CLASS="CALSTABLE" |
| 2093 | ><TR |
| 2094 | ><TD |
| 2095 | WIDTH="20%" |
| 2096 | ALIGN="RIGHT" |
| 2097 | VALIGN="TOP" |
| 2098 | ><TT |
| 2099 | CLASS="PARAMETER" |
| 2100 | ><I |
| 2101 | >ctxt</I |
| 2102 | ></TT |
| 2103 | > :</TD |
| 2104 | ><TD |
| 2105 | WIDTH="80%" |
| 2106 | ALIGN="LEFT" |
| 2107 | VALIGN="TOP" |
| 2108 | > the XPath context</TD |
| 2109 | ></TR |
| 2110 | ><TR |
| 2111 | ><TD |
| 2112 | WIDTH="20%" |
| 2113 | ALIGN="RIGHT" |
| 2114 | VALIGN="TOP" |
| 2115 | ><TT |
| 2116 | CLASS="PARAMETER" |
| 2117 | ><I |
| 2118 | >name</I |
| 2119 | ></TT |
| 2120 | > :</TD |
| 2121 | ><TD |
| 2122 | WIDTH="80%" |
| 2123 | ALIGN="LEFT" |
| 2124 | VALIGN="TOP" |
| 2125 | > the function name</TD |
| 2126 | ></TR |
| 2127 | ><TR |
| 2128 | ><TD |
| 2129 | WIDTH="20%" |
| 2130 | ALIGN="RIGHT" |
| 2131 | VALIGN="TOP" |
| 2132 | ><TT |
| 2133 | CLASS="PARAMETER" |
| 2134 | ><I |
| 2135 | >f</I |
| 2136 | ></TT |
| 2137 | > :</TD |
| 2138 | ><TD |
| 2139 | WIDTH="80%" |
| 2140 | ALIGN="LEFT" |
| 2141 | VALIGN="TOP" |
| 2142 | > the function implementation or NULL</TD |
| 2143 | ></TR |
| 2144 | ><TR |
| 2145 | ><TD |
| 2146 | WIDTH="20%" |
| 2147 | ALIGN="RIGHT" |
| 2148 | VALIGN="TOP" |
| 2149 | ><I |
| 2150 | CLASS="EMPHASIS" |
| 2151 | >Returns</I |
| 2152 | > :</TD |
| 2153 | ><TD |
| 2154 | WIDTH="80%" |
| 2155 | ALIGN="LEFT" |
| 2156 | VALIGN="TOP" |
| 2157 | >0 in case of success, -1 in case of error</TD |
| 2158 | ></TR |
| 2159 | ></TABLE |
| 2160 | ><P |
| 2161 | ></P |
| 2162 | ></DIV |
| 2163 | ></DIV |
| 2164 | ><HR><DIV |
| 2165 | CLASS="REFSECT2" |
| 2166 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 2167 | NAME="AEN11624" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 2168 | ></A |
| 2169 | ><H3 |
| 2170 | ><A |
| 2171 | NAME="XMLXPATHREGISTERFUNCNS" |
| 2172 | ></A |
| 2173 | >xmlXPathRegisterFuncNS ()</H3 |
| 2174 | ><TABLE |
| 2175 | BORDER="0" |
| 2176 | BGCOLOR="#D6E8FF" |
| 2177 | WIDTH="100%" |
| 2178 | CELLPADDING="6" |
| 2179 | ><TR |
| 2180 | ><TD |
| 2181 | ><PRE |
| 2182 | CLASS="PROGRAMLISTING" |
| 2183 | >int xmlXPathRegisterFuncNS (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2184 | HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 2185 | >xmlXPathContextPtr</A |
| 2186 | > ctxt, |
| 2187 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2188 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 2189 | >xmlChar</A |
| 2190 | > *name, |
| 2191 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2192 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 2193 | >xmlChar</A |
| 2194 | > *ns_uri, |
| 2195 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2196 | HREF="libxml-xpath.html#XMLXPATHFUNCTION" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 2197 | >xmlXPathFunction</A |
| 2198 | > f);</PRE |
| 2199 | ></TD |
| 2200 | ></TR |
| 2201 | ></TABLE |
| 2202 | ><P |
| 2203 | >Register a new function. If <TT |
| 2204 | CLASS="PARAMETER" |
| 2205 | ><I |
| 2206 | >f</I |
| 2207 | ></TT |
| 2208 | > is NULL it unregisters the function</P |
| 2209 | ><P |
| 2210 | ></P |
| 2211 | ><DIV |
| 2212 | CLASS="INFORMALTABLE" |
| 2213 | ><P |
| 2214 | ></P |
| 2215 | ><TABLE |
| 2216 | BORDER="0" |
| 2217 | WIDTH="100%" |
| 2218 | BGCOLOR="#FFD0D0" |
| 2219 | CELLSPACING="0" |
| 2220 | CELLPADDING="4" |
| 2221 | CLASS="CALSTABLE" |
| 2222 | ><TR |
| 2223 | ><TD |
| 2224 | WIDTH="20%" |
| 2225 | ALIGN="RIGHT" |
| 2226 | VALIGN="TOP" |
| 2227 | ><TT |
| 2228 | CLASS="PARAMETER" |
| 2229 | ><I |
| 2230 | >ctxt</I |
| 2231 | ></TT |
| 2232 | > :</TD |
| 2233 | ><TD |
| 2234 | WIDTH="80%" |
| 2235 | ALIGN="LEFT" |
| 2236 | VALIGN="TOP" |
| 2237 | > the XPath context</TD |
| 2238 | ></TR |
| 2239 | ><TR |
| 2240 | ><TD |
| 2241 | WIDTH="20%" |
| 2242 | ALIGN="RIGHT" |
| 2243 | VALIGN="TOP" |
| 2244 | ><TT |
| 2245 | CLASS="PARAMETER" |
| 2246 | ><I |
| 2247 | >name</I |
| 2248 | ></TT |
| 2249 | > :</TD |
| 2250 | ><TD |
| 2251 | WIDTH="80%" |
| 2252 | ALIGN="LEFT" |
| 2253 | VALIGN="TOP" |
| 2254 | > the function name</TD |
| 2255 | ></TR |
| 2256 | ><TR |
| 2257 | ><TD |
| 2258 | WIDTH="20%" |
| 2259 | ALIGN="RIGHT" |
| 2260 | VALIGN="TOP" |
| 2261 | ><TT |
| 2262 | CLASS="PARAMETER" |
| 2263 | ><I |
| 2264 | >ns_uri</I |
| 2265 | ></TT |
| 2266 | > :</TD |
| 2267 | ><TD |
| 2268 | WIDTH="80%" |
| 2269 | ALIGN="LEFT" |
| 2270 | VALIGN="TOP" |
| 2271 | > the function namespace URI</TD |
| 2272 | ></TR |
| 2273 | ><TR |
| 2274 | ><TD |
| 2275 | WIDTH="20%" |
| 2276 | ALIGN="RIGHT" |
| 2277 | VALIGN="TOP" |
| 2278 | ><TT |
| 2279 | CLASS="PARAMETER" |
| 2280 | ><I |
| 2281 | >f</I |
| 2282 | ></TT |
| 2283 | > :</TD |
| 2284 | ><TD |
| 2285 | WIDTH="80%" |
| 2286 | ALIGN="LEFT" |
| 2287 | VALIGN="TOP" |
| 2288 | > the function implementation or NULL</TD |
| 2289 | ></TR |
| 2290 | ><TR |
| 2291 | ><TD |
| 2292 | WIDTH="20%" |
| 2293 | ALIGN="RIGHT" |
| 2294 | VALIGN="TOP" |
| 2295 | ><I |
| 2296 | CLASS="EMPHASIS" |
| 2297 | >Returns</I |
| 2298 | > :</TD |
| 2299 | ><TD |
| 2300 | WIDTH="80%" |
| 2301 | ALIGN="LEFT" |
| 2302 | VALIGN="TOP" |
| 2303 | >0 in case of success, -1 in case of error</TD |
| 2304 | ></TR |
| 2305 | ></TABLE |
| 2306 | ><P |
| 2307 | ></P |
| 2308 | ></DIV |
| 2309 | ></DIV |
| 2310 | ><HR><DIV |
| 2311 | CLASS="REFSECT2" |
| 2312 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 2313 | NAME="AEN11660" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 2314 | ></A |
| 2315 | ><H3 |
| 2316 | ><A |
| 2317 | NAME="XMLXPATHREGISTERVARIABLE" |
| 2318 | ></A |
| 2319 | >xmlXPathRegisterVariable ()</H3 |
| 2320 | ><TABLE |
| 2321 | BORDER="0" |
| 2322 | BGCOLOR="#D6E8FF" |
| 2323 | WIDTH="100%" |
| 2324 | CELLPADDING="6" |
| 2325 | ><TR |
| 2326 | ><TD |
| 2327 | ><PRE |
| 2328 | CLASS="PROGRAMLISTING" |
| 2329 | >int xmlXPathRegisterVariable (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2330 | HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 2331 | >xmlXPathContextPtr</A |
| 2332 | > ctxt, |
| 2333 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2334 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 2335 | >xmlChar</A |
| 2336 | > *name, |
| 2337 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2338 | HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 2339 | >xmlXPathObjectPtr</A |
| 2340 | > value);</PRE |
| 2341 | ></TD |
| 2342 | ></TR |
| 2343 | ></TABLE |
| 2344 | ><P |
| 2345 | >Register a new variable value. If <TT |
| 2346 | CLASS="PARAMETER" |
| 2347 | ><I |
| 2348 | >value</I |
| 2349 | ></TT |
| 2350 | > is NULL it unregisters |
| 2351 | the variable</P |
| 2352 | ><P |
| 2353 | ></P |
| 2354 | ><DIV |
| 2355 | CLASS="INFORMALTABLE" |
| 2356 | ><P |
| 2357 | ></P |
| 2358 | ><TABLE |
| 2359 | BORDER="0" |
| 2360 | WIDTH="100%" |
| 2361 | BGCOLOR="#FFD0D0" |
| 2362 | CELLSPACING="0" |
| 2363 | CELLPADDING="4" |
| 2364 | CLASS="CALSTABLE" |
| 2365 | ><TR |
| 2366 | ><TD |
| 2367 | WIDTH="20%" |
| 2368 | ALIGN="RIGHT" |
| 2369 | VALIGN="TOP" |
| 2370 | ><TT |
| 2371 | CLASS="PARAMETER" |
| 2372 | ><I |
| 2373 | >ctxt</I |
| 2374 | ></TT |
| 2375 | > :</TD |
| 2376 | ><TD |
| 2377 | WIDTH="80%" |
| 2378 | ALIGN="LEFT" |
| 2379 | VALIGN="TOP" |
| 2380 | > the XPath context</TD |
| 2381 | ></TR |
| 2382 | ><TR |
| 2383 | ><TD |
| 2384 | WIDTH="20%" |
| 2385 | ALIGN="RIGHT" |
| 2386 | VALIGN="TOP" |
| 2387 | ><TT |
| 2388 | CLASS="PARAMETER" |
| 2389 | ><I |
| 2390 | >name</I |
| 2391 | ></TT |
| 2392 | > :</TD |
| 2393 | ><TD |
| 2394 | WIDTH="80%" |
| 2395 | ALIGN="LEFT" |
| 2396 | VALIGN="TOP" |
| 2397 | > the variable name</TD |
| 2398 | ></TR |
| 2399 | ><TR |
| 2400 | ><TD |
| 2401 | WIDTH="20%" |
| 2402 | ALIGN="RIGHT" |
| 2403 | VALIGN="TOP" |
| 2404 | ><TT |
| 2405 | CLASS="PARAMETER" |
| 2406 | ><I |
| 2407 | >value</I |
| 2408 | ></TT |
| 2409 | > :</TD |
| 2410 | ><TD |
| 2411 | WIDTH="80%" |
| 2412 | ALIGN="LEFT" |
| 2413 | VALIGN="TOP" |
| 2414 | > the variable value or NULL</TD |
| 2415 | ></TR |
| 2416 | ><TR |
| 2417 | ><TD |
| 2418 | WIDTH="20%" |
| 2419 | ALIGN="RIGHT" |
| 2420 | VALIGN="TOP" |
| 2421 | ><I |
| 2422 | CLASS="EMPHASIS" |
| 2423 | >Returns</I |
| 2424 | > :</TD |
| 2425 | ><TD |
| 2426 | WIDTH="80%" |
| 2427 | ALIGN="LEFT" |
| 2428 | VALIGN="TOP" |
| 2429 | >0 in case of success, -1 in case of error</TD |
| 2430 | ></TR |
| 2431 | ></TABLE |
| 2432 | ><P |
| 2433 | ></P |
| 2434 | ></DIV |
| 2435 | ></DIV |
| 2436 | ><HR><DIV |
| 2437 | CLASS="REFSECT2" |
| 2438 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 2439 | NAME="AEN11691" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 2440 | ></A |
| 2441 | ><H3 |
| 2442 | ><A |
| 2443 | NAME="XMLXPATHREGISTERVARIABLENS" |
| 2444 | ></A |
| 2445 | >xmlXPathRegisterVariableNS ()</H3 |
| 2446 | ><TABLE |
| 2447 | BORDER="0" |
| 2448 | BGCOLOR="#D6E8FF" |
| 2449 | WIDTH="100%" |
| 2450 | CELLPADDING="6" |
| 2451 | ><TR |
| 2452 | ><TD |
| 2453 | ><PRE |
| 2454 | CLASS="PROGRAMLISTING" |
| 2455 | >int xmlXPathRegisterVariableNS (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2456 | HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 2457 | >xmlXPathContextPtr</A |
| 2458 | > ctxt, |
| 2459 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2460 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 2461 | >xmlChar</A |
| 2462 | > *name, |
| 2463 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2464 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 2465 | >xmlChar</A |
| 2466 | > *ns_uri, |
| 2467 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2468 | HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 2469 | >xmlXPathObjectPtr</A |
| 2470 | > value);</PRE |
| 2471 | ></TD |
| 2472 | ></TR |
| 2473 | ></TABLE |
| 2474 | ><P |
| 2475 | >Register a new variable value. If <TT |
| 2476 | CLASS="PARAMETER" |
| 2477 | ><I |
| 2478 | >value</I |
| 2479 | ></TT |
| 2480 | > is NULL it unregisters |
| 2481 | the variable</P |
| 2482 | ><P |
| 2483 | ></P |
| 2484 | ><DIV |
| 2485 | CLASS="INFORMALTABLE" |
| 2486 | ><P |
| 2487 | ></P |
| 2488 | ><TABLE |
| 2489 | BORDER="0" |
| 2490 | WIDTH="100%" |
| 2491 | BGCOLOR="#FFD0D0" |
| 2492 | CELLSPACING="0" |
| 2493 | CELLPADDING="4" |
| 2494 | CLASS="CALSTABLE" |
| 2495 | ><TR |
| 2496 | ><TD |
| 2497 | WIDTH="20%" |
| 2498 | ALIGN="RIGHT" |
| 2499 | VALIGN="TOP" |
| 2500 | ><TT |
| 2501 | CLASS="PARAMETER" |
| 2502 | ><I |
| 2503 | >ctxt</I |
| 2504 | ></TT |
| 2505 | > :</TD |
| 2506 | ><TD |
| 2507 | WIDTH="80%" |
| 2508 | ALIGN="LEFT" |
| 2509 | VALIGN="TOP" |
| 2510 | > the XPath context</TD |
| 2511 | ></TR |
| 2512 | ><TR |
| 2513 | ><TD |
| 2514 | WIDTH="20%" |
| 2515 | ALIGN="RIGHT" |
| 2516 | VALIGN="TOP" |
| 2517 | ><TT |
| 2518 | CLASS="PARAMETER" |
| 2519 | ><I |
| 2520 | >name</I |
| 2521 | ></TT |
| 2522 | > :</TD |
| 2523 | ><TD |
| 2524 | WIDTH="80%" |
| 2525 | ALIGN="LEFT" |
| 2526 | VALIGN="TOP" |
| 2527 | > the variable name</TD |
| 2528 | ></TR |
| 2529 | ><TR |
| 2530 | ><TD |
| 2531 | WIDTH="20%" |
| 2532 | ALIGN="RIGHT" |
| 2533 | VALIGN="TOP" |
| 2534 | ><TT |
| 2535 | CLASS="PARAMETER" |
| 2536 | ><I |
| 2537 | >ns_uri</I |
| 2538 | ></TT |
| 2539 | > :</TD |
| 2540 | ><TD |
| 2541 | WIDTH="80%" |
| 2542 | ALIGN="LEFT" |
| 2543 | VALIGN="TOP" |
| 2544 | > the variable namespace URI</TD |
| 2545 | ></TR |
| 2546 | ><TR |
| 2547 | ><TD |
| 2548 | WIDTH="20%" |
| 2549 | ALIGN="RIGHT" |
| 2550 | VALIGN="TOP" |
| 2551 | ><TT |
| 2552 | CLASS="PARAMETER" |
| 2553 | ><I |
| 2554 | >value</I |
| 2555 | ></TT |
| 2556 | > :</TD |
| 2557 | ><TD |
| 2558 | WIDTH="80%" |
| 2559 | ALIGN="LEFT" |
| 2560 | VALIGN="TOP" |
| 2561 | > the variable value or NULL</TD |
| 2562 | ></TR |
| 2563 | ><TR |
| 2564 | ><TD |
| 2565 | WIDTH="20%" |
| 2566 | ALIGN="RIGHT" |
| 2567 | VALIGN="TOP" |
| 2568 | ><I |
| 2569 | CLASS="EMPHASIS" |
| 2570 | >Returns</I |
| 2571 | > :</TD |
| 2572 | ><TD |
| 2573 | WIDTH="80%" |
| 2574 | ALIGN="LEFT" |
| 2575 | VALIGN="TOP" |
| 2576 | >0 in case of success, -1 in case of error</TD |
| 2577 | ></TR |
| 2578 | ></TABLE |
| 2579 | ><P |
| 2580 | ></P |
| 2581 | ></DIV |
| 2582 | ></DIV |
| 2583 | ><HR><DIV |
| 2584 | CLASS="REFSECT2" |
| 2585 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 2586 | NAME="AEN11727" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 2587 | ></A |
| 2588 | ><H3 |
| 2589 | ><A |
| 2590 | NAME="XMLXPATHFUNCTIONLOOKUP" |
| 2591 | ></A |
| 2592 | >xmlXPathFunctionLookup ()</H3 |
| 2593 | ><TABLE |
| 2594 | BORDER="0" |
| 2595 | BGCOLOR="#D6E8FF" |
| 2596 | WIDTH="100%" |
| 2597 | CELLPADDING="6" |
| 2598 | ><TR |
| 2599 | ><TD |
| 2600 | ><PRE |
| 2601 | CLASS="PROGRAMLISTING" |
| 2602 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2603 | HREF="libxml-xpath.html#XMLXPATHFUNCTION" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 2604 | >xmlXPathFunction</A |
| 2605 | > xmlXPathFunctionLookup (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2606 | HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 2607 | >xmlXPathContextPtr</A |
| 2608 | > ctxt, |
| 2609 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2610 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 2611 | >xmlChar</A |
| 2612 | > *name);</PRE |
| 2613 | ></TD |
| 2614 | ></TR |
| 2615 | ></TABLE |
| 2616 | ><P |
| 2617 | >Search in the Function array of the context for the given |
| 2618 | function.</P |
| 2619 | ><P |
| 2620 | ></P |
| 2621 | ><DIV |
| 2622 | CLASS="INFORMALTABLE" |
| 2623 | ><P |
| 2624 | ></P |
| 2625 | ><TABLE |
| 2626 | BORDER="0" |
| 2627 | WIDTH="100%" |
| 2628 | BGCOLOR="#FFD0D0" |
| 2629 | CELLSPACING="0" |
| 2630 | CELLPADDING="4" |
| 2631 | CLASS="CALSTABLE" |
| 2632 | ><TR |
| 2633 | ><TD |
| 2634 | WIDTH="20%" |
| 2635 | ALIGN="RIGHT" |
| 2636 | VALIGN="TOP" |
| 2637 | ><TT |
| 2638 | CLASS="PARAMETER" |
| 2639 | ><I |
| 2640 | >ctxt</I |
| 2641 | ></TT |
| 2642 | > :</TD |
| 2643 | ><TD |
| 2644 | WIDTH="80%" |
| 2645 | ALIGN="LEFT" |
| 2646 | VALIGN="TOP" |
| 2647 | > the XPath context</TD |
| 2648 | ></TR |
| 2649 | ><TR |
| 2650 | ><TD |
| 2651 | WIDTH="20%" |
| 2652 | ALIGN="RIGHT" |
| 2653 | VALIGN="TOP" |
| 2654 | ><TT |
| 2655 | CLASS="PARAMETER" |
| 2656 | ><I |
| 2657 | >name</I |
| 2658 | ></TT |
| 2659 | > :</TD |
| 2660 | ><TD |
| 2661 | WIDTH="80%" |
| 2662 | ALIGN="LEFT" |
| 2663 | VALIGN="TOP" |
| 2664 | > the function name</TD |
| 2665 | ></TR |
| 2666 | ><TR |
| 2667 | ><TD |
| 2668 | WIDTH="20%" |
| 2669 | ALIGN="RIGHT" |
| 2670 | VALIGN="TOP" |
| 2671 | ><I |
| 2672 | CLASS="EMPHASIS" |
| 2673 | >Returns</I |
| 2674 | > :</TD |
| 2675 | ><TD |
| 2676 | WIDTH="80%" |
| 2677 | ALIGN="LEFT" |
| 2678 | VALIGN="TOP" |
| 2679 | >the xmlXPathFunction or NULL if not found</TD |
| 2680 | ></TR |
| 2681 | ></TABLE |
| 2682 | ><P |
| 2683 | ></P |
| 2684 | ></DIV |
| 2685 | ></DIV |
| 2686 | ><HR><DIV |
| 2687 | CLASS="REFSECT2" |
| 2688 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 2689 | NAME="AEN11753" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 2690 | ></A |
| 2691 | ><H3 |
| 2692 | ><A |
| 2693 | NAME="XMLXPATHFUNCTIONLOOKUPNS" |
| 2694 | ></A |
| 2695 | >xmlXPathFunctionLookupNS ()</H3 |
| 2696 | ><TABLE |
| 2697 | BORDER="0" |
| 2698 | BGCOLOR="#D6E8FF" |
| 2699 | WIDTH="100%" |
| 2700 | CELLPADDING="6" |
| 2701 | ><TR |
| 2702 | ><TD |
| 2703 | ><PRE |
| 2704 | CLASS="PROGRAMLISTING" |
| 2705 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2706 | HREF="libxml-xpath.html#XMLXPATHFUNCTION" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 2707 | >xmlXPathFunction</A |
| 2708 | > xmlXPathFunctionLookupNS (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2709 | HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 2710 | >xmlXPathContextPtr</A |
| 2711 | > ctxt, |
| 2712 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2713 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 2714 | >xmlChar</A |
| 2715 | > *name, |
| 2716 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2717 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 2718 | >xmlChar</A |
| 2719 | > *ns_uri);</PRE |
| 2720 | ></TD |
| 2721 | ></TR |
| 2722 | ></TABLE |
| 2723 | ><P |
| 2724 | >Search in the Function array of the context for the given |
| 2725 | function.</P |
| 2726 | ><P |
| 2727 | ></P |
| 2728 | ><DIV |
| 2729 | CLASS="INFORMALTABLE" |
| 2730 | ><P |
| 2731 | ></P |
| 2732 | ><TABLE |
| 2733 | BORDER="0" |
| 2734 | WIDTH="100%" |
| 2735 | BGCOLOR="#FFD0D0" |
| 2736 | CELLSPACING="0" |
| 2737 | CELLPADDING="4" |
| 2738 | CLASS="CALSTABLE" |
| 2739 | ><TR |
| 2740 | ><TD |
| 2741 | WIDTH="20%" |
| 2742 | ALIGN="RIGHT" |
| 2743 | VALIGN="TOP" |
| 2744 | ><TT |
| 2745 | CLASS="PARAMETER" |
| 2746 | ><I |
| 2747 | >ctxt</I |
| 2748 | ></TT |
| 2749 | > :</TD |
| 2750 | ><TD |
| 2751 | WIDTH="80%" |
| 2752 | ALIGN="LEFT" |
| 2753 | VALIGN="TOP" |
| 2754 | > the XPath context</TD |
| 2755 | ></TR |
| 2756 | ><TR |
| 2757 | ><TD |
| 2758 | WIDTH="20%" |
| 2759 | ALIGN="RIGHT" |
| 2760 | VALIGN="TOP" |
| 2761 | ><TT |
| 2762 | CLASS="PARAMETER" |
| 2763 | ><I |
| 2764 | >name</I |
| 2765 | ></TT |
| 2766 | > :</TD |
| 2767 | ><TD |
| 2768 | WIDTH="80%" |
| 2769 | ALIGN="LEFT" |
| 2770 | VALIGN="TOP" |
| 2771 | > the function name</TD |
| 2772 | ></TR |
| 2773 | ><TR |
| 2774 | ><TD |
| 2775 | WIDTH="20%" |
| 2776 | ALIGN="RIGHT" |
| 2777 | VALIGN="TOP" |
| 2778 | ><TT |
| 2779 | CLASS="PARAMETER" |
| 2780 | ><I |
| 2781 | >ns_uri</I |
| 2782 | ></TT |
| 2783 | > :</TD |
| 2784 | ><TD |
| 2785 | WIDTH="80%" |
| 2786 | ALIGN="LEFT" |
| 2787 | VALIGN="TOP" |
| 2788 | > the function namespace URI</TD |
| 2789 | ></TR |
| 2790 | ><TR |
| 2791 | ><TD |
| 2792 | WIDTH="20%" |
| 2793 | ALIGN="RIGHT" |
| 2794 | VALIGN="TOP" |
| 2795 | ><I |
| 2796 | CLASS="EMPHASIS" |
| 2797 | >Returns</I |
| 2798 | > :</TD |
| 2799 | ><TD |
| 2800 | WIDTH="80%" |
| 2801 | ALIGN="LEFT" |
| 2802 | VALIGN="TOP" |
| 2803 | >the xmlXPathFunction or NULL if not found</TD |
| 2804 | ></TR |
| 2805 | ></TABLE |
| 2806 | ><P |
| 2807 | ></P |
| 2808 | ></DIV |
| 2809 | ></DIV |
| 2810 | ><HR><DIV |
| 2811 | CLASS="REFSECT2" |
| 2812 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 2813 | NAME="AEN11784" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 2814 | ></A |
| 2815 | ><H3 |
| 2816 | ><A |
| 2817 | NAME="XMLXPATHREGISTEREDFUNCSCLEANUP" |
| 2818 | ></A |
| 2819 | >xmlXPathRegisteredFuncsCleanup ()</H3 |
| 2820 | ><TABLE |
| 2821 | BORDER="0" |
| 2822 | BGCOLOR="#D6E8FF" |
| 2823 | WIDTH="100%" |
| 2824 | CELLPADDING="6" |
| 2825 | ><TR |
| 2826 | ><TD |
| 2827 | ><PRE |
| 2828 | CLASS="PROGRAMLISTING" |
| 2829 | >void xmlXPathRegisteredFuncsCleanup (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2830 | HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 2831 | >xmlXPathContextPtr</A |
| 2832 | > ctxt);</PRE |
| 2833 | ></TD |
| 2834 | ></TR |
| 2835 | ></TABLE |
| 2836 | ><P |
| 2837 | >Cleanup the XPath context data associated to registered functions</P |
| 2838 | ><P |
| 2839 | ></P |
| 2840 | ><DIV |
| 2841 | CLASS="INFORMALTABLE" |
| 2842 | ><P |
| 2843 | ></P |
| 2844 | ><TABLE |
| 2845 | BORDER="0" |
| 2846 | WIDTH="100%" |
| 2847 | BGCOLOR="#FFD0D0" |
| 2848 | CELLSPACING="0" |
| 2849 | CELLPADDING="4" |
| 2850 | CLASS="CALSTABLE" |
| 2851 | ><TR |
| 2852 | ><TD |
| 2853 | WIDTH="20%" |
| 2854 | ALIGN="RIGHT" |
| 2855 | VALIGN="TOP" |
| 2856 | ><TT |
| 2857 | CLASS="PARAMETER" |
| 2858 | ><I |
| 2859 | >ctxt</I |
| 2860 | ></TT |
| 2861 | > :</TD |
| 2862 | ><TD |
| 2863 | WIDTH="80%" |
| 2864 | ALIGN="LEFT" |
| 2865 | VALIGN="TOP" |
| 2866 | > the XPath context</TD |
| 2867 | ></TR |
| 2868 | ></TABLE |
| 2869 | ><P |
| 2870 | ></P |
| 2871 | ></DIV |
| 2872 | ></DIV |
| 2873 | ><HR><DIV |
| 2874 | CLASS="REFSECT2" |
| 2875 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 2876 | NAME="AEN11800" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 2877 | ></A |
| 2878 | ><H3 |
| 2879 | ><A |
| 2880 | NAME="XMLXPATHVARIABLELOOKUP" |
| 2881 | ></A |
| 2882 | >xmlXPathVariableLookup ()</H3 |
| 2883 | ><TABLE |
| 2884 | BORDER="0" |
| 2885 | BGCOLOR="#D6E8FF" |
| 2886 | WIDTH="100%" |
| 2887 | CELLPADDING="6" |
| 2888 | ><TR |
| 2889 | ><TD |
| 2890 | ><PRE |
| 2891 | CLASS="PROGRAMLISTING" |
| 2892 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2893 | HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 2894 | >xmlXPathObjectPtr</A |
| 2895 | > xmlXPathVariableLookup (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2896 | HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 2897 | >xmlXPathContextPtr</A |
| 2898 | > ctxt, |
| 2899 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2900 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 2901 | >xmlChar</A |
| 2902 | > *name);</PRE |
| 2903 | ></TD |
| 2904 | ></TR |
| 2905 | ></TABLE |
| 2906 | ><P |
| 2907 | >Search in the Variable array of the context for the given |
| 2908 | variable value.</P |
| 2909 | ><P |
| 2910 | ></P |
| 2911 | ><DIV |
| 2912 | CLASS="INFORMALTABLE" |
| 2913 | ><P |
| 2914 | ></P |
| 2915 | ><TABLE |
| 2916 | BORDER="0" |
| 2917 | WIDTH="100%" |
| 2918 | BGCOLOR="#FFD0D0" |
| 2919 | CELLSPACING="0" |
| 2920 | CELLPADDING="4" |
| 2921 | CLASS="CALSTABLE" |
| 2922 | ><TR |
| 2923 | ><TD |
| 2924 | WIDTH="20%" |
| 2925 | ALIGN="RIGHT" |
| 2926 | VALIGN="TOP" |
| 2927 | ><TT |
| 2928 | CLASS="PARAMETER" |
| 2929 | ><I |
| 2930 | >ctxt</I |
| 2931 | ></TT |
| 2932 | > :</TD |
| 2933 | ><TD |
| 2934 | WIDTH="80%" |
| 2935 | ALIGN="LEFT" |
| 2936 | VALIGN="TOP" |
| 2937 | > the XPath context</TD |
| 2938 | ></TR |
| 2939 | ><TR |
| 2940 | ><TD |
| 2941 | WIDTH="20%" |
| 2942 | ALIGN="RIGHT" |
| 2943 | VALIGN="TOP" |
| 2944 | ><TT |
| 2945 | CLASS="PARAMETER" |
| 2946 | ><I |
| 2947 | >name</I |
| 2948 | ></TT |
| 2949 | > :</TD |
| 2950 | ><TD |
| 2951 | WIDTH="80%" |
| 2952 | ALIGN="LEFT" |
| 2953 | VALIGN="TOP" |
| 2954 | > the variable name</TD |
| 2955 | ></TR |
| 2956 | ><TR |
| 2957 | ><TD |
| 2958 | WIDTH="20%" |
| 2959 | ALIGN="RIGHT" |
| 2960 | VALIGN="TOP" |
| 2961 | ><I |
| 2962 | CLASS="EMPHASIS" |
| 2963 | >Returns</I |
| 2964 | > :</TD |
| 2965 | ><TD |
| 2966 | WIDTH="80%" |
| 2967 | ALIGN="LEFT" |
| 2968 | VALIGN="TOP" |
| 2969 | >the value or NULL if not found</TD |
| 2970 | ></TR |
| 2971 | ></TABLE |
| 2972 | ><P |
| 2973 | ></P |
| 2974 | ></DIV |
| 2975 | ></DIV |
| 2976 | ><HR><DIV |
| 2977 | CLASS="REFSECT2" |
| 2978 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 2979 | NAME="AEN11826" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 2980 | ></A |
| 2981 | ><H3 |
| 2982 | ><A |
| 2983 | NAME="XMLXPATHVARIABLELOOKUPNS" |
| 2984 | ></A |
| 2985 | >xmlXPathVariableLookupNS ()</H3 |
| 2986 | ><TABLE |
| 2987 | BORDER="0" |
| 2988 | BGCOLOR="#D6E8FF" |
| 2989 | WIDTH="100%" |
| 2990 | CELLPADDING="6" |
| 2991 | ><TR |
| 2992 | ><TD |
| 2993 | ><PRE |
| 2994 | CLASS="PROGRAMLISTING" |
| 2995 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2996 | HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 2997 | >xmlXPathObjectPtr</A |
| 2998 | > xmlXPathVariableLookupNS (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2999 | HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 3000 | >xmlXPathContextPtr</A |
| 3001 | > ctxt, |
| 3002 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3003 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 3004 | >xmlChar</A |
| 3005 | > *name, |
| 3006 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3007 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 3008 | >xmlChar</A |
| 3009 | > *ns_uri);</PRE |
| 3010 | ></TD |
| 3011 | ></TR |
| 3012 | ></TABLE |
| 3013 | ><P |
| 3014 | >Search in the Variable array of the context for the given |
| 3015 | variable value.</P |
| 3016 | ><P |
| 3017 | ></P |
| 3018 | ><DIV |
| 3019 | CLASS="INFORMALTABLE" |
| 3020 | ><P |
| 3021 | ></P |
| 3022 | ><TABLE |
| 3023 | BORDER="0" |
| 3024 | WIDTH="100%" |
| 3025 | BGCOLOR="#FFD0D0" |
| 3026 | CELLSPACING="0" |
| 3027 | CELLPADDING="4" |
| 3028 | CLASS="CALSTABLE" |
| 3029 | ><TR |
| 3030 | ><TD |
| 3031 | WIDTH="20%" |
| 3032 | ALIGN="RIGHT" |
| 3033 | VALIGN="TOP" |
| 3034 | ><TT |
| 3035 | CLASS="PARAMETER" |
| 3036 | ><I |
| 3037 | >ctxt</I |
| 3038 | ></TT |
| 3039 | > :</TD |
| 3040 | ><TD |
| 3041 | WIDTH="80%" |
| 3042 | ALIGN="LEFT" |
| 3043 | VALIGN="TOP" |
| 3044 | > the XPath context</TD |
| 3045 | ></TR |
| 3046 | ><TR |
| 3047 | ><TD |
| 3048 | WIDTH="20%" |
| 3049 | ALIGN="RIGHT" |
| 3050 | VALIGN="TOP" |
| 3051 | ><TT |
| 3052 | CLASS="PARAMETER" |
| 3053 | ><I |
| 3054 | >name</I |
| 3055 | ></TT |
| 3056 | > :</TD |
| 3057 | ><TD |
| 3058 | WIDTH="80%" |
| 3059 | ALIGN="LEFT" |
| 3060 | VALIGN="TOP" |
| 3061 | > the variable name</TD |
| 3062 | ></TR |
| 3063 | ><TR |
| 3064 | ><TD |
| 3065 | WIDTH="20%" |
| 3066 | ALIGN="RIGHT" |
| 3067 | VALIGN="TOP" |
| 3068 | ><TT |
| 3069 | CLASS="PARAMETER" |
| 3070 | ><I |
| 3071 | >ns_uri</I |
| 3072 | ></TT |
| 3073 | > :</TD |
| 3074 | ><TD |
| 3075 | WIDTH="80%" |
| 3076 | ALIGN="LEFT" |
| 3077 | VALIGN="TOP" |
| 3078 | > the variable namespace URI</TD |
| 3079 | ></TR |
| 3080 | ><TR |
| 3081 | ><TD |
| 3082 | WIDTH="20%" |
| 3083 | ALIGN="RIGHT" |
| 3084 | VALIGN="TOP" |
| 3085 | ><I |
| 3086 | CLASS="EMPHASIS" |
| 3087 | >Returns</I |
| 3088 | > :</TD |
| 3089 | ><TD |
| 3090 | WIDTH="80%" |
| 3091 | ALIGN="LEFT" |
| 3092 | VALIGN="TOP" |
| 3093 | >the value or NULL if not found</TD |
| 3094 | ></TR |
| 3095 | ></TABLE |
| 3096 | ><P |
| 3097 | ></P |
| 3098 | ></DIV |
| 3099 | ></DIV |
| 3100 | ><HR><DIV |
| 3101 | CLASS="REFSECT2" |
| 3102 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 3103 | NAME="AEN11857" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 3104 | ></A |
| 3105 | ><H3 |
| 3106 | ><A |
| 3107 | NAME="XMLXPATHREGISTEREDVARIABLESCLEANUP" |
| 3108 | ></A |
| 3109 | >xmlXPathRegisteredVariablesCleanup ()</H3 |
| 3110 | ><TABLE |
| 3111 | BORDER="0" |
| 3112 | BGCOLOR="#D6E8FF" |
| 3113 | WIDTH="100%" |
| 3114 | CELLPADDING="6" |
| 3115 | ><TR |
| 3116 | ><TD |
| 3117 | ><PRE |
| 3118 | CLASS="PROGRAMLISTING" |
| 3119 | >void xmlXPathRegisteredVariablesCleanup |
| 3120 | (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3121 | HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 3122 | >xmlXPathContextPtr</A |
| 3123 | > ctxt);</PRE |
| 3124 | ></TD |
| 3125 | ></TR |
| 3126 | ></TABLE |
| 3127 | ><P |
| 3128 | >Cleanup the XPath context data associated to registered variables</P |
| 3129 | ><P |
| 3130 | ></P |
| 3131 | ><DIV |
| 3132 | CLASS="INFORMALTABLE" |
| 3133 | ><P |
| 3134 | ></P |
| 3135 | ><TABLE |
| 3136 | BORDER="0" |
| 3137 | WIDTH="100%" |
| 3138 | BGCOLOR="#FFD0D0" |
| 3139 | CELLSPACING="0" |
| 3140 | CELLPADDING="4" |
| 3141 | CLASS="CALSTABLE" |
| 3142 | ><TR |
| 3143 | ><TD |
| 3144 | WIDTH="20%" |
| 3145 | ALIGN="RIGHT" |
| 3146 | VALIGN="TOP" |
| 3147 | ><TT |
| 3148 | CLASS="PARAMETER" |
| 3149 | ><I |
| 3150 | >ctxt</I |
| 3151 | ></TT |
| 3152 | > :</TD |
| 3153 | ><TD |
| 3154 | WIDTH="80%" |
| 3155 | ALIGN="LEFT" |
| 3156 | VALIGN="TOP" |
| 3157 | > the XPath context</TD |
| 3158 | ></TR |
| 3159 | ></TABLE |
| 3160 | ><P |
| 3161 | ></P |
| 3162 | ></DIV |
| 3163 | ></DIV |
| 3164 | ><HR><DIV |
| 3165 | CLASS="REFSECT2" |
| 3166 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 3167 | NAME="AEN11873" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 3168 | ></A |
| 3169 | ><H3 |
| 3170 | ><A |
| 3171 | NAME="XMLXPATHNEWPARSERCONTEXT" |
| 3172 | ></A |
| 3173 | >xmlXPathNewParserContext ()</H3 |
| 3174 | ><TABLE |
| 3175 | BORDER="0" |
| 3176 | BGCOLOR="#D6E8FF" |
| 3177 | WIDTH="100%" |
| 3178 | CELLPADDING="6" |
| 3179 | ><TR |
| 3180 | ><TD |
| 3181 | ><PRE |
| 3182 | CLASS="PROGRAMLISTING" |
| 3183 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3184 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 3185 | >xmlXPathParserContextPtr</A |
| 3186 | > xmlXPathNewParserContext |
| 3187 | (const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3188 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 3189 | >xmlChar</A |
| 3190 | > *str, |
| 3191 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3192 | HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 3193 | >xmlXPathContextPtr</A |
| 3194 | > ctxt);</PRE |
| 3195 | ></TD |
| 3196 | ></TR |
| 3197 | ></TABLE |
| 3198 | ><P |
| 3199 | >Create a new xmlXPathParserContext</P |
| 3200 | ><P |
| 3201 | ></P |
| 3202 | ><DIV |
| 3203 | CLASS="INFORMALTABLE" |
| 3204 | ><P |
| 3205 | ></P |
| 3206 | ><TABLE |
| 3207 | BORDER="0" |
| 3208 | WIDTH="100%" |
| 3209 | BGCOLOR="#FFD0D0" |
| 3210 | CELLSPACING="0" |
| 3211 | CELLPADDING="4" |
| 3212 | CLASS="CALSTABLE" |
| 3213 | ><TR |
| 3214 | ><TD |
| 3215 | WIDTH="20%" |
| 3216 | ALIGN="RIGHT" |
| 3217 | VALIGN="TOP" |
| 3218 | ><TT |
| 3219 | CLASS="PARAMETER" |
| 3220 | ><I |
| 3221 | >str</I |
| 3222 | ></TT |
| 3223 | > :</TD |
| 3224 | ><TD |
| 3225 | WIDTH="80%" |
| 3226 | ALIGN="LEFT" |
| 3227 | VALIGN="TOP" |
| 3228 | > the XPath expression</TD |
| 3229 | ></TR |
| 3230 | ><TR |
| 3231 | ><TD |
| 3232 | WIDTH="20%" |
| 3233 | ALIGN="RIGHT" |
| 3234 | VALIGN="TOP" |
| 3235 | ><TT |
| 3236 | CLASS="PARAMETER" |
| 3237 | ><I |
| 3238 | >ctxt</I |
| 3239 | ></TT |
| 3240 | > :</TD |
| 3241 | ><TD |
| 3242 | WIDTH="80%" |
| 3243 | ALIGN="LEFT" |
| 3244 | VALIGN="TOP" |
| 3245 | > the XPath context</TD |
| 3246 | ></TR |
| 3247 | ><TR |
| 3248 | ><TD |
| 3249 | WIDTH="20%" |
| 3250 | ALIGN="RIGHT" |
| 3251 | VALIGN="TOP" |
| 3252 | ><I |
| 3253 | CLASS="EMPHASIS" |
| 3254 | >Returns</I |
| 3255 | > :</TD |
| 3256 | ><TD |
| 3257 | WIDTH="80%" |
| 3258 | ALIGN="LEFT" |
| 3259 | VALIGN="TOP" |
| 3260 | >the xmlXPathParserContext just allocated.</TD |
| 3261 | ></TR |
| 3262 | ></TABLE |
| 3263 | ><P |
| 3264 | ></P |
| 3265 | ></DIV |
| 3266 | ></DIV |
| 3267 | ><HR><DIV |
| 3268 | CLASS="REFSECT2" |
| 3269 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 3270 | NAME="AEN11899" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 3271 | ></A |
| 3272 | ><H3 |
| 3273 | ><A |
| 3274 | NAME="XMLXPATHFREEPARSERCONTEXT" |
| 3275 | ></A |
| 3276 | >xmlXPathFreeParserContext ()</H3 |
| 3277 | ><TABLE |
| 3278 | BORDER="0" |
| 3279 | BGCOLOR="#D6E8FF" |
| 3280 | WIDTH="100%" |
| 3281 | CELLPADDING="6" |
| 3282 | ><TR |
| 3283 | ><TD |
| 3284 | ><PRE |
| 3285 | CLASS="PROGRAMLISTING" |
| 3286 | >void xmlXPathFreeParserContext (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3287 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 3288 | >xmlXPathParserContextPtr</A |
| 3289 | > ctxt);</PRE |
| 3290 | ></TD |
| 3291 | ></TR |
| 3292 | ></TABLE |
| 3293 | ><P |
| 3294 | >Free up an xmlXPathParserContext</P |
| 3295 | ><P |
| 3296 | ></P |
| 3297 | ><DIV |
| 3298 | CLASS="INFORMALTABLE" |
| 3299 | ><P |
| 3300 | ></P |
| 3301 | ><TABLE |
| 3302 | BORDER="0" |
| 3303 | WIDTH="100%" |
| 3304 | BGCOLOR="#FFD0D0" |
| 3305 | CELLSPACING="0" |
| 3306 | CELLPADDING="4" |
| 3307 | CLASS="CALSTABLE" |
| 3308 | ><TR |
| 3309 | ><TD |
| 3310 | WIDTH="20%" |
| 3311 | ALIGN="RIGHT" |
| 3312 | VALIGN="TOP" |
| 3313 | ><TT |
| 3314 | CLASS="PARAMETER" |
| 3315 | ><I |
| 3316 | >ctxt</I |
| 3317 | ></TT |
| 3318 | > :</TD |
| 3319 | ><TD |
| 3320 | WIDTH="80%" |
| 3321 | ALIGN="LEFT" |
| 3322 | VALIGN="TOP" |
| 3323 | > the context to free</TD |
| 3324 | ></TR |
| 3325 | ></TABLE |
| 3326 | ><P |
| 3327 | ></P |
| 3328 | ></DIV |
| 3329 | ></DIV |
| 3330 | ><HR><DIV |
| 3331 | CLASS="REFSECT2" |
| 3332 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 3333 | NAME="AEN11915" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 3334 | ></A |
| 3335 | ><H3 |
| 3336 | ><A |
| 3337 | NAME="VALUEPOP" |
| 3338 | ></A |
| 3339 | >valuePop ()</H3 |
| 3340 | ><TABLE |
| 3341 | BORDER="0" |
| 3342 | BGCOLOR="#D6E8FF" |
| 3343 | WIDTH="100%" |
| 3344 | CELLPADDING="6" |
| 3345 | ><TR |
| 3346 | ><TD |
| 3347 | ><PRE |
| 3348 | CLASS="PROGRAMLISTING" |
| 3349 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3350 | HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 3351 | >xmlXPathObjectPtr</A |
| 3352 | > valuePop (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3353 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 3354 | >xmlXPathParserContextPtr</A |
| 3355 | > ctxt);</PRE |
| 3356 | ></TD |
| 3357 | ></TR |
| 3358 | ></TABLE |
| 3359 | ><P |
| 3360 | ></P |
| 3361 | ><DIV |
| 3362 | CLASS="INFORMALTABLE" |
| 3363 | ><P |
| 3364 | ></P |
| 3365 | ><TABLE |
| 3366 | BORDER="0" |
| 3367 | WIDTH="100%" |
| 3368 | BGCOLOR="#FFD0D0" |
| 3369 | CELLSPACING="0" |
| 3370 | CELLPADDING="4" |
| 3371 | CLASS="CALSTABLE" |
| 3372 | ><TR |
| 3373 | ><TD |
| 3374 | WIDTH="20%" |
| 3375 | ALIGN="RIGHT" |
| 3376 | VALIGN="TOP" |
| 3377 | ><TT |
| 3378 | CLASS="PARAMETER" |
| 3379 | ><I |
| 3380 | >ctxt</I |
| 3381 | ></TT |
| 3382 | > :</TD |
| 3383 | ><TD |
| 3384 | WIDTH="80%" |
| 3385 | ALIGN="LEFT" |
| 3386 | VALIGN="TOP" |
| 3387 | > </TD |
| 3388 | ></TR |
| 3389 | ><TR |
| 3390 | ><TD |
| 3391 | WIDTH="20%" |
| 3392 | ALIGN="RIGHT" |
| 3393 | VALIGN="TOP" |
| 3394 | ><I |
| 3395 | CLASS="EMPHASIS" |
| 3396 | >Returns</I |
| 3397 | > :</TD |
| 3398 | ><TD |
| 3399 | WIDTH="80%" |
| 3400 | ALIGN="LEFT" |
| 3401 | VALIGN="TOP" |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 3402 | > </TD |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 3403 | ></TR |
| 3404 | ></TABLE |
| 3405 | ><P |
| 3406 | ></P |
| 3407 | ></DIV |
| 3408 | ></DIV |
| 3409 | ><HR><DIV |
| 3410 | CLASS="REFSECT2" |
| 3411 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 3412 | NAME="AEN11935" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 3413 | ></A |
| 3414 | ><H3 |
| 3415 | ><A |
| 3416 | NAME="VALUEPUSH" |
| 3417 | ></A |
| 3418 | >valuePush ()</H3 |
| 3419 | ><TABLE |
| 3420 | BORDER="0" |
| 3421 | BGCOLOR="#D6E8FF" |
| 3422 | WIDTH="100%" |
| 3423 | CELLPADDING="6" |
| 3424 | ><TR |
| 3425 | ><TD |
| 3426 | ><PRE |
| 3427 | CLASS="PROGRAMLISTING" |
| 3428 | >int valuePush (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3429 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 3430 | >xmlXPathParserContextPtr</A |
| 3431 | > ctxt, |
| 3432 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3433 | HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 3434 | >xmlXPathObjectPtr</A |
| 3435 | > value);</PRE |
| 3436 | ></TD |
| 3437 | ></TR |
| 3438 | ></TABLE |
| 3439 | ><P |
| 3440 | ></P |
| 3441 | ><DIV |
| 3442 | CLASS="INFORMALTABLE" |
| 3443 | ><P |
| 3444 | ></P |
| 3445 | ><TABLE |
| 3446 | BORDER="0" |
| 3447 | WIDTH="100%" |
| 3448 | BGCOLOR="#FFD0D0" |
| 3449 | CELLSPACING="0" |
| 3450 | CELLPADDING="4" |
| 3451 | CLASS="CALSTABLE" |
| 3452 | ><TR |
| 3453 | ><TD |
| 3454 | WIDTH="20%" |
| 3455 | ALIGN="RIGHT" |
| 3456 | VALIGN="TOP" |
| 3457 | ><TT |
| 3458 | CLASS="PARAMETER" |
| 3459 | ><I |
| 3460 | >ctxt</I |
| 3461 | ></TT |
| 3462 | > :</TD |
| 3463 | ><TD |
| 3464 | WIDTH="80%" |
| 3465 | ALIGN="LEFT" |
| 3466 | VALIGN="TOP" |
| 3467 | > </TD |
| 3468 | ></TR |
| 3469 | ><TR |
| 3470 | ><TD |
| 3471 | WIDTH="20%" |
| 3472 | ALIGN="RIGHT" |
| 3473 | VALIGN="TOP" |
| 3474 | ><TT |
| 3475 | CLASS="PARAMETER" |
| 3476 | ><I |
| 3477 | >value</I |
| 3478 | ></TT |
| 3479 | > :</TD |
| 3480 | ><TD |
| 3481 | WIDTH="80%" |
| 3482 | ALIGN="LEFT" |
| 3483 | VALIGN="TOP" |
| 3484 | > </TD |
| 3485 | ></TR |
| 3486 | ><TR |
| 3487 | ><TD |
| 3488 | WIDTH="20%" |
| 3489 | ALIGN="RIGHT" |
| 3490 | VALIGN="TOP" |
| 3491 | ><I |
| 3492 | CLASS="EMPHASIS" |
| 3493 | >Returns</I |
| 3494 | > :</TD |
| 3495 | ><TD |
| 3496 | WIDTH="80%" |
| 3497 | ALIGN="LEFT" |
| 3498 | VALIGN="TOP" |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 3499 | > </TD |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 3500 | ></TR |
| 3501 | ></TABLE |
| 3502 | ><P |
| 3503 | ></P |
| 3504 | ></DIV |
| 3505 | ></DIV |
| 3506 | ><HR><DIV |
| 3507 | CLASS="REFSECT2" |
| 3508 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 3509 | NAME="AEN11959" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 3510 | ></A |
| 3511 | ><H3 |
| 3512 | ><A |
| 3513 | NAME="XMLXPATHNEWSTRING" |
| 3514 | ></A |
| 3515 | >xmlXPathNewString ()</H3 |
| 3516 | ><TABLE |
| 3517 | BORDER="0" |
| 3518 | BGCOLOR="#D6E8FF" |
| 3519 | WIDTH="100%" |
| 3520 | CELLPADDING="6" |
| 3521 | ><TR |
| 3522 | ><TD |
| 3523 | ><PRE |
| 3524 | CLASS="PROGRAMLISTING" |
| 3525 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3526 | HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 3527 | >xmlXPathObjectPtr</A |
| 3528 | > xmlXPathNewString (const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3529 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 3530 | >xmlChar</A |
| 3531 | > *val);</PRE |
| 3532 | ></TD |
| 3533 | ></TR |
| 3534 | ></TABLE |
| 3535 | ><P |
| 3536 | >Create a new xmlXPathObjectPtr of type string and of value <TT |
| 3537 | CLASS="PARAMETER" |
| 3538 | ><I |
| 3539 | >val</I |
| 3540 | ></TT |
| 3541 | ></P |
| 3542 | ><P |
| 3543 | ></P |
| 3544 | ><DIV |
| 3545 | CLASS="INFORMALTABLE" |
| 3546 | ><P |
| 3547 | ></P |
| 3548 | ><TABLE |
| 3549 | BORDER="0" |
| 3550 | WIDTH="100%" |
| 3551 | BGCOLOR="#FFD0D0" |
| 3552 | CELLSPACING="0" |
| 3553 | CELLPADDING="4" |
| 3554 | CLASS="CALSTABLE" |
| 3555 | ><TR |
| 3556 | ><TD |
| 3557 | WIDTH="20%" |
| 3558 | ALIGN="RIGHT" |
| 3559 | VALIGN="TOP" |
| 3560 | ><TT |
| 3561 | CLASS="PARAMETER" |
| 3562 | ><I |
| 3563 | >val</I |
| 3564 | ></TT |
| 3565 | > :</TD |
| 3566 | ><TD |
| 3567 | WIDTH="80%" |
| 3568 | ALIGN="LEFT" |
| 3569 | VALIGN="TOP" |
| 3570 | > the xmlChar * value</TD |
| 3571 | ></TR |
| 3572 | ><TR |
| 3573 | ><TD |
| 3574 | WIDTH="20%" |
| 3575 | ALIGN="RIGHT" |
| 3576 | VALIGN="TOP" |
| 3577 | ><I |
| 3578 | CLASS="EMPHASIS" |
| 3579 | >Returns</I |
| 3580 | > :</TD |
| 3581 | ><TD |
| 3582 | WIDTH="80%" |
| 3583 | ALIGN="LEFT" |
| 3584 | VALIGN="TOP" |
| 3585 | >the newly created object.</TD |
| 3586 | ></TR |
| 3587 | ></TABLE |
| 3588 | ><P |
| 3589 | ></P |
| 3590 | ></DIV |
| 3591 | ></DIV |
| 3592 | ><HR><DIV |
| 3593 | CLASS="REFSECT2" |
| 3594 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 3595 | NAME="AEN11981" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 3596 | ></A |
| 3597 | ><H3 |
| 3598 | ><A |
| 3599 | NAME="XMLXPATHNEWCSTRING" |
| 3600 | ></A |
| 3601 | >xmlXPathNewCString ()</H3 |
| 3602 | ><TABLE |
| 3603 | BORDER="0" |
| 3604 | BGCOLOR="#D6E8FF" |
| 3605 | WIDTH="100%" |
| 3606 | CELLPADDING="6" |
| 3607 | ><TR |
| 3608 | ><TD |
| 3609 | ><PRE |
| 3610 | CLASS="PROGRAMLISTING" |
| 3611 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3612 | HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 3613 | >xmlXPathObjectPtr</A |
| 3614 | > xmlXPathNewCString (const char *val);</PRE |
| 3615 | ></TD |
| 3616 | ></TR |
| 3617 | ></TABLE |
| 3618 | ><P |
| 3619 | >Create a new xmlXPathObjectPtr of type string and of value <TT |
| 3620 | CLASS="PARAMETER" |
| 3621 | ><I |
| 3622 | >val</I |
| 3623 | ></TT |
| 3624 | ></P |
| 3625 | ><P |
| 3626 | ></P |
| 3627 | ><DIV |
| 3628 | CLASS="INFORMALTABLE" |
| 3629 | ><P |
| 3630 | ></P |
| 3631 | ><TABLE |
| 3632 | BORDER="0" |
| 3633 | WIDTH="100%" |
| 3634 | BGCOLOR="#FFD0D0" |
| 3635 | CELLSPACING="0" |
| 3636 | CELLPADDING="4" |
| 3637 | CLASS="CALSTABLE" |
| 3638 | ><TR |
| 3639 | ><TD |
| 3640 | WIDTH="20%" |
| 3641 | ALIGN="RIGHT" |
| 3642 | VALIGN="TOP" |
| 3643 | ><TT |
| 3644 | CLASS="PARAMETER" |
| 3645 | ><I |
| 3646 | >val</I |
| 3647 | ></TT |
| 3648 | > :</TD |
| 3649 | ><TD |
| 3650 | WIDTH="80%" |
| 3651 | ALIGN="LEFT" |
| 3652 | VALIGN="TOP" |
| 3653 | > the char * value</TD |
| 3654 | ></TR |
| 3655 | ><TR |
| 3656 | ><TD |
| 3657 | WIDTH="20%" |
| 3658 | ALIGN="RIGHT" |
| 3659 | VALIGN="TOP" |
| 3660 | ><I |
| 3661 | CLASS="EMPHASIS" |
| 3662 | >Returns</I |
| 3663 | > :</TD |
| 3664 | ><TD |
| 3665 | WIDTH="80%" |
| 3666 | ALIGN="LEFT" |
| 3667 | VALIGN="TOP" |
| 3668 | >the newly created object.</TD |
| 3669 | ></TR |
| 3670 | ></TABLE |
| 3671 | ><P |
| 3672 | ></P |
| 3673 | ></DIV |
| 3674 | ></DIV |
| 3675 | ><HR><DIV |
| 3676 | CLASS="REFSECT2" |
| 3677 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 3678 | NAME="AEN12002" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 3679 | ></A |
| 3680 | ><H3 |
| 3681 | ><A |
| 3682 | NAME="XMLXPATHNEWFLOAT" |
| 3683 | ></A |
| 3684 | >xmlXPathNewFloat ()</H3 |
| 3685 | ><TABLE |
| 3686 | BORDER="0" |
| 3687 | BGCOLOR="#D6E8FF" |
| 3688 | WIDTH="100%" |
| 3689 | CELLPADDING="6" |
| 3690 | ><TR |
| 3691 | ><TD |
| 3692 | ><PRE |
| 3693 | CLASS="PROGRAMLISTING" |
| 3694 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3695 | HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 3696 | >xmlXPathObjectPtr</A |
| 3697 | > xmlXPathNewFloat (<GTKDOCLINK |
| 3698 | HREF="DOUBLE" |
| 3699 | >double</GTKDOCLINK |
| 3700 | > val);</PRE |
| 3701 | ></TD |
| 3702 | ></TR |
| 3703 | ></TABLE |
| 3704 | ><P |
| 3705 | >Create a new xmlXPathObjectPtr of type double and of value <TT |
| 3706 | CLASS="PARAMETER" |
| 3707 | ><I |
| 3708 | >val</I |
| 3709 | ></TT |
| 3710 | ></P |
| 3711 | ><P |
| 3712 | ></P |
| 3713 | ><DIV |
| 3714 | CLASS="INFORMALTABLE" |
| 3715 | ><P |
| 3716 | ></P |
| 3717 | ><TABLE |
| 3718 | BORDER="0" |
| 3719 | WIDTH="100%" |
| 3720 | BGCOLOR="#FFD0D0" |
| 3721 | CELLSPACING="0" |
| 3722 | CELLPADDING="4" |
| 3723 | CLASS="CALSTABLE" |
| 3724 | ><TR |
| 3725 | ><TD |
| 3726 | WIDTH="20%" |
| 3727 | ALIGN="RIGHT" |
| 3728 | VALIGN="TOP" |
| 3729 | ><TT |
| 3730 | CLASS="PARAMETER" |
| 3731 | ><I |
| 3732 | >val</I |
| 3733 | ></TT |
| 3734 | > :</TD |
| 3735 | ><TD |
| 3736 | WIDTH="80%" |
| 3737 | ALIGN="LEFT" |
| 3738 | VALIGN="TOP" |
| 3739 | > the double value</TD |
| 3740 | ></TR |
| 3741 | ><TR |
| 3742 | ><TD |
| 3743 | WIDTH="20%" |
| 3744 | ALIGN="RIGHT" |
| 3745 | VALIGN="TOP" |
| 3746 | ><I |
| 3747 | CLASS="EMPHASIS" |
| 3748 | >Returns</I |
| 3749 | > :</TD |
| 3750 | ><TD |
| 3751 | WIDTH="80%" |
| 3752 | ALIGN="LEFT" |
| 3753 | VALIGN="TOP" |
| 3754 | >the newly created object.</TD |
| 3755 | ></TR |
| 3756 | ></TABLE |
| 3757 | ><P |
| 3758 | ></P |
| 3759 | ></DIV |
| 3760 | ></DIV |
| 3761 | ><HR><DIV |
| 3762 | CLASS="REFSECT2" |
| 3763 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 3764 | NAME="AEN12024" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 3765 | ></A |
| 3766 | ><H3 |
| 3767 | ><A |
| 3768 | NAME="XMLXPATHNEWBOOLEAN" |
| 3769 | ></A |
| 3770 | >xmlXPathNewBoolean ()</H3 |
| 3771 | ><TABLE |
| 3772 | BORDER="0" |
| 3773 | BGCOLOR="#D6E8FF" |
| 3774 | WIDTH="100%" |
| 3775 | CELLPADDING="6" |
| 3776 | ><TR |
| 3777 | ><TD |
| 3778 | ><PRE |
| 3779 | CLASS="PROGRAMLISTING" |
| 3780 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3781 | HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 3782 | >xmlXPathObjectPtr</A |
| 3783 | > xmlXPathNewBoolean (int val);</PRE |
| 3784 | ></TD |
| 3785 | ></TR |
| 3786 | ></TABLE |
| 3787 | ><P |
| 3788 | >Create a new xmlXPathObjectPtr of type boolean and of value <TT |
| 3789 | CLASS="PARAMETER" |
| 3790 | ><I |
| 3791 | >val</I |
| 3792 | ></TT |
| 3793 | ></P |
| 3794 | ><P |
| 3795 | ></P |
| 3796 | ><DIV |
| 3797 | CLASS="INFORMALTABLE" |
| 3798 | ><P |
| 3799 | ></P |
| 3800 | ><TABLE |
| 3801 | BORDER="0" |
| 3802 | WIDTH="100%" |
| 3803 | BGCOLOR="#FFD0D0" |
| 3804 | CELLSPACING="0" |
| 3805 | CELLPADDING="4" |
| 3806 | CLASS="CALSTABLE" |
| 3807 | ><TR |
| 3808 | ><TD |
| 3809 | WIDTH="20%" |
| 3810 | ALIGN="RIGHT" |
| 3811 | VALIGN="TOP" |
| 3812 | ><TT |
| 3813 | CLASS="PARAMETER" |
| 3814 | ><I |
| 3815 | >val</I |
| 3816 | ></TT |
| 3817 | > :</TD |
| 3818 | ><TD |
| 3819 | WIDTH="80%" |
| 3820 | ALIGN="LEFT" |
| 3821 | VALIGN="TOP" |
| 3822 | > the boolean value</TD |
| 3823 | ></TR |
| 3824 | ><TR |
| 3825 | ><TD |
| 3826 | WIDTH="20%" |
| 3827 | ALIGN="RIGHT" |
| 3828 | VALIGN="TOP" |
| 3829 | ><I |
| 3830 | CLASS="EMPHASIS" |
| 3831 | >Returns</I |
| 3832 | > :</TD |
| 3833 | ><TD |
| 3834 | WIDTH="80%" |
| 3835 | ALIGN="LEFT" |
| 3836 | VALIGN="TOP" |
| 3837 | >the newly created object.</TD |
| 3838 | ></TR |
| 3839 | ></TABLE |
| 3840 | ><P |
| 3841 | ></P |
| 3842 | ></DIV |
| 3843 | ></DIV |
| 3844 | ><HR><DIV |
| 3845 | CLASS="REFSECT2" |
| 3846 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 3847 | NAME="AEN12045" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 3848 | ></A |
| 3849 | ><H3 |
| 3850 | ><A |
| 3851 | NAME="XMLXPATHNEWNODESET" |
| 3852 | ></A |
| 3853 | >xmlXPathNewNodeSet ()</H3 |
| 3854 | ><TABLE |
| 3855 | BORDER="0" |
| 3856 | BGCOLOR="#D6E8FF" |
| 3857 | WIDTH="100%" |
| 3858 | CELLPADDING="6" |
| 3859 | ><TR |
| 3860 | ><TD |
| 3861 | ><PRE |
| 3862 | CLASS="PROGRAMLISTING" |
| 3863 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3864 | HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 3865 | >xmlXPathObjectPtr</A |
| 3866 | > xmlXPathNewNodeSet (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3867 | HREF="libxml-tree.html#XMLNODEPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 3868 | >xmlNodePtr</A |
| 3869 | > val);</PRE |
| 3870 | ></TD |
| 3871 | ></TR |
| 3872 | ></TABLE |
| 3873 | ><P |
| 3874 | >Create a new xmlXPathObjectPtr of type NodeSet and initialize |
| 3875 | it with the single Node <TT |
| 3876 | CLASS="PARAMETER" |
| 3877 | ><I |
| 3878 | >val</I |
| 3879 | ></TT |
| 3880 | ></P |
| 3881 | ><P |
| 3882 | ></P |
| 3883 | ><DIV |
| 3884 | CLASS="INFORMALTABLE" |
| 3885 | ><P |
| 3886 | ></P |
| 3887 | ><TABLE |
| 3888 | BORDER="0" |
| 3889 | WIDTH="100%" |
| 3890 | BGCOLOR="#FFD0D0" |
| 3891 | CELLSPACING="0" |
| 3892 | CELLPADDING="4" |
| 3893 | CLASS="CALSTABLE" |
| 3894 | ><TR |
| 3895 | ><TD |
| 3896 | WIDTH="20%" |
| 3897 | ALIGN="RIGHT" |
| 3898 | VALIGN="TOP" |
| 3899 | ><TT |
| 3900 | CLASS="PARAMETER" |
| 3901 | ><I |
| 3902 | >val</I |
| 3903 | ></TT |
| 3904 | > :</TD |
| 3905 | ><TD |
| 3906 | WIDTH="80%" |
| 3907 | ALIGN="LEFT" |
| 3908 | VALIGN="TOP" |
| 3909 | > the NodePtr value</TD |
| 3910 | ></TR |
| 3911 | ><TR |
| 3912 | ><TD |
| 3913 | WIDTH="20%" |
| 3914 | ALIGN="RIGHT" |
| 3915 | VALIGN="TOP" |
| 3916 | ><I |
| 3917 | CLASS="EMPHASIS" |
| 3918 | >Returns</I |
| 3919 | > :</TD |
| 3920 | ><TD |
| 3921 | WIDTH="80%" |
| 3922 | ALIGN="LEFT" |
| 3923 | VALIGN="TOP" |
| 3924 | >the newly created object.</TD |
| 3925 | ></TR |
| 3926 | ></TABLE |
| 3927 | ><P |
| 3928 | ></P |
| 3929 | ></DIV |
| 3930 | ></DIV |
| 3931 | ><HR><DIV |
| 3932 | CLASS="REFSECT2" |
| 3933 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 3934 | NAME="AEN12067" |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3935 | ></A |
| 3936 | ><H3 |
| 3937 | ><A |
| 3938 | NAME="XMLXPATHNEWVALUETREE" |
| 3939 | ></A |
| 3940 | >xmlXPathNewValueTree ()</H3 |
| 3941 | ><TABLE |
| 3942 | BORDER="0" |
| 3943 | BGCOLOR="#D6E8FF" |
| 3944 | WIDTH="100%" |
| 3945 | CELLPADDING="6" |
| 3946 | ><TR |
| 3947 | ><TD |
| 3948 | ><PRE |
| 3949 | CLASS="PROGRAMLISTING" |
| 3950 | ><A |
| 3951 | HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" |
| 3952 | >xmlXPathObjectPtr</A |
| 3953 | > xmlXPathNewValueTree (<A |
| 3954 | HREF="libxml-tree.html#XMLNODEPTR" |
| 3955 | >xmlNodePtr</A |
| 3956 | > val);</PRE |
| 3957 | ></TD |
| 3958 | ></TR |
| 3959 | ></TABLE |
| 3960 | ><P |
| 3961 | >Create a new xmlXPathObjectPtr of type Value Tree (XSLT) and initialize |
| 3962 | it with the tree root <TT |
| 3963 | CLASS="PARAMETER" |
| 3964 | ><I |
| 3965 | >val</I |
| 3966 | ></TT |
| 3967 | ></P |
| 3968 | ><P |
| 3969 | ></P |
| 3970 | ><DIV |
| 3971 | CLASS="INFORMALTABLE" |
| 3972 | ><P |
| 3973 | ></P |
| 3974 | ><TABLE |
| 3975 | BORDER="0" |
| 3976 | WIDTH="100%" |
| 3977 | BGCOLOR="#FFD0D0" |
| 3978 | CELLSPACING="0" |
| 3979 | CELLPADDING="4" |
| 3980 | CLASS="CALSTABLE" |
| 3981 | ><TR |
| 3982 | ><TD |
| 3983 | WIDTH="20%" |
| 3984 | ALIGN="RIGHT" |
| 3985 | VALIGN="TOP" |
| 3986 | ><TT |
| 3987 | CLASS="PARAMETER" |
| 3988 | ><I |
| 3989 | >val</I |
| 3990 | ></TT |
| 3991 | > :</TD |
| 3992 | ><TD |
| 3993 | WIDTH="80%" |
| 3994 | ALIGN="LEFT" |
| 3995 | VALIGN="TOP" |
| 3996 | > the NodePtr value</TD |
| 3997 | ></TR |
| 3998 | ><TR |
| 3999 | ><TD |
| 4000 | WIDTH="20%" |
| 4001 | ALIGN="RIGHT" |
| 4002 | VALIGN="TOP" |
| 4003 | ><I |
| 4004 | CLASS="EMPHASIS" |
| 4005 | >Returns</I |
| 4006 | > :</TD |
| 4007 | ><TD |
| 4008 | WIDTH="80%" |
| 4009 | ALIGN="LEFT" |
| 4010 | VALIGN="TOP" |
| 4011 | >the newly created object.</TD |
| 4012 | ></TR |
| 4013 | ></TABLE |
| 4014 | ><P |
| 4015 | ></P |
| 4016 | ></DIV |
| 4017 | ></DIV |
| 4018 | ><HR><DIV |
| 4019 | CLASS="REFSECT2" |
| 4020 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 4021 | NAME="AEN12089" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 4022 | ></A |
| 4023 | ><H3 |
| 4024 | ><A |
| 4025 | NAME="XMLXPATHNODESETADD" |
| 4026 | ></A |
| 4027 | >xmlXPathNodeSetAdd ()</H3 |
| 4028 | ><TABLE |
| 4029 | BORDER="0" |
| 4030 | BGCOLOR="#D6E8FF" |
| 4031 | WIDTH="100%" |
| 4032 | CELLPADDING="6" |
| 4033 | ><TR |
| 4034 | ><TD |
| 4035 | ><PRE |
| 4036 | CLASS="PROGRAMLISTING" |
| 4037 | >void xmlXPathNodeSetAdd (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4038 | HREF="libxml-xpath.html#XMLNODESETPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 4039 | >xmlNodeSetPtr</A |
| 4040 | > cur, |
| 4041 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4042 | HREF="libxml-tree.html#XMLNODEPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 4043 | >xmlNodePtr</A |
| 4044 | > val);</PRE |
| 4045 | ></TD |
| 4046 | ></TR |
| 4047 | ></TABLE |
| 4048 | ><P |
| 4049 | >add a new xmlNodePtr ot an existing NodeSet</P |
| 4050 | ><P |
| 4051 | ></P |
| 4052 | ><DIV |
| 4053 | CLASS="INFORMALTABLE" |
| 4054 | ><P |
| 4055 | ></P |
| 4056 | ><TABLE |
| 4057 | BORDER="0" |
| 4058 | WIDTH="100%" |
| 4059 | BGCOLOR="#FFD0D0" |
| 4060 | CELLSPACING="0" |
| 4061 | CELLPADDING="4" |
| 4062 | CLASS="CALSTABLE" |
| 4063 | ><TR |
| 4064 | ><TD |
| 4065 | WIDTH="20%" |
| 4066 | ALIGN="RIGHT" |
| 4067 | VALIGN="TOP" |
| 4068 | ><TT |
| 4069 | CLASS="PARAMETER" |
| 4070 | ><I |
| 4071 | >cur</I |
| 4072 | ></TT |
| 4073 | > :</TD |
| 4074 | ><TD |
| 4075 | WIDTH="80%" |
| 4076 | ALIGN="LEFT" |
| 4077 | VALIGN="TOP" |
| 4078 | > the initial node set</TD |
| 4079 | ></TR |
| 4080 | ><TR |
| 4081 | ><TD |
| 4082 | WIDTH="20%" |
| 4083 | ALIGN="RIGHT" |
| 4084 | VALIGN="TOP" |
| 4085 | ><TT |
| 4086 | CLASS="PARAMETER" |
| 4087 | ><I |
| 4088 | >val</I |
| 4089 | ></TT |
| 4090 | > :</TD |
| 4091 | ><TD |
| 4092 | WIDTH="80%" |
| 4093 | ALIGN="LEFT" |
| 4094 | VALIGN="TOP" |
| 4095 | > a new xmlNodePtr</TD |
| 4096 | ></TR |
| 4097 | ></TABLE |
| 4098 | ><P |
| 4099 | ></P |
| 4100 | ></DIV |
| 4101 | ></DIV |
| 4102 | ><HR><DIV |
| 4103 | CLASS="REFSECT2" |
| 4104 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 4105 | NAME="AEN12110" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 4106 | ></A |
| 4107 | ><H3 |
| 4108 | ><A |
| 4109 | NAME="XMLXPATHIDFUNCTION" |
| 4110 | ></A |
| 4111 | >xmlXPathIdFunction ()</H3 |
| 4112 | ><TABLE |
| 4113 | BORDER="0" |
| 4114 | BGCOLOR="#D6E8FF" |
| 4115 | WIDTH="100%" |
| 4116 | CELLPADDING="6" |
| 4117 | ><TR |
| 4118 | ><TD |
| 4119 | ><PRE |
| 4120 | CLASS="PROGRAMLISTING" |
| 4121 | >void xmlXPathIdFunction (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4122 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 4123 | >xmlXPathParserContextPtr</A |
| 4124 | > ctxt, |
| 4125 | int nargs);</PRE |
| 4126 | ></TD |
| 4127 | ></TR |
| 4128 | ></TABLE |
| 4129 | ><P |
| 4130 | >Implement the <GTKDOCLINK |
| 4131 | HREF="ID" |
| 4132 | >id</GTKDOCLINK |
| 4133 | >() XPath function |
| 4134 | node-set id(object) |
| 4135 | The id function selects elements by their unique ID |
| 4136 | (see [5.2.1 Unique IDs]). When the argument to id is of type node-set, |
| 4137 | then the result is the union of the result of applying id to the |
| 4138 | string value of each of the nodes in the argument node-set. When the |
| 4139 | argument to id is of any other type, the argument is converted to a |
| 4140 | string as if by a call to the string function; the string is split |
| 4141 | into a whitespace-separated list of tokens (whitespace is any sequence |
| 4142 | of characters matching the production S); the result is a node-set |
| 4143 | containing the elements in the same document as the context node that |
| 4144 | have a unique ID equal to any of the tokens in the list.</P |
| 4145 | ><P |
| 4146 | ></P |
| 4147 | ><DIV |
| 4148 | CLASS="INFORMALTABLE" |
| 4149 | ><P |
| 4150 | ></P |
| 4151 | ><TABLE |
| 4152 | BORDER="0" |
| 4153 | WIDTH="100%" |
| 4154 | BGCOLOR="#FFD0D0" |
| 4155 | CELLSPACING="0" |
| 4156 | CELLPADDING="4" |
| 4157 | CLASS="CALSTABLE" |
| 4158 | ><TR |
| 4159 | ><TD |
| 4160 | WIDTH="20%" |
| 4161 | ALIGN="RIGHT" |
| 4162 | VALIGN="TOP" |
| 4163 | ><TT |
| 4164 | CLASS="PARAMETER" |
| 4165 | ><I |
| 4166 | >ctxt</I |
| 4167 | ></TT |
| 4168 | > :</TD |
| 4169 | ><TD |
| 4170 | WIDTH="80%" |
| 4171 | ALIGN="LEFT" |
| 4172 | VALIGN="TOP" |
| 4173 | > the XPath Parser context</TD |
| 4174 | ></TR |
| 4175 | ><TR |
| 4176 | ><TD |
| 4177 | WIDTH="20%" |
| 4178 | ALIGN="RIGHT" |
| 4179 | VALIGN="TOP" |
| 4180 | ><TT |
| 4181 | CLASS="PARAMETER" |
| 4182 | ><I |
| 4183 | >nargs</I |
| 4184 | ></TT |
| 4185 | > :</TD |
| 4186 | ><TD |
| 4187 | WIDTH="80%" |
| 4188 | ALIGN="LEFT" |
| 4189 | VALIGN="TOP" |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4190 | > the number of arguments</TD |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 4191 | ></TR |
| 4192 | ></TABLE |
| 4193 | ><P |
| 4194 | ></P |
| 4195 | ></DIV |
| 4196 | ></DIV |
| 4197 | ><HR><DIV |
| 4198 | CLASS="REFSECT2" |
| 4199 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 4200 | NAME="AEN12131" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 4201 | ></A |
| 4202 | ><H3 |
| 4203 | ><A |
| 4204 | NAME="XMLXPATHROOT" |
| 4205 | ></A |
| 4206 | >xmlXPathRoot ()</H3 |
| 4207 | ><TABLE |
| 4208 | BORDER="0" |
| 4209 | BGCOLOR="#D6E8FF" |
| 4210 | WIDTH="100%" |
| 4211 | CELLPADDING="6" |
| 4212 | ><TR |
| 4213 | ><TD |
| 4214 | ><PRE |
| 4215 | CLASS="PROGRAMLISTING" |
| 4216 | >void xmlXPathRoot (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4217 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 4218 | >xmlXPathParserContextPtr</A |
| 4219 | > ctxt);</PRE |
| 4220 | ></TD |
| 4221 | ></TR |
| 4222 | ></TABLE |
| 4223 | ><P |
| 4224 | >Initialize the context to the root of the document</P |
| 4225 | ><P |
| 4226 | ></P |
| 4227 | ><DIV |
| 4228 | CLASS="INFORMALTABLE" |
| 4229 | ><P |
| 4230 | ></P |
| 4231 | ><TABLE |
| 4232 | BORDER="0" |
| 4233 | WIDTH="100%" |
| 4234 | BGCOLOR="#FFD0D0" |
| 4235 | CELLSPACING="0" |
| 4236 | CELLPADDING="4" |
| 4237 | CLASS="CALSTABLE" |
| 4238 | ><TR |
| 4239 | ><TD |
| 4240 | WIDTH="20%" |
| 4241 | ALIGN="RIGHT" |
| 4242 | VALIGN="TOP" |
| 4243 | ><TT |
| 4244 | CLASS="PARAMETER" |
| 4245 | ><I |
| 4246 | >ctxt</I |
| 4247 | ></TT |
| 4248 | > :</TD |
| 4249 | ><TD |
| 4250 | WIDTH="80%" |
| 4251 | ALIGN="LEFT" |
| 4252 | VALIGN="TOP" |
| 4253 | > the XPath Parser context</TD |
| 4254 | ></TR |
| 4255 | ></TABLE |
| 4256 | ><P |
| 4257 | ></P |
| 4258 | ></DIV |
| 4259 | ></DIV |
| 4260 | ><HR><DIV |
| 4261 | CLASS="REFSECT2" |
| 4262 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 4263 | NAME="AEN12147" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 4264 | ></A |
| 4265 | ><H3 |
| 4266 | ><A |
| 4267 | NAME="XMLXPATHEVALEXPR" |
| 4268 | ></A |
| 4269 | >xmlXPathEvalExpr ()</H3 |
| 4270 | ><TABLE |
| 4271 | BORDER="0" |
| 4272 | BGCOLOR="#D6E8FF" |
| 4273 | WIDTH="100%" |
| 4274 | CELLPADDING="6" |
| 4275 | ><TR |
| 4276 | ><TD |
| 4277 | ><PRE |
| 4278 | CLASS="PROGRAMLISTING" |
| 4279 | >void xmlXPathEvalExpr (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4280 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 4281 | >xmlXPathParserContextPtr</A |
| 4282 | > ctxt);</PRE |
| 4283 | ></TD |
| 4284 | ></TR |
| 4285 | ></TABLE |
| 4286 | ><P |
| 4287 | >[14] Expr ::= OrExpr |
| 4288 | [21] OrExpr ::= AndExpr |
| 4289 | | OrExpr 'or' AndExpr </P |
| 4290 | ><P |
| 4291 | >Parse and evaluate an expression, then push the result on the stack</P |
| 4292 | ><P |
| 4293 | ></P |
| 4294 | ><DIV |
| 4295 | CLASS="INFORMALTABLE" |
| 4296 | ><P |
| 4297 | ></P |
| 4298 | ><TABLE |
| 4299 | BORDER="0" |
| 4300 | WIDTH="100%" |
| 4301 | BGCOLOR="#FFD0D0" |
| 4302 | CELLSPACING="0" |
| 4303 | CELLPADDING="4" |
| 4304 | CLASS="CALSTABLE" |
| 4305 | ><TR |
| 4306 | ><TD |
| 4307 | WIDTH="20%" |
| 4308 | ALIGN="RIGHT" |
| 4309 | VALIGN="TOP" |
| 4310 | ><TT |
| 4311 | CLASS="PARAMETER" |
| 4312 | ><I |
| 4313 | >ctxt</I |
| 4314 | ></TT |
| 4315 | > :</TD |
| 4316 | ><TD |
| 4317 | WIDTH="80%" |
| 4318 | ALIGN="LEFT" |
| 4319 | VALIGN="TOP" |
| 4320 | > the XPath Parser context</TD |
| 4321 | ></TR |
| 4322 | ></TABLE |
| 4323 | ><P |
| 4324 | ></P |
| 4325 | ></DIV |
| 4326 | ></DIV |
| 4327 | ><HR><DIV |
| 4328 | CLASS="REFSECT2" |
| 4329 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 4330 | NAME="AEN12164" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 4331 | ></A |
| 4332 | ><H3 |
| 4333 | ><A |
| 4334 | NAME="XMLXPATHPARSENAME" |
| 4335 | ></A |
| 4336 | >xmlXPathParseName ()</H3 |
| 4337 | ><TABLE |
| 4338 | BORDER="0" |
| 4339 | BGCOLOR="#D6E8FF" |
| 4340 | WIDTH="100%" |
| 4341 | CELLPADDING="6" |
| 4342 | ><TR |
| 4343 | ><TD |
| 4344 | ><PRE |
| 4345 | CLASS="PROGRAMLISTING" |
| 4346 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4347 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 4348 | >xmlChar</A |
| 4349 | >* xmlXPathParseName (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4350 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 4351 | >xmlXPathParserContextPtr</A |
| 4352 | > ctxt);</PRE |
| 4353 | ></TD |
| 4354 | ></TR |
| 4355 | ></TABLE |
| 4356 | ><P |
| 4357 | >parse an XML name</P |
| 4358 | ><P |
| 4359 | >[4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' | |
| 4360 | CombiningChar | Extender</P |
| 4361 | ><P |
| 4362 | >[5] Name ::= (Letter | '_' | ':') (NameChar)*</P |
| 4363 | ><P |
| 4364 | ></P |
| 4365 | ><DIV |
| 4366 | CLASS="INFORMALTABLE" |
| 4367 | ><P |
| 4368 | ></P |
| 4369 | ><TABLE |
| 4370 | BORDER="0" |
| 4371 | WIDTH="100%" |
| 4372 | BGCOLOR="#FFD0D0" |
| 4373 | CELLSPACING="0" |
| 4374 | CELLPADDING="4" |
| 4375 | CLASS="CALSTABLE" |
| 4376 | ><TR |
| 4377 | ><TD |
| 4378 | WIDTH="20%" |
| 4379 | ALIGN="RIGHT" |
| 4380 | VALIGN="TOP" |
| 4381 | ><TT |
| 4382 | CLASS="PARAMETER" |
| 4383 | ><I |
| 4384 | >ctxt</I |
| 4385 | ></TT |
| 4386 | > :</TD |
| 4387 | ><TD |
| 4388 | WIDTH="80%" |
| 4389 | ALIGN="LEFT" |
| 4390 | VALIGN="TOP" |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4391 | > the XPath Parser context</TD |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 4392 | ></TR |
| 4393 | ><TR |
| 4394 | ><TD |
| 4395 | WIDTH="20%" |
| 4396 | ALIGN="RIGHT" |
| 4397 | VALIGN="TOP" |
| 4398 | ><I |
| 4399 | CLASS="EMPHASIS" |
| 4400 | >Returns</I |
| 4401 | > :</TD |
| 4402 | ><TD |
| 4403 | WIDTH="80%" |
| 4404 | ALIGN="LEFT" |
| 4405 | VALIGN="TOP" |
| 4406 | >the namespace name or NULL</TD |
| 4407 | ></TR |
| 4408 | ></TABLE |
| 4409 | ><P |
| 4410 | ></P |
| 4411 | ></DIV |
| 4412 | ></DIV |
| 4413 | ><HR><DIV |
| 4414 | CLASS="REFSECT2" |
| 4415 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 4416 | NAME="AEN12187" |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 4417 | ></A |
| 4418 | ><H3 |
| 4419 | ><A |
| 4420 | NAME="XMLXPATHPARSENCNAME" |
| 4421 | ></A |
| 4422 | >xmlXPathParseNCName ()</H3 |
| 4423 | ><TABLE |
| 4424 | BORDER="0" |
| 4425 | BGCOLOR="#D6E8FF" |
| 4426 | WIDTH="100%" |
| 4427 | CELLPADDING="6" |
| 4428 | ><TR |
| 4429 | ><TD |
| 4430 | ><PRE |
| 4431 | CLASS="PROGRAMLISTING" |
| 4432 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4433 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 4434 | >xmlChar</A |
| 4435 | >* xmlXPathParseNCName (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4436 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 4437 | >xmlXPathParserContextPtr</A |
| 4438 | > ctxt);</PRE |
| 4439 | ></TD |
| 4440 | ></TR |
| 4441 | ></TABLE |
| 4442 | ><P |
| 4443 | >parse an XML namespace non qualified name.</P |
| 4444 | ><P |
| 4445 | >[NS 3] NCName ::= (Letter | '_') (NCNameChar)*</P |
| 4446 | ><P |
| 4447 | >[NS 4] NCNameChar ::= Letter | Digit | '.' | '-' | '_' | |
| 4448 | CombiningChar | Extender</P |
| 4449 | ><P |
| 4450 | ></P |
| 4451 | ><DIV |
| 4452 | CLASS="INFORMALTABLE" |
| 4453 | ><P |
| 4454 | ></P |
| 4455 | ><TABLE |
| 4456 | BORDER="0" |
| 4457 | WIDTH="100%" |
| 4458 | BGCOLOR="#FFD0D0" |
| 4459 | CELLSPACING="0" |
| 4460 | CELLPADDING="4" |
| 4461 | CLASS="CALSTABLE" |
| 4462 | ><TR |
| 4463 | ><TD |
| 4464 | WIDTH="20%" |
| 4465 | ALIGN="RIGHT" |
| 4466 | VALIGN="TOP" |
| 4467 | ><TT |
| 4468 | CLASS="PARAMETER" |
| 4469 | ><I |
| 4470 | >ctxt</I |
| 4471 | ></TT |
| 4472 | > :</TD |
| 4473 | ><TD |
| 4474 | WIDTH="80%" |
| 4475 | ALIGN="LEFT" |
| 4476 | VALIGN="TOP" |
| 4477 | > the XPath Parser context</TD |
| 4478 | ></TR |
| 4479 | ><TR |
| 4480 | ><TD |
| 4481 | WIDTH="20%" |
| 4482 | ALIGN="RIGHT" |
| 4483 | VALIGN="TOP" |
| 4484 | ><I |
| 4485 | CLASS="EMPHASIS" |
| 4486 | >Returns</I |
| 4487 | > :</TD |
| 4488 | ><TD |
| 4489 | WIDTH="80%" |
| 4490 | ALIGN="LEFT" |
| 4491 | VALIGN="TOP" |
| 4492 | >the namespace name or NULL</TD |
| 4493 | ></TR |
| 4494 | ></TABLE |
| 4495 | ><P |
| 4496 | ></P |
| 4497 | ></DIV |
| 4498 | ></DIV |
| 4499 | ><HR><DIV |
| 4500 | CLASS="REFSECT2" |
| 4501 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 4502 | NAME="AEN12210" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 4503 | ></A |
| 4504 | ><H3 |
| 4505 | ><A |
| 4506 | NAME="XMLXPATHSTRINGEVALNUMBER" |
| 4507 | ></A |
| 4508 | >xmlXPathStringEvalNumber ()</H3 |
| 4509 | ><TABLE |
| 4510 | BORDER="0" |
| 4511 | BGCOLOR="#D6E8FF" |
| 4512 | WIDTH="100%" |
| 4513 | CELLPADDING="6" |
| 4514 | ><TR |
| 4515 | ><TD |
| 4516 | ><PRE |
| 4517 | CLASS="PROGRAMLISTING" |
| 4518 | ><GTKDOCLINK |
| 4519 | HREF="DOUBLE" |
| 4520 | >double</GTKDOCLINK |
| 4521 | > xmlXPathStringEvalNumber (const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4522 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 4523 | >xmlChar</A |
| 4524 | > *str);</PRE |
| 4525 | ></TD |
| 4526 | ></TR |
| 4527 | ></TABLE |
| 4528 | ><P |
| 4529 | >[30] Number ::= Digits ('.' Digits?)? |
| 4530 | | '.' Digits |
| 4531 | [31] Digits ::= [0-9]+</P |
| 4532 | ><P |
| 4533 | >Parse and evaluate a Number in the string |
| 4534 | In complement of the Number expression, this function also handles |
| 4535 | negative values : '-' Number.</P |
| 4536 | ><P |
| 4537 | ></P |
| 4538 | ><DIV |
| 4539 | CLASS="INFORMALTABLE" |
| 4540 | ><P |
| 4541 | ></P |
| 4542 | ><TABLE |
| 4543 | BORDER="0" |
| 4544 | WIDTH="100%" |
| 4545 | BGCOLOR="#FFD0D0" |
| 4546 | CELLSPACING="0" |
| 4547 | CELLPADDING="4" |
| 4548 | CLASS="CALSTABLE" |
| 4549 | ><TR |
| 4550 | ><TD |
| 4551 | WIDTH="20%" |
| 4552 | ALIGN="RIGHT" |
| 4553 | VALIGN="TOP" |
| 4554 | ><TT |
| 4555 | CLASS="PARAMETER" |
| 4556 | ><I |
| 4557 | >str</I |
| 4558 | ></TT |
| 4559 | > :</TD |
| 4560 | ><TD |
| 4561 | WIDTH="80%" |
| 4562 | ALIGN="LEFT" |
| 4563 | VALIGN="TOP" |
| 4564 | > A string to scan</TD |
| 4565 | ></TR |
| 4566 | ><TR |
| 4567 | ><TD |
| 4568 | WIDTH="20%" |
| 4569 | ALIGN="RIGHT" |
| 4570 | VALIGN="TOP" |
| 4571 | ><I |
| 4572 | CLASS="EMPHASIS" |
| 4573 | >Returns</I |
| 4574 | > :</TD |
| 4575 | ><TD |
| 4576 | WIDTH="80%" |
| 4577 | ALIGN="LEFT" |
| 4578 | VALIGN="TOP" |
| 4579 | >the double value.</TD |
| 4580 | ></TR |
| 4581 | ></TABLE |
| 4582 | ><P |
| 4583 | ></P |
| 4584 | ></DIV |
| 4585 | ></DIV |
| 4586 | ><HR><DIV |
| 4587 | CLASS="REFSECT2" |
| 4588 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 4589 | NAME="AEN12232" |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame] | 4590 | ></A |
| 4591 | ><H3 |
| 4592 | ><A |
| 4593 | NAME="XMLXPATHEVALUATEPREDICATERESULT" |
| 4594 | ></A |
| 4595 | >xmlXPathEvaluatePredicateResult ()</H3 |
| 4596 | ><TABLE |
| 4597 | BORDER="0" |
| 4598 | BGCOLOR="#D6E8FF" |
| 4599 | WIDTH="100%" |
| 4600 | CELLPADDING="6" |
| 4601 | ><TR |
| 4602 | ><TD |
| 4603 | ><PRE |
| 4604 | CLASS="PROGRAMLISTING" |
| 4605 | >int xmlXPathEvaluatePredicateResult (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4606 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame] | 4607 | >xmlXPathParserContextPtr</A |
| 4608 | > ctxt, |
| 4609 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4610 | HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame] | 4611 | >xmlXPathObjectPtr</A |
| 4612 | > res);</PRE |
| 4613 | ></TD |
| 4614 | ></TR |
| 4615 | ></TABLE |
| 4616 | ><P |
| 4617 | >Evaluate a predicate result for the current node. |
| 4618 | A PredicateExpr is evaluated by evaluating the Expr and converting |
| 4619 | the result to a boolean. If the result is a number, the result will |
| 4620 | be converted to true if the number is equal to the position of the |
| 4621 | context node in the context node list (as returned by the position |
| 4622 | function) and will be converted to false otherwise; if the result |
| 4623 | is not a number, then the result will be converted as if by a call |
Daniel Veillard | d194dd2 | 2001-02-14 10:37:43 +0000 | [diff] [blame] | 4624 | to the boolean function. </P |
| 4625 | ><P |
| 4626 | >Return 1 if predicate is true, 0 otherwise</P |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame] | 4627 | ><P |
| 4628 | ></P |
| 4629 | ><DIV |
| 4630 | CLASS="INFORMALTABLE" |
| 4631 | ><P |
| 4632 | ></P |
| 4633 | ><TABLE |
| 4634 | BORDER="0" |
| 4635 | WIDTH="100%" |
| 4636 | BGCOLOR="#FFD0D0" |
| 4637 | CELLSPACING="0" |
| 4638 | CELLPADDING="4" |
| 4639 | CLASS="CALSTABLE" |
| 4640 | ><TR |
| 4641 | ><TD |
| 4642 | WIDTH="20%" |
| 4643 | ALIGN="RIGHT" |
| 4644 | VALIGN="TOP" |
| 4645 | ><TT |
| 4646 | CLASS="PARAMETER" |
| 4647 | ><I |
| 4648 | >ctxt</I |
| 4649 | ></TT |
| 4650 | > :</TD |
| 4651 | ><TD |
| 4652 | WIDTH="80%" |
| 4653 | ALIGN="LEFT" |
| 4654 | VALIGN="TOP" |
| 4655 | > the XPath Parser context</TD |
| 4656 | ></TR |
| 4657 | ><TR |
| 4658 | ><TD |
| 4659 | WIDTH="20%" |
| 4660 | ALIGN="RIGHT" |
| 4661 | VALIGN="TOP" |
| 4662 | ><TT |
| 4663 | CLASS="PARAMETER" |
| 4664 | ><I |
| 4665 | >res</I |
| 4666 | ></TT |
| 4667 | > :</TD |
| 4668 | ><TD |
| 4669 | WIDTH="80%" |
| 4670 | ALIGN="LEFT" |
| 4671 | VALIGN="TOP" |
| 4672 | > the Predicate Expression evaluation result</TD |
| 4673 | ></TR |
| 4674 | ><TR |
| 4675 | ><TD |
| 4676 | WIDTH="20%" |
| 4677 | ALIGN="RIGHT" |
| 4678 | VALIGN="TOP" |
| 4679 | ><I |
| 4680 | CLASS="EMPHASIS" |
| 4681 | >Returns</I |
| 4682 | > :</TD |
| 4683 | ><TD |
| 4684 | WIDTH="80%" |
| 4685 | ALIGN="LEFT" |
| 4686 | VALIGN="TOP" |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 4687 | > </TD |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame] | 4688 | ></TR |
| 4689 | ></TABLE |
| 4690 | ><P |
| 4691 | ></P |
| 4692 | ></DIV |
| 4693 | ></DIV |
| 4694 | ><HR><DIV |
| 4695 | CLASS="REFSECT2" |
| 4696 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 4697 | NAME="AEN12258" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 4698 | ></A |
| 4699 | ><H3 |
| 4700 | ><A |
| 4701 | NAME="XMLXPATHINIT" |
| 4702 | ></A |
| 4703 | >xmlXPathInit ()</H3 |
| 4704 | ><TABLE |
| 4705 | BORDER="0" |
| 4706 | BGCOLOR="#D6E8FF" |
| 4707 | WIDTH="100%" |
| 4708 | CELLPADDING="6" |
| 4709 | ><TR |
| 4710 | ><TD |
| 4711 | ><PRE |
| 4712 | CLASS="PROGRAMLISTING" |
| 4713 | >void xmlXPathInit (void);</PRE |
| 4714 | ></TD |
| 4715 | ></TR |
| 4716 | ></TABLE |
| 4717 | ><P |
| 4718 | >Initialize the XPath environment</P |
| 4719 | ><P |
| 4720 | ></P |
| 4721 | ></DIV |
| 4722 | ><HR><DIV |
| 4723 | CLASS="REFSECT2" |
| 4724 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 4725 | NAME="AEN12264" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 4726 | ></A |
| 4727 | ><H3 |
| 4728 | ><A |
| 4729 | NAME="XMLXPATHSTRINGFUNCTION" |
| 4730 | ></A |
| 4731 | >xmlXPathStringFunction ()</H3 |
| 4732 | ><TABLE |
| 4733 | BORDER="0" |
| 4734 | BGCOLOR="#D6E8FF" |
| 4735 | WIDTH="100%" |
| 4736 | CELLPADDING="6" |
| 4737 | ><TR |
| 4738 | ><TD |
| 4739 | ><PRE |
| 4740 | CLASS="PROGRAMLISTING" |
| 4741 | >void xmlXPathStringFunction (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4742 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 4743 | >xmlXPathParserContextPtr</A |
| 4744 | > ctxt, |
| 4745 | int nargs);</PRE |
| 4746 | ></TD |
| 4747 | ></TR |
| 4748 | ></TABLE |
| 4749 | ><P |
| 4750 | >Implement the <GTKDOCLINK |
| 4751 | HREF="STRING" |
| 4752 | >string</GTKDOCLINK |
| 4753 | >() XPath function |
| 4754 | string string(object?) |
| 4755 | he string function converts an object to a string as follows: |
| 4756 | - A node-set is converted to a string by returning the value of |
| 4757 | the node in the node-set that is first in document order. |
| 4758 | If the node-set is empty, an empty string is returned. |
| 4759 | - A number is converted to a string as follows |
| 4760 | + NaN is converted to the string NaN |
| 4761 | + positive zero is converted to the string 0 |
| 4762 | + negative zero is converted to the string 0 |
| 4763 | + positive infinity is converted to the string Infinity |
| 4764 | + negative infinity is converted to the string -Infinity |
| 4765 | + if the number is an integer, the number is represented in |
| 4766 | decimal form as a Number with no decimal point and no leading |
| 4767 | zeros, preceded by a minus sign (-) if the number is negative |
| 4768 | + otherwise, the number is represented in decimal form as a |
| 4769 | Number including a decimal point with at least one digit |
| 4770 | before the decimal point and at least one digit after the |
| 4771 | decimal point, preceded by a minus sign (-) if the number |
| 4772 | is negative; there must be no leading zeros before the decimal |
| 4773 | point apart possibly from the one required digit immediatelyi |
| 4774 | before the decimal point; beyond the one required digit |
| 4775 | after the decimal point there must be as many, but only as |
| 4776 | many, more digits as are needed to uniquely distinguish the |
| 4777 | number from all other IEEE 754 numeric values. |
| 4778 | - The boolean false value is converted to the string false. |
| 4779 | The boolean true value is converted to the string true.</P |
| 4780 | ><P |
| 4781 | >If the argument is omitted, it defaults to a node-set with the |
| 4782 | context node as its only member.</P |
| 4783 | ><P |
| 4784 | ></P |
| 4785 | ><DIV |
| 4786 | CLASS="INFORMALTABLE" |
| 4787 | ><P |
| 4788 | ></P |
| 4789 | ><TABLE |
| 4790 | BORDER="0" |
| 4791 | WIDTH="100%" |
| 4792 | BGCOLOR="#FFD0D0" |
| 4793 | CELLSPACING="0" |
| 4794 | CELLPADDING="4" |
| 4795 | CLASS="CALSTABLE" |
| 4796 | ><TR |
| 4797 | ><TD |
| 4798 | WIDTH="20%" |
| 4799 | ALIGN="RIGHT" |
| 4800 | VALIGN="TOP" |
| 4801 | ><TT |
| 4802 | CLASS="PARAMETER" |
| 4803 | ><I |
| 4804 | >ctxt</I |
| 4805 | ></TT |
| 4806 | > :</TD |
| 4807 | ><TD |
| 4808 | WIDTH="80%" |
| 4809 | ALIGN="LEFT" |
| 4810 | VALIGN="TOP" |
| 4811 | > the XPath Parser context</TD |
| 4812 | ></TR |
| 4813 | ><TR |
| 4814 | ><TD |
| 4815 | WIDTH="20%" |
| 4816 | ALIGN="RIGHT" |
| 4817 | VALIGN="TOP" |
| 4818 | ><TT |
| 4819 | CLASS="PARAMETER" |
| 4820 | ><I |
| 4821 | >nargs</I |
| 4822 | ></TT |
| 4823 | > :</TD |
| 4824 | ><TD |
| 4825 | WIDTH="80%" |
| 4826 | ALIGN="LEFT" |
| 4827 | VALIGN="TOP" |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4828 | > the number of arguments</TD |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 4829 | ></TR |
| 4830 | ></TABLE |
| 4831 | ><P |
| 4832 | ></P |
| 4833 | ></DIV |
| 4834 | ></DIV |
| 4835 | ><HR><DIV |
| 4836 | CLASS="REFSECT2" |
| 4837 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 4838 | NAME="AEN12286" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 4839 | ></A |
| 4840 | ><H3 |
| 4841 | ><A |
| 4842 | NAME="XMLXPATHREGISTERALLFUNCTIONS" |
| 4843 | ></A |
| 4844 | >xmlXPathRegisterAllFunctions ()</H3 |
| 4845 | ><TABLE |
| 4846 | BORDER="0" |
| 4847 | BGCOLOR="#D6E8FF" |
| 4848 | WIDTH="100%" |
| 4849 | CELLPADDING="6" |
| 4850 | ><TR |
| 4851 | ><TD |
| 4852 | ><PRE |
| 4853 | CLASS="PROGRAMLISTING" |
| 4854 | >void xmlXPathRegisterAllFunctions (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4855 | HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 4856 | >xmlXPathContextPtr</A |
| 4857 | > ctxt);</PRE |
| 4858 | ></TD |
| 4859 | ></TR |
| 4860 | ></TABLE |
| 4861 | ><P |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4862 | >Registers all default XPath functions in this context</P |
| 4863 | ><P |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 4864 | ></P |
| 4865 | ><DIV |
| 4866 | CLASS="INFORMALTABLE" |
| 4867 | ><P |
| 4868 | ></P |
| 4869 | ><TABLE |
| 4870 | BORDER="0" |
| 4871 | WIDTH="100%" |
| 4872 | BGCOLOR="#FFD0D0" |
| 4873 | CELLSPACING="0" |
| 4874 | CELLPADDING="4" |
| 4875 | CLASS="CALSTABLE" |
| 4876 | ><TR |
| 4877 | ><TD |
| 4878 | WIDTH="20%" |
| 4879 | ALIGN="RIGHT" |
| 4880 | VALIGN="TOP" |
| 4881 | ><TT |
| 4882 | CLASS="PARAMETER" |
| 4883 | ><I |
| 4884 | >ctxt</I |
| 4885 | ></TT |
| 4886 | > :</TD |
| 4887 | ><TD |
| 4888 | WIDTH="80%" |
| 4889 | ALIGN="LEFT" |
| 4890 | VALIGN="TOP" |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4891 | > the XPath context</TD |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 4892 | ></TR |
| 4893 | ></TABLE |
| 4894 | ><P |
| 4895 | ></P |
| 4896 | ></DIV |
| 4897 | ></DIV |
| 4898 | ><HR><DIV |
| 4899 | CLASS="REFSECT2" |
| 4900 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 4901 | NAME="AEN12302" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 4902 | ></A |
| 4903 | ><H3 |
| 4904 | ><A |
| 4905 | NAME="XMLXPATHNODESETCREATE" |
| 4906 | ></A |
| 4907 | >xmlXPathNodeSetCreate ()</H3 |
| 4908 | ><TABLE |
| 4909 | BORDER="0" |
| 4910 | BGCOLOR="#D6E8FF" |
| 4911 | WIDTH="100%" |
| 4912 | CELLPADDING="6" |
| 4913 | ><TR |
| 4914 | ><TD |
| 4915 | ><PRE |
| 4916 | CLASS="PROGRAMLISTING" |
| 4917 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4918 | HREF="libxml-xpath.html#XMLNODESETPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 4919 | >xmlNodeSetPtr</A |
| 4920 | > xmlXPathNodeSetCreate (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4921 | HREF="libxml-tree.html#XMLNODEPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 4922 | >xmlNodePtr</A |
| 4923 | > val);</PRE |
| 4924 | ></TD |
| 4925 | ></TR |
| 4926 | ></TABLE |
| 4927 | ><P |
| 4928 | >Create a new xmlNodeSetPtr of type double and of value <TT |
| 4929 | CLASS="PARAMETER" |
| 4930 | ><I |
| 4931 | >val</I |
| 4932 | ></TT |
| 4933 | ></P |
| 4934 | ><P |
| 4935 | ></P |
| 4936 | ><DIV |
| 4937 | CLASS="INFORMALTABLE" |
| 4938 | ><P |
| 4939 | ></P |
| 4940 | ><TABLE |
| 4941 | BORDER="0" |
| 4942 | WIDTH="100%" |
| 4943 | BGCOLOR="#FFD0D0" |
| 4944 | CELLSPACING="0" |
| 4945 | CELLPADDING="4" |
| 4946 | CLASS="CALSTABLE" |
| 4947 | ><TR |
| 4948 | ><TD |
| 4949 | WIDTH="20%" |
| 4950 | ALIGN="RIGHT" |
| 4951 | VALIGN="TOP" |
| 4952 | ><TT |
| 4953 | CLASS="PARAMETER" |
| 4954 | ><I |
| 4955 | >val</I |
| 4956 | ></TT |
| 4957 | > :</TD |
| 4958 | ><TD |
| 4959 | WIDTH="80%" |
| 4960 | ALIGN="LEFT" |
| 4961 | VALIGN="TOP" |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4962 | > </TD |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 4963 | ></TR |
| 4964 | ><TR |
| 4965 | ><TD |
| 4966 | WIDTH="20%" |
| 4967 | ALIGN="RIGHT" |
| 4968 | VALIGN="TOP" |
| 4969 | ><I |
| 4970 | CLASS="EMPHASIS" |
| 4971 | >Returns</I |
| 4972 | > :</TD |
| 4973 | ><TD |
| 4974 | WIDTH="80%" |
| 4975 | ALIGN="LEFT" |
| 4976 | VALIGN="TOP" |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4977 | > </TD |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 4978 | ></TR |
| 4979 | ></TABLE |
| 4980 | ><P |
| 4981 | ></P |
| 4982 | ></DIV |
| 4983 | ></DIV |
| 4984 | ><HR><DIV |
| 4985 | CLASS="REFSECT2" |
| 4986 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 4987 | NAME="AEN12324" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 4988 | ></A |
| 4989 | ><H3 |
| 4990 | ><A |
| 4991 | NAME="XMLXPATHNODESETMERGE" |
| 4992 | ></A |
| 4993 | >xmlXPathNodeSetMerge ()</H3 |
| 4994 | ><TABLE |
| 4995 | BORDER="0" |
| 4996 | BGCOLOR="#D6E8FF" |
| 4997 | WIDTH="100%" |
| 4998 | CELLPADDING="6" |
| 4999 | ><TR |
| 5000 | ><TD |
| 5001 | ><PRE |
| 5002 | CLASS="PROGRAMLISTING" |
| 5003 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5004 | HREF="libxml-xpath.html#XMLNODESETPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 5005 | >xmlNodeSetPtr</A |
| 5006 | > xmlXPathNodeSetMerge (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5007 | HREF="libxml-xpath.html#XMLNODESETPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 5008 | >xmlNodeSetPtr</A |
| 5009 | > val1, |
| 5010 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5011 | HREF="libxml-xpath.html#XMLNODESETPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 5012 | >xmlNodeSetPtr</A |
| 5013 | > val2);</PRE |
| 5014 | ></TD |
| 5015 | ></TR |
| 5016 | ></TABLE |
| 5017 | ><P |
| 5018 | >Merges two nodesets, all nodes from <TT |
| 5019 | CLASS="PARAMETER" |
| 5020 | ><I |
| 5021 | >val2</I |
| 5022 | ></TT |
| 5023 | > are added to <TT |
| 5024 | CLASS="PARAMETER" |
| 5025 | ><I |
| 5026 | >val1</I |
| 5027 | ></TT |
| 5028 | > |
| 5029 | if <TT |
| 5030 | CLASS="PARAMETER" |
| 5031 | ><I |
| 5032 | >val1</I |
| 5033 | ></TT |
| 5034 | > is NULL, a new set is created and copied from <TT |
| 5035 | CLASS="PARAMETER" |
| 5036 | ><I |
| 5037 | >val2</I |
| 5038 | ></TT |
| 5039 | ></P |
| 5040 | ><P |
| 5041 | ></P |
| 5042 | ><DIV |
| 5043 | CLASS="INFORMALTABLE" |
| 5044 | ><P |
| 5045 | ></P |
| 5046 | ><TABLE |
| 5047 | BORDER="0" |
| 5048 | WIDTH="100%" |
| 5049 | BGCOLOR="#FFD0D0" |
| 5050 | CELLSPACING="0" |
| 5051 | CELLPADDING="4" |
| 5052 | CLASS="CALSTABLE" |
| 5053 | ><TR |
| 5054 | ><TD |
| 5055 | WIDTH="20%" |
| 5056 | ALIGN="RIGHT" |
| 5057 | VALIGN="TOP" |
| 5058 | ><TT |
| 5059 | CLASS="PARAMETER" |
| 5060 | ><I |
| 5061 | >val1</I |
| 5062 | ></TT |
| 5063 | > :</TD |
| 5064 | ><TD |
| 5065 | WIDTH="80%" |
| 5066 | ALIGN="LEFT" |
| 5067 | VALIGN="TOP" |
| 5068 | > the first NodeSet or NULL</TD |
| 5069 | ></TR |
| 5070 | ><TR |
| 5071 | ><TD |
| 5072 | WIDTH="20%" |
| 5073 | ALIGN="RIGHT" |
| 5074 | VALIGN="TOP" |
| 5075 | ><TT |
| 5076 | CLASS="PARAMETER" |
| 5077 | ><I |
| 5078 | >val2</I |
| 5079 | ></TT |
| 5080 | > :</TD |
| 5081 | ><TD |
| 5082 | WIDTH="80%" |
| 5083 | ALIGN="LEFT" |
| 5084 | VALIGN="TOP" |
| 5085 | > the second NodeSet</TD |
| 5086 | ></TR |
| 5087 | ><TR |
| 5088 | ><TD |
| 5089 | WIDTH="20%" |
| 5090 | ALIGN="RIGHT" |
| 5091 | VALIGN="TOP" |
| 5092 | ><I |
| 5093 | CLASS="EMPHASIS" |
| 5094 | >Returns</I |
| 5095 | > :</TD |
| 5096 | ><TD |
| 5097 | WIDTH="80%" |
| 5098 | ALIGN="LEFT" |
| 5099 | VALIGN="TOP" |
| 5100 | >val1 once extended or NULL in case of error.</TD |
| 5101 | ></TR |
| 5102 | ></TABLE |
| 5103 | ><P |
| 5104 | ></P |
| 5105 | ></DIV |
| 5106 | ></DIV |
| 5107 | ><HR><DIV |
| 5108 | CLASS="REFSECT2" |
| 5109 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 5110 | NAME="AEN12354" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 5111 | ></A |
| 5112 | ><H3 |
| 5113 | ><A |
| 5114 | NAME="XMLXPATHNODESETDEL" |
| 5115 | ></A |
| 5116 | >xmlXPathNodeSetDel ()</H3 |
| 5117 | ><TABLE |
| 5118 | BORDER="0" |
| 5119 | BGCOLOR="#D6E8FF" |
| 5120 | WIDTH="100%" |
| 5121 | CELLPADDING="6" |
| 5122 | ><TR |
| 5123 | ><TD |
| 5124 | ><PRE |
| 5125 | CLASS="PROGRAMLISTING" |
| 5126 | >void xmlXPathNodeSetDel (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5127 | HREF="libxml-xpath.html#XMLNODESETPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 5128 | >xmlNodeSetPtr</A |
| 5129 | > cur, |
| 5130 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5131 | HREF="libxml-tree.html#XMLNODEPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 5132 | >xmlNodePtr</A |
| 5133 | > val);</PRE |
| 5134 | ></TD |
| 5135 | ></TR |
| 5136 | ></TABLE |
| 5137 | ><P |
| 5138 | >Removes an xmlNodePtr from an existing NodeSet</P |
| 5139 | ><P |
| 5140 | ></P |
| 5141 | ><DIV |
| 5142 | CLASS="INFORMALTABLE" |
| 5143 | ><P |
| 5144 | ></P |
| 5145 | ><TABLE |
| 5146 | BORDER="0" |
| 5147 | WIDTH="100%" |
| 5148 | BGCOLOR="#FFD0D0" |
| 5149 | CELLSPACING="0" |
| 5150 | CELLPADDING="4" |
| 5151 | CLASS="CALSTABLE" |
| 5152 | ><TR |
| 5153 | ><TD |
| 5154 | WIDTH="20%" |
| 5155 | ALIGN="RIGHT" |
| 5156 | VALIGN="TOP" |
| 5157 | ><TT |
| 5158 | CLASS="PARAMETER" |
| 5159 | ><I |
| 5160 | >cur</I |
| 5161 | ></TT |
| 5162 | > :</TD |
| 5163 | ><TD |
| 5164 | WIDTH="80%" |
| 5165 | ALIGN="LEFT" |
| 5166 | VALIGN="TOP" |
| 5167 | > the initial node set</TD |
| 5168 | ></TR |
| 5169 | ><TR |
| 5170 | ><TD |
| 5171 | WIDTH="20%" |
| 5172 | ALIGN="RIGHT" |
| 5173 | VALIGN="TOP" |
| 5174 | ><TT |
| 5175 | CLASS="PARAMETER" |
| 5176 | ><I |
| 5177 | >val</I |
| 5178 | ></TT |
| 5179 | > :</TD |
| 5180 | ><TD |
| 5181 | WIDTH="80%" |
| 5182 | ALIGN="LEFT" |
| 5183 | VALIGN="TOP" |
| 5184 | > an xmlNodePtr</TD |
| 5185 | ></TR |
| 5186 | ></TABLE |
| 5187 | ><P |
| 5188 | ></P |
| 5189 | ></DIV |
| 5190 | ></DIV |
| 5191 | ><HR><DIV |
| 5192 | CLASS="REFSECT2" |
| 5193 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 5194 | NAME="AEN12375" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 5195 | ></A |
| 5196 | ><H3 |
| 5197 | ><A |
| 5198 | NAME="XMLXPATHNODESETREMOVE" |
| 5199 | ></A |
| 5200 | >xmlXPathNodeSetRemove ()</H3 |
| 5201 | ><TABLE |
| 5202 | BORDER="0" |
| 5203 | BGCOLOR="#D6E8FF" |
| 5204 | WIDTH="100%" |
| 5205 | CELLPADDING="6" |
| 5206 | ><TR |
| 5207 | ><TD |
| 5208 | ><PRE |
| 5209 | CLASS="PROGRAMLISTING" |
| 5210 | >void xmlXPathNodeSetRemove (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5211 | HREF="libxml-xpath.html#XMLNODESETPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 5212 | >xmlNodeSetPtr</A |
| 5213 | > cur, |
| 5214 | int val);</PRE |
| 5215 | ></TD |
| 5216 | ></TR |
| 5217 | ></TABLE |
| 5218 | ><P |
| 5219 | >Removes an entry from an existing NodeSet list.</P |
| 5220 | ><P |
| 5221 | ></P |
| 5222 | ><DIV |
| 5223 | CLASS="INFORMALTABLE" |
| 5224 | ><P |
| 5225 | ></P |
| 5226 | ><TABLE |
| 5227 | BORDER="0" |
| 5228 | WIDTH="100%" |
| 5229 | BGCOLOR="#FFD0D0" |
| 5230 | CELLSPACING="0" |
| 5231 | CELLPADDING="4" |
| 5232 | CLASS="CALSTABLE" |
| 5233 | ><TR |
| 5234 | ><TD |
| 5235 | WIDTH="20%" |
| 5236 | ALIGN="RIGHT" |
| 5237 | VALIGN="TOP" |
| 5238 | ><TT |
| 5239 | CLASS="PARAMETER" |
| 5240 | ><I |
| 5241 | >cur</I |
| 5242 | ></TT |
| 5243 | > :</TD |
| 5244 | ><TD |
| 5245 | WIDTH="80%" |
| 5246 | ALIGN="LEFT" |
| 5247 | VALIGN="TOP" |
| 5248 | > the initial node set</TD |
| 5249 | ></TR |
| 5250 | ><TR |
| 5251 | ><TD |
| 5252 | WIDTH="20%" |
| 5253 | ALIGN="RIGHT" |
| 5254 | VALIGN="TOP" |
| 5255 | ><TT |
| 5256 | CLASS="PARAMETER" |
| 5257 | ><I |
| 5258 | >val</I |
| 5259 | ></TT |
| 5260 | > :</TD |
| 5261 | ><TD |
| 5262 | WIDTH="80%" |
| 5263 | ALIGN="LEFT" |
| 5264 | VALIGN="TOP" |
| 5265 | > the index to remove</TD |
| 5266 | ></TR |
| 5267 | ></TABLE |
| 5268 | ><P |
| 5269 | ></P |
| 5270 | ></DIV |
| 5271 | ></DIV |
| 5272 | ><HR><DIV |
| 5273 | CLASS="REFSECT2" |
| 5274 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 5275 | NAME="AEN12395" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 5276 | ></A |
| 5277 | ><H3 |
| 5278 | ><A |
| 5279 | NAME="XMLXPATHFREENODESET" |
| 5280 | ></A |
| 5281 | >xmlXPathFreeNodeSet ()</H3 |
| 5282 | ><TABLE |
| 5283 | BORDER="0" |
| 5284 | BGCOLOR="#D6E8FF" |
| 5285 | WIDTH="100%" |
| 5286 | CELLPADDING="6" |
| 5287 | ><TR |
| 5288 | ><TD |
| 5289 | ><PRE |
| 5290 | CLASS="PROGRAMLISTING" |
| 5291 | >void xmlXPathFreeNodeSet (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5292 | HREF="libxml-xpath.html#XMLNODESETPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 5293 | >xmlNodeSetPtr</A |
| 5294 | > obj);</PRE |
| 5295 | ></TD |
| 5296 | ></TR |
| 5297 | ></TABLE |
| 5298 | ><P |
| 5299 | >Free the NodeSet compound (not the actual nodes !).</P |
| 5300 | ><P |
| 5301 | ></P |
| 5302 | ><DIV |
| 5303 | CLASS="INFORMALTABLE" |
| 5304 | ><P |
| 5305 | ></P |
| 5306 | ><TABLE |
| 5307 | BORDER="0" |
| 5308 | WIDTH="100%" |
| 5309 | BGCOLOR="#FFD0D0" |
| 5310 | CELLSPACING="0" |
| 5311 | CELLPADDING="4" |
| 5312 | CLASS="CALSTABLE" |
| 5313 | ><TR |
| 5314 | ><TD |
| 5315 | WIDTH="20%" |
| 5316 | ALIGN="RIGHT" |
| 5317 | VALIGN="TOP" |
| 5318 | ><TT |
| 5319 | CLASS="PARAMETER" |
| 5320 | ><I |
| 5321 | >obj</I |
| 5322 | ></TT |
| 5323 | > :</TD |
| 5324 | ><TD |
| 5325 | WIDTH="80%" |
| 5326 | ALIGN="LEFT" |
| 5327 | VALIGN="TOP" |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5328 | > </TD |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 5329 | ></TR |
| 5330 | ></TABLE |
| 5331 | ><P |
| 5332 | ></P |
| 5333 | ></DIV |
| 5334 | ></DIV |
| 5335 | ><HR><DIV |
| 5336 | CLASS="REFSECT2" |
| 5337 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 5338 | NAME="AEN12411" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 5339 | ></A |
| 5340 | ><H3 |
| 5341 | ><A |
| 5342 | NAME="XMLXPATHNEWNODESETLIST" |
| 5343 | ></A |
| 5344 | >xmlXPathNewNodeSetList ()</H3 |
| 5345 | ><TABLE |
| 5346 | BORDER="0" |
| 5347 | BGCOLOR="#D6E8FF" |
| 5348 | WIDTH="100%" |
| 5349 | CELLPADDING="6" |
| 5350 | ><TR |
| 5351 | ><TD |
| 5352 | ><PRE |
| 5353 | CLASS="PROGRAMLISTING" |
| 5354 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5355 | HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 5356 | >xmlXPathObjectPtr</A |
| 5357 | > xmlXPathNewNodeSetList (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5358 | HREF="libxml-xpath.html#XMLNODESETPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 5359 | >xmlNodeSetPtr</A |
| 5360 | > val);</PRE |
| 5361 | ></TD |
| 5362 | ></TR |
| 5363 | ></TABLE |
| 5364 | ><P |
| 5365 | >Create a new xmlXPathObjectPtr of type NodeSet and initialize |
| 5366 | it with the Nodeset <TT |
| 5367 | CLASS="PARAMETER" |
| 5368 | ><I |
| 5369 | >val</I |
| 5370 | ></TT |
| 5371 | ></P |
| 5372 | ><P |
| 5373 | ></P |
| 5374 | ><DIV |
| 5375 | CLASS="INFORMALTABLE" |
| 5376 | ><P |
| 5377 | ></P |
| 5378 | ><TABLE |
| 5379 | BORDER="0" |
| 5380 | WIDTH="100%" |
| 5381 | BGCOLOR="#FFD0D0" |
| 5382 | CELLSPACING="0" |
| 5383 | CELLPADDING="4" |
| 5384 | CLASS="CALSTABLE" |
| 5385 | ><TR |
| 5386 | ><TD |
| 5387 | WIDTH="20%" |
| 5388 | ALIGN="RIGHT" |
| 5389 | VALIGN="TOP" |
| 5390 | ><TT |
| 5391 | CLASS="PARAMETER" |
| 5392 | ><I |
| 5393 | >val</I |
| 5394 | ></TT |
| 5395 | > :</TD |
| 5396 | ><TD |
| 5397 | WIDTH="80%" |
| 5398 | ALIGN="LEFT" |
| 5399 | VALIGN="TOP" |
| 5400 | > an existing NodeSet</TD |
| 5401 | ></TR |
| 5402 | ><TR |
| 5403 | ><TD |
| 5404 | WIDTH="20%" |
| 5405 | ALIGN="RIGHT" |
| 5406 | VALIGN="TOP" |
| 5407 | ><I |
| 5408 | CLASS="EMPHASIS" |
| 5409 | >Returns</I |
| 5410 | > :</TD |
| 5411 | ><TD |
| 5412 | WIDTH="80%" |
| 5413 | ALIGN="LEFT" |
| 5414 | VALIGN="TOP" |
| 5415 | >the newly created object.</TD |
| 5416 | ></TR |
| 5417 | ></TABLE |
| 5418 | ><P |
| 5419 | ></P |
| 5420 | ></DIV |
| 5421 | ></DIV |
| 5422 | ><HR><DIV |
| 5423 | CLASS="REFSECT2" |
| 5424 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 5425 | NAME="AEN12433" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 5426 | ></A |
| 5427 | ><H3 |
| 5428 | ><A |
| 5429 | NAME="XMLXPATHWRAPNODESET" |
| 5430 | ></A |
| 5431 | >xmlXPathWrapNodeSet ()</H3 |
| 5432 | ><TABLE |
| 5433 | BORDER="0" |
| 5434 | BGCOLOR="#D6E8FF" |
| 5435 | WIDTH="100%" |
| 5436 | CELLPADDING="6" |
| 5437 | ><TR |
| 5438 | ><TD |
| 5439 | ><PRE |
| 5440 | CLASS="PROGRAMLISTING" |
| 5441 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5442 | HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 5443 | >xmlXPathObjectPtr</A |
| 5444 | > xmlXPathWrapNodeSet (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5445 | HREF="libxml-xpath.html#XMLNODESETPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 5446 | >xmlNodeSetPtr</A |
| 5447 | > val);</PRE |
| 5448 | ></TD |
| 5449 | ></TR |
| 5450 | ></TABLE |
| 5451 | ><P |
| 5452 | >Wrap the Nodeset <TT |
| 5453 | CLASS="PARAMETER" |
| 5454 | ><I |
| 5455 | >val</I |
| 5456 | ></TT |
| 5457 | > in a new xmlXPathObjectPtr</P |
| 5458 | ><P |
| 5459 | ></P |
| 5460 | ><DIV |
| 5461 | CLASS="INFORMALTABLE" |
| 5462 | ><P |
| 5463 | ></P |
| 5464 | ><TABLE |
| 5465 | BORDER="0" |
| 5466 | WIDTH="100%" |
| 5467 | BGCOLOR="#FFD0D0" |
| 5468 | CELLSPACING="0" |
| 5469 | CELLPADDING="4" |
| 5470 | CLASS="CALSTABLE" |
| 5471 | ><TR |
| 5472 | ><TD |
| 5473 | WIDTH="20%" |
| 5474 | ALIGN="RIGHT" |
| 5475 | VALIGN="TOP" |
| 5476 | ><TT |
| 5477 | CLASS="PARAMETER" |
| 5478 | ><I |
| 5479 | >val</I |
| 5480 | ></TT |
| 5481 | > :</TD |
| 5482 | ><TD |
| 5483 | WIDTH="80%" |
| 5484 | ALIGN="LEFT" |
| 5485 | VALIGN="TOP" |
| 5486 | > the NodePtr value</TD |
| 5487 | ></TR |
| 5488 | ><TR |
| 5489 | ><TD |
| 5490 | WIDTH="20%" |
| 5491 | ALIGN="RIGHT" |
| 5492 | VALIGN="TOP" |
| 5493 | ><I |
| 5494 | CLASS="EMPHASIS" |
| 5495 | >Returns</I |
| 5496 | > :</TD |
| 5497 | ><TD |
| 5498 | WIDTH="80%" |
| 5499 | ALIGN="LEFT" |
| 5500 | VALIGN="TOP" |
| 5501 | >the newly created object.</TD |
| 5502 | ></TR |
| 5503 | ></TABLE |
| 5504 | ><P |
| 5505 | ></P |
| 5506 | ></DIV |
| 5507 | ></DIV |
| 5508 | ><HR><DIV |
| 5509 | CLASS="REFSECT2" |
| 5510 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 5511 | NAME="AEN12455" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 5512 | ></A |
| 5513 | ><H3 |
| 5514 | ><A |
| 5515 | NAME="XMLXPATHFREENODESETLIST" |
| 5516 | ></A |
| 5517 | >xmlXPathFreeNodeSetList ()</H3 |
| 5518 | ><TABLE |
| 5519 | BORDER="0" |
| 5520 | BGCOLOR="#D6E8FF" |
| 5521 | WIDTH="100%" |
| 5522 | CELLPADDING="6" |
| 5523 | ><TR |
| 5524 | ><TD |
| 5525 | ><PRE |
| 5526 | CLASS="PROGRAMLISTING" |
| 5527 | >void xmlXPathFreeNodeSetList (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5528 | HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 5529 | >xmlXPathObjectPtr</A |
| 5530 | > obj);</PRE |
| 5531 | ></TD |
| 5532 | ></TR |
| 5533 | ></TABLE |
| 5534 | ><P |
| 5535 | >Free up the xmlXPathObjectPtr <TT |
| 5536 | CLASS="PARAMETER" |
| 5537 | ><I |
| 5538 | >obj</I |
| 5539 | ></TT |
| 5540 | > but don't deallocate the objects in |
| 5541 | the list contrary to <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5542 | HREF="libxml-xpath.html#XMLXPATHFREEOBJECT" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 5543 | >xmlXPathFreeObject</A |
| 5544 | >().</P |
| 5545 | ><P |
| 5546 | ></P |
| 5547 | ><DIV |
| 5548 | CLASS="INFORMALTABLE" |
| 5549 | ><P |
| 5550 | ></P |
| 5551 | ><TABLE |
| 5552 | BORDER="0" |
| 5553 | WIDTH="100%" |
| 5554 | BGCOLOR="#FFD0D0" |
| 5555 | CELLSPACING="0" |
| 5556 | CELLPADDING="4" |
| 5557 | CLASS="CALSTABLE" |
| 5558 | ><TR |
| 5559 | ><TD |
| 5560 | WIDTH="20%" |
| 5561 | ALIGN="RIGHT" |
| 5562 | VALIGN="TOP" |
| 5563 | ><TT |
| 5564 | CLASS="PARAMETER" |
| 5565 | ><I |
| 5566 | >obj</I |
| 5567 | ></TT |
| 5568 | > :</TD |
| 5569 | ><TD |
| 5570 | WIDTH="80%" |
| 5571 | ALIGN="LEFT" |
| 5572 | VALIGN="TOP" |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5573 | > </TD |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 5574 | ></TR |
| 5575 | ></TABLE |
| 5576 | ><P |
| 5577 | ></P |
| 5578 | ></DIV |
| 5579 | ></DIV |
| 5580 | ><HR><DIV |
| 5581 | CLASS="REFSECT2" |
| 5582 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 5583 | NAME="AEN12473" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 5584 | ></A |
| 5585 | ><H3 |
| 5586 | ><A |
| 5587 | NAME="XMLXPATHFREEOBJECT" |
| 5588 | ></A |
| 5589 | >xmlXPathFreeObject ()</H3 |
| 5590 | ><TABLE |
| 5591 | BORDER="0" |
| 5592 | BGCOLOR="#D6E8FF" |
| 5593 | WIDTH="100%" |
| 5594 | CELLPADDING="6" |
| 5595 | ><TR |
| 5596 | ><TD |
| 5597 | ><PRE |
| 5598 | CLASS="PROGRAMLISTING" |
| 5599 | >void xmlXPathFreeObject (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5600 | HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 5601 | >xmlXPathObjectPtr</A |
| 5602 | > obj);</PRE |
| 5603 | ></TD |
| 5604 | ></TR |
| 5605 | ></TABLE |
| 5606 | ><P |
| 5607 | >Free up an xmlXPathObjectPtr object.</P |
| 5608 | ><P |
| 5609 | ></P |
| 5610 | ><DIV |
| 5611 | CLASS="INFORMALTABLE" |
| 5612 | ><P |
| 5613 | ></P |
| 5614 | ><TABLE |
| 5615 | BORDER="0" |
| 5616 | WIDTH="100%" |
| 5617 | BGCOLOR="#FFD0D0" |
| 5618 | CELLSPACING="0" |
| 5619 | CELLPADDING="4" |
| 5620 | CLASS="CALSTABLE" |
| 5621 | ><TR |
| 5622 | ><TD |
| 5623 | WIDTH="20%" |
| 5624 | ALIGN="RIGHT" |
| 5625 | VALIGN="TOP" |
| 5626 | ><TT |
| 5627 | CLASS="PARAMETER" |
| 5628 | ><I |
| 5629 | >obj</I |
| 5630 | ></TT |
| 5631 | > :</TD |
| 5632 | ><TD |
| 5633 | WIDTH="80%" |
| 5634 | ALIGN="LEFT" |
| 5635 | VALIGN="TOP" |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5636 | > </TD |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 5637 | ></TR |
| 5638 | ></TABLE |
| 5639 | ><P |
| 5640 | ></P |
| 5641 | ></DIV |
| 5642 | ></DIV |
| 5643 | ><HR><DIV |
| 5644 | CLASS="REFSECT2" |
| 5645 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 5646 | NAME="AEN12489" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 5647 | ></A |
| 5648 | ><H3 |
| 5649 | ><A |
| 5650 | NAME="XMLXPATHNEWCONTEXT" |
| 5651 | ></A |
| 5652 | >xmlXPathNewContext ()</H3 |
| 5653 | ><TABLE |
| 5654 | BORDER="0" |
| 5655 | BGCOLOR="#D6E8FF" |
| 5656 | WIDTH="100%" |
| 5657 | CELLPADDING="6" |
| 5658 | ><TR |
| 5659 | ><TD |
| 5660 | ><PRE |
| 5661 | CLASS="PROGRAMLISTING" |
| 5662 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5663 | HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 5664 | >xmlXPathContextPtr</A |
| 5665 | > xmlXPathNewContext (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5666 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 5667 | >xmlDocPtr</A |
| 5668 | > doc);</PRE |
| 5669 | ></TD |
| 5670 | ></TR |
| 5671 | ></TABLE |
| 5672 | ><P |
| 5673 | >Create a new xmlXPathContext</P |
| 5674 | ><P |
| 5675 | ></P |
| 5676 | ><DIV |
| 5677 | CLASS="INFORMALTABLE" |
| 5678 | ><P |
| 5679 | ></P |
| 5680 | ><TABLE |
| 5681 | BORDER="0" |
| 5682 | WIDTH="100%" |
| 5683 | BGCOLOR="#FFD0D0" |
| 5684 | CELLSPACING="0" |
| 5685 | CELLPADDING="4" |
| 5686 | CLASS="CALSTABLE" |
| 5687 | ><TR |
| 5688 | ><TD |
| 5689 | WIDTH="20%" |
| 5690 | ALIGN="RIGHT" |
| 5691 | VALIGN="TOP" |
| 5692 | ><TT |
| 5693 | CLASS="PARAMETER" |
| 5694 | ><I |
| 5695 | >doc</I |
| 5696 | ></TT |
| 5697 | > :</TD |
| 5698 | ><TD |
| 5699 | WIDTH="80%" |
| 5700 | ALIGN="LEFT" |
| 5701 | VALIGN="TOP" |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5702 | > </TD |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 5703 | ></TR |
| 5704 | ><TR |
| 5705 | ><TD |
| 5706 | WIDTH="20%" |
| 5707 | ALIGN="RIGHT" |
| 5708 | VALIGN="TOP" |
| 5709 | ><I |
| 5710 | CLASS="EMPHASIS" |
| 5711 | >Returns</I |
| 5712 | > :</TD |
| 5713 | ><TD |
| 5714 | WIDTH="80%" |
| 5715 | ALIGN="LEFT" |
| 5716 | VALIGN="TOP" |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5717 | > </TD |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 5718 | ></TR |
| 5719 | ></TABLE |
| 5720 | ><P |
| 5721 | ></P |
| 5722 | ></DIV |
| 5723 | ></DIV |
| 5724 | ><HR><DIV |
| 5725 | CLASS="REFSECT2" |
| 5726 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 5727 | NAME="AEN12510" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 5728 | ></A |
| 5729 | ><H3 |
| 5730 | ><A |
| 5731 | NAME="XMLXPATHFREECONTEXT" |
| 5732 | ></A |
| 5733 | >xmlXPathFreeContext ()</H3 |
| 5734 | ><TABLE |
| 5735 | BORDER="0" |
| 5736 | BGCOLOR="#D6E8FF" |
| 5737 | WIDTH="100%" |
| 5738 | CELLPADDING="6" |
| 5739 | ><TR |
| 5740 | ><TD |
| 5741 | ><PRE |
| 5742 | CLASS="PROGRAMLISTING" |
| 5743 | >void xmlXPathFreeContext (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5744 | HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 5745 | >xmlXPathContextPtr</A |
| 5746 | > ctxt);</PRE |
| 5747 | ></TD |
| 5748 | ></TR |
| 5749 | ></TABLE |
| 5750 | ><P |
| 5751 | >Free up an xmlXPathContext</P |
| 5752 | ><P |
| 5753 | ></P |
| 5754 | ><DIV |
| 5755 | CLASS="INFORMALTABLE" |
| 5756 | ><P |
| 5757 | ></P |
| 5758 | ><TABLE |
| 5759 | BORDER="0" |
| 5760 | WIDTH="100%" |
| 5761 | BGCOLOR="#FFD0D0" |
| 5762 | CELLSPACING="0" |
| 5763 | CELLPADDING="4" |
| 5764 | CLASS="CALSTABLE" |
| 5765 | ><TR |
| 5766 | ><TD |
| 5767 | WIDTH="20%" |
| 5768 | ALIGN="RIGHT" |
| 5769 | VALIGN="TOP" |
| 5770 | ><TT |
| 5771 | CLASS="PARAMETER" |
| 5772 | ><I |
| 5773 | >ctxt</I |
| 5774 | ></TT |
| 5775 | > :</TD |
| 5776 | ><TD |
| 5777 | WIDTH="80%" |
| 5778 | ALIGN="LEFT" |
| 5779 | VALIGN="TOP" |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5780 | > </TD |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 5781 | ></TR |
| 5782 | ></TABLE |
| 5783 | ><P |
| 5784 | ></P |
| 5785 | ></DIV |
| 5786 | ></DIV |
| 5787 | ><HR><DIV |
| 5788 | CLASS="REFSECT2" |
| 5789 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 5790 | NAME="AEN12526" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 5791 | ></A |
| 5792 | ><H3 |
| 5793 | ><A |
| 5794 | NAME="XMLXPATHEQUALVALUES" |
| 5795 | ></A |
| 5796 | >xmlXPathEqualValues ()</H3 |
| 5797 | ><TABLE |
| 5798 | BORDER="0" |
| 5799 | BGCOLOR="#D6E8FF" |
| 5800 | WIDTH="100%" |
| 5801 | CELLPADDING="6" |
| 5802 | ><TR |
| 5803 | ><TD |
| 5804 | ><PRE |
| 5805 | CLASS="PROGRAMLISTING" |
| 5806 | >int xmlXPathEqualValues (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5807 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 5808 | >xmlXPathParserContextPtr</A |
| 5809 | > ctxt);</PRE |
| 5810 | ></TD |
| 5811 | ></TR |
| 5812 | ></TABLE |
| 5813 | ><P |
| 5814 | >Implement the equal operation on XPath objects content: <TT |
| 5815 | CLASS="PARAMETER" |
| 5816 | ><I |
| 5817 | >arg1</I |
| 5818 | ></TT |
| 5819 | > == <TT |
| 5820 | CLASS="PARAMETER" |
| 5821 | ><I |
| 5822 | >arg2</I |
| 5823 | ></TT |
| 5824 | ></P |
| 5825 | ><P |
| 5826 | ></P |
| 5827 | ><DIV |
| 5828 | CLASS="INFORMALTABLE" |
| 5829 | ><P |
| 5830 | ></P |
| 5831 | ><TABLE |
| 5832 | BORDER="0" |
| 5833 | WIDTH="100%" |
| 5834 | BGCOLOR="#FFD0D0" |
| 5835 | CELLSPACING="0" |
| 5836 | CELLPADDING="4" |
| 5837 | CLASS="CALSTABLE" |
| 5838 | ><TR |
| 5839 | ><TD |
| 5840 | WIDTH="20%" |
| 5841 | ALIGN="RIGHT" |
| 5842 | VALIGN="TOP" |
| 5843 | ><TT |
| 5844 | CLASS="PARAMETER" |
| 5845 | ><I |
| 5846 | >ctxt</I |
| 5847 | ></TT |
| 5848 | > :</TD |
| 5849 | ><TD |
| 5850 | WIDTH="80%" |
| 5851 | ALIGN="LEFT" |
| 5852 | VALIGN="TOP" |
| 5853 | > the XPath Parser context</TD |
| 5854 | ></TR |
| 5855 | ><TR |
| 5856 | ><TD |
| 5857 | WIDTH="20%" |
| 5858 | ALIGN="RIGHT" |
| 5859 | VALIGN="TOP" |
| 5860 | ><I |
| 5861 | CLASS="EMPHASIS" |
| 5862 | >Returns</I |
| 5863 | > :</TD |
| 5864 | ><TD |
| 5865 | WIDTH="80%" |
| 5866 | ALIGN="LEFT" |
| 5867 | VALIGN="TOP" |
| 5868 | >0 or 1 depending on the results of the test.</TD |
| 5869 | ></TR |
| 5870 | ></TABLE |
| 5871 | ><P |
| 5872 | ></P |
| 5873 | ></DIV |
| 5874 | ></DIV |
| 5875 | ><HR><DIV |
| 5876 | CLASS="REFSECT2" |
| 5877 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 5878 | NAME="AEN12548" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 5879 | ></A |
| 5880 | ><H3 |
| 5881 | ><A |
| 5882 | NAME="XMLXPATHCOMPAREVALUES" |
| 5883 | ></A |
| 5884 | >xmlXPathCompareValues ()</H3 |
| 5885 | ><TABLE |
| 5886 | BORDER="0" |
| 5887 | BGCOLOR="#D6E8FF" |
| 5888 | WIDTH="100%" |
| 5889 | CELLPADDING="6" |
| 5890 | ><TR |
| 5891 | ><TD |
| 5892 | ><PRE |
| 5893 | CLASS="PROGRAMLISTING" |
| 5894 | >int xmlXPathCompareValues (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5895 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 5896 | >xmlXPathParserContextPtr</A |
| 5897 | > ctxt, |
| 5898 | int inf, |
| 5899 | int strict);</PRE |
| 5900 | ></TD |
| 5901 | ></TR |
| 5902 | ></TABLE |
| 5903 | ><P |
| 5904 | >Implement the compare operation on XPath objects: |
| 5905 | <TT |
| 5906 | CLASS="PARAMETER" |
| 5907 | ><I |
| 5908 | >arg1</I |
| 5909 | ></TT |
| 5910 | > < <TT |
| 5911 | CLASS="PARAMETER" |
| 5912 | ><I |
| 5913 | >arg2</I |
| 5914 | ></TT |
| 5915 | > (1, 1, ... |
| 5916 | <TT |
| 5917 | CLASS="PARAMETER" |
| 5918 | ><I |
| 5919 | >arg1</I |
| 5920 | ></TT |
| 5921 | > <= <TT |
| 5922 | CLASS="PARAMETER" |
| 5923 | ><I |
| 5924 | >arg2</I |
| 5925 | ></TT |
| 5926 | > (1, 0, ... |
| 5927 | <TT |
| 5928 | CLASS="PARAMETER" |
| 5929 | ><I |
| 5930 | >arg1</I |
| 5931 | ></TT |
| 5932 | > > <TT |
| 5933 | CLASS="PARAMETER" |
| 5934 | ><I |
| 5935 | >arg2</I |
| 5936 | ></TT |
| 5937 | > (0, 1, ... |
| 5938 | <TT |
| 5939 | CLASS="PARAMETER" |
| 5940 | ><I |
| 5941 | >arg1</I |
| 5942 | ></TT |
| 5943 | > >= <TT |
| 5944 | CLASS="PARAMETER" |
| 5945 | ><I |
| 5946 | >arg2</I |
| 5947 | ></TT |
| 5948 | > (0, 0, ...</P |
| 5949 | ><P |
| 5950 | >When neither object to be compared is a node-set and the operator is |
| 5951 | <=, <, >=, >, then the objects are compared by converted both objects |
| 5952 | to numbers and comparing the numbers according to IEEE 754. The < |
| 5953 | comparison will be true if and only if the first number is less than the |
| 5954 | second number. The <= comparison will be true if and only if the first |
| 5955 | number is less than or equal to the second number. The > comparison |
| 5956 | will be true if and only if the first number is greater than the second |
| 5957 | number. The >= comparison will be true if and only if the first number |
| 5958 | is greater than or equal to the second number.</P |
| 5959 | ><P |
| 5960 | ></P |
| 5961 | ><DIV |
| 5962 | CLASS="INFORMALTABLE" |
| 5963 | ><P |
| 5964 | ></P |
| 5965 | ><TABLE |
| 5966 | BORDER="0" |
| 5967 | WIDTH="100%" |
| 5968 | BGCOLOR="#FFD0D0" |
| 5969 | CELLSPACING="0" |
| 5970 | CELLPADDING="4" |
| 5971 | CLASS="CALSTABLE" |
| 5972 | ><TR |
| 5973 | ><TD |
| 5974 | WIDTH="20%" |
| 5975 | ALIGN="RIGHT" |
| 5976 | VALIGN="TOP" |
| 5977 | ><TT |
| 5978 | CLASS="PARAMETER" |
| 5979 | ><I |
| 5980 | >ctxt</I |
| 5981 | ></TT |
| 5982 | > :</TD |
| 5983 | ><TD |
| 5984 | WIDTH="80%" |
| 5985 | ALIGN="LEFT" |
| 5986 | VALIGN="TOP" |
| 5987 | > the XPath Parser context</TD |
| 5988 | ></TR |
| 5989 | ><TR |
| 5990 | ><TD |
| 5991 | WIDTH="20%" |
| 5992 | ALIGN="RIGHT" |
| 5993 | VALIGN="TOP" |
| 5994 | ><TT |
| 5995 | CLASS="PARAMETER" |
| 5996 | ><I |
| 5997 | >inf</I |
| 5998 | ></TT |
| 5999 | > :</TD |
| 6000 | ><TD |
| 6001 | WIDTH="80%" |
| 6002 | ALIGN="LEFT" |
| 6003 | VALIGN="TOP" |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6004 | > less than (1) or greater than (0)</TD |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 6005 | ></TR |
| 6006 | ><TR |
| 6007 | ><TD |
| 6008 | WIDTH="20%" |
| 6009 | ALIGN="RIGHT" |
| 6010 | VALIGN="TOP" |
| 6011 | ><TT |
| 6012 | CLASS="PARAMETER" |
| 6013 | ><I |
| 6014 | >strict</I |
| 6015 | ></TT |
| 6016 | > :</TD |
| 6017 | ><TD |
| 6018 | WIDTH="80%" |
| 6019 | ALIGN="LEFT" |
| 6020 | VALIGN="TOP" |
| 6021 | > is the comparison strict</TD |
| 6022 | ></TR |
| 6023 | ><TR |
| 6024 | ><TD |
| 6025 | WIDTH="20%" |
| 6026 | ALIGN="RIGHT" |
| 6027 | VALIGN="TOP" |
| 6028 | ><I |
| 6029 | CLASS="EMPHASIS" |
| 6030 | >Returns</I |
| 6031 | > :</TD |
| 6032 | ><TD |
| 6033 | WIDTH="80%" |
| 6034 | ALIGN="LEFT" |
| 6035 | VALIGN="TOP" |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6036 | >1 if the comparaison succeeded, 0 if it failed</TD |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 6037 | ></TR |
| 6038 | ></TABLE |
| 6039 | ><P |
| 6040 | ></P |
| 6041 | ></DIV |
| 6042 | ></DIV |
| 6043 | ><HR><DIV |
| 6044 | CLASS="REFSECT2" |
| 6045 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 6046 | NAME="AEN12585" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 6047 | ></A |
| 6048 | ><H3 |
| 6049 | ><A |
| 6050 | NAME="XMLXPATHVALUEFLIPSIGN" |
| 6051 | ></A |
| 6052 | >xmlXPathValueFlipSign ()</H3 |
| 6053 | ><TABLE |
| 6054 | BORDER="0" |
| 6055 | BGCOLOR="#D6E8FF" |
| 6056 | WIDTH="100%" |
| 6057 | CELLPADDING="6" |
| 6058 | ><TR |
| 6059 | ><TD |
| 6060 | ><PRE |
| 6061 | CLASS="PROGRAMLISTING" |
| 6062 | >void xmlXPathValueFlipSign (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6063 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 6064 | >xmlXPathParserContextPtr</A |
| 6065 | > ctxt);</PRE |
| 6066 | ></TD |
| 6067 | ></TR |
| 6068 | ></TABLE |
| 6069 | ><P |
| 6070 | >Implement the unary - operation on an XPath object |
| 6071 | The numeric operators convert their operands to numbers as if |
| 6072 | by calling the number function.</P |
| 6073 | ><P |
| 6074 | ></P |
| 6075 | ><DIV |
| 6076 | CLASS="INFORMALTABLE" |
| 6077 | ><P |
| 6078 | ></P |
| 6079 | ><TABLE |
| 6080 | BORDER="0" |
| 6081 | WIDTH="100%" |
| 6082 | BGCOLOR="#FFD0D0" |
| 6083 | CELLSPACING="0" |
| 6084 | CELLPADDING="4" |
| 6085 | CLASS="CALSTABLE" |
| 6086 | ><TR |
| 6087 | ><TD |
| 6088 | WIDTH="20%" |
| 6089 | ALIGN="RIGHT" |
| 6090 | VALIGN="TOP" |
| 6091 | ><TT |
| 6092 | CLASS="PARAMETER" |
| 6093 | ><I |
| 6094 | >ctxt</I |
| 6095 | ></TT |
| 6096 | > :</TD |
| 6097 | ><TD |
| 6098 | WIDTH="80%" |
| 6099 | ALIGN="LEFT" |
| 6100 | VALIGN="TOP" |
| 6101 | > the XPath Parser context</TD |
| 6102 | ></TR |
| 6103 | ></TABLE |
| 6104 | ><P |
| 6105 | ></P |
| 6106 | ></DIV |
| 6107 | ></DIV |
| 6108 | ><HR><DIV |
| 6109 | CLASS="REFSECT2" |
| 6110 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 6111 | NAME="AEN12601" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 6112 | ></A |
| 6113 | ><H3 |
| 6114 | ><A |
| 6115 | NAME="XMLXPATHADDVALUES" |
| 6116 | ></A |
| 6117 | >xmlXPathAddValues ()</H3 |
| 6118 | ><TABLE |
| 6119 | BORDER="0" |
| 6120 | BGCOLOR="#D6E8FF" |
| 6121 | WIDTH="100%" |
| 6122 | CELLPADDING="6" |
| 6123 | ><TR |
| 6124 | ><TD |
| 6125 | ><PRE |
| 6126 | CLASS="PROGRAMLISTING" |
| 6127 | >void xmlXPathAddValues (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6128 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 6129 | >xmlXPathParserContextPtr</A |
| 6130 | > ctxt);</PRE |
| 6131 | ></TD |
| 6132 | ></TR |
| 6133 | ></TABLE |
| 6134 | ><P |
| 6135 | >Implement the add operation on XPath objects: |
| 6136 | The numeric operators convert their operands to numbers as if |
| 6137 | by calling the number function.</P |
| 6138 | ><P |
| 6139 | ></P |
| 6140 | ><DIV |
| 6141 | CLASS="INFORMALTABLE" |
| 6142 | ><P |
| 6143 | ></P |
| 6144 | ><TABLE |
| 6145 | BORDER="0" |
| 6146 | WIDTH="100%" |
| 6147 | BGCOLOR="#FFD0D0" |
| 6148 | CELLSPACING="0" |
| 6149 | CELLPADDING="4" |
| 6150 | CLASS="CALSTABLE" |
| 6151 | ><TR |
| 6152 | ><TD |
| 6153 | WIDTH="20%" |
| 6154 | ALIGN="RIGHT" |
| 6155 | VALIGN="TOP" |
| 6156 | ><TT |
| 6157 | CLASS="PARAMETER" |
| 6158 | ><I |
| 6159 | >ctxt</I |
| 6160 | ></TT |
| 6161 | > :</TD |
| 6162 | ><TD |
| 6163 | WIDTH="80%" |
| 6164 | ALIGN="LEFT" |
| 6165 | VALIGN="TOP" |
| 6166 | > the XPath Parser context</TD |
| 6167 | ></TR |
| 6168 | ></TABLE |
| 6169 | ><P |
| 6170 | ></P |
| 6171 | ></DIV |
| 6172 | ></DIV |
| 6173 | ><HR><DIV |
| 6174 | CLASS="REFSECT2" |
| 6175 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 6176 | NAME="AEN12617" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 6177 | ></A |
| 6178 | ><H3 |
| 6179 | ><A |
| 6180 | NAME="XMLXPATHSUBVALUES" |
| 6181 | ></A |
| 6182 | >xmlXPathSubValues ()</H3 |
| 6183 | ><TABLE |
| 6184 | BORDER="0" |
| 6185 | BGCOLOR="#D6E8FF" |
| 6186 | WIDTH="100%" |
| 6187 | CELLPADDING="6" |
| 6188 | ><TR |
| 6189 | ><TD |
| 6190 | ><PRE |
| 6191 | CLASS="PROGRAMLISTING" |
| 6192 | >void xmlXPathSubValues (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6193 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 6194 | >xmlXPathParserContextPtr</A |
| 6195 | > ctxt);</PRE |
| 6196 | ></TD |
| 6197 | ></TR |
| 6198 | ></TABLE |
| 6199 | ><P |
| 6200 | >Implement the substraction operation on XPath objects: |
| 6201 | The numeric operators convert their operands to numbers as if |
| 6202 | by calling the number function.</P |
| 6203 | ><P |
| 6204 | ></P |
| 6205 | ><DIV |
| 6206 | CLASS="INFORMALTABLE" |
| 6207 | ><P |
| 6208 | ></P |
| 6209 | ><TABLE |
| 6210 | BORDER="0" |
| 6211 | WIDTH="100%" |
| 6212 | BGCOLOR="#FFD0D0" |
| 6213 | CELLSPACING="0" |
| 6214 | CELLPADDING="4" |
| 6215 | CLASS="CALSTABLE" |
| 6216 | ><TR |
| 6217 | ><TD |
| 6218 | WIDTH="20%" |
| 6219 | ALIGN="RIGHT" |
| 6220 | VALIGN="TOP" |
| 6221 | ><TT |
| 6222 | CLASS="PARAMETER" |
| 6223 | ><I |
| 6224 | >ctxt</I |
| 6225 | ></TT |
| 6226 | > :</TD |
| 6227 | ><TD |
| 6228 | WIDTH="80%" |
| 6229 | ALIGN="LEFT" |
| 6230 | VALIGN="TOP" |
| 6231 | > the XPath Parser context</TD |
| 6232 | ></TR |
| 6233 | ></TABLE |
| 6234 | ><P |
| 6235 | ></P |
| 6236 | ></DIV |
| 6237 | ></DIV |
| 6238 | ><HR><DIV |
| 6239 | CLASS="REFSECT2" |
| 6240 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 6241 | NAME="AEN12633" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 6242 | ></A |
| 6243 | ><H3 |
| 6244 | ><A |
| 6245 | NAME="XMLXPATHMULTVALUES" |
| 6246 | ></A |
| 6247 | >xmlXPathMultValues ()</H3 |
| 6248 | ><TABLE |
| 6249 | BORDER="0" |
| 6250 | BGCOLOR="#D6E8FF" |
| 6251 | WIDTH="100%" |
| 6252 | CELLPADDING="6" |
| 6253 | ><TR |
| 6254 | ><TD |
| 6255 | ><PRE |
| 6256 | CLASS="PROGRAMLISTING" |
| 6257 | >void xmlXPathMultValues (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6258 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 6259 | >xmlXPathParserContextPtr</A |
| 6260 | > ctxt);</PRE |
| 6261 | ></TD |
| 6262 | ></TR |
| 6263 | ></TABLE |
| 6264 | ><P |
| 6265 | >Implement the multiply operation on XPath objects: |
| 6266 | The numeric operators convert their operands to numbers as if |
| 6267 | by calling the number function.</P |
| 6268 | ><P |
| 6269 | ></P |
| 6270 | ><DIV |
| 6271 | CLASS="INFORMALTABLE" |
| 6272 | ><P |
| 6273 | ></P |
| 6274 | ><TABLE |
| 6275 | BORDER="0" |
| 6276 | WIDTH="100%" |
| 6277 | BGCOLOR="#FFD0D0" |
| 6278 | CELLSPACING="0" |
| 6279 | CELLPADDING="4" |
| 6280 | CLASS="CALSTABLE" |
| 6281 | ><TR |
| 6282 | ><TD |
| 6283 | WIDTH="20%" |
| 6284 | ALIGN="RIGHT" |
| 6285 | VALIGN="TOP" |
| 6286 | ><TT |
| 6287 | CLASS="PARAMETER" |
| 6288 | ><I |
| 6289 | >ctxt</I |
| 6290 | ></TT |
| 6291 | > :</TD |
| 6292 | ><TD |
| 6293 | WIDTH="80%" |
| 6294 | ALIGN="LEFT" |
| 6295 | VALIGN="TOP" |
| 6296 | > the XPath Parser context</TD |
| 6297 | ></TR |
| 6298 | ></TABLE |
| 6299 | ><P |
| 6300 | ></P |
| 6301 | ></DIV |
| 6302 | ></DIV |
| 6303 | ><HR><DIV |
| 6304 | CLASS="REFSECT2" |
| 6305 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 6306 | NAME="AEN12649" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 6307 | ></A |
| 6308 | ><H3 |
| 6309 | ><A |
| 6310 | NAME="XMLXPATHDIVVALUES" |
| 6311 | ></A |
| 6312 | >xmlXPathDivValues ()</H3 |
| 6313 | ><TABLE |
| 6314 | BORDER="0" |
| 6315 | BGCOLOR="#D6E8FF" |
| 6316 | WIDTH="100%" |
| 6317 | CELLPADDING="6" |
| 6318 | ><TR |
| 6319 | ><TD |
| 6320 | ><PRE |
| 6321 | CLASS="PROGRAMLISTING" |
| 6322 | >void xmlXPathDivValues (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6323 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 6324 | >xmlXPathParserContextPtr</A |
| 6325 | > ctxt);</PRE |
| 6326 | ></TD |
| 6327 | ></TR |
| 6328 | ></TABLE |
| 6329 | ><P |
Daniel Veillard | d194dd2 | 2001-02-14 10:37:43 +0000 | [diff] [blame] | 6330 | >Implement the div operation on XPath objects <TT |
| 6331 | CLASS="PARAMETER" |
| 6332 | ><I |
| 6333 | >arg1</I |
| 6334 | ></TT |
| 6335 | > / <TT |
| 6336 | CLASS="PARAMETER" |
| 6337 | ><I |
| 6338 | >arg2</I |
| 6339 | ></TT |
| 6340 | >: |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 6341 | The numeric operators convert their operands to numbers as if |
| 6342 | by calling the number function.</P |
| 6343 | ><P |
| 6344 | ></P |
| 6345 | ><DIV |
| 6346 | CLASS="INFORMALTABLE" |
| 6347 | ><P |
| 6348 | ></P |
| 6349 | ><TABLE |
| 6350 | BORDER="0" |
| 6351 | WIDTH="100%" |
| 6352 | BGCOLOR="#FFD0D0" |
| 6353 | CELLSPACING="0" |
| 6354 | CELLPADDING="4" |
| 6355 | CLASS="CALSTABLE" |
| 6356 | ><TR |
| 6357 | ><TD |
| 6358 | WIDTH="20%" |
| 6359 | ALIGN="RIGHT" |
| 6360 | VALIGN="TOP" |
| 6361 | ><TT |
| 6362 | CLASS="PARAMETER" |
| 6363 | ><I |
| 6364 | >ctxt</I |
| 6365 | ></TT |
| 6366 | > :</TD |
| 6367 | ><TD |
| 6368 | WIDTH="80%" |
| 6369 | ALIGN="LEFT" |
| 6370 | VALIGN="TOP" |
| 6371 | > the XPath Parser context</TD |
| 6372 | ></TR |
| 6373 | ></TABLE |
| 6374 | ><P |
| 6375 | ></P |
| 6376 | ></DIV |
| 6377 | ></DIV |
| 6378 | ><HR><DIV |
| 6379 | CLASS="REFSECT2" |
| 6380 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 6381 | NAME="AEN12667" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 6382 | ></A |
| 6383 | ><H3 |
| 6384 | ><A |
| 6385 | NAME="XMLXPATHMODVALUES" |
| 6386 | ></A |
| 6387 | >xmlXPathModValues ()</H3 |
| 6388 | ><TABLE |
| 6389 | BORDER="0" |
| 6390 | BGCOLOR="#D6E8FF" |
| 6391 | WIDTH="100%" |
| 6392 | CELLPADDING="6" |
| 6393 | ><TR |
| 6394 | ><TD |
| 6395 | ><PRE |
| 6396 | CLASS="PROGRAMLISTING" |
| 6397 | >void xmlXPathModValues (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6398 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 6399 | >xmlXPathParserContextPtr</A |
| 6400 | > ctxt);</PRE |
| 6401 | ></TD |
| 6402 | ></TR |
| 6403 | ></TABLE |
| 6404 | ><P |
Daniel Veillard | d194dd2 | 2001-02-14 10:37:43 +0000 | [diff] [blame] | 6405 | >Implement the mod operation on XPath objects: <TT |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 6406 | CLASS="PARAMETER" |
| 6407 | ><I |
| 6408 | >arg1</I |
| 6409 | ></TT |
| 6410 | > / <TT |
| 6411 | CLASS="PARAMETER" |
| 6412 | ><I |
| 6413 | >arg2</I |
| 6414 | ></TT |
| 6415 | > |
| 6416 | The numeric operators convert their operands to numbers as if |
| 6417 | by calling the number function.</P |
| 6418 | ><P |
| 6419 | ></P |
| 6420 | ><DIV |
| 6421 | CLASS="INFORMALTABLE" |
| 6422 | ><P |
| 6423 | ></P |
| 6424 | ><TABLE |
| 6425 | BORDER="0" |
| 6426 | WIDTH="100%" |
| 6427 | BGCOLOR="#FFD0D0" |
| 6428 | CELLSPACING="0" |
| 6429 | CELLPADDING="4" |
| 6430 | CLASS="CALSTABLE" |
| 6431 | ><TR |
| 6432 | ><TD |
| 6433 | WIDTH="20%" |
| 6434 | ALIGN="RIGHT" |
| 6435 | VALIGN="TOP" |
| 6436 | ><TT |
| 6437 | CLASS="PARAMETER" |
| 6438 | ><I |
| 6439 | >ctxt</I |
| 6440 | ></TT |
| 6441 | > :</TD |
| 6442 | ><TD |
| 6443 | WIDTH="80%" |
| 6444 | ALIGN="LEFT" |
| 6445 | VALIGN="TOP" |
| 6446 | > the XPath Parser context</TD |
| 6447 | ></TR |
| 6448 | ></TABLE |
| 6449 | ><P |
| 6450 | ></P |
| 6451 | ></DIV |
| 6452 | ></DIV |
| 6453 | ><HR><DIV |
| 6454 | CLASS="REFSECT2" |
| 6455 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 6456 | NAME="AEN12685" |
| 6457 | ></A |
| 6458 | ><H3 |
| 6459 | ><A |
| 6460 | NAME="XMLXPATHNEXTPRECEDING" |
| 6461 | ></A |
| 6462 | >xmlXPathNextPreceding ()</H3 |
| 6463 | ><TABLE |
| 6464 | BORDER="0" |
| 6465 | BGCOLOR="#D6E8FF" |
| 6466 | WIDTH="100%" |
| 6467 | CELLPADDING="6" |
| 6468 | ><TR |
| 6469 | ><TD |
| 6470 | ><PRE |
| 6471 | CLASS="PROGRAMLISTING" |
| 6472 | ><A |
| 6473 | HREF="libxml-tree.html#XMLNODEPTR" |
| 6474 | >xmlNodePtr</A |
| 6475 | > xmlXPathNextPreceding (<A |
| 6476 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 6477 | >xmlXPathParserContextPtr</A |
| 6478 | > ctxt, |
| 6479 | <A |
| 6480 | HREF="libxml-tree.html#XMLNODEPTR" |
| 6481 | >xmlNodePtr</A |
| 6482 | > cur);</PRE |
| 6483 | ></TD |
| 6484 | ></TR |
| 6485 | ></TABLE |
| 6486 | ><P |
| 6487 | >Traversal function for the "preceding" direction |
| 6488 | the preceding axis contains all nodes in the same document as the context |
| 6489 | node that are before the context node in document order, excluding any |
| 6490 | ancestors and excluding attribute nodes and namespace nodes; the nodes are |
| 6491 | ordered in reverse document order</P |
| 6492 | ><P |
| 6493 | ></P |
| 6494 | ><DIV |
| 6495 | CLASS="INFORMALTABLE" |
| 6496 | ><P |
| 6497 | ></P |
| 6498 | ><TABLE |
| 6499 | BORDER="0" |
| 6500 | WIDTH="100%" |
| 6501 | BGCOLOR="#FFD0D0" |
| 6502 | CELLSPACING="0" |
| 6503 | CELLPADDING="4" |
| 6504 | CLASS="CALSTABLE" |
| 6505 | ><TR |
| 6506 | ><TD |
| 6507 | WIDTH="20%" |
| 6508 | ALIGN="RIGHT" |
| 6509 | VALIGN="TOP" |
| 6510 | ><TT |
| 6511 | CLASS="PARAMETER" |
| 6512 | ><I |
| 6513 | >ctxt</I |
| 6514 | ></TT |
| 6515 | > :</TD |
| 6516 | ><TD |
| 6517 | WIDTH="80%" |
| 6518 | ALIGN="LEFT" |
| 6519 | VALIGN="TOP" |
| 6520 | > the XPath Parser context</TD |
| 6521 | ></TR |
| 6522 | ><TR |
| 6523 | ><TD |
| 6524 | WIDTH="20%" |
| 6525 | ALIGN="RIGHT" |
| 6526 | VALIGN="TOP" |
| 6527 | ><TT |
| 6528 | CLASS="PARAMETER" |
| 6529 | ><I |
| 6530 | >cur</I |
| 6531 | ></TT |
| 6532 | > :</TD |
| 6533 | ><TD |
| 6534 | WIDTH="80%" |
| 6535 | ALIGN="LEFT" |
| 6536 | VALIGN="TOP" |
| 6537 | > the current node in the traversal</TD |
| 6538 | ></TR |
| 6539 | ><TR |
| 6540 | ><TD |
| 6541 | WIDTH="20%" |
| 6542 | ALIGN="RIGHT" |
| 6543 | VALIGN="TOP" |
| 6544 | ><I |
| 6545 | CLASS="EMPHASIS" |
| 6546 | >Returns</I |
| 6547 | > :</TD |
| 6548 | ><TD |
| 6549 | WIDTH="80%" |
| 6550 | ALIGN="LEFT" |
| 6551 | VALIGN="TOP" |
| 6552 | >the next element following that axis</TD |
| 6553 | ></TR |
| 6554 | ></TABLE |
| 6555 | ><P |
| 6556 | ></P |
| 6557 | ></DIV |
| 6558 | ></DIV |
| 6559 | ><HR><DIV |
| 6560 | CLASS="REFSECT2" |
| 6561 | ><A |
| 6562 | NAME="AEN12711" |
| 6563 | ></A |
| 6564 | ><H3 |
| 6565 | ><A |
| 6566 | NAME="XMLXPATHNEXTANCESTOR" |
| 6567 | ></A |
| 6568 | >xmlXPathNextAncestor ()</H3 |
| 6569 | ><TABLE |
| 6570 | BORDER="0" |
| 6571 | BGCOLOR="#D6E8FF" |
| 6572 | WIDTH="100%" |
| 6573 | CELLPADDING="6" |
| 6574 | ><TR |
| 6575 | ><TD |
| 6576 | ><PRE |
| 6577 | CLASS="PROGRAMLISTING" |
| 6578 | ><A |
| 6579 | HREF="libxml-tree.html#XMLNODEPTR" |
| 6580 | >xmlNodePtr</A |
| 6581 | > xmlXPathNextAncestor (<A |
| 6582 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 6583 | >xmlXPathParserContextPtr</A |
| 6584 | > ctxt, |
| 6585 | <A |
| 6586 | HREF="libxml-tree.html#XMLNODEPTR" |
| 6587 | >xmlNodePtr</A |
| 6588 | > cur);</PRE |
| 6589 | ></TD |
| 6590 | ></TR |
| 6591 | ></TABLE |
| 6592 | ><P |
| 6593 | >Traversal function for the "ancestor" direction |
| 6594 | the ancestor axis contains the ancestors of the context node; the ancestors |
| 6595 | of the context node consist of the parent of context node and the parent's |
| 6596 | parent and so on; the nodes are ordered in reverse document order; thus the |
| 6597 | parent is the first node on the axis, and the parent's parent is the second |
| 6598 | node on the axis</P |
| 6599 | ><P |
| 6600 | ></P |
| 6601 | ><DIV |
| 6602 | CLASS="INFORMALTABLE" |
| 6603 | ><P |
| 6604 | ></P |
| 6605 | ><TABLE |
| 6606 | BORDER="0" |
| 6607 | WIDTH="100%" |
| 6608 | BGCOLOR="#FFD0D0" |
| 6609 | CELLSPACING="0" |
| 6610 | CELLPADDING="4" |
| 6611 | CLASS="CALSTABLE" |
| 6612 | ><TR |
| 6613 | ><TD |
| 6614 | WIDTH="20%" |
| 6615 | ALIGN="RIGHT" |
| 6616 | VALIGN="TOP" |
| 6617 | ><TT |
| 6618 | CLASS="PARAMETER" |
| 6619 | ><I |
| 6620 | >ctxt</I |
| 6621 | ></TT |
| 6622 | > :</TD |
| 6623 | ><TD |
| 6624 | WIDTH="80%" |
| 6625 | ALIGN="LEFT" |
| 6626 | VALIGN="TOP" |
| 6627 | > the XPath Parser context</TD |
| 6628 | ></TR |
| 6629 | ><TR |
| 6630 | ><TD |
| 6631 | WIDTH="20%" |
| 6632 | ALIGN="RIGHT" |
| 6633 | VALIGN="TOP" |
| 6634 | ><TT |
| 6635 | CLASS="PARAMETER" |
| 6636 | ><I |
| 6637 | >cur</I |
| 6638 | ></TT |
| 6639 | > :</TD |
| 6640 | ><TD |
| 6641 | WIDTH="80%" |
| 6642 | ALIGN="LEFT" |
| 6643 | VALIGN="TOP" |
| 6644 | > the current node in the traversal</TD |
| 6645 | ></TR |
| 6646 | ><TR |
| 6647 | ><TD |
| 6648 | WIDTH="20%" |
| 6649 | ALIGN="RIGHT" |
| 6650 | VALIGN="TOP" |
| 6651 | ><I |
| 6652 | CLASS="EMPHASIS" |
| 6653 | >Returns</I |
| 6654 | > :</TD |
| 6655 | ><TD |
| 6656 | WIDTH="80%" |
| 6657 | ALIGN="LEFT" |
| 6658 | VALIGN="TOP" |
| 6659 | >the next element following that axis</TD |
| 6660 | ></TR |
| 6661 | ></TABLE |
| 6662 | ><P |
| 6663 | ></P |
| 6664 | ></DIV |
| 6665 | ></DIV |
| 6666 | ><HR><DIV |
| 6667 | CLASS="REFSECT2" |
| 6668 | ><A |
| 6669 | NAME="AEN12737" |
| 6670 | ></A |
| 6671 | ><H3 |
| 6672 | ><A |
| 6673 | NAME="XMLXPATHNEXTPRECEDINGSIBLING" |
| 6674 | ></A |
| 6675 | >xmlXPathNextPrecedingSibling ()</H3 |
| 6676 | ><TABLE |
| 6677 | BORDER="0" |
| 6678 | BGCOLOR="#D6E8FF" |
| 6679 | WIDTH="100%" |
| 6680 | CELLPADDING="6" |
| 6681 | ><TR |
| 6682 | ><TD |
| 6683 | ><PRE |
| 6684 | CLASS="PROGRAMLISTING" |
| 6685 | ><A |
| 6686 | HREF="libxml-tree.html#XMLNODEPTR" |
| 6687 | >xmlNodePtr</A |
| 6688 | > xmlXPathNextPrecedingSibling (<A |
| 6689 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 6690 | >xmlXPathParserContextPtr</A |
| 6691 | > ctxt, |
| 6692 | <A |
| 6693 | HREF="libxml-tree.html#XMLNODEPTR" |
| 6694 | >xmlNodePtr</A |
| 6695 | > cur);</PRE |
| 6696 | ></TD |
| 6697 | ></TR |
| 6698 | ></TABLE |
| 6699 | ><P |
| 6700 | >Traversal function for the "preceding-sibling" direction |
| 6701 | The preceding-sibling axis contains the preceding siblings of the context |
| 6702 | node in reverse document order; the first preceding sibling is first on the |
| 6703 | axis; the sibling preceding that node is the second on the axis and so on.</P |
| 6704 | ><P |
| 6705 | ></P |
| 6706 | ><DIV |
| 6707 | CLASS="INFORMALTABLE" |
| 6708 | ><P |
| 6709 | ></P |
| 6710 | ><TABLE |
| 6711 | BORDER="0" |
| 6712 | WIDTH="100%" |
| 6713 | BGCOLOR="#FFD0D0" |
| 6714 | CELLSPACING="0" |
| 6715 | CELLPADDING="4" |
| 6716 | CLASS="CALSTABLE" |
| 6717 | ><TR |
| 6718 | ><TD |
| 6719 | WIDTH="20%" |
| 6720 | ALIGN="RIGHT" |
| 6721 | VALIGN="TOP" |
| 6722 | ><TT |
| 6723 | CLASS="PARAMETER" |
| 6724 | ><I |
| 6725 | >ctxt</I |
| 6726 | ></TT |
| 6727 | > :</TD |
| 6728 | ><TD |
| 6729 | WIDTH="80%" |
| 6730 | ALIGN="LEFT" |
| 6731 | VALIGN="TOP" |
| 6732 | > the XPath Parser context</TD |
| 6733 | ></TR |
| 6734 | ><TR |
| 6735 | ><TD |
| 6736 | WIDTH="20%" |
| 6737 | ALIGN="RIGHT" |
| 6738 | VALIGN="TOP" |
| 6739 | ><TT |
| 6740 | CLASS="PARAMETER" |
| 6741 | ><I |
| 6742 | >cur</I |
| 6743 | ></TT |
| 6744 | > :</TD |
| 6745 | ><TD |
| 6746 | WIDTH="80%" |
| 6747 | ALIGN="LEFT" |
| 6748 | VALIGN="TOP" |
| 6749 | > the current node in the traversal</TD |
| 6750 | ></TR |
| 6751 | ><TR |
| 6752 | ><TD |
| 6753 | WIDTH="20%" |
| 6754 | ALIGN="RIGHT" |
| 6755 | VALIGN="TOP" |
| 6756 | ><I |
| 6757 | CLASS="EMPHASIS" |
| 6758 | >Returns</I |
| 6759 | > :</TD |
| 6760 | ><TD |
| 6761 | WIDTH="80%" |
| 6762 | ALIGN="LEFT" |
| 6763 | VALIGN="TOP" |
| 6764 | >the next element following that axis</TD |
| 6765 | ></TR |
| 6766 | ></TABLE |
| 6767 | ><P |
| 6768 | ></P |
| 6769 | ></DIV |
| 6770 | ></DIV |
| 6771 | ><HR><DIV |
| 6772 | CLASS="REFSECT2" |
| 6773 | ><A |
| 6774 | NAME="AEN12763" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 6775 | ></A |
| 6776 | ><H3 |
| 6777 | ><A |
| 6778 | NAME="XMLXPATHLASTFUNCTION" |
| 6779 | ></A |
| 6780 | >xmlXPathLastFunction ()</H3 |
| 6781 | ><TABLE |
| 6782 | BORDER="0" |
| 6783 | BGCOLOR="#D6E8FF" |
| 6784 | WIDTH="100%" |
| 6785 | CELLPADDING="6" |
| 6786 | ><TR |
| 6787 | ><TD |
| 6788 | ><PRE |
| 6789 | CLASS="PROGRAMLISTING" |
| 6790 | >void xmlXPathLastFunction (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6791 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 6792 | >xmlXPathParserContextPtr</A |
| 6793 | > ctxt, |
| 6794 | int nargs);</PRE |
| 6795 | ></TD |
| 6796 | ></TR |
| 6797 | ></TABLE |
| 6798 | ><P |
| 6799 | >Implement the <GTKDOCLINK |
| 6800 | HREF="LAST" |
| 6801 | >last</GTKDOCLINK |
| 6802 | >() XPath function |
| 6803 | number <GTKDOCLINK |
| 6804 | HREF="LAST" |
| 6805 | >last</GTKDOCLINK |
| 6806 | >() |
| 6807 | The last function returns the number of nodes in the context node list.</P |
| 6808 | ><P |
| 6809 | ></P |
| 6810 | ><DIV |
| 6811 | CLASS="INFORMALTABLE" |
| 6812 | ><P |
| 6813 | ></P |
| 6814 | ><TABLE |
| 6815 | BORDER="0" |
| 6816 | WIDTH="100%" |
| 6817 | BGCOLOR="#FFD0D0" |
| 6818 | CELLSPACING="0" |
| 6819 | CELLPADDING="4" |
| 6820 | CLASS="CALSTABLE" |
| 6821 | ><TR |
| 6822 | ><TD |
| 6823 | WIDTH="20%" |
| 6824 | ALIGN="RIGHT" |
| 6825 | VALIGN="TOP" |
| 6826 | ><TT |
| 6827 | CLASS="PARAMETER" |
| 6828 | ><I |
| 6829 | >ctxt</I |
| 6830 | ></TT |
| 6831 | > :</TD |
| 6832 | ><TD |
| 6833 | WIDTH="80%" |
| 6834 | ALIGN="LEFT" |
| 6835 | VALIGN="TOP" |
| 6836 | > the XPath Parser context</TD |
| 6837 | ></TR |
| 6838 | ><TR |
| 6839 | ><TD |
| 6840 | WIDTH="20%" |
| 6841 | ALIGN="RIGHT" |
| 6842 | VALIGN="TOP" |
| 6843 | ><TT |
| 6844 | CLASS="PARAMETER" |
| 6845 | ><I |
| 6846 | >nargs</I |
| 6847 | ></TT |
| 6848 | > :</TD |
| 6849 | ><TD |
| 6850 | WIDTH="80%" |
| 6851 | ALIGN="LEFT" |
| 6852 | VALIGN="TOP" |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6853 | > the number of arguments</TD |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 6854 | ></TR |
| 6855 | ></TABLE |
| 6856 | ><P |
| 6857 | ></P |
| 6858 | ></DIV |
| 6859 | ></DIV |
| 6860 | ><HR><DIV |
| 6861 | CLASS="REFSECT2" |
| 6862 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 6863 | NAME="AEN12785" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 6864 | ></A |
| 6865 | ><H3 |
| 6866 | ><A |
| 6867 | NAME="XMLXPATHPOSITIONFUNCTION" |
| 6868 | ></A |
| 6869 | >xmlXPathPositionFunction ()</H3 |
| 6870 | ><TABLE |
| 6871 | BORDER="0" |
| 6872 | BGCOLOR="#D6E8FF" |
| 6873 | WIDTH="100%" |
| 6874 | CELLPADDING="6" |
| 6875 | ><TR |
| 6876 | ><TD |
| 6877 | ><PRE |
| 6878 | CLASS="PROGRAMLISTING" |
| 6879 | >void xmlXPathPositionFunction (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6880 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 6881 | >xmlXPathParserContextPtr</A |
| 6882 | > ctxt, |
| 6883 | int nargs);</PRE |
| 6884 | ></TD |
| 6885 | ></TR |
| 6886 | ></TABLE |
| 6887 | ><P |
| 6888 | >Implement the <GTKDOCLINK |
| 6889 | HREF="POSITION" |
| 6890 | >position</GTKDOCLINK |
| 6891 | >() XPath function |
| 6892 | number <GTKDOCLINK |
| 6893 | HREF="POSITION" |
| 6894 | >position</GTKDOCLINK |
| 6895 | >() |
| 6896 | The position function returns the position of the context node in the |
| 6897 | context node list. The first position is 1, and so the last positionr |
| 6898 | will be equal to <GTKDOCLINK |
| 6899 | HREF="LAST" |
| 6900 | >last</GTKDOCLINK |
| 6901 | >().</P |
| 6902 | ><P |
| 6903 | ></P |
| 6904 | ><DIV |
| 6905 | CLASS="INFORMALTABLE" |
| 6906 | ><P |
| 6907 | ></P |
| 6908 | ><TABLE |
| 6909 | BORDER="0" |
| 6910 | WIDTH="100%" |
| 6911 | BGCOLOR="#FFD0D0" |
| 6912 | CELLSPACING="0" |
| 6913 | CELLPADDING="4" |
| 6914 | CLASS="CALSTABLE" |
| 6915 | ><TR |
| 6916 | ><TD |
| 6917 | WIDTH="20%" |
| 6918 | ALIGN="RIGHT" |
| 6919 | VALIGN="TOP" |
| 6920 | ><TT |
| 6921 | CLASS="PARAMETER" |
| 6922 | ><I |
| 6923 | >ctxt</I |
| 6924 | ></TT |
| 6925 | > :</TD |
| 6926 | ><TD |
| 6927 | WIDTH="80%" |
| 6928 | ALIGN="LEFT" |
| 6929 | VALIGN="TOP" |
| 6930 | > the XPath Parser context</TD |
| 6931 | ></TR |
| 6932 | ><TR |
| 6933 | ><TD |
| 6934 | WIDTH="20%" |
| 6935 | ALIGN="RIGHT" |
| 6936 | VALIGN="TOP" |
| 6937 | ><TT |
| 6938 | CLASS="PARAMETER" |
| 6939 | ><I |
| 6940 | >nargs</I |
| 6941 | ></TT |
| 6942 | > :</TD |
| 6943 | ><TD |
| 6944 | WIDTH="80%" |
| 6945 | ALIGN="LEFT" |
| 6946 | VALIGN="TOP" |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6947 | > the number of arguments</TD |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 6948 | ></TR |
| 6949 | ></TABLE |
| 6950 | ><P |
| 6951 | ></P |
| 6952 | ></DIV |
| 6953 | ></DIV |
| 6954 | ><HR><DIV |
| 6955 | CLASS="REFSECT2" |
| 6956 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 6957 | NAME="AEN12808" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 6958 | ></A |
| 6959 | ><H3 |
| 6960 | ><A |
| 6961 | NAME="XMLXPATHCOUNTFUNCTION" |
| 6962 | ></A |
| 6963 | >xmlXPathCountFunction ()</H3 |
| 6964 | ><TABLE |
| 6965 | BORDER="0" |
| 6966 | BGCOLOR="#D6E8FF" |
| 6967 | WIDTH="100%" |
| 6968 | CELLPADDING="6" |
| 6969 | ><TR |
| 6970 | ><TD |
| 6971 | ><PRE |
| 6972 | CLASS="PROGRAMLISTING" |
| 6973 | >void xmlXPathCountFunction (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6974 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 6975 | >xmlXPathParserContextPtr</A |
| 6976 | > ctxt, |
| 6977 | int nargs);</PRE |
| 6978 | ></TD |
| 6979 | ></TR |
| 6980 | ></TABLE |
| 6981 | ><P |
| 6982 | >Implement the <GTKDOCLINK |
| 6983 | HREF="COUNT" |
| 6984 | >count</GTKDOCLINK |
| 6985 | >() XPath function |
| 6986 | number count(node-set)</P |
| 6987 | ><P |
| 6988 | ></P |
| 6989 | ><DIV |
| 6990 | CLASS="INFORMALTABLE" |
| 6991 | ><P |
| 6992 | ></P |
| 6993 | ><TABLE |
| 6994 | BORDER="0" |
| 6995 | WIDTH="100%" |
| 6996 | BGCOLOR="#FFD0D0" |
| 6997 | CELLSPACING="0" |
| 6998 | CELLPADDING="4" |
| 6999 | CLASS="CALSTABLE" |
| 7000 | ><TR |
| 7001 | ><TD |
| 7002 | WIDTH="20%" |
| 7003 | ALIGN="RIGHT" |
| 7004 | VALIGN="TOP" |
| 7005 | ><TT |
| 7006 | CLASS="PARAMETER" |
| 7007 | ><I |
| 7008 | >ctxt</I |
| 7009 | ></TT |
| 7010 | > :</TD |
| 7011 | ><TD |
| 7012 | WIDTH="80%" |
| 7013 | ALIGN="LEFT" |
| 7014 | VALIGN="TOP" |
| 7015 | > the XPath Parser context</TD |
| 7016 | ></TR |
| 7017 | ><TR |
| 7018 | ><TD |
| 7019 | WIDTH="20%" |
| 7020 | ALIGN="RIGHT" |
| 7021 | VALIGN="TOP" |
| 7022 | ><TT |
| 7023 | CLASS="PARAMETER" |
| 7024 | ><I |
| 7025 | >nargs</I |
| 7026 | ></TT |
| 7027 | > :</TD |
| 7028 | ><TD |
| 7029 | WIDTH="80%" |
| 7030 | ALIGN="LEFT" |
| 7031 | VALIGN="TOP" |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7032 | > the number of arguments</TD |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 7033 | ></TR |
| 7034 | ></TABLE |
| 7035 | ><P |
| 7036 | ></P |
| 7037 | ></DIV |
| 7038 | ></DIV |
| 7039 | ><HR><DIV |
| 7040 | CLASS="REFSECT2" |
| 7041 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 7042 | NAME="AEN12829" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 7043 | ></A |
| 7044 | ><H3 |
| 7045 | ><A |
| 7046 | NAME="XMLXPATHLOCALNAMEFUNCTION" |
| 7047 | ></A |
| 7048 | >xmlXPathLocalNameFunction ()</H3 |
| 7049 | ><TABLE |
| 7050 | BORDER="0" |
| 7051 | BGCOLOR="#D6E8FF" |
| 7052 | WIDTH="100%" |
| 7053 | CELLPADDING="6" |
| 7054 | ><TR |
| 7055 | ><TD |
| 7056 | ><PRE |
| 7057 | CLASS="PROGRAMLISTING" |
| 7058 | >void xmlXPathLocalNameFunction (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7059 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 7060 | >xmlXPathParserContextPtr</A |
| 7061 | > ctxt, |
| 7062 | int nargs);</PRE |
| 7063 | ></TD |
| 7064 | ></TR |
| 7065 | ></TABLE |
| 7066 | ><P |
| 7067 | >Implement the local-<GTKDOCLINK |
| 7068 | HREF="NAME" |
| 7069 | >name</GTKDOCLINK |
| 7070 | >() XPath function |
| 7071 | string local-name(node-set?) |
| 7072 | The local-name function returns a string containing the local part |
| 7073 | of the name of the node in the argument node-set that is first in |
| 7074 | document order. If the node-set is empty or the first node has no |
| 7075 | name, an empty string is returned. If the argument is omitted it |
| 7076 | defaults to the context node.</P |
| 7077 | ><P |
| 7078 | ></P |
| 7079 | ><DIV |
| 7080 | CLASS="INFORMALTABLE" |
| 7081 | ><P |
| 7082 | ></P |
| 7083 | ><TABLE |
| 7084 | BORDER="0" |
| 7085 | WIDTH="100%" |
| 7086 | BGCOLOR="#FFD0D0" |
| 7087 | CELLSPACING="0" |
| 7088 | CELLPADDING="4" |
| 7089 | CLASS="CALSTABLE" |
| 7090 | ><TR |
| 7091 | ><TD |
| 7092 | WIDTH="20%" |
| 7093 | ALIGN="RIGHT" |
| 7094 | VALIGN="TOP" |
| 7095 | ><TT |
| 7096 | CLASS="PARAMETER" |
| 7097 | ><I |
| 7098 | >ctxt</I |
| 7099 | ></TT |
| 7100 | > :</TD |
| 7101 | ><TD |
| 7102 | WIDTH="80%" |
| 7103 | ALIGN="LEFT" |
| 7104 | VALIGN="TOP" |
| 7105 | > the XPath Parser context</TD |
| 7106 | ></TR |
| 7107 | ><TR |
| 7108 | ><TD |
| 7109 | WIDTH="20%" |
| 7110 | ALIGN="RIGHT" |
| 7111 | VALIGN="TOP" |
| 7112 | ><TT |
| 7113 | CLASS="PARAMETER" |
| 7114 | ><I |
| 7115 | >nargs</I |
| 7116 | ></TT |
| 7117 | > :</TD |
| 7118 | ><TD |
| 7119 | WIDTH="80%" |
| 7120 | ALIGN="LEFT" |
| 7121 | VALIGN="TOP" |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7122 | > the number of arguments</TD |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 7123 | ></TR |
| 7124 | ></TABLE |
| 7125 | ><P |
| 7126 | ></P |
| 7127 | ></DIV |
| 7128 | ></DIV |
| 7129 | ><HR><DIV |
| 7130 | CLASS="REFSECT2" |
| 7131 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 7132 | NAME="AEN12850" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 7133 | ></A |
| 7134 | ><H3 |
| 7135 | ><A |
| 7136 | NAME="XMLXPATHNAMESPACEURIFUNCTION" |
| 7137 | ></A |
| 7138 | >xmlXPathNamespaceURIFunction ()</H3 |
| 7139 | ><TABLE |
| 7140 | BORDER="0" |
| 7141 | BGCOLOR="#D6E8FF" |
| 7142 | WIDTH="100%" |
| 7143 | CELLPADDING="6" |
| 7144 | ><TR |
| 7145 | ><TD |
| 7146 | ><PRE |
| 7147 | CLASS="PROGRAMLISTING" |
| 7148 | >void xmlXPathNamespaceURIFunction (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7149 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 7150 | >xmlXPathParserContextPtr</A |
| 7151 | > ctxt, |
| 7152 | int nargs);</PRE |
| 7153 | ></TD |
| 7154 | ></TR |
| 7155 | ></TABLE |
| 7156 | ><P |
| 7157 | >Implement the namespace-<GTKDOCLINK |
| 7158 | HREF="URI" |
| 7159 | >uri</GTKDOCLINK |
| 7160 | >() XPath function |
| 7161 | string namespace-uri(node-set?) |
| 7162 | The namespace-uri function returns a string containing the |
| 7163 | namespace URI of the expanded name of the node in the argument |
| 7164 | node-set that is first in document order. If the node-set is empty, |
| 7165 | the first node has no name, or the expanded name has no namespace |
| 7166 | URI, an empty string is returned. If the argument is omitted it |
| 7167 | defaults to the context node.</P |
| 7168 | ><P |
| 7169 | ></P |
| 7170 | ><DIV |
| 7171 | CLASS="INFORMALTABLE" |
| 7172 | ><P |
| 7173 | ></P |
| 7174 | ><TABLE |
| 7175 | BORDER="0" |
| 7176 | WIDTH="100%" |
| 7177 | BGCOLOR="#FFD0D0" |
| 7178 | CELLSPACING="0" |
| 7179 | CELLPADDING="4" |
| 7180 | CLASS="CALSTABLE" |
| 7181 | ><TR |
| 7182 | ><TD |
| 7183 | WIDTH="20%" |
| 7184 | ALIGN="RIGHT" |
| 7185 | VALIGN="TOP" |
| 7186 | ><TT |
| 7187 | CLASS="PARAMETER" |
| 7188 | ><I |
| 7189 | >ctxt</I |
| 7190 | ></TT |
| 7191 | > :</TD |
| 7192 | ><TD |
| 7193 | WIDTH="80%" |
| 7194 | ALIGN="LEFT" |
| 7195 | VALIGN="TOP" |
| 7196 | > the XPath Parser context</TD |
| 7197 | ></TR |
| 7198 | ><TR |
| 7199 | ><TD |
| 7200 | WIDTH="20%" |
| 7201 | ALIGN="RIGHT" |
| 7202 | VALIGN="TOP" |
| 7203 | ><TT |
| 7204 | CLASS="PARAMETER" |
| 7205 | ><I |
| 7206 | >nargs</I |
| 7207 | ></TT |
| 7208 | > :</TD |
| 7209 | ><TD |
| 7210 | WIDTH="80%" |
| 7211 | ALIGN="LEFT" |
| 7212 | VALIGN="TOP" |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7213 | > the number of arguments</TD |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 7214 | ></TR |
| 7215 | ></TABLE |
| 7216 | ><P |
| 7217 | ></P |
| 7218 | ></DIV |
| 7219 | ></DIV |
| 7220 | ><HR><DIV |
| 7221 | CLASS="REFSECT2" |
| 7222 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 7223 | NAME="AEN12871" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 7224 | ></A |
| 7225 | ><H3 |
| 7226 | ><A |
| 7227 | NAME="XMLXPATHSTRINGLENGTHFUNCTION" |
| 7228 | ></A |
| 7229 | >xmlXPathStringLengthFunction ()</H3 |
| 7230 | ><TABLE |
| 7231 | BORDER="0" |
| 7232 | BGCOLOR="#D6E8FF" |
| 7233 | WIDTH="100%" |
| 7234 | CELLPADDING="6" |
| 7235 | ><TR |
| 7236 | ><TD |
| 7237 | ><PRE |
| 7238 | CLASS="PROGRAMLISTING" |
| 7239 | >void xmlXPathStringLengthFunction (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7240 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 7241 | >xmlXPathParserContextPtr</A |
| 7242 | > ctxt, |
| 7243 | int nargs);</PRE |
| 7244 | ></TD |
| 7245 | ></TR |
| 7246 | ></TABLE |
| 7247 | ><P |
| 7248 | >Implement the string-<GTKDOCLINK |
| 7249 | HREF="LENGTH" |
| 7250 | >length</GTKDOCLINK |
| 7251 | >() XPath function |
| 7252 | number string-length(string?) |
| 7253 | The string-length returns the number of characters in the string |
| 7254 | (see [3.6 Strings]). If the argument is omitted, it defaults to |
| 7255 | the context node converted to a string, in other words the value |
| 7256 | of the context node.</P |
| 7257 | ><P |
| 7258 | ></P |
| 7259 | ><DIV |
| 7260 | CLASS="INFORMALTABLE" |
| 7261 | ><P |
| 7262 | ></P |
| 7263 | ><TABLE |
| 7264 | BORDER="0" |
| 7265 | WIDTH="100%" |
| 7266 | BGCOLOR="#FFD0D0" |
| 7267 | CELLSPACING="0" |
| 7268 | CELLPADDING="4" |
| 7269 | CLASS="CALSTABLE" |
| 7270 | ><TR |
| 7271 | ><TD |
| 7272 | WIDTH="20%" |
| 7273 | ALIGN="RIGHT" |
| 7274 | VALIGN="TOP" |
| 7275 | ><TT |
| 7276 | CLASS="PARAMETER" |
| 7277 | ><I |
| 7278 | >ctxt</I |
| 7279 | ></TT |
| 7280 | > :</TD |
| 7281 | ><TD |
| 7282 | WIDTH="80%" |
| 7283 | ALIGN="LEFT" |
| 7284 | VALIGN="TOP" |
| 7285 | > the XPath Parser context</TD |
| 7286 | ></TR |
| 7287 | ><TR |
| 7288 | ><TD |
| 7289 | WIDTH="20%" |
| 7290 | ALIGN="RIGHT" |
| 7291 | VALIGN="TOP" |
| 7292 | ><TT |
| 7293 | CLASS="PARAMETER" |
| 7294 | ><I |
| 7295 | >nargs</I |
| 7296 | ></TT |
| 7297 | > :</TD |
| 7298 | ><TD |
| 7299 | WIDTH="80%" |
| 7300 | ALIGN="LEFT" |
| 7301 | VALIGN="TOP" |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7302 | > the number of arguments</TD |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 7303 | ></TR |
| 7304 | ></TABLE |
| 7305 | ><P |
| 7306 | ></P |
| 7307 | ></DIV |
| 7308 | ></DIV |
| 7309 | ><HR><DIV |
| 7310 | CLASS="REFSECT2" |
| 7311 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 7312 | NAME="AEN12892" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 7313 | ></A |
| 7314 | ><H3 |
| 7315 | ><A |
| 7316 | NAME="XMLXPATHCONCATFUNCTION" |
| 7317 | ></A |
| 7318 | >xmlXPathConcatFunction ()</H3 |
| 7319 | ><TABLE |
| 7320 | BORDER="0" |
| 7321 | BGCOLOR="#D6E8FF" |
| 7322 | WIDTH="100%" |
| 7323 | CELLPADDING="6" |
| 7324 | ><TR |
| 7325 | ><TD |
| 7326 | ><PRE |
| 7327 | CLASS="PROGRAMLISTING" |
| 7328 | >void xmlXPathConcatFunction (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7329 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 7330 | >xmlXPathParserContextPtr</A |
| 7331 | > ctxt, |
| 7332 | int nargs);</PRE |
| 7333 | ></TD |
| 7334 | ></TR |
| 7335 | ></TABLE |
| 7336 | ><P |
| 7337 | >Implement the <GTKDOCLINK |
| 7338 | HREF="CONCAT" |
| 7339 | >concat</GTKDOCLINK |
| 7340 | >() XPath function |
| 7341 | string concat(string, string, string*) |
| 7342 | The concat function returns the concatenation of its arguments.</P |
| 7343 | ><P |
| 7344 | ></P |
| 7345 | ><DIV |
| 7346 | CLASS="INFORMALTABLE" |
| 7347 | ><P |
| 7348 | ></P |
| 7349 | ><TABLE |
| 7350 | BORDER="0" |
| 7351 | WIDTH="100%" |
| 7352 | BGCOLOR="#FFD0D0" |
| 7353 | CELLSPACING="0" |
| 7354 | CELLPADDING="4" |
| 7355 | CLASS="CALSTABLE" |
| 7356 | ><TR |
| 7357 | ><TD |
| 7358 | WIDTH="20%" |
| 7359 | ALIGN="RIGHT" |
| 7360 | VALIGN="TOP" |
| 7361 | ><TT |
| 7362 | CLASS="PARAMETER" |
| 7363 | ><I |
| 7364 | >ctxt</I |
| 7365 | ></TT |
| 7366 | > :</TD |
| 7367 | ><TD |
| 7368 | WIDTH="80%" |
| 7369 | ALIGN="LEFT" |
| 7370 | VALIGN="TOP" |
| 7371 | > the XPath Parser context</TD |
| 7372 | ></TR |
| 7373 | ><TR |
| 7374 | ><TD |
| 7375 | WIDTH="20%" |
| 7376 | ALIGN="RIGHT" |
| 7377 | VALIGN="TOP" |
| 7378 | ><TT |
| 7379 | CLASS="PARAMETER" |
| 7380 | ><I |
| 7381 | >nargs</I |
| 7382 | ></TT |
| 7383 | > :</TD |
| 7384 | ><TD |
| 7385 | WIDTH="80%" |
| 7386 | ALIGN="LEFT" |
| 7387 | VALIGN="TOP" |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7388 | > the number of arguments</TD |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 7389 | ></TR |
| 7390 | ></TABLE |
| 7391 | ><P |
| 7392 | ></P |
| 7393 | ></DIV |
| 7394 | ></DIV |
| 7395 | ><HR><DIV |
| 7396 | CLASS="REFSECT2" |
| 7397 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 7398 | NAME="AEN12913" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 7399 | ></A |
| 7400 | ><H3 |
| 7401 | ><A |
| 7402 | NAME="XMLXPATHCONTAINSFUNCTION" |
| 7403 | ></A |
| 7404 | >xmlXPathContainsFunction ()</H3 |
| 7405 | ><TABLE |
| 7406 | BORDER="0" |
| 7407 | BGCOLOR="#D6E8FF" |
| 7408 | WIDTH="100%" |
| 7409 | CELLPADDING="6" |
| 7410 | ><TR |
| 7411 | ><TD |
| 7412 | ><PRE |
| 7413 | CLASS="PROGRAMLISTING" |
| 7414 | >void xmlXPathContainsFunction (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7415 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 7416 | >xmlXPathParserContextPtr</A |
| 7417 | > ctxt, |
| 7418 | int nargs);</PRE |
| 7419 | ></TD |
| 7420 | ></TR |
| 7421 | ></TABLE |
| 7422 | ><P |
| 7423 | >Implement the <GTKDOCLINK |
| 7424 | HREF="CONTAINS" |
| 7425 | >contains</GTKDOCLINK |
| 7426 | >() XPath function |
| 7427 | boolean contains(string, string) |
| 7428 | The contains function returns true if the first argument string |
| 7429 | contains the second argument string, and otherwise returns false.</P |
| 7430 | ><P |
| 7431 | ></P |
| 7432 | ><DIV |
| 7433 | CLASS="INFORMALTABLE" |
| 7434 | ><P |
| 7435 | ></P |
| 7436 | ><TABLE |
| 7437 | BORDER="0" |
| 7438 | WIDTH="100%" |
| 7439 | BGCOLOR="#FFD0D0" |
| 7440 | CELLSPACING="0" |
| 7441 | CELLPADDING="4" |
| 7442 | CLASS="CALSTABLE" |
| 7443 | ><TR |
| 7444 | ><TD |
| 7445 | WIDTH="20%" |
| 7446 | ALIGN="RIGHT" |
| 7447 | VALIGN="TOP" |
| 7448 | ><TT |
| 7449 | CLASS="PARAMETER" |
| 7450 | ><I |
| 7451 | >ctxt</I |
| 7452 | ></TT |
| 7453 | > :</TD |
| 7454 | ><TD |
| 7455 | WIDTH="80%" |
| 7456 | ALIGN="LEFT" |
| 7457 | VALIGN="TOP" |
| 7458 | > the XPath Parser context</TD |
| 7459 | ></TR |
| 7460 | ><TR |
| 7461 | ><TD |
| 7462 | WIDTH="20%" |
| 7463 | ALIGN="RIGHT" |
| 7464 | VALIGN="TOP" |
| 7465 | ><TT |
| 7466 | CLASS="PARAMETER" |
| 7467 | ><I |
| 7468 | >nargs</I |
| 7469 | ></TT |
| 7470 | > :</TD |
| 7471 | ><TD |
| 7472 | WIDTH="80%" |
| 7473 | ALIGN="LEFT" |
| 7474 | VALIGN="TOP" |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7475 | > the number of arguments</TD |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 7476 | ></TR |
| 7477 | ></TABLE |
| 7478 | ><P |
| 7479 | ></P |
| 7480 | ></DIV |
| 7481 | ></DIV |
| 7482 | ><HR><DIV |
| 7483 | CLASS="REFSECT2" |
| 7484 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 7485 | NAME="AEN12934" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 7486 | ></A |
| 7487 | ><H3 |
| 7488 | ><A |
| 7489 | NAME="XMLXPATHSTARTSWITHFUNCTION" |
| 7490 | ></A |
| 7491 | >xmlXPathStartsWithFunction ()</H3 |
| 7492 | ><TABLE |
| 7493 | BORDER="0" |
| 7494 | BGCOLOR="#D6E8FF" |
| 7495 | WIDTH="100%" |
| 7496 | CELLPADDING="6" |
| 7497 | ><TR |
| 7498 | ><TD |
| 7499 | ><PRE |
| 7500 | CLASS="PROGRAMLISTING" |
| 7501 | >void xmlXPathStartsWithFunction (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7502 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 7503 | >xmlXPathParserContextPtr</A |
| 7504 | > ctxt, |
| 7505 | int nargs);</PRE |
| 7506 | ></TD |
| 7507 | ></TR |
| 7508 | ></TABLE |
| 7509 | ><P |
| 7510 | >Implement the starts-<GTKDOCLINK |
| 7511 | HREF="WITH" |
| 7512 | >with</GTKDOCLINK |
| 7513 | >() XPath function |
| 7514 | boolean starts-with(string, string) |
| 7515 | The starts-with function returns true if the first argument string |
| 7516 | starts with the second argument string, and otherwise returns false.</P |
| 7517 | ><P |
| 7518 | ></P |
| 7519 | ><DIV |
| 7520 | CLASS="INFORMALTABLE" |
| 7521 | ><P |
| 7522 | ></P |
| 7523 | ><TABLE |
| 7524 | BORDER="0" |
| 7525 | WIDTH="100%" |
| 7526 | BGCOLOR="#FFD0D0" |
| 7527 | CELLSPACING="0" |
| 7528 | CELLPADDING="4" |
| 7529 | CLASS="CALSTABLE" |
| 7530 | ><TR |
| 7531 | ><TD |
| 7532 | WIDTH="20%" |
| 7533 | ALIGN="RIGHT" |
| 7534 | VALIGN="TOP" |
| 7535 | ><TT |
| 7536 | CLASS="PARAMETER" |
| 7537 | ><I |
| 7538 | >ctxt</I |
| 7539 | ></TT |
| 7540 | > :</TD |
| 7541 | ><TD |
| 7542 | WIDTH="80%" |
| 7543 | ALIGN="LEFT" |
| 7544 | VALIGN="TOP" |
| 7545 | > the XPath Parser context</TD |
| 7546 | ></TR |
| 7547 | ><TR |
| 7548 | ><TD |
| 7549 | WIDTH="20%" |
| 7550 | ALIGN="RIGHT" |
| 7551 | VALIGN="TOP" |
| 7552 | ><TT |
| 7553 | CLASS="PARAMETER" |
| 7554 | ><I |
| 7555 | >nargs</I |
| 7556 | ></TT |
| 7557 | > :</TD |
| 7558 | ><TD |
| 7559 | WIDTH="80%" |
| 7560 | ALIGN="LEFT" |
| 7561 | VALIGN="TOP" |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7562 | > the number of arguments</TD |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 7563 | ></TR |
| 7564 | ></TABLE |
| 7565 | ><P |
| 7566 | ></P |
| 7567 | ></DIV |
| 7568 | ></DIV |
| 7569 | ><HR><DIV |
| 7570 | CLASS="REFSECT2" |
| 7571 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 7572 | NAME="AEN12955" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 7573 | ></A |
| 7574 | ><H3 |
| 7575 | ><A |
| 7576 | NAME="XMLXPATHSUBSTRINGFUNCTION" |
| 7577 | ></A |
| 7578 | >xmlXPathSubstringFunction ()</H3 |
| 7579 | ><TABLE |
| 7580 | BORDER="0" |
| 7581 | BGCOLOR="#D6E8FF" |
| 7582 | WIDTH="100%" |
| 7583 | CELLPADDING="6" |
| 7584 | ><TR |
| 7585 | ><TD |
| 7586 | ><PRE |
| 7587 | CLASS="PROGRAMLISTING" |
| 7588 | >void xmlXPathSubstringFunction (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7589 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 7590 | >xmlXPathParserContextPtr</A |
| 7591 | > ctxt, |
| 7592 | int nargs);</PRE |
| 7593 | ></TD |
| 7594 | ></TR |
| 7595 | ></TABLE |
| 7596 | ><P |
| 7597 | >Implement the <GTKDOCLINK |
| 7598 | HREF="SUBSTRING" |
| 7599 | >substring</GTKDOCLINK |
| 7600 | >() XPath function |
| 7601 | string substring(string, number, number?) |
| 7602 | The substring function returns the substring of the first argument |
| 7603 | starting at the position specified in the second argument with |
| 7604 | length specified in the third argument. For example, |
| 7605 | substring("12345",2,3) returns "234". If the third argument is not |
| 7606 | specified, it returns the substring starting at the position specified |
| 7607 | in the second argument and continuing to the end of the string. For |
| 7608 | example, substring("12345",2) returns "2345". More precisely, each |
| 7609 | character in the string (see [3.6 Strings]) is considered to have a |
| 7610 | numeric position: the position of the first character is 1, the position |
| 7611 | of the second character is 2 and so on. The returned substring contains |
| 7612 | those characters for which the position of the character is greater than |
| 7613 | or equal to the second argument and, if the third argument is specified, |
| 7614 | less than the sum of the second and third arguments; the comparisons |
| 7615 | and addition used for the above follow the standard IEEE 754 rules. Thus: |
| 7616 | - substring("12345", 1.5, 2.6) returns "234" |
| 7617 | - substring("12345", 0, 3) returns "12" |
| 7618 | - substring("12345", 0 div 0, 3) returns "" |
| 7619 | - substring("12345", 1, 0 div 0) returns "" |
| 7620 | - substring("12345", -42, 1 div 0) returns "12345" |
| 7621 | - substring("12345", -1 div 0, 1 div 0) returns ""</P |
| 7622 | ><P |
| 7623 | ></P |
| 7624 | ><DIV |
| 7625 | CLASS="INFORMALTABLE" |
| 7626 | ><P |
| 7627 | ></P |
| 7628 | ><TABLE |
| 7629 | BORDER="0" |
| 7630 | WIDTH="100%" |
| 7631 | BGCOLOR="#FFD0D0" |
| 7632 | CELLSPACING="0" |
| 7633 | CELLPADDING="4" |
| 7634 | CLASS="CALSTABLE" |
| 7635 | ><TR |
| 7636 | ><TD |
| 7637 | WIDTH="20%" |
| 7638 | ALIGN="RIGHT" |
| 7639 | VALIGN="TOP" |
| 7640 | ><TT |
| 7641 | CLASS="PARAMETER" |
| 7642 | ><I |
| 7643 | >ctxt</I |
| 7644 | ></TT |
| 7645 | > :</TD |
| 7646 | ><TD |
| 7647 | WIDTH="80%" |
| 7648 | ALIGN="LEFT" |
| 7649 | VALIGN="TOP" |
| 7650 | > the XPath Parser context</TD |
| 7651 | ></TR |
| 7652 | ><TR |
| 7653 | ><TD |
| 7654 | WIDTH="20%" |
| 7655 | ALIGN="RIGHT" |
| 7656 | VALIGN="TOP" |
| 7657 | ><TT |
| 7658 | CLASS="PARAMETER" |
| 7659 | ><I |
| 7660 | >nargs</I |
| 7661 | ></TT |
| 7662 | > :</TD |
| 7663 | ><TD |
| 7664 | WIDTH="80%" |
| 7665 | ALIGN="LEFT" |
| 7666 | VALIGN="TOP" |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7667 | > the number of arguments</TD |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 7668 | ></TR |
| 7669 | ></TABLE |
| 7670 | ><P |
| 7671 | ></P |
| 7672 | ></DIV |
| 7673 | ></DIV |
| 7674 | ><HR><DIV |
| 7675 | CLASS="REFSECT2" |
| 7676 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 7677 | NAME="AEN12976" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 7678 | ></A |
| 7679 | ><H3 |
| 7680 | ><A |
| 7681 | NAME="XMLXPATHSUBSTRINGBEFOREFUNCTION" |
| 7682 | ></A |
| 7683 | >xmlXPathSubstringBeforeFunction ()</H3 |
| 7684 | ><TABLE |
| 7685 | BORDER="0" |
| 7686 | BGCOLOR="#D6E8FF" |
| 7687 | WIDTH="100%" |
| 7688 | CELLPADDING="6" |
| 7689 | ><TR |
| 7690 | ><TD |
| 7691 | ><PRE |
| 7692 | CLASS="PROGRAMLISTING" |
| 7693 | >void xmlXPathSubstringBeforeFunction (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7694 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 7695 | >xmlXPathParserContextPtr</A |
| 7696 | > ctxt, |
| 7697 | int nargs);</PRE |
| 7698 | ></TD |
| 7699 | ></TR |
| 7700 | ></TABLE |
| 7701 | ><P |
| 7702 | >Implement the substring-<GTKDOCLINK |
| 7703 | HREF="BEFORE" |
| 7704 | >before</GTKDOCLINK |
| 7705 | >() XPath function |
| 7706 | string substring-before(string, string) |
| 7707 | The substring-before function returns the substring of the first |
| 7708 | argument string that precedes the first occurrence of the second |
| 7709 | argument string in the first argument string, or the empty string |
| 7710 | if the first argument string does not contain the second argument |
| 7711 | string. For example, substring-before("1999/04/01","/") returns 1999.</P |
| 7712 | ><P |
| 7713 | ></P |
| 7714 | ><DIV |
| 7715 | CLASS="INFORMALTABLE" |
| 7716 | ><P |
| 7717 | ></P |
| 7718 | ><TABLE |
| 7719 | BORDER="0" |
| 7720 | WIDTH="100%" |
| 7721 | BGCOLOR="#FFD0D0" |
| 7722 | CELLSPACING="0" |
| 7723 | CELLPADDING="4" |
| 7724 | CLASS="CALSTABLE" |
| 7725 | ><TR |
| 7726 | ><TD |
| 7727 | WIDTH="20%" |
| 7728 | ALIGN="RIGHT" |
| 7729 | VALIGN="TOP" |
| 7730 | ><TT |
| 7731 | CLASS="PARAMETER" |
| 7732 | ><I |
| 7733 | >ctxt</I |
| 7734 | ></TT |
| 7735 | > :</TD |
| 7736 | ><TD |
| 7737 | WIDTH="80%" |
| 7738 | ALIGN="LEFT" |
| 7739 | VALIGN="TOP" |
| 7740 | > the XPath Parser context</TD |
| 7741 | ></TR |
| 7742 | ><TR |
| 7743 | ><TD |
| 7744 | WIDTH="20%" |
| 7745 | ALIGN="RIGHT" |
| 7746 | VALIGN="TOP" |
| 7747 | ><TT |
| 7748 | CLASS="PARAMETER" |
| 7749 | ><I |
| 7750 | >nargs</I |
| 7751 | ></TT |
| 7752 | > :</TD |
| 7753 | ><TD |
| 7754 | WIDTH="80%" |
| 7755 | ALIGN="LEFT" |
| 7756 | VALIGN="TOP" |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7757 | > the number of arguments</TD |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 7758 | ></TR |
| 7759 | ></TABLE |
| 7760 | ><P |
| 7761 | ></P |
| 7762 | ></DIV |
| 7763 | ></DIV |
| 7764 | ><HR><DIV |
| 7765 | CLASS="REFSECT2" |
| 7766 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 7767 | NAME="AEN12997" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 7768 | ></A |
| 7769 | ><H3 |
| 7770 | ><A |
| 7771 | NAME="XMLXPATHSUBSTRINGAFTERFUNCTION" |
| 7772 | ></A |
| 7773 | >xmlXPathSubstringAfterFunction ()</H3 |
| 7774 | ><TABLE |
| 7775 | BORDER="0" |
| 7776 | BGCOLOR="#D6E8FF" |
| 7777 | WIDTH="100%" |
| 7778 | CELLPADDING="6" |
| 7779 | ><TR |
| 7780 | ><TD |
| 7781 | ><PRE |
| 7782 | CLASS="PROGRAMLISTING" |
| 7783 | >void xmlXPathSubstringAfterFunction (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7784 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 7785 | >xmlXPathParserContextPtr</A |
| 7786 | > ctxt, |
| 7787 | int nargs);</PRE |
| 7788 | ></TD |
| 7789 | ></TR |
| 7790 | ></TABLE |
| 7791 | ><P |
| 7792 | >Implement the substring-<GTKDOCLINK |
| 7793 | HREF="AFTER" |
| 7794 | >after</GTKDOCLINK |
| 7795 | >() XPath function |
| 7796 | string substring-after(string, string) |
| 7797 | The substring-after function returns the substring of the first |
| 7798 | argument string that follows the first occurrence of the second |
| 7799 | argument string in the first argument string, or the empty stringi |
| 7800 | if the first argument string does not contain the second argument |
| 7801 | string. For example, substring-after("1999/04/01","/") returns 04/01, |
| 7802 | and substring-after("1999/04/01","19") returns 99/04/01.</P |
| 7803 | ><P |
| 7804 | ></P |
| 7805 | ><DIV |
| 7806 | CLASS="INFORMALTABLE" |
| 7807 | ><P |
| 7808 | ></P |
| 7809 | ><TABLE |
| 7810 | BORDER="0" |
| 7811 | WIDTH="100%" |
| 7812 | BGCOLOR="#FFD0D0" |
| 7813 | CELLSPACING="0" |
| 7814 | CELLPADDING="4" |
| 7815 | CLASS="CALSTABLE" |
| 7816 | ><TR |
| 7817 | ><TD |
| 7818 | WIDTH="20%" |
| 7819 | ALIGN="RIGHT" |
| 7820 | VALIGN="TOP" |
| 7821 | ><TT |
| 7822 | CLASS="PARAMETER" |
| 7823 | ><I |
| 7824 | >ctxt</I |
| 7825 | ></TT |
| 7826 | > :</TD |
| 7827 | ><TD |
| 7828 | WIDTH="80%" |
| 7829 | ALIGN="LEFT" |
| 7830 | VALIGN="TOP" |
| 7831 | > the XPath Parser context</TD |
| 7832 | ></TR |
| 7833 | ><TR |
| 7834 | ><TD |
| 7835 | WIDTH="20%" |
| 7836 | ALIGN="RIGHT" |
| 7837 | VALIGN="TOP" |
| 7838 | ><TT |
| 7839 | CLASS="PARAMETER" |
| 7840 | ><I |
| 7841 | >nargs</I |
| 7842 | ></TT |
| 7843 | > :</TD |
| 7844 | ><TD |
| 7845 | WIDTH="80%" |
| 7846 | ALIGN="LEFT" |
| 7847 | VALIGN="TOP" |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7848 | > the number of arguments</TD |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 7849 | ></TR |
| 7850 | ></TABLE |
| 7851 | ><P |
| 7852 | ></P |
| 7853 | ></DIV |
| 7854 | ></DIV |
| 7855 | ><HR><DIV |
| 7856 | CLASS="REFSECT2" |
| 7857 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 7858 | NAME="AEN13018" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 7859 | ></A |
| 7860 | ><H3 |
| 7861 | ><A |
| 7862 | NAME="XMLXPATHNORMALIZEFUNCTION" |
| 7863 | ></A |
| 7864 | >xmlXPathNormalizeFunction ()</H3 |
| 7865 | ><TABLE |
| 7866 | BORDER="0" |
| 7867 | BGCOLOR="#D6E8FF" |
| 7868 | WIDTH="100%" |
| 7869 | CELLPADDING="6" |
| 7870 | ><TR |
| 7871 | ><TD |
| 7872 | ><PRE |
| 7873 | CLASS="PROGRAMLISTING" |
| 7874 | >void xmlXPathNormalizeFunction (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7875 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 7876 | >xmlXPathParserContextPtr</A |
| 7877 | > ctxt, |
| 7878 | int nargs);</PRE |
| 7879 | ></TD |
| 7880 | ></TR |
| 7881 | ></TABLE |
| 7882 | ><P |
| 7883 | >Implement the normalize-<GTKDOCLINK |
| 7884 | HREF="SPACE" |
| 7885 | >space</GTKDOCLINK |
| 7886 | >() XPath function |
| 7887 | string normalize-space(string?) |
| 7888 | The normalize-space function returns the argument string with white |
| 7889 | space normalized by stripping leading and trailing whitespace |
| 7890 | and replacing sequences of whitespace characters by a single |
| 7891 | space. Whitespace characters are the same allowed by the S production |
| 7892 | in XML. If the argument is omitted, it defaults to the context |
| 7893 | node converted to a string, in other words the value of the context node.</P |
| 7894 | ><P |
| 7895 | ></P |
| 7896 | ><DIV |
| 7897 | CLASS="INFORMALTABLE" |
| 7898 | ><P |
| 7899 | ></P |
| 7900 | ><TABLE |
| 7901 | BORDER="0" |
| 7902 | WIDTH="100%" |
| 7903 | BGCOLOR="#FFD0D0" |
| 7904 | CELLSPACING="0" |
| 7905 | CELLPADDING="4" |
| 7906 | CLASS="CALSTABLE" |
| 7907 | ><TR |
| 7908 | ><TD |
| 7909 | WIDTH="20%" |
| 7910 | ALIGN="RIGHT" |
| 7911 | VALIGN="TOP" |
| 7912 | ><TT |
| 7913 | CLASS="PARAMETER" |
| 7914 | ><I |
| 7915 | >ctxt</I |
| 7916 | ></TT |
| 7917 | > :</TD |
| 7918 | ><TD |
| 7919 | WIDTH="80%" |
| 7920 | ALIGN="LEFT" |
| 7921 | VALIGN="TOP" |
| 7922 | > the XPath Parser context</TD |
| 7923 | ></TR |
| 7924 | ><TR |
| 7925 | ><TD |
| 7926 | WIDTH="20%" |
| 7927 | ALIGN="RIGHT" |
| 7928 | VALIGN="TOP" |
| 7929 | ><TT |
| 7930 | CLASS="PARAMETER" |
| 7931 | ><I |
| 7932 | >nargs</I |
| 7933 | ></TT |
| 7934 | > :</TD |
| 7935 | ><TD |
| 7936 | WIDTH="80%" |
| 7937 | ALIGN="LEFT" |
| 7938 | VALIGN="TOP" |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7939 | > the number of arguments</TD |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 7940 | ></TR |
| 7941 | ></TABLE |
| 7942 | ><P |
| 7943 | ></P |
| 7944 | ></DIV |
| 7945 | ></DIV |
| 7946 | ><HR><DIV |
| 7947 | CLASS="REFSECT2" |
| 7948 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 7949 | NAME="AEN13039" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 7950 | ></A |
| 7951 | ><H3 |
| 7952 | ><A |
| 7953 | NAME="XMLXPATHTRANSLATEFUNCTION" |
| 7954 | ></A |
| 7955 | >xmlXPathTranslateFunction ()</H3 |
| 7956 | ><TABLE |
| 7957 | BORDER="0" |
| 7958 | BGCOLOR="#D6E8FF" |
| 7959 | WIDTH="100%" |
| 7960 | CELLPADDING="6" |
| 7961 | ><TR |
| 7962 | ><TD |
| 7963 | ><PRE |
| 7964 | CLASS="PROGRAMLISTING" |
| 7965 | >void xmlXPathTranslateFunction (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7966 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 7967 | >xmlXPathParserContextPtr</A |
| 7968 | > ctxt, |
| 7969 | int nargs);</PRE |
| 7970 | ></TD |
| 7971 | ></TR |
| 7972 | ></TABLE |
| 7973 | ><P |
| 7974 | >Implement the <GTKDOCLINK |
| 7975 | HREF="TRANSLATE" |
| 7976 | >translate</GTKDOCLINK |
| 7977 | >() XPath function |
| 7978 | string translate(string, string, string) |
| 7979 | The translate function returns the first argument string with |
| 7980 | occurrences of characters in the second argument string replaced |
| 7981 | by the character at the corresponding position in the third argument |
| 7982 | string. For example, translate("bar","abc","ABC") returns the string |
| 7983 | BAr. If there is a character in the second argument string with no |
| 7984 | character at a corresponding position in the third argument string |
| 7985 | (because the second argument string is longer than the third argument |
| 7986 | string), then occurrences of that character in the first argument |
| 7987 | string are removed. For example, translate("--aaa--","abc-","ABC")</P |
| 7988 | ><P |
| 7989 | ></P |
| 7990 | ><DIV |
| 7991 | CLASS="INFORMALTABLE" |
| 7992 | ><P |
| 7993 | ></P |
| 7994 | ><TABLE |
| 7995 | BORDER="0" |
| 7996 | WIDTH="100%" |
| 7997 | BGCOLOR="#FFD0D0" |
| 7998 | CELLSPACING="0" |
| 7999 | CELLPADDING="4" |
| 8000 | CLASS="CALSTABLE" |
| 8001 | ><TR |
| 8002 | ><TD |
| 8003 | WIDTH="20%" |
| 8004 | ALIGN="RIGHT" |
| 8005 | VALIGN="TOP" |
| 8006 | ><TT |
| 8007 | CLASS="PARAMETER" |
| 8008 | ><I |
| 8009 | >ctxt</I |
| 8010 | ></TT |
| 8011 | > :</TD |
| 8012 | ><TD |
| 8013 | WIDTH="80%" |
| 8014 | ALIGN="LEFT" |
| 8015 | VALIGN="TOP" |
| 8016 | > the XPath Parser context</TD |
| 8017 | ></TR |
| 8018 | ><TR |
| 8019 | ><TD |
| 8020 | WIDTH="20%" |
| 8021 | ALIGN="RIGHT" |
| 8022 | VALIGN="TOP" |
| 8023 | ><TT |
| 8024 | CLASS="PARAMETER" |
| 8025 | ><I |
| 8026 | >nargs</I |
| 8027 | ></TT |
| 8028 | > :</TD |
| 8029 | ><TD |
| 8030 | WIDTH="80%" |
| 8031 | ALIGN="LEFT" |
| 8032 | VALIGN="TOP" |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 8033 | > the number of arguments</TD |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 8034 | ></TR |
| 8035 | ></TABLE |
| 8036 | ><P |
| 8037 | ></P |
| 8038 | ></DIV |
| 8039 | ></DIV |
| 8040 | ><HR><DIV |
| 8041 | CLASS="REFSECT2" |
| 8042 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 8043 | NAME="AEN13060" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 8044 | ></A |
| 8045 | ><H3 |
| 8046 | ><A |
| 8047 | NAME="XMLXPATHNOTFUNCTION" |
| 8048 | ></A |
| 8049 | >xmlXPathNotFunction ()</H3 |
| 8050 | ><TABLE |
| 8051 | BORDER="0" |
| 8052 | BGCOLOR="#D6E8FF" |
| 8053 | WIDTH="100%" |
| 8054 | CELLPADDING="6" |
| 8055 | ><TR |
| 8056 | ><TD |
| 8057 | ><PRE |
| 8058 | CLASS="PROGRAMLISTING" |
| 8059 | >void xmlXPathNotFunction (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 8060 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 8061 | >xmlXPathParserContextPtr</A |
| 8062 | > ctxt, |
| 8063 | int nargs);</PRE |
| 8064 | ></TD |
| 8065 | ></TR |
| 8066 | ></TABLE |
| 8067 | ><P |
| 8068 | >Implement the <GTKDOCLINK |
| 8069 | HREF="NOT" |
| 8070 | >not</GTKDOCLINK |
| 8071 | >() XPath function |
| 8072 | boolean not(boolean) |
| 8073 | The not function returns true if its argument is false, |
| 8074 | and false otherwise.</P |
| 8075 | ><P |
| 8076 | ></P |
| 8077 | ><DIV |
| 8078 | CLASS="INFORMALTABLE" |
| 8079 | ><P |
| 8080 | ></P |
| 8081 | ><TABLE |
| 8082 | BORDER="0" |
| 8083 | WIDTH="100%" |
| 8084 | BGCOLOR="#FFD0D0" |
| 8085 | CELLSPACING="0" |
| 8086 | CELLPADDING="4" |
| 8087 | CLASS="CALSTABLE" |
| 8088 | ><TR |
| 8089 | ><TD |
| 8090 | WIDTH="20%" |
| 8091 | ALIGN="RIGHT" |
| 8092 | VALIGN="TOP" |
| 8093 | ><TT |
| 8094 | CLASS="PARAMETER" |
| 8095 | ><I |
| 8096 | >ctxt</I |
| 8097 | ></TT |
| 8098 | > :</TD |
| 8099 | ><TD |
| 8100 | WIDTH="80%" |
| 8101 | ALIGN="LEFT" |
| 8102 | VALIGN="TOP" |
| 8103 | > the XPath Parser context</TD |
| 8104 | ></TR |
| 8105 | ><TR |
| 8106 | ><TD |
| 8107 | WIDTH="20%" |
| 8108 | ALIGN="RIGHT" |
| 8109 | VALIGN="TOP" |
| 8110 | ><TT |
| 8111 | CLASS="PARAMETER" |
| 8112 | ><I |
| 8113 | >nargs</I |
| 8114 | ></TT |
| 8115 | > :</TD |
| 8116 | ><TD |
| 8117 | WIDTH="80%" |
| 8118 | ALIGN="LEFT" |
| 8119 | VALIGN="TOP" |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 8120 | > the number of arguments</TD |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 8121 | ></TR |
| 8122 | ></TABLE |
| 8123 | ><P |
| 8124 | ></P |
| 8125 | ></DIV |
| 8126 | ></DIV |
| 8127 | ><HR><DIV |
| 8128 | CLASS="REFSECT2" |
| 8129 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 8130 | NAME="AEN13081" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 8131 | ></A |
| 8132 | ><H3 |
| 8133 | ><A |
| 8134 | NAME="XMLXPATHTRUEFUNCTION" |
| 8135 | ></A |
| 8136 | >xmlXPathTrueFunction ()</H3 |
| 8137 | ><TABLE |
| 8138 | BORDER="0" |
| 8139 | BGCOLOR="#D6E8FF" |
| 8140 | WIDTH="100%" |
| 8141 | CELLPADDING="6" |
| 8142 | ><TR |
| 8143 | ><TD |
| 8144 | ><PRE |
| 8145 | CLASS="PROGRAMLISTING" |
| 8146 | >void xmlXPathTrueFunction (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 8147 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 8148 | >xmlXPathParserContextPtr</A |
| 8149 | > ctxt, |
| 8150 | int nargs);</PRE |
| 8151 | ></TD |
| 8152 | ></TR |
| 8153 | ></TABLE |
| 8154 | ><P |
| 8155 | >Implement the <GTKDOCLINK |
| 8156 | HREF="TRUE" |
| 8157 | >true</GTKDOCLINK |
| 8158 | >() XPath function |
| 8159 | boolean <GTKDOCLINK |
| 8160 | HREF="TRUE" |
| 8161 | >true</GTKDOCLINK |
| 8162 | >()</P |
| 8163 | ><P |
| 8164 | ></P |
| 8165 | ><DIV |
| 8166 | CLASS="INFORMALTABLE" |
| 8167 | ><P |
| 8168 | ></P |
| 8169 | ><TABLE |
| 8170 | BORDER="0" |
| 8171 | WIDTH="100%" |
| 8172 | BGCOLOR="#FFD0D0" |
| 8173 | CELLSPACING="0" |
| 8174 | CELLPADDING="4" |
| 8175 | CLASS="CALSTABLE" |
| 8176 | ><TR |
| 8177 | ><TD |
| 8178 | WIDTH="20%" |
| 8179 | ALIGN="RIGHT" |
| 8180 | VALIGN="TOP" |
| 8181 | ><TT |
| 8182 | CLASS="PARAMETER" |
| 8183 | ><I |
| 8184 | >ctxt</I |
| 8185 | ></TT |
| 8186 | > :</TD |
| 8187 | ><TD |
| 8188 | WIDTH="80%" |
| 8189 | ALIGN="LEFT" |
| 8190 | VALIGN="TOP" |
| 8191 | > the XPath Parser context</TD |
| 8192 | ></TR |
| 8193 | ><TR |
| 8194 | ><TD |
| 8195 | WIDTH="20%" |
| 8196 | ALIGN="RIGHT" |
| 8197 | VALIGN="TOP" |
| 8198 | ><TT |
| 8199 | CLASS="PARAMETER" |
| 8200 | ><I |
| 8201 | >nargs</I |
| 8202 | ></TT |
| 8203 | > :</TD |
| 8204 | ><TD |
| 8205 | WIDTH="80%" |
| 8206 | ALIGN="LEFT" |
| 8207 | VALIGN="TOP" |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 8208 | > the number of arguments</TD |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 8209 | ></TR |
| 8210 | ></TABLE |
| 8211 | ><P |
| 8212 | ></P |
| 8213 | ></DIV |
| 8214 | ></DIV |
| 8215 | ><HR><DIV |
| 8216 | CLASS="REFSECT2" |
| 8217 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 8218 | NAME="AEN13103" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 8219 | ></A |
| 8220 | ><H3 |
| 8221 | ><A |
| 8222 | NAME="XMLXPATHFALSEFUNCTION" |
| 8223 | ></A |
| 8224 | >xmlXPathFalseFunction ()</H3 |
| 8225 | ><TABLE |
| 8226 | BORDER="0" |
| 8227 | BGCOLOR="#D6E8FF" |
| 8228 | WIDTH="100%" |
| 8229 | CELLPADDING="6" |
| 8230 | ><TR |
| 8231 | ><TD |
| 8232 | ><PRE |
| 8233 | CLASS="PROGRAMLISTING" |
| 8234 | >void xmlXPathFalseFunction (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 8235 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 8236 | >xmlXPathParserContextPtr</A |
| 8237 | > ctxt, |
| 8238 | int nargs);</PRE |
| 8239 | ></TD |
| 8240 | ></TR |
| 8241 | ></TABLE |
| 8242 | ><P |
| 8243 | >Implement the <GTKDOCLINK |
| 8244 | HREF="FALSE" |
| 8245 | >false</GTKDOCLINK |
| 8246 | >() XPath function |
| 8247 | boolean <GTKDOCLINK |
| 8248 | HREF="FALSE" |
| 8249 | >false</GTKDOCLINK |
| 8250 | >()</P |
| 8251 | ><P |
| 8252 | ></P |
| 8253 | ><DIV |
| 8254 | CLASS="INFORMALTABLE" |
| 8255 | ><P |
| 8256 | ></P |
| 8257 | ><TABLE |
| 8258 | BORDER="0" |
| 8259 | WIDTH="100%" |
| 8260 | BGCOLOR="#FFD0D0" |
| 8261 | CELLSPACING="0" |
| 8262 | CELLPADDING="4" |
| 8263 | CLASS="CALSTABLE" |
| 8264 | ><TR |
| 8265 | ><TD |
| 8266 | WIDTH="20%" |
| 8267 | ALIGN="RIGHT" |
| 8268 | VALIGN="TOP" |
| 8269 | ><TT |
| 8270 | CLASS="PARAMETER" |
| 8271 | ><I |
| 8272 | >ctxt</I |
| 8273 | ></TT |
| 8274 | > :</TD |
| 8275 | ><TD |
| 8276 | WIDTH="80%" |
| 8277 | ALIGN="LEFT" |
| 8278 | VALIGN="TOP" |
| 8279 | > the XPath Parser context</TD |
| 8280 | ></TR |
| 8281 | ><TR |
| 8282 | ><TD |
| 8283 | WIDTH="20%" |
| 8284 | ALIGN="RIGHT" |
| 8285 | VALIGN="TOP" |
| 8286 | ><TT |
| 8287 | CLASS="PARAMETER" |
| 8288 | ><I |
| 8289 | >nargs</I |
| 8290 | ></TT |
| 8291 | > :</TD |
| 8292 | ><TD |
| 8293 | WIDTH="80%" |
| 8294 | ALIGN="LEFT" |
| 8295 | VALIGN="TOP" |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 8296 | > the number of arguments</TD |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 8297 | ></TR |
| 8298 | ></TABLE |
| 8299 | ><P |
| 8300 | ></P |
| 8301 | ></DIV |
| 8302 | ></DIV |
| 8303 | ><HR><DIV |
| 8304 | CLASS="REFSECT2" |
| 8305 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 8306 | NAME="AEN13125" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 8307 | ></A |
| 8308 | ><H3 |
| 8309 | ><A |
| 8310 | NAME="XMLXPATHLANGFUNCTION" |
| 8311 | ></A |
| 8312 | >xmlXPathLangFunction ()</H3 |
| 8313 | ><TABLE |
| 8314 | BORDER="0" |
| 8315 | BGCOLOR="#D6E8FF" |
| 8316 | WIDTH="100%" |
| 8317 | CELLPADDING="6" |
| 8318 | ><TR |
| 8319 | ><TD |
| 8320 | ><PRE |
| 8321 | CLASS="PROGRAMLISTING" |
| 8322 | >void xmlXPathLangFunction (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 8323 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 8324 | >xmlXPathParserContextPtr</A |
| 8325 | > ctxt, |
| 8326 | int nargs);</PRE |
| 8327 | ></TD |
| 8328 | ></TR |
| 8329 | ></TABLE |
| 8330 | ><P |
| 8331 | >Implement the <GTKDOCLINK |
| 8332 | HREF="LANG" |
| 8333 | >lang</GTKDOCLINK |
| 8334 | >() XPath function |
| 8335 | boolean lang(string) |
| 8336 | The lang function returns true or false depending on whether the |
| 8337 | language of the context node as specified by xml:lang attributes |
| 8338 | is the same as or is a sublanguage of the language specified by |
| 8339 | the argument string. The language of the context node is determined |
| 8340 | by the value of the xml:lang attribute on the context node, or, if |
| 8341 | the context node has no xml:lang attribute, by the value of the |
| 8342 | xml:lang attribute on the nearest ancestor of the context node that |
| 8343 | has an xml:lang attribute. If there is no such attribute, then lang</P |
| 8344 | ><P |
| 8345 | ></P |
| 8346 | ><DIV |
| 8347 | CLASS="INFORMALTABLE" |
| 8348 | ><P |
| 8349 | ></P |
| 8350 | ><TABLE |
| 8351 | BORDER="0" |
| 8352 | WIDTH="100%" |
| 8353 | BGCOLOR="#FFD0D0" |
| 8354 | CELLSPACING="0" |
| 8355 | CELLPADDING="4" |
| 8356 | CLASS="CALSTABLE" |
| 8357 | ><TR |
| 8358 | ><TD |
| 8359 | WIDTH="20%" |
| 8360 | ALIGN="RIGHT" |
| 8361 | VALIGN="TOP" |
| 8362 | ><TT |
| 8363 | CLASS="PARAMETER" |
| 8364 | ><I |
| 8365 | >ctxt</I |
| 8366 | ></TT |
| 8367 | > :</TD |
| 8368 | ><TD |
| 8369 | WIDTH="80%" |
| 8370 | ALIGN="LEFT" |
| 8371 | VALIGN="TOP" |
| 8372 | > the XPath Parser context</TD |
| 8373 | ></TR |
| 8374 | ><TR |
| 8375 | ><TD |
| 8376 | WIDTH="20%" |
| 8377 | ALIGN="RIGHT" |
| 8378 | VALIGN="TOP" |
| 8379 | ><TT |
| 8380 | CLASS="PARAMETER" |
| 8381 | ><I |
| 8382 | >nargs</I |
| 8383 | ></TT |
| 8384 | > :</TD |
| 8385 | ><TD |
| 8386 | WIDTH="80%" |
| 8387 | ALIGN="LEFT" |
| 8388 | VALIGN="TOP" |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 8389 | > the number of arguments</TD |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 8390 | ></TR |
| 8391 | ></TABLE |
| 8392 | ><P |
| 8393 | ></P |
| 8394 | ></DIV |
| 8395 | ></DIV |
| 8396 | ><HR><DIV |
| 8397 | CLASS="REFSECT2" |
| 8398 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 8399 | NAME="AEN13146" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 8400 | ></A |
| 8401 | ><H3 |
| 8402 | ><A |
| 8403 | NAME="XMLXPATHNUMBERFUNCTION" |
| 8404 | ></A |
| 8405 | >xmlXPathNumberFunction ()</H3 |
| 8406 | ><TABLE |
| 8407 | BORDER="0" |
| 8408 | BGCOLOR="#D6E8FF" |
| 8409 | WIDTH="100%" |
| 8410 | CELLPADDING="6" |
| 8411 | ><TR |
| 8412 | ><TD |
| 8413 | ><PRE |
| 8414 | CLASS="PROGRAMLISTING" |
| 8415 | >void xmlXPathNumberFunction (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 8416 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 8417 | >xmlXPathParserContextPtr</A |
| 8418 | > ctxt, |
| 8419 | int nargs);</PRE |
| 8420 | ></TD |
| 8421 | ></TR |
| 8422 | ></TABLE |
| 8423 | ><P |
| 8424 | >Implement the <GTKDOCLINK |
| 8425 | HREF="NUMBER" |
| 8426 | >number</GTKDOCLINK |
| 8427 | >() XPath function |
| 8428 | number number(object?)</P |
| 8429 | ><P |
| 8430 | ></P |
| 8431 | ><DIV |
| 8432 | CLASS="INFORMALTABLE" |
| 8433 | ><P |
| 8434 | ></P |
| 8435 | ><TABLE |
| 8436 | BORDER="0" |
| 8437 | WIDTH="100%" |
| 8438 | BGCOLOR="#FFD0D0" |
| 8439 | CELLSPACING="0" |
| 8440 | CELLPADDING="4" |
| 8441 | CLASS="CALSTABLE" |
| 8442 | ><TR |
| 8443 | ><TD |
| 8444 | WIDTH="20%" |
| 8445 | ALIGN="RIGHT" |
| 8446 | VALIGN="TOP" |
| 8447 | ><TT |
| 8448 | CLASS="PARAMETER" |
| 8449 | ><I |
| 8450 | >ctxt</I |
| 8451 | ></TT |
| 8452 | > :</TD |
| 8453 | ><TD |
| 8454 | WIDTH="80%" |
| 8455 | ALIGN="LEFT" |
| 8456 | VALIGN="TOP" |
| 8457 | > the XPath Parser context</TD |
| 8458 | ></TR |
| 8459 | ><TR |
| 8460 | ><TD |
| 8461 | WIDTH="20%" |
| 8462 | ALIGN="RIGHT" |
| 8463 | VALIGN="TOP" |
| 8464 | ><TT |
| 8465 | CLASS="PARAMETER" |
| 8466 | ><I |
| 8467 | >nargs</I |
| 8468 | ></TT |
| 8469 | > :</TD |
| 8470 | ><TD |
| 8471 | WIDTH="80%" |
| 8472 | ALIGN="LEFT" |
| 8473 | VALIGN="TOP" |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 8474 | > the number of arguments</TD |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 8475 | ></TR |
| 8476 | ></TABLE |
| 8477 | ><P |
| 8478 | ></P |
| 8479 | ></DIV |
| 8480 | ></DIV |
| 8481 | ><HR><DIV |
| 8482 | CLASS="REFSECT2" |
| 8483 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 8484 | NAME="AEN13167" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 8485 | ></A |
| 8486 | ><H3 |
| 8487 | ><A |
| 8488 | NAME="XMLXPATHSUMFUNCTION" |
| 8489 | ></A |
| 8490 | >xmlXPathSumFunction ()</H3 |
| 8491 | ><TABLE |
| 8492 | BORDER="0" |
| 8493 | BGCOLOR="#D6E8FF" |
| 8494 | WIDTH="100%" |
| 8495 | CELLPADDING="6" |
| 8496 | ><TR |
| 8497 | ><TD |
| 8498 | ><PRE |
| 8499 | CLASS="PROGRAMLISTING" |
| 8500 | >void xmlXPathSumFunction (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 8501 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 8502 | >xmlXPathParserContextPtr</A |
| 8503 | > ctxt, |
| 8504 | int nargs);</PRE |
| 8505 | ></TD |
| 8506 | ></TR |
| 8507 | ></TABLE |
| 8508 | ><P |
| 8509 | >Implement the <GTKDOCLINK |
| 8510 | HREF="SUM" |
| 8511 | >sum</GTKDOCLINK |
| 8512 | >() XPath function |
| 8513 | number sum(node-set) |
| 8514 | The sum function returns the sum of the values of the nodes in |
| 8515 | the argument node-set.</P |
| 8516 | ><P |
| 8517 | ></P |
| 8518 | ><DIV |
| 8519 | CLASS="INFORMALTABLE" |
| 8520 | ><P |
| 8521 | ></P |
| 8522 | ><TABLE |
| 8523 | BORDER="0" |
| 8524 | WIDTH="100%" |
| 8525 | BGCOLOR="#FFD0D0" |
| 8526 | CELLSPACING="0" |
| 8527 | CELLPADDING="4" |
| 8528 | CLASS="CALSTABLE" |
| 8529 | ><TR |
| 8530 | ><TD |
| 8531 | WIDTH="20%" |
| 8532 | ALIGN="RIGHT" |
| 8533 | VALIGN="TOP" |
| 8534 | ><TT |
| 8535 | CLASS="PARAMETER" |
| 8536 | ><I |
| 8537 | >ctxt</I |
| 8538 | ></TT |
| 8539 | > :</TD |
| 8540 | ><TD |
| 8541 | WIDTH="80%" |
| 8542 | ALIGN="LEFT" |
| 8543 | VALIGN="TOP" |
| 8544 | > the XPath Parser context</TD |
| 8545 | ></TR |
| 8546 | ><TR |
| 8547 | ><TD |
| 8548 | WIDTH="20%" |
| 8549 | ALIGN="RIGHT" |
| 8550 | VALIGN="TOP" |
| 8551 | ><TT |
| 8552 | CLASS="PARAMETER" |
| 8553 | ><I |
| 8554 | >nargs</I |
| 8555 | ></TT |
| 8556 | > :</TD |
| 8557 | ><TD |
| 8558 | WIDTH="80%" |
| 8559 | ALIGN="LEFT" |
| 8560 | VALIGN="TOP" |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 8561 | > the number of arguments</TD |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 8562 | ></TR |
| 8563 | ></TABLE |
| 8564 | ><P |
| 8565 | ></P |
| 8566 | ></DIV |
| 8567 | ></DIV |
| 8568 | ><HR><DIV |
| 8569 | CLASS="REFSECT2" |
| 8570 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 8571 | NAME="AEN13188" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 8572 | ></A |
| 8573 | ><H3 |
| 8574 | ><A |
| 8575 | NAME="XMLXPATHFLOORFUNCTION" |
| 8576 | ></A |
| 8577 | >xmlXPathFloorFunction ()</H3 |
| 8578 | ><TABLE |
| 8579 | BORDER="0" |
| 8580 | BGCOLOR="#D6E8FF" |
| 8581 | WIDTH="100%" |
| 8582 | CELLPADDING="6" |
| 8583 | ><TR |
| 8584 | ><TD |
| 8585 | ><PRE |
| 8586 | CLASS="PROGRAMLISTING" |
| 8587 | >void xmlXPathFloorFunction (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 8588 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 8589 | >xmlXPathParserContextPtr</A |
| 8590 | > ctxt, |
| 8591 | int nargs);</PRE |
| 8592 | ></TD |
| 8593 | ></TR |
| 8594 | ></TABLE |
| 8595 | ><P |
| 8596 | >Implement the <GTKDOCLINK |
| 8597 | HREF="FLOOR" |
| 8598 | >floor</GTKDOCLINK |
| 8599 | >() XPath function |
| 8600 | number floor(number) |
| 8601 | The floor function returns the largest (closest to positive infinity) |
| 8602 | number that is not greater than the argument and that is an integer.</P |
| 8603 | ><P |
| 8604 | ></P |
| 8605 | ><DIV |
| 8606 | CLASS="INFORMALTABLE" |
| 8607 | ><P |
| 8608 | ></P |
| 8609 | ><TABLE |
| 8610 | BORDER="0" |
| 8611 | WIDTH="100%" |
| 8612 | BGCOLOR="#FFD0D0" |
| 8613 | CELLSPACING="0" |
| 8614 | CELLPADDING="4" |
| 8615 | CLASS="CALSTABLE" |
| 8616 | ><TR |
| 8617 | ><TD |
| 8618 | WIDTH="20%" |
| 8619 | ALIGN="RIGHT" |
| 8620 | VALIGN="TOP" |
| 8621 | ><TT |
| 8622 | CLASS="PARAMETER" |
| 8623 | ><I |
| 8624 | >ctxt</I |
| 8625 | ></TT |
| 8626 | > :</TD |
| 8627 | ><TD |
| 8628 | WIDTH="80%" |
| 8629 | ALIGN="LEFT" |
| 8630 | VALIGN="TOP" |
| 8631 | > the XPath Parser context</TD |
| 8632 | ></TR |
| 8633 | ><TR |
| 8634 | ><TD |
| 8635 | WIDTH="20%" |
| 8636 | ALIGN="RIGHT" |
| 8637 | VALIGN="TOP" |
| 8638 | ><TT |
| 8639 | CLASS="PARAMETER" |
| 8640 | ><I |
| 8641 | >nargs</I |
| 8642 | ></TT |
| 8643 | > :</TD |
| 8644 | ><TD |
| 8645 | WIDTH="80%" |
| 8646 | ALIGN="LEFT" |
| 8647 | VALIGN="TOP" |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 8648 | > the number of arguments</TD |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 8649 | ></TR |
| 8650 | ></TABLE |
| 8651 | ><P |
| 8652 | ></P |
| 8653 | ></DIV |
| 8654 | ></DIV |
| 8655 | ><HR><DIV |
| 8656 | CLASS="REFSECT2" |
| 8657 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 8658 | NAME="AEN13209" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 8659 | ></A |
| 8660 | ><H3 |
| 8661 | ><A |
| 8662 | NAME="XMLXPATHCEILINGFUNCTION" |
| 8663 | ></A |
| 8664 | >xmlXPathCeilingFunction ()</H3 |
| 8665 | ><TABLE |
| 8666 | BORDER="0" |
| 8667 | BGCOLOR="#D6E8FF" |
| 8668 | WIDTH="100%" |
| 8669 | CELLPADDING="6" |
| 8670 | ><TR |
| 8671 | ><TD |
| 8672 | ><PRE |
| 8673 | CLASS="PROGRAMLISTING" |
| 8674 | >void xmlXPathCeilingFunction (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 8675 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 8676 | >xmlXPathParserContextPtr</A |
| 8677 | > ctxt, |
| 8678 | int nargs);</PRE |
| 8679 | ></TD |
| 8680 | ></TR |
| 8681 | ></TABLE |
| 8682 | ><P |
| 8683 | >Implement the <GTKDOCLINK |
| 8684 | HREF="CEILING" |
| 8685 | >ceiling</GTKDOCLINK |
| 8686 | >() XPath function |
| 8687 | number ceiling(number) |
| 8688 | The ceiling function returns the smallest (closest to negative infinity) |
| 8689 | number that is not less than the argument and that is an integer.</P |
| 8690 | ><P |
| 8691 | ></P |
| 8692 | ><DIV |
| 8693 | CLASS="INFORMALTABLE" |
| 8694 | ><P |
| 8695 | ></P |
| 8696 | ><TABLE |
| 8697 | BORDER="0" |
| 8698 | WIDTH="100%" |
| 8699 | BGCOLOR="#FFD0D0" |
| 8700 | CELLSPACING="0" |
| 8701 | CELLPADDING="4" |
| 8702 | CLASS="CALSTABLE" |
| 8703 | ><TR |
| 8704 | ><TD |
| 8705 | WIDTH="20%" |
| 8706 | ALIGN="RIGHT" |
| 8707 | VALIGN="TOP" |
| 8708 | ><TT |
| 8709 | CLASS="PARAMETER" |
| 8710 | ><I |
| 8711 | >ctxt</I |
| 8712 | ></TT |
| 8713 | > :</TD |
| 8714 | ><TD |
| 8715 | WIDTH="80%" |
| 8716 | ALIGN="LEFT" |
| 8717 | VALIGN="TOP" |
| 8718 | > the XPath Parser context</TD |
| 8719 | ></TR |
| 8720 | ><TR |
| 8721 | ><TD |
| 8722 | WIDTH="20%" |
| 8723 | ALIGN="RIGHT" |
| 8724 | VALIGN="TOP" |
| 8725 | ><TT |
| 8726 | CLASS="PARAMETER" |
| 8727 | ><I |
| 8728 | >nargs</I |
| 8729 | ></TT |
| 8730 | > :</TD |
| 8731 | ><TD |
| 8732 | WIDTH="80%" |
| 8733 | ALIGN="LEFT" |
| 8734 | VALIGN="TOP" |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 8735 | > the number of arguments</TD |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 8736 | ></TR |
| 8737 | ></TABLE |
| 8738 | ><P |
| 8739 | ></P |
| 8740 | ></DIV |
| 8741 | ></DIV |
| 8742 | ><HR><DIV |
| 8743 | CLASS="REFSECT2" |
| 8744 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 8745 | NAME="AEN13230" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 8746 | ></A |
| 8747 | ><H3 |
| 8748 | ><A |
| 8749 | NAME="XMLXPATHROUNDFUNCTION" |
| 8750 | ></A |
| 8751 | >xmlXPathRoundFunction ()</H3 |
| 8752 | ><TABLE |
| 8753 | BORDER="0" |
| 8754 | BGCOLOR="#D6E8FF" |
| 8755 | WIDTH="100%" |
| 8756 | CELLPADDING="6" |
| 8757 | ><TR |
| 8758 | ><TD |
| 8759 | ><PRE |
| 8760 | CLASS="PROGRAMLISTING" |
| 8761 | >void xmlXPathRoundFunction (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 8762 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 8763 | >xmlXPathParserContextPtr</A |
| 8764 | > ctxt, |
| 8765 | int nargs);</PRE |
| 8766 | ></TD |
| 8767 | ></TR |
| 8768 | ></TABLE |
| 8769 | ><P |
| 8770 | >Implement the <GTKDOCLINK |
| 8771 | HREF="ROUND" |
| 8772 | >round</GTKDOCLINK |
| 8773 | >() XPath function |
| 8774 | number round(number) |
| 8775 | The round function returns the number that is closest to the |
| 8776 | argument and that is an integer. If there are two such numbers, |
| 8777 | then the one that is even is returned.</P |
| 8778 | ><P |
| 8779 | ></P |
| 8780 | ><DIV |
| 8781 | CLASS="INFORMALTABLE" |
| 8782 | ><P |
| 8783 | ></P |
| 8784 | ><TABLE |
| 8785 | BORDER="0" |
| 8786 | WIDTH="100%" |
| 8787 | BGCOLOR="#FFD0D0" |
| 8788 | CELLSPACING="0" |
| 8789 | CELLPADDING="4" |
| 8790 | CLASS="CALSTABLE" |
| 8791 | ><TR |
| 8792 | ><TD |
| 8793 | WIDTH="20%" |
| 8794 | ALIGN="RIGHT" |
| 8795 | VALIGN="TOP" |
| 8796 | ><TT |
| 8797 | CLASS="PARAMETER" |
| 8798 | ><I |
| 8799 | >ctxt</I |
| 8800 | ></TT |
| 8801 | > :</TD |
| 8802 | ><TD |
| 8803 | WIDTH="80%" |
| 8804 | ALIGN="LEFT" |
| 8805 | VALIGN="TOP" |
| 8806 | > the XPath Parser context</TD |
| 8807 | ></TR |
| 8808 | ><TR |
| 8809 | ><TD |
| 8810 | WIDTH="20%" |
| 8811 | ALIGN="RIGHT" |
| 8812 | VALIGN="TOP" |
| 8813 | ><TT |
| 8814 | CLASS="PARAMETER" |
| 8815 | ><I |
| 8816 | >nargs</I |
| 8817 | ></TT |
| 8818 | > :</TD |
| 8819 | ><TD |
| 8820 | WIDTH="80%" |
| 8821 | ALIGN="LEFT" |
| 8822 | VALIGN="TOP" |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 8823 | > the number of arguments</TD |
| 8824 | ></TR |
| 8825 | ></TABLE |
| 8826 | ><P |
| 8827 | ></P |
| 8828 | ></DIV |
| 8829 | ></DIV |
| 8830 | ><HR><DIV |
| 8831 | CLASS="REFSECT2" |
| 8832 | ><A |
Daniel Veillard | e356c28 | 2001-03-10 12:32:04 +0000 | [diff] [blame^] | 8833 | NAME="AEN13251" |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 8834 | ></A |
| 8835 | ><H3 |
| 8836 | ><A |
| 8837 | NAME="XMLXPATHBOOLEANFUNCTION" |
| 8838 | ></A |
| 8839 | >xmlXPathBooleanFunction ()</H3 |
| 8840 | ><TABLE |
| 8841 | BORDER="0" |
| 8842 | BGCOLOR="#D6E8FF" |
| 8843 | WIDTH="100%" |
| 8844 | CELLPADDING="6" |
| 8845 | ><TR |
| 8846 | ><TD |
| 8847 | ><PRE |
| 8848 | CLASS="PROGRAMLISTING" |
| 8849 | >void xmlXPathBooleanFunction (<A |
| 8850 | HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 8851 | >xmlXPathParserContextPtr</A |
| 8852 | > ctxt, |
| 8853 | int nargs);</PRE |
| 8854 | ></TD |
| 8855 | ></TR |
| 8856 | ></TABLE |
| 8857 | ><P |
| 8858 | >Implement the <GTKDOCLINK |
| 8859 | HREF="BOOLEAN" |
| 8860 | >boolean</GTKDOCLINK |
| 8861 | >() XPath function |
| 8862 | boolean boolean(object) |
| 8863 | he boolean function converts its argument to a boolean as follows: |
| 8864 | - a number is true if and only if it is neither positive or |
| 8865 | negative zero nor NaN |
| 8866 | - a node-set is true if and only if it is non-empty |
| 8867 | - a string is true if and only if its length is non-zero</P |
| 8868 | ><P |
| 8869 | ></P |
| 8870 | ><DIV |
| 8871 | CLASS="INFORMALTABLE" |
| 8872 | ><P |
| 8873 | ></P |
| 8874 | ><TABLE |
| 8875 | BORDER="0" |
| 8876 | WIDTH="100%" |
| 8877 | BGCOLOR="#FFD0D0" |
| 8878 | CELLSPACING="0" |
| 8879 | CELLPADDING="4" |
| 8880 | CLASS="CALSTABLE" |
| 8881 | ><TR |
| 8882 | ><TD |
| 8883 | WIDTH="20%" |
| 8884 | ALIGN="RIGHT" |
| 8885 | VALIGN="TOP" |
| 8886 | ><TT |
| 8887 | CLASS="PARAMETER" |
| 8888 | ><I |
| 8889 | >ctxt</I |
| 8890 | ></TT |
| 8891 | > :</TD |
| 8892 | ><TD |
| 8893 | WIDTH="80%" |
| 8894 | ALIGN="LEFT" |
| 8895 | VALIGN="TOP" |
| 8896 | > the XPath Parser context</TD |
| 8897 | ></TR |
| 8898 | ><TR |
| 8899 | ><TD |
| 8900 | WIDTH="20%" |
| 8901 | ALIGN="RIGHT" |
| 8902 | VALIGN="TOP" |
| 8903 | ><TT |
| 8904 | CLASS="PARAMETER" |
| 8905 | ><I |
| 8906 | >nargs</I |
| 8907 | ></TT |
| 8908 | > :</TD |
| 8909 | ><TD |
| 8910 | WIDTH="80%" |
| 8911 | ALIGN="LEFT" |
| 8912 | VALIGN="TOP" |
| 8913 | > the number of arguments</TD |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 8914 | ></TR |
| 8915 | ></TABLE |
| 8916 | ><P |
| 8917 | ></P |
| 8918 | ></DIV |
| 8919 | ></DIV |
| 8920 | ></DIV |
| 8921 | ><DIV |
| 8922 | CLASS="NAVFOOTER" |
| 8923 | ><BR |
| 8924 | CLEAR="all"><BR><TABLE |
| 8925 | WIDTH="100%" |
| 8926 | BORDER="0" |
| 8927 | BGCOLOR="#000000" |
| 8928 | CELLPADDING="1" |
| 8929 | CELLSPACING="0" |
| 8930 | ><TR |
| 8931 | ><TD |
| 8932 | WIDTH="25%" |
| 8933 | BGCOLOR="#C00000" |
| 8934 | ALIGN="left" |
| 8935 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 8936 | HREF="libxml-xpath.html" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 8937 | ><FONT |
| 8938 | COLOR="#FFFFFF" |
| 8939 | SIZE="3" |
| 8940 | ><B |
| 8941 | ><<< Previous Page</B |
| 8942 | ></FONT |
| 8943 | ></A |
| 8944 | ></TD |
| 8945 | ><TD |
| 8946 | WIDTH="25%" |
| 8947 | BGCOLOR="#0000C0" |
| 8948 | ALIGN="center" |
| 8949 | ><FONT |
| 8950 | COLOR="#FFFFFF" |
| 8951 | SIZE="3" |
| 8952 | ><B |
| 8953 | ><A |
| 8954 | HREF="book1.html" |
| 8955 | ><FONT |
| 8956 | COLOR="#FFFFFF" |
| 8957 | SIZE="3" |
| 8958 | ><B |
| 8959 | >Home</B |
| 8960 | ></FONT |
| 8961 | ></A |
| 8962 | ></B |
| 8963 | ></FONT |
| 8964 | ></TD |
| 8965 | ><TD |
| 8966 | WIDTH="25%" |
| 8967 | BGCOLOR="#00C000" |
| 8968 | ALIGN="center" |
| 8969 | ><FONT |
| 8970 | COLOR="#FFFFFF" |
| 8971 | SIZE="3" |
| 8972 | ><B |
| 8973 | ><A |
| 8974 | HREF="libxml-lib.html" |
| 8975 | ><FONT |
| 8976 | COLOR="#FFFFFF" |
| 8977 | SIZE="3" |
| 8978 | ><B |
| 8979 | >Up</B |
| 8980 | ></FONT |
| 8981 | ></A |
| 8982 | ></B |
| 8983 | ></FONT |
| 8984 | ></TD |
| 8985 | ><TD |
| 8986 | WIDTH="25%" |
| 8987 | BGCOLOR="#C00000" |
| 8988 | ALIGN="right" |
| 8989 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 8990 | HREF="libxml-xpointer.html" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 8991 | ><FONT |
| 8992 | COLOR="#FFFFFF" |
| 8993 | SIZE="3" |
| 8994 | ><B |
| 8995 | >Next Page >>></B |
| 8996 | ></FONT |
| 8997 | ></A |
| 8998 | ></TD |
| 8999 | ></TR |
| 9000 | ><TR |
| 9001 | ><TD |
| 9002 | COLSPAN="2" |
| 9003 | ALIGN="left" |
| 9004 | ><FONT |
| 9005 | COLOR="#FFFFFF" |
| 9006 | SIZE="3" |
| 9007 | ><B |
| 9008 | >xpath</B |
| 9009 | ></FONT |
| 9010 | ></TD |
| 9011 | ><TD |
| 9012 | COLSPAN="2" |
| 9013 | ALIGN="right" |
| 9014 | ><FONT |
| 9015 | COLOR="#FFFFFF" |
| 9016 | SIZE="3" |
| 9017 | ><B |
| 9018 | >xpointer</B |
| 9019 | ></FONT |
| 9020 | ></TD |
| 9021 | ></TR |
| 9022 | ></TABLE |
| 9023 | ></DIV |
| 9024 | ></BODY |
| 9025 | ></HTML |
| 9026 | > |