libxml-xpointer.html revision 4b8328d7b3ce3c73cc9350efa0b9df769d82321d
1<HTML 2><HEAD 3><TITLE 4>xpointer</TITLE 5><META 6NAME="GENERATOR" 7CONTENT="Modular DocBook HTML Stylesheet Version 1.59"><LINK 8REL="HOME" 9TITLE="Gnome XML Library Reference Manual" 10HREF="book1.html"><LINK 11REL="UP" 12TITLE="Libxml Library Reference" 13HREF="libxml-lib.html"><LINK 14REL="PREVIOUS" 15TITLE="xpathInternals" 16HREF="libxml-xpathinternals.html"><LINK 17REL="NEXT" 18TITLE="xinclude" 19HREF="libxml-xinclude.html"></HEAD 20><BODY 21CLASS="REFENTRY" 22BGCOLOR="#FFFFFF" 23TEXT="#000000" 24LINK="#0000FF" 25VLINK="#840084" 26ALINK="#0000FF" 27><DIV 28CLASS="NAVHEADER" 29><TABLE 30WIDTH="100%" 31BORDER="0" 32BGCOLOR="#000000" 33CELLPADDING="1" 34CELLSPACING="0" 35><TR 36><TH 37COLSPAN="4" 38ALIGN="center" 39><FONT 40COLOR="#FFFFFF" 41SIZE="5" 42>Gnome XML Library Reference Manual</FONT 43></TH 44></TR 45><TR 46><TD 47WIDTH="25%" 48BGCOLOR="#C00000" 49ALIGN="left" 50><A 51HREF="libxml-xpathinternals.html" 52><FONT 53COLOR="#FFFFFF" 54SIZE="3" 55><B 56><<< Previous Page</B 57></FONT 58></A 59></TD 60><TD 61WIDTH="25%" 62BGCOLOR="#0000C0" 63ALIGN="center" 64><FONT 65COLOR="#FFFFFF" 66SIZE="3" 67><B 68><A 69HREF="book1.html" 70><FONT 71COLOR="#FFFFFF" 72SIZE="3" 73><B 74>Home</B 75></FONT 76></A 77></B 78></FONT 79></TD 80><TD 81WIDTH="25%" 82BGCOLOR="#00C000" 83ALIGN="center" 84><FONT 85COLOR="#FFFFFF" 86SIZE="3" 87><B 88><A 89HREF="libxml-lib.html" 90><FONT 91COLOR="#FFFFFF" 92SIZE="3" 93><B 94>Up</B 95></FONT 96></A 97></B 98></FONT 99></TD 100><TD 101WIDTH="25%" 102BGCOLOR="#C00000" 103ALIGN="right" 104><A 105HREF="libxml-xinclude.html" 106><FONT 107COLOR="#FFFFFF" 108SIZE="3" 109><B 110>Next Page >>></B 111></FONT 112></A 113></TD 114></TR 115></TABLE 116></DIV 117><H1 118><A 119NAME="LIBXML-XPOINTER" 120>xpointer</A 121></H1 122><DIV 123CLASS="REFNAMEDIV" 124><A 125NAME="AEN14996" 126></A 127><H2 128>Name</H2 129>xpointer -- </DIV 130><DIV 131CLASS="REFSYNOPSISDIV" 132><A 133NAME="AEN14999" 134></A 135><H2 136>Synopsis</H2 137><TABLE 138BORDER="0" 139BGCOLOR="#D6E8FF" 140WIDTH="100%" 141CELLPADDING="6" 142><TR 143><TD 144><PRE 145CLASS="SYNOPSIS" 146> 147 148struct <A 149HREF="libxml-xpointer.html#XMLLOCATIONSET" 150>xmlLocationSet</A 151>; 152typedef <A 153HREF="libxml-xpointer.html#XMLLOCATIONSETPTR" 154>xmlLocationSetPtr</A 155>; 156<A 157HREF="libxml-xpointer.html#XMLLOCATIONSETPTR" 158>xmlLocationSetPtr</A 159> <A 160HREF="libxml-xpointer.html#XMLXPTRLOCATIONSETCREATE" 161>xmlXPtrLocationSetCreate</A 162> (<A 163HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" 164>xmlXPathObjectPtr</A 165> val); 166void <A 167HREF="libxml-xpointer.html#XMLXPTRFREELOCATIONSET" 168>xmlXPtrFreeLocationSet</A 169> (<A 170HREF="libxml-xpointer.html#XMLLOCATIONSETPTR" 171>xmlLocationSetPtr</A 172> obj); 173<A 174HREF="libxml-xpointer.html#XMLLOCATIONSETPTR" 175>xmlLocationSetPtr</A 176> <A 177HREF="libxml-xpointer.html#XMLXPTRLOCATIONSETMERGE" 178>xmlXPtrLocationSetMerge</A 179> (<A 180HREF="libxml-xpointer.html#XMLLOCATIONSETPTR" 181>xmlLocationSetPtr</A 182> val1, 183 <A 184HREF="libxml-xpointer.html#XMLLOCATIONSETPTR" 185>xmlLocationSetPtr</A 186> val2); 187<A 188HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" 189>xmlXPathObjectPtr</A 190> <A 191HREF="libxml-xpointer.html#XMLXPTRNEWRANGE" 192>xmlXPtrNewRange</A 193> (<A 194HREF="libxml-tree.html#XMLNODEPTR" 195>xmlNodePtr</A 196> start, 197 int startindex, 198 <A 199HREF="libxml-tree.html#XMLNODEPTR" 200>xmlNodePtr</A 201> end, 202 int endindex); 203<A 204HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" 205>xmlXPathObjectPtr</A 206> <A 207HREF="libxml-xpointer.html#XMLXPTRNEWRANGEPOINTS" 208>xmlXPtrNewRangePoints</A 209> (<A 210HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" 211>xmlXPathObjectPtr</A 212> start, 213 <A 214HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" 215>xmlXPathObjectPtr</A 216> end); 217<A 218HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" 219>xmlXPathObjectPtr</A 220> <A 221HREF="libxml-xpointer.html#XMLXPTRNEWRANGENODEPOINT" 222>xmlXPtrNewRangeNodePoint</A 223> (<A 224HREF="libxml-tree.html#XMLNODEPTR" 225>xmlNodePtr</A 226> start, 227 <A 228HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" 229>xmlXPathObjectPtr</A 230> end); 231<A 232HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" 233>xmlXPathObjectPtr</A 234> <A 235HREF="libxml-xpointer.html#XMLXPTRNEWRANGEPOINTNODE" 236>xmlXPtrNewRangePointNode</A 237> (<A 238HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" 239>xmlXPathObjectPtr</A 240> start, 241 <A 242HREF="libxml-tree.html#XMLNODEPTR" 243>xmlNodePtr</A 244> end); 245<A 246HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" 247>xmlXPathObjectPtr</A 248> <A 249HREF="libxml-xpointer.html#XMLXPTRNEWRANGENODES" 250>xmlXPtrNewRangeNodes</A 251> (<A 252HREF="libxml-tree.html#XMLNODEPTR" 253>xmlNodePtr</A 254> start, 255 <A 256HREF="libxml-tree.html#XMLNODEPTR" 257>xmlNodePtr</A 258> end); 259<A 260HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" 261>xmlXPathObjectPtr</A 262> <A 263HREF="libxml-xpointer.html#XMLXPTRNEWLOCATIONSETNODES" 264>xmlXPtrNewLocationSetNodes</A 265> 266 (<A 267HREF="libxml-tree.html#XMLNODEPTR" 268>xmlNodePtr</A 269> start, 270 <A 271HREF="libxml-tree.html#XMLNODEPTR" 272>xmlNodePtr</A 273> end); 274<A 275HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" 276>xmlXPathObjectPtr</A 277> <A 278HREF="libxml-xpointer.html#XMLXPTRNEWLOCATIONSETNODESET" 279>xmlXPtrNewLocationSetNodeSet</A 280> 281 (<A 282HREF="libxml-xpath.html#XMLNODESETPTR" 283>xmlNodeSetPtr</A 284> set); 285<A 286HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" 287>xmlXPathObjectPtr</A 288> <A 289HREF="libxml-xpointer.html#XMLXPTRNEWRANGENODEOBJECT" 290>xmlXPtrNewRangeNodeObject</A 291> (<A 292HREF="libxml-tree.html#XMLNODEPTR" 293>xmlNodePtr</A 294> start, 295 <A 296HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" 297>xmlXPathObjectPtr</A 298> end); 299<A 300HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" 301>xmlXPathObjectPtr</A 302> <A 303HREF="libxml-xpointer.html#XMLXPTRNEWCOLLAPSEDRANGE" 304>xmlXPtrNewCollapsedRange</A 305> (<A 306HREF="libxml-tree.html#XMLNODEPTR" 307>xmlNodePtr</A 308> start); 309void <A 310HREF="libxml-xpointer.html#XMLXPTRLOCATIONSETADD" 311>xmlXPtrLocationSetAdd</A 312> (<A 313HREF="libxml-xpointer.html#XMLLOCATIONSETPTR" 314>xmlLocationSetPtr</A 315> cur, 316 <A 317HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" 318>xmlXPathObjectPtr</A 319> val); 320<A 321HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" 322>xmlXPathObjectPtr</A 323> <A 324HREF="libxml-xpointer.html#XMLXPTRWRAPLOCATIONSET" 325>xmlXPtrWrapLocationSet</A 326> (<A 327HREF="libxml-xpointer.html#XMLLOCATIONSETPTR" 328>xmlLocationSetPtr</A 329> val); 330void <A 331HREF="libxml-xpointer.html#XMLXPTRLOCATIONSETDEL" 332>xmlXPtrLocationSetDel</A 333> (<A 334HREF="libxml-xpointer.html#XMLLOCATIONSETPTR" 335>xmlLocationSetPtr</A 336> cur, 337 <A 338HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" 339>xmlXPathObjectPtr</A 340> val); 341void <A 342HREF="libxml-xpointer.html#XMLXPTRLOCATIONSETREMOVE" 343>xmlXPtrLocationSetRemove</A 344> (<A 345HREF="libxml-xpointer.html#XMLLOCATIONSETPTR" 346>xmlLocationSetPtr</A 347> cur, 348 int val); 349<A 350HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" 351>xmlXPathContextPtr</A 352> <A 353HREF="libxml-xpointer.html#XMLXPTRNEWCONTEXT" 354>xmlXPtrNewContext</A 355> (<A 356HREF="libxml-tree.html#XMLDOCPTR" 357>xmlDocPtr</A 358> doc, 359 <A 360HREF="libxml-tree.html#XMLNODEPTR" 361>xmlNodePtr</A 362> here, 363 <A 364HREF="libxml-tree.html#XMLNODEPTR" 365>xmlNodePtr</A 366> origin); 367<A 368HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" 369>xmlXPathObjectPtr</A 370> <A 371HREF="libxml-xpointer.html#XMLXPTREVAL" 372>xmlXPtrEval</A 373> (const <A 374HREF="libxml-tree.html#XMLCHAR" 375>xmlChar</A 376> *str, 377 <A 378HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" 379>xmlXPathContextPtr</A 380> ctx); 381void <A 382HREF="libxml-xpointer.html#XMLXPTRRANGETOFUNCTION" 383>xmlXPtrRangeToFunction</A 384> (<A 385HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" 386>xmlXPathParserContextPtr</A 387> ctxt, 388 int nargs); 389<A 390HREF="libxml-tree.html#XMLNODEPTR" 391>xmlNodePtr</A 392> <A 393HREF="libxml-xpointer.html#XMLXPTRBUILDNODELIST" 394>xmlXPtrBuildNodeList</A 395> (<A 396HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" 397>xmlXPathObjectPtr</A 398> obj); 399void <A 400HREF="libxml-xpointer.html#XMLXPTREVALRANGEPREDICATE" 401>xmlXPtrEvalRangePredicate</A 402> (<A 403HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" 404>xmlXPathParserContextPtr</A 405> ctxt);</PRE 406></TD 407></TR 408></TABLE 409></DIV 410><DIV 411CLASS="REFSECT1" 412><A 413NAME="AEN15074" 414></A 415><H2 416>Description</H2 417><P 418></P 419></DIV 420><DIV 421CLASS="REFSECT1" 422><A 423NAME="AEN15077" 424></A 425><H2 426>Details</H2 427><DIV 428CLASS="REFSECT2" 429><A 430NAME="AEN15079" 431></A 432><H3 433><A 434NAME="XMLLOCATIONSET" 435></A 436>struct xmlLocationSet</H3 437><TABLE 438BORDER="0" 439BGCOLOR="#D6E8FF" 440WIDTH="100%" 441CELLPADDING="6" 442><TR 443><TD 444><PRE 445CLASS="PROGRAMLISTING" 446>struct xmlLocationSet { 447 int locNr; /* number of locations in the set */ 448 int locMax; /* size of the array as allocated */ 449 xmlXPathObjectPtr *locTab;/* array of locations */ 450};</PRE 451></TD 452></TR 453></TABLE 454><P 455></P 456></DIV 457><HR><DIV 458CLASS="REFSECT2" 459><A 460NAME="AEN15084" 461></A 462><H3 463><A 464NAME="XMLLOCATIONSETPTR" 465></A 466>xmlLocationSetPtr</H3 467><TABLE 468BORDER="0" 469BGCOLOR="#D6E8FF" 470WIDTH="100%" 471CELLPADDING="6" 472><TR 473><TD 474><PRE 475CLASS="PROGRAMLISTING" 476>typedef xmlLocationSet *xmlLocationSetPtr;</PRE 477></TD 478></TR 479></TABLE 480><P 481></P 482></DIV 483><HR><DIV 484CLASS="REFSECT2" 485><A 486NAME="AEN15089" 487></A 488><H3 489><A 490NAME="XMLXPTRLOCATIONSETCREATE" 491></A 492>xmlXPtrLocationSetCreate ()</H3 493><TABLE 494BORDER="0" 495BGCOLOR="#D6E8FF" 496WIDTH="100%" 497CELLPADDING="6" 498><TR 499><TD 500><PRE 501CLASS="PROGRAMLISTING" 502><A 503HREF="libxml-xpointer.html#XMLLOCATIONSETPTR" 504>xmlLocationSetPtr</A 505> xmlXPtrLocationSetCreate (<A 506HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" 507>xmlXPathObjectPtr</A 508> val);</PRE 509></TD 510></TR 511></TABLE 512><P 513>Create a new xmlLocationSetPtr of type double and of value <TT 514CLASS="PARAMETER" 515><I 516>val</I 517></TT 518></P 519><P 520></P 521><DIV 522CLASS="INFORMALTABLE" 523><A 524NAME="AEN15098" 525></A 526><P 527></P 528><TABLE 529BORDER="0" 530WIDTH="100%" 531BGCOLOR="#FFD0D0" 532CELLSPACING="0" 533CELLPADDING="4" 534CLASS="CALSTABLE" 535><TBODY 536><TR 537><TD 538WIDTH="20%" 539ALIGN="RIGHT" 540VALIGN="TOP" 541><TT 542CLASS="PARAMETER" 543><I 544>val</I 545></TT 546> :</TD 547><TD 548WIDTH="80%" 549ALIGN="LEFT" 550VALIGN="TOP" 551> an initial xmlXPathObjectPtr, or NULL</TD 552></TR 553><TR 554><TD 555WIDTH="20%" 556ALIGN="RIGHT" 557VALIGN="TOP" 558><I 559CLASS="EMPHASIS" 560>Returns</I 561> :</TD 562><TD 563WIDTH="80%" 564ALIGN="LEFT" 565VALIGN="TOP" 566>the newly created object.</TD 567></TR 568></TBODY 569></TABLE 570><P 571></P 572></DIV 573></DIV 574><HR><DIV 575CLASS="REFSECT2" 576><A 577NAME="AEN15111" 578></A 579><H3 580><A 581NAME="XMLXPTRFREELOCATIONSET" 582></A 583>xmlXPtrFreeLocationSet ()</H3 584><TABLE 585BORDER="0" 586BGCOLOR="#D6E8FF" 587WIDTH="100%" 588CELLPADDING="6" 589><TR 590><TD 591><PRE 592CLASS="PROGRAMLISTING" 593>void xmlXPtrFreeLocationSet (<A 594HREF="libxml-xpointer.html#XMLLOCATIONSETPTR" 595>xmlLocationSetPtr</A 596> obj);</PRE 597></TD 598></TR 599></TABLE 600><P 601>Free the LocationSet compound (not the actual ranges !).</P 602><P 603></P 604><DIV 605CLASS="INFORMALTABLE" 606><A 607NAME="AEN15118" 608></A 609><P 610></P 611><TABLE 612BORDER="0" 613WIDTH="100%" 614BGCOLOR="#FFD0D0" 615CELLSPACING="0" 616CELLPADDING="4" 617CLASS="CALSTABLE" 618><TBODY 619><TR 620><TD 621WIDTH="20%" 622ALIGN="RIGHT" 623VALIGN="TOP" 624><TT 625CLASS="PARAMETER" 626><I 627>obj</I 628></TT 629> :</TD 630><TD 631WIDTH="80%" 632ALIGN="LEFT" 633VALIGN="TOP" 634> the xmlLocationSetPtr to free</TD 635></TR 636></TBODY 637></TABLE 638><P 639></P 640></DIV 641></DIV 642><HR><DIV 643CLASS="REFSECT2" 644><A 645NAME="AEN15127" 646></A 647><H3 648><A 649NAME="XMLXPTRLOCATIONSETMERGE" 650></A 651>xmlXPtrLocationSetMerge ()</H3 652><TABLE 653BORDER="0" 654BGCOLOR="#D6E8FF" 655WIDTH="100%" 656CELLPADDING="6" 657><TR 658><TD 659><PRE 660CLASS="PROGRAMLISTING" 661><A 662HREF="libxml-xpointer.html#XMLLOCATIONSETPTR" 663>xmlLocationSetPtr</A 664> xmlXPtrLocationSetMerge (<A 665HREF="libxml-xpointer.html#XMLLOCATIONSETPTR" 666>xmlLocationSetPtr</A 667> val1, 668 <A 669HREF="libxml-xpointer.html#XMLLOCATIONSETPTR" 670>xmlLocationSetPtr</A 671> val2);</PRE 672></TD 673></TR 674></TABLE 675><P 676>Merges two rangesets, all ranges from <TT 677CLASS="PARAMETER" 678><I 679>val2</I 680></TT 681> are added to <TT 682CLASS="PARAMETER" 683><I 684>val1</I 685></TT 686></P 687><P 688></P 689><DIV 690CLASS="INFORMALTABLE" 691><A 692NAME="AEN15138" 693></A 694><P 695></P 696><TABLE 697BORDER="0" 698WIDTH="100%" 699BGCOLOR="#FFD0D0" 700CELLSPACING="0" 701CELLPADDING="4" 702CLASS="CALSTABLE" 703><TBODY 704><TR 705><TD 706WIDTH="20%" 707ALIGN="RIGHT" 708VALIGN="TOP" 709><TT 710CLASS="PARAMETER" 711><I 712>val1</I 713></TT 714> :</TD 715><TD 716WIDTH="80%" 717ALIGN="LEFT" 718VALIGN="TOP" 719> the first LocationSet</TD 720></TR 721><TR 722><TD 723WIDTH="20%" 724ALIGN="RIGHT" 725VALIGN="TOP" 726><TT 727CLASS="PARAMETER" 728><I 729>val2</I 730></TT 731> :</TD 732><TD 733WIDTH="80%" 734ALIGN="LEFT" 735VALIGN="TOP" 736> the second LocationSet</TD 737></TR 738><TR 739><TD 740WIDTH="20%" 741ALIGN="RIGHT" 742VALIGN="TOP" 743><I 744CLASS="EMPHASIS" 745>Returns</I 746> :</TD 747><TD 748WIDTH="80%" 749ALIGN="LEFT" 750VALIGN="TOP" 751>val1 once extended or NULL in case of error.</TD 752></TR 753></TBODY 754></TABLE 755><P 756></P 757></DIV 758></DIV 759><HR><DIV 760CLASS="REFSECT2" 761><A 762NAME="AEN15155" 763></A 764><H3 765><A 766NAME="XMLXPTRNEWRANGE" 767></A 768>xmlXPtrNewRange ()</H3 769><TABLE 770BORDER="0" 771BGCOLOR="#D6E8FF" 772WIDTH="100%" 773CELLPADDING="6" 774><TR 775><TD 776><PRE 777CLASS="PROGRAMLISTING" 778><A 779HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" 780>xmlXPathObjectPtr</A 781> xmlXPtrNewRange (<A 782HREF="libxml-tree.html#XMLNODEPTR" 783>xmlNodePtr</A 784> start, 785 int startindex, 786 <A 787HREF="libxml-tree.html#XMLNODEPTR" 788>xmlNodePtr</A 789> end, 790 int endindex);</PRE 791></TD 792></TR 793></TABLE 794><P 795>Create a new xmlXPathObjectPtr of type range</P 796><P 797></P 798><DIV 799CLASS="INFORMALTABLE" 800><A 801NAME="AEN15164" 802></A 803><P 804></P 805><TABLE 806BORDER="0" 807WIDTH="100%" 808BGCOLOR="#FFD0D0" 809CELLSPACING="0" 810CELLPADDING="4" 811CLASS="CALSTABLE" 812><TBODY 813><TR 814><TD 815WIDTH="20%" 816ALIGN="RIGHT" 817VALIGN="TOP" 818><TT 819CLASS="PARAMETER" 820><I 821>start</I 822></TT 823> :</TD 824><TD 825WIDTH="80%" 826ALIGN="LEFT" 827VALIGN="TOP" 828> the starting node</TD 829></TR 830><TR 831><TD 832WIDTH="20%" 833ALIGN="RIGHT" 834VALIGN="TOP" 835><TT 836CLASS="PARAMETER" 837><I 838>startindex</I 839></TT 840> :</TD 841><TD 842WIDTH="80%" 843ALIGN="LEFT" 844VALIGN="TOP" 845> the start index</TD 846></TR 847><TR 848><TD 849WIDTH="20%" 850ALIGN="RIGHT" 851VALIGN="TOP" 852><TT 853CLASS="PARAMETER" 854><I 855>end</I 856></TT 857> :</TD 858><TD 859WIDTH="80%" 860ALIGN="LEFT" 861VALIGN="TOP" 862> the ending point</TD 863></TR 864><TR 865><TD 866WIDTH="20%" 867ALIGN="RIGHT" 868VALIGN="TOP" 869><TT 870CLASS="PARAMETER" 871><I 872>endindex</I 873></TT 874> :</TD 875><TD 876WIDTH="80%" 877ALIGN="LEFT" 878VALIGN="TOP" 879> the ending index</TD 880></TR 881><TR 882><TD 883WIDTH="20%" 884ALIGN="RIGHT" 885VALIGN="TOP" 886><I 887CLASS="EMPHASIS" 888>Returns</I 889> :</TD 890><TD 891WIDTH="80%" 892ALIGN="LEFT" 893VALIGN="TOP" 894>the newly created object.</TD 895></TR 896></TBODY 897></TABLE 898><P 899></P 900></DIV 901></DIV 902><HR><DIV 903CLASS="REFSECT2" 904><A 905NAME="AEN15189" 906></A 907><H3 908><A 909NAME="XMLXPTRNEWRANGEPOINTS" 910></A 911>xmlXPtrNewRangePoints ()</H3 912><TABLE 913BORDER="0" 914BGCOLOR="#D6E8FF" 915WIDTH="100%" 916CELLPADDING="6" 917><TR 918><TD 919><PRE 920CLASS="PROGRAMLISTING" 921><A 922HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" 923>xmlXPathObjectPtr</A 924> xmlXPtrNewRangePoints (<A 925HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" 926>xmlXPathObjectPtr</A 927> start, 928 <A 929HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" 930>xmlXPathObjectPtr</A 931> end);</PRE 932></TD 933></TR 934></TABLE 935><P 936>Create a new xmlXPathObjectPtr of type range using 2 Points</P 937><P 938></P 939><DIV 940CLASS="INFORMALTABLE" 941><A 942NAME="AEN15198" 943></A 944><P 945></P 946><TABLE 947BORDER="0" 948WIDTH="100%" 949BGCOLOR="#FFD0D0" 950CELLSPACING="0" 951CELLPADDING="4" 952CLASS="CALSTABLE" 953><TBODY 954><TR 955><TD 956WIDTH="20%" 957ALIGN="RIGHT" 958VALIGN="TOP" 959><TT 960CLASS="PARAMETER" 961><I 962>start</I 963></TT 964> :</TD 965><TD 966WIDTH="80%" 967ALIGN="LEFT" 968VALIGN="TOP" 969> the starting point</TD 970></TR 971><TR 972><TD 973WIDTH="20%" 974ALIGN="RIGHT" 975VALIGN="TOP" 976><TT 977CLASS="PARAMETER" 978><I 979>end</I 980></TT 981> :</TD 982><TD 983WIDTH="80%" 984ALIGN="LEFT" 985VALIGN="TOP" 986> the ending point</TD 987></TR 988><TR 989><TD 990WIDTH="20%" 991ALIGN="RIGHT" 992VALIGN="TOP" 993><I 994CLASS="EMPHASIS" 995>Returns</I 996> :</TD 997><TD 998WIDTH="80%" 999ALIGN="LEFT" 1000VALIGN="TOP" 1001>the newly created object.</TD 1002></TR 1003></TBODY 1004></TABLE 1005><P 1006></P 1007></DIV 1008></DIV 1009><HR><DIV 1010CLASS="REFSECT2" 1011><A 1012NAME="AEN15215" 1013></A 1014><H3 1015><A 1016NAME="XMLXPTRNEWRANGENODEPOINT" 1017></A 1018>xmlXPtrNewRangeNodePoint ()</H3 1019><TABLE 1020BORDER="0" 1021BGCOLOR="#D6E8FF" 1022WIDTH="100%" 1023CELLPADDING="6" 1024><TR 1025><TD 1026><PRE 1027CLASS="PROGRAMLISTING" 1028><A 1029HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" 1030>xmlXPathObjectPtr</A 1031> xmlXPtrNewRangeNodePoint (<A 1032HREF="libxml-tree.html#XMLNODEPTR" 1033>xmlNodePtr</A 1034> start, 1035 <A 1036HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" 1037>xmlXPathObjectPtr</A 1038> end);</PRE 1039></TD 1040></TR 1041></TABLE 1042><P 1043>Create a new xmlXPathObjectPtr of type range from a node to a point</P 1044><P 1045></P 1046><DIV 1047CLASS="INFORMALTABLE" 1048><A 1049NAME="AEN15224" 1050></A 1051><P 1052></P 1053><TABLE 1054BORDER="0" 1055WIDTH="100%" 1056BGCOLOR="#FFD0D0" 1057CELLSPACING="0" 1058CELLPADDING="4" 1059CLASS="CALSTABLE" 1060><TBODY 1061><TR 1062><TD 1063WIDTH="20%" 1064ALIGN="RIGHT" 1065VALIGN="TOP" 1066><TT 1067CLASS="PARAMETER" 1068><I 1069>start</I 1070></TT 1071> :</TD 1072><TD 1073WIDTH="80%" 1074ALIGN="LEFT" 1075VALIGN="TOP" 1076> the starting node</TD 1077></TR 1078><TR 1079><TD 1080WIDTH="20%" 1081ALIGN="RIGHT" 1082VALIGN="TOP" 1083><TT 1084CLASS="PARAMETER" 1085><I 1086>end</I 1087></TT 1088> :</TD 1089><TD 1090WIDTH="80%" 1091ALIGN="LEFT" 1092VALIGN="TOP" 1093> the ending point</TD 1094></TR 1095><TR 1096><TD 1097WIDTH="20%" 1098ALIGN="RIGHT" 1099VALIGN="TOP" 1100><I 1101CLASS="EMPHASIS" 1102>Returns</I 1103> :</TD 1104><TD 1105WIDTH="80%" 1106ALIGN="LEFT" 1107VALIGN="TOP" 1108>the newly created object.</TD 1109></TR 1110></TBODY 1111></TABLE 1112><P 1113></P 1114></DIV 1115></DIV 1116><HR><DIV 1117CLASS="REFSECT2" 1118><A 1119NAME="AEN15241" 1120></A 1121><H3 1122><A 1123NAME="XMLXPTRNEWRANGEPOINTNODE" 1124></A 1125>xmlXPtrNewRangePointNode ()</H3 1126><TABLE 1127BORDER="0" 1128BGCOLOR="#D6E8FF" 1129WIDTH="100%" 1130CELLPADDING="6" 1131><TR 1132><TD 1133><PRE 1134CLASS="PROGRAMLISTING" 1135><A 1136HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" 1137>xmlXPathObjectPtr</A 1138> xmlXPtrNewRangePointNode (<A 1139HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" 1140>xmlXPathObjectPtr</A 1141> start, 1142 <A 1143HREF="libxml-tree.html#XMLNODEPTR" 1144>xmlNodePtr</A 1145> end);</PRE 1146></TD 1147></TR 1148></TABLE 1149><P 1150>Create a new xmlXPathObjectPtr of type range from a point to a node</P 1151><P 1152></P 1153><DIV 1154CLASS="INFORMALTABLE" 1155><A 1156NAME="AEN15250" 1157></A 1158><P 1159></P 1160><TABLE 1161BORDER="0" 1162WIDTH="100%" 1163BGCOLOR="#FFD0D0" 1164CELLSPACING="0" 1165CELLPADDING="4" 1166CLASS="CALSTABLE" 1167><TBODY 1168><TR 1169><TD 1170WIDTH="20%" 1171ALIGN="RIGHT" 1172VALIGN="TOP" 1173><TT 1174CLASS="PARAMETER" 1175><I 1176>start</I 1177></TT 1178> :</TD 1179><TD 1180WIDTH="80%" 1181ALIGN="LEFT" 1182VALIGN="TOP" 1183> the starting point</TD 1184></TR 1185><TR 1186><TD 1187WIDTH="20%" 1188ALIGN="RIGHT" 1189VALIGN="TOP" 1190><TT 1191CLASS="PARAMETER" 1192><I 1193>end</I 1194></TT 1195> :</TD 1196><TD 1197WIDTH="80%" 1198ALIGN="LEFT" 1199VALIGN="TOP" 1200> the ending node</TD 1201></TR 1202><TR 1203><TD 1204WIDTH="20%" 1205ALIGN="RIGHT" 1206VALIGN="TOP" 1207><I 1208CLASS="EMPHASIS" 1209>Returns</I 1210> :</TD 1211><TD 1212WIDTH="80%" 1213ALIGN="LEFT" 1214VALIGN="TOP" 1215>the newly created object.</TD 1216></TR 1217></TBODY 1218></TABLE 1219><P 1220></P 1221></DIV 1222></DIV 1223><HR><DIV 1224CLASS="REFSECT2" 1225><A 1226NAME="AEN15267" 1227></A 1228><H3 1229><A 1230NAME="XMLXPTRNEWRANGENODES" 1231></A 1232>xmlXPtrNewRangeNodes ()</H3 1233><TABLE 1234BORDER="0" 1235BGCOLOR="#D6E8FF" 1236WIDTH="100%" 1237CELLPADDING="6" 1238><TR 1239><TD 1240><PRE 1241CLASS="PROGRAMLISTING" 1242><A 1243HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" 1244>xmlXPathObjectPtr</A 1245> xmlXPtrNewRangeNodes (<A 1246HREF="libxml-tree.html#XMLNODEPTR" 1247>xmlNodePtr</A 1248> start, 1249 <A 1250HREF="libxml-tree.html#XMLNODEPTR" 1251>xmlNodePtr</A 1252> end);</PRE 1253></TD 1254></TR 1255></TABLE 1256><P 1257>Create a new xmlXPathObjectPtr of type range using 2 nodes</P 1258><P 1259></P 1260><DIV 1261CLASS="INFORMALTABLE" 1262><A 1263NAME="AEN15276" 1264></A 1265><P 1266></P 1267><TABLE 1268BORDER="0" 1269WIDTH="100%" 1270BGCOLOR="#FFD0D0" 1271CELLSPACING="0" 1272CELLPADDING="4" 1273CLASS="CALSTABLE" 1274><TBODY 1275><TR 1276><TD 1277WIDTH="20%" 1278ALIGN="RIGHT" 1279VALIGN="TOP" 1280><TT 1281CLASS="PARAMETER" 1282><I 1283>start</I 1284></TT 1285> :</TD 1286><TD 1287WIDTH="80%" 1288ALIGN="LEFT" 1289VALIGN="TOP" 1290> the starting node</TD 1291></TR 1292><TR 1293><TD 1294WIDTH="20%" 1295ALIGN="RIGHT" 1296VALIGN="TOP" 1297><TT 1298CLASS="PARAMETER" 1299><I 1300>end</I 1301></TT 1302> :</TD 1303><TD 1304WIDTH="80%" 1305ALIGN="LEFT" 1306VALIGN="TOP" 1307> the ending node</TD 1308></TR 1309><TR 1310><TD 1311WIDTH="20%" 1312ALIGN="RIGHT" 1313VALIGN="TOP" 1314><I 1315CLASS="EMPHASIS" 1316>Returns</I 1317> :</TD 1318><TD 1319WIDTH="80%" 1320ALIGN="LEFT" 1321VALIGN="TOP" 1322>the newly created object.</TD 1323></TR 1324></TBODY 1325></TABLE 1326><P 1327></P 1328></DIV 1329></DIV 1330><HR><DIV 1331CLASS="REFSECT2" 1332><A 1333NAME="AEN15293" 1334></A 1335><H3 1336><A 1337NAME="XMLXPTRNEWLOCATIONSETNODES" 1338></A 1339>xmlXPtrNewLocationSetNodes ()</H3 1340><TABLE 1341BORDER="0" 1342BGCOLOR="#D6E8FF" 1343WIDTH="100%" 1344CELLPADDING="6" 1345><TR 1346><TD 1347><PRE 1348CLASS="PROGRAMLISTING" 1349><A 1350HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" 1351>xmlXPathObjectPtr</A 1352> xmlXPtrNewLocationSetNodes 1353 (<A 1354HREF="libxml-tree.html#XMLNODEPTR" 1355>xmlNodePtr</A 1356> start, 1357 <A 1358HREF="libxml-tree.html#XMLNODEPTR" 1359>xmlNodePtr</A 1360> end);</PRE 1361></TD 1362></TR 1363></TABLE 1364><P 1365>Create a new xmlXPathObjectPtr of type LocationSet and initialize 1366it with the single range made of the two nodes <TT 1367CLASS="PARAMETER" 1368><I 1369>start</I 1370></TT 1371> and <TT 1372CLASS="PARAMETER" 1373><I 1374>end</I 1375></TT 1376></P 1377><P 1378></P 1379><DIV 1380CLASS="INFORMALTABLE" 1381><A 1382NAME="AEN15304" 1383></A 1384><P 1385></P 1386><TABLE 1387BORDER="0" 1388WIDTH="100%" 1389BGCOLOR="#FFD0D0" 1390CELLSPACING="0" 1391CELLPADDING="4" 1392CLASS="CALSTABLE" 1393><TBODY 1394><TR 1395><TD 1396WIDTH="20%" 1397ALIGN="RIGHT" 1398VALIGN="TOP" 1399><TT 1400CLASS="PARAMETER" 1401><I 1402>start</I 1403></TT 1404> :</TD 1405><TD 1406WIDTH="80%" 1407ALIGN="LEFT" 1408VALIGN="TOP" 1409> the start NodePtr value</TD 1410></TR 1411><TR 1412><TD 1413WIDTH="20%" 1414ALIGN="RIGHT" 1415VALIGN="TOP" 1416><TT 1417CLASS="PARAMETER" 1418><I 1419>end</I 1420></TT 1421> :</TD 1422><TD 1423WIDTH="80%" 1424ALIGN="LEFT" 1425VALIGN="TOP" 1426> the end NodePtr value or NULL</TD 1427></TR 1428><TR 1429><TD 1430WIDTH="20%" 1431ALIGN="RIGHT" 1432VALIGN="TOP" 1433><I 1434CLASS="EMPHASIS" 1435>Returns</I 1436> :</TD 1437><TD 1438WIDTH="80%" 1439ALIGN="LEFT" 1440VALIGN="TOP" 1441>the newly created object.</TD 1442></TR 1443></TBODY 1444></TABLE 1445><P 1446></P 1447></DIV 1448></DIV 1449><HR><DIV 1450CLASS="REFSECT2" 1451><A 1452NAME="AEN15321" 1453></A 1454><H3 1455><A 1456NAME="XMLXPTRNEWLOCATIONSETNODESET" 1457></A 1458>xmlXPtrNewLocationSetNodeSet ()</H3 1459><TABLE 1460BORDER="0" 1461BGCOLOR="#D6E8FF" 1462WIDTH="100%" 1463CELLPADDING="6" 1464><TR 1465><TD 1466><PRE 1467CLASS="PROGRAMLISTING" 1468><A 1469HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" 1470>xmlXPathObjectPtr</A 1471> xmlXPtrNewLocationSetNodeSet 1472 (<A 1473HREF="libxml-xpath.html#XMLNODESETPTR" 1474>xmlNodeSetPtr</A 1475> set);</PRE 1476></TD 1477></TR 1478></TABLE 1479><P 1480>Create a new xmlXPathObjectPtr of type LocationSet and initialize 1481it with all the nodes from <TT 1482CLASS="PARAMETER" 1483><I 1484>set</I 1485></TT 1486></P 1487><P 1488></P 1489><DIV 1490CLASS="INFORMALTABLE" 1491><A 1492NAME="AEN15330" 1493></A 1494><P 1495></P 1496><TABLE 1497BORDER="0" 1498WIDTH="100%" 1499BGCOLOR="#FFD0D0" 1500CELLSPACING="0" 1501CELLPADDING="4" 1502CLASS="CALSTABLE" 1503><TBODY 1504><TR 1505><TD 1506WIDTH="20%" 1507ALIGN="RIGHT" 1508VALIGN="TOP" 1509><TT 1510CLASS="PARAMETER" 1511><I 1512>set</I 1513></TT 1514> :</TD 1515><TD 1516WIDTH="80%" 1517ALIGN="LEFT" 1518VALIGN="TOP" 1519> a node set</TD 1520></TR 1521><TR 1522><TD 1523WIDTH="20%" 1524ALIGN="RIGHT" 1525VALIGN="TOP" 1526><I 1527CLASS="EMPHASIS" 1528>Returns</I 1529> :</TD 1530><TD 1531WIDTH="80%" 1532ALIGN="LEFT" 1533VALIGN="TOP" 1534>the newly created object.</TD 1535></TR 1536></TBODY 1537></TABLE 1538><P 1539></P 1540></DIV 1541></DIV 1542><HR><DIV 1543CLASS="REFSECT2" 1544><A 1545NAME="AEN15343" 1546></A 1547><H3 1548><A 1549NAME="XMLXPTRNEWRANGENODEOBJECT" 1550></A 1551>xmlXPtrNewRangeNodeObject ()</H3 1552><TABLE 1553BORDER="0" 1554BGCOLOR="#D6E8FF" 1555WIDTH="100%" 1556CELLPADDING="6" 1557><TR 1558><TD 1559><PRE 1560CLASS="PROGRAMLISTING" 1561><A 1562HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" 1563>xmlXPathObjectPtr</A 1564> xmlXPtrNewRangeNodeObject (<A 1565HREF="libxml-tree.html#XMLNODEPTR" 1566>xmlNodePtr</A 1567> start, 1568 <A 1569HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" 1570>xmlXPathObjectPtr</A 1571> end);</PRE 1572></TD 1573></TR 1574></TABLE 1575><P 1576>Create a new xmlXPathObjectPtr of type range from a not to an object</P 1577><P 1578></P 1579><DIV 1580CLASS="INFORMALTABLE" 1581><A 1582NAME="AEN15352" 1583></A 1584><P 1585></P 1586><TABLE 1587BORDER="0" 1588WIDTH="100%" 1589BGCOLOR="#FFD0D0" 1590CELLSPACING="0" 1591CELLPADDING="4" 1592CLASS="CALSTABLE" 1593><TBODY 1594><TR 1595><TD 1596WIDTH="20%" 1597ALIGN="RIGHT" 1598VALIGN="TOP" 1599><TT 1600CLASS="PARAMETER" 1601><I 1602>start</I 1603></TT 1604> :</TD 1605><TD 1606WIDTH="80%" 1607ALIGN="LEFT" 1608VALIGN="TOP" 1609> the starting node</TD 1610></TR 1611><TR 1612><TD 1613WIDTH="20%" 1614ALIGN="RIGHT" 1615VALIGN="TOP" 1616><TT 1617CLASS="PARAMETER" 1618><I 1619>end</I 1620></TT 1621> :</TD 1622><TD 1623WIDTH="80%" 1624ALIGN="LEFT" 1625VALIGN="TOP" 1626> the ending object</TD 1627></TR 1628><TR 1629><TD 1630WIDTH="20%" 1631ALIGN="RIGHT" 1632VALIGN="TOP" 1633><I 1634CLASS="EMPHASIS" 1635>Returns</I 1636> :</TD 1637><TD 1638WIDTH="80%" 1639ALIGN="LEFT" 1640VALIGN="TOP" 1641>the newly created object.</TD 1642></TR 1643></TBODY 1644></TABLE 1645><P 1646></P 1647></DIV 1648></DIV 1649><HR><DIV 1650CLASS="REFSECT2" 1651><A 1652NAME="AEN15369" 1653></A 1654><H3 1655><A 1656NAME="XMLXPTRNEWCOLLAPSEDRANGE" 1657></A 1658>xmlXPtrNewCollapsedRange ()</H3 1659><TABLE 1660BORDER="0" 1661BGCOLOR="#D6E8FF" 1662WIDTH="100%" 1663CELLPADDING="6" 1664><TR 1665><TD 1666><PRE 1667CLASS="PROGRAMLISTING" 1668><A 1669HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" 1670>xmlXPathObjectPtr</A 1671> xmlXPtrNewCollapsedRange (<A 1672HREF="libxml-tree.html#XMLNODEPTR" 1673>xmlNodePtr</A 1674> start);</PRE 1675></TD 1676></TR 1677></TABLE 1678><P 1679>Create a new xmlXPathObjectPtr of type range using a single nodes</P 1680><P 1681></P 1682><DIV 1683CLASS="INFORMALTABLE" 1684><A 1685NAME="AEN15377" 1686></A 1687><P 1688></P 1689><TABLE 1690BORDER="0" 1691WIDTH="100%" 1692BGCOLOR="#FFD0D0" 1693CELLSPACING="0" 1694CELLPADDING="4" 1695CLASS="CALSTABLE" 1696><TBODY 1697><TR 1698><TD 1699WIDTH="20%" 1700ALIGN="RIGHT" 1701VALIGN="TOP" 1702><TT 1703CLASS="PARAMETER" 1704><I 1705>start</I 1706></TT 1707> :</TD 1708><TD 1709WIDTH="80%" 1710ALIGN="LEFT" 1711VALIGN="TOP" 1712> the starting and ending node</TD 1713></TR 1714><TR 1715><TD 1716WIDTH="20%" 1717ALIGN="RIGHT" 1718VALIGN="TOP" 1719><I 1720CLASS="EMPHASIS" 1721>Returns</I 1722> :</TD 1723><TD 1724WIDTH="80%" 1725ALIGN="LEFT" 1726VALIGN="TOP" 1727>the newly created object.</TD 1728></TR 1729></TBODY 1730></TABLE 1731><P 1732></P 1733></DIV 1734></DIV 1735><HR><DIV 1736CLASS="REFSECT2" 1737><A 1738NAME="AEN15390" 1739></A 1740><H3 1741><A 1742NAME="XMLXPTRLOCATIONSETADD" 1743></A 1744>xmlXPtrLocationSetAdd ()</H3 1745><TABLE 1746BORDER="0" 1747BGCOLOR="#D6E8FF" 1748WIDTH="100%" 1749CELLPADDING="6" 1750><TR 1751><TD 1752><PRE 1753CLASS="PROGRAMLISTING" 1754>void xmlXPtrLocationSetAdd (<A 1755HREF="libxml-xpointer.html#XMLLOCATIONSETPTR" 1756>xmlLocationSetPtr</A 1757> cur, 1758 <A 1759HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" 1760>xmlXPathObjectPtr</A 1761> val);</PRE 1762></TD 1763></TR 1764></TABLE 1765><P 1766>add a new xmlXPathObjectPtr ot an existing LocationSet 1767If the location already exist in the set <TT 1768CLASS="PARAMETER" 1769><I 1770>val</I 1771></TT 1772> is freed.</P 1773><P 1774></P 1775><DIV 1776CLASS="INFORMALTABLE" 1777><A 1778NAME="AEN15399" 1779></A 1780><P 1781></P 1782><TABLE 1783BORDER="0" 1784WIDTH="100%" 1785BGCOLOR="#FFD0D0" 1786CELLSPACING="0" 1787CELLPADDING="4" 1788CLASS="CALSTABLE" 1789><TBODY 1790><TR 1791><TD 1792WIDTH="20%" 1793ALIGN="RIGHT" 1794VALIGN="TOP" 1795><TT 1796CLASS="PARAMETER" 1797><I 1798>cur</I 1799></TT 1800> :</TD 1801><TD 1802WIDTH="80%" 1803ALIGN="LEFT" 1804VALIGN="TOP" 1805> the initial range set</TD 1806></TR 1807><TR 1808><TD 1809WIDTH="20%" 1810ALIGN="RIGHT" 1811VALIGN="TOP" 1812><TT 1813CLASS="PARAMETER" 1814><I 1815>val</I 1816></TT 1817> :</TD 1818><TD 1819WIDTH="80%" 1820ALIGN="LEFT" 1821VALIGN="TOP" 1822> a new xmlXPathObjectPtr</TD 1823></TR 1824></TBODY 1825></TABLE 1826><P 1827></P 1828></DIV 1829></DIV 1830><HR><DIV 1831CLASS="REFSECT2" 1832><A 1833NAME="AEN15412" 1834></A 1835><H3 1836><A 1837NAME="XMLXPTRWRAPLOCATIONSET" 1838></A 1839>xmlXPtrWrapLocationSet ()</H3 1840><TABLE 1841BORDER="0" 1842BGCOLOR="#D6E8FF" 1843WIDTH="100%" 1844CELLPADDING="6" 1845><TR 1846><TD 1847><PRE 1848CLASS="PROGRAMLISTING" 1849><A 1850HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" 1851>xmlXPathObjectPtr</A 1852> xmlXPtrWrapLocationSet (<A 1853HREF="libxml-xpointer.html#XMLLOCATIONSETPTR" 1854>xmlLocationSetPtr</A 1855> val);</PRE 1856></TD 1857></TR 1858></TABLE 1859><P 1860>Wrap the LocationSet <TT 1861CLASS="PARAMETER" 1862><I 1863>val</I 1864></TT 1865> in a new xmlXPathObjectPtr</P 1866><P 1867></P 1868><DIV 1869CLASS="INFORMALTABLE" 1870><A 1871NAME="AEN15421" 1872></A 1873><P 1874></P 1875><TABLE 1876BORDER="0" 1877WIDTH="100%" 1878BGCOLOR="#FFD0D0" 1879CELLSPACING="0" 1880CELLPADDING="4" 1881CLASS="CALSTABLE" 1882><TBODY 1883><TR 1884><TD 1885WIDTH="20%" 1886ALIGN="RIGHT" 1887VALIGN="TOP" 1888><TT 1889CLASS="PARAMETER" 1890><I 1891>val</I 1892></TT 1893> :</TD 1894><TD 1895WIDTH="80%" 1896ALIGN="LEFT" 1897VALIGN="TOP" 1898> the LocationSet value</TD 1899></TR 1900><TR 1901><TD 1902WIDTH="20%" 1903ALIGN="RIGHT" 1904VALIGN="TOP" 1905><I 1906CLASS="EMPHASIS" 1907>Returns</I 1908> :</TD 1909><TD 1910WIDTH="80%" 1911ALIGN="LEFT" 1912VALIGN="TOP" 1913>the newly created object.</TD 1914></TR 1915></TBODY 1916></TABLE 1917><P 1918></P 1919></DIV 1920></DIV 1921><HR><DIV 1922CLASS="REFSECT2" 1923><A 1924NAME="AEN15434" 1925></A 1926><H3 1927><A 1928NAME="XMLXPTRLOCATIONSETDEL" 1929></A 1930>xmlXPtrLocationSetDel ()</H3 1931><TABLE 1932BORDER="0" 1933BGCOLOR="#D6E8FF" 1934WIDTH="100%" 1935CELLPADDING="6" 1936><TR 1937><TD 1938><PRE 1939CLASS="PROGRAMLISTING" 1940>void xmlXPtrLocationSetDel (<A 1941HREF="libxml-xpointer.html#XMLLOCATIONSETPTR" 1942>xmlLocationSetPtr</A 1943> cur, 1944 <A 1945HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" 1946>xmlXPathObjectPtr</A 1947> val);</PRE 1948></TD 1949></TR 1950></TABLE 1951><P 1952>Removes an xmlXPathObjectPtr from an existing LocationSet</P 1953><P 1954></P 1955><DIV 1956CLASS="INFORMALTABLE" 1957><A 1958NAME="AEN15442" 1959></A 1960><P 1961></P 1962><TABLE 1963BORDER="0" 1964WIDTH="100%" 1965BGCOLOR="#FFD0D0" 1966CELLSPACING="0" 1967CELLPADDING="4" 1968CLASS="CALSTABLE" 1969><TBODY 1970><TR 1971><TD 1972WIDTH="20%" 1973ALIGN="RIGHT" 1974VALIGN="TOP" 1975><TT 1976CLASS="PARAMETER" 1977><I 1978>cur</I 1979></TT 1980> :</TD 1981><TD 1982WIDTH="80%" 1983ALIGN="LEFT" 1984VALIGN="TOP" 1985> the initial range set</TD 1986></TR 1987><TR 1988><TD 1989WIDTH="20%" 1990ALIGN="RIGHT" 1991VALIGN="TOP" 1992><TT 1993CLASS="PARAMETER" 1994><I 1995>val</I 1996></TT 1997> :</TD 1998><TD 1999WIDTH="80%" 2000ALIGN="LEFT" 2001VALIGN="TOP" 2002> an xmlXPathObjectPtr</TD 2003></TR 2004></TBODY 2005></TABLE 2006><P 2007></P 2008></DIV 2009></DIV 2010><HR><DIV 2011CLASS="REFSECT2" 2012><A 2013NAME="AEN15455" 2014></A 2015><H3 2016><A 2017NAME="XMLXPTRLOCATIONSETREMOVE" 2018></A 2019>xmlXPtrLocationSetRemove ()</H3 2020><TABLE 2021BORDER="0" 2022BGCOLOR="#D6E8FF" 2023WIDTH="100%" 2024CELLPADDING="6" 2025><TR 2026><TD 2027><PRE 2028CLASS="PROGRAMLISTING" 2029>void xmlXPtrLocationSetRemove (<A 2030HREF="libxml-xpointer.html#XMLLOCATIONSETPTR" 2031>xmlLocationSetPtr</A 2032> cur, 2033 int val);</PRE 2034></TD 2035></TR 2036></TABLE 2037><P 2038>Removes an entry from an existing LocationSet list.</P 2039><P 2040></P 2041><DIV 2042CLASS="INFORMALTABLE" 2043><A 2044NAME="AEN15462" 2045></A 2046><P 2047></P 2048><TABLE 2049BORDER="0" 2050WIDTH="100%" 2051BGCOLOR="#FFD0D0" 2052CELLSPACING="0" 2053CELLPADDING="4" 2054CLASS="CALSTABLE" 2055><TBODY 2056><TR 2057><TD 2058WIDTH="20%" 2059ALIGN="RIGHT" 2060VALIGN="TOP" 2061><TT 2062CLASS="PARAMETER" 2063><I 2064>cur</I 2065></TT 2066> :</TD 2067><TD 2068WIDTH="80%" 2069ALIGN="LEFT" 2070VALIGN="TOP" 2071> the initial range set</TD 2072></TR 2073><TR 2074><TD 2075WIDTH="20%" 2076ALIGN="RIGHT" 2077VALIGN="TOP" 2078><TT 2079CLASS="PARAMETER" 2080><I 2081>val</I 2082></TT 2083> :</TD 2084><TD 2085WIDTH="80%" 2086ALIGN="LEFT" 2087VALIGN="TOP" 2088> the index to remove</TD 2089></TR 2090></TBODY 2091></TABLE 2092><P 2093></P 2094></DIV 2095></DIV 2096><HR><DIV 2097CLASS="REFSECT2" 2098><A 2099NAME="AEN15475" 2100></A 2101><H3 2102><A 2103NAME="XMLXPTRNEWCONTEXT" 2104></A 2105>xmlXPtrNewContext ()</H3 2106><TABLE 2107BORDER="0" 2108BGCOLOR="#D6E8FF" 2109WIDTH="100%" 2110CELLPADDING="6" 2111><TR 2112><TD 2113><PRE 2114CLASS="PROGRAMLISTING" 2115><A 2116HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" 2117>xmlXPathContextPtr</A 2118> xmlXPtrNewContext (<A 2119HREF="libxml-tree.html#XMLDOCPTR" 2120>xmlDocPtr</A 2121> doc, 2122 <A 2123HREF="libxml-tree.html#XMLNODEPTR" 2124>xmlNodePtr</A 2125> here, 2126 <A 2127HREF="libxml-tree.html#XMLNODEPTR" 2128>xmlNodePtr</A 2129> origin);</PRE 2130></TD 2131></TR 2132></TABLE 2133><P 2134>Create a new XPointer context</P 2135><P 2136></P 2137><DIV 2138CLASS="INFORMALTABLE" 2139><A 2140NAME="AEN15485" 2141></A 2142><P 2143></P 2144><TABLE 2145BORDER="0" 2146WIDTH="100%" 2147BGCOLOR="#FFD0D0" 2148CELLSPACING="0" 2149CELLPADDING="4" 2150CLASS="CALSTABLE" 2151><TBODY 2152><TR 2153><TD 2154WIDTH="20%" 2155ALIGN="RIGHT" 2156VALIGN="TOP" 2157><TT 2158CLASS="PARAMETER" 2159><I 2160>doc</I 2161></TT 2162> :</TD 2163><TD 2164WIDTH="80%" 2165ALIGN="LEFT" 2166VALIGN="TOP" 2167> the XML document</TD 2168></TR 2169><TR 2170><TD 2171WIDTH="20%" 2172ALIGN="RIGHT" 2173VALIGN="TOP" 2174><TT 2175CLASS="PARAMETER" 2176><I 2177>here</I 2178></TT 2179> :</TD 2180><TD 2181WIDTH="80%" 2182ALIGN="LEFT" 2183VALIGN="TOP" 2184> the node that directly contains the XPointer being evaluated or NULL</TD 2185></TR 2186><TR 2187><TD 2188WIDTH="20%" 2189ALIGN="RIGHT" 2190VALIGN="TOP" 2191><TT 2192CLASS="PARAMETER" 2193><I 2194>origin</I 2195></TT 2196> :</TD 2197><TD 2198WIDTH="80%" 2199ALIGN="LEFT" 2200VALIGN="TOP" 2201> the element from which a user or program initiated traversal of 2202the link, or NULL.</TD 2203></TR 2204><TR 2205><TD 2206WIDTH="20%" 2207ALIGN="RIGHT" 2208VALIGN="TOP" 2209><I 2210CLASS="EMPHASIS" 2211>Returns</I 2212> :</TD 2213><TD 2214WIDTH="80%" 2215ALIGN="LEFT" 2216VALIGN="TOP" 2217>the xmlXPathContext just allocated.</TD 2218></TR 2219></TBODY 2220></TABLE 2221><P 2222></P 2223></DIV 2224></DIV 2225><HR><DIV 2226CLASS="REFSECT2" 2227><A 2228NAME="AEN15506" 2229></A 2230><H3 2231><A 2232NAME="XMLXPTREVAL" 2233></A 2234>xmlXPtrEval ()</H3 2235><TABLE 2236BORDER="0" 2237BGCOLOR="#D6E8FF" 2238WIDTH="100%" 2239CELLPADDING="6" 2240><TR 2241><TD 2242><PRE 2243CLASS="PROGRAMLISTING" 2244><A 2245HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" 2246>xmlXPathObjectPtr</A 2247> xmlXPtrEval (const <A 2248HREF="libxml-tree.html#XMLCHAR" 2249>xmlChar</A 2250> *str, 2251 <A 2252HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR" 2253>xmlXPathContextPtr</A 2254> ctx);</PRE 2255></TD 2256></TR 2257></TABLE 2258><P 2259>Evaluate the XPath Location Path in the given context.</P 2260><P 2261></P 2262><DIV 2263CLASS="INFORMALTABLE" 2264><A 2265NAME="AEN15515" 2266></A 2267><P 2268></P 2269><TABLE 2270BORDER="0" 2271WIDTH="100%" 2272BGCOLOR="#FFD0D0" 2273CELLSPACING="0" 2274CELLPADDING="4" 2275CLASS="CALSTABLE" 2276><TBODY 2277><TR 2278><TD 2279WIDTH="20%" 2280ALIGN="RIGHT" 2281VALIGN="TOP" 2282><TT 2283CLASS="PARAMETER" 2284><I 2285>str</I 2286></TT 2287> :</TD 2288><TD 2289WIDTH="80%" 2290ALIGN="LEFT" 2291VALIGN="TOP" 2292> the XPointer expression</TD 2293></TR 2294><TR 2295><TD 2296WIDTH="20%" 2297ALIGN="RIGHT" 2298VALIGN="TOP" 2299><TT 2300CLASS="PARAMETER" 2301><I 2302>ctx</I 2303></TT 2304> :</TD 2305><TD 2306WIDTH="80%" 2307ALIGN="LEFT" 2308VALIGN="TOP" 2309> the XPointer context</TD 2310></TR 2311><TR 2312><TD 2313WIDTH="20%" 2314ALIGN="RIGHT" 2315VALIGN="TOP" 2316><I 2317CLASS="EMPHASIS" 2318>Returns</I 2319> :</TD 2320><TD 2321WIDTH="80%" 2322ALIGN="LEFT" 2323VALIGN="TOP" 2324>the xmlXPathObjectPtr resulting from the eveluation or NULL. 2325the caller has to free the object.</TD 2326></TR 2327></TBODY 2328></TABLE 2329><P 2330></P 2331></DIV 2332></DIV 2333><HR><DIV 2334CLASS="REFSECT2" 2335><A 2336NAME="AEN15532" 2337></A 2338><H3 2339><A 2340NAME="XMLXPTRRANGETOFUNCTION" 2341></A 2342>xmlXPtrRangeToFunction ()</H3 2343><TABLE 2344BORDER="0" 2345BGCOLOR="#D6E8FF" 2346WIDTH="100%" 2347CELLPADDING="6" 2348><TR 2349><TD 2350><PRE 2351CLASS="PROGRAMLISTING" 2352>void xmlXPtrRangeToFunction (<A 2353HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" 2354>xmlXPathParserContextPtr</A 2355> ctxt, 2356 int nargs);</PRE 2357></TD 2358></TR 2359></TABLE 2360><P 2361>Implement the range-<GTKDOCLINK 2362HREF="TO" 2363>to</GTKDOCLINK 2364>() XPointer function</P 2365><P 2366></P 2367><DIV 2368CLASS="INFORMALTABLE" 2369><A 2370NAME="AEN15540" 2371></A 2372><P 2373></P 2374><TABLE 2375BORDER="0" 2376WIDTH="100%" 2377BGCOLOR="#FFD0D0" 2378CELLSPACING="0" 2379CELLPADDING="4" 2380CLASS="CALSTABLE" 2381><TBODY 2382><TR 2383><TD 2384WIDTH="20%" 2385ALIGN="RIGHT" 2386VALIGN="TOP" 2387><TT 2388CLASS="PARAMETER" 2389><I 2390>ctxt</I 2391></TT 2392> :</TD 2393><TD 2394WIDTH="80%" 2395ALIGN="LEFT" 2396VALIGN="TOP" 2397> the XPointer Parser context</TD 2398></TR 2399><TR 2400><TD 2401WIDTH="20%" 2402ALIGN="RIGHT" 2403VALIGN="TOP" 2404><TT 2405CLASS="PARAMETER" 2406><I 2407>nargs</I 2408></TT 2409> :</TD 2410><TD 2411WIDTH="80%" 2412ALIGN="LEFT" 2413VALIGN="TOP" 2414> the number of args</TD 2415></TR 2416></TBODY 2417></TABLE 2418><P 2419></P 2420></DIV 2421></DIV 2422><HR><DIV 2423CLASS="REFSECT2" 2424><A 2425NAME="AEN15553" 2426></A 2427><H3 2428><A 2429NAME="XMLXPTRBUILDNODELIST" 2430></A 2431>xmlXPtrBuildNodeList ()</H3 2432><TABLE 2433BORDER="0" 2434BGCOLOR="#D6E8FF" 2435WIDTH="100%" 2436CELLPADDING="6" 2437><TR 2438><TD 2439><PRE 2440CLASS="PROGRAMLISTING" 2441><A 2442HREF="libxml-tree.html#XMLNODEPTR" 2443>xmlNodePtr</A 2444> xmlXPtrBuildNodeList (<A 2445HREF="libxml-xpath.html#XMLXPATHOBJECTPTR" 2446>xmlXPathObjectPtr</A 2447> obj);</PRE 2448></TD 2449></TR 2450></TABLE 2451><P 2452>Build a node list tree copy of the XPointer result. 2453This will drop Attributes and Namespace declarations.</P 2454><P 2455></P 2456><DIV 2457CLASS="INFORMALTABLE" 2458><A 2459NAME="AEN15561" 2460></A 2461><P 2462></P 2463><TABLE 2464BORDER="0" 2465WIDTH="100%" 2466BGCOLOR="#FFD0D0" 2467CELLSPACING="0" 2468CELLPADDING="4" 2469CLASS="CALSTABLE" 2470><TBODY 2471><TR 2472><TD 2473WIDTH="20%" 2474ALIGN="RIGHT" 2475VALIGN="TOP" 2476><TT 2477CLASS="PARAMETER" 2478><I 2479>obj</I 2480></TT 2481> :</TD 2482><TD 2483WIDTH="80%" 2484ALIGN="LEFT" 2485VALIGN="TOP" 2486> the XPointer result from the evaluation.</TD 2487></TR 2488><TR 2489><TD 2490WIDTH="20%" 2491ALIGN="RIGHT" 2492VALIGN="TOP" 2493><I 2494CLASS="EMPHASIS" 2495>Returns</I 2496> :</TD 2497><TD 2498WIDTH="80%" 2499ALIGN="LEFT" 2500VALIGN="TOP" 2501>an xmlNodePtr list or NULL. 2502the caller has to free the node tree.</TD 2503></TR 2504></TBODY 2505></TABLE 2506><P 2507></P 2508></DIV 2509></DIV 2510><HR><DIV 2511CLASS="REFSECT2" 2512><A 2513NAME="AEN15574" 2514></A 2515><H3 2516><A 2517NAME="XMLXPTREVALRANGEPREDICATE" 2518></A 2519>xmlXPtrEvalRangePredicate ()</H3 2520><TABLE 2521BORDER="0" 2522BGCOLOR="#D6E8FF" 2523WIDTH="100%" 2524CELLPADDING="6" 2525><TR 2526><TD 2527><PRE 2528CLASS="PROGRAMLISTING" 2529>void xmlXPtrEvalRangePredicate (<A 2530HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR" 2531>xmlXPathParserContextPtr</A 2532> ctxt);</PRE 2533></TD 2534></TR 2535></TABLE 2536><P 2537>[8] Predicate ::= '[' PredicateExpr ']' 2538[9] PredicateExpr ::= Expr </P 2539><P 2540>Evaluate a predicate as in <A 2541HREF="libxml-xpath.html#XMLXPATHEVALPREDICATE" 2542>xmlXPathEvalPredicate</A 2543>() but for 2544a Location Set instead of a node set</P 2545><P 2546></P 2547><DIV 2548CLASS="INFORMALTABLE" 2549><A 2550NAME="AEN15583" 2551></A 2552><P 2553></P 2554><TABLE 2555BORDER="0" 2556WIDTH="100%" 2557BGCOLOR="#FFD0D0" 2558CELLSPACING="0" 2559CELLPADDING="4" 2560CLASS="CALSTABLE" 2561><TBODY 2562><TR 2563><TD 2564WIDTH="20%" 2565ALIGN="RIGHT" 2566VALIGN="TOP" 2567><TT 2568CLASS="PARAMETER" 2569><I 2570>ctxt</I 2571></TT 2572> :</TD 2573><TD 2574WIDTH="80%" 2575ALIGN="LEFT" 2576VALIGN="TOP" 2577> the XPointer Parser context</TD 2578></TR 2579></TBODY 2580></TABLE 2581><P 2582></P 2583></DIV 2584></DIV 2585></DIV 2586><DIV 2587CLASS="NAVFOOTER" 2588><BR 2589CLEAR="all"><BR><TABLE 2590WIDTH="100%" 2591BORDER="0" 2592BGCOLOR="#000000" 2593CELLPADDING="1" 2594CELLSPACING="0" 2595><TR 2596><TD 2597WIDTH="25%" 2598BGCOLOR="#C00000" 2599ALIGN="left" 2600><A 2601HREF="libxml-xpathinternals.html" 2602><FONT 2603COLOR="#FFFFFF" 2604SIZE="3" 2605><B 2606><<< Previous Page</B 2607></FONT 2608></A 2609></TD 2610><TD 2611WIDTH="25%" 2612BGCOLOR="#0000C0" 2613ALIGN="center" 2614><FONT 2615COLOR="#FFFFFF" 2616SIZE="3" 2617><B 2618><A 2619HREF="book1.html" 2620><FONT 2621COLOR="#FFFFFF" 2622SIZE="3" 2623><B 2624>Home</B 2625></FONT 2626></A 2627></B 2628></FONT 2629></TD 2630><TD 2631WIDTH="25%" 2632BGCOLOR="#00C000" 2633ALIGN="center" 2634><FONT 2635COLOR="#FFFFFF" 2636SIZE="3" 2637><B 2638><A 2639HREF="libxml-lib.html" 2640><FONT 2641COLOR="#FFFFFF" 2642SIZE="3" 2643><B 2644>Up</B 2645></FONT 2646></A 2647></B 2648></FONT 2649></TD 2650><TD 2651WIDTH="25%" 2652BGCOLOR="#C00000" 2653ALIGN="right" 2654><A 2655HREF="libxml-xinclude.html" 2656><FONT 2657COLOR="#FFFFFF" 2658SIZE="3" 2659><B 2660>Next Page >>></B 2661></FONT 2662></A 2663></TD 2664></TR 2665><TR 2666><TD 2667COLSPAN="2" 2668ALIGN="left" 2669><FONT 2670COLOR="#FFFFFF" 2671SIZE="3" 2672><B 2673>xpathInternals</B 2674></FONT 2675></TD 2676><TD 2677COLSPAN="2" 2678ALIGN="right" 2679><FONT 2680COLOR="#FFFFFF" 2681SIZE="3" 2682><B 2683>xinclude</B 2684></FONT 2685></TD 2686></TR 2687></TABLE 2688></DIV 2689></BODY 2690></HTML 2691>