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" |
| 7 | CONTENT="Modular DocBook HTML Stylesheet Version 1.33"><LINK |
| 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" |
| 16 | HREF="gnome-xml-xpath.html"><LINK |
| 17 | REL="NEXT" |
| 18 | TITLE="xpointer" |
| 19 | HREF="gnome-xml-xpointer.html"></HEAD |
| 20 | ><BODY |
| 21 | BGCOLOR="#FFFFFF" |
| 22 | TEXT="#000000" |
| 23 | ><DIV |
| 24 | CLASS="NAVHEADER" |
| 25 | ><TABLE |
| 26 | WIDTH="100%" |
| 27 | BORDER="0" |
| 28 | BGCOLOR="#000000" |
| 29 | CELLPADDING="1" |
| 30 | CELLSPACING="0" |
| 31 | ><TR |
| 32 | ><TH |
| 33 | COLSPAN="4" |
| 34 | ALIGN="center" |
| 35 | ><FONT |
| 36 | COLOR="#FFFFFF" |
| 37 | SIZE="5" |
| 38 | >Gnome XML Library Reference Manual</FONT |
| 39 | ></TH |
| 40 | ></TR |
| 41 | ><TR |
| 42 | ><TD |
| 43 | WIDTH="25%" |
| 44 | BGCOLOR="#C00000" |
| 45 | ALIGN="left" |
| 46 | ><A |
| 47 | HREF="gnome-xml-xpath.html" |
| 48 | ><FONT |
| 49 | COLOR="#FFFFFF" |
| 50 | SIZE="3" |
| 51 | ><B |
| 52 | ><<< Previous Page</B |
| 53 | ></FONT |
| 54 | ></A |
| 55 | ></TD |
| 56 | ><TD |
| 57 | WIDTH="25%" |
| 58 | BGCOLOR="#0000C0" |
| 59 | ALIGN="center" |
| 60 | ><FONT |
| 61 | COLOR="#FFFFFF" |
| 62 | SIZE="3" |
| 63 | ><B |
| 64 | ><A |
| 65 | HREF="book1.html" |
| 66 | ><FONT |
| 67 | COLOR="#FFFFFF" |
| 68 | SIZE="3" |
| 69 | ><B |
| 70 | >Home</B |
| 71 | ></FONT |
| 72 | ></A |
| 73 | ></B |
| 74 | ></FONT |
| 75 | ></TD |
| 76 | ><TD |
| 77 | WIDTH="25%" |
| 78 | BGCOLOR="#00C000" |
| 79 | ALIGN="center" |
| 80 | ><FONT |
| 81 | COLOR="#FFFFFF" |
| 82 | SIZE="3" |
| 83 | ><B |
| 84 | ><A |
| 85 | HREF="libxml-lib.html" |
| 86 | ><FONT |
| 87 | COLOR="#FFFFFF" |
| 88 | SIZE="3" |
| 89 | ><B |
| 90 | >Up</B |
| 91 | ></FONT |
| 92 | ></A |
| 93 | ></B |
| 94 | ></FONT |
| 95 | ></TD |
| 96 | ><TD |
| 97 | WIDTH="25%" |
| 98 | BGCOLOR="#C00000" |
| 99 | ALIGN="right" |
| 100 | ><A |
| 101 | HREF="gnome-xml-xpointer.html" |
| 102 | ><FONT |
| 103 | COLOR="#FFFFFF" |
| 104 | SIZE="3" |
| 105 | ><B |
| 106 | >Next Page >>></B |
| 107 | ></FONT |
| 108 | ></A |
| 109 | ></TD |
| 110 | ></TR |
| 111 | ></TABLE |
| 112 | ></DIV |
| 113 | ><H1 |
| 114 | >xpathInternals</H1 |
| 115 | ><DIV |
| 116 | CLASS="REFNAMEDIV" |
| 117 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 118 | NAME="AEN11054" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 119 | ></A |
| 120 | ><H2 |
| 121 | >Name</H2 |
| 122 | >xpathInternals — </DIV |
| 123 | ><DIV |
| 124 | CLASS="REFSYNOPSISDIV" |
| 125 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 126 | NAME="AEN11057" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 127 | ></A |
| 128 | ><H2 |
| 129 | >Synopsis</H2 |
| 130 | ><TABLE |
| 131 | BORDER="0" |
| 132 | BGCOLOR="#D6E8FF" |
| 133 | WIDTH="100%" |
| 134 | CELLPADDING="6" |
| 135 | ><TR |
| 136 | ><TD |
| 137 | ><PRE |
| 138 | CLASS="SYNOPSIS" |
| 139 | > |
| 140 | |
| 141 | #define <A |
| 142 | HREF="gnome-xml-xpathinternals.html#CHECK-ERROR" |
| 143 | >CHECK_ERROR</A |
| 144 | > |
| 145 | #define <A |
| 146 | HREF="gnome-xml-xpathinternals.html#CHECK-ERROR0" |
| 147 | >CHECK_ERROR0</A |
| 148 | > |
| 149 | #define <A |
| 150 | HREF="gnome-xml-xpathinternals.html#XP-ERROR" |
| 151 | >XP_ERROR</A |
| 152 | > (X) |
| 153 | #define <A |
| 154 | HREF="gnome-xml-xpathinternals.html#XP-ERROR0" |
| 155 | >XP_ERROR0</A |
| 156 | > (X) |
| 157 | #define <A |
| 158 | HREF="gnome-xml-xpathinternals.html#CHECK-TYPE" |
| 159 | >CHECK_TYPE</A |
| 160 | > (typeval) |
| 161 | #define <A |
| 162 | HREF="gnome-xml-xpathinternals.html#CHECK-ARITY" |
| 163 | >CHECK_ARITY</A |
| 164 | > (x) |
| 165 | #define <A |
| 166 | HREF="gnome-xml-xpathinternals.html#CAST-TO-STRING" |
| 167 | >CAST_TO_STRING</A |
| 168 | > |
| 169 | #define <A |
| 170 | HREF="gnome-xml-xpathinternals.html#CAST-TO-NUMBER" |
| 171 | >CAST_TO_NUMBER</A |
| 172 | > |
| 173 | #define <A |
| 174 | HREF="gnome-xml-xpathinternals.html#CAST-TO-BOOLEAN" |
| 175 | >CAST_TO_BOOLEAN</A |
| 176 | > |
| 177 | void <A |
| 178 | HREF="gnome-xml-xpath.html#XMLXPATHERROR" |
| 179 | >xmlXPatherror</A |
| 180 | > (<A |
| 181 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 182 | >xmlXPathParserContextPtr</A |
| 183 | > ctxt, |
| 184 | const char *file, |
| 185 | int line, |
| 186 | int no); |
| 187 | void <A |
| 188 | HREF="gnome-xml-xpathinternals.html#XMLXPATHDEBUGDUMPOBJECT" |
| 189 | >xmlXPathDebugDumpObject</A |
| 190 | > (<GTKDOCLINK |
| 191 | HREF="FILE" |
| 192 | >FILE</GTKDOCLINK |
| 193 | > *output, |
| 194 | <A |
| 195 | HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" |
| 196 | >xmlXPathObjectPtr</A |
| 197 | > cur, |
| 198 | int depth); |
| 199 | int <A |
| 200 | HREF="gnome-xml-xpathinternals.html#XMLXPATHREGISTERFUNC" |
| 201 | >xmlXPathRegisterFunc</A |
| 202 | > (<A |
| 203 | HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR" |
| 204 | >xmlXPathContextPtr</A |
| 205 | > ctxt, |
| 206 | const <A |
| 207 | HREF="gnome-xml-tree.html#XMLCHAR" |
| 208 | >xmlChar</A |
| 209 | > *name, |
| 210 | <A |
| 211 | HREF="gnome-xml-xpath.html#XMLXPATHFUNCTION" |
| 212 | >xmlXPathFunction</A |
| 213 | > f); |
| 214 | int <A |
| 215 | HREF="gnome-xml-xpathinternals.html#XMLXPATHREGISTERFUNCNS" |
| 216 | >xmlXPathRegisterFuncNS</A |
| 217 | > (<A |
| 218 | HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR" |
| 219 | >xmlXPathContextPtr</A |
| 220 | > ctxt, |
| 221 | const <A |
| 222 | HREF="gnome-xml-tree.html#XMLCHAR" |
| 223 | >xmlChar</A |
| 224 | > *name, |
| 225 | const <A |
| 226 | HREF="gnome-xml-tree.html#XMLCHAR" |
| 227 | >xmlChar</A |
| 228 | > *ns_uri, |
| 229 | <A |
| 230 | HREF="gnome-xml-xpath.html#XMLXPATHFUNCTION" |
| 231 | >xmlXPathFunction</A |
| 232 | > f); |
| 233 | int <A |
| 234 | HREF="gnome-xml-xpathinternals.html#XMLXPATHREGISTERVARIABLE" |
| 235 | >xmlXPathRegisterVariable</A |
| 236 | > (<A |
| 237 | HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR" |
| 238 | >xmlXPathContextPtr</A |
| 239 | > ctxt, |
| 240 | const <A |
| 241 | HREF="gnome-xml-tree.html#XMLCHAR" |
| 242 | >xmlChar</A |
| 243 | > *name, |
| 244 | <A |
| 245 | HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" |
| 246 | >xmlXPathObjectPtr</A |
| 247 | > value); |
| 248 | int <A |
| 249 | HREF="gnome-xml-xpathinternals.html#XMLXPATHREGISTERVARIABLENS" |
| 250 | >xmlXPathRegisterVariableNS</A |
| 251 | > (<A |
| 252 | HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR" |
| 253 | >xmlXPathContextPtr</A |
| 254 | > ctxt, |
| 255 | const <A |
| 256 | HREF="gnome-xml-tree.html#XMLCHAR" |
| 257 | >xmlChar</A |
| 258 | > *name, |
| 259 | const <A |
| 260 | HREF="gnome-xml-tree.html#XMLCHAR" |
| 261 | >xmlChar</A |
| 262 | > *ns_uri, |
| 263 | <A |
| 264 | HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" |
| 265 | >xmlXPathObjectPtr</A |
| 266 | > value); |
| 267 | <A |
| 268 | HREF="gnome-xml-xpath.html#XMLXPATHFUNCTION" |
| 269 | >xmlXPathFunction</A |
| 270 | > <A |
| 271 | HREF="gnome-xml-xpathinternals.html#XMLXPATHFUNCTIONLOOKUP" |
| 272 | >xmlXPathFunctionLookup</A |
| 273 | > (<A |
| 274 | HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR" |
| 275 | >xmlXPathContextPtr</A |
| 276 | > ctxt, |
| 277 | const <A |
| 278 | HREF="gnome-xml-tree.html#XMLCHAR" |
| 279 | >xmlChar</A |
| 280 | > *name); |
| 281 | <A |
| 282 | HREF="gnome-xml-xpath.html#XMLXPATHFUNCTION" |
| 283 | >xmlXPathFunction</A |
| 284 | > <A |
| 285 | HREF="gnome-xml-xpathinternals.html#XMLXPATHFUNCTIONLOOKUPNS" |
| 286 | >xmlXPathFunctionLookupNS</A |
| 287 | > (<A |
| 288 | HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR" |
| 289 | >xmlXPathContextPtr</A |
| 290 | > ctxt, |
| 291 | const <A |
| 292 | HREF="gnome-xml-tree.html#XMLCHAR" |
| 293 | >xmlChar</A |
| 294 | > *name, |
| 295 | const <A |
| 296 | HREF="gnome-xml-tree.html#XMLCHAR" |
| 297 | >xmlChar</A |
| 298 | > *ns_uri); |
| 299 | void <A |
| 300 | HREF="gnome-xml-xpathinternals.html#XMLXPATHREGISTEREDFUNCSCLEANUP" |
| 301 | >xmlXPathRegisteredFuncsCleanup</A |
| 302 | > (<A |
| 303 | HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR" |
| 304 | >xmlXPathContextPtr</A |
| 305 | > ctxt); |
| 306 | <A |
| 307 | HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" |
| 308 | >xmlXPathObjectPtr</A |
| 309 | > <A |
| 310 | HREF="gnome-xml-xpathinternals.html#XMLXPATHVARIABLELOOKUP" |
| 311 | >xmlXPathVariableLookup</A |
| 312 | > (<A |
| 313 | HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR" |
| 314 | >xmlXPathContextPtr</A |
| 315 | > ctxt, |
| 316 | const <A |
| 317 | HREF="gnome-xml-tree.html#XMLCHAR" |
| 318 | >xmlChar</A |
| 319 | > *name); |
| 320 | <A |
| 321 | HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" |
| 322 | >xmlXPathObjectPtr</A |
| 323 | > <A |
| 324 | HREF="gnome-xml-xpathinternals.html#XMLXPATHVARIABLELOOKUPNS" |
| 325 | >xmlXPathVariableLookupNS</A |
| 326 | > (<A |
| 327 | HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR" |
| 328 | >xmlXPathContextPtr</A |
| 329 | > ctxt, |
| 330 | const <A |
| 331 | HREF="gnome-xml-tree.html#XMLCHAR" |
| 332 | >xmlChar</A |
| 333 | > *name, |
| 334 | const <A |
| 335 | HREF="gnome-xml-tree.html#XMLCHAR" |
| 336 | >xmlChar</A |
| 337 | > *ns_uri); |
| 338 | void <A |
| 339 | HREF="gnome-xml-xpathinternals.html#XMLXPATHREGISTEREDVARIABLESCLEANUP" |
| 340 | >xmlXPathRegisteredVariablesCleanup</A |
| 341 | > |
| 342 | (<A |
| 343 | HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR" |
| 344 | >xmlXPathContextPtr</A |
| 345 | > ctxt); |
| 346 | <A |
| 347 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 348 | >xmlXPathParserContextPtr</A |
| 349 | > <A |
| 350 | HREF="gnome-xml-xpathinternals.html#XMLXPATHNEWPARSERCONTEXT" |
| 351 | >xmlXPathNewParserContext</A |
| 352 | > |
| 353 | (const <A |
| 354 | HREF="gnome-xml-tree.html#XMLCHAR" |
| 355 | >xmlChar</A |
| 356 | > *str, |
| 357 | <A |
| 358 | HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR" |
| 359 | >xmlXPathContextPtr</A |
| 360 | > ctxt); |
| 361 | void <A |
| 362 | HREF="gnome-xml-xpathinternals.html#XMLXPATHFREEPARSERCONTEXT" |
| 363 | >xmlXPathFreeParserContext</A |
| 364 | > (<A |
| 365 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 366 | >xmlXPathParserContextPtr</A |
| 367 | > ctxt); |
| 368 | <A |
| 369 | HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" |
| 370 | >xmlXPathObjectPtr</A |
| 371 | > <A |
| 372 | HREF="gnome-xml-xpathinternals.html#VALUEPOP" |
| 373 | >valuePop</A |
| 374 | > (<A |
| 375 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 376 | >xmlXPathParserContextPtr</A |
| 377 | > ctxt); |
| 378 | int <A |
| 379 | HREF="gnome-xml-xpathinternals.html#VALUEPUSH" |
| 380 | >valuePush</A |
| 381 | > (<A |
| 382 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 383 | >xmlXPathParserContextPtr</A |
| 384 | > ctxt, |
| 385 | <A |
| 386 | HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" |
| 387 | >xmlXPathObjectPtr</A |
| 388 | > value); |
| 389 | <A |
| 390 | HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" |
| 391 | >xmlXPathObjectPtr</A |
| 392 | > <A |
| 393 | HREF="gnome-xml-xpathinternals.html#XMLXPATHNEWSTRING" |
| 394 | >xmlXPathNewString</A |
| 395 | > (const <A |
| 396 | HREF="gnome-xml-tree.html#XMLCHAR" |
| 397 | >xmlChar</A |
| 398 | > *val); |
| 399 | <A |
| 400 | HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" |
| 401 | >xmlXPathObjectPtr</A |
| 402 | > <A |
| 403 | HREF="gnome-xml-xpathinternals.html#XMLXPATHNEWCSTRING" |
| 404 | >xmlXPathNewCString</A |
| 405 | > (const char *val); |
| 406 | <A |
| 407 | HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" |
| 408 | >xmlXPathObjectPtr</A |
| 409 | > <A |
| 410 | HREF="gnome-xml-xpathinternals.html#XMLXPATHNEWFLOAT" |
| 411 | >xmlXPathNewFloat</A |
| 412 | > (<GTKDOCLINK |
| 413 | HREF="DOUBLE" |
| 414 | >double</GTKDOCLINK |
| 415 | > val); |
| 416 | <A |
| 417 | HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" |
| 418 | >xmlXPathObjectPtr</A |
| 419 | > <A |
| 420 | HREF="gnome-xml-xpathinternals.html#XMLXPATHNEWBOOLEAN" |
| 421 | >xmlXPathNewBoolean</A |
| 422 | > (int val); |
| 423 | <A |
| 424 | HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" |
| 425 | >xmlXPathObjectPtr</A |
| 426 | > <A |
| 427 | HREF="gnome-xml-xpathinternals.html#XMLXPATHNEWNODESET" |
| 428 | >xmlXPathNewNodeSet</A |
| 429 | > (<A |
| 430 | HREF="gnome-xml-tree.html#XMLNODEPTR" |
| 431 | >xmlNodePtr</A |
| 432 | > val); |
| 433 | void <A |
| 434 | HREF="gnome-xml-xpathinternals.html#XMLXPATHNODESETADD" |
| 435 | >xmlXPathNodeSetAdd</A |
| 436 | > (<A |
| 437 | HREF="gnome-xml-xpath.html#XMLNODESETPTR" |
| 438 | >xmlNodeSetPtr</A |
| 439 | > cur, |
| 440 | <A |
| 441 | HREF="gnome-xml-tree.html#XMLNODEPTR" |
| 442 | >xmlNodePtr</A |
| 443 | > val); |
| 444 | void <A |
| 445 | HREF="gnome-xml-xpathinternals.html#XMLXPATHIDFUNCTION" |
| 446 | >xmlXPathIdFunction</A |
| 447 | > (<A |
| 448 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 449 | >xmlXPathParserContextPtr</A |
| 450 | > ctxt, |
| 451 | int nargs); |
| 452 | void <A |
| 453 | HREF="gnome-xml-xpathinternals.html#XMLXPATHROOT" |
| 454 | >xmlXPathRoot</A |
| 455 | > (<A |
| 456 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 457 | >xmlXPathParserContextPtr</A |
| 458 | > ctxt); |
| 459 | void <A |
| 460 | HREF="gnome-xml-xpathinternals.html#XMLXPATHEVALEXPR" |
| 461 | >xmlXPathEvalExpr</A |
| 462 | > (<A |
| 463 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 464 | >xmlXPathParserContextPtr</A |
| 465 | > ctxt); |
| 466 | <A |
| 467 | HREF="gnome-xml-tree.html#XMLCHAR" |
| 468 | >xmlChar</A |
| 469 | >* <A |
| 470 | HREF="gnome-xml-xpathinternals.html#XMLXPATHPARSENAME" |
| 471 | >xmlXPathParseName</A |
| 472 | > (<A |
| 473 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 474 | >xmlXPathParserContextPtr</A |
| 475 | > ctxt); |
| 476 | <GTKDOCLINK |
| 477 | HREF="DOUBLE" |
| 478 | >double</GTKDOCLINK |
| 479 | > <A |
| 480 | HREF="gnome-xml-xpathinternals.html#XMLXPATHSTRINGEVALNUMBER" |
| 481 | >xmlXPathStringEvalNumber</A |
| 482 | > (const <A |
| 483 | HREF="gnome-xml-tree.html#XMLCHAR" |
| 484 | >xmlChar</A |
| 485 | > *str); |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 486 | int <A |
| 487 | HREF="gnome-xml-xpathinternals.html#XMLXPATHEVALUATEPREDICATERESULT" |
| 488 | >xmlXPathEvaluatePredicateResult</A |
| 489 | > (<A |
| 490 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 491 | >xmlXPathParserContextPtr</A |
| 492 | > ctxt, |
| 493 | <A |
| 494 | HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" |
| 495 | >xmlXPathObjectPtr</A |
| 496 | > res); |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 497 | void <A |
| 498 | HREF="gnome-xml-xpath.html#XMLXPATHINIT" |
| 499 | >xmlXPathInit</A |
| 500 | > (void); |
| 501 | void <A |
| 502 | HREF="gnome-xml-xpathinternals.html#XMLXPATHSTRINGFUNCTION" |
| 503 | >xmlXPathStringFunction</A |
| 504 | > (<A |
| 505 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 506 | >xmlXPathParserContextPtr</A |
| 507 | > ctxt, |
| 508 | int nargs); |
| 509 | void <A |
| 510 | HREF="gnome-xml-xpathinternals.html#XMLXPATHREGISTERALLFUNCTIONS" |
| 511 | >xmlXPathRegisterAllFunctions</A |
| 512 | > (<A |
| 513 | HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR" |
| 514 | >xmlXPathContextPtr</A |
| 515 | > ctxt); |
| 516 | <A |
| 517 | HREF="gnome-xml-xpath.html#XMLNODESETPTR" |
| 518 | >xmlNodeSetPtr</A |
| 519 | > <A |
| 520 | HREF="gnome-xml-xpath.html#XMLXPATHNODESETCREATE" |
| 521 | >xmlXPathNodeSetCreate</A |
| 522 | > (<A |
| 523 | HREF="gnome-xml-tree.html#XMLNODEPTR" |
| 524 | >xmlNodePtr</A |
| 525 | > val); |
| 526 | <A |
| 527 | HREF="gnome-xml-xpath.html#XMLNODESETPTR" |
| 528 | >xmlNodeSetPtr</A |
| 529 | > <A |
| 530 | HREF="gnome-xml-xpathinternals.html#XMLXPATHNODESETMERGE" |
| 531 | >xmlXPathNodeSetMerge</A |
| 532 | > (<A |
| 533 | HREF="gnome-xml-xpath.html#XMLNODESETPTR" |
| 534 | >xmlNodeSetPtr</A |
| 535 | > val1, |
| 536 | <A |
| 537 | HREF="gnome-xml-xpath.html#XMLNODESETPTR" |
| 538 | >xmlNodeSetPtr</A |
| 539 | > val2); |
| 540 | void <A |
| 541 | HREF="gnome-xml-xpathinternals.html#XMLXPATHNODESETDEL" |
| 542 | >xmlXPathNodeSetDel</A |
| 543 | > (<A |
| 544 | HREF="gnome-xml-xpath.html#XMLNODESETPTR" |
| 545 | >xmlNodeSetPtr</A |
| 546 | > cur, |
| 547 | <A |
| 548 | HREF="gnome-xml-tree.html#XMLNODEPTR" |
| 549 | >xmlNodePtr</A |
| 550 | > val); |
| 551 | void <A |
| 552 | HREF="gnome-xml-xpathinternals.html#XMLXPATHNODESETREMOVE" |
| 553 | >xmlXPathNodeSetRemove</A |
| 554 | > (<A |
| 555 | HREF="gnome-xml-xpath.html#XMLNODESETPTR" |
| 556 | >xmlNodeSetPtr</A |
| 557 | > cur, |
| 558 | int val); |
| 559 | void <A |
| 560 | HREF="gnome-xml-xpath.html#XMLXPATHFREENODESET" |
| 561 | >xmlXPathFreeNodeSet</A |
| 562 | > (<A |
| 563 | HREF="gnome-xml-xpath.html#XMLNODESETPTR" |
| 564 | >xmlNodeSetPtr</A |
| 565 | > obj); |
| 566 | <A |
| 567 | HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" |
| 568 | >xmlXPathObjectPtr</A |
| 569 | > <A |
| 570 | HREF="gnome-xml-xpathinternals.html#XMLXPATHNEWNODESETLIST" |
| 571 | >xmlXPathNewNodeSetList</A |
| 572 | > (<A |
| 573 | HREF="gnome-xml-xpath.html#XMLNODESETPTR" |
| 574 | >xmlNodeSetPtr</A |
| 575 | > val); |
| 576 | <A |
| 577 | HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" |
| 578 | >xmlXPathObjectPtr</A |
| 579 | > <A |
| 580 | HREF="gnome-xml-xpathinternals.html#XMLXPATHWRAPNODESET" |
| 581 | >xmlXPathWrapNodeSet</A |
| 582 | > (<A |
| 583 | HREF="gnome-xml-xpath.html#XMLNODESETPTR" |
| 584 | >xmlNodeSetPtr</A |
| 585 | > val); |
| 586 | void <A |
| 587 | HREF="gnome-xml-xpath.html#XMLXPATHFREENODESETLIST" |
| 588 | >xmlXPathFreeNodeSetList</A |
| 589 | > (<A |
| 590 | HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" |
| 591 | >xmlXPathObjectPtr</A |
| 592 | > obj); |
| 593 | void <A |
| 594 | HREF="gnome-xml-xpath.html#XMLXPATHFREEOBJECT" |
| 595 | >xmlXPathFreeObject</A |
| 596 | > (<A |
| 597 | HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" |
| 598 | >xmlXPathObjectPtr</A |
| 599 | > obj); |
| 600 | <A |
| 601 | HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR" |
| 602 | >xmlXPathContextPtr</A |
| 603 | > <A |
| 604 | HREF="gnome-xml-xpath.html#XMLXPATHNEWCONTEXT" |
| 605 | >xmlXPathNewContext</A |
| 606 | > (<A |
| 607 | HREF="gnome-xml-tree.html#XMLDOCPTR" |
| 608 | >xmlDocPtr</A |
| 609 | > doc); |
| 610 | void <A |
| 611 | HREF="gnome-xml-xpath.html#XMLXPATHFREECONTEXT" |
| 612 | >xmlXPathFreeContext</A |
| 613 | > (<A |
| 614 | HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR" |
| 615 | >xmlXPathContextPtr</A |
| 616 | > ctxt); |
| 617 | int <A |
| 618 | HREF="gnome-xml-xpathinternals.html#XMLXPATHEQUALVALUES" |
| 619 | >xmlXPathEqualValues</A |
| 620 | > (<A |
| 621 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 622 | >xmlXPathParserContextPtr</A |
| 623 | > ctxt); |
| 624 | int <A |
| 625 | HREF="gnome-xml-xpathinternals.html#XMLXPATHCOMPAREVALUES" |
| 626 | >xmlXPathCompareValues</A |
| 627 | > (<A |
| 628 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 629 | >xmlXPathParserContextPtr</A |
| 630 | > ctxt, |
| 631 | int inf, |
| 632 | int strict); |
| 633 | void <A |
| 634 | HREF="gnome-xml-xpathinternals.html#XMLXPATHVALUEFLIPSIGN" |
| 635 | >xmlXPathValueFlipSign</A |
| 636 | > (<A |
| 637 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 638 | >xmlXPathParserContextPtr</A |
| 639 | > ctxt); |
| 640 | void <A |
| 641 | HREF="gnome-xml-xpathinternals.html#XMLXPATHADDVALUES" |
| 642 | >xmlXPathAddValues</A |
| 643 | > (<A |
| 644 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 645 | >xmlXPathParserContextPtr</A |
| 646 | > ctxt); |
| 647 | void <A |
| 648 | HREF="gnome-xml-xpathinternals.html#XMLXPATHSUBVALUES" |
| 649 | >xmlXPathSubValues</A |
| 650 | > (<A |
| 651 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 652 | >xmlXPathParserContextPtr</A |
| 653 | > ctxt); |
| 654 | void <A |
| 655 | HREF="gnome-xml-xpathinternals.html#XMLXPATHMULTVALUES" |
| 656 | >xmlXPathMultValues</A |
| 657 | > (<A |
| 658 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 659 | >xmlXPathParserContextPtr</A |
| 660 | > ctxt); |
| 661 | void <A |
| 662 | HREF="gnome-xml-xpathinternals.html#XMLXPATHDIVVALUES" |
| 663 | >xmlXPathDivValues</A |
| 664 | > (<A |
| 665 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 666 | >xmlXPathParserContextPtr</A |
| 667 | > ctxt); |
| 668 | void <A |
| 669 | HREF="gnome-xml-xpathinternals.html#XMLXPATHMODVALUES" |
| 670 | >xmlXPathModValues</A |
| 671 | > (<A |
| 672 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 673 | >xmlXPathParserContextPtr</A |
| 674 | > ctxt); |
| 675 | void <A |
| 676 | HREF="gnome-xml-xpathinternals.html#XMLXPATHLASTFUNCTION" |
| 677 | >xmlXPathLastFunction</A |
| 678 | > (<A |
| 679 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 680 | >xmlXPathParserContextPtr</A |
| 681 | > ctxt, |
| 682 | int nargs); |
| 683 | void <A |
| 684 | HREF="gnome-xml-xpathinternals.html#XMLXPATHPOSITIONFUNCTION" |
| 685 | >xmlXPathPositionFunction</A |
| 686 | > (<A |
| 687 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 688 | >xmlXPathParserContextPtr</A |
| 689 | > ctxt, |
| 690 | int nargs); |
| 691 | void <A |
| 692 | HREF="gnome-xml-xpathinternals.html#XMLXPATHCOUNTFUNCTION" |
| 693 | >xmlXPathCountFunction</A |
| 694 | > (<A |
| 695 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 696 | >xmlXPathParserContextPtr</A |
| 697 | > ctxt, |
| 698 | int nargs); |
| 699 | void <A |
| 700 | HREF="gnome-xml-xpathinternals.html#XMLXPATHLOCALNAMEFUNCTION" |
| 701 | >xmlXPathLocalNameFunction</A |
| 702 | > (<A |
| 703 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 704 | >xmlXPathParserContextPtr</A |
| 705 | > ctxt, |
| 706 | int nargs); |
| 707 | void <A |
| 708 | HREF="gnome-xml-xpathinternals.html#XMLXPATHNAMESPACEURIFUNCTION" |
| 709 | >xmlXPathNamespaceURIFunction</A |
| 710 | > (<A |
| 711 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 712 | >xmlXPathParserContextPtr</A |
| 713 | > ctxt, |
| 714 | int nargs); |
| 715 | void <A |
| 716 | HREF="gnome-xml-xpathinternals.html#XMLXPATHSTRINGLENGTHFUNCTION" |
| 717 | >xmlXPathStringLengthFunction</A |
| 718 | > (<A |
| 719 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 720 | >xmlXPathParserContextPtr</A |
| 721 | > ctxt, |
| 722 | int nargs); |
| 723 | void <A |
| 724 | HREF="gnome-xml-xpathinternals.html#XMLXPATHCONCATFUNCTION" |
| 725 | >xmlXPathConcatFunction</A |
| 726 | > (<A |
| 727 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 728 | >xmlXPathParserContextPtr</A |
| 729 | > ctxt, |
| 730 | int nargs); |
| 731 | void <A |
| 732 | HREF="gnome-xml-xpathinternals.html#XMLXPATHCONTAINSFUNCTION" |
| 733 | >xmlXPathContainsFunction</A |
| 734 | > (<A |
| 735 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 736 | >xmlXPathParserContextPtr</A |
| 737 | > ctxt, |
| 738 | int nargs); |
| 739 | void <A |
| 740 | HREF="gnome-xml-xpathinternals.html#XMLXPATHSTARTSWITHFUNCTION" |
| 741 | >xmlXPathStartsWithFunction</A |
| 742 | > (<A |
| 743 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 744 | >xmlXPathParserContextPtr</A |
| 745 | > ctxt, |
| 746 | int nargs); |
| 747 | void <A |
| 748 | HREF="gnome-xml-xpathinternals.html#XMLXPATHSUBSTRINGFUNCTION" |
| 749 | >xmlXPathSubstringFunction</A |
| 750 | > (<A |
| 751 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 752 | >xmlXPathParserContextPtr</A |
| 753 | > ctxt, |
| 754 | int nargs); |
| 755 | void <A |
| 756 | HREF="gnome-xml-xpathinternals.html#XMLXPATHSUBSTRINGBEFOREFUNCTION" |
| 757 | >xmlXPathSubstringBeforeFunction</A |
| 758 | > (<A |
| 759 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 760 | >xmlXPathParserContextPtr</A |
| 761 | > ctxt, |
| 762 | int nargs); |
| 763 | void <A |
| 764 | HREF="gnome-xml-xpathinternals.html#XMLXPATHSUBSTRINGAFTERFUNCTION" |
| 765 | >xmlXPathSubstringAfterFunction</A |
| 766 | > (<A |
| 767 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 768 | >xmlXPathParserContextPtr</A |
| 769 | > ctxt, |
| 770 | int nargs); |
| 771 | void <A |
| 772 | HREF="gnome-xml-xpathinternals.html#XMLXPATHNORMALIZEFUNCTION" |
| 773 | >xmlXPathNormalizeFunction</A |
| 774 | > (<A |
| 775 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 776 | >xmlXPathParserContextPtr</A |
| 777 | > ctxt, |
| 778 | int nargs); |
| 779 | void <A |
| 780 | HREF="gnome-xml-xpathinternals.html#XMLXPATHTRANSLATEFUNCTION" |
| 781 | >xmlXPathTranslateFunction</A |
| 782 | > (<A |
| 783 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 784 | >xmlXPathParserContextPtr</A |
| 785 | > ctxt, |
| 786 | int nargs); |
| 787 | void <A |
| 788 | HREF="gnome-xml-xpathinternals.html#XMLXPATHNOTFUNCTION" |
| 789 | >xmlXPathNotFunction</A |
| 790 | > (<A |
| 791 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 792 | >xmlXPathParserContextPtr</A |
| 793 | > ctxt, |
| 794 | int nargs); |
| 795 | void <A |
| 796 | HREF="gnome-xml-xpathinternals.html#XMLXPATHTRUEFUNCTION" |
| 797 | >xmlXPathTrueFunction</A |
| 798 | > (<A |
| 799 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 800 | >xmlXPathParserContextPtr</A |
| 801 | > ctxt, |
| 802 | int nargs); |
| 803 | void <A |
| 804 | HREF="gnome-xml-xpathinternals.html#XMLXPATHFALSEFUNCTION" |
| 805 | >xmlXPathFalseFunction</A |
| 806 | > (<A |
| 807 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 808 | >xmlXPathParserContextPtr</A |
| 809 | > ctxt, |
| 810 | int nargs); |
| 811 | void <A |
| 812 | HREF="gnome-xml-xpathinternals.html#XMLXPATHLANGFUNCTION" |
| 813 | >xmlXPathLangFunction</A |
| 814 | > (<A |
| 815 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 816 | >xmlXPathParserContextPtr</A |
| 817 | > ctxt, |
| 818 | int nargs); |
| 819 | void <A |
| 820 | HREF="gnome-xml-xpathinternals.html#XMLXPATHNUMBERFUNCTION" |
| 821 | >xmlXPathNumberFunction</A |
| 822 | > (<A |
| 823 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 824 | >xmlXPathParserContextPtr</A |
| 825 | > ctxt, |
| 826 | int nargs); |
| 827 | void <A |
| 828 | HREF="gnome-xml-xpathinternals.html#XMLXPATHSUMFUNCTION" |
| 829 | >xmlXPathSumFunction</A |
| 830 | > (<A |
| 831 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 832 | >xmlXPathParserContextPtr</A |
| 833 | > ctxt, |
| 834 | int nargs); |
| 835 | void <A |
| 836 | HREF="gnome-xml-xpathinternals.html#XMLXPATHFLOORFUNCTION" |
| 837 | >xmlXPathFloorFunction</A |
| 838 | > (<A |
| 839 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 840 | >xmlXPathParserContextPtr</A |
| 841 | > ctxt, |
| 842 | int nargs); |
| 843 | void <A |
| 844 | HREF="gnome-xml-xpathinternals.html#XMLXPATHCEILINGFUNCTION" |
| 845 | >xmlXPathCeilingFunction</A |
| 846 | > (<A |
| 847 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 848 | >xmlXPathParserContextPtr</A |
| 849 | > ctxt, |
| 850 | int nargs); |
| 851 | void <A |
| 852 | HREF="gnome-xml-xpathinternals.html#XMLXPATHROUNDFUNCTION" |
| 853 | >xmlXPathRoundFunction</A |
| 854 | > (<A |
| 855 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 856 | >xmlXPathParserContextPtr</A |
| 857 | > ctxt, |
| 858 | int nargs);</PRE |
| 859 | ></TD |
| 860 | ></TR |
| 861 | ></TABLE |
| 862 | ></DIV |
| 863 | ><DIV |
| 864 | CLASS="REFSECT1" |
| 865 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 866 | NAME="AEN11253" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 867 | ></A |
| 868 | ><H2 |
| 869 | >Description</H2 |
| 870 | ><P |
| 871 | ></P |
| 872 | ></DIV |
| 873 | ><DIV |
| 874 | CLASS="REFSECT1" |
| 875 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 876 | NAME="AEN11256" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 877 | ></A |
| 878 | ><H2 |
| 879 | >Details</H2 |
| 880 | ><DIV |
| 881 | CLASS="REFSECT2" |
| 882 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 883 | NAME="AEN11258" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 884 | ></A |
| 885 | ><H3 |
| 886 | ><A |
| 887 | NAME="CHECK-ERROR" |
| 888 | ></A |
| 889 | >CHECK_ERROR</H3 |
| 890 | ><TABLE |
| 891 | BORDER="0" |
| 892 | BGCOLOR="#D6E8FF" |
| 893 | WIDTH="100%" |
| 894 | CELLPADDING="6" |
| 895 | ><TR |
| 896 | ><TD |
| 897 | ><PRE |
| 898 | CLASS="PROGRAMLISTING" |
| 899 | >#define CHECK_ERROR</PRE |
| 900 | ></TD |
| 901 | ></TR |
| 902 | ></TABLE |
| 903 | ><P |
| 904 | ></P |
| 905 | ></DIV |
| 906 | ><HR><DIV |
| 907 | CLASS="REFSECT2" |
| 908 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 909 | NAME="AEN11263" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 910 | ></A |
| 911 | ><H3 |
| 912 | ><A |
| 913 | NAME="CHECK-ERROR0" |
| 914 | ></A |
| 915 | >CHECK_ERROR0</H3 |
| 916 | ><TABLE |
| 917 | BORDER="0" |
| 918 | BGCOLOR="#D6E8FF" |
| 919 | WIDTH="100%" |
| 920 | CELLPADDING="6" |
| 921 | ><TR |
| 922 | ><TD |
| 923 | ><PRE |
| 924 | CLASS="PROGRAMLISTING" |
| 925 | >#define CHECK_ERROR0</PRE |
| 926 | ></TD |
| 927 | ></TR |
| 928 | ></TABLE |
| 929 | ><P |
| 930 | ></P |
| 931 | ></DIV |
| 932 | ><HR><DIV |
| 933 | CLASS="REFSECT2" |
| 934 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 935 | NAME="AEN11268" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 936 | ></A |
| 937 | ><H3 |
| 938 | ><A |
| 939 | NAME="XP-ERROR" |
| 940 | ></A |
| 941 | >XP_ERROR()</H3 |
| 942 | ><TABLE |
| 943 | BORDER="0" |
| 944 | BGCOLOR="#D6E8FF" |
| 945 | WIDTH="100%" |
| 946 | CELLPADDING="6" |
| 947 | ><TR |
| 948 | ><TD |
| 949 | ><PRE |
| 950 | CLASS="PROGRAMLISTING" |
| 951 | >#define XP_ERROR(X)</PRE |
| 952 | ></TD |
| 953 | ></TR |
| 954 | ></TABLE |
| 955 | ><P |
| 956 | ></P |
| 957 | ><DIV |
| 958 | CLASS="INFORMALTABLE" |
| 959 | ><P |
| 960 | ></P |
| 961 | ><TABLE |
| 962 | BORDER="0" |
| 963 | WIDTH="100%" |
| 964 | BGCOLOR="#FFD0D0" |
| 965 | CELLSPACING="0" |
| 966 | CELLPADDING="4" |
| 967 | CLASS="CALSTABLE" |
| 968 | ><TR |
| 969 | ><TD |
| 970 | WIDTH="20%" |
| 971 | ALIGN="RIGHT" |
| 972 | VALIGN="TOP" |
| 973 | ><TT |
| 974 | CLASS="PARAMETER" |
| 975 | ><I |
| 976 | >X</I |
| 977 | ></TT |
| 978 | > :</TD |
| 979 | ><TD |
| 980 | WIDTH="80%" |
| 981 | ALIGN="LEFT" |
| 982 | VALIGN="TOP" |
| 983 | > </TD |
| 984 | ></TR |
| 985 | ></TABLE |
| 986 | ><P |
| 987 | ></P |
| 988 | ></DIV |
| 989 | ></DIV |
| 990 | ><HR><DIV |
| 991 | CLASS="REFSECT2" |
| 992 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 993 | NAME="AEN11282" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 994 | ></A |
| 995 | ><H3 |
| 996 | ><A |
| 997 | NAME="XP-ERROR0" |
| 998 | ></A |
| 999 | >XP_ERROR0()</H3 |
| 1000 | ><TABLE |
| 1001 | BORDER="0" |
| 1002 | BGCOLOR="#D6E8FF" |
| 1003 | WIDTH="100%" |
| 1004 | CELLPADDING="6" |
| 1005 | ><TR |
| 1006 | ><TD |
| 1007 | ><PRE |
| 1008 | CLASS="PROGRAMLISTING" |
| 1009 | >#define XP_ERROR0(X)</PRE |
| 1010 | ></TD |
| 1011 | ></TR |
| 1012 | ></TABLE |
| 1013 | ><P |
| 1014 | ></P |
| 1015 | ><DIV |
| 1016 | CLASS="INFORMALTABLE" |
| 1017 | ><P |
| 1018 | ></P |
| 1019 | ><TABLE |
| 1020 | BORDER="0" |
| 1021 | WIDTH="100%" |
| 1022 | BGCOLOR="#FFD0D0" |
| 1023 | CELLSPACING="0" |
| 1024 | CELLPADDING="4" |
| 1025 | CLASS="CALSTABLE" |
| 1026 | ><TR |
| 1027 | ><TD |
| 1028 | WIDTH="20%" |
| 1029 | ALIGN="RIGHT" |
| 1030 | VALIGN="TOP" |
| 1031 | ><TT |
| 1032 | CLASS="PARAMETER" |
| 1033 | ><I |
| 1034 | >X</I |
| 1035 | ></TT |
| 1036 | > :</TD |
| 1037 | ><TD |
| 1038 | WIDTH="80%" |
| 1039 | ALIGN="LEFT" |
| 1040 | VALIGN="TOP" |
| 1041 | > </TD |
| 1042 | ></TR |
| 1043 | ></TABLE |
| 1044 | ><P |
| 1045 | ></P |
| 1046 | ></DIV |
| 1047 | ></DIV |
| 1048 | ><HR><DIV |
| 1049 | CLASS="REFSECT2" |
| 1050 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 1051 | NAME="AEN11296" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 1052 | ></A |
| 1053 | ><H3 |
| 1054 | ><A |
| 1055 | NAME="CHECK-TYPE" |
| 1056 | ></A |
| 1057 | >CHECK_TYPE()</H3 |
| 1058 | ><TABLE |
| 1059 | BORDER="0" |
| 1060 | BGCOLOR="#D6E8FF" |
| 1061 | WIDTH="100%" |
| 1062 | CELLPADDING="6" |
| 1063 | ><TR |
| 1064 | ><TD |
| 1065 | ><PRE |
| 1066 | CLASS="PROGRAMLISTING" |
| 1067 | >#define CHECK_TYPE(typeval)</PRE |
| 1068 | ></TD |
| 1069 | ></TR |
| 1070 | ></TABLE |
| 1071 | ><P |
| 1072 | ></P |
| 1073 | ><DIV |
| 1074 | CLASS="INFORMALTABLE" |
| 1075 | ><P |
| 1076 | ></P |
| 1077 | ><TABLE |
| 1078 | BORDER="0" |
| 1079 | WIDTH="100%" |
| 1080 | BGCOLOR="#FFD0D0" |
| 1081 | CELLSPACING="0" |
| 1082 | CELLPADDING="4" |
| 1083 | CLASS="CALSTABLE" |
| 1084 | ><TR |
| 1085 | ><TD |
| 1086 | WIDTH="20%" |
| 1087 | ALIGN="RIGHT" |
| 1088 | VALIGN="TOP" |
| 1089 | ><TT |
| 1090 | CLASS="PARAMETER" |
| 1091 | ><I |
| 1092 | >typeval</I |
| 1093 | ></TT |
| 1094 | > :</TD |
| 1095 | ><TD |
| 1096 | WIDTH="80%" |
| 1097 | ALIGN="LEFT" |
| 1098 | VALIGN="TOP" |
| 1099 | > </TD |
| 1100 | ></TR |
| 1101 | ></TABLE |
| 1102 | ><P |
| 1103 | ></P |
| 1104 | ></DIV |
| 1105 | ></DIV |
| 1106 | ><HR><DIV |
| 1107 | CLASS="REFSECT2" |
| 1108 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 1109 | NAME="AEN11310" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 1110 | ></A |
| 1111 | ><H3 |
| 1112 | ><A |
| 1113 | NAME="CHECK-ARITY" |
| 1114 | ></A |
| 1115 | >CHECK_ARITY()</H3 |
| 1116 | ><TABLE |
| 1117 | BORDER="0" |
| 1118 | BGCOLOR="#D6E8FF" |
| 1119 | WIDTH="100%" |
| 1120 | CELLPADDING="6" |
| 1121 | ><TR |
| 1122 | ><TD |
| 1123 | ><PRE |
| 1124 | CLASS="PROGRAMLISTING" |
| 1125 | >#define CHECK_ARITY(x)</PRE |
| 1126 | ></TD |
| 1127 | ></TR |
| 1128 | ></TABLE |
| 1129 | ><P |
| 1130 | ></P |
| 1131 | ><DIV |
| 1132 | CLASS="INFORMALTABLE" |
| 1133 | ><P |
| 1134 | ></P |
| 1135 | ><TABLE |
| 1136 | BORDER="0" |
| 1137 | WIDTH="100%" |
| 1138 | BGCOLOR="#FFD0D0" |
| 1139 | CELLSPACING="0" |
| 1140 | CELLPADDING="4" |
| 1141 | CLASS="CALSTABLE" |
| 1142 | ><TR |
| 1143 | ><TD |
| 1144 | WIDTH="20%" |
| 1145 | ALIGN="RIGHT" |
| 1146 | VALIGN="TOP" |
| 1147 | ><TT |
| 1148 | CLASS="PARAMETER" |
| 1149 | ><I |
| 1150 | >x</I |
| 1151 | ></TT |
| 1152 | > :</TD |
| 1153 | ><TD |
| 1154 | WIDTH="80%" |
| 1155 | ALIGN="LEFT" |
| 1156 | VALIGN="TOP" |
| 1157 | > </TD |
| 1158 | ></TR |
| 1159 | ></TABLE |
| 1160 | ><P |
| 1161 | ></P |
| 1162 | ></DIV |
| 1163 | ></DIV |
| 1164 | ><HR><DIV |
| 1165 | CLASS="REFSECT2" |
| 1166 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 1167 | NAME="AEN11324" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 1168 | ></A |
| 1169 | ><H3 |
| 1170 | ><A |
| 1171 | NAME="CAST-TO-STRING" |
| 1172 | ></A |
| 1173 | >CAST_TO_STRING</H3 |
| 1174 | ><TABLE |
| 1175 | BORDER="0" |
| 1176 | BGCOLOR="#D6E8FF" |
| 1177 | WIDTH="100%" |
| 1178 | CELLPADDING="6" |
| 1179 | ><TR |
| 1180 | ><TD |
| 1181 | ><PRE |
| 1182 | CLASS="PROGRAMLISTING" |
| 1183 | >#define CAST_TO_STRING</PRE |
| 1184 | ></TD |
| 1185 | ></TR |
| 1186 | ></TABLE |
| 1187 | ><P |
| 1188 | ></P |
| 1189 | ></DIV |
| 1190 | ><HR><DIV |
| 1191 | CLASS="REFSECT2" |
| 1192 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 1193 | NAME="AEN11329" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 1194 | ></A |
| 1195 | ><H3 |
| 1196 | ><A |
| 1197 | NAME="CAST-TO-NUMBER" |
| 1198 | ></A |
| 1199 | >CAST_TO_NUMBER</H3 |
| 1200 | ><TABLE |
| 1201 | BORDER="0" |
| 1202 | BGCOLOR="#D6E8FF" |
| 1203 | WIDTH="100%" |
| 1204 | CELLPADDING="6" |
| 1205 | ><TR |
| 1206 | ><TD |
| 1207 | ><PRE |
| 1208 | CLASS="PROGRAMLISTING" |
| 1209 | >#define CAST_TO_NUMBER</PRE |
| 1210 | ></TD |
| 1211 | ></TR |
| 1212 | ></TABLE |
| 1213 | ><P |
| 1214 | ></P |
| 1215 | ></DIV |
| 1216 | ><HR><DIV |
| 1217 | CLASS="REFSECT2" |
| 1218 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 1219 | NAME="AEN11334" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 1220 | ></A |
| 1221 | ><H3 |
| 1222 | ><A |
| 1223 | NAME="CAST-TO-BOOLEAN" |
| 1224 | ></A |
| 1225 | >CAST_TO_BOOLEAN</H3 |
| 1226 | ><TABLE |
| 1227 | BORDER="0" |
| 1228 | BGCOLOR="#D6E8FF" |
| 1229 | WIDTH="100%" |
| 1230 | CELLPADDING="6" |
| 1231 | ><TR |
| 1232 | ><TD |
| 1233 | ><PRE |
| 1234 | CLASS="PROGRAMLISTING" |
| 1235 | >#define CAST_TO_BOOLEAN</PRE |
| 1236 | ></TD |
| 1237 | ></TR |
| 1238 | ></TABLE |
| 1239 | ><P |
| 1240 | ></P |
| 1241 | ></DIV |
| 1242 | ><HR><DIV |
| 1243 | CLASS="REFSECT2" |
| 1244 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 1245 | NAME="AEN11339" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 1246 | ></A |
| 1247 | ><H3 |
| 1248 | ><A |
| 1249 | NAME="XMLXPATHERROR" |
| 1250 | ></A |
| 1251 | >xmlXPatherror ()</H3 |
| 1252 | ><TABLE |
| 1253 | BORDER="0" |
| 1254 | BGCOLOR="#D6E8FF" |
| 1255 | WIDTH="100%" |
| 1256 | CELLPADDING="6" |
| 1257 | ><TR |
| 1258 | ><TD |
| 1259 | ><PRE |
| 1260 | CLASS="PROGRAMLISTING" |
| 1261 | >void xmlXPatherror (<A |
| 1262 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 1263 | >xmlXPathParserContextPtr</A |
| 1264 | > ctxt, |
| 1265 | const char *file, |
| 1266 | int line, |
| 1267 | int no);</PRE |
| 1268 | ></TD |
| 1269 | ></TR |
| 1270 | ></TABLE |
| 1271 | ><P |
| 1272 | ></P |
| 1273 | ><DIV |
| 1274 | CLASS="INFORMALTABLE" |
| 1275 | ><P |
| 1276 | ></P |
| 1277 | ><TABLE |
| 1278 | BORDER="0" |
| 1279 | WIDTH="100%" |
| 1280 | BGCOLOR="#FFD0D0" |
| 1281 | CELLSPACING="0" |
| 1282 | CELLPADDING="4" |
| 1283 | CLASS="CALSTABLE" |
| 1284 | ><TR |
| 1285 | ><TD |
| 1286 | WIDTH="20%" |
| 1287 | ALIGN="RIGHT" |
| 1288 | VALIGN="TOP" |
| 1289 | ><TT |
| 1290 | CLASS="PARAMETER" |
| 1291 | ><I |
| 1292 | >ctxt</I |
| 1293 | ></TT |
| 1294 | > :</TD |
| 1295 | ><TD |
| 1296 | WIDTH="80%" |
| 1297 | ALIGN="LEFT" |
| 1298 | VALIGN="TOP" |
| 1299 | > </TD |
| 1300 | ></TR |
| 1301 | ><TR |
| 1302 | ><TD |
| 1303 | WIDTH="20%" |
| 1304 | ALIGN="RIGHT" |
| 1305 | VALIGN="TOP" |
| 1306 | ><TT |
| 1307 | CLASS="PARAMETER" |
| 1308 | ><I |
| 1309 | >file</I |
| 1310 | ></TT |
| 1311 | > :</TD |
| 1312 | ><TD |
| 1313 | WIDTH="80%" |
| 1314 | ALIGN="LEFT" |
| 1315 | VALIGN="TOP" |
| 1316 | > </TD |
| 1317 | ></TR |
| 1318 | ><TR |
| 1319 | ><TD |
| 1320 | WIDTH="20%" |
| 1321 | ALIGN="RIGHT" |
| 1322 | VALIGN="TOP" |
| 1323 | ><TT |
| 1324 | CLASS="PARAMETER" |
| 1325 | ><I |
| 1326 | >line</I |
| 1327 | ></TT |
| 1328 | > :</TD |
| 1329 | ><TD |
| 1330 | WIDTH="80%" |
| 1331 | ALIGN="LEFT" |
| 1332 | VALIGN="TOP" |
| 1333 | > </TD |
| 1334 | ></TR |
| 1335 | ><TR |
| 1336 | ><TD |
| 1337 | WIDTH="20%" |
| 1338 | ALIGN="RIGHT" |
| 1339 | VALIGN="TOP" |
| 1340 | ><TT |
| 1341 | CLASS="PARAMETER" |
| 1342 | ><I |
| 1343 | >no</I |
| 1344 | ></TT |
| 1345 | > :</TD |
| 1346 | ><TD |
| 1347 | WIDTH="80%" |
| 1348 | ALIGN="LEFT" |
| 1349 | VALIGN="TOP" |
| 1350 | > </TD |
| 1351 | ></TR |
| 1352 | ></TABLE |
| 1353 | ><P |
| 1354 | ></P |
| 1355 | ></DIV |
| 1356 | ></DIV |
| 1357 | ><HR><DIV |
| 1358 | CLASS="REFSECT2" |
| 1359 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 1360 | NAME="AEN11366" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 1361 | ></A |
| 1362 | ><H3 |
| 1363 | ><A |
| 1364 | NAME="XMLXPATHDEBUGDUMPOBJECT" |
| 1365 | ></A |
| 1366 | >xmlXPathDebugDumpObject ()</H3 |
| 1367 | ><TABLE |
| 1368 | BORDER="0" |
| 1369 | BGCOLOR="#D6E8FF" |
| 1370 | WIDTH="100%" |
| 1371 | CELLPADDING="6" |
| 1372 | ><TR |
| 1373 | ><TD |
| 1374 | ><PRE |
| 1375 | CLASS="PROGRAMLISTING" |
| 1376 | >void xmlXPathDebugDumpObject (<GTKDOCLINK |
| 1377 | HREF="FILE" |
| 1378 | >FILE</GTKDOCLINK |
| 1379 | > *output, |
| 1380 | <A |
| 1381 | HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" |
| 1382 | >xmlXPathObjectPtr</A |
| 1383 | > cur, |
| 1384 | int depth);</PRE |
| 1385 | ></TD |
| 1386 | ></TR |
| 1387 | ></TABLE |
| 1388 | ><P |
| 1389 | ></P |
| 1390 | ><DIV |
| 1391 | CLASS="INFORMALTABLE" |
| 1392 | ><P |
| 1393 | ></P |
| 1394 | ><TABLE |
| 1395 | BORDER="0" |
| 1396 | WIDTH="100%" |
| 1397 | BGCOLOR="#FFD0D0" |
| 1398 | CELLSPACING="0" |
| 1399 | CELLPADDING="4" |
| 1400 | CLASS="CALSTABLE" |
| 1401 | ><TR |
| 1402 | ><TD |
| 1403 | WIDTH="20%" |
| 1404 | ALIGN="RIGHT" |
| 1405 | VALIGN="TOP" |
| 1406 | ><TT |
| 1407 | CLASS="PARAMETER" |
| 1408 | ><I |
| 1409 | >output</I |
| 1410 | ></TT |
| 1411 | > :</TD |
| 1412 | ><TD |
| 1413 | WIDTH="80%" |
| 1414 | ALIGN="LEFT" |
| 1415 | VALIGN="TOP" |
| 1416 | > </TD |
| 1417 | ></TR |
| 1418 | ><TR |
| 1419 | ><TD |
| 1420 | WIDTH="20%" |
| 1421 | ALIGN="RIGHT" |
| 1422 | VALIGN="TOP" |
| 1423 | ><TT |
| 1424 | CLASS="PARAMETER" |
| 1425 | ><I |
| 1426 | >cur</I |
| 1427 | ></TT |
| 1428 | > :</TD |
| 1429 | ><TD |
| 1430 | WIDTH="80%" |
| 1431 | ALIGN="LEFT" |
| 1432 | VALIGN="TOP" |
| 1433 | > </TD |
| 1434 | ></TR |
| 1435 | ><TR |
| 1436 | ><TD |
| 1437 | WIDTH="20%" |
| 1438 | ALIGN="RIGHT" |
| 1439 | VALIGN="TOP" |
| 1440 | ><TT |
| 1441 | CLASS="PARAMETER" |
| 1442 | ><I |
| 1443 | >depth</I |
| 1444 | ></TT |
| 1445 | > :</TD |
| 1446 | ><TD |
| 1447 | WIDTH="80%" |
| 1448 | ALIGN="LEFT" |
| 1449 | VALIGN="TOP" |
| 1450 | > </TD |
| 1451 | ></TR |
| 1452 | ></TABLE |
| 1453 | ><P |
| 1454 | ></P |
| 1455 | ></DIV |
| 1456 | ></DIV |
| 1457 | ><HR><DIV |
| 1458 | CLASS="REFSECT2" |
| 1459 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 1460 | NAME="AEN11390" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 1461 | ></A |
| 1462 | ><H3 |
| 1463 | ><A |
| 1464 | NAME="XMLXPATHREGISTERFUNC" |
| 1465 | ></A |
| 1466 | >xmlXPathRegisterFunc ()</H3 |
| 1467 | ><TABLE |
| 1468 | BORDER="0" |
| 1469 | BGCOLOR="#D6E8FF" |
| 1470 | WIDTH="100%" |
| 1471 | CELLPADDING="6" |
| 1472 | ><TR |
| 1473 | ><TD |
| 1474 | ><PRE |
| 1475 | CLASS="PROGRAMLISTING" |
| 1476 | >int xmlXPathRegisterFunc (<A |
| 1477 | HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR" |
| 1478 | >xmlXPathContextPtr</A |
| 1479 | > ctxt, |
| 1480 | const <A |
| 1481 | HREF="gnome-xml-tree.html#XMLCHAR" |
| 1482 | >xmlChar</A |
| 1483 | > *name, |
| 1484 | <A |
| 1485 | HREF="gnome-xml-xpath.html#XMLXPATHFUNCTION" |
| 1486 | >xmlXPathFunction</A |
| 1487 | > f);</PRE |
| 1488 | ></TD |
| 1489 | ></TR |
| 1490 | ></TABLE |
| 1491 | ><P |
| 1492 | >Register a new function. If <TT |
| 1493 | CLASS="PARAMETER" |
| 1494 | ><I |
| 1495 | >f</I |
| 1496 | ></TT |
| 1497 | > is NULL it unregisters the function</P |
| 1498 | ><P |
| 1499 | ></P |
| 1500 | ><DIV |
| 1501 | CLASS="INFORMALTABLE" |
| 1502 | ><P |
| 1503 | ></P |
| 1504 | ><TABLE |
| 1505 | BORDER="0" |
| 1506 | WIDTH="100%" |
| 1507 | BGCOLOR="#FFD0D0" |
| 1508 | CELLSPACING="0" |
| 1509 | CELLPADDING="4" |
| 1510 | CLASS="CALSTABLE" |
| 1511 | ><TR |
| 1512 | ><TD |
| 1513 | WIDTH="20%" |
| 1514 | ALIGN="RIGHT" |
| 1515 | VALIGN="TOP" |
| 1516 | ><TT |
| 1517 | CLASS="PARAMETER" |
| 1518 | ><I |
| 1519 | >ctxt</I |
| 1520 | ></TT |
| 1521 | > :</TD |
| 1522 | ><TD |
| 1523 | WIDTH="80%" |
| 1524 | ALIGN="LEFT" |
| 1525 | VALIGN="TOP" |
| 1526 | > the XPath context</TD |
| 1527 | ></TR |
| 1528 | ><TR |
| 1529 | ><TD |
| 1530 | WIDTH="20%" |
| 1531 | ALIGN="RIGHT" |
| 1532 | VALIGN="TOP" |
| 1533 | ><TT |
| 1534 | CLASS="PARAMETER" |
| 1535 | ><I |
| 1536 | >name</I |
| 1537 | ></TT |
| 1538 | > :</TD |
| 1539 | ><TD |
| 1540 | WIDTH="80%" |
| 1541 | ALIGN="LEFT" |
| 1542 | VALIGN="TOP" |
| 1543 | > the function name</TD |
| 1544 | ></TR |
| 1545 | ><TR |
| 1546 | ><TD |
| 1547 | WIDTH="20%" |
| 1548 | ALIGN="RIGHT" |
| 1549 | VALIGN="TOP" |
| 1550 | ><TT |
| 1551 | CLASS="PARAMETER" |
| 1552 | ><I |
| 1553 | >f</I |
| 1554 | ></TT |
| 1555 | > :</TD |
| 1556 | ><TD |
| 1557 | WIDTH="80%" |
| 1558 | ALIGN="LEFT" |
| 1559 | VALIGN="TOP" |
| 1560 | > the function implementation or NULL</TD |
| 1561 | ></TR |
| 1562 | ><TR |
| 1563 | ><TD |
| 1564 | WIDTH="20%" |
| 1565 | ALIGN="RIGHT" |
| 1566 | VALIGN="TOP" |
| 1567 | ><I |
| 1568 | CLASS="EMPHASIS" |
| 1569 | >Returns</I |
| 1570 | > :</TD |
| 1571 | ><TD |
| 1572 | WIDTH="80%" |
| 1573 | ALIGN="LEFT" |
| 1574 | VALIGN="TOP" |
| 1575 | >0 in case of success, -1 in case of error</TD |
| 1576 | ></TR |
| 1577 | ></TABLE |
| 1578 | ><P |
| 1579 | ></P |
| 1580 | ></DIV |
| 1581 | ></DIV |
| 1582 | ><HR><DIV |
| 1583 | CLASS="REFSECT2" |
| 1584 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 1585 | NAME="AEN11421" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 1586 | ></A |
| 1587 | ><H3 |
| 1588 | ><A |
| 1589 | NAME="XMLXPATHREGISTERFUNCNS" |
| 1590 | ></A |
| 1591 | >xmlXPathRegisterFuncNS ()</H3 |
| 1592 | ><TABLE |
| 1593 | BORDER="0" |
| 1594 | BGCOLOR="#D6E8FF" |
| 1595 | WIDTH="100%" |
| 1596 | CELLPADDING="6" |
| 1597 | ><TR |
| 1598 | ><TD |
| 1599 | ><PRE |
| 1600 | CLASS="PROGRAMLISTING" |
| 1601 | >int xmlXPathRegisterFuncNS (<A |
| 1602 | HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR" |
| 1603 | >xmlXPathContextPtr</A |
| 1604 | > ctxt, |
| 1605 | const <A |
| 1606 | HREF="gnome-xml-tree.html#XMLCHAR" |
| 1607 | >xmlChar</A |
| 1608 | > *name, |
| 1609 | const <A |
| 1610 | HREF="gnome-xml-tree.html#XMLCHAR" |
| 1611 | >xmlChar</A |
| 1612 | > *ns_uri, |
| 1613 | <A |
| 1614 | HREF="gnome-xml-xpath.html#XMLXPATHFUNCTION" |
| 1615 | >xmlXPathFunction</A |
| 1616 | > f);</PRE |
| 1617 | ></TD |
| 1618 | ></TR |
| 1619 | ></TABLE |
| 1620 | ><P |
| 1621 | >Register a new function. If <TT |
| 1622 | CLASS="PARAMETER" |
| 1623 | ><I |
| 1624 | >f</I |
| 1625 | ></TT |
| 1626 | > is NULL it unregisters the function</P |
| 1627 | ><P |
| 1628 | ></P |
| 1629 | ><DIV |
| 1630 | CLASS="INFORMALTABLE" |
| 1631 | ><P |
| 1632 | ></P |
| 1633 | ><TABLE |
| 1634 | BORDER="0" |
| 1635 | WIDTH="100%" |
| 1636 | BGCOLOR="#FFD0D0" |
| 1637 | CELLSPACING="0" |
| 1638 | CELLPADDING="4" |
| 1639 | CLASS="CALSTABLE" |
| 1640 | ><TR |
| 1641 | ><TD |
| 1642 | WIDTH="20%" |
| 1643 | ALIGN="RIGHT" |
| 1644 | VALIGN="TOP" |
| 1645 | ><TT |
| 1646 | CLASS="PARAMETER" |
| 1647 | ><I |
| 1648 | >ctxt</I |
| 1649 | ></TT |
| 1650 | > :</TD |
| 1651 | ><TD |
| 1652 | WIDTH="80%" |
| 1653 | ALIGN="LEFT" |
| 1654 | VALIGN="TOP" |
| 1655 | > the XPath context</TD |
| 1656 | ></TR |
| 1657 | ><TR |
| 1658 | ><TD |
| 1659 | WIDTH="20%" |
| 1660 | ALIGN="RIGHT" |
| 1661 | VALIGN="TOP" |
| 1662 | ><TT |
| 1663 | CLASS="PARAMETER" |
| 1664 | ><I |
| 1665 | >name</I |
| 1666 | ></TT |
| 1667 | > :</TD |
| 1668 | ><TD |
| 1669 | WIDTH="80%" |
| 1670 | ALIGN="LEFT" |
| 1671 | VALIGN="TOP" |
| 1672 | > the function name</TD |
| 1673 | ></TR |
| 1674 | ><TR |
| 1675 | ><TD |
| 1676 | WIDTH="20%" |
| 1677 | ALIGN="RIGHT" |
| 1678 | VALIGN="TOP" |
| 1679 | ><TT |
| 1680 | CLASS="PARAMETER" |
| 1681 | ><I |
| 1682 | >ns_uri</I |
| 1683 | ></TT |
| 1684 | > :</TD |
| 1685 | ><TD |
| 1686 | WIDTH="80%" |
| 1687 | ALIGN="LEFT" |
| 1688 | VALIGN="TOP" |
| 1689 | > the function namespace URI</TD |
| 1690 | ></TR |
| 1691 | ><TR |
| 1692 | ><TD |
| 1693 | WIDTH="20%" |
| 1694 | ALIGN="RIGHT" |
| 1695 | VALIGN="TOP" |
| 1696 | ><TT |
| 1697 | CLASS="PARAMETER" |
| 1698 | ><I |
| 1699 | >f</I |
| 1700 | ></TT |
| 1701 | > :</TD |
| 1702 | ><TD |
| 1703 | WIDTH="80%" |
| 1704 | ALIGN="LEFT" |
| 1705 | VALIGN="TOP" |
| 1706 | > the function implementation or NULL</TD |
| 1707 | ></TR |
| 1708 | ><TR |
| 1709 | ><TD |
| 1710 | WIDTH="20%" |
| 1711 | ALIGN="RIGHT" |
| 1712 | VALIGN="TOP" |
| 1713 | ><I |
| 1714 | CLASS="EMPHASIS" |
| 1715 | >Returns</I |
| 1716 | > :</TD |
| 1717 | ><TD |
| 1718 | WIDTH="80%" |
| 1719 | ALIGN="LEFT" |
| 1720 | VALIGN="TOP" |
| 1721 | >0 in case of success, -1 in case of error</TD |
| 1722 | ></TR |
| 1723 | ></TABLE |
| 1724 | ><P |
| 1725 | ></P |
| 1726 | ></DIV |
| 1727 | ></DIV |
| 1728 | ><HR><DIV |
| 1729 | CLASS="REFSECT2" |
| 1730 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 1731 | NAME="AEN11457" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 1732 | ></A |
| 1733 | ><H3 |
| 1734 | ><A |
| 1735 | NAME="XMLXPATHREGISTERVARIABLE" |
| 1736 | ></A |
| 1737 | >xmlXPathRegisterVariable ()</H3 |
| 1738 | ><TABLE |
| 1739 | BORDER="0" |
| 1740 | BGCOLOR="#D6E8FF" |
| 1741 | WIDTH="100%" |
| 1742 | CELLPADDING="6" |
| 1743 | ><TR |
| 1744 | ><TD |
| 1745 | ><PRE |
| 1746 | CLASS="PROGRAMLISTING" |
| 1747 | >int xmlXPathRegisterVariable (<A |
| 1748 | HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR" |
| 1749 | >xmlXPathContextPtr</A |
| 1750 | > ctxt, |
| 1751 | const <A |
| 1752 | HREF="gnome-xml-tree.html#XMLCHAR" |
| 1753 | >xmlChar</A |
| 1754 | > *name, |
| 1755 | <A |
| 1756 | HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" |
| 1757 | >xmlXPathObjectPtr</A |
| 1758 | > value);</PRE |
| 1759 | ></TD |
| 1760 | ></TR |
| 1761 | ></TABLE |
| 1762 | ><P |
| 1763 | >Register a new variable value. If <TT |
| 1764 | CLASS="PARAMETER" |
| 1765 | ><I |
| 1766 | >value</I |
| 1767 | ></TT |
| 1768 | > is NULL it unregisters |
| 1769 | the variable</P |
| 1770 | ><P |
| 1771 | ></P |
| 1772 | ><DIV |
| 1773 | CLASS="INFORMALTABLE" |
| 1774 | ><P |
| 1775 | ></P |
| 1776 | ><TABLE |
| 1777 | BORDER="0" |
| 1778 | WIDTH="100%" |
| 1779 | BGCOLOR="#FFD0D0" |
| 1780 | CELLSPACING="0" |
| 1781 | CELLPADDING="4" |
| 1782 | CLASS="CALSTABLE" |
| 1783 | ><TR |
| 1784 | ><TD |
| 1785 | WIDTH="20%" |
| 1786 | ALIGN="RIGHT" |
| 1787 | VALIGN="TOP" |
| 1788 | ><TT |
| 1789 | CLASS="PARAMETER" |
| 1790 | ><I |
| 1791 | >ctxt</I |
| 1792 | ></TT |
| 1793 | > :</TD |
| 1794 | ><TD |
| 1795 | WIDTH="80%" |
| 1796 | ALIGN="LEFT" |
| 1797 | VALIGN="TOP" |
| 1798 | > the XPath context</TD |
| 1799 | ></TR |
| 1800 | ><TR |
| 1801 | ><TD |
| 1802 | WIDTH="20%" |
| 1803 | ALIGN="RIGHT" |
| 1804 | VALIGN="TOP" |
| 1805 | ><TT |
| 1806 | CLASS="PARAMETER" |
| 1807 | ><I |
| 1808 | >name</I |
| 1809 | ></TT |
| 1810 | > :</TD |
| 1811 | ><TD |
| 1812 | WIDTH="80%" |
| 1813 | ALIGN="LEFT" |
| 1814 | VALIGN="TOP" |
| 1815 | > the variable name</TD |
| 1816 | ></TR |
| 1817 | ><TR |
| 1818 | ><TD |
| 1819 | WIDTH="20%" |
| 1820 | ALIGN="RIGHT" |
| 1821 | VALIGN="TOP" |
| 1822 | ><TT |
| 1823 | CLASS="PARAMETER" |
| 1824 | ><I |
| 1825 | >value</I |
| 1826 | ></TT |
| 1827 | > :</TD |
| 1828 | ><TD |
| 1829 | WIDTH="80%" |
| 1830 | ALIGN="LEFT" |
| 1831 | VALIGN="TOP" |
| 1832 | > the variable value or NULL</TD |
| 1833 | ></TR |
| 1834 | ><TR |
| 1835 | ><TD |
| 1836 | WIDTH="20%" |
| 1837 | ALIGN="RIGHT" |
| 1838 | VALIGN="TOP" |
| 1839 | ><I |
| 1840 | CLASS="EMPHASIS" |
| 1841 | >Returns</I |
| 1842 | > :</TD |
| 1843 | ><TD |
| 1844 | WIDTH="80%" |
| 1845 | ALIGN="LEFT" |
| 1846 | VALIGN="TOP" |
| 1847 | >0 in case of success, -1 in case of error</TD |
| 1848 | ></TR |
| 1849 | ></TABLE |
| 1850 | ><P |
| 1851 | ></P |
| 1852 | ></DIV |
| 1853 | ></DIV |
| 1854 | ><HR><DIV |
| 1855 | CLASS="REFSECT2" |
| 1856 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 1857 | NAME="AEN11488" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 1858 | ></A |
| 1859 | ><H3 |
| 1860 | ><A |
| 1861 | NAME="XMLXPATHREGISTERVARIABLENS" |
| 1862 | ></A |
| 1863 | >xmlXPathRegisterVariableNS ()</H3 |
| 1864 | ><TABLE |
| 1865 | BORDER="0" |
| 1866 | BGCOLOR="#D6E8FF" |
| 1867 | WIDTH="100%" |
| 1868 | CELLPADDING="6" |
| 1869 | ><TR |
| 1870 | ><TD |
| 1871 | ><PRE |
| 1872 | CLASS="PROGRAMLISTING" |
| 1873 | >int xmlXPathRegisterVariableNS (<A |
| 1874 | HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR" |
| 1875 | >xmlXPathContextPtr</A |
| 1876 | > ctxt, |
| 1877 | const <A |
| 1878 | HREF="gnome-xml-tree.html#XMLCHAR" |
| 1879 | >xmlChar</A |
| 1880 | > *name, |
| 1881 | const <A |
| 1882 | HREF="gnome-xml-tree.html#XMLCHAR" |
| 1883 | >xmlChar</A |
| 1884 | > *ns_uri, |
| 1885 | <A |
| 1886 | HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" |
| 1887 | >xmlXPathObjectPtr</A |
| 1888 | > value);</PRE |
| 1889 | ></TD |
| 1890 | ></TR |
| 1891 | ></TABLE |
| 1892 | ><P |
| 1893 | >Register a new variable value. If <TT |
| 1894 | CLASS="PARAMETER" |
| 1895 | ><I |
| 1896 | >value</I |
| 1897 | ></TT |
| 1898 | > is NULL it unregisters |
| 1899 | the variable</P |
| 1900 | ><P |
| 1901 | ></P |
| 1902 | ><DIV |
| 1903 | CLASS="INFORMALTABLE" |
| 1904 | ><P |
| 1905 | ></P |
| 1906 | ><TABLE |
| 1907 | BORDER="0" |
| 1908 | WIDTH="100%" |
| 1909 | BGCOLOR="#FFD0D0" |
| 1910 | CELLSPACING="0" |
| 1911 | CELLPADDING="4" |
| 1912 | CLASS="CALSTABLE" |
| 1913 | ><TR |
| 1914 | ><TD |
| 1915 | WIDTH="20%" |
| 1916 | ALIGN="RIGHT" |
| 1917 | VALIGN="TOP" |
| 1918 | ><TT |
| 1919 | CLASS="PARAMETER" |
| 1920 | ><I |
| 1921 | >ctxt</I |
| 1922 | ></TT |
| 1923 | > :</TD |
| 1924 | ><TD |
| 1925 | WIDTH="80%" |
| 1926 | ALIGN="LEFT" |
| 1927 | VALIGN="TOP" |
| 1928 | > the XPath context</TD |
| 1929 | ></TR |
| 1930 | ><TR |
| 1931 | ><TD |
| 1932 | WIDTH="20%" |
| 1933 | ALIGN="RIGHT" |
| 1934 | VALIGN="TOP" |
| 1935 | ><TT |
| 1936 | CLASS="PARAMETER" |
| 1937 | ><I |
| 1938 | >name</I |
| 1939 | ></TT |
| 1940 | > :</TD |
| 1941 | ><TD |
| 1942 | WIDTH="80%" |
| 1943 | ALIGN="LEFT" |
| 1944 | VALIGN="TOP" |
| 1945 | > the variable name</TD |
| 1946 | ></TR |
| 1947 | ><TR |
| 1948 | ><TD |
| 1949 | WIDTH="20%" |
| 1950 | ALIGN="RIGHT" |
| 1951 | VALIGN="TOP" |
| 1952 | ><TT |
| 1953 | CLASS="PARAMETER" |
| 1954 | ><I |
| 1955 | >ns_uri</I |
| 1956 | ></TT |
| 1957 | > :</TD |
| 1958 | ><TD |
| 1959 | WIDTH="80%" |
| 1960 | ALIGN="LEFT" |
| 1961 | VALIGN="TOP" |
| 1962 | > the variable namespace URI</TD |
| 1963 | ></TR |
| 1964 | ><TR |
| 1965 | ><TD |
| 1966 | WIDTH="20%" |
| 1967 | ALIGN="RIGHT" |
| 1968 | VALIGN="TOP" |
| 1969 | ><TT |
| 1970 | CLASS="PARAMETER" |
| 1971 | ><I |
| 1972 | >value</I |
| 1973 | ></TT |
| 1974 | > :</TD |
| 1975 | ><TD |
| 1976 | WIDTH="80%" |
| 1977 | ALIGN="LEFT" |
| 1978 | VALIGN="TOP" |
| 1979 | > the variable value or NULL</TD |
| 1980 | ></TR |
| 1981 | ><TR |
| 1982 | ><TD |
| 1983 | WIDTH="20%" |
| 1984 | ALIGN="RIGHT" |
| 1985 | VALIGN="TOP" |
| 1986 | ><I |
| 1987 | CLASS="EMPHASIS" |
| 1988 | >Returns</I |
| 1989 | > :</TD |
| 1990 | ><TD |
| 1991 | WIDTH="80%" |
| 1992 | ALIGN="LEFT" |
| 1993 | VALIGN="TOP" |
| 1994 | >0 in case of success, -1 in case of error</TD |
| 1995 | ></TR |
| 1996 | ></TABLE |
| 1997 | ><P |
| 1998 | ></P |
| 1999 | ></DIV |
| 2000 | ></DIV |
| 2001 | ><HR><DIV |
| 2002 | CLASS="REFSECT2" |
| 2003 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 2004 | NAME="AEN11524" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 2005 | ></A |
| 2006 | ><H3 |
| 2007 | ><A |
| 2008 | NAME="XMLXPATHFUNCTIONLOOKUP" |
| 2009 | ></A |
| 2010 | >xmlXPathFunctionLookup ()</H3 |
| 2011 | ><TABLE |
| 2012 | BORDER="0" |
| 2013 | BGCOLOR="#D6E8FF" |
| 2014 | WIDTH="100%" |
| 2015 | CELLPADDING="6" |
| 2016 | ><TR |
| 2017 | ><TD |
| 2018 | ><PRE |
| 2019 | CLASS="PROGRAMLISTING" |
| 2020 | ><A |
| 2021 | HREF="gnome-xml-xpath.html#XMLXPATHFUNCTION" |
| 2022 | >xmlXPathFunction</A |
| 2023 | > xmlXPathFunctionLookup (<A |
| 2024 | HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR" |
| 2025 | >xmlXPathContextPtr</A |
| 2026 | > ctxt, |
| 2027 | const <A |
| 2028 | HREF="gnome-xml-tree.html#XMLCHAR" |
| 2029 | >xmlChar</A |
| 2030 | > *name);</PRE |
| 2031 | ></TD |
| 2032 | ></TR |
| 2033 | ></TABLE |
| 2034 | ><P |
| 2035 | >Search in the Function array of the context for the given |
| 2036 | function.</P |
| 2037 | ><P |
| 2038 | ></P |
| 2039 | ><DIV |
| 2040 | CLASS="INFORMALTABLE" |
| 2041 | ><P |
| 2042 | ></P |
| 2043 | ><TABLE |
| 2044 | BORDER="0" |
| 2045 | WIDTH="100%" |
| 2046 | BGCOLOR="#FFD0D0" |
| 2047 | CELLSPACING="0" |
| 2048 | CELLPADDING="4" |
| 2049 | CLASS="CALSTABLE" |
| 2050 | ><TR |
| 2051 | ><TD |
| 2052 | WIDTH="20%" |
| 2053 | ALIGN="RIGHT" |
| 2054 | VALIGN="TOP" |
| 2055 | ><TT |
| 2056 | CLASS="PARAMETER" |
| 2057 | ><I |
| 2058 | >ctxt</I |
| 2059 | ></TT |
| 2060 | > :</TD |
| 2061 | ><TD |
| 2062 | WIDTH="80%" |
| 2063 | ALIGN="LEFT" |
| 2064 | VALIGN="TOP" |
| 2065 | > the XPath context</TD |
| 2066 | ></TR |
| 2067 | ><TR |
| 2068 | ><TD |
| 2069 | WIDTH="20%" |
| 2070 | ALIGN="RIGHT" |
| 2071 | VALIGN="TOP" |
| 2072 | ><TT |
| 2073 | CLASS="PARAMETER" |
| 2074 | ><I |
| 2075 | >name</I |
| 2076 | ></TT |
| 2077 | > :</TD |
| 2078 | ><TD |
| 2079 | WIDTH="80%" |
| 2080 | ALIGN="LEFT" |
| 2081 | VALIGN="TOP" |
| 2082 | > the function name</TD |
| 2083 | ></TR |
| 2084 | ><TR |
| 2085 | ><TD |
| 2086 | WIDTH="20%" |
| 2087 | ALIGN="RIGHT" |
| 2088 | VALIGN="TOP" |
| 2089 | ><I |
| 2090 | CLASS="EMPHASIS" |
| 2091 | >Returns</I |
| 2092 | > :</TD |
| 2093 | ><TD |
| 2094 | WIDTH="80%" |
| 2095 | ALIGN="LEFT" |
| 2096 | VALIGN="TOP" |
| 2097 | >the xmlXPathFunction or NULL if not found</TD |
| 2098 | ></TR |
| 2099 | ></TABLE |
| 2100 | ><P |
| 2101 | ></P |
| 2102 | ></DIV |
| 2103 | ></DIV |
| 2104 | ><HR><DIV |
| 2105 | CLASS="REFSECT2" |
| 2106 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 2107 | NAME="AEN11550" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 2108 | ></A |
| 2109 | ><H3 |
| 2110 | ><A |
| 2111 | NAME="XMLXPATHFUNCTIONLOOKUPNS" |
| 2112 | ></A |
| 2113 | >xmlXPathFunctionLookupNS ()</H3 |
| 2114 | ><TABLE |
| 2115 | BORDER="0" |
| 2116 | BGCOLOR="#D6E8FF" |
| 2117 | WIDTH="100%" |
| 2118 | CELLPADDING="6" |
| 2119 | ><TR |
| 2120 | ><TD |
| 2121 | ><PRE |
| 2122 | CLASS="PROGRAMLISTING" |
| 2123 | ><A |
| 2124 | HREF="gnome-xml-xpath.html#XMLXPATHFUNCTION" |
| 2125 | >xmlXPathFunction</A |
| 2126 | > xmlXPathFunctionLookupNS (<A |
| 2127 | HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR" |
| 2128 | >xmlXPathContextPtr</A |
| 2129 | > ctxt, |
| 2130 | const <A |
| 2131 | HREF="gnome-xml-tree.html#XMLCHAR" |
| 2132 | >xmlChar</A |
| 2133 | > *name, |
| 2134 | const <A |
| 2135 | HREF="gnome-xml-tree.html#XMLCHAR" |
| 2136 | >xmlChar</A |
| 2137 | > *ns_uri);</PRE |
| 2138 | ></TD |
| 2139 | ></TR |
| 2140 | ></TABLE |
| 2141 | ><P |
| 2142 | >Search in the Function array of the context for the given |
| 2143 | function.</P |
| 2144 | ><P |
| 2145 | ></P |
| 2146 | ><DIV |
| 2147 | CLASS="INFORMALTABLE" |
| 2148 | ><P |
| 2149 | ></P |
| 2150 | ><TABLE |
| 2151 | BORDER="0" |
| 2152 | WIDTH="100%" |
| 2153 | BGCOLOR="#FFD0D0" |
| 2154 | CELLSPACING="0" |
| 2155 | CELLPADDING="4" |
| 2156 | CLASS="CALSTABLE" |
| 2157 | ><TR |
| 2158 | ><TD |
| 2159 | WIDTH="20%" |
| 2160 | ALIGN="RIGHT" |
| 2161 | VALIGN="TOP" |
| 2162 | ><TT |
| 2163 | CLASS="PARAMETER" |
| 2164 | ><I |
| 2165 | >ctxt</I |
| 2166 | ></TT |
| 2167 | > :</TD |
| 2168 | ><TD |
| 2169 | WIDTH="80%" |
| 2170 | ALIGN="LEFT" |
| 2171 | VALIGN="TOP" |
| 2172 | > the XPath context</TD |
| 2173 | ></TR |
| 2174 | ><TR |
| 2175 | ><TD |
| 2176 | WIDTH="20%" |
| 2177 | ALIGN="RIGHT" |
| 2178 | VALIGN="TOP" |
| 2179 | ><TT |
| 2180 | CLASS="PARAMETER" |
| 2181 | ><I |
| 2182 | >name</I |
| 2183 | ></TT |
| 2184 | > :</TD |
| 2185 | ><TD |
| 2186 | WIDTH="80%" |
| 2187 | ALIGN="LEFT" |
| 2188 | VALIGN="TOP" |
| 2189 | > the function name</TD |
| 2190 | ></TR |
| 2191 | ><TR |
| 2192 | ><TD |
| 2193 | WIDTH="20%" |
| 2194 | ALIGN="RIGHT" |
| 2195 | VALIGN="TOP" |
| 2196 | ><TT |
| 2197 | CLASS="PARAMETER" |
| 2198 | ><I |
| 2199 | >ns_uri</I |
| 2200 | ></TT |
| 2201 | > :</TD |
| 2202 | ><TD |
| 2203 | WIDTH="80%" |
| 2204 | ALIGN="LEFT" |
| 2205 | VALIGN="TOP" |
| 2206 | > the function namespace URI</TD |
| 2207 | ></TR |
| 2208 | ><TR |
| 2209 | ><TD |
| 2210 | WIDTH="20%" |
| 2211 | ALIGN="RIGHT" |
| 2212 | VALIGN="TOP" |
| 2213 | ><I |
| 2214 | CLASS="EMPHASIS" |
| 2215 | >Returns</I |
| 2216 | > :</TD |
| 2217 | ><TD |
| 2218 | WIDTH="80%" |
| 2219 | ALIGN="LEFT" |
| 2220 | VALIGN="TOP" |
| 2221 | >the xmlXPathFunction or NULL if not found</TD |
| 2222 | ></TR |
| 2223 | ></TABLE |
| 2224 | ><P |
| 2225 | ></P |
| 2226 | ></DIV |
| 2227 | ></DIV |
| 2228 | ><HR><DIV |
| 2229 | CLASS="REFSECT2" |
| 2230 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 2231 | NAME="AEN11581" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 2232 | ></A |
| 2233 | ><H3 |
| 2234 | ><A |
| 2235 | NAME="XMLXPATHREGISTEREDFUNCSCLEANUP" |
| 2236 | ></A |
| 2237 | >xmlXPathRegisteredFuncsCleanup ()</H3 |
| 2238 | ><TABLE |
| 2239 | BORDER="0" |
| 2240 | BGCOLOR="#D6E8FF" |
| 2241 | WIDTH="100%" |
| 2242 | CELLPADDING="6" |
| 2243 | ><TR |
| 2244 | ><TD |
| 2245 | ><PRE |
| 2246 | CLASS="PROGRAMLISTING" |
| 2247 | >void xmlXPathRegisteredFuncsCleanup (<A |
| 2248 | HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR" |
| 2249 | >xmlXPathContextPtr</A |
| 2250 | > ctxt);</PRE |
| 2251 | ></TD |
| 2252 | ></TR |
| 2253 | ></TABLE |
| 2254 | ><P |
| 2255 | >Cleanup the XPath context data associated to registered functions</P |
| 2256 | ><P |
| 2257 | ></P |
| 2258 | ><DIV |
| 2259 | CLASS="INFORMALTABLE" |
| 2260 | ><P |
| 2261 | ></P |
| 2262 | ><TABLE |
| 2263 | BORDER="0" |
| 2264 | WIDTH="100%" |
| 2265 | BGCOLOR="#FFD0D0" |
| 2266 | CELLSPACING="0" |
| 2267 | CELLPADDING="4" |
| 2268 | CLASS="CALSTABLE" |
| 2269 | ><TR |
| 2270 | ><TD |
| 2271 | WIDTH="20%" |
| 2272 | ALIGN="RIGHT" |
| 2273 | VALIGN="TOP" |
| 2274 | ><TT |
| 2275 | CLASS="PARAMETER" |
| 2276 | ><I |
| 2277 | >ctxt</I |
| 2278 | ></TT |
| 2279 | > :</TD |
| 2280 | ><TD |
| 2281 | WIDTH="80%" |
| 2282 | ALIGN="LEFT" |
| 2283 | VALIGN="TOP" |
| 2284 | > the XPath context</TD |
| 2285 | ></TR |
| 2286 | ></TABLE |
| 2287 | ><P |
| 2288 | ></P |
| 2289 | ></DIV |
| 2290 | ></DIV |
| 2291 | ><HR><DIV |
| 2292 | CLASS="REFSECT2" |
| 2293 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 2294 | NAME="AEN11597" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 2295 | ></A |
| 2296 | ><H3 |
| 2297 | ><A |
| 2298 | NAME="XMLXPATHVARIABLELOOKUP" |
| 2299 | ></A |
| 2300 | >xmlXPathVariableLookup ()</H3 |
| 2301 | ><TABLE |
| 2302 | BORDER="0" |
| 2303 | BGCOLOR="#D6E8FF" |
| 2304 | WIDTH="100%" |
| 2305 | CELLPADDING="6" |
| 2306 | ><TR |
| 2307 | ><TD |
| 2308 | ><PRE |
| 2309 | CLASS="PROGRAMLISTING" |
| 2310 | ><A |
| 2311 | HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" |
| 2312 | >xmlXPathObjectPtr</A |
| 2313 | > xmlXPathVariableLookup (<A |
| 2314 | HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR" |
| 2315 | >xmlXPathContextPtr</A |
| 2316 | > ctxt, |
| 2317 | const <A |
| 2318 | HREF="gnome-xml-tree.html#XMLCHAR" |
| 2319 | >xmlChar</A |
| 2320 | > *name);</PRE |
| 2321 | ></TD |
| 2322 | ></TR |
| 2323 | ></TABLE |
| 2324 | ><P |
| 2325 | >Search in the Variable array of the context for the given |
| 2326 | variable value.</P |
| 2327 | ><P |
| 2328 | ></P |
| 2329 | ><DIV |
| 2330 | CLASS="INFORMALTABLE" |
| 2331 | ><P |
| 2332 | ></P |
| 2333 | ><TABLE |
| 2334 | BORDER="0" |
| 2335 | WIDTH="100%" |
| 2336 | BGCOLOR="#FFD0D0" |
| 2337 | CELLSPACING="0" |
| 2338 | CELLPADDING="4" |
| 2339 | CLASS="CALSTABLE" |
| 2340 | ><TR |
| 2341 | ><TD |
| 2342 | WIDTH="20%" |
| 2343 | ALIGN="RIGHT" |
| 2344 | VALIGN="TOP" |
| 2345 | ><TT |
| 2346 | CLASS="PARAMETER" |
| 2347 | ><I |
| 2348 | >ctxt</I |
| 2349 | ></TT |
| 2350 | > :</TD |
| 2351 | ><TD |
| 2352 | WIDTH="80%" |
| 2353 | ALIGN="LEFT" |
| 2354 | VALIGN="TOP" |
| 2355 | > the XPath context</TD |
| 2356 | ></TR |
| 2357 | ><TR |
| 2358 | ><TD |
| 2359 | WIDTH="20%" |
| 2360 | ALIGN="RIGHT" |
| 2361 | VALIGN="TOP" |
| 2362 | ><TT |
| 2363 | CLASS="PARAMETER" |
| 2364 | ><I |
| 2365 | >name</I |
| 2366 | ></TT |
| 2367 | > :</TD |
| 2368 | ><TD |
| 2369 | WIDTH="80%" |
| 2370 | ALIGN="LEFT" |
| 2371 | VALIGN="TOP" |
| 2372 | > the variable name</TD |
| 2373 | ></TR |
| 2374 | ><TR |
| 2375 | ><TD |
| 2376 | WIDTH="20%" |
| 2377 | ALIGN="RIGHT" |
| 2378 | VALIGN="TOP" |
| 2379 | ><I |
| 2380 | CLASS="EMPHASIS" |
| 2381 | >Returns</I |
| 2382 | > :</TD |
| 2383 | ><TD |
| 2384 | WIDTH="80%" |
| 2385 | ALIGN="LEFT" |
| 2386 | VALIGN="TOP" |
| 2387 | >the value or NULL if not found</TD |
| 2388 | ></TR |
| 2389 | ></TABLE |
| 2390 | ><P |
| 2391 | ></P |
| 2392 | ></DIV |
| 2393 | ></DIV |
| 2394 | ><HR><DIV |
| 2395 | CLASS="REFSECT2" |
| 2396 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 2397 | NAME="AEN11623" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 2398 | ></A |
| 2399 | ><H3 |
| 2400 | ><A |
| 2401 | NAME="XMLXPATHVARIABLELOOKUPNS" |
| 2402 | ></A |
| 2403 | >xmlXPathVariableLookupNS ()</H3 |
| 2404 | ><TABLE |
| 2405 | BORDER="0" |
| 2406 | BGCOLOR="#D6E8FF" |
| 2407 | WIDTH="100%" |
| 2408 | CELLPADDING="6" |
| 2409 | ><TR |
| 2410 | ><TD |
| 2411 | ><PRE |
| 2412 | CLASS="PROGRAMLISTING" |
| 2413 | ><A |
| 2414 | HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" |
| 2415 | >xmlXPathObjectPtr</A |
| 2416 | > xmlXPathVariableLookupNS (<A |
| 2417 | HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR" |
| 2418 | >xmlXPathContextPtr</A |
| 2419 | > ctxt, |
| 2420 | const <A |
| 2421 | HREF="gnome-xml-tree.html#XMLCHAR" |
| 2422 | >xmlChar</A |
| 2423 | > *name, |
| 2424 | const <A |
| 2425 | HREF="gnome-xml-tree.html#XMLCHAR" |
| 2426 | >xmlChar</A |
| 2427 | > *ns_uri);</PRE |
| 2428 | ></TD |
| 2429 | ></TR |
| 2430 | ></TABLE |
| 2431 | ><P |
| 2432 | >Search in the Variable array of the context for the given |
| 2433 | variable value.</P |
| 2434 | ><P |
| 2435 | ></P |
| 2436 | ><DIV |
| 2437 | CLASS="INFORMALTABLE" |
| 2438 | ><P |
| 2439 | ></P |
| 2440 | ><TABLE |
| 2441 | BORDER="0" |
| 2442 | WIDTH="100%" |
| 2443 | BGCOLOR="#FFD0D0" |
| 2444 | CELLSPACING="0" |
| 2445 | CELLPADDING="4" |
| 2446 | CLASS="CALSTABLE" |
| 2447 | ><TR |
| 2448 | ><TD |
| 2449 | WIDTH="20%" |
| 2450 | ALIGN="RIGHT" |
| 2451 | VALIGN="TOP" |
| 2452 | ><TT |
| 2453 | CLASS="PARAMETER" |
| 2454 | ><I |
| 2455 | >ctxt</I |
| 2456 | ></TT |
| 2457 | > :</TD |
| 2458 | ><TD |
| 2459 | WIDTH="80%" |
| 2460 | ALIGN="LEFT" |
| 2461 | VALIGN="TOP" |
| 2462 | > the XPath context</TD |
| 2463 | ></TR |
| 2464 | ><TR |
| 2465 | ><TD |
| 2466 | WIDTH="20%" |
| 2467 | ALIGN="RIGHT" |
| 2468 | VALIGN="TOP" |
| 2469 | ><TT |
| 2470 | CLASS="PARAMETER" |
| 2471 | ><I |
| 2472 | >name</I |
| 2473 | ></TT |
| 2474 | > :</TD |
| 2475 | ><TD |
| 2476 | WIDTH="80%" |
| 2477 | ALIGN="LEFT" |
| 2478 | VALIGN="TOP" |
| 2479 | > the variable name</TD |
| 2480 | ></TR |
| 2481 | ><TR |
| 2482 | ><TD |
| 2483 | WIDTH="20%" |
| 2484 | ALIGN="RIGHT" |
| 2485 | VALIGN="TOP" |
| 2486 | ><TT |
| 2487 | CLASS="PARAMETER" |
| 2488 | ><I |
| 2489 | >ns_uri</I |
| 2490 | ></TT |
| 2491 | > :</TD |
| 2492 | ><TD |
| 2493 | WIDTH="80%" |
| 2494 | ALIGN="LEFT" |
| 2495 | VALIGN="TOP" |
| 2496 | > the variable namespace URI</TD |
| 2497 | ></TR |
| 2498 | ><TR |
| 2499 | ><TD |
| 2500 | WIDTH="20%" |
| 2501 | ALIGN="RIGHT" |
| 2502 | VALIGN="TOP" |
| 2503 | ><I |
| 2504 | CLASS="EMPHASIS" |
| 2505 | >Returns</I |
| 2506 | > :</TD |
| 2507 | ><TD |
| 2508 | WIDTH="80%" |
| 2509 | ALIGN="LEFT" |
| 2510 | VALIGN="TOP" |
| 2511 | >the value or NULL if not found</TD |
| 2512 | ></TR |
| 2513 | ></TABLE |
| 2514 | ><P |
| 2515 | ></P |
| 2516 | ></DIV |
| 2517 | ></DIV |
| 2518 | ><HR><DIV |
| 2519 | CLASS="REFSECT2" |
| 2520 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 2521 | NAME="AEN11654" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 2522 | ></A |
| 2523 | ><H3 |
| 2524 | ><A |
| 2525 | NAME="XMLXPATHREGISTEREDVARIABLESCLEANUP" |
| 2526 | ></A |
| 2527 | >xmlXPathRegisteredVariablesCleanup ()</H3 |
| 2528 | ><TABLE |
| 2529 | BORDER="0" |
| 2530 | BGCOLOR="#D6E8FF" |
| 2531 | WIDTH="100%" |
| 2532 | CELLPADDING="6" |
| 2533 | ><TR |
| 2534 | ><TD |
| 2535 | ><PRE |
| 2536 | CLASS="PROGRAMLISTING" |
| 2537 | >void xmlXPathRegisteredVariablesCleanup |
| 2538 | (<A |
| 2539 | HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR" |
| 2540 | >xmlXPathContextPtr</A |
| 2541 | > ctxt);</PRE |
| 2542 | ></TD |
| 2543 | ></TR |
| 2544 | ></TABLE |
| 2545 | ><P |
| 2546 | >Cleanup the XPath context data associated to registered variables</P |
| 2547 | ><P |
| 2548 | ></P |
| 2549 | ><DIV |
| 2550 | CLASS="INFORMALTABLE" |
| 2551 | ><P |
| 2552 | ></P |
| 2553 | ><TABLE |
| 2554 | BORDER="0" |
| 2555 | WIDTH="100%" |
| 2556 | BGCOLOR="#FFD0D0" |
| 2557 | CELLSPACING="0" |
| 2558 | CELLPADDING="4" |
| 2559 | CLASS="CALSTABLE" |
| 2560 | ><TR |
| 2561 | ><TD |
| 2562 | WIDTH="20%" |
| 2563 | ALIGN="RIGHT" |
| 2564 | VALIGN="TOP" |
| 2565 | ><TT |
| 2566 | CLASS="PARAMETER" |
| 2567 | ><I |
| 2568 | >ctxt</I |
| 2569 | ></TT |
| 2570 | > :</TD |
| 2571 | ><TD |
| 2572 | WIDTH="80%" |
| 2573 | ALIGN="LEFT" |
| 2574 | VALIGN="TOP" |
| 2575 | > the XPath context</TD |
| 2576 | ></TR |
| 2577 | ></TABLE |
| 2578 | ><P |
| 2579 | ></P |
| 2580 | ></DIV |
| 2581 | ></DIV |
| 2582 | ><HR><DIV |
| 2583 | CLASS="REFSECT2" |
| 2584 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 2585 | NAME="AEN11670" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 2586 | ></A |
| 2587 | ><H3 |
| 2588 | ><A |
| 2589 | NAME="XMLXPATHNEWPARSERCONTEXT" |
| 2590 | ></A |
| 2591 | >xmlXPathNewParserContext ()</H3 |
| 2592 | ><TABLE |
| 2593 | BORDER="0" |
| 2594 | BGCOLOR="#D6E8FF" |
| 2595 | WIDTH="100%" |
| 2596 | CELLPADDING="6" |
| 2597 | ><TR |
| 2598 | ><TD |
| 2599 | ><PRE |
| 2600 | CLASS="PROGRAMLISTING" |
| 2601 | ><A |
| 2602 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 2603 | >xmlXPathParserContextPtr</A |
| 2604 | > xmlXPathNewParserContext |
| 2605 | (const <A |
| 2606 | HREF="gnome-xml-tree.html#XMLCHAR" |
| 2607 | >xmlChar</A |
| 2608 | > *str, |
| 2609 | <A |
| 2610 | HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR" |
| 2611 | >xmlXPathContextPtr</A |
| 2612 | > ctxt);</PRE |
| 2613 | ></TD |
| 2614 | ></TR |
| 2615 | ></TABLE |
| 2616 | ><P |
| 2617 | >Create a new xmlXPathParserContext</P |
| 2618 | ><P |
| 2619 | ></P |
| 2620 | ><DIV |
| 2621 | CLASS="INFORMALTABLE" |
| 2622 | ><P |
| 2623 | ></P |
| 2624 | ><TABLE |
| 2625 | BORDER="0" |
| 2626 | WIDTH="100%" |
| 2627 | BGCOLOR="#FFD0D0" |
| 2628 | CELLSPACING="0" |
| 2629 | CELLPADDING="4" |
| 2630 | CLASS="CALSTABLE" |
| 2631 | ><TR |
| 2632 | ><TD |
| 2633 | WIDTH="20%" |
| 2634 | ALIGN="RIGHT" |
| 2635 | VALIGN="TOP" |
| 2636 | ><TT |
| 2637 | CLASS="PARAMETER" |
| 2638 | ><I |
| 2639 | >str</I |
| 2640 | ></TT |
| 2641 | > :</TD |
| 2642 | ><TD |
| 2643 | WIDTH="80%" |
| 2644 | ALIGN="LEFT" |
| 2645 | VALIGN="TOP" |
| 2646 | > the XPath expression</TD |
| 2647 | ></TR |
| 2648 | ><TR |
| 2649 | ><TD |
| 2650 | WIDTH="20%" |
| 2651 | ALIGN="RIGHT" |
| 2652 | VALIGN="TOP" |
| 2653 | ><TT |
| 2654 | CLASS="PARAMETER" |
| 2655 | ><I |
| 2656 | >ctxt</I |
| 2657 | ></TT |
| 2658 | > :</TD |
| 2659 | ><TD |
| 2660 | WIDTH="80%" |
| 2661 | ALIGN="LEFT" |
| 2662 | VALIGN="TOP" |
| 2663 | > the XPath context</TD |
| 2664 | ></TR |
| 2665 | ><TR |
| 2666 | ><TD |
| 2667 | WIDTH="20%" |
| 2668 | ALIGN="RIGHT" |
| 2669 | VALIGN="TOP" |
| 2670 | ><I |
| 2671 | CLASS="EMPHASIS" |
| 2672 | >Returns</I |
| 2673 | > :</TD |
| 2674 | ><TD |
| 2675 | WIDTH="80%" |
| 2676 | ALIGN="LEFT" |
| 2677 | VALIGN="TOP" |
| 2678 | >the xmlXPathParserContext just allocated.</TD |
| 2679 | ></TR |
| 2680 | ></TABLE |
| 2681 | ><P |
| 2682 | ></P |
| 2683 | ></DIV |
| 2684 | ></DIV |
| 2685 | ><HR><DIV |
| 2686 | CLASS="REFSECT2" |
| 2687 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 2688 | NAME="AEN11696" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 2689 | ></A |
| 2690 | ><H3 |
| 2691 | ><A |
| 2692 | NAME="XMLXPATHFREEPARSERCONTEXT" |
| 2693 | ></A |
| 2694 | >xmlXPathFreeParserContext ()</H3 |
| 2695 | ><TABLE |
| 2696 | BORDER="0" |
| 2697 | BGCOLOR="#D6E8FF" |
| 2698 | WIDTH="100%" |
| 2699 | CELLPADDING="6" |
| 2700 | ><TR |
| 2701 | ><TD |
| 2702 | ><PRE |
| 2703 | CLASS="PROGRAMLISTING" |
| 2704 | >void xmlXPathFreeParserContext (<A |
| 2705 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 2706 | >xmlXPathParserContextPtr</A |
| 2707 | > ctxt);</PRE |
| 2708 | ></TD |
| 2709 | ></TR |
| 2710 | ></TABLE |
| 2711 | ><P |
| 2712 | >Free up an xmlXPathParserContext</P |
| 2713 | ><P |
| 2714 | ></P |
| 2715 | ><DIV |
| 2716 | CLASS="INFORMALTABLE" |
| 2717 | ><P |
| 2718 | ></P |
| 2719 | ><TABLE |
| 2720 | BORDER="0" |
| 2721 | WIDTH="100%" |
| 2722 | BGCOLOR="#FFD0D0" |
| 2723 | CELLSPACING="0" |
| 2724 | CELLPADDING="4" |
| 2725 | CLASS="CALSTABLE" |
| 2726 | ><TR |
| 2727 | ><TD |
| 2728 | WIDTH="20%" |
| 2729 | ALIGN="RIGHT" |
| 2730 | VALIGN="TOP" |
| 2731 | ><TT |
| 2732 | CLASS="PARAMETER" |
| 2733 | ><I |
| 2734 | >ctxt</I |
| 2735 | ></TT |
| 2736 | > :</TD |
| 2737 | ><TD |
| 2738 | WIDTH="80%" |
| 2739 | ALIGN="LEFT" |
| 2740 | VALIGN="TOP" |
| 2741 | > the context to free</TD |
| 2742 | ></TR |
| 2743 | ></TABLE |
| 2744 | ><P |
| 2745 | ></P |
| 2746 | ></DIV |
| 2747 | ></DIV |
| 2748 | ><HR><DIV |
| 2749 | CLASS="REFSECT2" |
| 2750 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 2751 | NAME="AEN11712" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 2752 | ></A |
| 2753 | ><H3 |
| 2754 | ><A |
| 2755 | NAME="VALUEPOP" |
| 2756 | ></A |
| 2757 | >valuePop ()</H3 |
| 2758 | ><TABLE |
| 2759 | BORDER="0" |
| 2760 | BGCOLOR="#D6E8FF" |
| 2761 | WIDTH="100%" |
| 2762 | CELLPADDING="6" |
| 2763 | ><TR |
| 2764 | ><TD |
| 2765 | ><PRE |
| 2766 | CLASS="PROGRAMLISTING" |
| 2767 | ><A |
| 2768 | HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" |
| 2769 | >xmlXPathObjectPtr</A |
| 2770 | > valuePop (<A |
| 2771 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 2772 | >xmlXPathParserContextPtr</A |
| 2773 | > ctxt);</PRE |
| 2774 | ></TD |
| 2775 | ></TR |
| 2776 | ></TABLE |
| 2777 | ><P |
| 2778 | ></P |
| 2779 | ><DIV |
| 2780 | CLASS="INFORMALTABLE" |
| 2781 | ><P |
| 2782 | ></P |
| 2783 | ><TABLE |
| 2784 | BORDER="0" |
| 2785 | WIDTH="100%" |
| 2786 | BGCOLOR="#FFD0D0" |
| 2787 | CELLSPACING="0" |
| 2788 | CELLPADDING="4" |
| 2789 | CLASS="CALSTABLE" |
| 2790 | ><TR |
| 2791 | ><TD |
| 2792 | WIDTH="20%" |
| 2793 | ALIGN="RIGHT" |
| 2794 | VALIGN="TOP" |
| 2795 | ><TT |
| 2796 | CLASS="PARAMETER" |
| 2797 | ><I |
| 2798 | >ctxt</I |
| 2799 | ></TT |
| 2800 | > :</TD |
| 2801 | ><TD |
| 2802 | WIDTH="80%" |
| 2803 | ALIGN="LEFT" |
| 2804 | VALIGN="TOP" |
| 2805 | > </TD |
| 2806 | ></TR |
| 2807 | ><TR |
| 2808 | ><TD |
| 2809 | WIDTH="20%" |
| 2810 | ALIGN="RIGHT" |
| 2811 | VALIGN="TOP" |
| 2812 | ><I |
| 2813 | CLASS="EMPHASIS" |
| 2814 | >Returns</I |
| 2815 | > :</TD |
| 2816 | ><TD |
| 2817 | WIDTH="80%" |
| 2818 | ALIGN="LEFT" |
| 2819 | VALIGN="TOP" |
| 2820 | > </TD |
| 2821 | ></TR |
| 2822 | ></TABLE |
| 2823 | ><P |
| 2824 | ></P |
| 2825 | ></DIV |
| 2826 | ></DIV |
| 2827 | ><HR><DIV |
| 2828 | CLASS="REFSECT2" |
| 2829 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 2830 | NAME="AEN11732" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 2831 | ></A |
| 2832 | ><H3 |
| 2833 | ><A |
| 2834 | NAME="VALUEPUSH" |
| 2835 | ></A |
| 2836 | >valuePush ()</H3 |
| 2837 | ><TABLE |
| 2838 | BORDER="0" |
| 2839 | BGCOLOR="#D6E8FF" |
| 2840 | WIDTH="100%" |
| 2841 | CELLPADDING="6" |
| 2842 | ><TR |
| 2843 | ><TD |
| 2844 | ><PRE |
| 2845 | CLASS="PROGRAMLISTING" |
| 2846 | >int valuePush (<A |
| 2847 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 2848 | >xmlXPathParserContextPtr</A |
| 2849 | > ctxt, |
| 2850 | <A |
| 2851 | HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" |
| 2852 | >xmlXPathObjectPtr</A |
| 2853 | > value);</PRE |
| 2854 | ></TD |
| 2855 | ></TR |
| 2856 | ></TABLE |
| 2857 | ><P |
| 2858 | ></P |
| 2859 | ><DIV |
| 2860 | CLASS="INFORMALTABLE" |
| 2861 | ><P |
| 2862 | ></P |
| 2863 | ><TABLE |
| 2864 | BORDER="0" |
| 2865 | WIDTH="100%" |
| 2866 | BGCOLOR="#FFD0D0" |
| 2867 | CELLSPACING="0" |
| 2868 | CELLPADDING="4" |
| 2869 | CLASS="CALSTABLE" |
| 2870 | ><TR |
| 2871 | ><TD |
| 2872 | WIDTH="20%" |
| 2873 | ALIGN="RIGHT" |
| 2874 | VALIGN="TOP" |
| 2875 | ><TT |
| 2876 | CLASS="PARAMETER" |
| 2877 | ><I |
| 2878 | >ctxt</I |
| 2879 | ></TT |
| 2880 | > :</TD |
| 2881 | ><TD |
| 2882 | WIDTH="80%" |
| 2883 | ALIGN="LEFT" |
| 2884 | VALIGN="TOP" |
| 2885 | > </TD |
| 2886 | ></TR |
| 2887 | ><TR |
| 2888 | ><TD |
| 2889 | WIDTH="20%" |
| 2890 | ALIGN="RIGHT" |
| 2891 | VALIGN="TOP" |
| 2892 | ><TT |
| 2893 | CLASS="PARAMETER" |
| 2894 | ><I |
| 2895 | >value</I |
| 2896 | ></TT |
| 2897 | > :</TD |
| 2898 | ><TD |
| 2899 | WIDTH="80%" |
| 2900 | ALIGN="LEFT" |
| 2901 | VALIGN="TOP" |
| 2902 | > </TD |
| 2903 | ></TR |
| 2904 | ><TR |
| 2905 | ><TD |
| 2906 | WIDTH="20%" |
| 2907 | ALIGN="RIGHT" |
| 2908 | VALIGN="TOP" |
| 2909 | ><I |
| 2910 | CLASS="EMPHASIS" |
| 2911 | >Returns</I |
| 2912 | > :</TD |
| 2913 | ><TD |
| 2914 | WIDTH="80%" |
| 2915 | ALIGN="LEFT" |
| 2916 | VALIGN="TOP" |
| 2917 | > </TD |
| 2918 | ></TR |
| 2919 | ></TABLE |
| 2920 | ><P |
| 2921 | ></P |
| 2922 | ></DIV |
| 2923 | ></DIV |
| 2924 | ><HR><DIV |
| 2925 | CLASS="REFSECT2" |
| 2926 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 2927 | NAME="AEN11756" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 2928 | ></A |
| 2929 | ><H3 |
| 2930 | ><A |
| 2931 | NAME="XMLXPATHNEWSTRING" |
| 2932 | ></A |
| 2933 | >xmlXPathNewString ()</H3 |
| 2934 | ><TABLE |
| 2935 | BORDER="0" |
| 2936 | BGCOLOR="#D6E8FF" |
| 2937 | WIDTH="100%" |
| 2938 | CELLPADDING="6" |
| 2939 | ><TR |
| 2940 | ><TD |
| 2941 | ><PRE |
| 2942 | CLASS="PROGRAMLISTING" |
| 2943 | ><A |
| 2944 | HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" |
| 2945 | >xmlXPathObjectPtr</A |
| 2946 | > xmlXPathNewString (const <A |
| 2947 | HREF="gnome-xml-tree.html#XMLCHAR" |
| 2948 | >xmlChar</A |
| 2949 | > *val);</PRE |
| 2950 | ></TD |
| 2951 | ></TR |
| 2952 | ></TABLE |
| 2953 | ><P |
| 2954 | >Create a new xmlXPathObjectPtr of type string and of value <TT |
| 2955 | CLASS="PARAMETER" |
| 2956 | ><I |
| 2957 | >val</I |
| 2958 | ></TT |
| 2959 | ></P |
| 2960 | ><P |
| 2961 | ></P |
| 2962 | ><DIV |
| 2963 | CLASS="INFORMALTABLE" |
| 2964 | ><P |
| 2965 | ></P |
| 2966 | ><TABLE |
| 2967 | BORDER="0" |
| 2968 | WIDTH="100%" |
| 2969 | BGCOLOR="#FFD0D0" |
| 2970 | CELLSPACING="0" |
| 2971 | CELLPADDING="4" |
| 2972 | CLASS="CALSTABLE" |
| 2973 | ><TR |
| 2974 | ><TD |
| 2975 | WIDTH="20%" |
| 2976 | ALIGN="RIGHT" |
| 2977 | VALIGN="TOP" |
| 2978 | ><TT |
| 2979 | CLASS="PARAMETER" |
| 2980 | ><I |
| 2981 | >val</I |
| 2982 | ></TT |
| 2983 | > :</TD |
| 2984 | ><TD |
| 2985 | WIDTH="80%" |
| 2986 | ALIGN="LEFT" |
| 2987 | VALIGN="TOP" |
| 2988 | > the xmlChar * value</TD |
| 2989 | ></TR |
| 2990 | ><TR |
| 2991 | ><TD |
| 2992 | WIDTH="20%" |
| 2993 | ALIGN="RIGHT" |
| 2994 | VALIGN="TOP" |
| 2995 | ><I |
| 2996 | CLASS="EMPHASIS" |
| 2997 | >Returns</I |
| 2998 | > :</TD |
| 2999 | ><TD |
| 3000 | WIDTH="80%" |
| 3001 | ALIGN="LEFT" |
| 3002 | VALIGN="TOP" |
| 3003 | >the newly created object.</TD |
| 3004 | ></TR |
| 3005 | ></TABLE |
| 3006 | ><P |
| 3007 | ></P |
| 3008 | ></DIV |
| 3009 | ></DIV |
| 3010 | ><HR><DIV |
| 3011 | CLASS="REFSECT2" |
| 3012 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 3013 | NAME="AEN11778" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 3014 | ></A |
| 3015 | ><H3 |
| 3016 | ><A |
| 3017 | NAME="XMLXPATHNEWCSTRING" |
| 3018 | ></A |
| 3019 | >xmlXPathNewCString ()</H3 |
| 3020 | ><TABLE |
| 3021 | BORDER="0" |
| 3022 | BGCOLOR="#D6E8FF" |
| 3023 | WIDTH="100%" |
| 3024 | CELLPADDING="6" |
| 3025 | ><TR |
| 3026 | ><TD |
| 3027 | ><PRE |
| 3028 | CLASS="PROGRAMLISTING" |
| 3029 | ><A |
| 3030 | HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" |
| 3031 | >xmlXPathObjectPtr</A |
| 3032 | > xmlXPathNewCString (const char *val);</PRE |
| 3033 | ></TD |
| 3034 | ></TR |
| 3035 | ></TABLE |
| 3036 | ><P |
| 3037 | >Create a new xmlXPathObjectPtr of type string and of value <TT |
| 3038 | CLASS="PARAMETER" |
| 3039 | ><I |
| 3040 | >val</I |
| 3041 | ></TT |
| 3042 | ></P |
| 3043 | ><P |
| 3044 | ></P |
| 3045 | ><DIV |
| 3046 | CLASS="INFORMALTABLE" |
| 3047 | ><P |
| 3048 | ></P |
| 3049 | ><TABLE |
| 3050 | BORDER="0" |
| 3051 | WIDTH="100%" |
| 3052 | BGCOLOR="#FFD0D0" |
| 3053 | CELLSPACING="0" |
| 3054 | CELLPADDING="4" |
| 3055 | CLASS="CALSTABLE" |
| 3056 | ><TR |
| 3057 | ><TD |
| 3058 | WIDTH="20%" |
| 3059 | ALIGN="RIGHT" |
| 3060 | VALIGN="TOP" |
| 3061 | ><TT |
| 3062 | CLASS="PARAMETER" |
| 3063 | ><I |
| 3064 | >val</I |
| 3065 | ></TT |
| 3066 | > :</TD |
| 3067 | ><TD |
| 3068 | WIDTH="80%" |
| 3069 | ALIGN="LEFT" |
| 3070 | VALIGN="TOP" |
| 3071 | > the char * value</TD |
| 3072 | ></TR |
| 3073 | ><TR |
| 3074 | ><TD |
| 3075 | WIDTH="20%" |
| 3076 | ALIGN="RIGHT" |
| 3077 | VALIGN="TOP" |
| 3078 | ><I |
| 3079 | CLASS="EMPHASIS" |
| 3080 | >Returns</I |
| 3081 | > :</TD |
| 3082 | ><TD |
| 3083 | WIDTH="80%" |
| 3084 | ALIGN="LEFT" |
| 3085 | VALIGN="TOP" |
| 3086 | >the newly created object.</TD |
| 3087 | ></TR |
| 3088 | ></TABLE |
| 3089 | ><P |
| 3090 | ></P |
| 3091 | ></DIV |
| 3092 | ></DIV |
| 3093 | ><HR><DIV |
| 3094 | CLASS="REFSECT2" |
| 3095 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 3096 | NAME="AEN11799" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 3097 | ></A |
| 3098 | ><H3 |
| 3099 | ><A |
| 3100 | NAME="XMLXPATHNEWFLOAT" |
| 3101 | ></A |
| 3102 | >xmlXPathNewFloat ()</H3 |
| 3103 | ><TABLE |
| 3104 | BORDER="0" |
| 3105 | BGCOLOR="#D6E8FF" |
| 3106 | WIDTH="100%" |
| 3107 | CELLPADDING="6" |
| 3108 | ><TR |
| 3109 | ><TD |
| 3110 | ><PRE |
| 3111 | CLASS="PROGRAMLISTING" |
| 3112 | ><A |
| 3113 | HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" |
| 3114 | >xmlXPathObjectPtr</A |
| 3115 | > xmlXPathNewFloat (<GTKDOCLINK |
| 3116 | HREF="DOUBLE" |
| 3117 | >double</GTKDOCLINK |
| 3118 | > val);</PRE |
| 3119 | ></TD |
| 3120 | ></TR |
| 3121 | ></TABLE |
| 3122 | ><P |
| 3123 | >Create a new xmlXPathObjectPtr of type double and of value <TT |
| 3124 | CLASS="PARAMETER" |
| 3125 | ><I |
| 3126 | >val</I |
| 3127 | ></TT |
| 3128 | ></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 | >val</I |
| 3151 | ></TT |
| 3152 | > :</TD |
| 3153 | ><TD |
| 3154 | WIDTH="80%" |
| 3155 | ALIGN="LEFT" |
| 3156 | VALIGN="TOP" |
| 3157 | > the double value</TD |
| 3158 | ></TR |
| 3159 | ><TR |
| 3160 | ><TD |
| 3161 | WIDTH="20%" |
| 3162 | ALIGN="RIGHT" |
| 3163 | VALIGN="TOP" |
| 3164 | ><I |
| 3165 | CLASS="EMPHASIS" |
| 3166 | >Returns</I |
| 3167 | > :</TD |
| 3168 | ><TD |
| 3169 | WIDTH="80%" |
| 3170 | ALIGN="LEFT" |
| 3171 | VALIGN="TOP" |
| 3172 | >the newly created object.</TD |
| 3173 | ></TR |
| 3174 | ></TABLE |
| 3175 | ><P |
| 3176 | ></P |
| 3177 | ></DIV |
| 3178 | ></DIV |
| 3179 | ><HR><DIV |
| 3180 | CLASS="REFSECT2" |
| 3181 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 3182 | NAME="AEN11821" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 3183 | ></A |
| 3184 | ><H3 |
| 3185 | ><A |
| 3186 | NAME="XMLXPATHNEWBOOLEAN" |
| 3187 | ></A |
| 3188 | >xmlXPathNewBoolean ()</H3 |
| 3189 | ><TABLE |
| 3190 | BORDER="0" |
| 3191 | BGCOLOR="#D6E8FF" |
| 3192 | WIDTH="100%" |
| 3193 | CELLPADDING="6" |
| 3194 | ><TR |
| 3195 | ><TD |
| 3196 | ><PRE |
| 3197 | CLASS="PROGRAMLISTING" |
| 3198 | ><A |
| 3199 | HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" |
| 3200 | >xmlXPathObjectPtr</A |
| 3201 | > xmlXPathNewBoolean (int val);</PRE |
| 3202 | ></TD |
| 3203 | ></TR |
| 3204 | ></TABLE |
| 3205 | ><P |
| 3206 | >Create a new xmlXPathObjectPtr of type boolean and of value <TT |
| 3207 | CLASS="PARAMETER" |
| 3208 | ><I |
| 3209 | >val</I |
| 3210 | ></TT |
| 3211 | ></P |
| 3212 | ><P |
| 3213 | ></P |
| 3214 | ><DIV |
| 3215 | CLASS="INFORMALTABLE" |
| 3216 | ><P |
| 3217 | ></P |
| 3218 | ><TABLE |
| 3219 | BORDER="0" |
| 3220 | WIDTH="100%" |
| 3221 | BGCOLOR="#FFD0D0" |
| 3222 | CELLSPACING="0" |
| 3223 | CELLPADDING="4" |
| 3224 | CLASS="CALSTABLE" |
| 3225 | ><TR |
| 3226 | ><TD |
| 3227 | WIDTH="20%" |
| 3228 | ALIGN="RIGHT" |
| 3229 | VALIGN="TOP" |
| 3230 | ><TT |
| 3231 | CLASS="PARAMETER" |
| 3232 | ><I |
| 3233 | >val</I |
| 3234 | ></TT |
| 3235 | > :</TD |
| 3236 | ><TD |
| 3237 | WIDTH="80%" |
| 3238 | ALIGN="LEFT" |
| 3239 | VALIGN="TOP" |
| 3240 | > the boolean value</TD |
| 3241 | ></TR |
| 3242 | ><TR |
| 3243 | ><TD |
| 3244 | WIDTH="20%" |
| 3245 | ALIGN="RIGHT" |
| 3246 | VALIGN="TOP" |
| 3247 | ><I |
| 3248 | CLASS="EMPHASIS" |
| 3249 | >Returns</I |
| 3250 | > :</TD |
| 3251 | ><TD |
| 3252 | WIDTH="80%" |
| 3253 | ALIGN="LEFT" |
| 3254 | VALIGN="TOP" |
| 3255 | >the newly created object.</TD |
| 3256 | ></TR |
| 3257 | ></TABLE |
| 3258 | ><P |
| 3259 | ></P |
| 3260 | ></DIV |
| 3261 | ></DIV |
| 3262 | ><HR><DIV |
| 3263 | CLASS="REFSECT2" |
| 3264 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 3265 | NAME="AEN11842" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 3266 | ></A |
| 3267 | ><H3 |
| 3268 | ><A |
| 3269 | NAME="XMLXPATHNEWNODESET" |
| 3270 | ></A |
| 3271 | >xmlXPathNewNodeSet ()</H3 |
| 3272 | ><TABLE |
| 3273 | BORDER="0" |
| 3274 | BGCOLOR="#D6E8FF" |
| 3275 | WIDTH="100%" |
| 3276 | CELLPADDING="6" |
| 3277 | ><TR |
| 3278 | ><TD |
| 3279 | ><PRE |
| 3280 | CLASS="PROGRAMLISTING" |
| 3281 | ><A |
| 3282 | HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" |
| 3283 | >xmlXPathObjectPtr</A |
| 3284 | > xmlXPathNewNodeSet (<A |
| 3285 | HREF="gnome-xml-tree.html#XMLNODEPTR" |
| 3286 | >xmlNodePtr</A |
| 3287 | > val);</PRE |
| 3288 | ></TD |
| 3289 | ></TR |
| 3290 | ></TABLE |
| 3291 | ><P |
| 3292 | >Create a new xmlXPathObjectPtr of type NodeSet and initialize |
| 3293 | it with the single Node <TT |
| 3294 | CLASS="PARAMETER" |
| 3295 | ><I |
| 3296 | >val</I |
| 3297 | ></TT |
| 3298 | ></P |
| 3299 | ><P |
| 3300 | ></P |
| 3301 | ><DIV |
| 3302 | CLASS="INFORMALTABLE" |
| 3303 | ><P |
| 3304 | ></P |
| 3305 | ><TABLE |
| 3306 | BORDER="0" |
| 3307 | WIDTH="100%" |
| 3308 | BGCOLOR="#FFD0D0" |
| 3309 | CELLSPACING="0" |
| 3310 | CELLPADDING="4" |
| 3311 | CLASS="CALSTABLE" |
| 3312 | ><TR |
| 3313 | ><TD |
| 3314 | WIDTH="20%" |
| 3315 | ALIGN="RIGHT" |
| 3316 | VALIGN="TOP" |
| 3317 | ><TT |
| 3318 | CLASS="PARAMETER" |
| 3319 | ><I |
| 3320 | >val</I |
| 3321 | ></TT |
| 3322 | > :</TD |
| 3323 | ><TD |
| 3324 | WIDTH="80%" |
| 3325 | ALIGN="LEFT" |
| 3326 | VALIGN="TOP" |
| 3327 | > the NodePtr value</TD |
| 3328 | ></TR |
| 3329 | ><TR |
| 3330 | ><TD |
| 3331 | WIDTH="20%" |
| 3332 | ALIGN="RIGHT" |
| 3333 | VALIGN="TOP" |
| 3334 | ><I |
| 3335 | CLASS="EMPHASIS" |
| 3336 | >Returns</I |
| 3337 | > :</TD |
| 3338 | ><TD |
| 3339 | WIDTH="80%" |
| 3340 | ALIGN="LEFT" |
| 3341 | VALIGN="TOP" |
| 3342 | >the newly created object.</TD |
| 3343 | ></TR |
| 3344 | ></TABLE |
| 3345 | ><P |
| 3346 | ></P |
| 3347 | ></DIV |
| 3348 | ></DIV |
| 3349 | ><HR><DIV |
| 3350 | CLASS="REFSECT2" |
| 3351 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 3352 | NAME="AEN11864" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 3353 | ></A |
| 3354 | ><H3 |
| 3355 | ><A |
| 3356 | NAME="XMLXPATHNODESETADD" |
| 3357 | ></A |
| 3358 | >xmlXPathNodeSetAdd ()</H3 |
| 3359 | ><TABLE |
| 3360 | BORDER="0" |
| 3361 | BGCOLOR="#D6E8FF" |
| 3362 | WIDTH="100%" |
| 3363 | CELLPADDING="6" |
| 3364 | ><TR |
| 3365 | ><TD |
| 3366 | ><PRE |
| 3367 | CLASS="PROGRAMLISTING" |
| 3368 | >void xmlXPathNodeSetAdd (<A |
| 3369 | HREF="gnome-xml-xpath.html#XMLNODESETPTR" |
| 3370 | >xmlNodeSetPtr</A |
| 3371 | > cur, |
| 3372 | <A |
| 3373 | HREF="gnome-xml-tree.html#XMLNODEPTR" |
| 3374 | >xmlNodePtr</A |
| 3375 | > val);</PRE |
| 3376 | ></TD |
| 3377 | ></TR |
| 3378 | ></TABLE |
| 3379 | ><P |
| 3380 | >add a new xmlNodePtr ot an existing NodeSet</P |
| 3381 | ><P |
| 3382 | ></P |
| 3383 | ><DIV |
| 3384 | CLASS="INFORMALTABLE" |
| 3385 | ><P |
| 3386 | ></P |
| 3387 | ><TABLE |
| 3388 | BORDER="0" |
| 3389 | WIDTH="100%" |
| 3390 | BGCOLOR="#FFD0D0" |
| 3391 | CELLSPACING="0" |
| 3392 | CELLPADDING="4" |
| 3393 | CLASS="CALSTABLE" |
| 3394 | ><TR |
| 3395 | ><TD |
| 3396 | WIDTH="20%" |
| 3397 | ALIGN="RIGHT" |
| 3398 | VALIGN="TOP" |
| 3399 | ><TT |
| 3400 | CLASS="PARAMETER" |
| 3401 | ><I |
| 3402 | >cur</I |
| 3403 | ></TT |
| 3404 | > :</TD |
| 3405 | ><TD |
| 3406 | WIDTH="80%" |
| 3407 | ALIGN="LEFT" |
| 3408 | VALIGN="TOP" |
| 3409 | > the initial node set</TD |
| 3410 | ></TR |
| 3411 | ><TR |
| 3412 | ><TD |
| 3413 | WIDTH="20%" |
| 3414 | ALIGN="RIGHT" |
| 3415 | VALIGN="TOP" |
| 3416 | ><TT |
| 3417 | CLASS="PARAMETER" |
| 3418 | ><I |
| 3419 | >val</I |
| 3420 | ></TT |
| 3421 | > :</TD |
| 3422 | ><TD |
| 3423 | WIDTH="80%" |
| 3424 | ALIGN="LEFT" |
| 3425 | VALIGN="TOP" |
| 3426 | > a new xmlNodePtr</TD |
| 3427 | ></TR |
| 3428 | ></TABLE |
| 3429 | ><P |
| 3430 | ></P |
| 3431 | ></DIV |
| 3432 | ></DIV |
| 3433 | ><HR><DIV |
| 3434 | CLASS="REFSECT2" |
| 3435 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 3436 | NAME="AEN11885" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 3437 | ></A |
| 3438 | ><H3 |
| 3439 | ><A |
| 3440 | NAME="XMLXPATHIDFUNCTION" |
| 3441 | ></A |
| 3442 | >xmlXPathIdFunction ()</H3 |
| 3443 | ><TABLE |
| 3444 | BORDER="0" |
| 3445 | BGCOLOR="#D6E8FF" |
| 3446 | WIDTH="100%" |
| 3447 | CELLPADDING="6" |
| 3448 | ><TR |
| 3449 | ><TD |
| 3450 | ><PRE |
| 3451 | CLASS="PROGRAMLISTING" |
| 3452 | >void xmlXPathIdFunction (<A |
| 3453 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 3454 | >xmlXPathParserContextPtr</A |
| 3455 | > ctxt, |
| 3456 | int nargs);</PRE |
| 3457 | ></TD |
| 3458 | ></TR |
| 3459 | ></TABLE |
| 3460 | ><P |
| 3461 | >Implement the <GTKDOCLINK |
| 3462 | HREF="ID" |
| 3463 | >id</GTKDOCLINK |
| 3464 | >() XPath function |
| 3465 | node-set id(object) |
| 3466 | The id function selects elements by their unique ID |
| 3467 | (see [5.2.1 Unique IDs]). When the argument to id is of type node-set, |
| 3468 | then the result is the union of the result of applying id to the |
| 3469 | string value of each of the nodes in the argument node-set. When the |
| 3470 | argument to id is of any other type, the argument is converted to a |
| 3471 | string as if by a call to the string function; the string is split |
| 3472 | into a whitespace-separated list of tokens (whitespace is any sequence |
| 3473 | of characters matching the production S); the result is a node-set |
| 3474 | containing the elements in the same document as the context node that |
| 3475 | have a unique ID equal to any of the tokens in the list.</P |
| 3476 | ><P |
| 3477 | ></P |
| 3478 | ><DIV |
| 3479 | CLASS="INFORMALTABLE" |
| 3480 | ><P |
| 3481 | ></P |
| 3482 | ><TABLE |
| 3483 | BORDER="0" |
| 3484 | WIDTH="100%" |
| 3485 | BGCOLOR="#FFD0D0" |
| 3486 | CELLSPACING="0" |
| 3487 | CELLPADDING="4" |
| 3488 | CLASS="CALSTABLE" |
| 3489 | ><TR |
| 3490 | ><TD |
| 3491 | WIDTH="20%" |
| 3492 | ALIGN="RIGHT" |
| 3493 | VALIGN="TOP" |
| 3494 | ><TT |
| 3495 | CLASS="PARAMETER" |
| 3496 | ><I |
| 3497 | >ctxt</I |
| 3498 | ></TT |
| 3499 | > :</TD |
| 3500 | ><TD |
| 3501 | WIDTH="80%" |
| 3502 | ALIGN="LEFT" |
| 3503 | VALIGN="TOP" |
| 3504 | > the XPath Parser context</TD |
| 3505 | ></TR |
| 3506 | ><TR |
| 3507 | ><TD |
| 3508 | WIDTH="20%" |
| 3509 | ALIGN="RIGHT" |
| 3510 | VALIGN="TOP" |
| 3511 | ><TT |
| 3512 | CLASS="PARAMETER" |
| 3513 | ><I |
| 3514 | >nargs</I |
| 3515 | ></TT |
| 3516 | > :</TD |
| 3517 | ><TD |
| 3518 | WIDTH="80%" |
| 3519 | ALIGN="LEFT" |
| 3520 | VALIGN="TOP" |
| 3521 | > </TD |
| 3522 | ></TR |
| 3523 | ></TABLE |
| 3524 | ><P |
| 3525 | ></P |
| 3526 | ></DIV |
| 3527 | ></DIV |
| 3528 | ><HR><DIV |
| 3529 | CLASS="REFSECT2" |
| 3530 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 3531 | NAME="AEN11906" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 3532 | ></A |
| 3533 | ><H3 |
| 3534 | ><A |
| 3535 | NAME="XMLXPATHROOT" |
| 3536 | ></A |
| 3537 | >xmlXPathRoot ()</H3 |
| 3538 | ><TABLE |
| 3539 | BORDER="0" |
| 3540 | BGCOLOR="#D6E8FF" |
| 3541 | WIDTH="100%" |
| 3542 | CELLPADDING="6" |
| 3543 | ><TR |
| 3544 | ><TD |
| 3545 | ><PRE |
| 3546 | CLASS="PROGRAMLISTING" |
| 3547 | >void xmlXPathRoot (<A |
| 3548 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 3549 | >xmlXPathParserContextPtr</A |
| 3550 | > ctxt);</PRE |
| 3551 | ></TD |
| 3552 | ></TR |
| 3553 | ></TABLE |
| 3554 | ><P |
| 3555 | >Initialize the context to the root of the document</P |
| 3556 | ><P |
| 3557 | ></P |
| 3558 | ><DIV |
| 3559 | CLASS="INFORMALTABLE" |
| 3560 | ><P |
| 3561 | ></P |
| 3562 | ><TABLE |
| 3563 | BORDER="0" |
| 3564 | WIDTH="100%" |
| 3565 | BGCOLOR="#FFD0D0" |
| 3566 | CELLSPACING="0" |
| 3567 | CELLPADDING="4" |
| 3568 | CLASS="CALSTABLE" |
| 3569 | ><TR |
| 3570 | ><TD |
| 3571 | WIDTH="20%" |
| 3572 | ALIGN="RIGHT" |
| 3573 | VALIGN="TOP" |
| 3574 | ><TT |
| 3575 | CLASS="PARAMETER" |
| 3576 | ><I |
| 3577 | >ctxt</I |
| 3578 | ></TT |
| 3579 | > :</TD |
| 3580 | ><TD |
| 3581 | WIDTH="80%" |
| 3582 | ALIGN="LEFT" |
| 3583 | VALIGN="TOP" |
| 3584 | > the XPath Parser context</TD |
| 3585 | ></TR |
| 3586 | ></TABLE |
| 3587 | ><P |
| 3588 | ></P |
| 3589 | ></DIV |
| 3590 | ></DIV |
| 3591 | ><HR><DIV |
| 3592 | CLASS="REFSECT2" |
| 3593 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 3594 | NAME="AEN11922" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 3595 | ></A |
| 3596 | ><H3 |
| 3597 | ><A |
| 3598 | NAME="XMLXPATHEVALEXPR" |
| 3599 | ></A |
| 3600 | >xmlXPathEvalExpr ()</H3 |
| 3601 | ><TABLE |
| 3602 | BORDER="0" |
| 3603 | BGCOLOR="#D6E8FF" |
| 3604 | WIDTH="100%" |
| 3605 | CELLPADDING="6" |
| 3606 | ><TR |
| 3607 | ><TD |
| 3608 | ><PRE |
| 3609 | CLASS="PROGRAMLISTING" |
| 3610 | >void xmlXPathEvalExpr (<A |
| 3611 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 3612 | >xmlXPathParserContextPtr</A |
| 3613 | > ctxt);</PRE |
| 3614 | ></TD |
| 3615 | ></TR |
| 3616 | ></TABLE |
| 3617 | ><P |
| 3618 | >[14] Expr ::= OrExpr |
| 3619 | [21] OrExpr ::= AndExpr |
| 3620 | | OrExpr 'or' AndExpr </P |
| 3621 | ><P |
| 3622 | >Parse and evaluate an expression, then push the result on the stack</P |
| 3623 | ><P |
| 3624 | ></P |
| 3625 | ><DIV |
| 3626 | CLASS="INFORMALTABLE" |
| 3627 | ><P |
| 3628 | ></P |
| 3629 | ><TABLE |
| 3630 | BORDER="0" |
| 3631 | WIDTH="100%" |
| 3632 | BGCOLOR="#FFD0D0" |
| 3633 | CELLSPACING="0" |
| 3634 | CELLPADDING="4" |
| 3635 | CLASS="CALSTABLE" |
| 3636 | ><TR |
| 3637 | ><TD |
| 3638 | WIDTH="20%" |
| 3639 | ALIGN="RIGHT" |
| 3640 | VALIGN="TOP" |
| 3641 | ><TT |
| 3642 | CLASS="PARAMETER" |
| 3643 | ><I |
| 3644 | >ctxt</I |
| 3645 | ></TT |
| 3646 | > :</TD |
| 3647 | ><TD |
| 3648 | WIDTH="80%" |
| 3649 | ALIGN="LEFT" |
| 3650 | VALIGN="TOP" |
| 3651 | > the XPath Parser context</TD |
| 3652 | ></TR |
| 3653 | ></TABLE |
| 3654 | ><P |
| 3655 | ></P |
| 3656 | ></DIV |
| 3657 | ></DIV |
| 3658 | ><HR><DIV |
| 3659 | CLASS="REFSECT2" |
| 3660 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 3661 | NAME="AEN11939" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 3662 | ></A |
| 3663 | ><H3 |
| 3664 | ><A |
| 3665 | NAME="XMLXPATHPARSENAME" |
| 3666 | ></A |
| 3667 | >xmlXPathParseName ()</H3 |
| 3668 | ><TABLE |
| 3669 | BORDER="0" |
| 3670 | BGCOLOR="#D6E8FF" |
| 3671 | WIDTH="100%" |
| 3672 | CELLPADDING="6" |
| 3673 | ><TR |
| 3674 | ><TD |
| 3675 | ><PRE |
| 3676 | CLASS="PROGRAMLISTING" |
| 3677 | ><A |
| 3678 | HREF="gnome-xml-tree.html#XMLCHAR" |
| 3679 | >xmlChar</A |
| 3680 | >* xmlXPathParseName (<A |
| 3681 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 3682 | >xmlXPathParserContextPtr</A |
| 3683 | > ctxt);</PRE |
| 3684 | ></TD |
| 3685 | ></TR |
| 3686 | ></TABLE |
| 3687 | ><P |
| 3688 | >parse an XML name</P |
| 3689 | ><P |
| 3690 | >[4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' | |
| 3691 | CombiningChar | Extender</P |
| 3692 | ><P |
| 3693 | >[5] Name ::= (Letter | '_' | ':') (NameChar)*</P |
| 3694 | ><P |
| 3695 | ></P |
| 3696 | ><DIV |
| 3697 | CLASS="INFORMALTABLE" |
| 3698 | ><P |
| 3699 | ></P |
| 3700 | ><TABLE |
| 3701 | BORDER="0" |
| 3702 | WIDTH="100%" |
| 3703 | BGCOLOR="#FFD0D0" |
| 3704 | CELLSPACING="0" |
| 3705 | CELLPADDING="4" |
| 3706 | CLASS="CALSTABLE" |
| 3707 | ><TR |
| 3708 | ><TD |
| 3709 | WIDTH="20%" |
| 3710 | ALIGN="RIGHT" |
| 3711 | VALIGN="TOP" |
| 3712 | ><TT |
| 3713 | CLASS="PARAMETER" |
| 3714 | ><I |
| 3715 | >ctxt</I |
| 3716 | ></TT |
| 3717 | > :</TD |
| 3718 | ><TD |
| 3719 | WIDTH="80%" |
| 3720 | ALIGN="LEFT" |
| 3721 | VALIGN="TOP" |
| 3722 | > the XPointer Parser context</TD |
| 3723 | ></TR |
| 3724 | ><TR |
| 3725 | ><TD |
| 3726 | WIDTH="20%" |
| 3727 | ALIGN="RIGHT" |
| 3728 | VALIGN="TOP" |
| 3729 | ><I |
| 3730 | CLASS="EMPHASIS" |
| 3731 | >Returns</I |
| 3732 | > :</TD |
| 3733 | ><TD |
| 3734 | WIDTH="80%" |
| 3735 | ALIGN="LEFT" |
| 3736 | VALIGN="TOP" |
| 3737 | >the namespace name or NULL</TD |
| 3738 | ></TR |
| 3739 | ></TABLE |
| 3740 | ><P |
| 3741 | ></P |
| 3742 | ></DIV |
| 3743 | ></DIV |
| 3744 | ><HR><DIV |
| 3745 | CLASS="REFSECT2" |
| 3746 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 3747 | NAME="AEN11962" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 3748 | ></A |
| 3749 | ><H3 |
| 3750 | ><A |
| 3751 | NAME="XMLXPATHSTRINGEVALNUMBER" |
| 3752 | ></A |
| 3753 | >xmlXPathStringEvalNumber ()</H3 |
| 3754 | ><TABLE |
| 3755 | BORDER="0" |
| 3756 | BGCOLOR="#D6E8FF" |
| 3757 | WIDTH="100%" |
| 3758 | CELLPADDING="6" |
| 3759 | ><TR |
| 3760 | ><TD |
| 3761 | ><PRE |
| 3762 | CLASS="PROGRAMLISTING" |
| 3763 | ><GTKDOCLINK |
| 3764 | HREF="DOUBLE" |
| 3765 | >double</GTKDOCLINK |
| 3766 | > xmlXPathStringEvalNumber (const <A |
| 3767 | HREF="gnome-xml-tree.html#XMLCHAR" |
| 3768 | >xmlChar</A |
| 3769 | > *str);</PRE |
| 3770 | ></TD |
| 3771 | ></TR |
| 3772 | ></TABLE |
| 3773 | ><P |
| 3774 | >[30] Number ::= Digits ('.' Digits?)? |
| 3775 | | '.' Digits |
| 3776 | [31] Digits ::= [0-9]+</P |
| 3777 | ><P |
| 3778 | >Parse and evaluate a Number in the string |
| 3779 | In complement of the Number expression, this function also handles |
| 3780 | negative values : '-' Number.</P |
| 3781 | ><P |
| 3782 | ></P |
| 3783 | ><DIV |
| 3784 | CLASS="INFORMALTABLE" |
| 3785 | ><P |
| 3786 | ></P |
| 3787 | ><TABLE |
| 3788 | BORDER="0" |
| 3789 | WIDTH="100%" |
| 3790 | BGCOLOR="#FFD0D0" |
| 3791 | CELLSPACING="0" |
| 3792 | CELLPADDING="4" |
| 3793 | CLASS="CALSTABLE" |
| 3794 | ><TR |
| 3795 | ><TD |
| 3796 | WIDTH="20%" |
| 3797 | ALIGN="RIGHT" |
| 3798 | VALIGN="TOP" |
| 3799 | ><TT |
| 3800 | CLASS="PARAMETER" |
| 3801 | ><I |
| 3802 | >str</I |
| 3803 | ></TT |
| 3804 | > :</TD |
| 3805 | ><TD |
| 3806 | WIDTH="80%" |
| 3807 | ALIGN="LEFT" |
| 3808 | VALIGN="TOP" |
| 3809 | > A string to scan</TD |
| 3810 | ></TR |
| 3811 | ><TR |
| 3812 | ><TD |
| 3813 | WIDTH="20%" |
| 3814 | ALIGN="RIGHT" |
| 3815 | VALIGN="TOP" |
| 3816 | ><I |
| 3817 | CLASS="EMPHASIS" |
| 3818 | >Returns</I |
| 3819 | > :</TD |
| 3820 | ><TD |
| 3821 | WIDTH="80%" |
| 3822 | ALIGN="LEFT" |
| 3823 | VALIGN="TOP" |
| 3824 | >the double value.</TD |
| 3825 | ></TR |
| 3826 | ></TABLE |
| 3827 | ><P |
| 3828 | ></P |
| 3829 | ></DIV |
| 3830 | ></DIV |
| 3831 | ><HR><DIV |
| 3832 | CLASS="REFSECT2" |
| 3833 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 3834 | NAME="AEN11984" |
| 3835 | ></A |
| 3836 | ><H3 |
| 3837 | ><A |
| 3838 | NAME="XMLXPATHEVALUATEPREDICATERESULT" |
| 3839 | ></A |
| 3840 | >xmlXPathEvaluatePredicateResult ()</H3 |
| 3841 | ><TABLE |
| 3842 | BORDER="0" |
| 3843 | BGCOLOR="#D6E8FF" |
| 3844 | WIDTH="100%" |
| 3845 | CELLPADDING="6" |
| 3846 | ><TR |
| 3847 | ><TD |
| 3848 | ><PRE |
| 3849 | CLASS="PROGRAMLISTING" |
| 3850 | >int xmlXPathEvaluatePredicateResult (<A |
| 3851 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 3852 | >xmlXPathParserContextPtr</A |
| 3853 | > ctxt, |
| 3854 | <A |
| 3855 | HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" |
| 3856 | >xmlXPathObjectPtr</A |
| 3857 | > res);</PRE |
| 3858 | ></TD |
| 3859 | ></TR |
| 3860 | ></TABLE |
| 3861 | ><P |
| 3862 | >Evaluate a predicate result for the current node. |
| 3863 | A PredicateExpr is evaluated by evaluating the Expr and converting |
| 3864 | the result to a boolean. If the result is a number, the result will |
| 3865 | be converted to true if the number is equal to the position of the |
| 3866 | context node in the context node list (as returned by the position |
| 3867 | function) and will be converted to false otherwise; if the result |
| 3868 | is not a number, then the result will be converted as if by a call |
| 3869 | to the boolean function.</P |
| 3870 | ><P |
| 3871 | ></P |
| 3872 | ><DIV |
| 3873 | CLASS="INFORMALTABLE" |
| 3874 | ><P |
| 3875 | ></P |
| 3876 | ><TABLE |
| 3877 | BORDER="0" |
| 3878 | WIDTH="100%" |
| 3879 | BGCOLOR="#FFD0D0" |
| 3880 | CELLSPACING="0" |
| 3881 | CELLPADDING="4" |
| 3882 | CLASS="CALSTABLE" |
| 3883 | ><TR |
| 3884 | ><TD |
| 3885 | WIDTH="20%" |
| 3886 | ALIGN="RIGHT" |
| 3887 | VALIGN="TOP" |
| 3888 | ><TT |
| 3889 | CLASS="PARAMETER" |
| 3890 | ><I |
| 3891 | >ctxt</I |
| 3892 | ></TT |
| 3893 | > :</TD |
| 3894 | ><TD |
| 3895 | WIDTH="80%" |
| 3896 | ALIGN="LEFT" |
| 3897 | VALIGN="TOP" |
| 3898 | > the XPath Parser context</TD |
| 3899 | ></TR |
| 3900 | ><TR |
| 3901 | ><TD |
| 3902 | WIDTH="20%" |
| 3903 | ALIGN="RIGHT" |
| 3904 | VALIGN="TOP" |
| 3905 | ><TT |
| 3906 | CLASS="PARAMETER" |
| 3907 | ><I |
| 3908 | >res</I |
| 3909 | ></TT |
| 3910 | > :</TD |
| 3911 | ><TD |
| 3912 | WIDTH="80%" |
| 3913 | ALIGN="LEFT" |
| 3914 | VALIGN="TOP" |
| 3915 | > the Predicate Expression evaluation result</TD |
| 3916 | ></TR |
| 3917 | ><TR |
| 3918 | ><TD |
| 3919 | WIDTH="20%" |
| 3920 | ALIGN="RIGHT" |
| 3921 | VALIGN="TOP" |
| 3922 | ><I |
| 3923 | CLASS="EMPHASIS" |
| 3924 | >Returns</I |
| 3925 | > :</TD |
| 3926 | ><TD |
| 3927 | WIDTH="80%" |
| 3928 | ALIGN="LEFT" |
| 3929 | VALIGN="TOP" |
| 3930 | > </TD |
| 3931 | ></TR |
| 3932 | ></TABLE |
| 3933 | ><P |
| 3934 | ></P |
| 3935 | ></DIV |
| 3936 | ></DIV |
| 3937 | ><HR><DIV |
| 3938 | CLASS="REFSECT2" |
| 3939 | ><A |
| 3940 | NAME="AEN12009" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 3941 | ></A |
| 3942 | ><H3 |
| 3943 | ><A |
| 3944 | NAME="XMLXPATHINIT" |
| 3945 | ></A |
| 3946 | >xmlXPathInit ()</H3 |
| 3947 | ><TABLE |
| 3948 | BORDER="0" |
| 3949 | BGCOLOR="#D6E8FF" |
| 3950 | WIDTH="100%" |
| 3951 | CELLPADDING="6" |
| 3952 | ><TR |
| 3953 | ><TD |
| 3954 | ><PRE |
| 3955 | CLASS="PROGRAMLISTING" |
| 3956 | >void xmlXPathInit (void);</PRE |
| 3957 | ></TD |
| 3958 | ></TR |
| 3959 | ></TABLE |
| 3960 | ><P |
| 3961 | >Initialize the XPath environment</P |
| 3962 | ><P |
| 3963 | ></P |
| 3964 | ></DIV |
| 3965 | ><HR><DIV |
| 3966 | CLASS="REFSECT2" |
| 3967 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 3968 | NAME="AEN12015" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 3969 | ></A |
| 3970 | ><H3 |
| 3971 | ><A |
| 3972 | NAME="XMLXPATHSTRINGFUNCTION" |
| 3973 | ></A |
| 3974 | >xmlXPathStringFunction ()</H3 |
| 3975 | ><TABLE |
| 3976 | BORDER="0" |
| 3977 | BGCOLOR="#D6E8FF" |
| 3978 | WIDTH="100%" |
| 3979 | CELLPADDING="6" |
| 3980 | ><TR |
| 3981 | ><TD |
| 3982 | ><PRE |
| 3983 | CLASS="PROGRAMLISTING" |
| 3984 | >void xmlXPathStringFunction (<A |
| 3985 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 3986 | >xmlXPathParserContextPtr</A |
| 3987 | > ctxt, |
| 3988 | int nargs);</PRE |
| 3989 | ></TD |
| 3990 | ></TR |
| 3991 | ></TABLE |
| 3992 | ><P |
| 3993 | >Implement the <GTKDOCLINK |
| 3994 | HREF="STRING" |
| 3995 | >string</GTKDOCLINK |
| 3996 | >() XPath function |
| 3997 | string string(object?) |
| 3998 | he string function converts an object to a string as follows: |
| 3999 | - A node-set is converted to a string by returning the value of |
| 4000 | the node in the node-set that is first in document order. |
| 4001 | If the node-set is empty, an empty string is returned. |
| 4002 | - A number is converted to a string as follows |
| 4003 | + NaN is converted to the string NaN |
| 4004 | + positive zero is converted to the string 0 |
| 4005 | + negative zero is converted to the string 0 |
| 4006 | + positive infinity is converted to the string Infinity |
| 4007 | + negative infinity is converted to the string -Infinity |
| 4008 | + if the number is an integer, the number is represented in |
| 4009 | decimal form as a Number with no decimal point and no leading |
| 4010 | zeros, preceded by a minus sign (-) if the number is negative |
| 4011 | + otherwise, the number is represented in decimal form as a |
| 4012 | Number including a decimal point with at least one digit |
| 4013 | before the decimal point and at least one digit after the |
| 4014 | decimal point, preceded by a minus sign (-) if the number |
| 4015 | is negative; there must be no leading zeros before the decimal |
| 4016 | point apart possibly from the one required digit immediatelyi |
| 4017 | before the decimal point; beyond the one required digit |
| 4018 | after the decimal point there must be as many, but only as |
| 4019 | many, more digits as are needed to uniquely distinguish the |
| 4020 | number from all other IEEE 754 numeric values. |
| 4021 | - The boolean false value is converted to the string false. |
| 4022 | The boolean true value is converted to the string true.</P |
| 4023 | ><P |
| 4024 | >If the argument is omitted, it defaults to a node-set with the |
| 4025 | context node as its only member.</P |
| 4026 | ><P |
| 4027 | ></P |
| 4028 | ><DIV |
| 4029 | CLASS="INFORMALTABLE" |
| 4030 | ><P |
| 4031 | ></P |
| 4032 | ><TABLE |
| 4033 | BORDER="0" |
| 4034 | WIDTH="100%" |
| 4035 | BGCOLOR="#FFD0D0" |
| 4036 | CELLSPACING="0" |
| 4037 | CELLPADDING="4" |
| 4038 | CLASS="CALSTABLE" |
| 4039 | ><TR |
| 4040 | ><TD |
| 4041 | WIDTH="20%" |
| 4042 | ALIGN="RIGHT" |
| 4043 | VALIGN="TOP" |
| 4044 | ><TT |
| 4045 | CLASS="PARAMETER" |
| 4046 | ><I |
| 4047 | >ctxt</I |
| 4048 | ></TT |
| 4049 | > :</TD |
| 4050 | ><TD |
| 4051 | WIDTH="80%" |
| 4052 | ALIGN="LEFT" |
| 4053 | VALIGN="TOP" |
| 4054 | > the XPath Parser context</TD |
| 4055 | ></TR |
| 4056 | ><TR |
| 4057 | ><TD |
| 4058 | WIDTH="20%" |
| 4059 | ALIGN="RIGHT" |
| 4060 | VALIGN="TOP" |
| 4061 | ><TT |
| 4062 | CLASS="PARAMETER" |
| 4063 | ><I |
| 4064 | >nargs</I |
| 4065 | ></TT |
| 4066 | > :</TD |
| 4067 | ><TD |
| 4068 | WIDTH="80%" |
| 4069 | ALIGN="LEFT" |
| 4070 | VALIGN="TOP" |
| 4071 | > </TD |
| 4072 | ></TR |
| 4073 | ></TABLE |
| 4074 | ><P |
| 4075 | ></P |
| 4076 | ></DIV |
| 4077 | ></DIV |
| 4078 | ><HR><DIV |
| 4079 | CLASS="REFSECT2" |
| 4080 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 4081 | NAME="AEN12037" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 4082 | ></A |
| 4083 | ><H3 |
| 4084 | ><A |
| 4085 | NAME="XMLXPATHREGISTERALLFUNCTIONS" |
| 4086 | ></A |
| 4087 | >xmlXPathRegisterAllFunctions ()</H3 |
| 4088 | ><TABLE |
| 4089 | BORDER="0" |
| 4090 | BGCOLOR="#D6E8FF" |
| 4091 | WIDTH="100%" |
| 4092 | CELLPADDING="6" |
| 4093 | ><TR |
| 4094 | ><TD |
| 4095 | ><PRE |
| 4096 | CLASS="PROGRAMLISTING" |
| 4097 | >void xmlXPathRegisterAllFunctions (<A |
| 4098 | HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR" |
| 4099 | >xmlXPathContextPtr</A |
| 4100 | > ctxt);</PRE |
| 4101 | ></TD |
| 4102 | ></TR |
| 4103 | ></TABLE |
| 4104 | ><P |
| 4105 | ></P |
| 4106 | ><DIV |
| 4107 | CLASS="INFORMALTABLE" |
| 4108 | ><P |
| 4109 | ></P |
| 4110 | ><TABLE |
| 4111 | BORDER="0" |
| 4112 | WIDTH="100%" |
| 4113 | BGCOLOR="#FFD0D0" |
| 4114 | CELLSPACING="0" |
| 4115 | CELLPADDING="4" |
| 4116 | CLASS="CALSTABLE" |
| 4117 | ><TR |
| 4118 | ><TD |
| 4119 | WIDTH="20%" |
| 4120 | ALIGN="RIGHT" |
| 4121 | VALIGN="TOP" |
| 4122 | ><TT |
| 4123 | CLASS="PARAMETER" |
| 4124 | ><I |
| 4125 | >ctxt</I |
| 4126 | ></TT |
| 4127 | > :</TD |
| 4128 | ><TD |
| 4129 | WIDTH="80%" |
| 4130 | ALIGN="LEFT" |
| 4131 | VALIGN="TOP" |
| 4132 | > </TD |
| 4133 | ></TR |
| 4134 | ></TABLE |
| 4135 | ><P |
| 4136 | ></P |
| 4137 | ></DIV |
| 4138 | ></DIV |
| 4139 | ><HR><DIV |
| 4140 | CLASS="REFSECT2" |
| 4141 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 4142 | NAME="AEN12052" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 4143 | ></A |
| 4144 | ><H3 |
| 4145 | ><A |
| 4146 | NAME="XMLXPATHNODESETCREATE" |
| 4147 | ></A |
| 4148 | >xmlXPathNodeSetCreate ()</H3 |
| 4149 | ><TABLE |
| 4150 | BORDER="0" |
| 4151 | BGCOLOR="#D6E8FF" |
| 4152 | WIDTH="100%" |
| 4153 | CELLPADDING="6" |
| 4154 | ><TR |
| 4155 | ><TD |
| 4156 | ><PRE |
| 4157 | CLASS="PROGRAMLISTING" |
| 4158 | ><A |
| 4159 | HREF="gnome-xml-xpath.html#XMLNODESETPTR" |
| 4160 | >xmlNodeSetPtr</A |
| 4161 | > xmlXPathNodeSetCreate (<A |
| 4162 | HREF="gnome-xml-tree.html#XMLNODEPTR" |
| 4163 | >xmlNodePtr</A |
| 4164 | > val);</PRE |
| 4165 | ></TD |
| 4166 | ></TR |
| 4167 | ></TABLE |
| 4168 | ><P |
| 4169 | >Create a new xmlNodeSetPtr of type double and of value <TT |
| 4170 | CLASS="PARAMETER" |
| 4171 | ><I |
| 4172 | >val</I |
| 4173 | ></TT |
| 4174 | ></P |
| 4175 | ><P |
| 4176 | ></P |
| 4177 | ><DIV |
| 4178 | CLASS="INFORMALTABLE" |
| 4179 | ><P |
| 4180 | ></P |
| 4181 | ><TABLE |
| 4182 | BORDER="0" |
| 4183 | WIDTH="100%" |
| 4184 | BGCOLOR="#FFD0D0" |
| 4185 | CELLSPACING="0" |
| 4186 | CELLPADDING="4" |
| 4187 | CLASS="CALSTABLE" |
| 4188 | ><TR |
| 4189 | ><TD |
| 4190 | WIDTH="20%" |
| 4191 | ALIGN="RIGHT" |
| 4192 | VALIGN="TOP" |
| 4193 | ><TT |
| 4194 | CLASS="PARAMETER" |
| 4195 | ><I |
| 4196 | >val</I |
| 4197 | ></TT |
| 4198 | > :</TD |
| 4199 | ><TD |
| 4200 | WIDTH="80%" |
| 4201 | ALIGN="LEFT" |
| 4202 | VALIGN="TOP" |
| 4203 | > </TD |
| 4204 | ></TR |
| 4205 | ><TR |
| 4206 | ><TD |
| 4207 | WIDTH="20%" |
| 4208 | ALIGN="RIGHT" |
| 4209 | VALIGN="TOP" |
| 4210 | ><I |
| 4211 | CLASS="EMPHASIS" |
| 4212 | >Returns</I |
| 4213 | > :</TD |
| 4214 | ><TD |
| 4215 | WIDTH="80%" |
| 4216 | ALIGN="LEFT" |
| 4217 | VALIGN="TOP" |
| 4218 | > </TD |
| 4219 | ></TR |
| 4220 | ></TABLE |
| 4221 | ><P |
| 4222 | ></P |
| 4223 | ></DIV |
| 4224 | ></DIV |
| 4225 | ><HR><DIV |
| 4226 | CLASS="REFSECT2" |
| 4227 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 4228 | NAME="AEN12074" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 4229 | ></A |
| 4230 | ><H3 |
| 4231 | ><A |
| 4232 | NAME="XMLXPATHNODESETMERGE" |
| 4233 | ></A |
| 4234 | >xmlXPathNodeSetMerge ()</H3 |
| 4235 | ><TABLE |
| 4236 | BORDER="0" |
| 4237 | BGCOLOR="#D6E8FF" |
| 4238 | WIDTH="100%" |
| 4239 | CELLPADDING="6" |
| 4240 | ><TR |
| 4241 | ><TD |
| 4242 | ><PRE |
| 4243 | CLASS="PROGRAMLISTING" |
| 4244 | ><A |
| 4245 | HREF="gnome-xml-xpath.html#XMLNODESETPTR" |
| 4246 | >xmlNodeSetPtr</A |
| 4247 | > xmlXPathNodeSetMerge (<A |
| 4248 | HREF="gnome-xml-xpath.html#XMLNODESETPTR" |
| 4249 | >xmlNodeSetPtr</A |
| 4250 | > val1, |
| 4251 | <A |
| 4252 | HREF="gnome-xml-xpath.html#XMLNODESETPTR" |
| 4253 | >xmlNodeSetPtr</A |
| 4254 | > val2);</PRE |
| 4255 | ></TD |
| 4256 | ></TR |
| 4257 | ></TABLE |
| 4258 | ><P |
| 4259 | >Merges two nodesets, all nodes from <TT |
| 4260 | CLASS="PARAMETER" |
| 4261 | ><I |
| 4262 | >val2</I |
| 4263 | ></TT |
| 4264 | > are added to <TT |
| 4265 | CLASS="PARAMETER" |
| 4266 | ><I |
| 4267 | >val1</I |
| 4268 | ></TT |
| 4269 | > |
| 4270 | if <TT |
| 4271 | CLASS="PARAMETER" |
| 4272 | ><I |
| 4273 | >val1</I |
| 4274 | ></TT |
| 4275 | > is NULL, a new set is created and copied from <TT |
| 4276 | CLASS="PARAMETER" |
| 4277 | ><I |
| 4278 | >val2</I |
| 4279 | ></TT |
| 4280 | ></P |
| 4281 | ><P |
| 4282 | ></P |
| 4283 | ><DIV |
| 4284 | CLASS="INFORMALTABLE" |
| 4285 | ><P |
| 4286 | ></P |
| 4287 | ><TABLE |
| 4288 | BORDER="0" |
| 4289 | WIDTH="100%" |
| 4290 | BGCOLOR="#FFD0D0" |
| 4291 | CELLSPACING="0" |
| 4292 | CELLPADDING="4" |
| 4293 | CLASS="CALSTABLE" |
| 4294 | ><TR |
| 4295 | ><TD |
| 4296 | WIDTH="20%" |
| 4297 | ALIGN="RIGHT" |
| 4298 | VALIGN="TOP" |
| 4299 | ><TT |
| 4300 | CLASS="PARAMETER" |
| 4301 | ><I |
| 4302 | >val1</I |
| 4303 | ></TT |
| 4304 | > :</TD |
| 4305 | ><TD |
| 4306 | WIDTH="80%" |
| 4307 | ALIGN="LEFT" |
| 4308 | VALIGN="TOP" |
| 4309 | > the first NodeSet or NULL</TD |
| 4310 | ></TR |
| 4311 | ><TR |
| 4312 | ><TD |
| 4313 | WIDTH="20%" |
| 4314 | ALIGN="RIGHT" |
| 4315 | VALIGN="TOP" |
| 4316 | ><TT |
| 4317 | CLASS="PARAMETER" |
| 4318 | ><I |
| 4319 | >val2</I |
| 4320 | ></TT |
| 4321 | > :</TD |
| 4322 | ><TD |
| 4323 | WIDTH="80%" |
| 4324 | ALIGN="LEFT" |
| 4325 | VALIGN="TOP" |
| 4326 | > the second NodeSet</TD |
| 4327 | ></TR |
| 4328 | ><TR |
| 4329 | ><TD |
| 4330 | WIDTH="20%" |
| 4331 | ALIGN="RIGHT" |
| 4332 | VALIGN="TOP" |
| 4333 | ><I |
| 4334 | CLASS="EMPHASIS" |
| 4335 | >Returns</I |
| 4336 | > :</TD |
| 4337 | ><TD |
| 4338 | WIDTH="80%" |
| 4339 | ALIGN="LEFT" |
| 4340 | VALIGN="TOP" |
| 4341 | >val1 once extended or NULL in case of error.</TD |
| 4342 | ></TR |
| 4343 | ></TABLE |
| 4344 | ><P |
| 4345 | ></P |
| 4346 | ></DIV |
| 4347 | ></DIV |
| 4348 | ><HR><DIV |
| 4349 | CLASS="REFSECT2" |
| 4350 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 4351 | NAME="AEN12104" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 4352 | ></A |
| 4353 | ><H3 |
| 4354 | ><A |
| 4355 | NAME="XMLXPATHNODESETDEL" |
| 4356 | ></A |
| 4357 | >xmlXPathNodeSetDel ()</H3 |
| 4358 | ><TABLE |
| 4359 | BORDER="0" |
| 4360 | BGCOLOR="#D6E8FF" |
| 4361 | WIDTH="100%" |
| 4362 | CELLPADDING="6" |
| 4363 | ><TR |
| 4364 | ><TD |
| 4365 | ><PRE |
| 4366 | CLASS="PROGRAMLISTING" |
| 4367 | >void xmlXPathNodeSetDel (<A |
| 4368 | HREF="gnome-xml-xpath.html#XMLNODESETPTR" |
| 4369 | >xmlNodeSetPtr</A |
| 4370 | > cur, |
| 4371 | <A |
| 4372 | HREF="gnome-xml-tree.html#XMLNODEPTR" |
| 4373 | >xmlNodePtr</A |
| 4374 | > val);</PRE |
| 4375 | ></TD |
| 4376 | ></TR |
| 4377 | ></TABLE |
| 4378 | ><P |
| 4379 | >Removes an xmlNodePtr from an existing NodeSet</P |
| 4380 | ><P |
| 4381 | ></P |
| 4382 | ><DIV |
| 4383 | CLASS="INFORMALTABLE" |
| 4384 | ><P |
| 4385 | ></P |
| 4386 | ><TABLE |
| 4387 | BORDER="0" |
| 4388 | WIDTH="100%" |
| 4389 | BGCOLOR="#FFD0D0" |
| 4390 | CELLSPACING="0" |
| 4391 | CELLPADDING="4" |
| 4392 | CLASS="CALSTABLE" |
| 4393 | ><TR |
| 4394 | ><TD |
| 4395 | WIDTH="20%" |
| 4396 | ALIGN="RIGHT" |
| 4397 | VALIGN="TOP" |
| 4398 | ><TT |
| 4399 | CLASS="PARAMETER" |
| 4400 | ><I |
| 4401 | >cur</I |
| 4402 | ></TT |
| 4403 | > :</TD |
| 4404 | ><TD |
| 4405 | WIDTH="80%" |
| 4406 | ALIGN="LEFT" |
| 4407 | VALIGN="TOP" |
| 4408 | > the initial node set</TD |
| 4409 | ></TR |
| 4410 | ><TR |
| 4411 | ><TD |
| 4412 | WIDTH="20%" |
| 4413 | ALIGN="RIGHT" |
| 4414 | VALIGN="TOP" |
| 4415 | ><TT |
| 4416 | CLASS="PARAMETER" |
| 4417 | ><I |
| 4418 | >val</I |
| 4419 | ></TT |
| 4420 | > :</TD |
| 4421 | ><TD |
| 4422 | WIDTH="80%" |
| 4423 | ALIGN="LEFT" |
| 4424 | VALIGN="TOP" |
| 4425 | > an xmlNodePtr</TD |
| 4426 | ></TR |
| 4427 | ></TABLE |
| 4428 | ><P |
| 4429 | ></P |
| 4430 | ></DIV |
| 4431 | ></DIV |
| 4432 | ><HR><DIV |
| 4433 | CLASS="REFSECT2" |
| 4434 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 4435 | NAME="AEN12125" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 4436 | ></A |
| 4437 | ><H3 |
| 4438 | ><A |
| 4439 | NAME="XMLXPATHNODESETREMOVE" |
| 4440 | ></A |
| 4441 | >xmlXPathNodeSetRemove ()</H3 |
| 4442 | ><TABLE |
| 4443 | BORDER="0" |
| 4444 | BGCOLOR="#D6E8FF" |
| 4445 | WIDTH="100%" |
| 4446 | CELLPADDING="6" |
| 4447 | ><TR |
| 4448 | ><TD |
| 4449 | ><PRE |
| 4450 | CLASS="PROGRAMLISTING" |
| 4451 | >void xmlXPathNodeSetRemove (<A |
| 4452 | HREF="gnome-xml-xpath.html#XMLNODESETPTR" |
| 4453 | >xmlNodeSetPtr</A |
| 4454 | > cur, |
| 4455 | int val);</PRE |
| 4456 | ></TD |
| 4457 | ></TR |
| 4458 | ></TABLE |
| 4459 | ><P |
| 4460 | >Removes an entry from an existing NodeSet list.</P |
| 4461 | ><P |
| 4462 | ></P |
| 4463 | ><DIV |
| 4464 | CLASS="INFORMALTABLE" |
| 4465 | ><P |
| 4466 | ></P |
| 4467 | ><TABLE |
| 4468 | BORDER="0" |
| 4469 | WIDTH="100%" |
| 4470 | BGCOLOR="#FFD0D0" |
| 4471 | CELLSPACING="0" |
| 4472 | CELLPADDING="4" |
| 4473 | CLASS="CALSTABLE" |
| 4474 | ><TR |
| 4475 | ><TD |
| 4476 | WIDTH="20%" |
| 4477 | ALIGN="RIGHT" |
| 4478 | VALIGN="TOP" |
| 4479 | ><TT |
| 4480 | CLASS="PARAMETER" |
| 4481 | ><I |
| 4482 | >cur</I |
| 4483 | ></TT |
| 4484 | > :</TD |
| 4485 | ><TD |
| 4486 | WIDTH="80%" |
| 4487 | ALIGN="LEFT" |
| 4488 | VALIGN="TOP" |
| 4489 | > the initial node set</TD |
| 4490 | ></TR |
| 4491 | ><TR |
| 4492 | ><TD |
| 4493 | WIDTH="20%" |
| 4494 | ALIGN="RIGHT" |
| 4495 | VALIGN="TOP" |
| 4496 | ><TT |
| 4497 | CLASS="PARAMETER" |
| 4498 | ><I |
| 4499 | >val</I |
| 4500 | ></TT |
| 4501 | > :</TD |
| 4502 | ><TD |
| 4503 | WIDTH="80%" |
| 4504 | ALIGN="LEFT" |
| 4505 | VALIGN="TOP" |
| 4506 | > the index to remove</TD |
| 4507 | ></TR |
| 4508 | ></TABLE |
| 4509 | ><P |
| 4510 | ></P |
| 4511 | ></DIV |
| 4512 | ></DIV |
| 4513 | ><HR><DIV |
| 4514 | CLASS="REFSECT2" |
| 4515 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 4516 | NAME="AEN12145" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 4517 | ></A |
| 4518 | ><H3 |
| 4519 | ><A |
| 4520 | NAME="XMLXPATHFREENODESET" |
| 4521 | ></A |
| 4522 | >xmlXPathFreeNodeSet ()</H3 |
| 4523 | ><TABLE |
| 4524 | BORDER="0" |
| 4525 | BGCOLOR="#D6E8FF" |
| 4526 | WIDTH="100%" |
| 4527 | CELLPADDING="6" |
| 4528 | ><TR |
| 4529 | ><TD |
| 4530 | ><PRE |
| 4531 | CLASS="PROGRAMLISTING" |
| 4532 | >void xmlXPathFreeNodeSet (<A |
| 4533 | HREF="gnome-xml-xpath.html#XMLNODESETPTR" |
| 4534 | >xmlNodeSetPtr</A |
| 4535 | > obj);</PRE |
| 4536 | ></TD |
| 4537 | ></TR |
| 4538 | ></TABLE |
| 4539 | ><P |
| 4540 | >Free the NodeSet compound (not the actual nodes !).</P |
| 4541 | ><P |
| 4542 | ></P |
| 4543 | ><DIV |
| 4544 | CLASS="INFORMALTABLE" |
| 4545 | ><P |
| 4546 | ></P |
| 4547 | ><TABLE |
| 4548 | BORDER="0" |
| 4549 | WIDTH="100%" |
| 4550 | BGCOLOR="#FFD0D0" |
| 4551 | CELLSPACING="0" |
| 4552 | CELLPADDING="4" |
| 4553 | CLASS="CALSTABLE" |
| 4554 | ><TR |
| 4555 | ><TD |
| 4556 | WIDTH="20%" |
| 4557 | ALIGN="RIGHT" |
| 4558 | VALIGN="TOP" |
| 4559 | ><TT |
| 4560 | CLASS="PARAMETER" |
| 4561 | ><I |
| 4562 | >obj</I |
| 4563 | ></TT |
| 4564 | > :</TD |
| 4565 | ><TD |
| 4566 | WIDTH="80%" |
| 4567 | ALIGN="LEFT" |
| 4568 | VALIGN="TOP" |
| 4569 | > </TD |
| 4570 | ></TR |
| 4571 | ></TABLE |
| 4572 | ><P |
| 4573 | ></P |
| 4574 | ></DIV |
| 4575 | ></DIV |
| 4576 | ><HR><DIV |
| 4577 | CLASS="REFSECT2" |
| 4578 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 4579 | NAME="AEN12161" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 4580 | ></A |
| 4581 | ><H3 |
| 4582 | ><A |
| 4583 | NAME="XMLXPATHNEWNODESETLIST" |
| 4584 | ></A |
| 4585 | >xmlXPathNewNodeSetList ()</H3 |
| 4586 | ><TABLE |
| 4587 | BORDER="0" |
| 4588 | BGCOLOR="#D6E8FF" |
| 4589 | WIDTH="100%" |
| 4590 | CELLPADDING="6" |
| 4591 | ><TR |
| 4592 | ><TD |
| 4593 | ><PRE |
| 4594 | CLASS="PROGRAMLISTING" |
| 4595 | ><A |
| 4596 | HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" |
| 4597 | >xmlXPathObjectPtr</A |
| 4598 | > xmlXPathNewNodeSetList (<A |
| 4599 | HREF="gnome-xml-xpath.html#XMLNODESETPTR" |
| 4600 | >xmlNodeSetPtr</A |
| 4601 | > val);</PRE |
| 4602 | ></TD |
| 4603 | ></TR |
| 4604 | ></TABLE |
| 4605 | ><P |
| 4606 | >Create a new xmlXPathObjectPtr of type NodeSet and initialize |
| 4607 | it with the Nodeset <TT |
| 4608 | CLASS="PARAMETER" |
| 4609 | ><I |
| 4610 | >val</I |
| 4611 | ></TT |
| 4612 | ></P |
| 4613 | ><P |
| 4614 | ></P |
| 4615 | ><DIV |
| 4616 | CLASS="INFORMALTABLE" |
| 4617 | ><P |
| 4618 | ></P |
| 4619 | ><TABLE |
| 4620 | BORDER="0" |
| 4621 | WIDTH="100%" |
| 4622 | BGCOLOR="#FFD0D0" |
| 4623 | CELLSPACING="0" |
| 4624 | CELLPADDING="4" |
| 4625 | CLASS="CALSTABLE" |
| 4626 | ><TR |
| 4627 | ><TD |
| 4628 | WIDTH="20%" |
| 4629 | ALIGN="RIGHT" |
| 4630 | VALIGN="TOP" |
| 4631 | ><TT |
| 4632 | CLASS="PARAMETER" |
| 4633 | ><I |
| 4634 | >val</I |
| 4635 | ></TT |
| 4636 | > :</TD |
| 4637 | ><TD |
| 4638 | WIDTH="80%" |
| 4639 | ALIGN="LEFT" |
| 4640 | VALIGN="TOP" |
| 4641 | > an existing NodeSet</TD |
| 4642 | ></TR |
| 4643 | ><TR |
| 4644 | ><TD |
| 4645 | WIDTH="20%" |
| 4646 | ALIGN="RIGHT" |
| 4647 | VALIGN="TOP" |
| 4648 | ><I |
| 4649 | CLASS="EMPHASIS" |
| 4650 | >Returns</I |
| 4651 | > :</TD |
| 4652 | ><TD |
| 4653 | WIDTH="80%" |
| 4654 | ALIGN="LEFT" |
| 4655 | VALIGN="TOP" |
| 4656 | >the newly created object.</TD |
| 4657 | ></TR |
| 4658 | ></TABLE |
| 4659 | ><P |
| 4660 | ></P |
| 4661 | ></DIV |
| 4662 | ></DIV |
| 4663 | ><HR><DIV |
| 4664 | CLASS="REFSECT2" |
| 4665 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 4666 | NAME="AEN12183" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 4667 | ></A |
| 4668 | ><H3 |
| 4669 | ><A |
| 4670 | NAME="XMLXPATHWRAPNODESET" |
| 4671 | ></A |
| 4672 | >xmlXPathWrapNodeSet ()</H3 |
| 4673 | ><TABLE |
| 4674 | BORDER="0" |
| 4675 | BGCOLOR="#D6E8FF" |
| 4676 | WIDTH="100%" |
| 4677 | CELLPADDING="6" |
| 4678 | ><TR |
| 4679 | ><TD |
| 4680 | ><PRE |
| 4681 | CLASS="PROGRAMLISTING" |
| 4682 | ><A |
| 4683 | HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" |
| 4684 | >xmlXPathObjectPtr</A |
| 4685 | > xmlXPathWrapNodeSet (<A |
| 4686 | HREF="gnome-xml-xpath.html#XMLNODESETPTR" |
| 4687 | >xmlNodeSetPtr</A |
| 4688 | > val);</PRE |
| 4689 | ></TD |
| 4690 | ></TR |
| 4691 | ></TABLE |
| 4692 | ><P |
| 4693 | >Wrap the Nodeset <TT |
| 4694 | CLASS="PARAMETER" |
| 4695 | ><I |
| 4696 | >val</I |
| 4697 | ></TT |
| 4698 | > in a new xmlXPathObjectPtr</P |
| 4699 | ><P |
| 4700 | ></P |
| 4701 | ><DIV |
| 4702 | CLASS="INFORMALTABLE" |
| 4703 | ><P |
| 4704 | ></P |
| 4705 | ><TABLE |
| 4706 | BORDER="0" |
| 4707 | WIDTH="100%" |
| 4708 | BGCOLOR="#FFD0D0" |
| 4709 | CELLSPACING="0" |
| 4710 | CELLPADDING="4" |
| 4711 | CLASS="CALSTABLE" |
| 4712 | ><TR |
| 4713 | ><TD |
| 4714 | WIDTH="20%" |
| 4715 | ALIGN="RIGHT" |
| 4716 | VALIGN="TOP" |
| 4717 | ><TT |
| 4718 | CLASS="PARAMETER" |
| 4719 | ><I |
| 4720 | >val</I |
| 4721 | ></TT |
| 4722 | > :</TD |
| 4723 | ><TD |
| 4724 | WIDTH="80%" |
| 4725 | ALIGN="LEFT" |
| 4726 | VALIGN="TOP" |
| 4727 | > the NodePtr value</TD |
| 4728 | ></TR |
| 4729 | ><TR |
| 4730 | ><TD |
| 4731 | WIDTH="20%" |
| 4732 | ALIGN="RIGHT" |
| 4733 | VALIGN="TOP" |
| 4734 | ><I |
| 4735 | CLASS="EMPHASIS" |
| 4736 | >Returns</I |
| 4737 | > :</TD |
| 4738 | ><TD |
| 4739 | WIDTH="80%" |
| 4740 | ALIGN="LEFT" |
| 4741 | VALIGN="TOP" |
| 4742 | >the newly created object.</TD |
| 4743 | ></TR |
| 4744 | ></TABLE |
| 4745 | ><P |
| 4746 | ></P |
| 4747 | ></DIV |
| 4748 | ></DIV |
| 4749 | ><HR><DIV |
| 4750 | CLASS="REFSECT2" |
| 4751 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 4752 | NAME="AEN12205" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 4753 | ></A |
| 4754 | ><H3 |
| 4755 | ><A |
| 4756 | NAME="XMLXPATHFREENODESETLIST" |
| 4757 | ></A |
| 4758 | >xmlXPathFreeNodeSetList ()</H3 |
| 4759 | ><TABLE |
| 4760 | BORDER="0" |
| 4761 | BGCOLOR="#D6E8FF" |
| 4762 | WIDTH="100%" |
| 4763 | CELLPADDING="6" |
| 4764 | ><TR |
| 4765 | ><TD |
| 4766 | ><PRE |
| 4767 | CLASS="PROGRAMLISTING" |
| 4768 | >void xmlXPathFreeNodeSetList (<A |
| 4769 | HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" |
| 4770 | >xmlXPathObjectPtr</A |
| 4771 | > obj);</PRE |
| 4772 | ></TD |
| 4773 | ></TR |
| 4774 | ></TABLE |
| 4775 | ><P |
| 4776 | >Free up the xmlXPathObjectPtr <TT |
| 4777 | CLASS="PARAMETER" |
| 4778 | ><I |
| 4779 | >obj</I |
| 4780 | ></TT |
| 4781 | > but don't deallocate the objects in |
| 4782 | the list contrary to <A |
| 4783 | HREF="gnome-xml-xpath.html#XMLXPATHFREEOBJECT" |
| 4784 | >xmlXPathFreeObject</A |
| 4785 | >().</P |
| 4786 | ><P |
| 4787 | ></P |
| 4788 | ><DIV |
| 4789 | CLASS="INFORMALTABLE" |
| 4790 | ><P |
| 4791 | ></P |
| 4792 | ><TABLE |
| 4793 | BORDER="0" |
| 4794 | WIDTH="100%" |
| 4795 | BGCOLOR="#FFD0D0" |
| 4796 | CELLSPACING="0" |
| 4797 | CELLPADDING="4" |
| 4798 | CLASS="CALSTABLE" |
| 4799 | ><TR |
| 4800 | ><TD |
| 4801 | WIDTH="20%" |
| 4802 | ALIGN="RIGHT" |
| 4803 | VALIGN="TOP" |
| 4804 | ><TT |
| 4805 | CLASS="PARAMETER" |
| 4806 | ><I |
| 4807 | >obj</I |
| 4808 | ></TT |
| 4809 | > :</TD |
| 4810 | ><TD |
| 4811 | WIDTH="80%" |
| 4812 | ALIGN="LEFT" |
| 4813 | VALIGN="TOP" |
| 4814 | > </TD |
| 4815 | ></TR |
| 4816 | ></TABLE |
| 4817 | ><P |
| 4818 | ></P |
| 4819 | ></DIV |
| 4820 | ></DIV |
| 4821 | ><HR><DIV |
| 4822 | CLASS="REFSECT2" |
| 4823 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 4824 | NAME="AEN12223" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 4825 | ></A |
| 4826 | ><H3 |
| 4827 | ><A |
| 4828 | NAME="XMLXPATHFREEOBJECT" |
| 4829 | ></A |
| 4830 | >xmlXPathFreeObject ()</H3 |
| 4831 | ><TABLE |
| 4832 | BORDER="0" |
| 4833 | BGCOLOR="#D6E8FF" |
| 4834 | WIDTH="100%" |
| 4835 | CELLPADDING="6" |
| 4836 | ><TR |
| 4837 | ><TD |
| 4838 | ><PRE |
| 4839 | CLASS="PROGRAMLISTING" |
| 4840 | >void xmlXPathFreeObject (<A |
| 4841 | HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" |
| 4842 | >xmlXPathObjectPtr</A |
| 4843 | > obj);</PRE |
| 4844 | ></TD |
| 4845 | ></TR |
| 4846 | ></TABLE |
| 4847 | ><P |
| 4848 | >Free up an xmlXPathObjectPtr object.</P |
| 4849 | ><P |
| 4850 | ></P |
| 4851 | ><DIV |
| 4852 | CLASS="INFORMALTABLE" |
| 4853 | ><P |
| 4854 | ></P |
| 4855 | ><TABLE |
| 4856 | BORDER="0" |
| 4857 | WIDTH="100%" |
| 4858 | BGCOLOR="#FFD0D0" |
| 4859 | CELLSPACING="0" |
| 4860 | CELLPADDING="4" |
| 4861 | CLASS="CALSTABLE" |
| 4862 | ><TR |
| 4863 | ><TD |
| 4864 | WIDTH="20%" |
| 4865 | ALIGN="RIGHT" |
| 4866 | VALIGN="TOP" |
| 4867 | ><TT |
| 4868 | CLASS="PARAMETER" |
| 4869 | ><I |
| 4870 | >obj</I |
| 4871 | ></TT |
| 4872 | > :</TD |
| 4873 | ><TD |
| 4874 | WIDTH="80%" |
| 4875 | ALIGN="LEFT" |
| 4876 | VALIGN="TOP" |
| 4877 | > </TD |
| 4878 | ></TR |
| 4879 | ></TABLE |
| 4880 | ><P |
| 4881 | ></P |
| 4882 | ></DIV |
| 4883 | ></DIV |
| 4884 | ><HR><DIV |
| 4885 | CLASS="REFSECT2" |
| 4886 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 4887 | NAME="AEN12239" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 4888 | ></A |
| 4889 | ><H3 |
| 4890 | ><A |
| 4891 | NAME="XMLXPATHNEWCONTEXT" |
| 4892 | ></A |
| 4893 | >xmlXPathNewContext ()</H3 |
| 4894 | ><TABLE |
| 4895 | BORDER="0" |
| 4896 | BGCOLOR="#D6E8FF" |
| 4897 | WIDTH="100%" |
| 4898 | CELLPADDING="6" |
| 4899 | ><TR |
| 4900 | ><TD |
| 4901 | ><PRE |
| 4902 | CLASS="PROGRAMLISTING" |
| 4903 | ><A |
| 4904 | HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR" |
| 4905 | >xmlXPathContextPtr</A |
| 4906 | > xmlXPathNewContext (<A |
| 4907 | HREF="gnome-xml-tree.html#XMLDOCPTR" |
| 4908 | >xmlDocPtr</A |
| 4909 | > doc);</PRE |
| 4910 | ></TD |
| 4911 | ></TR |
| 4912 | ></TABLE |
| 4913 | ><P |
| 4914 | >Create a new xmlXPathContext</P |
| 4915 | ><P |
| 4916 | ></P |
| 4917 | ><DIV |
| 4918 | CLASS="INFORMALTABLE" |
| 4919 | ><P |
| 4920 | ></P |
| 4921 | ><TABLE |
| 4922 | BORDER="0" |
| 4923 | WIDTH="100%" |
| 4924 | BGCOLOR="#FFD0D0" |
| 4925 | CELLSPACING="0" |
| 4926 | CELLPADDING="4" |
| 4927 | CLASS="CALSTABLE" |
| 4928 | ><TR |
| 4929 | ><TD |
| 4930 | WIDTH="20%" |
| 4931 | ALIGN="RIGHT" |
| 4932 | VALIGN="TOP" |
| 4933 | ><TT |
| 4934 | CLASS="PARAMETER" |
| 4935 | ><I |
| 4936 | >doc</I |
| 4937 | ></TT |
| 4938 | > :</TD |
| 4939 | ><TD |
| 4940 | WIDTH="80%" |
| 4941 | ALIGN="LEFT" |
| 4942 | VALIGN="TOP" |
| 4943 | > </TD |
| 4944 | ></TR |
| 4945 | ><TR |
| 4946 | ><TD |
| 4947 | WIDTH="20%" |
| 4948 | ALIGN="RIGHT" |
| 4949 | VALIGN="TOP" |
| 4950 | ><I |
| 4951 | CLASS="EMPHASIS" |
| 4952 | >Returns</I |
| 4953 | > :</TD |
| 4954 | ><TD |
| 4955 | WIDTH="80%" |
| 4956 | ALIGN="LEFT" |
| 4957 | VALIGN="TOP" |
| 4958 | > </TD |
| 4959 | ></TR |
| 4960 | ></TABLE |
| 4961 | ><P |
| 4962 | ></P |
| 4963 | ></DIV |
| 4964 | ></DIV |
| 4965 | ><HR><DIV |
| 4966 | CLASS="REFSECT2" |
| 4967 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 4968 | NAME="AEN12260" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 4969 | ></A |
| 4970 | ><H3 |
| 4971 | ><A |
| 4972 | NAME="XMLXPATHFREECONTEXT" |
| 4973 | ></A |
| 4974 | >xmlXPathFreeContext ()</H3 |
| 4975 | ><TABLE |
| 4976 | BORDER="0" |
| 4977 | BGCOLOR="#D6E8FF" |
| 4978 | WIDTH="100%" |
| 4979 | CELLPADDING="6" |
| 4980 | ><TR |
| 4981 | ><TD |
| 4982 | ><PRE |
| 4983 | CLASS="PROGRAMLISTING" |
| 4984 | >void xmlXPathFreeContext (<A |
| 4985 | HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR" |
| 4986 | >xmlXPathContextPtr</A |
| 4987 | > ctxt);</PRE |
| 4988 | ></TD |
| 4989 | ></TR |
| 4990 | ></TABLE |
| 4991 | ><P |
| 4992 | >Free up an xmlXPathContext</P |
| 4993 | ><P |
| 4994 | ></P |
| 4995 | ><DIV |
| 4996 | CLASS="INFORMALTABLE" |
| 4997 | ><P |
| 4998 | ></P |
| 4999 | ><TABLE |
| 5000 | BORDER="0" |
| 5001 | WIDTH="100%" |
| 5002 | BGCOLOR="#FFD0D0" |
| 5003 | CELLSPACING="0" |
| 5004 | CELLPADDING="4" |
| 5005 | CLASS="CALSTABLE" |
| 5006 | ><TR |
| 5007 | ><TD |
| 5008 | WIDTH="20%" |
| 5009 | ALIGN="RIGHT" |
| 5010 | VALIGN="TOP" |
| 5011 | ><TT |
| 5012 | CLASS="PARAMETER" |
| 5013 | ><I |
| 5014 | >ctxt</I |
| 5015 | ></TT |
| 5016 | > :</TD |
| 5017 | ><TD |
| 5018 | WIDTH="80%" |
| 5019 | ALIGN="LEFT" |
| 5020 | VALIGN="TOP" |
| 5021 | > </TD |
| 5022 | ></TR |
| 5023 | ></TABLE |
| 5024 | ><P |
| 5025 | ></P |
| 5026 | ></DIV |
| 5027 | ></DIV |
| 5028 | ><HR><DIV |
| 5029 | CLASS="REFSECT2" |
| 5030 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 5031 | NAME="AEN12276" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 5032 | ></A |
| 5033 | ><H3 |
| 5034 | ><A |
| 5035 | NAME="XMLXPATHEQUALVALUES" |
| 5036 | ></A |
| 5037 | >xmlXPathEqualValues ()</H3 |
| 5038 | ><TABLE |
| 5039 | BORDER="0" |
| 5040 | BGCOLOR="#D6E8FF" |
| 5041 | WIDTH="100%" |
| 5042 | CELLPADDING="6" |
| 5043 | ><TR |
| 5044 | ><TD |
| 5045 | ><PRE |
| 5046 | CLASS="PROGRAMLISTING" |
| 5047 | >int xmlXPathEqualValues (<A |
| 5048 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 5049 | >xmlXPathParserContextPtr</A |
| 5050 | > ctxt);</PRE |
| 5051 | ></TD |
| 5052 | ></TR |
| 5053 | ></TABLE |
| 5054 | ><P |
| 5055 | >Implement the equal operation on XPath objects content: <TT |
| 5056 | CLASS="PARAMETER" |
| 5057 | ><I |
| 5058 | >arg1</I |
| 5059 | ></TT |
| 5060 | > == <TT |
| 5061 | CLASS="PARAMETER" |
| 5062 | ><I |
| 5063 | >arg2</I |
| 5064 | ></TT |
| 5065 | ></P |
| 5066 | ><P |
| 5067 | ></P |
| 5068 | ><DIV |
| 5069 | CLASS="INFORMALTABLE" |
| 5070 | ><P |
| 5071 | ></P |
| 5072 | ><TABLE |
| 5073 | BORDER="0" |
| 5074 | WIDTH="100%" |
| 5075 | BGCOLOR="#FFD0D0" |
| 5076 | CELLSPACING="0" |
| 5077 | CELLPADDING="4" |
| 5078 | CLASS="CALSTABLE" |
| 5079 | ><TR |
| 5080 | ><TD |
| 5081 | WIDTH="20%" |
| 5082 | ALIGN="RIGHT" |
| 5083 | VALIGN="TOP" |
| 5084 | ><TT |
| 5085 | CLASS="PARAMETER" |
| 5086 | ><I |
| 5087 | >ctxt</I |
| 5088 | ></TT |
| 5089 | > :</TD |
| 5090 | ><TD |
| 5091 | WIDTH="80%" |
| 5092 | ALIGN="LEFT" |
| 5093 | VALIGN="TOP" |
| 5094 | > the XPath Parser context</TD |
| 5095 | ></TR |
| 5096 | ><TR |
| 5097 | ><TD |
| 5098 | WIDTH="20%" |
| 5099 | ALIGN="RIGHT" |
| 5100 | VALIGN="TOP" |
| 5101 | ><I |
| 5102 | CLASS="EMPHASIS" |
| 5103 | >Returns</I |
| 5104 | > :</TD |
| 5105 | ><TD |
| 5106 | WIDTH="80%" |
| 5107 | ALIGN="LEFT" |
| 5108 | VALIGN="TOP" |
| 5109 | >0 or 1 depending on the results of the test.</TD |
| 5110 | ></TR |
| 5111 | ></TABLE |
| 5112 | ><P |
| 5113 | ></P |
| 5114 | ></DIV |
| 5115 | ></DIV |
| 5116 | ><HR><DIV |
| 5117 | CLASS="REFSECT2" |
| 5118 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 5119 | NAME="AEN12298" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 5120 | ></A |
| 5121 | ><H3 |
| 5122 | ><A |
| 5123 | NAME="XMLXPATHCOMPAREVALUES" |
| 5124 | ></A |
| 5125 | >xmlXPathCompareValues ()</H3 |
| 5126 | ><TABLE |
| 5127 | BORDER="0" |
| 5128 | BGCOLOR="#D6E8FF" |
| 5129 | WIDTH="100%" |
| 5130 | CELLPADDING="6" |
| 5131 | ><TR |
| 5132 | ><TD |
| 5133 | ><PRE |
| 5134 | CLASS="PROGRAMLISTING" |
| 5135 | >int xmlXPathCompareValues (<A |
| 5136 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 5137 | >xmlXPathParserContextPtr</A |
| 5138 | > ctxt, |
| 5139 | int inf, |
| 5140 | int strict);</PRE |
| 5141 | ></TD |
| 5142 | ></TR |
| 5143 | ></TABLE |
| 5144 | ><P |
| 5145 | >Implement the compare operation on XPath objects: |
| 5146 | <TT |
| 5147 | CLASS="PARAMETER" |
| 5148 | ><I |
| 5149 | >arg1</I |
| 5150 | ></TT |
| 5151 | > < <TT |
| 5152 | CLASS="PARAMETER" |
| 5153 | ><I |
| 5154 | >arg2</I |
| 5155 | ></TT |
| 5156 | > (1, 1, ... |
| 5157 | <TT |
| 5158 | CLASS="PARAMETER" |
| 5159 | ><I |
| 5160 | >arg1</I |
| 5161 | ></TT |
| 5162 | > <= <TT |
| 5163 | CLASS="PARAMETER" |
| 5164 | ><I |
| 5165 | >arg2</I |
| 5166 | ></TT |
| 5167 | > (1, 0, ... |
| 5168 | <TT |
| 5169 | CLASS="PARAMETER" |
| 5170 | ><I |
| 5171 | >arg1</I |
| 5172 | ></TT |
| 5173 | > > <TT |
| 5174 | CLASS="PARAMETER" |
| 5175 | ><I |
| 5176 | >arg2</I |
| 5177 | ></TT |
| 5178 | > (0, 1, ... |
| 5179 | <TT |
| 5180 | CLASS="PARAMETER" |
| 5181 | ><I |
| 5182 | >arg1</I |
| 5183 | ></TT |
| 5184 | > >= <TT |
| 5185 | CLASS="PARAMETER" |
| 5186 | ><I |
| 5187 | >arg2</I |
| 5188 | ></TT |
| 5189 | > (0, 0, ...</P |
| 5190 | ><P |
| 5191 | >When neither object to be compared is a node-set and the operator is |
| 5192 | <=, <, >=, >, then the objects are compared by converted both objects |
| 5193 | to numbers and comparing the numbers according to IEEE 754. The < |
| 5194 | comparison will be true if and only if the first number is less than the |
| 5195 | second number. The <= comparison will be true if and only if the first |
| 5196 | number is less than or equal to the second number. The > comparison |
| 5197 | will be true if and only if the first number is greater than the second |
| 5198 | number. The >= comparison will be true if and only if the first number |
| 5199 | is greater than or equal to the second number.</P |
| 5200 | ><P |
| 5201 | ></P |
| 5202 | ><DIV |
| 5203 | CLASS="INFORMALTABLE" |
| 5204 | ><P |
| 5205 | ></P |
| 5206 | ><TABLE |
| 5207 | BORDER="0" |
| 5208 | WIDTH="100%" |
| 5209 | BGCOLOR="#FFD0D0" |
| 5210 | CELLSPACING="0" |
| 5211 | CELLPADDING="4" |
| 5212 | CLASS="CALSTABLE" |
| 5213 | ><TR |
| 5214 | ><TD |
| 5215 | WIDTH="20%" |
| 5216 | ALIGN="RIGHT" |
| 5217 | VALIGN="TOP" |
| 5218 | ><TT |
| 5219 | CLASS="PARAMETER" |
| 5220 | ><I |
| 5221 | >ctxt</I |
| 5222 | ></TT |
| 5223 | > :</TD |
| 5224 | ><TD |
| 5225 | WIDTH="80%" |
| 5226 | ALIGN="LEFT" |
| 5227 | VALIGN="TOP" |
| 5228 | > the XPath Parser context</TD |
| 5229 | ></TR |
| 5230 | ><TR |
| 5231 | ><TD |
| 5232 | WIDTH="20%" |
| 5233 | ALIGN="RIGHT" |
| 5234 | VALIGN="TOP" |
| 5235 | ><TT |
| 5236 | CLASS="PARAMETER" |
| 5237 | ><I |
| 5238 | >inf</I |
| 5239 | ></TT |
| 5240 | > :</TD |
| 5241 | ><TD |
| 5242 | WIDTH="80%" |
| 5243 | ALIGN="LEFT" |
| 5244 | VALIGN="TOP" |
| 5245 | > less than (1) or greater than (2)</TD |
| 5246 | ></TR |
| 5247 | ><TR |
| 5248 | ><TD |
| 5249 | WIDTH="20%" |
| 5250 | ALIGN="RIGHT" |
| 5251 | VALIGN="TOP" |
| 5252 | ><TT |
| 5253 | CLASS="PARAMETER" |
| 5254 | ><I |
| 5255 | >strict</I |
| 5256 | ></TT |
| 5257 | > :</TD |
| 5258 | ><TD |
| 5259 | WIDTH="80%" |
| 5260 | ALIGN="LEFT" |
| 5261 | VALIGN="TOP" |
| 5262 | > is the comparison strict</TD |
| 5263 | ></TR |
| 5264 | ><TR |
| 5265 | ><TD |
| 5266 | WIDTH="20%" |
| 5267 | ALIGN="RIGHT" |
| 5268 | VALIGN="TOP" |
| 5269 | ><I |
| 5270 | CLASS="EMPHASIS" |
| 5271 | >Returns</I |
| 5272 | > :</TD |
| 5273 | ><TD |
| 5274 | WIDTH="80%" |
| 5275 | ALIGN="LEFT" |
| 5276 | VALIGN="TOP" |
| 5277 | > </TD |
| 5278 | ></TR |
| 5279 | ></TABLE |
| 5280 | ><P |
| 5281 | ></P |
| 5282 | ></DIV |
| 5283 | ></DIV |
| 5284 | ><HR><DIV |
| 5285 | CLASS="REFSECT2" |
| 5286 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 5287 | NAME="AEN12335" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 5288 | ></A |
| 5289 | ><H3 |
| 5290 | ><A |
| 5291 | NAME="XMLXPATHVALUEFLIPSIGN" |
| 5292 | ></A |
| 5293 | >xmlXPathValueFlipSign ()</H3 |
| 5294 | ><TABLE |
| 5295 | BORDER="0" |
| 5296 | BGCOLOR="#D6E8FF" |
| 5297 | WIDTH="100%" |
| 5298 | CELLPADDING="6" |
| 5299 | ><TR |
| 5300 | ><TD |
| 5301 | ><PRE |
| 5302 | CLASS="PROGRAMLISTING" |
| 5303 | >void xmlXPathValueFlipSign (<A |
| 5304 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 5305 | >xmlXPathParserContextPtr</A |
| 5306 | > ctxt);</PRE |
| 5307 | ></TD |
| 5308 | ></TR |
| 5309 | ></TABLE |
| 5310 | ><P |
| 5311 | >Implement the unary - operation on an XPath object |
| 5312 | The numeric operators convert their operands to numbers as if |
| 5313 | by calling the number function.</P |
| 5314 | ><P |
| 5315 | ></P |
| 5316 | ><DIV |
| 5317 | CLASS="INFORMALTABLE" |
| 5318 | ><P |
| 5319 | ></P |
| 5320 | ><TABLE |
| 5321 | BORDER="0" |
| 5322 | WIDTH="100%" |
| 5323 | BGCOLOR="#FFD0D0" |
| 5324 | CELLSPACING="0" |
| 5325 | CELLPADDING="4" |
| 5326 | CLASS="CALSTABLE" |
| 5327 | ><TR |
| 5328 | ><TD |
| 5329 | WIDTH="20%" |
| 5330 | ALIGN="RIGHT" |
| 5331 | VALIGN="TOP" |
| 5332 | ><TT |
| 5333 | CLASS="PARAMETER" |
| 5334 | ><I |
| 5335 | >ctxt</I |
| 5336 | ></TT |
| 5337 | > :</TD |
| 5338 | ><TD |
| 5339 | WIDTH="80%" |
| 5340 | ALIGN="LEFT" |
| 5341 | VALIGN="TOP" |
| 5342 | > the XPath Parser context</TD |
| 5343 | ></TR |
| 5344 | ></TABLE |
| 5345 | ><P |
| 5346 | ></P |
| 5347 | ></DIV |
| 5348 | ></DIV |
| 5349 | ><HR><DIV |
| 5350 | CLASS="REFSECT2" |
| 5351 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 5352 | NAME="AEN12351" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 5353 | ></A |
| 5354 | ><H3 |
| 5355 | ><A |
| 5356 | NAME="XMLXPATHADDVALUES" |
| 5357 | ></A |
| 5358 | >xmlXPathAddValues ()</H3 |
| 5359 | ><TABLE |
| 5360 | BORDER="0" |
| 5361 | BGCOLOR="#D6E8FF" |
| 5362 | WIDTH="100%" |
| 5363 | CELLPADDING="6" |
| 5364 | ><TR |
| 5365 | ><TD |
| 5366 | ><PRE |
| 5367 | CLASS="PROGRAMLISTING" |
| 5368 | >void xmlXPathAddValues (<A |
| 5369 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 5370 | >xmlXPathParserContextPtr</A |
| 5371 | > ctxt);</PRE |
| 5372 | ></TD |
| 5373 | ></TR |
| 5374 | ></TABLE |
| 5375 | ><P |
| 5376 | >Implement the add operation on XPath objects: |
| 5377 | The numeric operators convert their operands to numbers as if |
| 5378 | by calling the number function.</P |
| 5379 | ><P |
| 5380 | ></P |
| 5381 | ><DIV |
| 5382 | CLASS="INFORMALTABLE" |
| 5383 | ><P |
| 5384 | ></P |
| 5385 | ><TABLE |
| 5386 | BORDER="0" |
| 5387 | WIDTH="100%" |
| 5388 | BGCOLOR="#FFD0D0" |
| 5389 | CELLSPACING="0" |
| 5390 | CELLPADDING="4" |
| 5391 | CLASS="CALSTABLE" |
| 5392 | ><TR |
| 5393 | ><TD |
| 5394 | WIDTH="20%" |
| 5395 | ALIGN="RIGHT" |
| 5396 | VALIGN="TOP" |
| 5397 | ><TT |
| 5398 | CLASS="PARAMETER" |
| 5399 | ><I |
| 5400 | >ctxt</I |
| 5401 | ></TT |
| 5402 | > :</TD |
| 5403 | ><TD |
| 5404 | WIDTH="80%" |
| 5405 | ALIGN="LEFT" |
| 5406 | VALIGN="TOP" |
| 5407 | > the XPath Parser context</TD |
| 5408 | ></TR |
| 5409 | ></TABLE |
| 5410 | ><P |
| 5411 | ></P |
| 5412 | ></DIV |
| 5413 | ></DIV |
| 5414 | ><HR><DIV |
| 5415 | CLASS="REFSECT2" |
| 5416 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 5417 | NAME="AEN12367" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 5418 | ></A |
| 5419 | ><H3 |
| 5420 | ><A |
| 5421 | NAME="XMLXPATHSUBVALUES" |
| 5422 | ></A |
| 5423 | >xmlXPathSubValues ()</H3 |
| 5424 | ><TABLE |
| 5425 | BORDER="0" |
| 5426 | BGCOLOR="#D6E8FF" |
| 5427 | WIDTH="100%" |
| 5428 | CELLPADDING="6" |
| 5429 | ><TR |
| 5430 | ><TD |
| 5431 | ><PRE |
| 5432 | CLASS="PROGRAMLISTING" |
| 5433 | >void xmlXPathSubValues (<A |
| 5434 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 5435 | >xmlXPathParserContextPtr</A |
| 5436 | > ctxt);</PRE |
| 5437 | ></TD |
| 5438 | ></TR |
| 5439 | ></TABLE |
| 5440 | ><P |
| 5441 | >Implement the substraction operation on XPath objects: |
| 5442 | The numeric operators convert their operands to numbers as if |
| 5443 | by calling the number function.</P |
| 5444 | ><P |
| 5445 | ></P |
| 5446 | ><DIV |
| 5447 | CLASS="INFORMALTABLE" |
| 5448 | ><P |
| 5449 | ></P |
| 5450 | ><TABLE |
| 5451 | BORDER="0" |
| 5452 | WIDTH="100%" |
| 5453 | BGCOLOR="#FFD0D0" |
| 5454 | CELLSPACING="0" |
| 5455 | CELLPADDING="4" |
| 5456 | CLASS="CALSTABLE" |
| 5457 | ><TR |
| 5458 | ><TD |
| 5459 | WIDTH="20%" |
| 5460 | ALIGN="RIGHT" |
| 5461 | VALIGN="TOP" |
| 5462 | ><TT |
| 5463 | CLASS="PARAMETER" |
| 5464 | ><I |
| 5465 | >ctxt</I |
| 5466 | ></TT |
| 5467 | > :</TD |
| 5468 | ><TD |
| 5469 | WIDTH="80%" |
| 5470 | ALIGN="LEFT" |
| 5471 | VALIGN="TOP" |
| 5472 | > the XPath Parser context</TD |
| 5473 | ></TR |
| 5474 | ></TABLE |
| 5475 | ><P |
| 5476 | ></P |
| 5477 | ></DIV |
| 5478 | ></DIV |
| 5479 | ><HR><DIV |
| 5480 | CLASS="REFSECT2" |
| 5481 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 5482 | NAME="AEN12383" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 5483 | ></A |
| 5484 | ><H3 |
| 5485 | ><A |
| 5486 | NAME="XMLXPATHMULTVALUES" |
| 5487 | ></A |
| 5488 | >xmlXPathMultValues ()</H3 |
| 5489 | ><TABLE |
| 5490 | BORDER="0" |
| 5491 | BGCOLOR="#D6E8FF" |
| 5492 | WIDTH="100%" |
| 5493 | CELLPADDING="6" |
| 5494 | ><TR |
| 5495 | ><TD |
| 5496 | ><PRE |
| 5497 | CLASS="PROGRAMLISTING" |
| 5498 | >void xmlXPathMultValues (<A |
| 5499 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 5500 | >xmlXPathParserContextPtr</A |
| 5501 | > ctxt);</PRE |
| 5502 | ></TD |
| 5503 | ></TR |
| 5504 | ></TABLE |
| 5505 | ><P |
| 5506 | >Implement the multiply operation on XPath objects: |
| 5507 | The numeric operators convert their operands to numbers as if |
| 5508 | by calling the number function.</P |
| 5509 | ><P |
| 5510 | ></P |
| 5511 | ><DIV |
| 5512 | CLASS="INFORMALTABLE" |
| 5513 | ><P |
| 5514 | ></P |
| 5515 | ><TABLE |
| 5516 | BORDER="0" |
| 5517 | WIDTH="100%" |
| 5518 | BGCOLOR="#FFD0D0" |
| 5519 | CELLSPACING="0" |
| 5520 | CELLPADDING="4" |
| 5521 | CLASS="CALSTABLE" |
| 5522 | ><TR |
| 5523 | ><TD |
| 5524 | WIDTH="20%" |
| 5525 | ALIGN="RIGHT" |
| 5526 | VALIGN="TOP" |
| 5527 | ><TT |
| 5528 | CLASS="PARAMETER" |
| 5529 | ><I |
| 5530 | >ctxt</I |
| 5531 | ></TT |
| 5532 | > :</TD |
| 5533 | ><TD |
| 5534 | WIDTH="80%" |
| 5535 | ALIGN="LEFT" |
| 5536 | VALIGN="TOP" |
| 5537 | > the XPath Parser context</TD |
| 5538 | ></TR |
| 5539 | ></TABLE |
| 5540 | ><P |
| 5541 | ></P |
| 5542 | ></DIV |
| 5543 | ></DIV |
| 5544 | ><HR><DIV |
| 5545 | CLASS="REFSECT2" |
| 5546 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 5547 | NAME="AEN12399" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 5548 | ></A |
| 5549 | ><H3 |
| 5550 | ><A |
| 5551 | NAME="XMLXPATHDIVVALUES" |
| 5552 | ></A |
| 5553 | >xmlXPathDivValues ()</H3 |
| 5554 | ><TABLE |
| 5555 | BORDER="0" |
| 5556 | BGCOLOR="#D6E8FF" |
| 5557 | WIDTH="100%" |
| 5558 | CELLPADDING="6" |
| 5559 | ><TR |
| 5560 | ><TD |
| 5561 | ><PRE |
| 5562 | CLASS="PROGRAMLISTING" |
| 5563 | >void xmlXPathDivValues (<A |
| 5564 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 5565 | >xmlXPathParserContextPtr</A |
| 5566 | > ctxt);</PRE |
| 5567 | ></TD |
| 5568 | ></TR |
| 5569 | ></TABLE |
| 5570 | ><P |
| 5571 | >Implement the div operation on XPath objects: |
| 5572 | The numeric operators convert their operands to numbers as if |
| 5573 | by calling the number function.</P |
| 5574 | ><P |
| 5575 | ></P |
| 5576 | ><DIV |
| 5577 | CLASS="INFORMALTABLE" |
| 5578 | ><P |
| 5579 | ></P |
| 5580 | ><TABLE |
| 5581 | BORDER="0" |
| 5582 | WIDTH="100%" |
| 5583 | BGCOLOR="#FFD0D0" |
| 5584 | CELLSPACING="0" |
| 5585 | CELLPADDING="4" |
| 5586 | CLASS="CALSTABLE" |
| 5587 | ><TR |
| 5588 | ><TD |
| 5589 | WIDTH="20%" |
| 5590 | ALIGN="RIGHT" |
| 5591 | VALIGN="TOP" |
| 5592 | ><TT |
| 5593 | CLASS="PARAMETER" |
| 5594 | ><I |
| 5595 | >ctxt</I |
| 5596 | ></TT |
| 5597 | > :</TD |
| 5598 | ><TD |
| 5599 | WIDTH="80%" |
| 5600 | ALIGN="LEFT" |
| 5601 | VALIGN="TOP" |
| 5602 | > the XPath Parser context</TD |
| 5603 | ></TR |
| 5604 | ></TABLE |
| 5605 | ><P |
| 5606 | ></P |
| 5607 | ></DIV |
| 5608 | ></DIV |
| 5609 | ><HR><DIV |
| 5610 | CLASS="REFSECT2" |
| 5611 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 5612 | NAME="AEN12415" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 5613 | ></A |
| 5614 | ><H3 |
| 5615 | ><A |
| 5616 | NAME="XMLXPATHMODVALUES" |
| 5617 | ></A |
| 5618 | >xmlXPathModValues ()</H3 |
| 5619 | ><TABLE |
| 5620 | BORDER="0" |
| 5621 | BGCOLOR="#D6E8FF" |
| 5622 | WIDTH="100%" |
| 5623 | CELLPADDING="6" |
| 5624 | ><TR |
| 5625 | ><TD |
| 5626 | ><PRE |
| 5627 | CLASS="PROGRAMLISTING" |
| 5628 | >void xmlXPathModValues (<A |
| 5629 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 5630 | >xmlXPathParserContextPtr</A |
| 5631 | > ctxt);</PRE |
| 5632 | ></TD |
| 5633 | ></TR |
| 5634 | ></TABLE |
| 5635 | ><P |
| 5636 | >Implement the div operation on XPath objects: <TT |
| 5637 | CLASS="PARAMETER" |
| 5638 | ><I |
| 5639 | >arg1</I |
| 5640 | ></TT |
| 5641 | > / <TT |
| 5642 | CLASS="PARAMETER" |
| 5643 | ><I |
| 5644 | >arg2</I |
| 5645 | ></TT |
| 5646 | > |
| 5647 | The numeric operators convert their operands to numbers as if |
| 5648 | by calling the number function.</P |
| 5649 | ><P |
| 5650 | ></P |
| 5651 | ><DIV |
| 5652 | CLASS="INFORMALTABLE" |
| 5653 | ><P |
| 5654 | ></P |
| 5655 | ><TABLE |
| 5656 | BORDER="0" |
| 5657 | WIDTH="100%" |
| 5658 | BGCOLOR="#FFD0D0" |
| 5659 | CELLSPACING="0" |
| 5660 | CELLPADDING="4" |
| 5661 | CLASS="CALSTABLE" |
| 5662 | ><TR |
| 5663 | ><TD |
| 5664 | WIDTH="20%" |
| 5665 | ALIGN="RIGHT" |
| 5666 | VALIGN="TOP" |
| 5667 | ><TT |
| 5668 | CLASS="PARAMETER" |
| 5669 | ><I |
| 5670 | >ctxt</I |
| 5671 | ></TT |
| 5672 | > :</TD |
| 5673 | ><TD |
| 5674 | WIDTH="80%" |
| 5675 | ALIGN="LEFT" |
| 5676 | VALIGN="TOP" |
| 5677 | > the XPath Parser context</TD |
| 5678 | ></TR |
| 5679 | ></TABLE |
| 5680 | ><P |
| 5681 | ></P |
| 5682 | ></DIV |
| 5683 | ></DIV |
| 5684 | ><HR><DIV |
| 5685 | CLASS="REFSECT2" |
| 5686 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 5687 | NAME="AEN12433" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 5688 | ></A |
| 5689 | ><H3 |
| 5690 | ><A |
| 5691 | NAME="XMLXPATHLASTFUNCTION" |
| 5692 | ></A |
| 5693 | >xmlXPathLastFunction ()</H3 |
| 5694 | ><TABLE |
| 5695 | BORDER="0" |
| 5696 | BGCOLOR="#D6E8FF" |
| 5697 | WIDTH="100%" |
| 5698 | CELLPADDING="6" |
| 5699 | ><TR |
| 5700 | ><TD |
| 5701 | ><PRE |
| 5702 | CLASS="PROGRAMLISTING" |
| 5703 | >void xmlXPathLastFunction (<A |
| 5704 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 5705 | >xmlXPathParserContextPtr</A |
| 5706 | > ctxt, |
| 5707 | int nargs);</PRE |
| 5708 | ></TD |
| 5709 | ></TR |
| 5710 | ></TABLE |
| 5711 | ><P |
| 5712 | >Implement the <GTKDOCLINK |
| 5713 | HREF="LAST" |
| 5714 | >last</GTKDOCLINK |
| 5715 | >() XPath function |
| 5716 | number <GTKDOCLINK |
| 5717 | HREF="LAST" |
| 5718 | >last</GTKDOCLINK |
| 5719 | >() |
| 5720 | The last function returns the number of nodes in the context node list.</P |
| 5721 | ><P |
| 5722 | ></P |
| 5723 | ><DIV |
| 5724 | CLASS="INFORMALTABLE" |
| 5725 | ><P |
| 5726 | ></P |
| 5727 | ><TABLE |
| 5728 | BORDER="0" |
| 5729 | WIDTH="100%" |
| 5730 | BGCOLOR="#FFD0D0" |
| 5731 | CELLSPACING="0" |
| 5732 | CELLPADDING="4" |
| 5733 | CLASS="CALSTABLE" |
| 5734 | ><TR |
| 5735 | ><TD |
| 5736 | WIDTH="20%" |
| 5737 | ALIGN="RIGHT" |
| 5738 | VALIGN="TOP" |
| 5739 | ><TT |
| 5740 | CLASS="PARAMETER" |
| 5741 | ><I |
| 5742 | >ctxt</I |
| 5743 | ></TT |
| 5744 | > :</TD |
| 5745 | ><TD |
| 5746 | WIDTH="80%" |
| 5747 | ALIGN="LEFT" |
| 5748 | VALIGN="TOP" |
| 5749 | > the XPath Parser context</TD |
| 5750 | ></TR |
| 5751 | ><TR |
| 5752 | ><TD |
| 5753 | WIDTH="20%" |
| 5754 | ALIGN="RIGHT" |
| 5755 | VALIGN="TOP" |
| 5756 | ><TT |
| 5757 | CLASS="PARAMETER" |
| 5758 | ><I |
| 5759 | >nargs</I |
| 5760 | ></TT |
| 5761 | > :</TD |
| 5762 | ><TD |
| 5763 | WIDTH="80%" |
| 5764 | ALIGN="LEFT" |
| 5765 | VALIGN="TOP" |
| 5766 | > </TD |
| 5767 | ></TR |
| 5768 | ></TABLE |
| 5769 | ><P |
| 5770 | ></P |
| 5771 | ></DIV |
| 5772 | ></DIV |
| 5773 | ><HR><DIV |
| 5774 | CLASS="REFSECT2" |
| 5775 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 5776 | NAME="AEN12455" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 5777 | ></A |
| 5778 | ><H3 |
| 5779 | ><A |
| 5780 | NAME="XMLXPATHPOSITIONFUNCTION" |
| 5781 | ></A |
| 5782 | >xmlXPathPositionFunction ()</H3 |
| 5783 | ><TABLE |
| 5784 | BORDER="0" |
| 5785 | BGCOLOR="#D6E8FF" |
| 5786 | WIDTH="100%" |
| 5787 | CELLPADDING="6" |
| 5788 | ><TR |
| 5789 | ><TD |
| 5790 | ><PRE |
| 5791 | CLASS="PROGRAMLISTING" |
| 5792 | >void xmlXPathPositionFunction (<A |
| 5793 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 5794 | >xmlXPathParserContextPtr</A |
| 5795 | > ctxt, |
| 5796 | int nargs);</PRE |
| 5797 | ></TD |
| 5798 | ></TR |
| 5799 | ></TABLE |
| 5800 | ><P |
| 5801 | >Implement the <GTKDOCLINK |
| 5802 | HREF="POSITION" |
| 5803 | >position</GTKDOCLINK |
| 5804 | >() XPath function |
| 5805 | number <GTKDOCLINK |
| 5806 | HREF="POSITION" |
| 5807 | >position</GTKDOCLINK |
| 5808 | >() |
| 5809 | The position function returns the position of the context node in the |
| 5810 | context node list. The first position is 1, and so the last positionr |
| 5811 | will be equal to <GTKDOCLINK |
| 5812 | HREF="LAST" |
| 5813 | >last</GTKDOCLINK |
| 5814 | >().</P |
| 5815 | ><P |
| 5816 | ></P |
| 5817 | ><DIV |
| 5818 | CLASS="INFORMALTABLE" |
| 5819 | ><P |
| 5820 | ></P |
| 5821 | ><TABLE |
| 5822 | BORDER="0" |
| 5823 | WIDTH="100%" |
| 5824 | BGCOLOR="#FFD0D0" |
| 5825 | CELLSPACING="0" |
| 5826 | CELLPADDING="4" |
| 5827 | CLASS="CALSTABLE" |
| 5828 | ><TR |
| 5829 | ><TD |
| 5830 | WIDTH="20%" |
| 5831 | ALIGN="RIGHT" |
| 5832 | VALIGN="TOP" |
| 5833 | ><TT |
| 5834 | CLASS="PARAMETER" |
| 5835 | ><I |
| 5836 | >ctxt</I |
| 5837 | ></TT |
| 5838 | > :</TD |
| 5839 | ><TD |
| 5840 | WIDTH="80%" |
| 5841 | ALIGN="LEFT" |
| 5842 | VALIGN="TOP" |
| 5843 | > the XPath Parser context</TD |
| 5844 | ></TR |
| 5845 | ><TR |
| 5846 | ><TD |
| 5847 | WIDTH="20%" |
| 5848 | ALIGN="RIGHT" |
| 5849 | VALIGN="TOP" |
| 5850 | ><TT |
| 5851 | CLASS="PARAMETER" |
| 5852 | ><I |
| 5853 | >nargs</I |
| 5854 | ></TT |
| 5855 | > :</TD |
| 5856 | ><TD |
| 5857 | WIDTH="80%" |
| 5858 | ALIGN="LEFT" |
| 5859 | VALIGN="TOP" |
| 5860 | > </TD |
| 5861 | ></TR |
| 5862 | ></TABLE |
| 5863 | ><P |
| 5864 | ></P |
| 5865 | ></DIV |
| 5866 | ></DIV |
| 5867 | ><HR><DIV |
| 5868 | CLASS="REFSECT2" |
| 5869 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 5870 | NAME="AEN12478" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 5871 | ></A |
| 5872 | ><H3 |
| 5873 | ><A |
| 5874 | NAME="XMLXPATHCOUNTFUNCTION" |
| 5875 | ></A |
| 5876 | >xmlXPathCountFunction ()</H3 |
| 5877 | ><TABLE |
| 5878 | BORDER="0" |
| 5879 | BGCOLOR="#D6E8FF" |
| 5880 | WIDTH="100%" |
| 5881 | CELLPADDING="6" |
| 5882 | ><TR |
| 5883 | ><TD |
| 5884 | ><PRE |
| 5885 | CLASS="PROGRAMLISTING" |
| 5886 | >void xmlXPathCountFunction (<A |
| 5887 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 5888 | >xmlXPathParserContextPtr</A |
| 5889 | > ctxt, |
| 5890 | int nargs);</PRE |
| 5891 | ></TD |
| 5892 | ></TR |
| 5893 | ></TABLE |
| 5894 | ><P |
| 5895 | >Implement the <GTKDOCLINK |
| 5896 | HREF="COUNT" |
| 5897 | >count</GTKDOCLINK |
| 5898 | >() XPath function |
| 5899 | number count(node-set)</P |
| 5900 | ><P |
| 5901 | ></P |
| 5902 | ><DIV |
| 5903 | CLASS="INFORMALTABLE" |
| 5904 | ><P |
| 5905 | ></P |
| 5906 | ><TABLE |
| 5907 | BORDER="0" |
| 5908 | WIDTH="100%" |
| 5909 | BGCOLOR="#FFD0D0" |
| 5910 | CELLSPACING="0" |
| 5911 | CELLPADDING="4" |
| 5912 | CLASS="CALSTABLE" |
| 5913 | ><TR |
| 5914 | ><TD |
| 5915 | WIDTH="20%" |
| 5916 | ALIGN="RIGHT" |
| 5917 | VALIGN="TOP" |
| 5918 | ><TT |
| 5919 | CLASS="PARAMETER" |
| 5920 | ><I |
| 5921 | >ctxt</I |
| 5922 | ></TT |
| 5923 | > :</TD |
| 5924 | ><TD |
| 5925 | WIDTH="80%" |
| 5926 | ALIGN="LEFT" |
| 5927 | VALIGN="TOP" |
| 5928 | > the XPath Parser context</TD |
| 5929 | ></TR |
| 5930 | ><TR |
| 5931 | ><TD |
| 5932 | WIDTH="20%" |
| 5933 | ALIGN="RIGHT" |
| 5934 | VALIGN="TOP" |
| 5935 | ><TT |
| 5936 | CLASS="PARAMETER" |
| 5937 | ><I |
| 5938 | >nargs</I |
| 5939 | ></TT |
| 5940 | > :</TD |
| 5941 | ><TD |
| 5942 | WIDTH="80%" |
| 5943 | ALIGN="LEFT" |
| 5944 | VALIGN="TOP" |
| 5945 | > </TD |
| 5946 | ></TR |
| 5947 | ></TABLE |
| 5948 | ><P |
| 5949 | ></P |
| 5950 | ></DIV |
| 5951 | ></DIV |
| 5952 | ><HR><DIV |
| 5953 | CLASS="REFSECT2" |
| 5954 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 5955 | NAME="AEN12499" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 5956 | ></A |
| 5957 | ><H3 |
| 5958 | ><A |
| 5959 | NAME="XMLXPATHLOCALNAMEFUNCTION" |
| 5960 | ></A |
| 5961 | >xmlXPathLocalNameFunction ()</H3 |
| 5962 | ><TABLE |
| 5963 | BORDER="0" |
| 5964 | BGCOLOR="#D6E8FF" |
| 5965 | WIDTH="100%" |
| 5966 | CELLPADDING="6" |
| 5967 | ><TR |
| 5968 | ><TD |
| 5969 | ><PRE |
| 5970 | CLASS="PROGRAMLISTING" |
| 5971 | >void xmlXPathLocalNameFunction (<A |
| 5972 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 5973 | >xmlXPathParserContextPtr</A |
| 5974 | > ctxt, |
| 5975 | int nargs);</PRE |
| 5976 | ></TD |
| 5977 | ></TR |
| 5978 | ></TABLE |
| 5979 | ><P |
| 5980 | >Implement the local-<GTKDOCLINK |
| 5981 | HREF="NAME" |
| 5982 | >name</GTKDOCLINK |
| 5983 | >() XPath function |
| 5984 | string local-name(node-set?) |
| 5985 | The local-name function returns a string containing the local part |
| 5986 | of the name of the node in the argument node-set that is first in |
| 5987 | document order. If the node-set is empty or the first node has no |
| 5988 | name, an empty string is returned. If the argument is omitted it |
| 5989 | defaults to the context node.</P |
| 5990 | ><P |
| 5991 | ></P |
| 5992 | ><DIV |
| 5993 | CLASS="INFORMALTABLE" |
| 5994 | ><P |
| 5995 | ></P |
| 5996 | ><TABLE |
| 5997 | BORDER="0" |
| 5998 | WIDTH="100%" |
| 5999 | BGCOLOR="#FFD0D0" |
| 6000 | CELLSPACING="0" |
| 6001 | CELLPADDING="4" |
| 6002 | CLASS="CALSTABLE" |
| 6003 | ><TR |
| 6004 | ><TD |
| 6005 | WIDTH="20%" |
| 6006 | ALIGN="RIGHT" |
| 6007 | VALIGN="TOP" |
| 6008 | ><TT |
| 6009 | CLASS="PARAMETER" |
| 6010 | ><I |
| 6011 | >ctxt</I |
| 6012 | ></TT |
| 6013 | > :</TD |
| 6014 | ><TD |
| 6015 | WIDTH="80%" |
| 6016 | ALIGN="LEFT" |
| 6017 | VALIGN="TOP" |
| 6018 | > the XPath Parser context</TD |
| 6019 | ></TR |
| 6020 | ><TR |
| 6021 | ><TD |
| 6022 | WIDTH="20%" |
| 6023 | ALIGN="RIGHT" |
| 6024 | VALIGN="TOP" |
| 6025 | ><TT |
| 6026 | CLASS="PARAMETER" |
| 6027 | ><I |
| 6028 | >nargs</I |
| 6029 | ></TT |
| 6030 | > :</TD |
| 6031 | ><TD |
| 6032 | WIDTH="80%" |
| 6033 | ALIGN="LEFT" |
| 6034 | VALIGN="TOP" |
| 6035 | > </TD |
| 6036 | ></TR |
| 6037 | ></TABLE |
| 6038 | ><P |
| 6039 | ></P |
| 6040 | ></DIV |
| 6041 | ></DIV |
| 6042 | ><HR><DIV |
| 6043 | CLASS="REFSECT2" |
| 6044 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 6045 | NAME="AEN12520" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 6046 | ></A |
| 6047 | ><H3 |
| 6048 | ><A |
| 6049 | NAME="XMLXPATHNAMESPACEURIFUNCTION" |
| 6050 | ></A |
| 6051 | >xmlXPathNamespaceURIFunction ()</H3 |
| 6052 | ><TABLE |
| 6053 | BORDER="0" |
| 6054 | BGCOLOR="#D6E8FF" |
| 6055 | WIDTH="100%" |
| 6056 | CELLPADDING="6" |
| 6057 | ><TR |
| 6058 | ><TD |
| 6059 | ><PRE |
| 6060 | CLASS="PROGRAMLISTING" |
| 6061 | >void xmlXPathNamespaceURIFunction (<A |
| 6062 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 6063 | >xmlXPathParserContextPtr</A |
| 6064 | > ctxt, |
| 6065 | int nargs);</PRE |
| 6066 | ></TD |
| 6067 | ></TR |
| 6068 | ></TABLE |
| 6069 | ><P |
| 6070 | >Implement the namespace-<GTKDOCLINK |
| 6071 | HREF="URI" |
| 6072 | >uri</GTKDOCLINK |
| 6073 | >() XPath function |
| 6074 | string namespace-uri(node-set?) |
| 6075 | The namespace-uri function returns a string containing the |
| 6076 | namespace URI of the expanded name of the node in the argument |
| 6077 | node-set that is first in document order. If the node-set is empty, |
| 6078 | the first node has no name, or the expanded name has no namespace |
| 6079 | URI, an empty string is returned. If the argument is omitted it |
| 6080 | defaults to the context node.</P |
| 6081 | ><P |
| 6082 | ></P |
| 6083 | ><DIV |
| 6084 | CLASS="INFORMALTABLE" |
| 6085 | ><P |
| 6086 | ></P |
| 6087 | ><TABLE |
| 6088 | BORDER="0" |
| 6089 | WIDTH="100%" |
| 6090 | BGCOLOR="#FFD0D0" |
| 6091 | CELLSPACING="0" |
| 6092 | CELLPADDING="4" |
| 6093 | CLASS="CALSTABLE" |
| 6094 | ><TR |
| 6095 | ><TD |
| 6096 | WIDTH="20%" |
| 6097 | ALIGN="RIGHT" |
| 6098 | VALIGN="TOP" |
| 6099 | ><TT |
| 6100 | CLASS="PARAMETER" |
| 6101 | ><I |
| 6102 | >ctxt</I |
| 6103 | ></TT |
| 6104 | > :</TD |
| 6105 | ><TD |
| 6106 | WIDTH="80%" |
| 6107 | ALIGN="LEFT" |
| 6108 | VALIGN="TOP" |
| 6109 | > the XPath Parser context</TD |
| 6110 | ></TR |
| 6111 | ><TR |
| 6112 | ><TD |
| 6113 | WIDTH="20%" |
| 6114 | ALIGN="RIGHT" |
| 6115 | VALIGN="TOP" |
| 6116 | ><TT |
| 6117 | CLASS="PARAMETER" |
| 6118 | ><I |
| 6119 | >nargs</I |
| 6120 | ></TT |
| 6121 | > :</TD |
| 6122 | ><TD |
| 6123 | WIDTH="80%" |
| 6124 | ALIGN="LEFT" |
| 6125 | VALIGN="TOP" |
| 6126 | > </TD |
| 6127 | ></TR |
| 6128 | ></TABLE |
| 6129 | ><P |
| 6130 | ></P |
| 6131 | ></DIV |
| 6132 | ></DIV |
| 6133 | ><HR><DIV |
| 6134 | CLASS="REFSECT2" |
| 6135 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 6136 | NAME="AEN12541" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 6137 | ></A |
| 6138 | ><H3 |
| 6139 | ><A |
| 6140 | NAME="XMLXPATHSTRINGLENGTHFUNCTION" |
| 6141 | ></A |
| 6142 | >xmlXPathStringLengthFunction ()</H3 |
| 6143 | ><TABLE |
| 6144 | BORDER="0" |
| 6145 | BGCOLOR="#D6E8FF" |
| 6146 | WIDTH="100%" |
| 6147 | CELLPADDING="6" |
| 6148 | ><TR |
| 6149 | ><TD |
| 6150 | ><PRE |
| 6151 | CLASS="PROGRAMLISTING" |
| 6152 | >void xmlXPathStringLengthFunction (<A |
| 6153 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 6154 | >xmlXPathParserContextPtr</A |
| 6155 | > ctxt, |
| 6156 | int nargs);</PRE |
| 6157 | ></TD |
| 6158 | ></TR |
| 6159 | ></TABLE |
| 6160 | ><P |
| 6161 | >Implement the string-<GTKDOCLINK |
| 6162 | HREF="LENGTH" |
| 6163 | >length</GTKDOCLINK |
| 6164 | >() XPath function |
| 6165 | number string-length(string?) |
| 6166 | The string-length returns the number of characters in the string |
| 6167 | (see [3.6 Strings]). If the argument is omitted, it defaults to |
| 6168 | the context node converted to a string, in other words the value |
| 6169 | of the context node.</P |
| 6170 | ><P |
| 6171 | ></P |
| 6172 | ><DIV |
| 6173 | CLASS="INFORMALTABLE" |
| 6174 | ><P |
| 6175 | ></P |
| 6176 | ><TABLE |
| 6177 | BORDER="0" |
| 6178 | WIDTH="100%" |
| 6179 | BGCOLOR="#FFD0D0" |
| 6180 | CELLSPACING="0" |
| 6181 | CELLPADDING="4" |
| 6182 | CLASS="CALSTABLE" |
| 6183 | ><TR |
| 6184 | ><TD |
| 6185 | WIDTH="20%" |
| 6186 | ALIGN="RIGHT" |
| 6187 | VALIGN="TOP" |
| 6188 | ><TT |
| 6189 | CLASS="PARAMETER" |
| 6190 | ><I |
| 6191 | >ctxt</I |
| 6192 | ></TT |
| 6193 | > :</TD |
| 6194 | ><TD |
| 6195 | WIDTH="80%" |
| 6196 | ALIGN="LEFT" |
| 6197 | VALIGN="TOP" |
| 6198 | > the XPath Parser context</TD |
| 6199 | ></TR |
| 6200 | ><TR |
| 6201 | ><TD |
| 6202 | WIDTH="20%" |
| 6203 | ALIGN="RIGHT" |
| 6204 | VALIGN="TOP" |
| 6205 | ><TT |
| 6206 | CLASS="PARAMETER" |
| 6207 | ><I |
| 6208 | >nargs</I |
| 6209 | ></TT |
| 6210 | > :</TD |
| 6211 | ><TD |
| 6212 | WIDTH="80%" |
| 6213 | ALIGN="LEFT" |
| 6214 | VALIGN="TOP" |
| 6215 | > </TD |
| 6216 | ></TR |
| 6217 | ></TABLE |
| 6218 | ><P |
| 6219 | ></P |
| 6220 | ></DIV |
| 6221 | ></DIV |
| 6222 | ><HR><DIV |
| 6223 | CLASS="REFSECT2" |
| 6224 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 6225 | NAME="AEN12562" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 6226 | ></A |
| 6227 | ><H3 |
| 6228 | ><A |
| 6229 | NAME="XMLXPATHCONCATFUNCTION" |
| 6230 | ></A |
| 6231 | >xmlXPathConcatFunction ()</H3 |
| 6232 | ><TABLE |
| 6233 | BORDER="0" |
| 6234 | BGCOLOR="#D6E8FF" |
| 6235 | WIDTH="100%" |
| 6236 | CELLPADDING="6" |
| 6237 | ><TR |
| 6238 | ><TD |
| 6239 | ><PRE |
| 6240 | CLASS="PROGRAMLISTING" |
| 6241 | >void xmlXPathConcatFunction (<A |
| 6242 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 6243 | >xmlXPathParserContextPtr</A |
| 6244 | > ctxt, |
| 6245 | int nargs);</PRE |
| 6246 | ></TD |
| 6247 | ></TR |
| 6248 | ></TABLE |
| 6249 | ><P |
| 6250 | >Implement the <GTKDOCLINK |
| 6251 | HREF="CONCAT" |
| 6252 | >concat</GTKDOCLINK |
| 6253 | >() XPath function |
| 6254 | string concat(string, string, string*) |
| 6255 | The concat function returns the concatenation of its arguments.</P |
| 6256 | ><P |
| 6257 | ></P |
| 6258 | ><DIV |
| 6259 | CLASS="INFORMALTABLE" |
| 6260 | ><P |
| 6261 | ></P |
| 6262 | ><TABLE |
| 6263 | BORDER="0" |
| 6264 | WIDTH="100%" |
| 6265 | BGCOLOR="#FFD0D0" |
| 6266 | CELLSPACING="0" |
| 6267 | CELLPADDING="4" |
| 6268 | CLASS="CALSTABLE" |
| 6269 | ><TR |
| 6270 | ><TD |
| 6271 | WIDTH="20%" |
| 6272 | ALIGN="RIGHT" |
| 6273 | VALIGN="TOP" |
| 6274 | ><TT |
| 6275 | CLASS="PARAMETER" |
| 6276 | ><I |
| 6277 | >ctxt</I |
| 6278 | ></TT |
| 6279 | > :</TD |
| 6280 | ><TD |
| 6281 | WIDTH="80%" |
| 6282 | ALIGN="LEFT" |
| 6283 | VALIGN="TOP" |
| 6284 | > the XPath Parser context</TD |
| 6285 | ></TR |
| 6286 | ><TR |
| 6287 | ><TD |
| 6288 | WIDTH="20%" |
| 6289 | ALIGN="RIGHT" |
| 6290 | VALIGN="TOP" |
| 6291 | ><TT |
| 6292 | CLASS="PARAMETER" |
| 6293 | ><I |
| 6294 | >nargs</I |
| 6295 | ></TT |
| 6296 | > :</TD |
| 6297 | ><TD |
| 6298 | WIDTH="80%" |
| 6299 | ALIGN="LEFT" |
| 6300 | VALIGN="TOP" |
| 6301 | > </TD |
| 6302 | ></TR |
| 6303 | ></TABLE |
| 6304 | ><P |
| 6305 | ></P |
| 6306 | ></DIV |
| 6307 | ></DIV |
| 6308 | ><HR><DIV |
| 6309 | CLASS="REFSECT2" |
| 6310 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 6311 | NAME="AEN12583" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 6312 | ></A |
| 6313 | ><H3 |
| 6314 | ><A |
| 6315 | NAME="XMLXPATHCONTAINSFUNCTION" |
| 6316 | ></A |
| 6317 | >xmlXPathContainsFunction ()</H3 |
| 6318 | ><TABLE |
| 6319 | BORDER="0" |
| 6320 | BGCOLOR="#D6E8FF" |
| 6321 | WIDTH="100%" |
| 6322 | CELLPADDING="6" |
| 6323 | ><TR |
| 6324 | ><TD |
| 6325 | ><PRE |
| 6326 | CLASS="PROGRAMLISTING" |
| 6327 | >void xmlXPathContainsFunction (<A |
| 6328 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 6329 | >xmlXPathParserContextPtr</A |
| 6330 | > ctxt, |
| 6331 | int nargs);</PRE |
| 6332 | ></TD |
| 6333 | ></TR |
| 6334 | ></TABLE |
| 6335 | ><P |
| 6336 | >Implement the <GTKDOCLINK |
| 6337 | HREF="CONTAINS" |
| 6338 | >contains</GTKDOCLINK |
| 6339 | >() XPath function |
| 6340 | boolean contains(string, string) |
| 6341 | The contains function returns true if the first argument string |
| 6342 | contains the second argument string, and otherwise returns false.</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 | ><TR |
| 6374 | ><TD |
| 6375 | WIDTH="20%" |
| 6376 | ALIGN="RIGHT" |
| 6377 | VALIGN="TOP" |
| 6378 | ><TT |
| 6379 | CLASS="PARAMETER" |
| 6380 | ><I |
| 6381 | >nargs</I |
| 6382 | ></TT |
| 6383 | > :</TD |
| 6384 | ><TD |
| 6385 | WIDTH="80%" |
| 6386 | ALIGN="LEFT" |
| 6387 | VALIGN="TOP" |
| 6388 | > </TD |
| 6389 | ></TR |
| 6390 | ></TABLE |
| 6391 | ><P |
| 6392 | ></P |
| 6393 | ></DIV |
| 6394 | ></DIV |
| 6395 | ><HR><DIV |
| 6396 | CLASS="REFSECT2" |
| 6397 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 6398 | NAME="AEN12604" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 6399 | ></A |
| 6400 | ><H3 |
| 6401 | ><A |
| 6402 | NAME="XMLXPATHSTARTSWITHFUNCTION" |
| 6403 | ></A |
| 6404 | >xmlXPathStartsWithFunction ()</H3 |
| 6405 | ><TABLE |
| 6406 | BORDER="0" |
| 6407 | BGCOLOR="#D6E8FF" |
| 6408 | WIDTH="100%" |
| 6409 | CELLPADDING="6" |
| 6410 | ><TR |
| 6411 | ><TD |
| 6412 | ><PRE |
| 6413 | CLASS="PROGRAMLISTING" |
| 6414 | >void xmlXPathStartsWithFunction (<A |
| 6415 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 6416 | >xmlXPathParserContextPtr</A |
| 6417 | > ctxt, |
| 6418 | int nargs);</PRE |
| 6419 | ></TD |
| 6420 | ></TR |
| 6421 | ></TABLE |
| 6422 | ><P |
| 6423 | >Implement the starts-<GTKDOCLINK |
| 6424 | HREF="WITH" |
| 6425 | >with</GTKDOCLINK |
| 6426 | >() XPath function |
| 6427 | boolean starts-with(string, string) |
| 6428 | The starts-with function returns true if the first argument string |
| 6429 | starts with the second argument string, and otherwise returns false.</P |
| 6430 | ><P |
| 6431 | ></P |
| 6432 | ><DIV |
| 6433 | CLASS="INFORMALTABLE" |
| 6434 | ><P |
| 6435 | ></P |
| 6436 | ><TABLE |
| 6437 | BORDER="0" |
| 6438 | WIDTH="100%" |
| 6439 | BGCOLOR="#FFD0D0" |
| 6440 | CELLSPACING="0" |
| 6441 | CELLPADDING="4" |
| 6442 | CLASS="CALSTABLE" |
| 6443 | ><TR |
| 6444 | ><TD |
| 6445 | WIDTH="20%" |
| 6446 | ALIGN="RIGHT" |
| 6447 | VALIGN="TOP" |
| 6448 | ><TT |
| 6449 | CLASS="PARAMETER" |
| 6450 | ><I |
| 6451 | >ctxt</I |
| 6452 | ></TT |
| 6453 | > :</TD |
| 6454 | ><TD |
| 6455 | WIDTH="80%" |
| 6456 | ALIGN="LEFT" |
| 6457 | VALIGN="TOP" |
| 6458 | > the XPath Parser context</TD |
| 6459 | ></TR |
| 6460 | ><TR |
| 6461 | ><TD |
| 6462 | WIDTH="20%" |
| 6463 | ALIGN="RIGHT" |
| 6464 | VALIGN="TOP" |
| 6465 | ><TT |
| 6466 | CLASS="PARAMETER" |
| 6467 | ><I |
| 6468 | >nargs</I |
| 6469 | ></TT |
| 6470 | > :</TD |
| 6471 | ><TD |
| 6472 | WIDTH="80%" |
| 6473 | ALIGN="LEFT" |
| 6474 | VALIGN="TOP" |
| 6475 | > </TD |
| 6476 | ></TR |
| 6477 | ></TABLE |
| 6478 | ><P |
| 6479 | ></P |
| 6480 | ></DIV |
| 6481 | ></DIV |
| 6482 | ><HR><DIV |
| 6483 | CLASS="REFSECT2" |
| 6484 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 6485 | NAME="AEN12625" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 6486 | ></A |
| 6487 | ><H3 |
| 6488 | ><A |
| 6489 | NAME="XMLXPATHSUBSTRINGFUNCTION" |
| 6490 | ></A |
| 6491 | >xmlXPathSubstringFunction ()</H3 |
| 6492 | ><TABLE |
| 6493 | BORDER="0" |
| 6494 | BGCOLOR="#D6E8FF" |
| 6495 | WIDTH="100%" |
| 6496 | CELLPADDING="6" |
| 6497 | ><TR |
| 6498 | ><TD |
| 6499 | ><PRE |
| 6500 | CLASS="PROGRAMLISTING" |
| 6501 | >void xmlXPathSubstringFunction (<A |
| 6502 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 6503 | >xmlXPathParserContextPtr</A |
| 6504 | > ctxt, |
| 6505 | int nargs);</PRE |
| 6506 | ></TD |
| 6507 | ></TR |
| 6508 | ></TABLE |
| 6509 | ><P |
| 6510 | >Implement the <GTKDOCLINK |
| 6511 | HREF="SUBSTRING" |
| 6512 | >substring</GTKDOCLINK |
| 6513 | >() XPath function |
| 6514 | string substring(string, number, number?) |
| 6515 | The substring function returns the substring of the first argument |
| 6516 | starting at the position specified in the second argument with |
| 6517 | length specified in the third argument. For example, |
| 6518 | substring("12345",2,3) returns "234". If the third argument is not |
| 6519 | specified, it returns the substring starting at the position specified |
| 6520 | in the second argument and continuing to the end of the string. For |
| 6521 | example, substring("12345",2) returns "2345". More precisely, each |
| 6522 | character in the string (see [3.6 Strings]) is considered to have a |
| 6523 | numeric position: the position of the first character is 1, the position |
| 6524 | of the second character is 2 and so on. The returned substring contains |
| 6525 | those characters for which the position of the character is greater than |
| 6526 | or equal to the second argument and, if the third argument is specified, |
| 6527 | less than the sum of the second and third arguments; the comparisons |
| 6528 | and addition used for the above follow the standard IEEE 754 rules. Thus: |
| 6529 | - substring("12345", 1.5, 2.6) returns "234" |
| 6530 | - substring("12345", 0, 3) returns "12" |
| 6531 | - substring("12345", 0 div 0, 3) returns "" |
| 6532 | - substring("12345", 1, 0 div 0) returns "" |
| 6533 | - substring("12345", -42, 1 div 0) returns "12345" |
| 6534 | - substring("12345", -1 div 0, 1 div 0) returns ""</P |
| 6535 | ><P |
| 6536 | ></P |
| 6537 | ><DIV |
| 6538 | CLASS="INFORMALTABLE" |
| 6539 | ><P |
| 6540 | ></P |
| 6541 | ><TABLE |
| 6542 | BORDER="0" |
| 6543 | WIDTH="100%" |
| 6544 | BGCOLOR="#FFD0D0" |
| 6545 | CELLSPACING="0" |
| 6546 | CELLPADDING="4" |
| 6547 | CLASS="CALSTABLE" |
| 6548 | ><TR |
| 6549 | ><TD |
| 6550 | WIDTH="20%" |
| 6551 | ALIGN="RIGHT" |
| 6552 | VALIGN="TOP" |
| 6553 | ><TT |
| 6554 | CLASS="PARAMETER" |
| 6555 | ><I |
| 6556 | >ctxt</I |
| 6557 | ></TT |
| 6558 | > :</TD |
| 6559 | ><TD |
| 6560 | WIDTH="80%" |
| 6561 | ALIGN="LEFT" |
| 6562 | VALIGN="TOP" |
| 6563 | > the XPath Parser context</TD |
| 6564 | ></TR |
| 6565 | ><TR |
| 6566 | ><TD |
| 6567 | WIDTH="20%" |
| 6568 | ALIGN="RIGHT" |
| 6569 | VALIGN="TOP" |
| 6570 | ><TT |
| 6571 | CLASS="PARAMETER" |
| 6572 | ><I |
| 6573 | >nargs</I |
| 6574 | ></TT |
| 6575 | > :</TD |
| 6576 | ><TD |
| 6577 | WIDTH="80%" |
| 6578 | ALIGN="LEFT" |
| 6579 | VALIGN="TOP" |
| 6580 | > </TD |
| 6581 | ></TR |
| 6582 | ></TABLE |
| 6583 | ><P |
| 6584 | ></P |
| 6585 | ></DIV |
| 6586 | ></DIV |
| 6587 | ><HR><DIV |
| 6588 | CLASS="REFSECT2" |
| 6589 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 6590 | NAME="AEN12646" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 6591 | ></A |
| 6592 | ><H3 |
| 6593 | ><A |
| 6594 | NAME="XMLXPATHSUBSTRINGBEFOREFUNCTION" |
| 6595 | ></A |
| 6596 | >xmlXPathSubstringBeforeFunction ()</H3 |
| 6597 | ><TABLE |
| 6598 | BORDER="0" |
| 6599 | BGCOLOR="#D6E8FF" |
| 6600 | WIDTH="100%" |
| 6601 | CELLPADDING="6" |
| 6602 | ><TR |
| 6603 | ><TD |
| 6604 | ><PRE |
| 6605 | CLASS="PROGRAMLISTING" |
| 6606 | >void xmlXPathSubstringBeforeFunction (<A |
| 6607 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 6608 | >xmlXPathParserContextPtr</A |
| 6609 | > ctxt, |
| 6610 | int nargs);</PRE |
| 6611 | ></TD |
| 6612 | ></TR |
| 6613 | ></TABLE |
| 6614 | ><P |
| 6615 | >Implement the substring-<GTKDOCLINK |
| 6616 | HREF="BEFORE" |
| 6617 | >before</GTKDOCLINK |
| 6618 | >() XPath function |
| 6619 | string substring-before(string, string) |
| 6620 | The substring-before function returns the substring of the first |
| 6621 | argument string that precedes the first occurrence of the second |
| 6622 | argument string in the first argument string, or the empty string |
| 6623 | if the first argument string does not contain the second argument |
| 6624 | string. For example, substring-before("1999/04/01","/") returns 1999.</P |
| 6625 | ><P |
| 6626 | ></P |
| 6627 | ><DIV |
| 6628 | CLASS="INFORMALTABLE" |
| 6629 | ><P |
| 6630 | ></P |
| 6631 | ><TABLE |
| 6632 | BORDER="0" |
| 6633 | WIDTH="100%" |
| 6634 | BGCOLOR="#FFD0D0" |
| 6635 | CELLSPACING="0" |
| 6636 | CELLPADDING="4" |
| 6637 | CLASS="CALSTABLE" |
| 6638 | ><TR |
| 6639 | ><TD |
| 6640 | WIDTH="20%" |
| 6641 | ALIGN="RIGHT" |
| 6642 | VALIGN="TOP" |
| 6643 | ><TT |
| 6644 | CLASS="PARAMETER" |
| 6645 | ><I |
| 6646 | >ctxt</I |
| 6647 | ></TT |
| 6648 | > :</TD |
| 6649 | ><TD |
| 6650 | WIDTH="80%" |
| 6651 | ALIGN="LEFT" |
| 6652 | VALIGN="TOP" |
| 6653 | > the XPath Parser context</TD |
| 6654 | ></TR |
| 6655 | ><TR |
| 6656 | ><TD |
| 6657 | WIDTH="20%" |
| 6658 | ALIGN="RIGHT" |
| 6659 | VALIGN="TOP" |
| 6660 | ><TT |
| 6661 | CLASS="PARAMETER" |
| 6662 | ><I |
| 6663 | >nargs</I |
| 6664 | ></TT |
| 6665 | > :</TD |
| 6666 | ><TD |
| 6667 | WIDTH="80%" |
| 6668 | ALIGN="LEFT" |
| 6669 | VALIGN="TOP" |
| 6670 | > </TD |
| 6671 | ></TR |
| 6672 | ></TABLE |
| 6673 | ><P |
| 6674 | ></P |
| 6675 | ></DIV |
| 6676 | ></DIV |
| 6677 | ><HR><DIV |
| 6678 | CLASS="REFSECT2" |
| 6679 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 6680 | NAME="AEN12667" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 6681 | ></A |
| 6682 | ><H3 |
| 6683 | ><A |
| 6684 | NAME="XMLXPATHSUBSTRINGAFTERFUNCTION" |
| 6685 | ></A |
| 6686 | >xmlXPathSubstringAfterFunction ()</H3 |
| 6687 | ><TABLE |
| 6688 | BORDER="0" |
| 6689 | BGCOLOR="#D6E8FF" |
| 6690 | WIDTH="100%" |
| 6691 | CELLPADDING="6" |
| 6692 | ><TR |
| 6693 | ><TD |
| 6694 | ><PRE |
| 6695 | CLASS="PROGRAMLISTING" |
| 6696 | >void xmlXPathSubstringAfterFunction (<A |
| 6697 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 6698 | >xmlXPathParserContextPtr</A |
| 6699 | > ctxt, |
| 6700 | int nargs);</PRE |
| 6701 | ></TD |
| 6702 | ></TR |
| 6703 | ></TABLE |
| 6704 | ><P |
| 6705 | >Implement the substring-<GTKDOCLINK |
| 6706 | HREF="AFTER" |
| 6707 | >after</GTKDOCLINK |
| 6708 | >() XPath function |
| 6709 | string substring-after(string, string) |
| 6710 | The substring-after function returns the substring of the first |
| 6711 | argument string that follows the first occurrence of the second |
| 6712 | argument string in the first argument string, or the empty stringi |
| 6713 | if the first argument string does not contain the second argument |
| 6714 | string. For example, substring-after("1999/04/01","/") returns 04/01, |
| 6715 | and substring-after("1999/04/01","19") returns 99/04/01.</P |
| 6716 | ><P |
| 6717 | ></P |
| 6718 | ><DIV |
| 6719 | CLASS="INFORMALTABLE" |
| 6720 | ><P |
| 6721 | ></P |
| 6722 | ><TABLE |
| 6723 | BORDER="0" |
| 6724 | WIDTH="100%" |
| 6725 | BGCOLOR="#FFD0D0" |
| 6726 | CELLSPACING="0" |
| 6727 | CELLPADDING="4" |
| 6728 | CLASS="CALSTABLE" |
| 6729 | ><TR |
| 6730 | ><TD |
| 6731 | WIDTH="20%" |
| 6732 | ALIGN="RIGHT" |
| 6733 | VALIGN="TOP" |
| 6734 | ><TT |
| 6735 | CLASS="PARAMETER" |
| 6736 | ><I |
| 6737 | >ctxt</I |
| 6738 | ></TT |
| 6739 | > :</TD |
| 6740 | ><TD |
| 6741 | WIDTH="80%" |
| 6742 | ALIGN="LEFT" |
| 6743 | VALIGN="TOP" |
| 6744 | > the XPath Parser context</TD |
| 6745 | ></TR |
| 6746 | ><TR |
| 6747 | ><TD |
| 6748 | WIDTH="20%" |
| 6749 | ALIGN="RIGHT" |
| 6750 | VALIGN="TOP" |
| 6751 | ><TT |
| 6752 | CLASS="PARAMETER" |
| 6753 | ><I |
| 6754 | >nargs</I |
| 6755 | ></TT |
| 6756 | > :</TD |
| 6757 | ><TD |
| 6758 | WIDTH="80%" |
| 6759 | ALIGN="LEFT" |
| 6760 | VALIGN="TOP" |
| 6761 | > </TD |
| 6762 | ></TR |
| 6763 | ></TABLE |
| 6764 | ><P |
| 6765 | ></P |
| 6766 | ></DIV |
| 6767 | ></DIV |
| 6768 | ><HR><DIV |
| 6769 | CLASS="REFSECT2" |
| 6770 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 6771 | NAME="AEN12688" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 6772 | ></A |
| 6773 | ><H3 |
| 6774 | ><A |
| 6775 | NAME="XMLXPATHNORMALIZEFUNCTION" |
| 6776 | ></A |
| 6777 | >xmlXPathNormalizeFunction ()</H3 |
| 6778 | ><TABLE |
| 6779 | BORDER="0" |
| 6780 | BGCOLOR="#D6E8FF" |
| 6781 | WIDTH="100%" |
| 6782 | CELLPADDING="6" |
| 6783 | ><TR |
| 6784 | ><TD |
| 6785 | ><PRE |
| 6786 | CLASS="PROGRAMLISTING" |
| 6787 | >void xmlXPathNormalizeFunction (<A |
| 6788 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 6789 | >xmlXPathParserContextPtr</A |
| 6790 | > ctxt, |
| 6791 | int nargs);</PRE |
| 6792 | ></TD |
| 6793 | ></TR |
| 6794 | ></TABLE |
| 6795 | ><P |
| 6796 | >Implement the normalize-<GTKDOCLINK |
| 6797 | HREF="SPACE" |
| 6798 | >space</GTKDOCLINK |
| 6799 | >() XPath function |
| 6800 | string normalize-space(string?) |
| 6801 | The normalize-space function returns the argument string with white |
| 6802 | space normalized by stripping leading and trailing whitespace |
| 6803 | and replacing sequences of whitespace characters by a single |
| 6804 | space. Whitespace characters are the same allowed by the S production |
| 6805 | in XML. If the argument is omitted, it defaults to the context |
| 6806 | node converted to a string, in other words the value of the context node.</P |
| 6807 | ><P |
| 6808 | ></P |
| 6809 | ><DIV |
| 6810 | CLASS="INFORMALTABLE" |
| 6811 | ><P |
| 6812 | ></P |
| 6813 | ><TABLE |
| 6814 | BORDER="0" |
| 6815 | WIDTH="100%" |
| 6816 | BGCOLOR="#FFD0D0" |
| 6817 | CELLSPACING="0" |
| 6818 | CELLPADDING="4" |
| 6819 | CLASS="CALSTABLE" |
| 6820 | ><TR |
| 6821 | ><TD |
| 6822 | WIDTH="20%" |
| 6823 | ALIGN="RIGHT" |
| 6824 | VALIGN="TOP" |
| 6825 | ><TT |
| 6826 | CLASS="PARAMETER" |
| 6827 | ><I |
| 6828 | >ctxt</I |
| 6829 | ></TT |
| 6830 | > :</TD |
| 6831 | ><TD |
| 6832 | WIDTH="80%" |
| 6833 | ALIGN="LEFT" |
| 6834 | VALIGN="TOP" |
| 6835 | > the XPath Parser context</TD |
| 6836 | ></TR |
| 6837 | ><TR |
| 6838 | ><TD |
| 6839 | WIDTH="20%" |
| 6840 | ALIGN="RIGHT" |
| 6841 | VALIGN="TOP" |
| 6842 | ><TT |
| 6843 | CLASS="PARAMETER" |
| 6844 | ><I |
| 6845 | >nargs</I |
| 6846 | ></TT |
| 6847 | > :</TD |
| 6848 | ><TD |
| 6849 | WIDTH="80%" |
| 6850 | ALIGN="LEFT" |
| 6851 | VALIGN="TOP" |
| 6852 | > </TD |
| 6853 | ></TR |
| 6854 | ></TABLE |
| 6855 | ><P |
| 6856 | ></P |
| 6857 | ></DIV |
| 6858 | ></DIV |
| 6859 | ><HR><DIV |
| 6860 | CLASS="REFSECT2" |
| 6861 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 6862 | NAME="AEN12709" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 6863 | ></A |
| 6864 | ><H3 |
| 6865 | ><A |
| 6866 | NAME="XMLXPATHTRANSLATEFUNCTION" |
| 6867 | ></A |
| 6868 | >xmlXPathTranslateFunction ()</H3 |
| 6869 | ><TABLE |
| 6870 | BORDER="0" |
| 6871 | BGCOLOR="#D6E8FF" |
| 6872 | WIDTH="100%" |
| 6873 | CELLPADDING="6" |
| 6874 | ><TR |
| 6875 | ><TD |
| 6876 | ><PRE |
| 6877 | CLASS="PROGRAMLISTING" |
| 6878 | >void xmlXPathTranslateFunction (<A |
| 6879 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 6880 | >xmlXPathParserContextPtr</A |
| 6881 | > ctxt, |
| 6882 | int nargs);</PRE |
| 6883 | ></TD |
| 6884 | ></TR |
| 6885 | ></TABLE |
| 6886 | ><P |
| 6887 | >Implement the <GTKDOCLINK |
| 6888 | HREF="TRANSLATE" |
| 6889 | >translate</GTKDOCLINK |
| 6890 | >() XPath function |
| 6891 | string translate(string, string, string) |
| 6892 | The translate function returns the first argument string with |
| 6893 | occurrences of characters in the second argument string replaced |
| 6894 | by the character at the corresponding position in the third argument |
| 6895 | string. For example, translate("bar","abc","ABC") returns the string |
| 6896 | BAr. If there is a character in the second argument string with no |
| 6897 | character at a corresponding position in the third argument string |
| 6898 | (because the second argument string is longer than the third argument |
| 6899 | string), then occurrences of that character in the first argument |
| 6900 | string are removed. For example, translate("--aaa--","abc-","ABC")</P |
| 6901 | ><P |
| 6902 | ></P |
| 6903 | ><DIV |
| 6904 | CLASS="INFORMALTABLE" |
| 6905 | ><P |
| 6906 | ></P |
| 6907 | ><TABLE |
| 6908 | BORDER="0" |
| 6909 | WIDTH="100%" |
| 6910 | BGCOLOR="#FFD0D0" |
| 6911 | CELLSPACING="0" |
| 6912 | CELLPADDING="4" |
| 6913 | CLASS="CALSTABLE" |
| 6914 | ><TR |
| 6915 | ><TD |
| 6916 | WIDTH="20%" |
| 6917 | ALIGN="RIGHT" |
| 6918 | VALIGN="TOP" |
| 6919 | ><TT |
| 6920 | CLASS="PARAMETER" |
| 6921 | ><I |
| 6922 | >ctxt</I |
| 6923 | ></TT |
| 6924 | > :</TD |
| 6925 | ><TD |
| 6926 | WIDTH="80%" |
| 6927 | ALIGN="LEFT" |
| 6928 | VALIGN="TOP" |
| 6929 | > the XPath Parser context</TD |
| 6930 | ></TR |
| 6931 | ><TR |
| 6932 | ><TD |
| 6933 | WIDTH="20%" |
| 6934 | ALIGN="RIGHT" |
| 6935 | VALIGN="TOP" |
| 6936 | ><TT |
| 6937 | CLASS="PARAMETER" |
| 6938 | ><I |
| 6939 | >nargs</I |
| 6940 | ></TT |
| 6941 | > :</TD |
| 6942 | ><TD |
| 6943 | WIDTH="80%" |
| 6944 | ALIGN="LEFT" |
| 6945 | VALIGN="TOP" |
| 6946 | > </TD |
| 6947 | ></TR |
| 6948 | ></TABLE |
| 6949 | ><P |
| 6950 | ></P |
| 6951 | ></DIV |
| 6952 | ></DIV |
| 6953 | ><HR><DIV |
| 6954 | CLASS="REFSECT2" |
| 6955 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 6956 | NAME="AEN12730" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 6957 | ></A |
| 6958 | ><H3 |
| 6959 | ><A |
| 6960 | NAME="XMLXPATHNOTFUNCTION" |
| 6961 | ></A |
| 6962 | >xmlXPathNotFunction ()</H3 |
| 6963 | ><TABLE |
| 6964 | BORDER="0" |
| 6965 | BGCOLOR="#D6E8FF" |
| 6966 | WIDTH="100%" |
| 6967 | CELLPADDING="6" |
| 6968 | ><TR |
| 6969 | ><TD |
| 6970 | ><PRE |
| 6971 | CLASS="PROGRAMLISTING" |
| 6972 | >void xmlXPathNotFunction (<A |
| 6973 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 6974 | >xmlXPathParserContextPtr</A |
| 6975 | > ctxt, |
| 6976 | int nargs);</PRE |
| 6977 | ></TD |
| 6978 | ></TR |
| 6979 | ></TABLE |
| 6980 | ><P |
| 6981 | >Implement the <GTKDOCLINK |
| 6982 | HREF="NOT" |
| 6983 | >not</GTKDOCLINK |
| 6984 | >() XPath function |
| 6985 | boolean not(boolean) |
| 6986 | The not function returns true if its argument is false, |
| 6987 | and false otherwise.</P |
| 6988 | ><P |
| 6989 | ></P |
| 6990 | ><DIV |
| 6991 | CLASS="INFORMALTABLE" |
| 6992 | ><P |
| 6993 | ></P |
| 6994 | ><TABLE |
| 6995 | BORDER="0" |
| 6996 | WIDTH="100%" |
| 6997 | BGCOLOR="#FFD0D0" |
| 6998 | CELLSPACING="0" |
| 6999 | CELLPADDING="4" |
| 7000 | CLASS="CALSTABLE" |
| 7001 | ><TR |
| 7002 | ><TD |
| 7003 | WIDTH="20%" |
| 7004 | ALIGN="RIGHT" |
| 7005 | VALIGN="TOP" |
| 7006 | ><TT |
| 7007 | CLASS="PARAMETER" |
| 7008 | ><I |
| 7009 | >ctxt</I |
| 7010 | ></TT |
| 7011 | > :</TD |
| 7012 | ><TD |
| 7013 | WIDTH="80%" |
| 7014 | ALIGN="LEFT" |
| 7015 | VALIGN="TOP" |
| 7016 | > the XPath Parser context</TD |
| 7017 | ></TR |
| 7018 | ><TR |
| 7019 | ><TD |
| 7020 | WIDTH="20%" |
| 7021 | ALIGN="RIGHT" |
| 7022 | VALIGN="TOP" |
| 7023 | ><TT |
| 7024 | CLASS="PARAMETER" |
| 7025 | ><I |
| 7026 | >nargs</I |
| 7027 | ></TT |
| 7028 | > :</TD |
| 7029 | ><TD |
| 7030 | WIDTH="80%" |
| 7031 | ALIGN="LEFT" |
| 7032 | VALIGN="TOP" |
| 7033 | > </TD |
| 7034 | ></TR |
| 7035 | ></TABLE |
| 7036 | ><P |
| 7037 | ></P |
| 7038 | ></DIV |
| 7039 | ></DIV |
| 7040 | ><HR><DIV |
| 7041 | CLASS="REFSECT2" |
| 7042 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 7043 | NAME="AEN12751" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 7044 | ></A |
| 7045 | ><H3 |
| 7046 | ><A |
| 7047 | NAME="XMLXPATHTRUEFUNCTION" |
| 7048 | ></A |
| 7049 | >xmlXPathTrueFunction ()</H3 |
| 7050 | ><TABLE |
| 7051 | BORDER="0" |
| 7052 | BGCOLOR="#D6E8FF" |
| 7053 | WIDTH="100%" |
| 7054 | CELLPADDING="6" |
| 7055 | ><TR |
| 7056 | ><TD |
| 7057 | ><PRE |
| 7058 | CLASS="PROGRAMLISTING" |
| 7059 | >void xmlXPathTrueFunction (<A |
| 7060 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 7061 | >xmlXPathParserContextPtr</A |
| 7062 | > ctxt, |
| 7063 | int nargs);</PRE |
| 7064 | ></TD |
| 7065 | ></TR |
| 7066 | ></TABLE |
| 7067 | ><P |
| 7068 | >Implement the <GTKDOCLINK |
| 7069 | HREF="TRUE" |
| 7070 | >true</GTKDOCLINK |
| 7071 | >() XPath function |
| 7072 | boolean <GTKDOCLINK |
| 7073 | HREF="TRUE" |
| 7074 | >true</GTKDOCLINK |
| 7075 | >()</P |
| 7076 | ><P |
| 7077 | ></P |
| 7078 | ><DIV |
| 7079 | CLASS="INFORMALTABLE" |
| 7080 | ><P |
| 7081 | ></P |
| 7082 | ><TABLE |
| 7083 | BORDER="0" |
| 7084 | WIDTH="100%" |
| 7085 | BGCOLOR="#FFD0D0" |
| 7086 | CELLSPACING="0" |
| 7087 | CELLPADDING="4" |
| 7088 | CLASS="CALSTABLE" |
| 7089 | ><TR |
| 7090 | ><TD |
| 7091 | WIDTH="20%" |
| 7092 | ALIGN="RIGHT" |
| 7093 | VALIGN="TOP" |
| 7094 | ><TT |
| 7095 | CLASS="PARAMETER" |
| 7096 | ><I |
| 7097 | >ctxt</I |
| 7098 | ></TT |
| 7099 | > :</TD |
| 7100 | ><TD |
| 7101 | WIDTH="80%" |
| 7102 | ALIGN="LEFT" |
| 7103 | VALIGN="TOP" |
| 7104 | > the XPath Parser context</TD |
| 7105 | ></TR |
| 7106 | ><TR |
| 7107 | ><TD |
| 7108 | WIDTH="20%" |
| 7109 | ALIGN="RIGHT" |
| 7110 | VALIGN="TOP" |
| 7111 | ><TT |
| 7112 | CLASS="PARAMETER" |
| 7113 | ><I |
| 7114 | >nargs</I |
| 7115 | ></TT |
| 7116 | > :</TD |
| 7117 | ><TD |
| 7118 | WIDTH="80%" |
| 7119 | ALIGN="LEFT" |
| 7120 | VALIGN="TOP" |
| 7121 | > </TD |
| 7122 | ></TR |
| 7123 | ></TABLE |
| 7124 | ><P |
| 7125 | ></P |
| 7126 | ></DIV |
| 7127 | ></DIV |
| 7128 | ><HR><DIV |
| 7129 | CLASS="REFSECT2" |
| 7130 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 7131 | NAME="AEN12773" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 7132 | ></A |
| 7133 | ><H3 |
| 7134 | ><A |
| 7135 | NAME="XMLXPATHFALSEFUNCTION" |
| 7136 | ></A |
| 7137 | >xmlXPathFalseFunction ()</H3 |
| 7138 | ><TABLE |
| 7139 | BORDER="0" |
| 7140 | BGCOLOR="#D6E8FF" |
| 7141 | WIDTH="100%" |
| 7142 | CELLPADDING="6" |
| 7143 | ><TR |
| 7144 | ><TD |
| 7145 | ><PRE |
| 7146 | CLASS="PROGRAMLISTING" |
| 7147 | >void xmlXPathFalseFunction (<A |
| 7148 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 7149 | >xmlXPathParserContextPtr</A |
| 7150 | > ctxt, |
| 7151 | int nargs);</PRE |
| 7152 | ></TD |
| 7153 | ></TR |
| 7154 | ></TABLE |
| 7155 | ><P |
| 7156 | >Implement the <GTKDOCLINK |
| 7157 | HREF="FALSE" |
| 7158 | >false</GTKDOCLINK |
| 7159 | >() XPath function |
| 7160 | boolean <GTKDOCLINK |
| 7161 | HREF="FALSE" |
| 7162 | >false</GTKDOCLINK |
| 7163 | >()</P |
| 7164 | ><P |
| 7165 | ></P |
| 7166 | ><DIV |
| 7167 | CLASS="INFORMALTABLE" |
| 7168 | ><P |
| 7169 | ></P |
| 7170 | ><TABLE |
| 7171 | BORDER="0" |
| 7172 | WIDTH="100%" |
| 7173 | BGCOLOR="#FFD0D0" |
| 7174 | CELLSPACING="0" |
| 7175 | CELLPADDING="4" |
| 7176 | CLASS="CALSTABLE" |
| 7177 | ><TR |
| 7178 | ><TD |
| 7179 | WIDTH="20%" |
| 7180 | ALIGN="RIGHT" |
| 7181 | VALIGN="TOP" |
| 7182 | ><TT |
| 7183 | CLASS="PARAMETER" |
| 7184 | ><I |
| 7185 | >ctxt</I |
| 7186 | ></TT |
| 7187 | > :</TD |
| 7188 | ><TD |
| 7189 | WIDTH="80%" |
| 7190 | ALIGN="LEFT" |
| 7191 | VALIGN="TOP" |
| 7192 | > the XPath Parser context</TD |
| 7193 | ></TR |
| 7194 | ><TR |
| 7195 | ><TD |
| 7196 | WIDTH="20%" |
| 7197 | ALIGN="RIGHT" |
| 7198 | VALIGN="TOP" |
| 7199 | ><TT |
| 7200 | CLASS="PARAMETER" |
| 7201 | ><I |
| 7202 | >nargs</I |
| 7203 | ></TT |
| 7204 | > :</TD |
| 7205 | ><TD |
| 7206 | WIDTH="80%" |
| 7207 | ALIGN="LEFT" |
| 7208 | VALIGN="TOP" |
| 7209 | > </TD |
| 7210 | ></TR |
| 7211 | ></TABLE |
| 7212 | ><P |
| 7213 | ></P |
| 7214 | ></DIV |
| 7215 | ></DIV |
| 7216 | ><HR><DIV |
| 7217 | CLASS="REFSECT2" |
| 7218 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 7219 | NAME="AEN12795" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 7220 | ></A |
| 7221 | ><H3 |
| 7222 | ><A |
| 7223 | NAME="XMLXPATHLANGFUNCTION" |
| 7224 | ></A |
| 7225 | >xmlXPathLangFunction ()</H3 |
| 7226 | ><TABLE |
| 7227 | BORDER="0" |
| 7228 | BGCOLOR="#D6E8FF" |
| 7229 | WIDTH="100%" |
| 7230 | CELLPADDING="6" |
| 7231 | ><TR |
| 7232 | ><TD |
| 7233 | ><PRE |
| 7234 | CLASS="PROGRAMLISTING" |
| 7235 | >void xmlXPathLangFunction (<A |
| 7236 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 7237 | >xmlXPathParserContextPtr</A |
| 7238 | > ctxt, |
| 7239 | int nargs);</PRE |
| 7240 | ></TD |
| 7241 | ></TR |
| 7242 | ></TABLE |
| 7243 | ><P |
| 7244 | >Implement the <GTKDOCLINK |
| 7245 | HREF="LANG" |
| 7246 | >lang</GTKDOCLINK |
| 7247 | >() XPath function |
| 7248 | boolean lang(string) |
| 7249 | The lang function returns true or false depending on whether the |
| 7250 | language of the context node as specified by xml:lang attributes |
| 7251 | is the same as or is a sublanguage of the language specified by |
| 7252 | the argument string. The language of the context node is determined |
| 7253 | by the value of the xml:lang attribute on the context node, or, if |
| 7254 | the context node has no xml:lang attribute, by the value of the |
| 7255 | xml:lang attribute on the nearest ancestor of the context node that |
| 7256 | has an xml:lang attribute. If there is no such attribute, then lang</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" |
| 7302 | > </TD |
| 7303 | ></TR |
| 7304 | ></TABLE |
| 7305 | ><P |
| 7306 | ></P |
| 7307 | ></DIV |
| 7308 | ></DIV |
| 7309 | ><HR><DIV |
| 7310 | CLASS="REFSECT2" |
| 7311 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 7312 | NAME="AEN12816" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 7313 | ></A |
| 7314 | ><H3 |
| 7315 | ><A |
| 7316 | NAME="XMLXPATHNUMBERFUNCTION" |
| 7317 | ></A |
| 7318 | >xmlXPathNumberFunction ()</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 xmlXPathNumberFunction (<A |
| 7329 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 7330 | >xmlXPathParserContextPtr</A |
| 7331 | > ctxt, |
| 7332 | int nargs);</PRE |
| 7333 | ></TD |
| 7334 | ></TR |
| 7335 | ></TABLE |
| 7336 | ><P |
| 7337 | >Implement the <GTKDOCLINK |
| 7338 | HREF="NUMBER" |
| 7339 | >number</GTKDOCLINK |
| 7340 | >() XPath function |
| 7341 | number number(object?)</P |
| 7342 | ><P |
| 7343 | ></P |
| 7344 | ><DIV |
| 7345 | CLASS="INFORMALTABLE" |
| 7346 | ><P |
| 7347 | ></P |
| 7348 | ><TABLE |
| 7349 | BORDER="0" |
| 7350 | WIDTH="100%" |
| 7351 | BGCOLOR="#FFD0D0" |
| 7352 | CELLSPACING="0" |
| 7353 | CELLPADDING="4" |
| 7354 | CLASS="CALSTABLE" |
| 7355 | ><TR |
| 7356 | ><TD |
| 7357 | WIDTH="20%" |
| 7358 | ALIGN="RIGHT" |
| 7359 | VALIGN="TOP" |
| 7360 | ><TT |
| 7361 | CLASS="PARAMETER" |
| 7362 | ><I |
| 7363 | >ctxt</I |
| 7364 | ></TT |
| 7365 | > :</TD |
| 7366 | ><TD |
| 7367 | WIDTH="80%" |
| 7368 | ALIGN="LEFT" |
| 7369 | VALIGN="TOP" |
| 7370 | > the XPath Parser context</TD |
| 7371 | ></TR |
| 7372 | ><TR |
| 7373 | ><TD |
| 7374 | WIDTH="20%" |
| 7375 | ALIGN="RIGHT" |
| 7376 | VALIGN="TOP" |
| 7377 | ><TT |
| 7378 | CLASS="PARAMETER" |
| 7379 | ><I |
| 7380 | >nargs</I |
| 7381 | ></TT |
| 7382 | > :</TD |
| 7383 | ><TD |
| 7384 | WIDTH="80%" |
| 7385 | ALIGN="LEFT" |
| 7386 | VALIGN="TOP" |
| 7387 | > </TD |
| 7388 | ></TR |
| 7389 | ></TABLE |
| 7390 | ><P |
| 7391 | ></P |
| 7392 | ></DIV |
| 7393 | ></DIV |
| 7394 | ><HR><DIV |
| 7395 | CLASS="REFSECT2" |
| 7396 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 7397 | NAME="AEN12837" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 7398 | ></A |
| 7399 | ><H3 |
| 7400 | ><A |
| 7401 | NAME="XMLXPATHSUMFUNCTION" |
| 7402 | ></A |
| 7403 | >xmlXPathSumFunction ()</H3 |
| 7404 | ><TABLE |
| 7405 | BORDER="0" |
| 7406 | BGCOLOR="#D6E8FF" |
| 7407 | WIDTH="100%" |
| 7408 | CELLPADDING="6" |
| 7409 | ><TR |
| 7410 | ><TD |
| 7411 | ><PRE |
| 7412 | CLASS="PROGRAMLISTING" |
| 7413 | >void xmlXPathSumFunction (<A |
| 7414 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 7415 | >xmlXPathParserContextPtr</A |
| 7416 | > ctxt, |
| 7417 | int nargs);</PRE |
| 7418 | ></TD |
| 7419 | ></TR |
| 7420 | ></TABLE |
| 7421 | ><P |
| 7422 | >Implement the <GTKDOCLINK |
| 7423 | HREF="SUM" |
| 7424 | >sum</GTKDOCLINK |
| 7425 | >() XPath function |
| 7426 | number sum(node-set) |
| 7427 | The sum function returns the sum of the values of the nodes in |
| 7428 | the argument node-set.</P |
| 7429 | ><P |
| 7430 | ></P |
| 7431 | ><DIV |
| 7432 | CLASS="INFORMALTABLE" |
| 7433 | ><P |
| 7434 | ></P |
| 7435 | ><TABLE |
| 7436 | BORDER="0" |
| 7437 | WIDTH="100%" |
| 7438 | BGCOLOR="#FFD0D0" |
| 7439 | CELLSPACING="0" |
| 7440 | CELLPADDING="4" |
| 7441 | CLASS="CALSTABLE" |
| 7442 | ><TR |
| 7443 | ><TD |
| 7444 | WIDTH="20%" |
| 7445 | ALIGN="RIGHT" |
| 7446 | VALIGN="TOP" |
| 7447 | ><TT |
| 7448 | CLASS="PARAMETER" |
| 7449 | ><I |
| 7450 | >ctxt</I |
| 7451 | ></TT |
| 7452 | > :</TD |
| 7453 | ><TD |
| 7454 | WIDTH="80%" |
| 7455 | ALIGN="LEFT" |
| 7456 | VALIGN="TOP" |
| 7457 | > the XPath Parser context</TD |
| 7458 | ></TR |
| 7459 | ><TR |
| 7460 | ><TD |
| 7461 | WIDTH="20%" |
| 7462 | ALIGN="RIGHT" |
| 7463 | VALIGN="TOP" |
| 7464 | ><TT |
| 7465 | CLASS="PARAMETER" |
| 7466 | ><I |
| 7467 | >nargs</I |
| 7468 | ></TT |
| 7469 | > :</TD |
| 7470 | ><TD |
| 7471 | WIDTH="80%" |
| 7472 | ALIGN="LEFT" |
| 7473 | VALIGN="TOP" |
| 7474 | > </TD |
| 7475 | ></TR |
| 7476 | ></TABLE |
| 7477 | ><P |
| 7478 | ></P |
| 7479 | ></DIV |
| 7480 | ></DIV |
| 7481 | ><HR><DIV |
| 7482 | CLASS="REFSECT2" |
| 7483 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 7484 | NAME="AEN12858" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 7485 | ></A |
| 7486 | ><H3 |
| 7487 | ><A |
| 7488 | NAME="XMLXPATHFLOORFUNCTION" |
| 7489 | ></A |
| 7490 | >xmlXPathFloorFunction ()</H3 |
| 7491 | ><TABLE |
| 7492 | BORDER="0" |
| 7493 | BGCOLOR="#D6E8FF" |
| 7494 | WIDTH="100%" |
| 7495 | CELLPADDING="6" |
| 7496 | ><TR |
| 7497 | ><TD |
| 7498 | ><PRE |
| 7499 | CLASS="PROGRAMLISTING" |
| 7500 | >void xmlXPathFloorFunction (<A |
| 7501 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 7502 | >xmlXPathParserContextPtr</A |
| 7503 | > ctxt, |
| 7504 | int nargs);</PRE |
| 7505 | ></TD |
| 7506 | ></TR |
| 7507 | ></TABLE |
| 7508 | ><P |
| 7509 | >Implement the <GTKDOCLINK |
| 7510 | HREF="FLOOR" |
| 7511 | >floor</GTKDOCLINK |
| 7512 | >() XPath function |
| 7513 | number floor(number) |
| 7514 | The floor function returns the largest (closest to positive infinity) |
| 7515 | number that is not greater than the argument and that is an integer.</P |
| 7516 | ><P |
| 7517 | ></P |
| 7518 | ><DIV |
| 7519 | CLASS="INFORMALTABLE" |
| 7520 | ><P |
| 7521 | ></P |
| 7522 | ><TABLE |
| 7523 | BORDER="0" |
| 7524 | WIDTH="100%" |
| 7525 | BGCOLOR="#FFD0D0" |
| 7526 | CELLSPACING="0" |
| 7527 | CELLPADDING="4" |
| 7528 | CLASS="CALSTABLE" |
| 7529 | ><TR |
| 7530 | ><TD |
| 7531 | WIDTH="20%" |
| 7532 | ALIGN="RIGHT" |
| 7533 | VALIGN="TOP" |
| 7534 | ><TT |
| 7535 | CLASS="PARAMETER" |
| 7536 | ><I |
| 7537 | >ctxt</I |
| 7538 | ></TT |
| 7539 | > :</TD |
| 7540 | ><TD |
| 7541 | WIDTH="80%" |
| 7542 | ALIGN="LEFT" |
| 7543 | VALIGN="TOP" |
| 7544 | > the XPath Parser context</TD |
| 7545 | ></TR |
| 7546 | ><TR |
| 7547 | ><TD |
| 7548 | WIDTH="20%" |
| 7549 | ALIGN="RIGHT" |
| 7550 | VALIGN="TOP" |
| 7551 | ><TT |
| 7552 | CLASS="PARAMETER" |
| 7553 | ><I |
| 7554 | >nargs</I |
| 7555 | ></TT |
| 7556 | > :</TD |
| 7557 | ><TD |
| 7558 | WIDTH="80%" |
| 7559 | ALIGN="LEFT" |
| 7560 | VALIGN="TOP" |
| 7561 | > </TD |
| 7562 | ></TR |
| 7563 | ></TABLE |
| 7564 | ><P |
| 7565 | ></P |
| 7566 | ></DIV |
| 7567 | ></DIV |
| 7568 | ><HR><DIV |
| 7569 | CLASS="REFSECT2" |
| 7570 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 7571 | NAME="AEN12879" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 7572 | ></A |
| 7573 | ><H3 |
| 7574 | ><A |
| 7575 | NAME="XMLXPATHCEILINGFUNCTION" |
| 7576 | ></A |
| 7577 | >xmlXPathCeilingFunction ()</H3 |
| 7578 | ><TABLE |
| 7579 | BORDER="0" |
| 7580 | BGCOLOR="#D6E8FF" |
| 7581 | WIDTH="100%" |
| 7582 | CELLPADDING="6" |
| 7583 | ><TR |
| 7584 | ><TD |
| 7585 | ><PRE |
| 7586 | CLASS="PROGRAMLISTING" |
| 7587 | >void xmlXPathCeilingFunction (<A |
| 7588 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 7589 | >xmlXPathParserContextPtr</A |
| 7590 | > ctxt, |
| 7591 | int nargs);</PRE |
| 7592 | ></TD |
| 7593 | ></TR |
| 7594 | ></TABLE |
| 7595 | ><P |
| 7596 | >Implement the <GTKDOCLINK |
| 7597 | HREF="CEILING" |
| 7598 | >ceiling</GTKDOCLINK |
| 7599 | >() XPath function |
| 7600 | number ceiling(number) |
| 7601 | The ceiling function returns the smallest (closest to negative infinity) |
| 7602 | number that is not less than the argument and that is an integer.</P |
| 7603 | ><P |
| 7604 | ></P |
| 7605 | ><DIV |
| 7606 | CLASS="INFORMALTABLE" |
| 7607 | ><P |
| 7608 | ></P |
| 7609 | ><TABLE |
| 7610 | BORDER="0" |
| 7611 | WIDTH="100%" |
| 7612 | BGCOLOR="#FFD0D0" |
| 7613 | CELLSPACING="0" |
| 7614 | CELLPADDING="4" |
| 7615 | CLASS="CALSTABLE" |
| 7616 | ><TR |
| 7617 | ><TD |
| 7618 | WIDTH="20%" |
| 7619 | ALIGN="RIGHT" |
| 7620 | VALIGN="TOP" |
| 7621 | ><TT |
| 7622 | CLASS="PARAMETER" |
| 7623 | ><I |
| 7624 | >ctxt</I |
| 7625 | ></TT |
| 7626 | > :</TD |
| 7627 | ><TD |
| 7628 | WIDTH="80%" |
| 7629 | ALIGN="LEFT" |
| 7630 | VALIGN="TOP" |
| 7631 | > the XPath Parser context</TD |
| 7632 | ></TR |
| 7633 | ><TR |
| 7634 | ><TD |
| 7635 | WIDTH="20%" |
| 7636 | ALIGN="RIGHT" |
| 7637 | VALIGN="TOP" |
| 7638 | ><TT |
| 7639 | CLASS="PARAMETER" |
| 7640 | ><I |
| 7641 | >nargs</I |
| 7642 | ></TT |
| 7643 | > :</TD |
| 7644 | ><TD |
| 7645 | WIDTH="80%" |
| 7646 | ALIGN="LEFT" |
| 7647 | VALIGN="TOP" |
| 7648 | > </TD |
| 7649 | ></TR |
| 7650 | ></TABLE |
| 7651 | ><P |
| 7652 | ></P |
| 7653 | ></DIV |
| 7654 | ></DIV |
| 7655 | ><HR><DIV |
| 7656 | CLASS="REFSECT2" |
| 7657 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 7658 | NAME="AEN12900" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 7659 | ></A |
| 7660 | ><H3 |
| 7661 | ><A |
| 7662 | NAME="XMLXPATHROUNDFUNCTION" |
| 7663 | ></A |
| 7664 | >xmlXPathRoundFunction ()</H3 |
| 7665 | ><TABLE |
| 7666 | BORDER="0" |
| 7667 | BGCOLOR="#D6E8FF" |
| 7668 | WIDTH="100%" |
| 7669 | CELLPADDING="6" |
| 7670 | ><TR |
| 7671 | ><TD |
| 7672 | ><PRE |
| 7673 | CLASS="PROGRAMLISTING" |
| 7674 | >void xmlXPathRoundFunction (<A |
| 7675 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 7676 | >xmlXPathParserContextPtr</A |
| 7677 | > ctxt, |
| 7678 | int nargs);</PRE |
| 7679 | ></TD |
| 7680 | ></TR |
| 7681 | ></TABLE |
| 7682 | ><P |
| 7683 | >Implement the <GTKDOCLINK |
| 7684 | HREF="ROUND" |
| 7685 | >round</GTKDOCLINK |
| 7686 | >() XPath function |
| 7687 | number round(number) |
| 7688 | The round function returns the number that is closest to the |
| 7689 | argument and that is an integer. If there are two such numbers, |
| 7690 | then the one that is even is returned.</P |
| 7691 | ><P |
| 7692 | ></P |
| 7693 | ><DIV |
| 7694 | CLASS="INFORMALTABLE" |
| 7695 | ><P |
| 7696 | ></P |
| 7697 | ><TABLE |
| 7698 | BORDER="0" |
| 7699 | WIDTH="100%" |
| 7700 | BGCOLOR="#FFD0D0" |
| 7701 | CELLSPACING="0" |
| 7702 | CELLPADDING="4" |
| 7703 | CLASS="CALSTABLE" |
| 7704 | ><TR |
| 7705 | ><TD |
| 7706 | WIDTH="20%" |
| 7707 | ALIGN="RIGHT" |
| 7708 | VALIGN="TOP" |
| 7709 | ><TT |
| 7710 | CLASS="PARAMETER" |
| 7711 | ><I |
| 7712 | >ctxt</I |
| 7713 | ></TT |
| 7714 | > :</TD |
| 7715 | ><TD |
| 7716 | WIDTH="80%" |
| 7717 | ALIGN="LEFT" |
| 7718 | VALIGN="TOP" |
| 7719 | > the XPath Parser context</TD |
| 7720 | ></TR |
| 7721 | ><TR |
| 7722 | ><TD |
| 7723 | WIDTH="20%" |
| 7724 | ALIGN="RIGHT" |
| 7725 | VALIGN="TOP" |
| 7726 | ><TT |
| 7727 | CLASS="PARAMETER" |
| 7728 | ><I |
| 7729 | >nargs</I |
| 7730 | ></TT |
| 7731 | > :</TD |
| 7732 | ><TD |
| 7733 | WIDTH="80%" |
| 7734 | ALIGN="LEFT" |
| 7735 | VALIGN="TOP" |
| 7736 | > </TD |
| 7737 | ></TR |
| 7738 | ></TABLE |
| 7739 | ><P |
| 7740 | ></P |
| 7741 | ></DIV |
| 7742 | ></DIV |
| 7743 | ></DIV |
| 7744 | ><DIV |
| 7745 | CLASS="NAVFOOTER" |
| 7746 | ><BR |
| 7747 | CLEAR="all"><BR><TABLE |
| 7748 | WIDTH="100%" |
| 7749 | BORDER="0" |
| 7750 | BGCOLOR="#000000" |
| 7751 | CELLPADDING="1" |
| 7752 | CELLSPACING="0" |
| 7753 | ><TR |
| 7754 | ><TD |
| 7755 | WIDTH="25%" |
| 7756 | BGCOLOR="#C00000" |
| 7757 | ALIGN="left" |
| 7758 | ><A |
| 7759 | HREF="gnome-xml-xpath.html" |
| 7760 | ><FONT |
| 7761 | COLOR="#FFFFFF" |
| 7762 | SIZE="3" |
| 7763 | ><B |
| 7764 | ><<< Previous Page</B |
| 7765 | ></FONT |
| 7766 | ></A |
| 7767 | ></TD |
| 7768 | ><TD |
| 7769 | WIDTH="25%" |
| 7770 | BGCOLOR="#0000C0" |
| 7771 | ALIGN="center" |
| 7772 | ><FONT |
| 7773 | COLOR="#FFFFFF" |
| 7774 | SIZE="3" |
| 7775 | ><B |
| 7776 | ><A |
| 7777 | HREF="book1.html" |
| 7778 | ><FONT |
| 7779 | COLOR="#FFFFFF" |
| 7780 | SIZE="3" |
| 7781 | ><B |
| 7782 | >Home</B |
| 7783 | ></FONT |
| 7784 | ></A |
| 7785 | ></B |
| 7786 | ></FONT |
| 7787 | ></TD |
| 7788 | ><TD |
| 7789 | WIDTH="25%" |
| 7790 | BGCOLOR="#00C000" |
| 7791 | ALIGN="center" |
| 7792 | ><FONT |
| 7793 | COLOR="#FFFFFF" |
| 7794 | SIZE="3" |
| 7795 | ><B |
| 7796 | ><A |
| 7797 | HREF="libxml-lib.html" |
| 7798 | ><FONT |
| 7799 | COLOR="#FFFFFF" |
| 7800 | SIZE="3" |
| 7801 | ><B |
| 7802 | >Up</B |
| 7803 | ></FONT |
| 7804 | ></A |
| 7805 | ></B |
| 7806 | ></FONT |
| 7807 | ></TD |
| 7808 | ><TD |
| 7809 | WIDTH="25%" |
| 7810 | BGCOLOR="#C00000" |
| 7811 | ALIGN="right" |
| 7812 | ><A |
| 7813 | HREF="gnome-xml-xpointer.html" |
| 7814 | ><FONT |
| 7815 | COLOR="#FFFFFF" |
| 7816 | SIZE="3" |
| 7817 | ><B |
| 7818 | >Next Page >>></B |
| 7819 | ></FONT |
| 7820 | ></A |
| 7821 | ></TD |
| 7822 | ></TR |
| 7823 | ><TR |
| 7824 | ><TD |
| 7825 | COLSPAN="2" |
| 7826 | ALIGN="left" |
| 7827 | ><FONT |
| 7828 | COLOR="#FFFFFF" |
| 7829 | SIZE="3" |
| 7830 | ><B |
| 7831 | >xpath</B |
| 7832 | ></FONT |
| 7833 | ></TD |
| 7834 | ><TD |
| 7835 | COLSPAN="2" |
| 7836 | ALIGN="right" |
| 7837 | ><FONT |
| 7838 | COLOR="#FFFFFF" |
| 7839 | SIZE="3" |
| 7840 | ><B |
| 7841 | >xpointer</B |
| 7842 | ></FONT |
| 7843 | ></TD |
| 7844 | ></TR |
| 7845 | ></TABLE |
| 7846 | ></DIV |
| 7847 | ></BODY |
| 7848 | ></HTML |
| 7849 | > |