Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1 | <HTML |
| 2 | ><HEAD |
| 3 | ><TITLE |
| 4 | >xpointer</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" |
Daniel Veillard | 29a11cc | 2000-10-25 13:32:39 +0000 | [diff] [blame] | 15 | TITLE="xpathInternals" |
| 16 | HREF="gnome-xml-xpathinternals.html"><LINK |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 17 | REL="NEXT" |
Daniel Veillard | 28929b2 | 2000-11-13 18:22:49 +0000 | [diff] [blame^] | 18 | TITLE="xinclude" |
| 19 | HREF="gnome-xml-xinclude.html"></HEAD |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 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 |
Daniel Veillard | 29a11cc | 2000-10-25 13:32:39 +0000 | [diff] [blame] | 47 | HREF="gnome-xml-xpathinternals.html" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 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 |
Daniel Veillard | 28929b2 | 2000-11-13 18:22:49 +0000 | [diff] [blame^] | 101 | HREF="gnome-xml-xinclude.html" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 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 | >xpointer</H1 |
| 115 | ><DIV |
| 116 | CLASS="REFNAMEDIV" |
| 117 | ><A |
Daniel Veillard | 28929b2 | 2000-11-13 18:22:49 +0000 | [diff] [blame^] | 118 | NAME="AEN12837" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 119 | ></A |
| 120 | ><H2 |
| 121 | >Name</H2 |
| 122 | >xpointer — </DIV |
| 123 | ><DIV |
| 124 | CLASS="REFSYNOPSISDIV" |
| 125 | ><A |
Daniel Veillard | 28929b2 | 2000-11-13 18:22:49 +0000 | [diff] [blame^] | 126 | NAME="AEN12840" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +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 | struct <A |
| 142 | HREF="gnome-xml-xpointer.html#XMLLOCATIONSET" |
| 143 | >xmlLocationSet</A |
| 144 | >; |
| 145 | typedef <A |
| 146 | HREF="gnome-xml-xpointer.html#XMLLOCATIONSETPTR" |
| 147 | >xmlLocationSetPtr</A |
| 148 | >; |
| 149 | void <A |
| 150 | HREF="gnome-xml-xpointer.html#XMLXPTRFREELOCATIONSET" |
| 151 | >xmlXPtrFreeLocationSet</A |
| 152 | > (<A |
| 153 | HREF="gnome-xml-xpointer.html#XMLLOCATIONSETPTR" |
| 154 | >xmlLocationSetPtr</A |
| 155 | > obj); |
| 156 | <A |
| 157 | HREF="gnome-xml-xpointer.html#XMLLOCATIONSETPTR" |
| 158 | >xmlLocationSetPtr</A |
| 159 | > <A |
| 160 | HREF="gnome-xml-xpointer.html#XMLXPTRLOCATIONSETMERGE" |
| 161 | >xmlXPtrLocationSetMerge</A |
| 162 | > (<A |
| 163 | HREF="gnome-xml-xpointer.html#XMLLOCATIONSETPTR" |
| 164 | >xmlLocationSetPtr</A |
| 165 | > val1, |
| 166 | <A |
| 167 | HREF="gnome-xml-xpointer.html#XMLLOCATIONSETPTR" |
| 168 | >xmlLocationSetPtr</A |
| 169 | > val2); |
| 170 | <A |
| 171 | HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR" |
| 172 | >xmlXPathContextPtr</A |
| 173 | > <A |
| 174 | HREF="gnome-xml-xpointer.html#XMLXPTRNEWCONTEXT" |
| 175 | >xmlXPtrNewContext</A |
| 176 | > (<A |
| 177 | HREF="gnome-xml-tree.html#XMLDOCPTR" |
| 178 | >xmlDocPtr</A |
| 179 | > doc, |
| 180 | <A |
| 181 | HREF="gnome-xml-tree.html#XMLNODEPTR" |
| 182 | >xmlNodePtr</A |
| 183 | > here, |
| 184 | <A |
| 185 | HREF="gnome-xml-tree.html#XMLNODEPTR" |
| 186 | >xmlNodePtr</A |
| 187 | > origin); |
| 188 | <A |
| 189 | HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" |
| 190 | >xmlXPathObjectPtr</A |
| 191 | > <A |
| 192 | HREF="gnome-xml-xpointer.html#XMLXPTREVAL" |
| 193 | >xmlXPtrEval</A |
| 194 | > (const <A |
| 195 | HREF="gnome-xml-tree.html#XMLCHAR" |
| 196 | >xmlChar</A |
| 197 | > *str, |
| 198 | <A |
| 199 | HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR" |
| 200 | >xmlXPathContextPtr</A |
| 201 | > ctx); |
| 202 | void <A |
| 203 | HREF="gnome-xml-xpointer.html#XMLXPTRRANGETOFUNCTION" |
| 204 | >xmlXPtrRangeToFunction</A |
| 205 | > (<A |
| 206 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 207 | >xmlXPathParserContextPtr</A |
| 208 | > ctxt, |
Daniel Veillard | 28929b2 | 2000-11-13 18:22:49 +0000 | [diff] [blame^] | 209 | int nargs); |
| 210 | <A |
| 211 | HREF="gnome-xml-tree.html#XMLNODEPTR" |
| 212 | >xmlNodePtr</A |
| 213 | > <A |
| 214 | HREF="gnome-xml-xpointer.html#XMLXPTRBUILDNODELIST" |
| 215 | >xmlXPtrBuildNodeList</A |
| 216 | > (<A |
| 217 | HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" |
| 218 | >xmlXPathObjectPtr</A |
| 219 | > obj);</PRE |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 220 | ></TD |
| 221 | ></TR |
| 222 | ></TABLE |
| 223 | ></DIV |
| 224 | ><DIV |
| 225 | CLASS="REFSECT1" |
| 226 | ><A |
Daniel Veillard | 28929b2 | 2000-11-13 18:22:49 +0000 | [diff] [blame^] | 227 | NAME="AEN12865" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 228 | ></A |
| 229 | ><H2 |
| 230 | >Description</H2 |
| 231 | ><P |
| 232 | ></P |
| 233 | ></DIV |
| 234 | ><DIV |
| 235 | CLASS="REFSECT1" |
| 236 | ><A |
Daniel Veillard | 28929b2 | 2000-11-13 18:22:49 +0000 | [diff] [blame^] | 237 | NAME="AEN12868" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 238 | ></A |
| 239 | ><H2 |
| 240 | >Details</H2 |
| 241 | ><DIV |
| 242 | CLASS="REFSECT2" |
| 243 | ><A |
Daniel Veillard | 28929b2 | 2000-11-13 18:22:49 +0000 | [diff] [blame^] | 244 | NAME="AEN12870" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 245 | ></A |
| 246 | ><H3 |
| 247 | ><A |
| 248 | NAME="XMLLOCATIONSET" |
| 249 | ></A |
| 250 | >struct xmlLocationSet</H3 |
| 251 | ><TABLE |
| 252 | BORDER="0" |
| 253 | BGCOLOR="#D6E8FF" |
| 254 | WIDTH="100%" |
| 255 | CELLPADDING="6" |
| 256 | ><TR |
| 257 | ><TD |
| 258 | ><PRE |
| 259 | CLASS="PROGRAMLISTING" |
| 260 | >struct xmlLocationSet { |
| 261 | int locNr; /* number of locations in the set */ |
| 262 | int locMax; /* size of the array as allocated */ |
| 263 | xmlXPathObjectPtr *locTab;/* array of locations */ |
| 264 | };</PRE |
| 265 | ></TD |
| 266 | ></TR |
| 267 | ></TABLE |
| 268 | ><P |
| 269 | ></P |
| 270 | ></DIV |
| 271 | ><HR><DIV |
| 272 | CLASS="REFSECT2" |
| 273 | ><A |
Daniel Veillard | 28929b2 | 2000-11-13 18:22:49 +0000 | [diff] [blame^] | 274 | NAME="AEN12875" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 275 | ></A |
| 276 | ><H3 |
| 277 | ><A |
| 278 | NAME="XMLLOCATIONSETPTR" |
| 279 | ></A |
| 280 | >xmlLocationSetPtr</H3 |
| 281 | ><TABLE |
| 282 | BORDER="0" |
| 283 | BGCOLOR="#D6E8FF" |
| 284 | WIDTH="100%" |
| 285 | CELLPADDING="6" |
| 286 | ><TR |
| 287 | ><TD |
| 288 | ><PRE |
| 289 | CLASS="PROGRAMLISTING" |
| 290 | >typedef xmlLocationSet *xmlLocationSetPtr;</PRE |
| 291 | ></TD |
| 292 | ></TR |
| 293 | ></TABLE |
| 294 | ><P |
| 295 | ></P |
| 296 | ></DIV |
| 297 | ><HR><DIV |
| 298 | CLASS="REFSECT2" |
| 299 | ><A |
Daniel Veillard | 28929b2 | 2000-11-13 18:22:49 +0000 | [diff] [blame^] | 300 | NAME="AEN12880" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 301 | ></A |
| 302 | ><H3 |
| 303 | ><A |
| 304 | NAME="XMLXPTRFREELOCATIONSET" |
| 305 | ></A |
| 306 | >xmlXPtrFreeLocationSet ()</H3 |
| 307 | ><TABLE |
| 308 | BORDER="0" |
| 309 | BGCOLOR="#D6E8FF" |
| 310 | WIDTH="100%" |
| 311 | CELLPADDING="6" |
| 312 | ><TR |
| 313 | ><TD |
| 314 | ><PRE |
| 315 | CLASS="PROGRAMLISTING" |
| 316 | >void xmlXPtrFreeLocationSet (<A |
| 317 | HREF="gnome-xml-xpointer.html#XMLLOCATIONSETPTR" |
| 318 | >xmlLocationSetPtr</A |
| 319 | > obj);</PRE |
| 320 | ></TD |
| 321 | ></TR |
| 322 | ></TABLE |
| 323 | ><P |
| 324 | >Free the LocationSet compound (not the actual ranges !).</P |
| 325 | ><P |
| 326 | ></P |
| 327 | ><DIV |
| 328 | CLASS="INFORMALTABLE" |
| 329 | ><P |
| 330 | ></P |
| 331 | ><TABLE |
| 332 | BORDER="0" |
| 333 | WIDTH="100%" |
| 334 | BGCOLOR="#FFD0D0" |
| 335 | CELLSPACING="0" |
| 336 | CELLPADDING="4" |
| 337 | CLASS="CALSTABLE" |
| 338 | ><TR |
| 339 | ><TD |
| 340 | WIDTH="20%" |
| 341 | ALIGN="RIGHT" |
| 342 | VALIGN="TOP" |
| 343 | ><TT |
| 344 | CLASS="PARAMETER" |
| 345 | ><I |
| 346 | >obj</I |
| 347 | ></TT |
| 348 | > :</TD |
| 349 | ><TD |
| 350 | WIDTH="80%" |
| 351 | ALIGN="LEFT" |
| 352 | VALIGN="TOP" |
| 353 | > the xmlLocationSetPtr to free</TD |
| 354 | ></TR |
| 355 | ></TABLE |
| 356 | ><P |
| 357 | ></P |
| 358 | ></DIV |
| 359 | ></DIV |
| 360 | ><HR><DIV |
| 361 | CLASS="REFSECT2" |
| 362 | ><A |
Daniel Veillard | 28929b2 | 2000-11-13 18:22:49 +0000 | [diff] [blame^] | 363 | NAME="AEN12896" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 364 | ></A |
| 365 | ><H3 |
| 366 | ><A |
| 367 | NAME="XMLXPTRLOCATIONSETMERGE" |
| 368 | ></A |
| 369 | >xmlXPtrLocationSetMerge ()</H3 |
| 370 | ><TABLE |
| 371 | BORDER="0" |
| 372 | BGCOLOR="#D6E8FF" |
| 373 | WIDTH="100%" |
| 374 | CELLPADDING="6" |
| 375 | ><TR |
| 376 | ><TD |
| 377 | ><PRE |
| 378 | CLASS="PROGRAMLISTING" |
| 379 | ><A |
| 380 | HREF="gnome-xml-xpointer.html#XMLLOCATIONSETPTR" |
| 381 | >xmlLocationSetPtr</A |
| 382 | > xmlXPtrLocationSetMerge (<A |
| 383 | HREF="gnome-xml-xpointer.html#XMLLOCATIONSETPTR" |
| 384 | >xmlLocationSetPtr</A |
| 385 | > val1, |
| 386 | <A |
| 387 | HREF="gnome-xml-xpointer.html#XMLLOCATIONSETPTR" |
| 388 | >xmlLocationSetPtr</A |
| 389 | > val2);</PRE |
| 390 | ></TD |
| 391 | ></TR |
| 392 | ></TABLE |
| 393 | ><P |
| 394 | >Merges two rangesets, all ranges from <TT |
| 395 | CLASS="PARAMETER" |
| 396 | ><I |
| 397 | >val2</I |
| 398 | ></TT |
| 399 | > are added to <TT |
| 400 | CLASS="PARAMETER" |
| 401 | ><I |
| 402 | >val1</I |
| 403 | ></TT |
| 404 | ></P |
| 405 | ><P |
| 406 | ></P |
| 407 | ><DIV |
| 408 | CLASS="INFORMALTABLE" |
| 409 | ><P |
| 410 | ></P |
| 411 | ><TABLE |
| 412 | BORDER="0" |
| 413 | WIDTH="100%" |
| 414 | BGCOLOR="#FFD0D0" |
| 415 | CELLSPACING="0" |
| 416 | CELLPADDING="4" |
| 417 | CLASS="CALSTABLE" |
| 418 | ><TR |
| 419 | ><TD |
| 420 | WIDTH="20%" |
| 421 | ALIGN="RIGHT" |
| 422 | VALIGN="TOP" |
| 423 | ><TT |
| 424 | CLASS="PARAMETER" |
| 425 | ><I |
| 426 | >val1</I |
| 427 | ></TT |
| 428 | > :</TD |
| 429 | ><TD |
| 430 | WIDTH="80%" |
| 431 | ALIGN="LEFT" |
| 432 | VALIGN="TOP" |
| 433 | > the first LocationSet</TD |
| 434 | ></TR |
| 435 | ><TR |
| 436 | ><TD |
| 437 | WIDTH="20%" |
| 438 | ALIGN="RIGHT" |
| 439 | VALIGN="TOP" |
| 440 | ><TT |
| 441 | CLASS="PARAMETER" |
| 442 | ><I |
| 443 | >val2</I |
| 444 | ></TT |
| 445 | > :</TD |
| 446 | ><TD |
| 447 | WIDTH="80%" |
| 448 | ALIGN="LEFT" |
| 449 | VALIGN="TOP" |
| 450 | > the second LocationSet</TD |
| 451 | ></TR |
| 452 | ><TR |
| 453 | ><TD |
| 454 | WIDTH="20%" |
| 455 | ALIGN="RIGHT" |
| 456 | VALIGN="TOP" |
| 457 | ><I |
| 458 | CLASS="EMPHASIS" |
| 459 | >Returns</I |
| 460 | > :</TD |
| 461 | ><TD |
| 462 | WIDTH="80%" |
| 463 | ALIGN="LEFT" |
| 464 | VALIGN="TOP" |
| 465 | >val1 once extended or NULL in case of error.</TD |
| 466 | ></TR |
| 467 | ></TABLE |
| 468 | ><P |
| 469 | ></P |
| 470 | ></DIV |
| 471 | ></DIV |
| 472 | ><HR><DIV |
| 473 | CLASS="REFSECT2" |
| 474 | ><A |
Daniel Veillard | 28929b2 | 2000-11-13 18:22:49 +0000 | [diff] [blame^] | 475 | NAME="AEN12924" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 476 | ></A |
| 477 | ><H3 |
| 478 | ><A |
| 479 | NAME="XMLXPTRNEWCONTEXT" |
| 480 | ></A |
| 481 | >xmlXPtrNewContext ()</H3 |
| 482 | ><TABLE |
| 483 | BORDER="0" |
| 484 | BGCOLOR="#D6E8FF" |
| 485 | WIDTH="100%" |
| 486 | CELLPADDING="6" |
| 487 | ><TR |
| 488 | ><TD |
| 489 | ><PRE |
| 490 | CLASS="PROGRAMLISTING" |
| 491 | ><A |
| 492 | HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR" |
| 493 | >xmlXPathContextPtr</A |
| 494 | > xmlXPtrNewContext (<A |
| 495 | HREF="gnome-xml-tree.html#XMLDOCPTR" |
| 496 | >xmlDocPtr</A |
| 497 | > doc, |
| 498 | <A |
| 499 | HREF="gnome-xml-tree.html#XMLNODEPTR" |
| 500 | >xmlNodePtr</A |
| 501 | > here, |
| 502 | <A |
| 503 | HREF="gnome-xml-tree.html#XMLNODEPTR" |
| 504 | >xmlNodePtr</A |
| 505 | > origin);</PRE |
| 506 | ></TD |
| 507 | ></TR |
| 508 | ></TABLE |
| 509 | ><P |
| 510 | >Create a new XPointer context</P |
| 511 | ><P |
| 512 | ></P |
| 513 | ><DIV |
| 514 | CLASS="INFORMALTABLE" |
| 515 | ><P |
| 516 | ></P |
| 517 | ><TABLE |
| 518 | BORDER="0" |
| 519 | WIDTH="100%" |
| 520 | BGCOLOR="#FFD0D0" |
| 521 | CELLSPACING="0" |
| 522 | CELLPADDING="4" |
| 523 | CLASS="CALSTABLE" |
| 524 | ><TR |
| 525 | ><TD |
| 526 | WIDTH="20%" |
| 527 | ALIGN="RIGHT" |
| 528 | VALIGN="TOP" |
| 529 | ><TT |
| 530 | CLASS="PARAMETER" |
| 531 | ><I |
| 532 | >doc</I |
| 533 | ></TT |
| 534 | > :</TD |
| 535 | ><TD |
| 536 | WIDTH="80%" |
| 537 | ALIGN="LEFT" |
| 538 | VALIGN="TOP" |
| 539 | > the XML document</TD |
| 540 | ></TR |
| 541 | ><TR |
| 542 | ><TD |
| 543 | WIDTH="20%" |
| 544 | ALIGN="RIGHT" |
| 545 | VALIGN="TOP" |
| 546 | ><TT |
| 547 | CLASS="PARAMETER" |
| 548 | ><I |
| 549 | >here</I |
| 550 | ></TT |
| 551 | > :</TD |
| 552 | ><TD |
| 553 | WIDTH="80%" |
| 554 | ALIGN="LEFT" |
| 555 | VALIGN="TOP" |
| 556 | > the node that directly contains the XPointer being evaluated or NULL</TD |
| 557 | ></TR |
| 558 | ><TR |
| 559 | ><TD |
| 560 | WIDTH="20%" |
| 561 | ALIGN="RIGHT" |
| 562 | VALIGN="TOP" |
| 563 | ><TT |
| 564 | CLASS="PARAMETER" |
| 565 | ><I |
| 566 | >origin</I |
| 567 | ></TT |
| 568 | > :</TD |
| 569 | ><TD |
| 570 | WIDTH="80%" |
| 571 | ALIGN="LEFT" |
| 572 | VALIGN="TOP" |
| 573 | > the element from which a user or program initiated traversal of |
| 574 | the link, or NULL.</TD |
| 575 | ></TR |
| 576 | ><TR |
| 577 | ><TD |
| 578 | WIDTH="20%" |
| 579 | ALIGN="RIGHT" |
| 580 | VALIGN="TOP" |
| 581 | ><I |
| 582 | CLASS="EMPHASIS" |
| 583 | >Returns</I |
| 584 | > :</TD |
| 585 | ><TD |
| 586 | WIDTH="80%" |
| 587 | ALIGN="LEFT" |
| 588 | VALIGN="TOP" |
| 589 | >the xmlXPathContext just allocated.</TD |
| 590 | ></TR |
| 591 | ></TABLE |
| 592 | ><P |
| 593 | ></P |
| 594 | ></DIV |
| 595 | ></DIV |
| 596 | ><HR><DIV |
| 597 | CLASS="REFSECT2" |
| 598 | ><A |
Daniel Veillard | 28929b2 | 2000-11-13 18:22:49 +0000 | [diff] [blame^] | 599 | NAME="AEN12955" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 600 | ></A |
| 601 | ><H3 |
| 602 | ><A |
| 603 | NAME="XMLXPTREVAL" |
| 604 | ></A |
| 605 | >xmlXPtrEval ()</H3 |
| 606 | ><TABLE |
| 607 | BORDER="0" |
| 608 | BGCOLOR="#D6E8FF" |
| 609 | WIDTH="100%" |
| 610 | CELLPADDING="6" |
| 611 | ><TR |
| 612 | ><TD |
| 613 | ><PRE |
| 614 | CLASS="PROGRAMLISTING" |
| 615 | ><A |
| 616 | HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" |
| 617 | >xmlXPathObjectPtr</A |
| 618 | > xmlXPtrEval (const <A |
| 619 | HREF="gnome-xml-tree.html#XMLCHAR" |
| 620 | >xmlChar</A |
| 621 | > *str, |
| 622 | <A |
| 623 | HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR" |
| 624 | >xmlXPathContextPtr</A |
| 625 | > ctx);</PRE |
| 626 | ></TD |
| 627 | ></TR |
| 628 | ></TABLE |
| 629 | ><P |
| 630 | >Evaluate the XPath Location Path in the given context.</P |
| 631 | ><P |
| 632 | ></P |
| 633 | ><DIV |
| 634 | CLASS="INFORMALTABLE" |
| 635 | ><P |
| 636 | ></P |
| 637 | ><TABLE |
| 638 | BORDER="0" |
| 639 | WIDTH="100%" |
| 640 | BGCOLOR="#FFD0D0" |
| 641 | CELLSPACING="0" |
| 642 | CELLPADDING="4" |
| 643 | CLASS="CALSTABLE" |
| 644 | ><TR |
| 645 | ><TD |
| 646 | WIDTH="20%" |
| 647 | ALIGN="RIGHT" |
| 648 | VALIGN="TOP" |
| 649 | ><TT |
| 650 | CLASS="PARAMETER" |
| 651 | ><I |
| 652 | >str</I |
| 653 | ></TT |
| 654 | > :</TD |
| 655 | ><TD |
| 656 | WIDTH="80%" |
| 657 | ALIGN="LEFT" |
| 658 | VALIGN="TOP" |
| 659 | > the XPointer expression</TD |
| 660 | ></TR |
| 661 | ><TR |
| 662 | ><TD |
| 663 | WIDTH="20%" |
| 664 | ALIGN="RIGHT" |
| 665 | VALIGN="TOP" |
| 666 | ><TT |
| 667 | CLASS="PARAMETER" |
| 668 | ><I |
| 669 | >ctx</I |
| 670 | ></TT |
| 671 | > :</TD |
| 672 | ><TD |
| 673 | WIDTH="80%" |
| 674 | ALIGN="LEFT" |
| 675 | VALIGN="TOP" |
| 676 | > the XPointer context</TD |
| 677 | ></TR |
| 678 | ><TR |
| 679 | ><TD |
| 680 | WIDTH="20%" |
| 681 | ALIGN="RIGHT" |
| 682 | VALIGN="TOP" |
| 683 | ><I |
| 684 | CLASS="EMPHASIS" |
| 685 | >Returns</I |
| 686 | > :</TD |
| 687 | ><TD |
| 688 | WIDTH="80%" |
| 689 | ALIGN="LEFT" |
| 690 | VALIGN="TOP" |
| 691 | >the xmlXPathObjectPtr resulting from the eveluation or NULL. |
| 692 | the caller has to free the object.</TD |
| 693 | ></TR |
| 694 | ></TABLE |
| 695 | ><P |
| 696 | ></P |
| 697 | ></DIV |
| 698 | ></DIV |
| 699 | ><HR><DIV |
| 700 | CLASS="REFSECT2" |
| 701 | ><A |
Daniel Veillard | 28929b2 | 2000-11-13 18:22:49 +0000 | [diff] [blame^] | 702 | NAME="AEN12981" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 703 | ></A |
| 704 | ><H3 |
| 705 | ><A |
| 706 | NAME="XMLXPTRRANGETOFUNCTION" |
| 707 | ></A |
| 708 | >xmlXPtrRangeToFunction ()</H3 |
| 709 | ><TABLE |
| 710 | BORDER="0" |
| 711 | BGCOLOR="#D6E8FF" |
| 712 | WIDTH="100%" |
| 713 | CELLPADDING="6" |
| 714 | ><TR |
| 715 | ><TD |
| 716 | ><PRE |
| 717 | CLASS="PROGRAMLISTING" |
| 718 | >void xmlXPtrRangeToFunction (<A |
| 719 | HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" |
| 720 | >xmlXPathParserContextPtr</A |
| 721 | > ctxt, |
| 722 | int nargs);</PRE |
| 723 | ></TD |
| 724 | ></TR |
| 725 | ></TABLE |
| 726 | ><P |
| 727 | >Implement the range-<GTKDOCLINK |
| 728 | HREF="TO" |
| 729 | >to</GTKDOCLINK |
| 730 | >() XPointer function</P |
| 731 | ><P |
| 732 | ></P |
| 733 | ><DIV |
| 734 | CLASS="INFORMALTABLE" |
| 735 | ><P |
| 736 | ></P |
| 737 | ><TABLE |
| 738 | BORDER="0" |
| 739 | WIDTH="100%" |
| 740 | BGCOLOR="#FFD0D0" |
| 741 | CELLSPACING="0" |
| 742 | CELLPADDING="4" |
| 743 | CLASS="CALSTABLE" |
| 744 | ><TR |
| 745 | ><TD |
| 746 | WIDTH="20%" |
| 747 | ALIGN="RIGHT" |
| 748 | VALIGN="TOP" |
| 749 | ><TT |
| 750 | CLASS="PARAMETER" |
| 751 | ><I |
| 752 | >ctxt</I |
| 753 | ></TT |
| 754 | > :</TD |
| 755 | ><TD |
| 756 | WIDTH="80%" |
| 757 | ALIGN="LEFT" |
| 758 | VALIGN="TOP" |
| 759 | > the XPointer Parser context</TD |
| 760 | ></TR |
| 761 | ><TR |
| 762 | ><TD |
| 763 | WIDTH="20%" |
| 764 | ALIGN="RIGHT" |
| 765 | VALIGN="TOP" |
| 766 | ><TT |
| 767 | CLASS="PARAMETER" |
| 768 | ><I |
| 769 | >nargs</I |
| 770 | ></TT |
| 771 | > :</TD |
| 772 | ><TD |
| 773 | WIDTH="80%" |
| 774 | ALIGN="LEFT" |
| 775 | VALIGN="TOP" |
| 776 | > </TD |
| 777 | ></TR |
| 778 | ></TABLE |
| 779 | ><P |
| 780 | ></P |
| 781 | ></DIV |
| 782 | ></DIV |
Daniel Veillard | 28929b2 | 2000-11-13 18:22:49 +0000 | [diff] [blame^] | 783 | ><HR><DIV |
| 784 | CLASS="REFSECT2" |
| 785 | ><A |
| 786 | NAME="AEN13002" |
| 787 | ></A |
| 788 | ><H3 |
| 789 | ><A |
| 790 | NAME="XMLXPTRBUILDNODELIST" |
| 791 | ></A |
| 792 | >xmlXPtrBuildNodeList ()</H3 |
| 793 | ><TABLE |
| 794 | BORDER="0" |
| 795 | BGCOLOR="#D6E8FF" |
| 796 | WIDTH="100%" |
| 797 | CELLPADDING="6" |
| 798 | ><TR |
| 799 | ><TD |
| 800 | ><PRE |
| 801 | CLASS="PROGRAMLISTING" |
| 802 | ><A |
| 803 | HREF="gnome-xml-tree.html#XMLNODEPTR" |
| 804 | >xmlNodePtr</A |
| 805 | > xmlXPtrBuildNodeList (<A |
| 806 | HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" |
| 807 | >xmlXPathObjectPtr</A |
| 808 | > obj);</PRE |
| 809 | ></TD |
| 810 | ></TR |
| 811 | ></TABLE |
| 812 | ><P |
| 813 | >Build a node list tree copy of the XPointer result.</P |
| 814 | ><P |
| 815 | ></P |
| 816 | ><DIV |
| 817 | CLASS="INFORMALTABLE" |
| 818 | ><P |
| 819 | ></P |
| 820 | ><TABLE |
| 821 | BORDER="0" |
| 822 | WIDTH="100%" |
| 823 | BGCOLOR="#FFD0D0" |
| 824 | CELLSPACING="0" |
| 825 | CELLPADDING="4" |
| 826 | CLASS="CALSTABLE" |
| 827 | ><TR |
| 828 | ><TD |
| 829 | WIDTH="20%" |
| 830 | ALIGN="RIGHT" |
| 831 | VALIGN="TOP" |
| 832 | ><TT |
| 833 | CLASS="PARAMETER" |
| 834 | ><I |
| 835 | >obj</I |
| 836 | ></TT |
| 837 | > :</TD |
| 838 | ><TD |
| 839 | WIDTH="80%" |
| 840 | ALIGN="LEFT" |
| 841 | VALIGN="TOP" |
| 842 | > the XPointer result from the evaluation.</TD |
| 843 | ></TR |
| 844 | ><TR |
| 845 | ><TD |
| 846 | WIDTH="20%" |
| 847 | ALIGN="RIGHT" |
| 848 | VALIGN="TOP" |
| 849 | ><I |
| 850 | CLASS="EMPHASIS" |
| 851 | >Returns</I |
| 852 | > :</TD |
| 853 | ><TD |
| 854 | WIDTH="80%" |
| 855 | ALIGN="LEFT" |
| 856 | VALIGN="TOP" |
| 857 | >an xmlNodePtr list or NULL. |
| 858 | the caller has to free the node tree.</TD |
| 859 | ></TR |
| 860 | ></TABLE |
| 861 | ><P |
| 862 | ></P |
| 863 | ></DIV |
| 864 | ></DIV |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 865 | ></DIV |
| 866 | ><DIV |
| 867 | CLASS="NAVFOOTER" |
| 868 | ><BR |
| 869 | CLEAR="all"><BR><TABLE |
| 870 | WIDTH="100%" |
| 871 | BORDER="0" |
| 872 | BGCOLOR="#000000" |
| 873 | CELLPADDING="1" |
| 874 | CELLSPACING="0" |
| 875 | ><TR |
| 876 | ><TD |
| 877 | WIDTH="25%" |
| 878 | BGCOLOR="#C00000" |
| 879 | ALIGN="left" |
| 880 | ><A |
Daniel Veillard | 29a11cc | 2000-10-25 13:32:39 +0000 | [diff] [blame] | 881 | HREF="gnome-xml-xpathinternals.html" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 882 | ><FONT |
| 883 | COLOR="#FFFFFF" |
| 884 | SIZE="3" |
| 885 | ><B |
| 886 | ><<< Previous Page</B |
| 887 | ></FONT |
| 888 | ></A |
| 889 | ></TD |
| 890 | ><TD |
| 891 | WIDTH="25%" |
| 892 | BGCOLOR="#0000C0" |
| 893 | ALIGN="center" |
| 894 | ><FONT |
| 895 | COLOR="#FFFFFF" |
| 896 | SIZE="3" |
| 897 | ><B |
| 898 | ><A |
| 899 | HREF="book1.html" |
| 900 | ><FONT |
| 901 | COLOR="#FFFFFF" |
| 902 | SIZE="3" |
| 903 | ><B |
| 904 | >Home</B |
| 905 | ></FONT |
| 906 | ></A |
| 907 | ></B |
| 908 | ></FONT |
| 909 | ></TD |
| 910 | ><TD |
| 911 | WIDTH="25%" |
| 912 | BGCOLOR="#00C000" |
| 913 | ALIGN="center" |
| 914 | ><FONT |
| 915 | COLOR="#FFFFFF" |
| 916 | SIZE="3" |
| 917 | ><B |
| 918 | ><A |
| 919 | HREF="libxml-lib.html" |
| 920 | ><FONT |
| 921 | COLOR="#FFFFFF" |
| 922 | SIZE="3" |
| 923 | ><B |
| 924 | >Up</B |
| 925 | ></FONT |
| 926 | ></A |
| 927 | ></B |
| 928 | ></FONT |
| 929 | ></TD |
| 930 | ><TD |
| 931 | WIDTH="25%" |
| 932 | BGCOLOR="#C00000" |
| 933 | ALIGN="right" |
| 934 | ><A |
Daniel Veillard | 28929b2 | 2000-11-13 18:22:49 +0000 | [diff] [blame^] | 935 | HREF="gnome-xml-xinclude.html" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 936 | ><FONT |
| 937 | COLOR="#FFFFFF" |
| 938 | SIZE="3" |
| 939 | ><B |
| 940 | >Next Page >>></B |
| 941 | ></FONT |
| 942 | ></A |
| 943 | ></TD |
| 944 | ></TR |
| 945 | ><TR |
| 946 | ><TD |
| 947 | COLSPAN="2" |
| 948 | ALIGN="left" |
| 949 | ><FONT |
| 950 | COLOR="#FFFFFF" |
| 951 | SIZE="3" |
| 952 | ><B |
Daniel Veillard | 29a11cc | 2000-10-25 13:32:39 +0000 | [diff] [blame] | 953 | >xpathInternals</B |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 954 | ></FONT |
| 955 | ></TD |
| 956 | ><TD |
| 957 | COLSPAN="2" |
| 958 | ALIGN="right" |
| 959 | ><FONT |
| 960 | COLOR="#FFFFFF" |
| 961 | SIZE="3" |
| 962 | ><B |
Daniel Veillard | 28929b2 | 2000-11-13 18:22:49 +0000 | [diff] [blame^] | 963 | >xinclude</B |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 964 | ></FONT |
| 965 | ></TD |
| 966 | ></TR |
| 967 | ></TABLE |
| 968 | ></DIV |
| 969 | ></BODY |
| 970 | ></HTML |
| 971 | > |