libxml-xpath.html revision bed7b052a318695f5e0856f12fc0c86f66472cb3
1<HTML
2><HEAD
3><TITLE
4>xpath</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="HTMLtree"
16HREF="libxml-htmltree.html"><LINK
17REL="NEXT"
18TITLE="xpathInternals"
19HREF="libxml-xpathinternals.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-htmltree.html"
52><FONT
53COLOR="#FFFFFF"
54SIZE="3"
55><B
56>&#60;&#60;&#60; 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-xpathinternals.html"
106><FONT
107COLOR="#FFFFFF"
108SIZE="3"
109><B
110>Next Page &#62;&#62;&#62;</B
111></FONT
112></A
113></TD
114></TR
115></TABLE
116></DIV
117><H1
118><A
119NAME="LIBXML-XPATH"
120>xpath</A
121></H1
122><DIV
123CLASS="REFNAMEDIV"
124><A
125NAME="AEN11150"
126></A
127><H2
128>Name</H2
129>xpath&nbsp;--&nbsp;</DIV
130><DIV
131CLASS="REFSYNOPSISDIV"
132><A
133NAME="AEN11153"
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>&#13;
147
148struct      <A
149HREF="libxml-xpath.html#XMLXPATHCONTEXT"
150>xmlXPathContext</A
151>;
152typedef     <A
153HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
154>xmlXPathContextPtr</A
155>;
156struct      <A
157HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXT"
158>xmlXPathParserContext</A
159>;
160typedef     <A
161HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
162>xmlXPathParserContextPtr</A
163>;
164enum        <A
165HREF="libxml-xpath.html#XMLXPATHERROR"
166>xmlXPathError</A
167>;
168struct      <A
169HREF="libxml-xpath.html#XMLNODESET"
170>xmlNodeSet</A
171>;
172typedef     <A
173HREF="libxml-xpath.html#XMLNODESETPTR"
174>xmlNodeSetPtr</A
175>;
176enum        <A
177HREF="libxml-xpath.html#XMLXPATHOBJECTTYPE"
178>xmlXPathObjectType</A
179>;
180struct      <A
181HREF="libxml-xpath.html#XMLXPATHOBJECT"
182>xmlXPathObject</A
183>;
184<GTKDOCLINK
185HREF="TYPEDEF"
186>typedef</GTKDOCLINK
187>     <A
188HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
189>xmlXPathObjectPtr</A
190>               ();
191int         (<A
192HREF="libxml-xpath.html#XMLXPATHCONVERTFUNC"
193>*xmlXPathConvertFunc</A
194>)          (<A
195HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
196>xmlXPathObjectPtr</A
197> obj,
198                                             int type);
199struct      <A
200HREF="libxml-xpath.html#XMLXPATHTYPE"
201>xmlXPathType</A
202>;
203typedef     <A
204HREF="libxml-xpath.html#XMLXPATHTYPEPTR"
205>xmlXPathTypePtr</A
206>;
207struct      <A
208HREF="libxml-xpath.html#XMLXPATHVARIABLE"
209>xmlXPathVariable</A
210>;
211typedef     <A
212HREF="libxml-xpath.html#XMLXPATHVARIABLEPTR"
213>xmlXPathVariablePtr</A
214>;
215void        (<A
216HREF="libxml-xpath.html#XMLXPATHEVALFUNC"
217>*xmlXPathEvalFunc</A
218>)             (<A
219HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
220>xmlXPathParserContextPtr</A
221> ctxt,
222                                             int nargs);
223struct      <A
224HREF="libxml-xpath.html#XMLXPATHFUNCT"
225>xmlXPathFunct</A
226>;
227typedef     <A
228HREF="libxml-xpath.html#XMLXPATHFUNCPTR"
229>xmlXPathFuncPtr</A
230>;
231<A
232HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
233>xmlXPathObjectPtr</A
234> (<A
235HREF="libxml-xpath.html#XMLXPATHAXISFUNC"
236>*xmlXPathAxisFunc</A
237>)       (<A
238HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
239>xmlXPathParserContextPtr</A
240> ctxt,
241                                             <A
242HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
243>xmlXPathObjectPtr</A
244> cur);
245struct      <A
246HREF="libxml-xpath.html#XMLXPATHAXIS"
247>xmlXPathAxis</A
248>;
249typedef     <A
250HREF="libxml-xpath.html#XMLXPATHAXISPTR"
251>xmlXPathAxisPtr</A
252>;
253struct      <A
254HREF="libxml-xpath.html#XMLXPATHCOMPEXPR"
255>xmlXPathCompExpr</A
256>;
257typedef     <A
258HREF="libxml-xpath.html#XMLXPATHCOMPEXPRPTR"
259>xmlXPathCompExprPtr</A
260>;
261void        (<A
262HREF="libxml-xpath.html#XMLXPATHFUNCTION"
263>*xmlXPathFunction</A
264>)             (<A
265HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
266>xmlXPathParserContextPtr</A
267> ctxt,
268                                             int nargs);
269#define     <A
270HREF="libxml-xpath.html#XMLXPATHNODESETGETLENGTH"
271>xmlXPathNodeSetGetLength</A
272>        (ns)
273#define     <A
274HREF="libxml-xpath.html#XMLXPATHNODESETITEM"
275>xmlXPathNodeSetItem</A
276>             (ns, index)
277void        <A
278HREF="libxml-xpath.html#XMLXPATHFREEOBJECT"
279>xmlXPathFreeObject</A
280>              (<A
281HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
282>xmlXPathObjectPtr</A
283> obj);
284<A
285HREF="libxml-xpath.html#XMLNODESETPTR"
286>xmlNodeSetPtr</A
287> <A
288HREF="libxml-xpath.html#XMLXPATHNODESETCREATE"
289>xmlXPathNodeSetCreate</A
290>         (<A
291HREF="libxml-tree.html#XMLNODEPTR"
292>xmlNodePtr</A
293> val);
294void        <A
295HREF="libxml-xpath.html#XMLXPATHFREENODESETLIST"
296>xmlXPathFreeNodeSetList</A
297>         (<A
298HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
299>xmlXPathObjectPtr</A
300> obj);
301void        <A
302HREF="libxml-xpath.html#XMLXPATHFREENODESET"
303>xmlXPathFreeNodeSet</A
304>             (<A
305HREF="libxml-xpath.html#XMLNODESETPTR"
306>xmlNodeSetPtr</A
307> obj);
308<A
309HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
310>xmlXPathObjectPtr</A
311> <A
312HREF="libxml-xpath.html#XMLXPATHOBJECTCOPY"
313>xmlXPathObjectCopy</A
314>        (<A
315HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
316>xmlXPathObjectPtr</A
317> val);
318int         <A
319HREF="libxml-xpath.html#XMLXPATHCMPNODES"
320>xmlXPathCmpNodes</A
321>                (<A
322HREF="libxml-tree.html#XMLNODEPTR"
323>xmlNodePtr</A
324> node1,
325                                             <A
326HREF="libxml-tree.html#XMLNODEPTR"
327>xmlNodePtr</A
328> node2);
329int         <A
330HREF="libxml-xpath.html#XMLXPATHCASTNUMBERTOBOOLEAN"
331>xmlXPathCastNumberToBoolean</A
332>     (<GTKDOCLINK
333HREF="DOUBLE"
334>double</GTKDOCLINK
335> val);
336int         <A
337HREF="libxml-xpath.html#XMLXPATHCASTSTRINGTOBOOLEAN"
338>xmlXPathCastStringToBoolean</A
339>     (const <A
340HREF="libxml-tree.html#XMLCHAR"
341>xmlChar</A
342> *val);
343int         <A
344HREF="libxml-xpath.html#XMLXPATHCASTNODESETTOBOOLEAN"
345>xmlXPathCastNodeSetToBoolean</A
346>    (<A
347HREF="libxml-xpath.html#XMLNODESETPTR"
348>xmlNodeSetPtr</A
349> ns);
350int         <A
351HREF="libxml-xpath.html#XMLXPATHCASTTOBOOLEAN"
352>xmlXPathCastToBoolean</A
353>           (<A
354HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
355>xmlXPathObjectPtr</A
356> val);
357<GTKDOCLINK
358HREF="DOUBLE"
359>double</GTKDOCLINK
360>      <A
361HREF="libxml-xpath.html#XMLXPATHCASTBOOLEANTONUMBER"
362>xmlXPathCastBooleanToNumber</A
363>     (int val);
364<GTKDOCLINK
365HREF="DOUBLE"
366>double</GTKDOCLINK
367>      <A
368HREF="libxml-xpath.html#XMLXPATHCASTSTRINGTONUMBER"
369>xmlXPathCastStringToNumber</A
370>      (const <A
371HREF="libxml-tree.html#XMLCHAR"
372>xmlChar</A
373> *val);
374<GTKDOCLINK
375HREF="DOUBLE"
376>double</GTKDOCLINK
377>      <A
378HREF="libxml-xpath.html#XMLXPATHCASTNODETONUMBER"
379>xmlXPathCastNodeToNumber</A
380>        (<A
381HREF="libxml-tree.html#XMLNODEPTR"
382>xmlNodePtr</A
383> node);
384<GTKDOCLINK
385HREF="DOUBLE"
386>double</GTKDOCLINK
387>      <A
388HREF="libxml-xpath.html#XMLXPATHCASTNODESETTONUMBER"
389>xmlXPathCastNodeSetToNumber</A
390>     (<A
391HREF="libxml-xpath.html#XMLNODESETPTR"
392>xmlNodeSetPtr</A
393> ns);
394<GTKDOCLINK
395HREF="DOUBLE"
396>double</GTKDOCLINK
397>      <A
398HREF="libxml-xpath.html#XMLXPATHCASTTONUMBER"
399>xmlXPathCastToNumber</A
400>            (<A
401HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
402>xmlXPathObjectPtr</A
403> val);
404<A
405HREF="libxml-tree.html#XMLCHAR"
406>xmlChar</A
407>*    <A
408HREF="libxml-xpath.html#XMLXPATHCASTBOOLEANTOSTRING"
409>xmlXPathCastBooleanToString</A
410>     (int val);
411<A
412HREF="libxml-tree.html#XMLCHAR"
413>xmlChar</A
414>*    <A
415HREF="libxml-xpath.html#XMLXPATHCASTNUMBERTOSTRING"
416>xmlXPathCastNumberToString</A
417>      (<GTKDOCLINK
418HREF="DOUBLE"
419>double</GTKDOCLINK
420> val);
421<A
422HREF="libxml-tree.html#XMLCHAR"
423>xmlChar</A
424>*    <A
425HREF="libxml-xpath.html#XMLXPATHCASTNODETOSTRING"
426>xmlXPathCastNodeToString</A
427>        (<A
428HREF="libxml-tree.html#XMLNODEPTR"
429>xmlNodePtr</A
430> node);
431<A
432HREF="libxml-tree.html#XMLCHAR"
433>xmlChar</A
434>*    <A
435HREF="libxml-xpath.html#XMLXPATHCASTNODESETTOSTRING"
436>xmlXPathCastNodeSetToString</A
437>     (<A
438HREF="libxml-xpath.html#XMLNODESETPTR"
439>xmlNodeSetPtr</A
440> ns);
441<A
442HREF="libxml-tree.html#XMLCHAR"
443>xmlChar</A
444>*    <A
445HREF="libxml-xpath.html#XMLXPATHCASTTOSTRING"
446>xmlXPathCastToString</A
447>            (<A
448HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
449>xmlXPathObjectPtr</A
450> val);
451<A
452HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
453>xmlXPathObjectPtr</A
454> <A
455HREF="libxml-xpath.html#XMLXPATHCONVERTBOOLEAN"
456>xmlXPathConvertBoolean</A
457>    (<A
458HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
459>xmlXPathObjectPtr</A
460> val);
461<A
462HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
463>xmlXPathObjectPtr</A
464> <A
465HREF="libxml-xpath.html#XMLXPATHCONVERTNUMBER"
466>xmlXPathConvertNumber</A
467>     (<A
468HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
469>xmlXPathObjectPtr</A
470> val);
471<A
472HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
473>xmlXPathObjectPtr</A
474> <A
475HREF="libxml-xpath.html#XMLXPATHCONVERTSTRING"
476>xmlXPathConvertString</A
477>     (<A
478HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
479>xmlXPathObjectPtr</A
480> val);
481void        <A
482HREF="libxml-xpath.html#XMLXPATHINIT"
483>xmlXPathInit</A
484>                    (void);
485<A
486HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
487>xmlXPathContextPtr</A
488> <A
489HREF="libxml-xpath.html#XMLXPATHNEWCONTEXT"
490>xmlXPathNewContext</A
491>       (<A
492HREF="libxml-tree.html#XMLDOCPTR"
493>xmlDocPtr</A
494> doc);
495void        <A
496HREF="libxml-xpath.html#XMLXPATHFREECONTEXT"
497>xmlXPathFreeContext</A
498>             (<A
499HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
500>xmlXPathContextPtr</A
501> ctxt);
502<A
503HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
504>xmlXPathObjectPtr</A
505> <A
506HREF="libxml-xpath.html#XMLXPATHEVAL"
507>xmlXPathEval</A
508>              (const <A
509HREF="libxml-tree.html#XMLCHAR"
510>xmlChar</A
511> *str,
512                                             <A
513HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
514>xmlXPathContextPtr</A
515> ctxt);
516<A
517HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
518>xmlXPathObjectPtr</A
519> <A
520HREF="libxml-xpath.html#XMLXPATHEVALXPTREXPR"
521>xmlXPathEvalXPtrExpr</A
522>      (const <A
523HREF="libxml-tree.html#XMLCHAR"
524>xmlChar</A
525> *str,
526                                             <A
527HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
528>xmlXPathContextPtr</A
529> ctxt);
530<A
531HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
532>xmlXPathObjectPtr</A
533> <A
534HREF="libxml-xpath.html#XMLXPATHEVALEXPRESSION"
535>xmlXPathEvalExpression</A
536>    (const <A
537HREF="libxml-tree.html#XMLCHAR"
538>xmlChar</A
539> *str,
540                                             <A
541HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
542>xmlXPathContextPtr</A
543> ctxt);
544int         <A
545HREF="libxml-xpath.html#XMLXPATHEVALPREDICATE"
546>xmlXPathEvalPredicate</A
547>           (<A
548HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
549>xmlXPathContextPtr</A
550> ctxt,
551                                             <A
552HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
553>xmlXPathObjectPtr</A
554> res);
555<A
556HREF="libxml-xpath.html#XMLXPATHCOMPEXPRPTR"
557>xmlXPathCompExprPtr</A
558> <A
559HREF="libxml-xpath.html#XMLXPATHCOMPILE"
560>xmlXPathCompile</A
561>         (const <A
562HREF="libxml-tree.html#XMLCHAR"
563>xmlChar</A
564> *str);
565<A
566HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
567>xmlXPathObjectPtr</A
568> <A
569HREF="libxml-xpath.html#XMLXPATHCOMPILEDEVAL"
570>xmlXPathCompiledEval</A
571>      (<A
572HREF="libxml-xpath.html#XMLXPATHCOMPEXPRPTR"
573>xmlXPathCompExprPtr</A
574> comp,
575                                             <A
576HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
577>xmlXPathContextPtr</A
578> ctx);
579void        <A
580HREF="libxml-xpath.html#XMLXPATHFREECOMPEXPR"
581>xmlXPathFreeCompExpr</A
582>            (<A
583HREF="libxml-xpath.html#XMLXPATHCOMPEXPRPTR"
584>xmlXPathCompExprPtr</A
585> comp);</PRE
586></TD
587></TR
588></TABLE
589></DIV
590><DIV
591CLASS="REFSECT1"
592><A
593NAME="AEN11279"
594></A
595><H2
596>Description</H2
597><P
598></P
599></DIV
600><DIV
601CLASS="REFSECT1"
602><A
603NAME="AEN11282"
604></A
605><H2
606>Details</H2
607><DIV
608CLASS="REFSECT2"
609><A
610NAME="AEN11284"
611></A
612><H3
613><A
614NAME="XMLXPATHCONTEXT"
615></A
616>struct xmlXPathContext</H3
617><TABLE
618BORDER="0"
619BGCOLOR="#D6E8FF"
620WIDTH="100%"
621CELLPADDING="6"
622><TR
623><TD
624><PRE
625CLASS="PROGRAMLISTING"
626>struct xmlXPathContext {
627    xmlDocPtr doc;			/* The current document */
628    xmlNodePtr node;			/* The current node */
629
630    int nb_variables_unused;		/* unused (hash table) */
631    int max_variables_unused;		/* unused (hash table) */
632    xmlHashTablePtr varHash;		/* Hash table of defined variables */
633
634    int nb_types;			/* number of defined types */
635    int max_types;			/* max number of types */
636    xmlXPathTypePtr types;		/* Array of defined types */
637
638    int nb_funcs_unused;		/* unused (hash table) */
639    int max_funcs_unused;		/* unused (hash table) */
640    xmlHashTablePtr funcHash;		/* Hash table of defined funcs */
641
642    int nb_axis;			/* number of defined axis */
643    int max_axis;			/* max number of axis */
644    xmlXPathAxisPtr axis;		/* Array of defined axis */
645
646    /* the namespace nodes of the context node */
647    xmlNsPtr *namespaces;		/* Array of namespaces */
648    int nsNr;				/* number of namespace in scope */
649    void *user;				/* function to free */
650
651    /* extra variables */
652    int contextSize;			/* the context size */
653    int proximityPosition;		/* the proximity position */
654
655    /* extra stuff for XPointer */
656    int xptr;				/* it this an XPointer context */
657    xmlNodePtr here;			/* for here() */
658    xmlNodePtr origin;			/* for origin() */
659
660    /* the set of namespace declarations in scope for the expression */
661    xmlHashTablePtr nsHash;		/* The namespaces hash table */
662    void *varLookupFunc;		/* variable lookup func */
663    void *varLookupData;		/* variable lookup data */
664
665    /* Possibility to link in an extra item */
666    void *extra;                        /* needed for XSLT */
667};</PRE
668></TD
669></TR
670></TABLE
671><P
672>Expression evaluation occurs with respect to a context.
673he context consists of:
674- a node (the context node) 
675- a node list (the context node list) 
676- a set of variable bindings 
677- a function library 
678- the set of namespace declarations in scope for the expression 
679Following the switch to hash tables, this need to be trimmed up at
680the next binary incompatible release.</P
681><P
682></P
683></DIV
684><HR><DIV
685CLASS="REFSECT2"
686><A
687NAME="AEN11290"
688></A
689><H3
690><A
691NAME="XMLXPATHCONTEXTPTR"
692></A
693>xmlXPathContextPtr</H3
694><TABLE
695BORDER="0"
696BGCOLOR="#D6E8FF"
697WIDTH="100%"
698CELLPADDING="6"
699><TR
700><TD
701><PRE
702CLASS="PROGRAMLISTING"
703>typedef xmlXPathContext *xmlXPathContextPtr;</PRE
704></TD
705></TR
706></TABLE
707><P
708></P
709></DIV
710><HR><DIV
711CLASS="REFSECT2"
712><A
713NAME="AEN11295"
714></A
715><H3
716><A
717NAME="XMLXPATHPARSERCONTEXT"
718></A
719>struct xmlXPathParserContext</H3
720><TABLE
721BORDER="0"
722BGCOLOR="#D6E8FF"
723WIDTH="100%"
724CELLPADDING="6"
725><TR
726><TD
727><PRE
728CLASS="PROGRAMLISTING"
729>struct xmlXPathParserContext {
730    const xmlChar *cur;			/* the current char being parsed */
731    const xmlChar *base;			/* the full expression */
732
733    int error;				/* error code */
734
735    xmlXPathContextPtr  context;	/* the evaluation context */
736    xmlXPathObjectPtr     value;	/* the current value */
737    int                 valueNr;	/* number of values stacked */
738    int                valueMax;	/* max number of values stacked */
739    xmlXPathObjectPtr *valueTab;	/* stack of values */
740
741    xmlXPathCompExprPtr comp;		/* the precompiled expression */
742    int xptr;				/* it this an XPointer expression */
743};</PRE
744></TD
745></TR
746></TABLE
747><P
748>An XPath parser context, it contains pure parsing informations,
749an xmlXPathContext, and the stack of objects.</P
750><P
751></P
752></DIV
753><HR><DIV
754CLASS="REFSECT2"
755><A
756NAME="AEN11301"
757></A
758><H3
759><A
760NAME="XMLXPATHPARSERCONTEXTPTR"
761></A
762>xmlXPathParserContextPtr</H3
763><TABLE
764BORDER="0"
765BGCOLOR="#D6E8FF"
766WIDTH="100%"
767CELLPADDING="6"
768><TR
769><TD
770><PRE
771CLASS="PROGRAMLISTING"
772>typedef xmlXPathParserContext *xmlXPathParserContextPtr;</PRE
773></TD
774></TR
775></TABLE
776><P
777></P
778></DIV
779><HR><DIV
780CLASS="REFSECT2"
781><A
782NAME="AEN11306"
783></A
784><H3
785><A
786NAME="XMLXPATHERROR"
787></A
788>enum xmlXPathError</H3
789><TABLE
790BORDER="0"
791BGCOLOR="#D6E8FF"
792WIDTH="100%"
793CELLPADDING="6"
794><TR
795><TD
796><PRE
797CLASS="PROGRAMLISTING"
798>typedef enum {
799    XPATH_EXPRESSION_OK = 0,
800    XPATH_NUMBER_ERROR,
801    XPATH_UNFINISHED_LITERAL_ERROR,
802    XPATH_START_LITERAL_ERROR,
803    XPATH_VARIABLE_REF_ERROR,
804    XPATH_UNDEF_VARIABLE_ERROR,
805    XPATH_INVALID_PREDICATE_ERROR,
806    XPATH_EXPR_ERROR,
807    XPATH_UNCLOSED_ERROR,
808    XPATH_UNKNOWN_FUNC_ERROR,
809    XPATH_INVALID_OPERAND,
810    XPATH_INVALID_TYPE,
811    XPATH_INVALID_ARITY,
812    XPATH_INVALID_CTXT_SIZE,
813    XPATH_INVALID_CTXT_POSITION,
814    XPATH_MEMORY_ERROR,
815    XPTR_SYNTAX_ERROR,
816    XPTR_RESOURCE_ERROR,
817    XPTR_SUB_RESOURCE_ERROR,
818    XPATH_UNDEF_PREFIX_ERROR,
819    XPATH_ENCODING_ERROR,
820    XPATH_INVALID_CHAR_ERROR
821} xmlXPathError;</PRE
822></TD
823></TR
824></TABLE
825><P
826>Create a new xmlNodeSetPtr of type double and of value <TT
827CLASS="PARAMETER"
828><I
829>val</I
830></TT
831></P
832><P
833></P
834></DIV
835><HR><DIV
836CLASS="REFSECT2"
837><A
838NAME="AEN11313"
839></A
840><H3
841><A
842NAME="XMLNODESET"
843></A
844>struct xmlNodeSet</H3
845><TABLE
846BORDER="0"
847BGCOLOR="#D6E8FF"
848WIDTH="100%"
849CELLPADDING="6"
850><TR
851><TD
852><PRE
853CLASS="PROGRAMLISTING"
854>struct xmlNodeSet {
855    int nodeNr;			/* number of nodes in the set */
856    int nodeMax;		/* size of the array as allocated */
857    xmlNodePtr *nodeTab;	/* array of nodes in no particular order */
858};</PRE
859></TD
860></TR
861></TABLE
862><P
863></P
864></DIV
865><HR><DIV
866CLASS="REFSECT2"
867><A
868NAME="AEN11318"
869></A
870><H3
871><A
872NAME="XMLNODESETPTR"
873></A
874>xmlNodeSetPtr</H3
875><TABLE
876BORDER="0"
877BGCOLOR="#D6E8FF"
878WIDTH="100%"
879CELLPADDING="6"
880><TR
881><TD
882><PRE
883CLASS="PROGRAMLISTING"
884>typedef xmlNodeSet *xmlNodeSetPtr;</PRE
885></TD
886></TR
887></TABLE
888><P
889></P
890></DIV
891><HR><DIV
892CLASS="REFSECT2"
893><A
894NAME="AEN11323"
895></A
896><H3
897><A
898NAME="XMLXPATHOBJECTTYPE"
899></A
900>enum xmlXPathObjectType</H3
901><TABLE
902BORDER="0"
903BGCOLOR="#D6E8FF"
904WIDTH="100%"
905CELLPADDING="6"
906><TR
907><TD
908><PRE
909CLASS="PROGRAMLISTING"
910>typedef enum {
911    XPATH_UNDEFINED = 0,
912    XPATH_NODESET = 1,
913    XPATH_BOOLEAN = 2,
914    XPATH_NUMBER = 3,
915    XPATH_STRING = 4,
916    XPATH_POINT = 5,
917    XPATH_RANGE = 6,
918    XPATH_LOCATIONSET = 7,
919    XPATH_USERS = 8,
920    XPATH_XSLT_TREE = 9  /* An XSLT value tree, non modifiable */
921} xmlXPathObjectType;</PRE
922></TD
923></TR
924></TABLE
925><P
926></P
927></DIV
928><HR><DIV
929CLASS="REFSECT2"
930><A
931NAME="AEN11328"
932></A
933><H3
934><A
935NAME="XMLXPATHOBJECT"
936></A
937>struct xmlXPathObject</H3
938><TABLE
939BORDER="0"
940BGCOLOR="#D6E8FF"
941WIDTH="100%"
942CELLPADDING="6"
943><TR
944><TD
945><PRE
946CLASS="PROGRAMLISTING"
947>struct xmlXPathObject {
948    xmlXPathObjectType type;
949    xmlNodeSetPtr nodesetval;
950    int boolval;
951    double floatval;
952    xmlChar *stringval;
953    void *user;
954    int index;
955    void *user2;
956    int index2;
957};</PRE
958></TD
959></TR
960></TABLE
961><P
962></P
963></DIV
964><HR><DIV
965CLASS="REFSECT2"
966><A
967NAME="AEN11333"
968></A
969><H3
970><A
971NAME="XMLXPATHOBJECTPTR"
972></A
973>xmlXPathObjectPtr ()</H3
974><TABLE
975BORDER="0"
976BGCOLOR="#D6E8FF"
977WIDTH="100%"
978CELLPADDING="6"
979><TR
980><TD
981><PRE
982CLASS="PROGRAMLISTING"
983><GTKDOCLINK
984HREF="TYPEDEF"
985>typedef</GTKDOCLINK
986>     xmlXPathObjectPtr               ();</PRE
987></TD
988></TR
989></TABLE
990><P
991></P
992><DIV
993CLASS="INFORMALTABLE"
994><A
995NAME="AEN11339"
996></A
997><P
998></P
999><TABLE
1000BORDER="0"
1001WIDTH="100%"
1002BGCOLOR="#FFD0D0"
1003CELLSPACING="0"
1004CELLPADDING="4"
1005CLASS="CALSTABLE"
1006><TBODY
1007><TR
1008><TD
1009WIDTH="20%"
1010ALIGN="RIGHT"
1011VALIGN="TOP"
1012><I
1013CLASS="EMPHASIS"
1014>Returns</I
1015> :</TD
1016><TD
1017WIDTH="80%"
1018ALIGN="LEFT"
1019VALIGN="TOP"
1020>&nbsp;</TD
1021></TR
1022></TBODY
1023></TABLE
1024><P
1025></P
1026></DIV
1027></DIV
1028><HR><DIV
1029CLASS="REFSECT2"
1030><A
1031NAME="AEN11348"
1032></A
1033><H3
1034><A
1035NAME="XMLXPATHCONVERTFUNC"
1036></A
1037>xmlXPathConvertFunc ()</H3
1038><TABLE
1039BORDER="0"
1040BGCOLOR="#D6E8FF"
1041WIDTH="100%"
1042CELLPADDING="6"
1043><TR
1044><TD
1045><PRE
1046CLASS="PROGRAMLISTING"
1047>int         (*xmlXPathConvertFunc)          (<A
1048HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
1049>xmlXPathObjectPtr</A
1050> obj,
1051                                             int type);</PRE
1052></TD
1053></TR
1054></TABLE
1055><P
1056></P
1057><DIV
1058CLASS="INFORMALTABLE"
1059><A
1060NAME="AEN11354"
1061></A
1062><P
1063></P
1064><TABLE
1065BORDER="0"
1066WIDTH="100%"
1067BGCOLOR="#FFD0D0"
1068CELLSPACING="0"
1069CELLPADDING="4"
1070CLASS="CALSTABLE"
1071><TBODY
1072><TR
1073><TD
1074WIDTH="20%"
1075ALIGN="RIGHT"
1076VALIGN="TOP"
1077><TT
1078CLASS="PARAMETER"
1079><I
1080>obj</I
1081></TT
1082>&nbsp;:</TD
1083><TD
1084WIDTH="80%"
1085ALIGN="LEFT"
1086VALIGN="TOP"
1087>&nbsp;</TD
1088></TR
1089><TR
1090><TD
1091WIDTH="20%"
1092ALIGN="RIGHT"
1093VALIGN="TOP"
1094><TT
1095CLASS="PARAMETER"
1096><I
1097>type</I
1098></TT
1099>&nbsp;:</TD
1100><TD
1101WIDTH="80%"
1102ALIGN="LEFT"
1103VALIGN="TOP"
1104>&nbsp;</TD
1105></TR
1106><TR
1107><TD
1108WIDTH="20%"
1109ALIGN="RIGHT"
1110VALIGN="TOP"
1111><I
1112CLASS="EMPHASIS"
1113>Returns</I
1114> :</TD
1115><TD
1116WIDTH="80%"
1117ALIGN="LEFT"
1118VALIGN="TOP"
1119>&nbsp;</TD
1120></TR
1121></TBODY
1122></TABLE
1123><P
1124></P
1125></DIV
1126></DIV
1127><HR><DIV
1128CLASS="REFSECT2"
1129><A
1130NAME="AEN11371"
1131></A
1132><H3
1133><A
1134NAME="XMLXPATHTYPE"
1135></A
1136>struct xmlXPathType</H3
1137><TABLE
1138BORDER="0"
1139BGCOLOR="#D6E8FF"
1140WIDTH="100%"
1141CELLPADDING="6"
1142><TR
1143><TD
1144><PRE
1145CLASS="PROGRAMLISTING"
1146>struct xmlXPathType {
1147    const xmlChar         *name;		/* the type name */
1148    xmlXPathConvertFunc func;		/* the conversion function */
1149};</PRE
1150></TD
1151></TR
1152></TABLE
1153><P
1154></P
1155></DIV
1156><HR><DIV
1157CLASS="REFSECT2"
1158><A
1159NAME="AEN11376"
1160></A
1161><H3
1162><A
1163NAME="XMLXPATHTYPEPTR"
1164></A
1165>xmlXPathTypePtr</H3
1166><TABLE
1167BORDER="0"
1168BGCOLOR="#D6E8FF"
1169WIDTH="100%"
1170CELLPADDING="6"
1171><TR
1172><TD
1173><PRE
1174CLASS="PROGRAMLISTING"
1175>typedef xmlXPathType *xmlXPathTypePtr;</PRE
1176></TD
1177></TR
1178></TABLE
1179><P
1180></P
1181></DIV
1182><HR><DIV
1183CLASS="REFSECT2"
1184><A
1185NAME="AEN11381"
1186></A
1187><H3
1188><A
1189NAME="XMLXPATHVARIABLE"
1190></A
1191>struct xmlXPathVariable</H3
1192><TABLE
1193BORDER="0"
1194BGCOLOR="#D6E8FF"
1195WIDTH="100%"
1196CELLPADDING="6"
1197><TR
1198><TD
1199><PRE
1200CLASS="PROGRAMLISTING"
1201>struct xmlXPathVariable {
1202    const xmlChar       *name;		/* the variable name */
1203    xmlXPathObjectPtr value;		/* the value */
1204};</PRE
1205></TD
1206></TR
1207></TABLE
1208><P
1209></P
1210></DIV
1211><HR><DIV
1212CLASS="REFSECT2"
1213><A
1214NAME="AEN11386"
1215></A
1216><H3
1217><A
1218NAME="XMLXPATHVARIABLEPTR"
1219></A
1220>xmlXPathVariablePtr</H3
1221><TABLE
1222BORDER="0"
1223BGCOLOR="#D6E8FF"
1224WIDTH="100%"
1225CELLPADDING="6"
1226><TR
1227><TD
1228><PRE
1229CLASS="PROGRAMLISTING"
1230>typedef xmlXPathVariable *xmlXPathVariablePtr;</PRE
1231></TD
1232></TR
1233></TABLE
1234><P
1235></P
1236></DIV
1237><HR><DIV
1238CLASS="REFSECT2"
1239><A
1240NAME="AEN11391"
1241></A
1242><H3
1243><A
1244NAME="XMLXPATHEVALFUNC"
1245></A
1246>xmlXPathEvalFunc ()</H3
1247><TABLE
1248BORDER="0"
1249BGCOLOR="#D6E8FF"
1250WIDTH="100%"
1251CELLPADDING="6"
1252><TR
1253><TD
1254><PRE
1255CLASS="PROGRAMLISTING"
1256>void        (*xmlXPathEvalFunc)             (<A
1257HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
1258>xmlXPathParserContextPtr</A
1259> ctxt,
1260                                             int nargs);</PRE
1261></TD
1262></TR
1263></TABLE
1264><P
1265></P
1266><DIV
1267CLASS="INFORMALTABLE"
1268><A
1269NAME="AEN11397"
1270></A
1271><P
1272></P
1273><TABLE
1274BORDER="0"
1275WIDTH="100%"
1276BGCOLOR="#FFD0D0"
1277CELLSPACING="0"
1278CELLPADDING="4"
1279CLASS="CALSTABLE"
1280><TBODY
1281><TR
1282><TD
1283WIDTH="20%"
1284ALIGN="RIGHT"
1285VALIGN="TOP"
1286><TT
1287CLASS="PARAMETER"
1288><I
1289>ctxt</I
1290></TT
1291>&nbsp;:</TD
1292><TD
1293WIDTH="80%"
1294ALIGN="LEFT"
1295VALIGN="TOP"
1296>&nbsp;</TD
1297></TR
1298><TR
1299><TD
1300WIDTH="20%"
1301ALIGN="RIGHT"
1302VALIGN="TOP"
1303><TT
1304CLASS="PARAMETER"
1305><I
1306>nargs</I
1307></TT
1308>&nbsp;:</TD
1309><TD
1310WIDTH="80%"
1311ALIGN="LEFT"
1312VALIGN="TOP"
1313>&nbsp;</TD
1314></TR
1315></TBODY
1316></TABLE
1317><P
1318></P
1319></DIV
1320></DIV
1321><HR><DIV
1322CLASS="REFSECT2"
1323><A
1324NAME="AEN11410"
1325></A
1326><H3
1327><A
1328NAME="XMLXPATHFUNCT"
1329></A
1330>struct xmlXPathFunct</H3
1331><TABLE
1332BORDER="0"
1333BGCOLOR="#D6E8FF"
1334WIDTH="100%"
1335CELLPADDING="6"
1336><TR
1337><TD
1338><PRE
1339CLASS="PROGRAMLISTING"
1340>struct xmlXPathFunct {
1341    const xmlChar      *name;		/* the function name */
1342    xmlXPathEvalFunc func;		/* the evaluation function */
1343};</PRE
1344></TD
1345></TR
1346></TABLE
1347><P
1348></P
1349></DIV
1350><HR><DIV
1351CLASS="REFSECT2"
1352><A
1353NAME="AEN11415"
1354></A
1355><H3
1356><A
1357NAME="XMLXPATHFUNCPTR"
1358></A
1359>xmlXPathFuncPtr</H3
1360><TABLE
1361BORDER="0"
1362BGCOLOR="#D6E8FF"
1363WIDTH="100%"
1364CELLPADDING="6"
1365><TR
1366><TD
1367><PRE
1368CLASS="PROGRAMLISTING"
1369>typedef xmlXPathFunct *xmlXPathFuncPtr;</PRE
1370></TD
1371></TR
1372></TABLE
1373><P
1374></P
1375></DIV
1376><HR><DIV
1377CLASS="REFSECT2"
1378><A
1379NAME="AEN11420"
1380></A
1381><H3
1382><A
1383NAME="XMLXPATHAXISFUNC"
1384></A
1385>xmlXPathAxisFunc ()</H3
1386><TABLE
1387BORDER="0"
1388BGCOLOR="#D6E8FF"
1389WIDTH="100%"
1390CELLPADDING="6"
1391><TR
1392><TD
1393><PRE
1394CLASS="PROGRAMLISTING"
1395><A
1396HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
1397>xmlXPathObjectPtr</A
1398> (*xmlXPathAxisFunc)       (<A
1399HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
1400>xmlXPathParserContextPtr</A
1401> ctxt,
1402                                             <A
1403HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
1404>xmlXPathObjectPtr</A
1405> cur);</PRE
1406></TD
1407></TR
1408></TABLE
1409><P
1410></P
1411><DIV
1412CLASS="INFORMALTABLE"
1413><A
1414NAME="AEN11428"
1415></A
1416><P
1417></P
1418><TABLE
1419BORDER="0"
1420WIDTH="100%"
1421BGCOLOR="#FFD0D0"
1422CELLSPACING="0"
1423CELLPADDING="4"
1424CLASS="CALSTABLE"
1425><TBODY
1426><TR
1427><TD
1428WIDTH="20%"
1429ALIGN="RIGHT"
1430VALIGN="TOP"
1431><TT
1432CLASS="PARAMETER"
1433><I
1434>ctxt</I
1435></TT
1436>&nbsp;:</TD
1437><TD
1438WIDTH="80%"
1439ALIGN="LEFT"
1440VALIGN="TOP"
1441>&nbsp;</TD
1442></TR
1443><TR
1444><TD
1445WIDTH="20%"
1446ALIGN="RIGHT"
1447VALIGN="TOP"
1448><TT
1449CLASS="PARAMETER"
1450><I
1451>cur</I
1452></TT
1453>&nbsp;:</TD
1454><TD
1455WIDTH="80%"
1456ALIGN="LEFT"
1457VALIGN="TOP"
1458>&nbsp;</TD
1459></TR
1460><TR
1461><TD
1462WIDTH="20%"
1463ALIGN="RIGHT"
1464VALIGN="TOP"
1465><I
1466CLASS="EMPHASIS"
1467>Returns</I
1468> :</TD
1469><TD
1470WIDTH="80%"
1471ALIGN="LEFT"
1472VALIGN="TOP"
1473>&nbsp;</TD
1474></TR
1475></TBODY
1476></TABLE
1477><P
1478></P
1479></DIV
1480></DIV
1481><HR><DIV
1482CLASS="REFSECT2"
1483><A
1484NAME="AEN11445"
1485></A
1486><H3
1487><A
1488NAME="XMLXPATHAXIS"
1489></A
1490>struct xmlXPathAxis</H3
1491><TABLE
1492BORDER="0"
1493BGCOLOR="#D6E8FF"
1494WIDTH="100%"
1495CELLPADDING="6"
1496><TR
1497><TD
1498><PRE
1499CLASS="PROGRAMLISTING"
1500>struct xmlXPathAxis {
1501    const xmlChar      *name;		/* the axis name */
1502    xmlXPathAxisFunc func;		/* the search function */
1503};</PRE
1504></TD
1505></TR
1506></TABLE
1507><P
1508></P
1509></DIV
1510><HR><DIV
1511CLASS="REFSECT2"
1512><A
1513NAME="AEN11450"
1514></A
1515><H3
1516><A
1517NAME="XMLXPATHAXISPTR"
1518></A
1519>xmlXPathAxisPtr</H3
1520><TABLE
1521BORDER="0"
1522BGCOLOR="#D6E8FF"
1523WIDTH="100%"
1524CELLPADDING="6"
1525><TR
1526><TD
1527><PRE
1528CLASS="PROGRAMLISTING"
1529>typedef xmlXPathAxis *xmlXPathAxisPtr;</PRE
1530></TD
1531></TR
1532></TABLE
1533><P
1534></P
1535></DIV
1536><HR><DIV
1537CLASS="REFSECT2"
1538><A
1539NAME="AEN11455"
1540></A
1541><H3
1542><A
1543NAME="XMLXPATHCOMPEXPR"
1544></A
1545>struct xmlXPathCompExpr</H3
1546><TABLE
1547BORDER="0"
1548BGCOLOR="#D6E8FF"
1549WIDTH="100%"
1550CELLPADDING="6"
1551><TR
1552><TD
1553><PRE
1554CLASS="PROGRAMLISTING"
1555>struct xmlXPathCompExpr;</PRE
1556></TD
1557></TR
1558></TABLE
1559><P
1560>[14]   Expr ::=   OrExpr 
1561[21]   OrExpr ::=   AndExpr 
1562| OrExpr 'or' AndExpr </P
1563><P
1564>Parse and compile an expression</P
1565><P
1566></P
1567></DIV
1568><HR><DIV
1569CLASS="REFSECT2"
1570><A
1571NAME="AEN11462"
1572></A
1573><H3
1574><A
1575NAME="XMLXPATHCOMPEXPRPTR"
1576></A
1577>xmlXPathCompExprPtr</H3
1578><TABLE
1579BORDER="0"
1580BGCOLOR="#D6E8FF"
1581WIDTH="100%"
1582CELLPADDING="6"
1583><TR
1584><TD
1585><PRE
1586CLASS="PROGRAMLISTING"
1587>typedef xmlXPathCompExpr *xmlXPathCompExprPtr;</PRE
1588></TD
1589></TR
1590></TABLE
1591><P
1592></P
1593></DIV
1594><HR><DIV
1595CLASS="REFSECT2"
1596><A
1597NAME="AEN11467"
1598></A
1599><H3
1600><A
1601NAME="XMLXPATHFUNCTION"
1602></A
1603>xmlXPathFunction ()</H3
1604><TABLE
1605BORDER="0"
1606BGCOLOR="#D6E8FF"
1607WIDTH="100%"
1608CELLPADDING="6"
1609><TR
1610><TD
1611><PRE
1612CLASS="PROGRAMLISTING"
1613>void        (*xmlXPathFunction)             (<A
1614HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
1615>xmlXPathParserContextPtr</A
1616> ctxt,
1617                                             int nargs);</PRE
1618></TD
1619></TR
1620></TABLE
1621><P
1622>An XPath function
1623The arguments (if any) are popped out of the context stack
1624and the result is pushed on the stack.</P
1625><P
1626></P
1627><DIV
1628CLASS="INFORMALTABLE"
1629><A
1630NAME="AEN11474"
1631></A
1632><P
1633></P
1634><TABLE
1635BORDER="0"
1636WIDTH="100%"
1637BGCOLOR="#FFD0D0"
1638CELLSPACING="0"
1639CELLPADDING="4"
1640CLASS="CALSTABLE"
1641><TBODY
1642><TR
1643><TD
1644WIDTH="20%"
1645ALIGN="RIGHT"
1646VALIGN="TOP"
1647><TT
1648CLASS="PARAMETER"
1649><I
1650>ctxt</I
1651></TT
1652>&nbsp;:</TD
1653><TD
1654WIDTH="80%"
1655ALIGN="LEFT"
1656VALIGN="TOP"
1657>&nbsp;</TD
1658></TR
1659><TR
1660><TD
1661WIDTH="20%"
1662ALIGN="RIGHT"
1663VALIGN="TOP"
1664><TT
1665CLASS="PARAMETER"
1666><I
1667>nargs</I
1668></TT
1669>&nbsp;:</TD
1670><TD
1671WIDTH="80%"
1672ALIGN="LEFT"
1673VALIGN="TOP"
1674>&nbsp;</TD
1675></TR
1676></TBODY
1677></TABLE
1678><P
1679></P
1680></DIV
1681></DIV
1682><HR><DIV
1683CLASS="REFSECT2"
1684><A
1685NAME="AEN11487"
1686></A
1687><H3
1688><A
1689NAME="XMLXPATHNODESETGETLENGTH"
1690></A
1691>xmlXPathNodeSetGetLength()</H3
1692><TABLE
1693BORDER="0"
1694BGCOLOR="#D6E8FF"
1695WIDTH="100%"
1696CELLPADDING="6"
1697><TR
1698><TD
1699><PRE
1700CLASS="PROGRAMLISTING"
1701>#define xmlXPathNodeSetGetLength(ns) ((ns) ? (ns)-&gt;nodeNr : 0)</PRE
1702></TD
1703></TR
1704></TABLE
1705><P
1706></P
1707><DIV
1708CLASS="INFORMALTABLE"
1709><A
1710NAME="AEN11492"
1711></A
1712><P
1713></P
1714><TABLE
1715BORDER="0"
1716WIDTH="100%"
1717BGCOLOR="#FFD0D0"
1718CELLSPACING="0"
1719CELLPADDING="4"
1720CLASS="CALSTABLE"
1721><TBODY
1722><TR
1723><TD
1724WIDTH="20%"
1725ALIGN="RIGHT"
1726VALIGN="TOP"
1727><TT
1728CLASS="PARAMETER"
1729><I
1730>ns</I
1731></TT
1732>&nbsp;:</TD
1733><TD
1734WIDTH="80%"
1735ALIGN="LEFT"
1736VALIGN="TOP"
1737>&nbsp;</TD
1738></TR
1739></TBODY
1740></TABLE
1741><P
1742></P
1743></DIV
1744></DIV
1745><HR><DIV
1746CLASS="REFSECT2"
1747><A
1748NAME="AEN11501"
1749></A
1750><H3
1751><A
1752NAME="XMLXPATHNODESETITEM"
1753></A
1754>xmlXPathNodeSetItem()</H3
1755><TABLE
1756BORDER="0"
1757BGCOLOR="#D6E8FF"
1758WIDTH="100%"
1759CELLPADDING="6"
1760><TR
1761><TD
1762><PRE
1763CLASS="PROGRAMLISTING"
1764>#define     xmlXPathNodeSetItem(ns, index)</PRE
1765></TD
1766></TR
1767></TABLE
1768><P
1769></P
1770><DIV
1771CLASS="INFORMALTABLE"
1772><A
1773NAME="AEN11506"
1774></A
1775><P
1776></P
1777><TABLE
1778BORDER="0"
1779WIDTH="100%"
1780BGCOLOR="#FFD0D0"
1781CELLSPACING="0"
1782CELLPADDING="4"
1783CLASS="CALSTABLE"
1784><TBODY
1785><TR
1786><TD
1787WIDTH="20%"
1788ALIGN="RIGHT"
1789VALIGN="TOP"
1790><TT
1791CLASS="PARAMETER"
1792><I
1793>ns</I
1794></TT
1795>&nbsp;:</TD
1796><TD
1797WIDTH="80%"
1798ALIGN="LEFT"
1799VALIGN="TOP"
1800>&nbsp;</TD
1801></TR
1802><TR
1803><TD
1804WIDTH="20%"
1805ALIGN="RIGHT"
1806VALIGN="TOP"
1807><TT
1808CLASS="PARAMETER"
1809><I
1810>index</I
1811></TT
1812>&nbsp;:</TD
1813><TD
1814WIDTH="80%"
1815ALIGN="LEFT"
1816VALIGN="TOP"
1817>&nbsp;</TD
1818></TR
1819></TBODY
1820></TABLE
1821><P
1822></P
1823></DIV
1824></DIV
1825><HR><DIV
1826CLASS="REFSECT2"
1827><A
1828NAME="AEN11519"
1829></A
1830><H3
1831><A
1832NAME="XMLXPATHFREEOBJECT"
1833></A
1834>xmlXPathFreeObject ()</H3
1835><TABLE
1836BORDER="0"
1837BGCOLOR="#D6E8FF"
1838WIDTH="100%"
1839CELLPADDING="6"
1840><TR
1841><TD
1842><PRE
1843CLASS="PROGRAMLISTING"
1844>void        xmlXPathFreeObject              (<A
1845HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
1846>xmlXPathObjectPtr</A
1847> obj);</PRE
1848></TD
1849></TR
1850></TABLE
1851><P
1852>Free up an xmlXPathObjectPtr object.</P
1853><P
1854></P
1855><DIV
1856CLASS="INFORMALTABLE"
1857><A
1858NAME="AEN11526"
1859></A
1860><P
1861></P
1862><TABLE
1863BORDER="0"
1864WIDTH="100%"
1865BGCOLOR="#FFD0D0"
1866CELLSPACING="0"
1867CELLPADDING="4"
1868CLASS="CALSTABLE"
1869><TBODY
1870><TR
1871><TD
1872WIDTH="20%"
1873ALIGN="RIGHT"
1874VALIGN="TOP"
1875><TT
1876CLASS="PARAMETER"
1877><I
1878>obj</I
1879></TT
1880>&nbsp;:</TD
1881><TD
1882WIDTH="80%"
1883ALIGN="LEFT"
1884VALIGN="TOP"
1885>  the object to free</TD
1886></TR
1887></TBODY
1888></TABLE
1889><P
1890></P
1891></DIV
1892></DIV
1893><HR><DIV
1894CLASS="REFSECT2"
1895><A
1896NAME="AEN11535"
1897></A
1898><H3
1899><A
1900NAME="XMLXPATHNODESETCREATE"
1901></A
1902>xmlXPathNodeSetCreate ()</H3
1903><TABLE
1904BORDER="0"
1905BGCOLOR="#D6E8FF"
1906WIDTH="100%"
1907CELLPADDING="6"
1908><TR
1909><TD
1910><PRE
1911CLASS="PROGRAMLISTING"
1912><A
1913HREF="libxml-xpath.html#XMLNODESETPTR"
1914>xmlNodeSetPtr</A
1915> xmlXPathNodeSetCreate         (<A
1916HREF="libxml-tree.html#XMLNODEPTR"
1917>xmlNodePtr</A
1918> val);</PRE
1919></TD
1920></TR
1921></TABLE
1922><P
1923>Create a new xmlNodeSetPtr of type double and of value <TT
1924CLASS="PARAMETER"
1925><I
1926>val</I
1927></TT
1928></P
1929><P
1930></P
1931><DIV
1932CLASS="INFORMALTABLE"
1933><A
1934NAME="AEN11544"
1935></A
1936><P
1937></P
1938><TABLE
1939BORDER="0"
1940WIDTH="100%"
1941BGCOLOR="#FFD0D0"
1942CELLSPACING="0"
1943CELLPADDING="4"
1944CLASS="CALSTABLE"
1945><TBODY
1946><TR
1947><TD
1948WIDTH="20%"
1949ALIGN="RIGHT"
1950VALIGN="TOP"
1951><TT
1952CLASS="PARAMETER"
1953><I
1954>val</I
1955></TT
1956>&nbsp;:</TD
1957><TD
1958WIDTH="80%"
1959ALIGN="LEFT"
1960VALIGN="TOP"
1961>  an initial xmlNodePtr, or NULL</TD
1962></TR
1963><TR
1964><TD
1965WIDTH="20%"
1966ALIGN="RIGHT"
1967VALIGN="TOP"
1968><I
1969CLASS="EMPHASIS"
1970>Returns</I
1971> :</TD
1972><TD
1973WIDTH="80%"
1974ALIGN="LEFT"
1975VALIGN="TOP"
1976>the newly created object.</TD
1977></TR
1978></TBODY
1979></TABLE
1980><P
1981></P
1982></DIV
1983></DIV
1984><HR><DIV
1985CLASS="REFSECT2"
1986><A
1987NAME="AEN11557"
1988></A
1989><H3
1990><A
1991NAME="XMLXPATHFREENODESETLIST"
1992></A
1993>xmlXPathFreeNodeSetList ()</H3
1994><TABLE
1995BORDER="0"
1996BGCOLOR="#D6E8FF"
1997WIDTH="100%"
1998CELLPADDING="6"
1999><TR
2000><TD
2001><PRE
2002CLASS="PROGRAMLISTING"
2003>void        xmlXPathFreeNodeSetList         (<A
2004HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
2005>xmlXPathObjectPtr</A
2006> obj);</PRE
2007></TD
2008></TR
2009></TABLE
2010><P
2011>Free up the xmlXPathObjectPtr <TT
2012CLASS="PARAMETER"
2013><I
2014>obj</I
2015></TT
2016> but don't deallocate the objects in
2017the list contrary to <A
2018HREF="libxml-xpath.html#XMLXPATHFREEOBJECT"
2019>xmlXPathFreeObject</A
2020>().</P
2021><P
2022></P
2023><DIV
2024CLASS="INFORMALTABLE"
2025><A
2026NAME="AEN11566"
2027></A
2028><P
2029></P
2030><TABLE
2031BORDER="0"
2032WIDTH="100%"
2033BGCOLOR="#FFD0D0"
2034CELLSPACING="0"
2035CELLPADDING="4"
2036CLASS="CALSTABLE"
2037><TBODY
2038><TR
2039><TD
2040WIDTH="20%"
2041ALIGN="RIGHT"
2042VALIGN="TOP"
2043><TT
2044CLASS="PARAMETER"
2045><I
2046>obj</I
2047></TT
2048>&nbsp;:</TD
2049><TD
2050WIDTH="80%"
2051ALIGN="LEFT"
2052VALIGN="TOP"
2053>  an existing NodeSetList object</TD
2054></TR
2055></TBODY
2056></TABLE
2057><P
2058></P
2059></DIV
2060></DIV
2061><HR><DIV
2062CLASS="REFSECT2"
2063><A
2064NAME="AEN11575"
2065></A
2066><H3
2067><A
2068NAME="XMLXPATHFREENODESET"
2069></A
2070>xmlXPathFreeNodeSet ()</H3
2071><TABLE
2072BORDER="0"
2073BGCOLOR="#D6E8FF"
2074WIDTH="100%"
2075CELLPADDING="6"
2076><TR
2077><TD
2078><PRE
2079CLASS="PROGRAMLISTING"
2080>void        xmlXPathFreeNodeSet             (<A
2081HREF="libxml-xpath.html#XMLNODESETPTR"
2082>xmlNodeSetPtr</A
2083> obj);</PRE
2084></TD
2085></TR
2086></TABLE
2087><P
2088>Free the NodeSet compound (not the actual nodes !).</P
2089><P
2090></P
2091><DIV
2092CLASS="INFORMALTABLE"
2093><A
2094NAME="AEN11582"
2095></A
2096><P
2097></P
2098><TABLE
2099BORDER="0"
2100WIDTH="100%"
2101BGCOLOR="#FFD0D0"
2102CELLSPACING="0"
2103CELLPADDING="4"
2104CLASS="CALSTABLE"
2105><TBODY
2106><TR
2107><TD
2108WIDTH="20%"
2109ALIGN="RIGHT"
2110VALIGN="TOP"
2111><TT
2112CLASS="PARAMETER"
2113><I
2114>obj</I
2115></TT
2116>&nbsp;:</TD
2117><TD
2118WIDTH="80%"
2119ALIGN="LEFT"
2120VALIGN="TOP"
2121>  the xmlNodeSetPtr to free</TD
2122></TR
2123></TBODY
2124></TABLE
2125><P
2126></P
2127></DIV
2128></DIV
2129><HR><DIV
2130CLASS="REFSECT2"
2131><A
2132NAME="AEN11591"
2133></A
2134><H3
2135><A
2136NAME="XMLXPATHOBJECTCOPY"
2137></A
2138>xmlXPathObjectCopy ()</H3
2139><TABLE
2140BORDER="0"
2141BGCOLOR="#D6E8FF"
2142WIDTH="100%"
2143CELLPADDING="6"
2144><TR
2145><TD
2146><PRE
2147CLASS="PROGRAMLISTING"
2148><A
2149HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
2150>xmlXPathObjectPtr</A
2151> xmlXPathObjectCopy        (<A
2152HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
2153>xmlXPathObjectPtr</A
2154> val);</PRE
2155></TD
2156></TR
2157></TABLE
2158><P
2159>allocate a new copy of a given object</P
2160><P
2161></P
2162><DIV
2163CLASS="INFORMALTABLE"
2164><A
2165NAME="AEN11599"
2166></A
2167><P
2168></P
2169><TABLE
2170BORDER="0"
2171WIDTH="100%"
2172BGCOLOR="#FFD0D0"
2173CELLSPACING="0"
2174CELLPADDING="4"
2175CLASS="CALSTABLE"
2176><TBODY
2177><TR
2178><TD
2179WIDTH="20%"
2180ALIGN="RIGHT"
2181VALIGN="TOP"
2182><TT
2183CLASS="PARAMETER"
2184><I
2185>val</I
2186></TT
2187>&nbsp;:</TD
2188><TD
2189WIDTH="80%"
2190ALIGN="LEFT"
2191VALIGN="TOP"
2192>  the original object</TD
2193></TR
2194><TR
2195><TD
2196WIDTH="20%"
2197ALIGN="RIGHT"
2198VALIGN="TOP"
2199><I
2200CLASS="EMPHASIS"
2201>Returns</I
2202> :</TD
2203><TD
2204WIDTH="80%"
2205ALIGN="LEFT"
2206VALIGN="TOP"
2207>the newly created object.</TD
2208></TR
2209></TBODY
2210></TABLE
2211><P
2212></P
2213></DIV
2214></DIV
2215><HR><DIV
2216CLASS="REFSECT2"
2217><A
2218NAME="AEN11612"
2219></A
2220><H3
2221><A
2222NAME="XMLXPATHCMPNODES"
2223></A
2224>xmlXPathCmpNodes ()</H3
2225><TABLE
2226BORDER="0"
2227BGCOLOR="#D6E8FF"
2228WIDTH="100%"
2229CELLPADDING="6"
2230><TR
2231><TD
2232><PRE
2233CLASS="PROGRAMLISTING"
2234>int         xmlXPathCmpNodes                (<A
2235HREF="libxml-tree.html#XMLNODEPTR"
2236>xmlNodePtr</A
2237> node1,
2238                                             <A
2239HREF="libxml-tree.html#XMLNODEPTR"
2240>xmlNodePtr</A
2241> node2);</PRE
2242></TD
2243></TR
2244></TABLE
2245><P
2246>Compare two nodes w.r.t document order</P
2247><P
2248></P
2249><DIV
2250CLASS="INFORMALTABLE"
2251><A
2252NAME="AEN11620"
2253></A
2254><P
2255></P
2256><TABLE
2257BORDER="0"
2258WIDTH="100%"
2259BGCOLOR="#FFD0D0"
2260CELLSPACING="0"
2261CELLPADDING="4"
2262CLASS="CALSTABLE"
2263><TBODY
2264><TR
2265><TD
2266WIDTH="20%"
2267ALIGN="RIGHT"
2268VALIGN="TOP"
2269><TT
2270CLASS="PARAMETER"
2271><I
2272>node1</I
2273></TT
2274>&nbsp;:</TD
2275><TD
2276WIDTH="80%"
2277ALIGN="LEFT"
2278VALIGN="TOP"
2279>  the first node</TD
2280></TR
2281><TR
2282><TD
2283WIDTH="20%"
2284ALIGN="RIGHT"
2285VALIGN="TOP"
2286><TT
2287CLASS="PARAMETER"
2288><I
2289>node2</I
2290></TT
2291>&nbsp;:</TD
2292><TD
2293WIDTH="80%"
2294ALIGN="LEFT"
2295VALIGN="TOP"
2296>  the second node</TD
2297></TR
2298><TR
2299><TD
2300WIDTH="20%"
2301ALIGN="RIGHT"
2302VALIGN="TOP"
2303><I
2304CLASS="EMPHASIS"
2305>Returns</I
2306> :</TD
2307><TD
2308WIDTH="80%"
2309ALIGN="LEFT"
2310VALIGN="TOP"
2311>-2 in case of error 1 if first point &lt; second point, 0 if
2312that's the same node, -1 otherwise</TD
2313></TR
2314></TBODY
2315></TABLE
2316><P
2317></P
2318></DIV
2319></DIV
2320><HR><DIV
2321CLASS="REFSECT2"
2322><A
2323NAME="AEN11637"
2324></A
2325><H3
2326><A
2327NAME="XMLXPATHCASTNUMBERTOBOOLEAN"
2328></A
2329>xmlXPathCastNumberToBoolean ()</H3
2330><TABLE
2331BORDER="0"
2332BGCOLOR="#D6E8FF"
2333WIDTH="100%"
2334CELLPADDING="6"
2335><TR
2336><TD
2337><PRE
2338CLASS="PROGRAMLISTING"
2339>int         xmlXPathCastNumberToBoolean     (<GTKDOCLINK
2340HREF="DOUBLE"
2341>double</GTKDOCLINK
2342> val);</PRE
2343></TD
2344></TR
2345></TABLE
2346><P
2347>Converts a number to its boolean value</P
2348><P
2349></P
2350><DIV
2351CLASS="INFORMALTABLE"
2352><A
2353NAME="AEN11644"
2354></A
2355><P
2356></P
2357><TABLE
2358BORDER="0"
2359WIDTH="100%"
2360BGCOLOR="#FFD0D0"
2361CELLSPACING="0"
2362CELLPADDING="4"
2363CLASS="CALSTABLE"
2364><TBODY
2365><TR
2366><TD
2367WIDTH="20%"
2368ALIGN="RIGHT"
2369VALIGN="TOP"
2370><TT
2371CLASS="PARAMETER"
2372><I
2373>val</I
2374></TT
2375>&nbsp;:</TD
2376><TD
2377WIDTH="80%"
2378ALIGN="LEFT"
2379VALIGN="TOP"
2380>  a number</TD
2381></TR
2382><TR
2383><TD
2384WIDTH="20%"
2385ALIGN="RIGHT"
2386VALIGN="TOP"
2387><I
2388CLASS="EMPHASIS"
2389>Returns</I
2390> :</TD
2391><TD
2392WIDTH="80%"
2393ALIGN="LEFT"
2394VALIGN="TOP"
2395>the boolean value</TD
2396></TR
2397></TBODY
2398></TABLE
2399><P
2400></P
2401></DIV
2402></DIV
2403><HR><DIV
2404CLASS="REFSECT2"
2405><A
2406NAME="AEN11657"
2407></A
2408><H3
2409><A
2410NAME="XMLXPATHCASTSTRINGTOBOOLEAN"
2411></A
2412>xmlXPathCastStringToBoolean ()</H3
2413><TABLE
2414BORDER="0"
2415BGCOLOR="#D6E8FF"
2416WIDTH="100%"
2417CELLPADDING="6"
2418><TR
2419><TD
2420><PRE
2421CLASS="PROGRAMLISTING"
2422>int         xmlXPathCastStringToBoolean     (const <A
2423HREF="libxml-tree.html#XMLCHAR"
2424>xmlChar</A
2425> *val);</PRE
2426></TD
2427></TR
2428></TABLE
2429><P
2430>Converts a string to its boolean value</P
2431><P
2432></P
2433><DIV
2434CLASS="INFORMALTABLE"
2435><A
2436NAME="AEN11664"
2437></A
2438><P
2439></P
2440><TABLE
2441BORDER="0"
2442WIDTH="100%"
2443BGCOLOR="#FFD0D0"
2444CELLSPACING="0"
2445CELLPADDING="4"
2446CLASS="CALSTABLE"
2447><TBODY
2448><TR
2449><TD
2450WIDTH="20%"
2451ALIGN="RIGHT"
2452VALIGN="TOP"
2453><TT
2454CLASS="PARAMETER"
2455><I
2456>val</I
2457></TT
2458>&nbsp;:</TD
2459><TD
2460WIDTH="80%"
2461ALIGN="LEFT"
2462VALIGN="TOP"
2463>  a string</TD
2464></TR
2465><TR
2466><TD
2467WIDTH="20%"
2468ALIGN="RIGHT"
2469VALIGN="TOP"
2470><I
2471CLASS="EMPHASIS"
2472>Returns</I
2473> :</TD
2474><TD
2475WIDTH="80%"
2476ALIGN="LEFT"
2477VALIGN="TOP"
2478>the boolean value</TD
2479></TR
2480></TBODY
2481></TABLE
2482><P
2483></P
2484></DIV
2485></DIV
2486><HR><DIV
2487CLASS="REFSECT2"
2488><A
2489NAME="AEN11677"
2490></A
2491><H3
2492><A
2493NAME="XMLXPATHCASTNODESETTOBOOLEAN"
2494></A
2495>xmlXPathCastNodeSetToBoolean ()</H3
2496><TABLE
2497BORDER="0"
2498BGCOLOR="#D6E8FF"
2499WIDTH="100%"
2500CELLPADDING="6"
2501><TR
2502><TD
2503><PRE
2504CLASS="PROGRAMLISTING"
2505>int         xmlXPathCastNodeSetToBoolean    (<A
2506HREF="libxml-xpath.html#XMLNODESETPTR"
2507>xmlNodeSetPtr</A
2508> ns);</PRE
2509></TD
2510></TR
2511></TABLE
2512><P
2513>Converts a node-set to its boolean value</P
2514><P
2515></P
2516><DIV
2517CLASS="INFORMALTABLE"
2518><A
2519NAME="AEN11684"
2520></A
2521><P
2522></P
2523><TABLE
2524BORDER="0"
2525WIDTH="100%"
2526BGCOLOR="#FFD0D0"
2527CELLSPACING="0"
2528CELLPADDING="4"
2529CLASS="CALSTABLE"
2530><TBODY
2531><TR
2532><TD
2533WIDTH="20%"
2534ALIGN="RIGHT"
2535VALIGN="TOP"
2536><TT
2537CLASS="PARAMETER"
2538><I
2539>ns</I
2540></TT
2541>&nbsp;:</TD
2542><TD
2543WIDTH="80%"
2544ALIGN="LEFT"
2545VALIGN="TOP"
2546>  a node-set</TD
2547></TR
2548><TR
2549><TD
2550WIDTH="20%"
2551ALIGN="RIGHT"
2552VALIGN="TOP"
2553><I
2554CLASS="EMPHASIS"
2555>Returns</I
2556> :</TD
2557><TD
2558WIDTH="80%"
2559ALIGN="LEFT"
2560VALIGN="TOP"
2561>the boolean value</TD
2562></TR
2563></TBODY
2564></TABLE
2565><P
2566></P
2567></DIV
2568></DIV
2569><HR><DIV
2570CLASS="REFSECT2"
2571><A
2572NAME="AEN11697"
2573></A
2574><H3
2575><A
2576NAME="XMLXPATHCASTTOBOOLEAN"
2577></A
2578>xmlXPathCastToBoolean ()</H3
2579><TABLE
2580BORDER="0"
2581BGCOLOR="#D6E8FF"
2582WIDTH="100%"
2583CELLPADDING="6"
2584><TR
2585><TD
2586><PRE
2587CLASS="PROGRAMLISTING"
2588>int         xmlXPathCastToBoolean           (<A
2589HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
2590>xmlXPathObjectPtr</A
2591> val);</PRE
2592></TD
2593></TR
2594></TABLE
2595><P
2596></P
2597><DIV
2598CLASS="INFORMALTABLE"
2599><A
2600NAME="AEN11703"
2601></A
2602><P
2603></P
2604><TABLE
2605BORDER="0"
2606WIDTH="100%"
2607BGCOLOR="#FFD0D0"
2608CELLSPACING="0"
2609CELLPADDING="4"
2610CLASS="CALSTABLE"
2611><TBODY
2612><TR
2613><TD
2614WIDTH="20%"
2615ALIGN="RIGHT"
2616VALIGN="TOP"
2617><TT
2618CLASS="PARAMETER"
2619><I
2620>val</I
2621></TT
2622>&nbsp;:</TD
2623><TD
2624WIDTH="80%"
2625ALIGN="LEFT"
2626VALIGN="TOP"
2627>&nbsp;</TD
2628></TR
2629><TR
2630><TD
2631WIDTH="20%"
2632ALIGN="RIGHT"
2633VALIGN="TOP"
2634><I
2635CLASS="EMPHASIS"
2636>Returns</I
2637> :</TD
2638><TD
2639WIDTH="80%"
2640ALIGN="LEFT"
2641VALIGN="TOP"
2642>&nbsp;</TD
2643></TR
2644></TBODY
2645></TABLE
2646><P
2647></P
2648></DIV
2649></DIV
2650><HR><DIV
2651CLASS="REFSECT2"
2652><A
2653NAME="AEN11716"
2654></A
2655><H3
2656><A
2657NAME="XMLXPATHCASTBOOLEANTONUMBER"
2658></A
2659>xmlXPathCastBooleanToNumber ()</H3
2660><TABLE
2661BORDER="0"
2662BGCOLOR="#D6E8FF"
2663WIDTH="100%"
2664CELLPADDING="6"
2665><TR
2666><TD
2667><PRE
2668CLASS="PROGRAMLISTING"
2669><GTKDOCLINK
2670HREF="DOUBLE"
2671>double</GTKDOCLINK
2672>      xmlXPathCastBooleanToNumber     (int val);</PRE
2673></TD
2674></TR
2675></TABLE
2676><P
2677>Converts a boolean to its number value</P
2678><P
2679></P
2680><DIV
2681CLASS="INFORMALTABLE"
2682><A
2683NAME="AEN11723"
2684></A
2685><P
2686></P
2687><TABLE
2688BORDER="0"
2689WIDTH="100%"
2690BGCOLOR="#FFD0D0"
2691CELLSPACING="0"
2692CELLPADDING="4"
2693CLASS="CALSTABLE"
2694><TBODY
2695><TR
2696><TD
2697WIDTH="20%"
2698ALIGN="RIGHT"
2699VALIGN="TOP"
2700><TT
2701CLASS="PARAMETER"
2702><I
2703>val</I
2704></TT
2705>&nbsp;:</TD
2706><TD
2707WIDTH="80%"
2708ALIGN="LEFT"
2709VALIGN="TOP"
2710>  a boolean</TD
2711></TR
2712><TR
2713><TD
2714WIDTH="20%"
2715ALIGN="RIGHT"
2716VALIGN="TOP"
2717><I
2718CLASS="EMPHASIS"
2719>Returns</I
2720> :</TD
2721><TD
2722WIDTH="80%"
2723ALIGN="LEFT"
2724VALIGN="TOP"
2725>the number value</TD
2726></TR
2727></TBODY
2728></TABLE
2729><P
2730></P
2731></DIV
2732></DIV
2733><HR><DIV
2734CLASS="REFSECT2"
2735><A
2736NAME="AEN11736"
2737></A
2738><H3
2739><A
2740NAME="XMLXPATHCASTSTRINGTONUMBER"
2741></A
2742>xmlXPathCastStringToNumber ()</H3
2743><TABLE
2744BORDER="0"
2745BGCOLOR="#D6E8FF"
2746WIDTH="100%"
2747CELLPADDING="6"
2748><TR
2749><TD
2750><PRE
2751CLASS="PROGRAMLISTING"
2752><GTKDOCLINK
2753HREF="DOUBLE"
2754>double</GTKDOCLINK
2755>      xmlXPathCastStringToNumber      (const <A
2756HREF="libxml-tree.html#XMLCHAR"
2757>xmlChar</A
2758> *val);</PRE
2759></TD
2760></TR
2761></TABLE
2762><P
2763>Converts a string to its number value</P
2764><P
2765></P
2766><DIV
2767CLASS="INFORMALTABLE"
2768><A
2769NAME="AEN11744"
2770></A
2771><P
2772></P
2773><TABLE
2774BORDER="0"
2775WIDTH="100%"
2776BGCOLOR="#FFD0D0"
2777CELLSPACING="0"
2778CELLPADDING="4"
2779CLASS="CALSTABLE"
2780><TBODY
2781><TR
2782><TD
2783WIDTH="20%"
2784ALIGN="RIGHT"
2785VALIGN="TOP"
2786><TT
2787CLASS="PARAMETER"
2788><I
2789>val</I
2790></TT
2791>&nbsp;:</TD
2792><TD
2793WIDTH="80%"
2794ALIGN="LEFT"
2795VALIGN="TOP"
2796>  a string</TD
2797></TR
2798><TR
2799><TD
2800WIDTH="20%"
2801ALIGN="RIGHT"
2802VALIGN="TOP"
2803><I
2804CLASS="EMPHASIS"
2805>Returns</I
2806> :</TD
2807><TD
2808WIDTH="80%"
2809ALIGN="LEFT"
2810VALIGN="TOP"
2811>the number value</TD
2812></TR
2813></TBODY
2814></TABLE
2815><P
2816></P
2817></DIV
2818></DIV
2819><HR><DIV
2820CLASS="REFSECT2"
2821><A
2822NAME="AEN11757"
2823></A
2824><H3
2825><A
2826NAME="XMLXPATHCASTNODETONUMBER"
2827></A
2828>xmlXPathCastNodeToNumber ()</H3
2829><TABLE
2830BORDER="0"
2831BGCOLOR="#D6E8FF"
2832WIDTH="100%"
2833CELLPADDING="6"
2834><TR
2835><TD
2836><PRE
2837CLASS="PROGRAMLISTING"
2838><GTKDOCLINK
2839HREF="DOUBLE"
2840>double</GTKDOCLINK
2841>      xmlXPathCastNodeToNumber        (<A
2842HREF="libxml-tree.html#XMLNODEPTR"
2843>xmlNodePtr</A
2844> node);</PRE
2845></TD
2846></TR
2847></TABLE
2848><P
2849>Converts a node to its number value</P
2850><P
2851></P
2852><DIV
2853CLASS="INFORMALTABLE"
2854><A
2855NAME="AEN11765"
2856></A
2857><P
2858></P
2859><TABLE
2860BORDER="0"
2861WIDTH="100%"
2862BGCOLOR="#FFD0D0"
2863CELLSPACING="0"
2864CELLPADDING="4"
2865CLASS="CALSTABLE"
2866><TBODY
2867><TR
2868><TD
2869WIDTH="20%"
2870ALIGN="RIGHT"
2871VALIGN="TOP"
2872><TT
2873CLASS="PARAMETER"
2874><I
2875>node</I
2876></TT
2877>&nbsp;:</TD
2878><TD
2879WIDTH="80%"
2880ALIGN="LEFT"
2881VALIGN="TOP"
2882>  a node</TD
2883></TR
2884><TR
2885><TD
2886WIDTH="20%"
2887ALIGN="RIGHT"
2888VALIGN="TOP"
2889><I
2890CLASS="EMPHASIS"
2891>Returns</I
2892> :</TD
2893><TD
2894WIDTH="80%"
2895ALIGN="LEFT"
2896VALIGN="TOP"
2897>the number value</TD
2898></TR
2899></TBODY
2900></TABLE
2901><P
2902></P
2903></DIV
2904></DIV
2905><HR><DIV
2906CLASS="REFSECT2"
2907><A
2908NAME="AEN11778"
2909></A
2910><H3
2911><A
2912NAME="XMLXPATHCASTNODESETTONUMBER"
2913></A
2914>xmlXPathCastNodeSetToNumber ()</H3
2915><TABLE
2916BORDER="0"
2917BGCOLOR="#D6E8FF"
2918WIDTH="100%"
2919CELLPADDING="6"
2920><TR
2921><TD
2922><PRE
2923CLASS="PROGRAMLISTING"
2924><GTKDOCLINK
2925HREF="DOUBLE"
2926>double</GTKDOCLINK
2927>      xmlXPathCastNodeSetToNumber     (<A
2928HREF="libxml-xpath.html#XMLNODESETPTR"
2929>xmlNodeSetPtr</A
2930> ns);</PRE
2931></TD
2932></TR
2933></TABLE
2934><P
2935>Converts a node-set to its number value</P
2936><P
2937></P
2938><DIV
2939CLASS="INFORMALTABLE"
2940><A
2941NAME="AEN11786"
2942></A
2943><P
2944></P
2945><TABLE
2946BORDER="0"
2947WIDTH="100%"
2948BGCOLOR="#FFD0D0"
2949CELLSPACING="0"
2950CELLPADDING="4"
2951CLASS="CALSTABLE"
2952><TBODY
2953><TR
2954><TD
2955WIDTH="20%"
2956ALIGN="RIGHT"
2957VALIGN="TOP"
2958><TT
2959CLASS="PARAMETER"
2960><I
2961>ns</I
2962></TT
2963>&nbsp;:</TD
2964><TD
2965WIDTH="80%"
2966ALIGN="LEFT"
2967VALIGN="TOP"
2968>  a node-set</TD
2969></TR
2970><TR
2971><TD
2972WIDTH="20%"
2973ALIGN="RIGHT"
2974VALIGN="TOP"
2975><I
2976CLASS="EMPHASIS"
2977>Returns</I
2978> :</TD
2979><TD
2980WIDTH="80%"
2981ALIGN="LEFT"
2982VALIGN="TOP"
2983>the number value</TD
2984></TR
2985></TBODY
2986></TABLE
2987><P
2988></P
2989></DIV
2990></DIV
2991><HR><DIV
2992CLASS="REFSECT2"
2993><A
2994NAME="AEN11799"
2995></A
2996><H3
2997><A
2998NAME="XMLXPATHCASTTONUMBER"
2999></A
3000>xmlXPathCastToNumber ()</H3
3001><TABLE
3002BORDER="0"
3003BGCOLOR="#D6E8FF"
3004WIDTH="100%"
3005CELLPADDING="6"
3006><TR
3007><TD
3008><PRE
3009CLASS="PROGRAMLISTING"
3010><GTKDOCLINK
3011HREF="DOUBLE"
3012>double</GTKDOCLINK
3013>      xmlXPathCastToNumber            (<A
3014HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
3015>xmlXPathObjectPtr</A
3016> val);</PRE
3017></TD
3018></TR
3019></TABLE
3020><P
3021>Converts an XPath object to its number value</P
3022><P
3023></P
3024><DIV
3025CLASS="INFORMALTABLE"
3026><A
3027NAME="AEN11807"
3028></A
3029><P
3030></P
3031><TABLE
3032BORDER="0"
3033WIDTH="100%"
3034BGCOLOR="#FFD0D0"
3035CELLSPACING="0"
3036CELLPADDING="4"
3037CLASS="CALSTABLE"
3038><TBODY
3039><TR
3040><TD
3041WIDTH="20%"
3042ALIGN="RIGHT"
3043VALIGN="TOP"
3044><TT
3045CLASS="PARAMETER"
3046><I
3047>val</I
3048></TT
3049>&nbsp;:</TD
3050><TD
3051WIDTH="80%"
3052ALIGN="LEFT"
3053VALIGN="TOP"
3054>  an XPath object</TD
3055></TR
3056><TR
3057><TD
3058WIDTH="20%"
3059ALIGN="RIGHT"
3060VALIGN="TOP"
3061><I
3062CLASS="EMPHASIS"
3063>Returns</I
3064> :</TD
3065><TD
3066WIDTH="80%"
3067ALIGN="LEFT"
3068VALIGN="TOP"
3069>the number value</TD
3070></TR
3071></TBODY
3072></TABLE
3073><P
3074></P
3075></DIV
3076></DIV
3077><HR><DIV
3078CLASS="REFSECT2"
3079><A
3080NAME="AEN11820"
3081></A
3082><H3
3083><A
3084NAME="XMLXPATHCASTBOOLEANTOSTRING"
3085></A
3086>xmlXPathCastBooleanToString ()</H3
3087><TABLE
3088BORDER="0"
3089BGCOLOR="#D6E8FF"
3090WIDTH="100%"
3091CELLPADDING="6"
3092><TR
3093><TD
3094><PRE
3095CLASS="PROGRAMLISTING"
3096><A
3097HREF="libxml-tree.html#XMLCHAR"
3098>xmlChar</A
3099>*    xmlXPathCastBooleanToString     (int val);</PRE
3100></TD
3101></TR
3102></TABLE
3103><P
3104>Converts a boolean to its string value.</P
3105><P
3106></P
3107><DIV
3108CLASS="INFORMALTABLE"
3109><A
3110NAME="AEN11827"
3111></A
3112><P
3113></P
3114><TABLE
3115BORDER="0"
3116WIDTH="100%"
3117BGCOLOR="#FFD0D0"
3118CELLSPACING="0"
3119CELLPADDING="4"
3120CLASS="CALSTABLE"
3121><TBODY
3122><TR
3123><TD
3124WIDTH="20%"
3125ALIGN="RIGHT"
3126VALIGN="TOP"
3127><TT
3128CLASS="PARAMETER"
3129><I
3130>val</I
3131></TT
3132>&nbsp;:</TD
3133><TD
3134WIDTH="80%"
3135ALIGN="LEFT"
3136VALIGN="TOP"
3137>  a boolean</TD
3138></TR
3139><TR
3140><TD
3141WIDTH="20%"
3142ALIGN="RIGHT"
3143VALIGN="TOP"
3144><I
3145CLASS="EMPHASIS"
3146>Returns</I
3147> :</TD
3148><TD
3149WIDTH="80%"
3150ALIGN="LEFT"
3151VALIGN="TOP"
3152>a newly allocated string.</TD
3153></TR
3154></TBODY
3155></TABLE
3156><P
3157></P
3158></DIV
3159></DIV
3160><HR><DIV
3161CLASS="REFSECT2"
3162><A
3163NAME="AEN11840"
3164></A
3165><H3
3166><A
3167NAME="XMLXPATHCASTNUMBERTOSTRING"
3168></A
3169>xmlXPathCastNumberToString ()</H3
3170><TABLE
3171BORDER="0"
3172BGCOLOR="#D6E8FF"
3173WIDTH="100%"
3174CELLPADDING="6"
3175><TR
3176><TD
3177><PRE
3178CLASS="PROGRAMLISTING"
3179><A
3180HREF="libxml-tree.html#XMLCHAR"
3181>xmlChar</A
3182>*    xmlXPathCastNumberToString      (<GTKDOCLINK
3183HREF="DOUBLE"
3184>double</GTKDOCLINK
3185> val);</PRE
3186></TD
3187></TR
3188></TABLE
3189><P
3190>Converts a number to its string value.</P
3191><P
3192></P
3193><DIV
3194CLASS="INFORMALTABLE"
3195><A
3196NAME="AEN11848"
3197></A
3198><P
3199></P
3200><TABLE
3201BORDER="0"
3202WIDTH="100%"
3203BGCOLOR="#FFD0D0"
3204CELLSPACING="0"
3205CELLPADDING="4"
3206CLASS="CALSTABLE"
3207><TBODY
3208><TR
3209><TD
3210WIDTH="20%"
3211ALIGN="RIGHT"
3212VALIGN="TOP"
3213><TT
3214CLASS="PARAMETER"
3215><I
3216>val</I
3217></TT
3218>&nbsp;:</TD
3219><TD
3220WIDTH="80%"
3221ALIGN="LEFT"
3222VALIGN="TOP"
3223>  a number</TD
3224></TR
3225><TR
3226><TD
3227WIDTH="20%"
3228ALIGN="RIGHT"
3229VALIGN="TOP"
3230><I
3231CLASS="EMPHASIS"
3232>Returns</I
3233> :</TD
3234><TD
3235WIDTH="80%"
3236ALIGN="LEFT"
3237VALIGN="TOP"
3238>a newly allocated string.</TD
3239></TR
3240></TBODY
3241></TABLE
3242><P
3243></P
3244></DIV
3245></DIV
3246><HR><DIV
3247CLASS="REFSECT2"
3248><A
3249NAME="AEN11861"
3250></A
3251><H3
3252><A
3253NAME="XMLXPATHCASTNODETOSTRING"
3254></A
3255>xmlXPathCastNodeToString ()</H3
3256><TABLE
3257BORDER="0"
3258BGCOLOR="#D6E8FF"
3259WIDTH="100%"
3260CELLPADDING="6"
3261><TR
3262><TD
3263><PRE
3264CLASS="PROGRAMLISTING"
3265><A
3266HREF="libxml-tree.html#XMLCHAR"
3267>xmlChar</A
3268>*    xmlXPathCastNodeToString        (<A
3269HREF="libxml-tree.html#XMLNODEPTR"
3270>xmlNodePtr</A
3271> node);</PRE
3272></TD
3273></TR
3274></TABLE
3275><P
3276>Converts a node to its string value.</P
3277><P
3278></P
3279><DIV
3280CLASS="INFORMALTABLE"
3281><A
3282NAME="AEN11869"
3283></A
3284><P
3285></P
3286><TABLE
3287BORDER="0"
3288WIDTH="100%"
3289BGCOLOR="#FFD0D0"
3290CELLSPACING="0"
3291CELLPADDING="4"
3292CLASS="CALSTABLE"
3293><TBODY
3294><TR
3295><TD
3296WIDTH="20%"
3297ALIGN="RIGHT"
3298VALIGN="TOP"
3299><TT
3300CLASS="PARAMETER"
3301><I
3302>node</I
3303></TT
3304>&nbsp;:</TD
3305><TD
3306WIDTH="80%"
3307ALIGN="LEFT"
3308VALIGN="TOP"
3309>  a node</TD
3310></TR
3311><TR
3312><TD
3313WIDTH="20%"
3314ALIGN="RIGHT"
3315VALIGN="TOP"
3316><I
3317CLASS="EMPHASIS"
3318>Returns</I
3319> :</TD
3320><TD
3321WIDTH="80%"
3322ALIGN="LEFT"
3323VALIGN="TOP"
3324>a newly allocated string.</TD
3325></TR
3326></TBODY
3327></TABLE
3328><P
3329></P
3330></DIV
3331></DIV
3332><HR><DIV
3333CLASS="REFSECT2"
3334><A
3335NAME="AEN11882"
3336></A
3337><H3
3338><A
3339NAME="XMLXPATHCASTNODESETTOSTRING"
3340></A
3341>xmlXPathCastNodeSetToString ()</H3
3342><TABLE
3343BORDER="0"
3344BGCOLOR="#D6E8FF"
3345WIDTH="100%"
3346CELLPADDING="6"
3347><TR
3348><TD
3349><PRE
3350CLASS="PROGRAMLISTING"
3351><A
3352HREF="libxml-tree.html#XMLCHAR"
3353>xmlChar</A
3354>*    xmlXPathCastNodeSetToString     (<A
3355HREF="libxml-xpath.html#XMLNODESETPTR"
3356>xmlNodeSetPtr</A
3357> ns);</PRE
3358></TD
3359></TR
3360></TABLE
3361><P
3362>Converts a node-set to its string value.</P
3363><P
3364></P
3365><DIV
3366CLASS="INFORMALTABLE"
3367><A
3368NAME="AEN11890"
3369></A
3370><P
3371></P
3372><TABLE
3373BORDER="0"
3374WIDTH="100%"
3375BGCOLOR="#FFD0D0"
3376CELLSPACING="0"
3377CELLPADDING="4"
3378CLASS="CALSTABLE"
3379><TBODY
3380><TR
3381><TD
3382WIDTH="20%"
3383ALIGN="RIGHT"
3384VALIGN="TOP"
3385><TT
3386CLASS="PARAMETER"
3387><I
3388>ns</I
3389></TT
3390>&nbsp;:</TD
3391><TD
3392WIDTH="80%"
3393ALIGN="LEFT"
3394VALIGN="TOP"
3395>  a node-set</TD
3396></TR
3397><TR
3398><TD
3399WIDTH="20%"
3400ALIGN="RIGHT"
3401VALIGN="TOP"
3402><I
3403CLASS="EMPHASIS"
3404>Returns</I
3405> :</TD
3406><TD
3407WIDTH="80%"
3408ALIGN="LEFT"
3409VALIGN="TOP"
3410>a newly allocated string.</TD
3411></TR
3412></TBODY
3413></TABLE
3414><P
3415></P
3416></DIV
3417></DIV
3418><HR><DIV
3419CLASS="REFSECT2"
3420><A
3421NAME="AEN11903"
3422></A
3423><H3
3424><A
3425NAME="XMLXPATHCASTTOSTRING"
3426></A
3427>xmlXPathCastToString ()</H3
3428><TABLE
3429BORDER="0"
3430BGCOLOR="#D6E8FF"
3431WIDTH="100%"
3432CELLPADDING="6"
3433><TR
3434><TD
3435><PRE
3436CLASS="PROGRAMLISTING"
3437><A
3438HREF="libxml-tree.html#XMLCHAR"
3439>xmlChar</A
3440>*    xmlXPathCastToString            (<A
3441HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
3442>xmlXPathObjectPtr</A
3443> val);</PRE
3444></TD
3445></TR
3446></TABLE
3447><P
3448>Converts an existing object to its <GTKDOCLINK
3449HREF="STRING"
3450>string</GTKDOCLINK
3451>() equivalent</P
3452><P
3453></P
3454><DIV
3455CLASS="INFORMALTABLE"
3456><A
3457NAME="AEN11912"
3458></A
3459><P
3460></P
3461><TABLE
3462BORDER="0"
3463WIDTH="100%"
3464BGCOLOR="#FFD0D0"
3465CELLSPACING="0"
3466CELLPADDING="4"
3467CLASS="CALSTABLE"
3468><TBODY
3469><TR
3470><TD
3471WIDTH="20%"
3472ALIGN="RIGHT"
3473VALIGN="TOP"
3474><TT
3475CLASS="PARAMETER"
3476><I
3477>val</I
3478></TT
3479>&nbsp;:</TD
3480><TD
3481WIDTH="80%"
3482ALIGN="LEFT"
3483VALIGN="TOP"
3484>  an XPath object</TD
3485></TR
3486><TR
3487><TD
3488WIDTH="20%"
3489ALIGN="RIGHT"
3490VALIGN="TOP"
3491><I
3492CLASS="EMPHASIS"
3493>Returns</I
3494> :</TD
3495><TD
3496WIDTH="80%"
3497ALIGN="LEFT"
3498VALIGN="TOP"
3499>the string value of the object, NULL in case of error.
3500A new string is allocated only if needed (val isn't a
3501string object).</TD
3502></TR
3503></TBODY
3504></TABLE
3505><P
3506></P
3507></DIV
3508></DIV
3509><HR><DIV
3510CLASS="REFSECT2"
3511><A
3512NAME="AEN11925"
3513></A
3514><H3
3515><A
3516NAME="XMLXPATHCONVERTBOOLEAN"
3517></A
3518>xmlXPathConvertBoolean ()</H3
3519><TABLE
3520BORDER="0"
3521BGCOLOR="#D6E8FF"
3522WIDTH="100%"
3523CELLPADDING="6"
3524><TR
3525><TD
3526><PRE
3527CLASS="PROGRAMLISTING"
3528><A
3529HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
3530>xmlXPathObjectPtr</A
3531> xmlXPathConvertBoolean    (<A
3532HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
3533>xmlXPathObjectPtr</A
3534> val);</PRE
3535></TD
3536></TR
3537></TABLE
3538><P
3539>Converts an existing object to its <GTKDOCLINK
3540HREF="BOOLEAN"
3541>boolean</GTKDOCLINK
3542>() equivalent</P
3543><P
3544></P
3545><DIV
3546CLASS="INFORMALTABLE"
3547><A
3548NAME="AEN11934"
3549></A
3550><P
3551></P
3552><TABLE
3553BORDER="0"
3554WIDTH="100%"
3555BGCOLOR="#FFD0D0"
3556CELLSPACING="0"
3557CELLPADDING="4"
3558CLASS="CALSTABLE"
3559><TBODY
3560><TR
3561><TD
3562WIDTH="20%"
3563ALIGN="RIGHT"
3564VALIGN="TOP"
3565><TT
3566CLASS="PARAMETER"
3567><I
3568>val</I
3569></TT
3570>&nbsp;:</TD
3571><TD
3572WIDTH="80%"
3573ALIGN="LEFT"
3574VALIGN="TOP"
3575>  an XPath object</TD
3576></TR
3577><TR
3578><TD
3579WIDTH="20%"
3580ALIGN="RIGHT"
3581VALIGN="TOP"
3582><I
3583CLASS="EMPHASIS"
3584>Returns</I
3585> :</TD
3586><TD
3587WIDTH="80%"
3588ALIGN="LEFT"
3589VALIGN="TOP"
3590>the new object, the old one is freed (or the operation
3591is done directly on <TT
3592CLASS="PARAMETER"
3593><I
3594>val</I
3595></TT
3596>)</TD
3597></TR
3598></TBODY
3599></TABLE
3600><P
3601></P
3602></DIV
3603></DIV
3604><HR><DIV
3605CLASS="REFSECT2"
3606><A
3607NAME="AEN11948"
3608></A
3609><H3
3610><A
3611NAME="XMLXPATHCONVERTNUMBER"
3612></A
3613>xmlXPathConvertNumber ()</H3
3614><TABLE
3615BORDER="0"
3616BGCOLOR="#D6E8FF"
3617WIDTH="100%"
3618CELLPADDING="6"
3619><TR
3620><TD
3621><PRE
3622CLASS="PROGRAMLISTING"
3623><A
3624HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
3625>xmlXPathObjectPtr</A
3626> xmlXPathConvertNumber     (<A
3627HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
3628>xmlXPathObjectPtr</A
3629> val);</PRE
3630></TD
3631></TR
3632></TABLE
3633><P
3634>Converts an existing object to its <GTKDOCLINK
3635HREF="NUMBER"
3636>number</GTKDOCLINK
3637>() equivalent</P
3638><P
3639></P
3640><DIV
3641CLASS="INFORMALTABLE"
3642><A
3643NAME="AEN11957"
3644></A
3645><P
3646></P
3647><TABLE
3648BORDER="0"
3649WIDTH="100%"
3650BGCOLOR="#FFD0D0"
3651CELLSPACING="0"
3652CELLPADDING="4"
3653CLASS="CALSTABLE"
3654><TBODY
3655><TR
3656><TD
3657WIDTH="20%"
3658ALIGN="RIGHT"
3659VALIGN="TOP"
3660><TT
3661CLASS="PARAMETER"
3662><I
3663>val</I
3664></TT
3665>&nbsp;:</TD
3666><TD
3667WIDTH="80%"
3668ALIGN="LEFT"
3669VALIGN="TOP"
3670>  an XPath object</TD
3671></TR
3672><TR
3673><TD
3674WIDTH="20%"
3675ALIGN="RIGHT"
3676VALIGN="TOP"
3677><I
3678CLASS="EMPHASIS"
3679>Returns</I
3680> :</TD
3681><TD
3682WIDTH="80%"
3683ALIGN="LEFT"
3684VALIGN="TOP"
3685>the new object, the old one is freed (or the operation
3686is done directly on <TT
3687CLASS="PARAMETER"
3688><I
3689>val</I
3690></TT
3691>)</TD
3692></TR
3693></TBODY
3694></TABLE
3695><P
3696></P
3697></DIV
3698></DIV
3699><HR><DIV
3700CLASS="REFSECT2"
3701><A
3702NAME="AEN11971"
3703></A
3704><H3
3705><A
3706NAME="XMLXPATHCONVERTSTRING"
3707></A
3708>xmlXPathConvertString ()</H3
3709><TABLE
3710BORDER="0"
3711BGCOLOR="#D6E8FF"
3712WIDTH="100%"
3713CELLPADDING="6"
3714><TR
3715><TD
3716><PRE
3717CLASS="PROGRAMLISTING"
3718><A
3719HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
3720>xmlXPathObjectPtr</A
3721> xmlXPathConvertString     (<A
3722HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
3723>xmlXPathObjectPtr</A
3724> val);</PRE
3725></TD
3726></TR
3727></TABLE
3728><P
3729>Converts an existing object to its <GTKDOCLINK
3730HREF="STRING"
3731>string</GTKDOCLINK
3732>() equivalent</P
3733><P
3734></P
3735><DIV
3736CLASS="INFORMALTABLE"
3737><A
3738NAME="AEN11980"
3739></A
3740><P
3741></P
3742><TABLE
3743BORDER="0"
3744WIDTH="100%"
3745BGCOLOR="#FFD0D0"
3746CELLSPACING="0"
3747CELLPADDING="4"
3748CLASS="CALSTABLE"
3749><TBODY
3750><TR
3751><TD
3752WIDTH="20%"
3753ALIGN="RIGHT"
3754VALIGN="TOP"
3755><TT
3756CLASS="PARAMETER"
3757><I
3758>val</I
3759></TT
3760>&nbsp;:</TD
3761><TD
3762WIDTH="80%"
3763ALIGN="LEFT"
3764VALIGN="TOP"
3765>  an XPath object</TD
3766></TR
3767><TR
3768><TD
3769WIDTH="20%"
3770ALIGN="RIGHT"
3771VALIGN="TOP"
3772><I
3773CLASS="EMPHASIS"
3774>Returns</I
3775> :</TD
3776><TD
3777WIDTH="80%"
3778ALIGN="LEFT"
3779VALIGN="TOP"
3780>the new object, the old one is freed (or the operation
3781is done directly on <TT
3782CLASS="PARAMETER"
3783><I
3784>val</I
3785></TT
3786>)</TD
3787></TR
3788></TBODY
3789></TABLE
3790><P
3791></P
3792></DIV
3793></DIV
3794><HR><DIV
3795CLASS="REFSECT2"
3796><A
3797NAME="AEN11994"
3798></A
3799><H3
3800><A
3801NAME="XMLXPATHINIT"
3802></A
3803>xmlXPathInit ()</H3
3804><TABLE
3805BORDER="0"
3806BGCOLOR="#D6E8FF"
3807WIDTH="100%"
3808CELLPADDING="6"
3809><TR
3810><TD
3811><PRE
3812CLASS="PROGRAMLISTING"
3813>void        xmlXPathInit                    (void);</PRE
3814></TD
3815></TR
3816></TABLE
3817><P
3818>Initialize the XPath environment</P
3819><P
3820></P
3821></DIV
3822><HR><DIV
3823CLASS="REFSECT2"
3824><A
3825NAME="AEN12000"
3826></A
3827><H3
3828><A
3829NAME="XMLXPATHNEWCONTEXT"
3830></A
3831>xmlXPathNewContext ()</H3
3832><TABLE
3833BORDER="0"
3834BGCOLOR="#D6E8FF"
3835WIDTH="100%"
3836CELLPADDING="6"
3837><TR
3838><TD
3839><PRE
3840CLASS="PROGRAMLISTING"
3841><A
3842HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
3843>xmlXPathContextPtr</A
3844> xmlXPathNewContext       (<A
3845HREF="libxml-tree.html#XMLDOCPTR"
3846>xmlDocPtr</A
3847> doc);</PRE
3848></TD
3849></TR
3850></TABLE
3851><P
3852>Create a new xmlXPathContext</P
3853><P
3854></P
3855><DIV
3856CLASS="INFORMALTABLE"
3857><A
3858NAME="AEN12008"
3859></A
3860><P
3861></P
3862><TABLE
3863BORDER="0"
3864WIDTH="100%"
3865BGCOLOR="#FFD0D0"
3866CELLSPACING="0"
3867CELLPADDING="4"
3868CLASS="CALSTABLE"
3869><TBODY
3870><TR
3871><TD
3872WIDTH="20%"
3873ALIGN="RIGHT"
3874VALIGN="TOP"
3875><TT
3876CLASS="PARAMETER"
3877><I
3878>doc</I
3879></TT
3880>&nbsp;:</TD
3881><TD
3882WIDTH="80%"
3883ALIGN="LEFT"
3884VALIGN="TOP"
3885>  the XML document</TD
3886></TR
3887><TR
3888><TD
3889WIDTH="20%"
3890ALIGN="RIGHT"
3891VALIGN="TOP"
3892><I
3893CLASS="EMPHASIS"
3894>Returns</I
3895> :</TD
3896><TD
3897WIDTH="80%"
3898ALIGN="LEFT"
3899VALIGN="TOP"
3900>the xmlXPathContext just allocated.</TD
3901></TR
3902></TBODY
3903></TABLE
3904><P
3905></P
3906></DIV
3907></DIV
3908><HR><DIV
3909CLASS="REFSECT2"
3910><A
3911NAME="AEN12021"
3912></A
3913><H3
3914><A
3915NAME="XMLXPATHFREECONTEXT"
3916></A
3917>xmlXPathFreeContext ()</H3
3918><TABLE
3919BORDER="0"
3920BGCOLOR="#D6E8FF"
3921WIDTH="100%"
3922CELLPADDING="6"
3923><TR
3924><TD
3925><PRE
3926CLASS="PROGRAMLISTING"
3927>void        xmlXPathFreeContext             (<A
3928HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
3929>xmlXPathContextPtr</A
3930> ctxt);</PRE
3931></TD
3932></TR
3933></TABLE
3934><P
3935>Free up an xmlXPathContext</P
3936><P
3937></P
3938><DIV
3939CLASS="INFORMALTABLE"
3940><A
3941NAME="AEN12028"
3942></A
3943><P
3944></P
3945><TABLE
3946BORDER="0"
3947WIDTH="100%"
3948BGCOLOR="#FFD0D0"
3949CELLSPACING="0"
3950CELLPADDING="4"
3951CLASS="CALSTABLE"
3952><TBODY
3953><TR
3954><TD
3955WIDTH="20%"
3956ALIGN="RIGHT"
3957VALIGN="TOP"
3958><TT
3959CLASS="PARAMETER"
3960><I
3961>ctxt</I
3962></TT
3963>&nbsp;:</TD
3964><TD
3965WIDTH="80%"
3966ALIGN="LEFT"
3967VALIGN="TOP"
3968>  the context to free</TD
3969></TR
3970></TBODY
3971></TABLE
3972><P
3973></P
3974></DIV
3975></DIV
3976><HR><DIV
3977CLASS="REFSECT2"
3978><A
3979NAME="AEN12037"
3980></A
3981><H3
3982><A
3983NAME="XMLXPATHEVAL"
3984></A
3985>xmlXPathEval ()</H3
3986><TABLE
3987BORDER="0"
3988BGCOLOR="#D6E8FF"
3989WIDTH="100%"
3990CELLPADDING="6"
3991><TR
3992><TD
3993><PRE
3994CLASS="PROGRAMLISTING"
3995><A
3996HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
3997>xmlXPathObjectPtr</A
3998> xmlXPathEval              (const <A
3999HREF="libxml-tree.html#XMLCHAR"
4000>xmlChar</A
4001> *str,
4002                                             <A
4003HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
4004>xmlXPathContextPtr</A
4005> ctxt);</PRE
4006></TD
4007></TR
4008></TABLE
4009><P
4010>Evaluate the XPath Location Path in the given context.</P
4011><P
4012></P
4013><DIV
4014CLASS="INFORMALTABLE"
4015><A
4016NAME="AEN12046"
4017></A
4018><P
4019></P
4020><TABLE
4021BORDER="0"
4022WIDTH="100%"
4023BGCOLOR="#FFD0D0"
4024CELLSPACING="0"
4025CELLPADDING="4"
4026CLASS="CALSTABLE"
4027><TBODY
4028><TR
4029><TD
4030WIDTH="20%"
4031ALIGN="RIGHT"
4032VALIGN="TOP"
4033><TT
4034CLASS="PARAMETER"
4035><I
4036>str</I
4037></TT
4038>&nbsp;:</TD
4039><TD
4040WIDTH="80%"
4041ALIGN="LEFT"
4042VALIGN="TOP"
4043>  the XPath expression</TD
4044></TR
4045><TR
4046><TD
4047WIDTH="20%"
4048ALIGN="RIGHT"
4049VALIGN="TOP"
4050><TT
4051CLASS="PARAMETER"
4052><I
4053>ctxt</I
4054></TT
4055>&nbsp;:</TD
4056><TD
4057WIDTH="80%"
4058ALIGN="LEFT"
4059VALIGN="TOP"
4060>&nbsp;</TD
4061></TR
4062><TR
4063><TD
4064WIDTH="20%"
4065ALIGN="RIGHT"
4066VALIGN="TOP"
4067><I
4068CLASS="EMPHASIS"
4069>Returns</I
4070> :</TD
4071><TD
4072WIDTH="80%"
4073ALIGN="LEFT"
4074VALIGN="TOP"
4075>the xmlXPathObjectPtr resulting from the eveluation or NULL.
4076the caller has to free the object.</TD
4077></TR
4078></TBODY
4079></TABLE
4080><P
4081></P
4082></DIV
4083></DIV
4084><HR><DIV
4085CLASS="REFSECT2"
4086><A
4087NAME="AEN12063"
4088></A
4089><H3
4090><A
4091NAME="XMLXPATHEVALXPTREXPR"
4092></A
4093>xmlXPathEvalXPtrExpr ()</H3
4094><TABLE
4095BORDER="0"
4096BGCOLOR="#D6E8FF"
4097WIDTH="100%"
4098CELLPADDING="6"
4099><TR
4100><TD
4101><PRE
4102CLASS="PROGRAMLISTING"
4103><A
4104HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
4105>xmlXPathObjectPtr</A
4106> xmlXPathEvalXPtrExpr      (const <A
4107HREF="libxml-tree.html#XMLCHAR"
4108>xmlChar</A
4109> *str,
4110                                             <A
4111HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
4112>xmlXPathContextPtr</A
4113> ctxt);</PRE
4114></TD
4115></TR
4116></TABLE
4117><P
4118></P
4119><DIV
4120CLASS="INFORMALTABLE"
4121><A
4122NAME="AEN12071"
4123></A
4124><P
4125></P
4126><TABLE
4127BORDER="0"
4128WIDTH="100%"
4129BGCOLOR="#FFD0D0"
4130CELLSPACING="0"
4131CELLPADDING="4"
4132CLASS="CALSTABLE"
4133><TBODY
4134><TR
4135><TD
4136WIDTH="20%"
4137ALIGN="RIGHT"
4138VALIGN="TOP"
4139><TT
4140CLASS="PARAMETER"
4141><I
4142>str</I
4143></TT
4144>&nbsp;:</TD
4145><TD
4146WIDTH="80%"
4147ALIGN="LEFT"
4148VALIGN="TOP"
4149>&nbsp;</TD
4150></TR
4151><TR
4152><TD
4153WIDTH="20%"
4154ALIGN="RIGHT"
4155VALIGN="TOP"
4156><TT
4157CLASS="PARAMETER"
4158><I
4159>ctxt</I
4160></TT
4161>&nbsp;:</TD
4162><TD
4163WIDTH="80%"
4164ALIGN="LEFT"
4165VALIGN="TOP"
4166>&nbsp;</TD
4167></TR
4168><TR
4169><TD
4170WIDTH="20%"
4171ALIGN="RIGHT"
4172VALIGN="TOP"
4173><I
4174CLASS="EMPHASIS"
4175>Returns</I
4176> :</TD
4177><TD
4178WIDTH="80%"
4179ALIGN="LEFT"
4180VALIGN="TOP"
4181>&nbsp;</TD
4182></TR
4183></TBODY
4184></TABLE
4185><P
4186></P
4187></DIV
4188></DIV
4189><HR><DIV
4190CLASS="REFSECT2"
4191><A
4192NAME="AEN12088"
4193></A
4194><H3
4195><A
4196NAME="XMLXPATHEVALEXPRESSION"
4197></A
4198>xmlXPathEvalExpression ()</H3
4199><TABLE
4200BORDER="0"
4201BGCOLOR="#D6E8FF"
4202WIDTH="100%"
4203CELLPADDING="6"
4204><TR
4205><TD
4206><PRE
4207CLASS="PROGRAMLISTING"
4208><A
4209HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
4210>xmlXPathObjectPtr</A
4211> xmlXPathEvalExpression    (const <A
4212HREF="libxml-tree.html#XMLCHAR"
4213>xmlChar</A
4214> *str,
4215                                             <A
4216HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
4217>xmlXPathContextPtr</A
4218> ctxt);</PRE
4219></TD
4220></TR
4221></TABLE
4222><P
4223>Evaluate the XPath expression in the given context.</P
4224><P
4225></P
4226><DIV
4227CLASS="INFORMALTABLE"
4228><A
4229NAME="AEN12097"
4230></A
4231><P
4232></P
4233><TABLE
4234BORDER="0"
4235WIDTH="100%"
4236BGCOLOR="#FFD0D0"
4237CELLSPACING="0"
4238CELLPADDING="4"
4239CLASS="CALSTABLE"
4240><TBODY
4241><TR
4242><TD
4243WIDTH="20%"
4244ALIGN="RIGHT"
4245VALIGN="TOP"
4246><TT
4247CLASS="PARAMETER"
4248><I
4249>str</I
4250></TT
4251>&nbsp;:</TD
4252><TD
4253WIDTH="80%"
4254ALIGN="LEFT"
4255VALIGN="TOP"
4256>  the XPath expression</TD
4257></TR
4258><TR
4259><TD
4260WIDTH="20%"
4261ALIGN="RIGHT"
4262VALIGN="TOP"
4263><TT
4264CLASS="PARAMETER"
4265><I
4266>ctxt</I
4267></TT
4268>&nbsp;:</TD
4269><TD
4270WIDTH="80%"
4271ALIGN="LEFT"
4272VALIGN="TOP"
4273>  the XPath context</TD
4274></TR
4275><TR
4276><TD
4277WIDTH="20%"
4278ALIGN="RIGHT"
4279VALIGN="TOP"
4280><I
4281CLASS="EMPHASIS"
4282>Returns</I
4283> :</TD
4284><TD
4285WIDTH="80%"
4286ALIGN="LEFT"
4287VALIGN="TOP"
4288>the xmlXPathObjectPtr resulting from the evaluation or NULL.
4289the caller has to free the object.</TD
4290></TR
4291></TBODY
4292></TABLE
4293><P
4294></P
4295></DIV
4296></DIV
4297><HR><DIV
4298CLASS="REFSECT2"
4299><A
4300NAME="AEN12114"
4301></A
4302><H3
4303><A
4304NAME="XMLXPATHEVALPREDICATE"
4305></A
4306>xmlXPathEvalPredicate ()</H3
4307><TABLE
4308BORDER="0"
4309BGCOLOR="#D6E8FF"
4310WIDTH="100%"
4311CELLPADDING="6"
4312><TR
4313><TD
4314><PRE
4315CLASS="PROGRAMLISTING"
4316>int         xmlXPathEvalPredicate           (<A
4317HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
4318>xmlXPathContextPtr</A
4319> ctxt,
4320                                             <A
4321HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
4322>xmlXPathObjectPtr</A
4323> res);</PRE
4324></TD
4325></TR
4326></TABLE
4327><P
4328>Evaluate a predicate result for the current node.
4329A PredicateExpr is evaluated by evaluating the Expr and converting
4330the result to a boolean. If the result is a number, the result will
4331be converted to true if the number is equal to the position of the
4332context node in the context node list (as returned by the position
4333function) and will be converted to false otherwise; if the result
4334is not a number, then the result will be converted as if by a call
4335to the boolean function. </P
4336><P
4337>Return 1 if predicate is true, 0 otherwise</P
4338><P
4339></P
4340><DIV
4341CLASS="INFORMALTABLE"
4342><A
4343NAME="AEN12123"
4344></A
4345><P
4346></P
4347><TABLE
4348BORDER="0"
4349WIDTH="100%"
4350BGCOLOR="#FFD0D0"
4351CELLSPACING="0"
4352CELLPADDING="4"
4353CLASS="CALSTABLE"
4354><TBODY
4355><TR
4356><TD
4357WIDTH="20%"
4358ALIGN="RIGHT"
4359VALIGN="TOP"
4360><TT
4361CLASS="PARAMETER"
4362><I
4363>ctxt</I
4364></TT
4365>&nbsp;:</TD
4366><TD
4367WIDTH="80%"
4368ALIGN="LEFT"
4369VALIGN="TOP"
4370>  the XPath context</TD
4371></TR
4372><TR
4373><TD
4374WIDTH="20%"
4375ALIGN="RIGHT"
4376VALIGN="TOP"
4377><TT
4378CLASS="PARAMETER"
4379><I
4380>res</I
4381></TT
4382>&nbsp;:</TD
4383><TD
4384WIDTH="80%"
4385ALIGN="LEFT"
4386VALIGN="TOP"
4387>  the Predicate Expression evaluation result</TD
4388></TR
4389><TR
4390><TD
4391WIDTH="20%"
4392ALIGN="RIGHT"
4393VALIGN="TOP"
4394><I
4395CLASS="EMPHASIS"
4396>Returns</I
4397> :</TD
4398><TD
4399WIDTH="80%"
4400ALIGN="LEFT"
4401VALIGN="TOP"
4402>&nbsp;</TD
4403></TR
4404></TBODY
4405></TABLE
4406><P
4407></P
4408></DIV
4409></DIV
4410><HR><DIV
4411CLASS="REFSECT2"
4412><A
4413NAME="AEN12140"
4414></A
4415><H3
4416><A
4417NAME="XMLXPATHCOMPILE"
4418></A
4419>xmlXPathCompile ()</H3
4420><TABLE
4421BORDER="0"
4422BGCOLOR="#D6E8FF"
4423WIDTH="100%"
4424CELLPADDING="6"
4425><TR
4426><TD
4427><PRE
4428CLASS="PROGRAMLISTING"
4429><A
4430HREF="libxml-xpath.html#XMLXPATHCOMPEXPRPTR"
4431>xmlXPathCompExprPtr</A
4432> xmlXPathCompile         (const <A
4433HREF="libxml-tree.html#XMLCHAR"
4434>xmlChar</A
4435> *str);</PRE
4436></TD
4437></TR
4438></TABLE
4439><P
4440>Compile an XPath expression</P
4441><P
4442></P
4443><DIV
4444CLASS="INFORMALTABLE"
4445><A
4446NAME="AEN12148"
4447></A
4448><P
4449></P
4450><TABLE
4451BORDER="0"
4452WIDTH="100%"
4453BGCOLOR="#FFD0D0"
4454CELLSPACING="0"
4455CELLPADDING="4"
4456CLASS="CALSTABLE"
4457><TBODY
4458><TR
4459><TD
4460WIDTH="20%"
4461ALIGN="RIGHT"
4462VALIGN="TOP"
4463><TT
4464CLASS="PARAMETER"
4465><I
4466>str</I
4467></TT
4468>&nbsp;:</TD
4469><TD
4470WIDTH="80%"
4471ALIGN="LEFT"
4472VALIGN="TOP"
4473>  the XPath expression</TD
4474></TR
4475><TR
4476><TD
4477WIDTH="20%"
4478ALIGN="RIGHT"
4479VALIGN="TOP"
4480><I
4481CLASS="EMPHASIS"
4482>Returns</I
4483> :</TD
4484><TD
4485WIDTH="80%"
4486ALIGN="LEFT"
4487VALIGN="TOP"
4488>the xmlXPathObjectPtr resulting from the eveluation or NULL.
4489the caller has to free the object.</TD
4490></TR
4491></TBODY
4492></TABLE
4493><P
4494></P
4495></DIV
4496></DIV
4497><HR><DIV
4498CLASS="REFSECT2"
4499><A
4500NAME="AEN12161"
4501></A
4502><H3
4503><A
4504NAME="XMLXPATHCOMPILEDEVAL"
4505></A
4506>xmlXPathCompiledEval ()</H3
4507><TABLE
4508BORDER="0"
4509BGCOLOR="#D6E8FF"
4510WIDTH="100%"
4511CELLPADDING="6"
4512><TR
4513><TD
4514><PRE
4515CLASS="PROGRAMLISTING"
4516><A
4517HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
4518>xmlXPathObjectPtr</A
4519> xmlXPathCompiledEval      (<A
4520HREF="libxml-xpath.html#XMLXPATHCOMPEXPRPTR"
4521>xmlXPathCompExprPtr</A
4522> comp,
4523                                             <A
4524HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
4525>xmlXPathContextPtr</A
4526> ctx);</PRE
4527></TD
4528></TR
4529></TABLE
4530><P
4531>Evaluate the Precompiled XPath expression in the given context.</P
4532><P
4533></P
4534><DIV
4535CLASS="INFORMALTABLE"
4536><A
4537NAME="AEN12170"
4538></A
4539><P
4540></P
4541><TABLE
4542BORDER="0"
4543WIDTH="100%"
4544BGCOLOR="#FFD0D0"
4545CELLSPACING="0"
4546CELLPADDING="4"
4547CLASS="CALSTABLE"
4548><TBODY
4549><TR
4550><TD
4551WIDTH="20%"
4552ALIGN="RIGHT"
4553VALIGN="TOP"
4554><TT
4555CLASS="PARAMETER"
4556><I
4557>comp</I
4558></TT
4559>&nbsp;:</TD
4560><TD
4561WIDTH="80%"
4562ALIGN="LEFT"
4563VALIGN="TOP"
4564>  the compiled XPath expression</TD
4565></TR
4566><TR
4567><TD
4568WIDTH="20%"
4569ALIGN="RIGHT"
4570VALIGN="TOP"
4571><TT
4572CLASS="PARAMETER"
4573><I
4574>ctx</I
4575></TT
4576>&nbsp;:</TD
4577><TD
4578WIDTH="80%"
4579ALIGN="LEFT"
4580VALIGN="TOP"
4581>  the XPath context</TD
4582></TR
4583><TR
4584><TD
4585WIDTH="20%"
4586ALIGN="RIGHT"
4587VALIGN="TOP"
4588><I
4589CLASS="EMPHASIS"
4590>Returns</I
4591> :</TD
4592><TD
4593WIDTH="80%"
4594ALIGN="LEFT"
4595VALIGN="TOP"
4596>the xmlXPathObjectPtr resulting from the eveluation or NULL.
4597the caller has to free the object.</TD
4598></TR
4599></TBODY
4600></TABLE
4601><P
4602></P
4603></DIV
4604></DIV
4605><HR><DIV
4606CLASS="REFSECT2"
4607><A
4608NAME="AEN12187"
4609></A
4610><H3
4611><A
4612NAME="XMLXPATHFREECOMPEXPR"
4613></A
4614>xmlXPathFreeCompExpr ()</H3
4615><TABLE
4616BORDER="0"
4617BGCOLOR="#D6E8FF"
4618WIDTH="100%"
4619CELLPADDING="6"
4620><TR
4621><TD
4622><PRE
4623CLASS="PROGRAMLISTING"
4624>void        xmlXPathFreeCompExpr            (<A
4625HREF="libxml-xpath.html#XMLXPATHCOMPEXPRPTR"
4626>xmlXPathCompExprPtr</A
4627> comp);</PRE
4628></TD
4629></TR
4630></TABLE
4631><P
4632>Free up the memory allocated by <TT
4633CLASS="PARAMETER"
4634><I
4635>comp</I
4636></TT
4637></P
4638><P
4639></P
4640><DIV
4641CLASS="INFORMALTABLE"
4642><A
4643NAME="AEN12195"
4644></A
4645><P
4646></P
4647><TABLE
4648BORDER="0"
4649WIDTH="100%"
4650BGCOLOR="#FFD0D0"
4651CELLSPACING="0"
4652CELLPADDING="4"
4653CLASS="CALSTABLE"
4654><TBODY
4655><TR
4656><TD
4657WIDTH="20%"
4658ALIGN="RIGHT"
4659VALIGN="TOP"
4660><TT
4661CLASS="PARAMETER"
4662><I
4663>comp</I
4664></TT
4665>&nbsp;:</TD
4666><TD
4667WIDTH="80%"
4668ALIGN="LEFT"
4669VALIGN="TOP"
4670>  an XPATH comp</TD
4671></TR
4672></TBODY
4673></TABLE
4674><P
4675></P
4676></DIV
4677></DIV
4678></DIV
4679><DIV
4680CLASS="NAVFOOTER"
4681><BR
4682CLEAR="all"><BR><TABLE
4683WIDTH="100%"
4684BORDER="0"
4685BGCOLOR="#000000"
4686CELLPADDING="1"
4687CELLSPACING="0"
4688><TR
4689><TD
4690WIDTH="25%"
4691BGCOLOR="#C00000"
4692ALIGN="left"
4693><A
4694HREF="libxml-htmltree.html"
4695><FONT
4696COLOR="#FFFFFF"
4697SIZE="3"
4698><B
4699>&#60;&#60;&#60; Previous Page</B
4700></FONT
4701></A
4702></TD
4703><TD
4704WIDTH="25%"
4705BGCOLOR="#0000C0"
4706ALIGN="center"
4707><FONT
4708COLOR="#FFFFFF"
4709SIZE="3"
4710><B
4711><A
4712HREF="book1.html"
4713><FONT
4714COLOR="#FFFFFF"
4715SIZE="3"
4716><B
4717>Home</B
4718></FONT
4719></A
4720></B
4721></FONT
4722></TD
4723><TD
4724WIDTH="25%"
4725BGCOLOR="#00C000"
4726ALIGN="center"
4727><FONT
4728COLOR="#FFFFFF"
4729SIZE="3"
4730><B
4731><A
4732HREF="libxml-lib.html"
4733><FONT
4734COLOR="#FFFFFF"
4735SIZE="3"
4736><B
4737>Up</B
4738></FONT
4739></A
4740></B
4741></FONT
4742></TD
4743><TD
4744WIDTH="25%"
4745BGCOLOR="#C00000"
4746ALIGN="right"
4747><A
4748HREF="libxml-xpathinternals.html"
4749><FONT
4750COLOR="#FFFFFF"
4751SIZE="3"
4752><B
4753>Next Page &#62;&#62;&#62;</B
4754></FONT
4755></A
4756></TD
4757></TR
4758><TR
4759><TD
4760COLSPAN="2"
4761ALIGN="left"
4762><FONT
4763COLOR="#FFFFFF"
4764SIZE="3"
4765><B
4766>HTMLtree</B
4767></FONT
4768></TD
4769><TD
4770COLSPAN="2"
4771ALIGN="right"
4772><FONT
4773COLOR="#FFFFFF"
4774SIZE="3"
4775><B
4776>xpathInternals</B
4777></FONT
4778></TD
4779></TR
4780></TABLE
4781></DIV
4782></BODY
4783></HTML
4784>