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