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