blob: b3204dd93a788ba99b25ecebe5e29ae06ec440ad [file] [log] [blame]
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001<HTML
2><HEAD
3><TITLE
4>xpath</TITLE
5><META
6NAME="GENERATOR"
Daniel Veillard503b8932001-01-05 06:36:31 +00007CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK
Daniel Veillard1566d3a1999-07-15 14:24:29 +00008REL="HOME"
9TITLE="Gnome XML Library Reference Manual"
10HREF="book1.html"><LINK
11REL="UP"
Daniel Veillard35008381999-10-25 13:15:52 +000012TITLE="Libxml Library Reference"
13HREF="libxml-lib.html"><LINK
Daniel Veillard1566d3a1999-07-15 14:24:29 +000014REL="PREVIOUS"
15TITLE="HTMLtree"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000016HREF="gnome-xml-htmltree.html"><LINK
17REL="NEXT"
Daniel Veillard29a11cc2000-10-25 13:32:39 +000018TITLE="xpathInternals"
19HREF="gnome-xml-xpathinternals.html"></HEAD
Daniel Veillard1566d3a1999-07-15 14:24:29 +000020><BODY
21BGCOLOR="#FFFFFF"
22TEXT="#000000"
Daniel Veillard503b8932001-01-05 06:36:31 +000023LINK="#0000FF"
24VLINK="#840084"
25ALINK="#0000FF"
Daniel Veillard1566d3a1999-07-15 14:24:29 +000026><DIV
27CLASS="NAVHEADER"
28><TABLE
29WIDTH="100%"
30BORDER="0"
31BGCOLOR="#000000"
32CELLPADDING="1"
33CELLSPACING="0"
34><TR
35><TH
36COLSPAN="4"
37ALIGN="center"
38><FONT
39COLOR="#FFFFFF"
40SIZE="5"
41>Gnome XML Library Reference Manual</FONT
42></TH
43></TR
44><TR
45><TD
46WIDTH="25%"
47BGCOLOR="#C00000"
48ALIGN="left"
49><A
50HREF="gnome-xml-htmltree.html"
51><FONT
52COLOR="#FFFFFF"
53SIZE="3"
54><B
55>&#60;&#60;&#60; Previous Page</B
56></FONT
57></A
58></TD
59><TD
60WIDTH="25%"
61BGCOLOR="#0000C0"
62ALIGN="center"
63><FONT
64COLOR="#FFFFFF"
65SIZE="3"
66><B
67><A
68HREF="book1.html"
69><FONT
70COLOR="#FFFFFF"
71SIZE="3"
72><B
73>Home</B
74></FONT
75></A
76></B
77></FONT
78></TD
79><TD
80WIDTH="25%"
81BGCOLOR="#00C000"
82ALIGN="center"
83><FONT
84COLOR="#FFFFFF"
85SIZE="3"
86><B
87><A
Daniel Veillard35008381999-10-25 13:15:52 +000088HREF="libxml-lib.html"
Daniel Veillard1566d3a1999-07-15 14:24:29 +000089><FONT
90COLOR="#FFFFFF"
91SIZE="3"
92><B
93>Up</B
94></FONT
95></A
96></B
97></FONT
98></TD
99><TD
100WIDTH="25%"
101BGCOLOR="#C00000"
102ALIGN="right"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000103><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +0000104HREF="gnome-xml-xpathinternals.html"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000105><FONT
106COLOR="#FFFFFF"
107SIZE="3"
108><B
109>Next Page &#62;&#62;&#62;</B
110></FONT
111></A
112></TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000113></TR
114></TABLE
115></DIV
116><H1
Daniel Veillard503b8932001-01-05 06:36:31 +0000117><A
118NAME="GNOME-XML-XPATH"
119>xpath</A
120></H1
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000121><DIV
122CLASS="REFNAMEDIV"
123><A
Daniel Veillard503b8932001-01-05 06:36:31 +0000124NAME="AEN10522"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000125></A
126><H2
127>Name</H2
Daniel Veillard503b8932001-01-05 06:36:31 +0000128>xpath&nbsp;--&nbsp;</DIV
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000129><DIV
130CLASS="REFSYNOPSISDIV"
131><A
Daniel Veillard503b8932001-01-05 06:36:31 +0000132NAME="AEN10525"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000133></A
134><H2
135>Synopsis</H2
136><TABLE
137BORDER="0"
138BGCOLOR="#D6E8FF"
139WIDTH="100%"
140CELLPADDING="6"
141><TR
142><TD
143><PRE
144CLASS="SYNOPSIS"
145>&#13;
146
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000147struct <A
148HREF="gnome-xml-xpath.html#XMLXPATHCONTEXT"
149>xmlXPathContext</A
150>;
151typedef <A
152HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
153>xmlXPathContextPtr</A
154>;
155struct <A
156HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXT"
157>xmlXPathParserContext</A
158>;
159typedef <A
160HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
161>xmlXPathParserContextPtr</A
162>;
Daniel Veillard7e99c632000-10-06 12:59:53 +0000163enum <A
164HREF="gnome-xml-xpath.html#XMLXPATHERROR"
165>xmlXPathError</A
166>;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000167struct <A
168HREF="gnome-xml-xpath.html#XMLNODESET"
169>xmlNodeSet</A
170>;
171typedef <A
172HREF="gnome-xml-xpath.html#XMLNODESETPTR"
173>xmlNodeSetPtr</A
174>;
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000175enum <A
176HREF="gnome-xml-xpath.html#XMLXPATHOBJECTTYPE"
177>xmlXPathObjectType</A
178>;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000179struct <A
180HREF="gnome-xml-xpath.html#XMLXPATHOBJECT"
181>xmlXPathObject</A
182>;
183typedef <A
184HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
185>xmlXPathObjectPtr</A
186>;
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000187int (<A
188HREF="gnome-xml-xpath.html#XMLXPATHCONVERTFUNC"
189>*xmlXPathConvertFunc</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000190>) (<A
191HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
192>xmlXPathObjectPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000193> obj,
194 int type);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000195struct <A
196HREF="gnome-xml-xpath.html#XMLXPATHTYPE"
197>xmlXPathType</A
198>;
199typedef <A
200HREF="gnome-xml-xpath.html#XMLXPATHTYPEPTR"
201>xmlXPathTypePtr</A
202>;
203struct <A
204HREF="gnome-xml-xpath.html#XMLXPATHVARIABLE"
205>xmlXPathVariable</A
206>;
207typedef <A
208HREF="gnome-xml-xpath.html#XMLXPATHVARIABLEPTR"
209>xmlXPathVariablePtr</A
210>;
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000211void (<A
212HREF="gnome-xml-xpath.html#XMLXPATHEVALFUNC"
213>*xmlXPathEvalFunc</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000214>) (<A
215HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
216>xmlXPathParserContextPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000217> ctxt,
218 int nargs);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000219struct <A
220HREF="gnome-xml-xpath.html#XMLXPATHFUNCT"
221>xmlXPathFunct</A
222>;
223typedef <A
224HREF="gnome-xml-xpath.html#XMLXPATHFUNCPTR"
225>xmlXPathFuncPtr</A
226>;
227<A
228HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
229>xmlXPathObjectPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000230> (<A
231HREF="gnome-xml-xpath.html#XMLXPATHAXISFUNC"
232>*xmlXPathAxisFunc</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000233>) (<A
234HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
235>xmlXPathParserContextPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000236> ctxt,
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000237 <A
238HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
239>xmlXPathObjectPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000240> cur);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000241struct <A
242HREF="gnome-xml-xpath.html#XMLXPATHAXIS"
243>xmlXPathAxis</A
244>;
245typedef <A
246HREF="gnome-xml-xpath.html#XMLXPATHAXISPTR"
247>xmlXPathAxisPtr</A
248>;
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000249void (<A
250HREF="gnome-xml-xpath.html#XMLXPATHFUNCTION"
251>*xmlXPathFunction</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000252>) (<A
253HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
254>xmlXPathParserContextPtr</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000255> ctxt,
256 int nargs);
Daniel Veillard7e99c632000-10-06 12:59:53 +0000257void <A
258HREF="gnome-xml-xpath.html#XMLXPATHINIT"
259>xmlXPathInit</A
260> (void);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000261<A
262HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
263>xmlXPathContextPtr</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000264> <A
265HREF="gnome-xml-xpath.html#XMLXPATHNEWCONTEXT"
266>xmlXPathNewContext</A
267> (<A
268HREF="gnome-xml-tree.html#XMLDOCPTR"
269>xmlDocPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000270> doc);
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000271void <A
272HREF="gnome-xml-xpath.html#XMLXPATHFREECONTEXT"
273>xmlXPathFreeContext</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000274> (<A
275HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
276>xmlXPathContextPtr</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000277> ctxt);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000278<A
279HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
280>xmlXPathObjectPtr</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000281> <A
282HREF="gnome-xml-xpath.html#XMLXPATHEVAL"
283>xmlXPathEval</A
284> (const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000285HREF="gnome-xml-tree.html#XMLCHAR"
286>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000287> *str,
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000288 <A
289HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
290>xmlXPathContextPtr</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000291> ctxt);
Daniel Veillard7e99c632000-10-06 12:59:53 +0000292<A
293HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
294>xmlXPathObjectPtr</A
295> <A
296HREF="gnome-xml-xpath.html#XMLXPATHEVALXPTREXPR"
297>xmlXPathEvalXPtrExpr</A
298> (const <A
299HREF="gnome-xml-tree.html#XMLCHAR"
300>xmlChar</A
301> *str,
302 <A
303HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
304>xmlXPathContextPtr</A
305> ctxt);
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000306void <A
307HREF="gnome-xml-xpath.html#XMLXPATHFREEOBJECT"
308>xmlXPathFreeObject</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000309> (<A
310HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
311>xmlXPathObjectPtr</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000312> obj);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000313<A
314HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
315>xmlXPathObjectPtr</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000316> <A
317HREF="gnome-xml-xpath.html#XMLXPATHEVALEXPRESSION"
318>xmlXPathEvalExpression</A
319> (const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000320HREF="gnome-xml-tree.html#XMLCHAR"
321>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000322> *str,
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000323 <A
324HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
325>xmlXPathContextPtr</A
326> ctxt);
327<A
328HREF="gnome-xml-xpath.html#XMLNODESETPTR"
329>xmlNodeSetPtr</A
330> <A
331HREF="gnome-xml-xpath.html#XMLXPATHNODESETCREATE"
332>xmlXPathNodeSetCreate</A
333> (<A
334HREF="gnome-xml-tree.html#XMLNODEPTR"
335>xmlNodePtr</A
336> val);
337void <A
338HREF="gnome-xml-xpath.html#XMLXPATHFREENODESETLIST"
339>xmlXPathFreeNodeSetList</A
340> (<A
341HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
342>xmlXPathObjectPtr</A
343> obj);
344void <A
345HREF="gnome-xml-xpath.html#XMLXPATHFREENODESET"
346>xmlXPathFreeNodeSet</A
347> (<A
348HREF="gnome-xml-xpath.html#XMLNODESETPTR"
349>xmlNodeSetPtr</A
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000350> obj);
351<A
352HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
353>xmlXPathObjectPtr</A
354> <A
355HREF="gnome-xml-xpath.html#XMLXPATHOBJECTCOPY"
356>xmlXPathObjectCopy</A
357> (<A
358HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
359>xmlXPathObjectPtr</A
360> val);</PRE
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000361></TD
362></TR
363></TABLE
364></DIV
365><DIV
366CLASS="REFSECT1"
367><A
Daniel Veillard503b8932001-01-05 06:36:31 +0000368NAME="AEN10586"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000369></A
370><H2
371>Description</H2
372><P
373></P
374></DIV
375><DIV
376CLASS="REFSECT1"
377><A
Daniel Veillard503b8932001-01-05 06:36:31 +0000378NAME="AEN10589"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000379></A
380><H2
381>Details</H2
382><DIV
383CLASS="REFSECT2"
384><A
Daniel Veillard503b8932001-01-05 06:36:31 +0000385NAME="AEN10591"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000386></A
387><H3
388><A
389NAME="XMLXPATHCONTEXT"
390></A
391>struct xmlXPathContext</H3
392><TABLE
393BORDER="0"
394BGCOLOR="#D6E8FF"
395WIDTH="100%"
396CELLPADDING="6"
397><TR
398><TD
399><PRE
400CLASS="PROGRAMLISTING"
401>struct xmlXPathContext {
402 xmlDocPtr doc; /* The current document */
403 xmlNodePtr node; /* The current node */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000404
Daniel Veillard29a11cc2000-10-25 13:32:39 +0000405 int nb_variables_unused; /* unused (hash table) */
406 int max_variables_unused; /* unused (hash table) */
407 xmlHashTablePtr varHash; /* Hash table of defined variables */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000408
409 int nb_types; /* number of defined types */
410 int max_types; /* max number of types */
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000411 xmlXPathTypePtr types; /* Array of defined types */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000412
Daniel Veillard29a11cc2000-10-25 13:32:39 +0000413 int nb_funcs_unused; /* unused (hash table) */
414 int max_funcs_unused; /* unused (hash table) */
415 xmlHashTablePtr funcHash; /* Hash table of defined funcs */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000416
417 int nb_axis; /* number of defined axis */
418 int max_axis; /* max number of axis */
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000419 xmlXPathAxisPtr axis; /* Array of defined axis */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000420
Daniel Veillard503b8932001-01-05 06:36:31 +0000421 /* the namespace nodes of the context node */
422 xmlNsPtr *namespaces; /* Array of namespaces */
423 int nsNr; /* number of namespace in scope */
424 void *user; /* function to free */
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000425
426 /* extra variables */
427 int contextSize; /* the context size */
428 int proximityPosition; /* the proximity position */
Daniel Veillard7e99c632000-10-06 12:59:53 +0000429
430 /* extra stuff for XPointer */
431 int xptr; /* it this an XPointer context */
432 xmlNodePtr here; /* for here() */
433 xmlNodePtr origin; /* for origin() */
Daniel Veillard503b8932001-01-05 06:36:31 +0000434
435 /* the set of namespace declarations in scope for the expression */
436 xmlHashTablePtr nsHash; /* The namespaces hash table */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000437};</PRE
438></TD
439></TR
440></TABLE
441><P
442></P
443></DIV
444><HR><DIV
445CLASS="REFSECT2"
446><A
Daniel Veillard503b8932001-01-05 06:36:31 +0000447NAME="AEN10596"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000448></A
449><H3
450><A
451NAME="XMLXPATHCONTEXTPTR"
452></A
453>xmlXPathContextPtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000454><TABLE
455BORDER="0"
456BGCOLOR="#D6E8FF"
457WIDTH="100%"
458CELLPADDING="6"
459><TR
460><TD
461><PRE
462CLASS="PROGRAMLISTING"
463>typedef xmlXPathContext *xmlXPathContextPtr;</PRE
464></TD
465></TR
466></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000467><P
468></P
469></DIV
470><HR><DIV
471CLASS="REFSECT2"
472><A
Daniel Veillard503b8932001-01-05 06:36:31 +0000473NAME="AEN10601"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000474></A
475><H3
476><A
477NAME="XMLXPATHPARSERCONTEXT"
478></A
479>struct xmlXPathParserContext</H3
480><TABLE
481BORDER="0"
482BGCOLOR="#D6E8FF"
483WIDTH="100%"
484CELLPADDING="6"
485><TR
486><TD
487><PRE
488CLASS="PROGRAMLISTING"
489>struct xmlXPathParserContext {
490 const xmlChar *cur; /* the current char being parsed */
491 const xmlChar *base; /* the full expression */
492
493 int error; /* error code */
494
495 xmlXPathContextPtr context; /* the evaluation context */
496 xmlXPathObjectPtr value; /* the current value */
497 int valueNr; /* number of values stacked */
498 int valueMax; /* max number of values stacked */
499 xmlXPathObjectPtr *valueTab; /* stack of values */
500};</PRE
501></TD
502></TR
503></TABLE
504><P
505></P
506></DIV
507><HR><DIV
508CLASS="REFSECT2"
509><A
Daniel Veillard503b8932001-01-05 06:36:31 +0000510NAME="AEN10606"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000511></A
512><H3
513><A
514NAME="XMLXPATHPARSERCONTEXTPTR"
515></A
516>xmlXPathParserContextPtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000517><TABLE
518BORDER="0"
519BGCOLOR="#D6E8FF"
520WIDTH="100%"
521CELLPADDING="6"
522><TR
523><TD
524><PRE
525CLASS="PROGRAMLISTING"
526>typedef xmlXPathParserContext *xmlXPathParserContextPtr;</PRE
527></TD
528></TR
529></TABLE
Daniel Veillard7e99c632000-10-06 12:59:53 +0000530><P
531></P
532></DIV
533><HR><DIV
534CLASS="REFSECT2"
535><A
Daniel Veillard503b8932001-01-05 06:36:31 +0000536NAME="AEN10611"
Daniel Veillard7e99c632000-10-06 12:59:53 +0000537></A
538><H3
539><A
540NAME="XMLXPATHERROR"
541></A
542>enum xmlXPathError</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000543><TABLE
544BORDER="0"
545BGCOLOR="#D6E8FF"
546WIDTH="100%"
547CELLPADDING="6"
548><TR
549><TD
550><PRE
551CLASS="PROGRAMLISTING"
Daniel Veillard7e99c632000-10-06 12:59:53 +0000552>typedef enum {
553 XPATH_EXPRESSION_OK = 0,
554 XPATH_NUMBER_ERROR,
555 XPATH_UNFINISHED_LITERAL_ERROR,
556 XPATH_START_LITERAL_ERROR,
557 XPATH_VARIABLE_REF_ERROR,
558 XPATH_UNDEF_VARIABLE_ERROR,
559 XPATH_INVALID_PREDICATE_ERROR,
560 XPATH_EXPR_ERROR,
561 XPATH_UNCLOSED_ERROR,
562 XPATH_UNKNOWN_FUNC_ERROR,
563 XPATH_INVALID_OPERAND,
564 XPATH_INVALID_TYPE,
565 XPATH_INVALID_ARITY,
566 XPATH_INVALID_CTXT_SIZE,
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000567 XPATH_INVALID_CTXT_POSITION,
568 XPATH_MEMORY_ERROR,
569 XPTR_SYNTAX_ERROR,
570 XPTR_RESOURCE_ERROR,
Daniel Veillard503b8932001-01-05 06:36:31 +0000571 XPTR_SUB_RESOURCE_ERROR,
572 XPATH_UNDEF_PREFIX_ERROR
Daniel Veillard7e99c632000-10-06 12:59:53 +0000573} xmlXPathError;</PRE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000574></TD
575></TR
576></TABLE
577><P
Daniel Veillard7e99c632000-10-06 12:59:53 +0000578>Create a new xmlNodeSetPtr of type double and of value <TT
579CLASS="PARAMETER"
580><I
581>val</I
582></TT
583></P
584><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000585></P
586></DIV
587><HR><DIV
588CLASS="REFSECT2"
589><A
Daniel Veillard503b8932001-01-05 06:36:31 +0000590NAME="AEN10618"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000591></A
592><H3
593><A
594NAME="XMLNODESET"
595></A
596>struct xmlNodeSet</H3
597><TABLE
598BORDER="0"
599BGCOLOR="#D6E8FF"
600WIDTH="100%"
601CELLPADDING="6"
602><TR
603><TD
604><PRE
605CLASS="PROGRAMLISTING"
606>struct xmlNodeSet {
607 int nodeNr; /* number of nodes in the set */
608 int nodeMax; /* size of the array as allocated */
609 xmlNodePtr *nodeTab; /* array of nodes in no particular order */
610};</PRE
611></TD
612></TR
613></TABLE
614><P
615></P
616></DIV
617><HR><DIV
618CLASS="REFSECT2"
619><A
Daniel Veillard503b8932001-01-05 06:36:31 +0000620NAME="AEN10623"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000621></A
622><H3
623><A
624NAME="XMLNODESETPTR"
625></A
626>xmlNodeSetPtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000627><TABLE
628BORDER="0"
629BGCOLOR="#D6E8FF"
630WIDTH="100%"
631CELLPADDING="6"
632><TR
633><TD
634><PRE
635CLASS="PROGRAMLISTING"
636>typedef xmlNodeSet *xmlNodeSetPtr;</PRE
637></TD
638></TR
639></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000640><P
641></P
642></DIV
643><HR><DIV
644CLASS="REFSECT2"
645><A
Daniel Veillard503b8932001-01-05 06:36:31 +0000646NAME="AEN10628"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000647></A
648><H3
649><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000650NAME="XMLXPATHOBJECTTYPE"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000651></A
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000652>enum xmlXPathObjectType</H3
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000653><TABLE
654BORDER="0"
655BGCOLOR="#D6E8FF"
656WIDTH="100%"
657CELLPADDING="6"
658><TR
659><TD
660><PRE
661CLASS="PROGRAMLISTING"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000662>typedef enum {
663 XPATH_UNDEFINED = 0,
664 XPATH_NODESET = 1,
665 XPATH_BOOLEAN = 2,
666 XPATH_NUMBER = 3,
667 XPATH_STRING = 4,
Daniel Veillard7e99c632000-10-06 12:59:53 +0000668 XPATH_POINT = 5,
669 XPATH_RANGE = 6,
670 XPATH_LOCATIONSET = 7,
671 XPATH_USERS = 8
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000672} xmlXPathObjectType;</PRE
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000673></TD
674></TR
675></TABLE
676><P
677></P
678></DIV
679><HR><DIV
680CLASS="REFSECT2"
681><A
Daniel Veillard503b8932001-01-05 06:36:31 +0000682NAME="AEN10633"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000683></A
684><H3
685><A
686NAME="XMLXPATHOBJECT"
687></A
688>struct xmlXPathObject</H3
689><TABLE
690BORDER="0"
691BGCOLOR="#D6E8FF"
692WIDTH="100%"
693CELLPADDING="6"
694><TR
695><TD
696><PRE
697CLASS="PROGRAMLISTING"
698>struct xmlXPathObject {
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000699 xmlXPathObjectType type;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000700 xmlNodeSetPtr nodesetval;
701 int boolval;
702 double floatval;
703 xmlChar *stringval;
704 void *user;
Daniel Veillard7e99c632000-10-06 12:59:53 +0000705 int index;
706 void *user2;
707 int index2;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000708};</PRE
709></TD
710></TR
711></TABLE
712><P
713></P
714></DIV
715><HR><DIV
716CLASS="REFSECT2"
717><A
Daniel Veillard503b8932001-01-05 06:36:31 +0000718NAME="AEN10638"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000719></A
720><H3
721><A
722NAME="XMLXPATHOBJECTPTR"
723></A
724>xmlXPathObjectPtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000725><TABLE
726BORDER="0"
727BGCOLOR="#D6E8FF"
728WIDTH="100%"
729CELLPADDING="6"
730><TR
731><TD
732><PRE
733CLASS="PROGRAMLISTING"
734>typedef xmlXPathObject *xmlXPathObjectPtr;</PRE
735></TD
736></TR
737></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000738><P
739></P
740></DIV
741><HR><DIV
742CLASS="REFSECT2"
743><A
Daniel Veillard503b8932001-01-05 06:36:31 +0000744NAME="AEN10643"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000745></A
746><H3
747><A
748NAME="XMLXPATHCONVERTFUNC"
749></A
750>xmlXPathConvertFunc ()</H3
751><TABLE
752BORDER="0"
753BGCOLOR="#D6E8FF"
754WIDTH="100%"
755CELLPADDING="6"
756><TR
757><TD
758><PRE
759CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000760>int (*xmlXPathConvertFunc) (<A
761HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
762>xmlXPathObjectPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000763> obj,
764 int type);</PRE
765></TD
766></TR
767></TABLE
768><P
769></P
770><DIV
771CLASS="INFORMALTABLE"
772><P
773></P
774><TABLE
775BORDER="0"
776WIDTH="100%"
777BGCOLOR="#FFD0D0"
778CELLSPACING="0"
779CELLPADDING="4"
780CLASS="CALSTABLE"
781><TR
782><TD
783WIDTH="20%"
784ALIGN="RIGHT"
785VALIGN="TOP"
786><TT
787CLASS="PARAMETER"
788><I
789>obj</I
790></TT
791>&nbsp;:</TD
792><TD
793WIDTH="80%"
794ALIGN="LEFT"
795VALIGN="TOP"
796>&nbsp;</TD
797></TR
798><TR
799><TD
800WIDTH="20%"
801ALIGN="RIGHT"
802VALIGN="TOP"
803><TT
804CLASS="PARAMETER"
805><I
806>type</I
807></TT
808>&nbsp;:</TD
809><TD
810WIDTH="80%"
811ALIGN="LEFT"
812VALIGN="TOP"
813>&nbsp;</TD
814></TR
815><TR
816><TD
817WIDTH="20%"
818ALIGN="RIGHT"
819VALIGN="TOP"
820><I
821CLASS="EMPHASIS"
822>Returns</I
823> :</TD
824><TD
825WIDTH="80%"
826ALIGN="LEFT"
827VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +0000828>&#13;</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000829></TR
830></TABLE
831><P
832></P
833></DIV
834></DIV
835><HR><DIV
836CLASS="REFSECT2"
837><A
Daniel Veillard503b8932001-01-05 06:36:31 +0000838NAME="AEN10666"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000839></A
840><H3
841><A
842NAME="XMLXPATHTYPE"
843></A
844>struct xmlXPathType</H3
845><TABLE
846BORDER="0"
847BGCOLOR="#D6E8FF"
848WIDTH="100%"
849CELLPADDING="6"
850><TR
851><TD
852><PRE
853CLASS="PROGRAMLISTING"
854>struct xmlXPathType {
855 const xmlChar *name; /* the type name */
856 xmlXPathConvertFunc func; /* the conversion function */
857};</PRE
858></TD
859></TR
860></TABLE
861><P
862></P
863></DIV
864><HR><DIV
865CLASS="REFSECT2"
866><A
Daniel Veillard503b8932001-01-05 06:36:31 +0000867NAME="AEN10671"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000868></A
869><H3
870><A
871NAME="XMLXPATHTYPEPTR"
872></A
873>xmlXPathTypePtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000874><TABLE
875BORDER="0"
876BGCOLOR="#D6E8FF"
877WIDTH="100%"
878CELLPADDING="6"
879><TR
880><TD
881><PRE
882CLASS="PROGRAMLISTING"
883>typedef xmlXPathType *xmlXPathTypePtr;</PRE
884></TD
885></TR
886></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000887><P
888></P
889></DIV
890><HR><DIV
891CLASS="REFSECT2"
892><A
Daniel Veillard503b8932001-01-05 06:36:31 +0000893NAME="AEN10676"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000894></A
895><H3
896><A
897NAME="XMLXPATHVARIABLE"
898></A
899>struct xmlXPathVariable</H3
900><TABLE
901BORDER="0"
902BGCOLOR="#D6E8FF"
903WIDTH="100%"
904CELLPADDING="6"
905><TR
906><TD
907><PRE
908CLASS="PROGRAMLISTING"
909>struct xmlXPathVariable {
910 const xmlChar *name; /* the variable name */
911 xmlXPathObjectPtr value; /* the value */
912};</PRE
913></TD
914></TR
915></TABLE
916><P
917></P
918></DIV
919><HR><DIV
920CLASS="REFSECT2"
921><A
Daniel Veillard503b8932001-01-05 06:36:31 +0000922NAME="AEN10681"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000923></A
924><H3
925><A
926NAME="XMLXPATHVARIABLEPTR"
927></A
928>xmlXPathVariablePtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000929><TABLE
930BORDER="0"
931BGCOLOR="#D6E8FF"
932WIDTH="100%"
933CELLPADDING="6"
934><TR
935><TD
936><PRE
937CLASS="PROGRAMLISTING"
938>typedef xmlXPathVariable *xmlXPathVariablePtr;</PRE
939></TD
940></TR
941></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000942><P
943></P
944></DIV
945><HR><DIV
946CLASS="REFSECT2"
947><A
Daniel Veillard503b8932001-01-05 06:36:31 +0000948NAME="AEN10686"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000949></A
950><H3
951><A
952NAME="XMLXPATHEVALFUNC"
953></A
954>xmlXPathEvalFunc ()</H3
955><TABLE
956BORDER="0"
957BGCOLOR="#D6E8FF"
958WIDTH="100%"
959CELLPADDING="6"
960><TR
961><TD
962><PRE
963CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000964>void (*xmlXPathEvalFunc) (<A
965HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
966>xmlXPathParserContextPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000967> ctxt,
968 int nargs);</PRE
969></TD
970></TR
971></TABLE
972><P
973></P
974><DIV
975CLASS="INFORMALTABLE"
976><P
977></P
978><TABLE
979BORDER="0"
980WIDTH="100%"
981BGCOLOR="#FFD0D0"
982CELLSPACING="0"
983CELLPADDING="4"
984CLASS="CALSTABLE"
985><TR
986><TD
987WIDTH="20%"
988ALIGN="RIGHT"
989VALIGN="TOP"
990><TT
991CLASS="PARAMETER"
992><I
993>ctxt</I
994></TT
995>&nbsp;:</TD
996><TD
997WIDTH="80%"
998ALIGN="LEFT"
999VALIGN="TOP"
1000>&nbsp;</TD
1001></TR
1002><TR
1003><TD
1004WIDTH="20%"
1005ALIGN="RIGHT"
1006VALIGN="TOP"
1007><TT
1008CLASS="PARAMETER"
1009><I
1010>nargs</I
1011></TT
1012>&nbsp;:</TD
1013><TD
1014WIDTH="80%"
1015ALIGN="LEFT"
1016VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001017>&#13;</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001018></TR
1019></TABLE
1020><P
1021></P
1022></DIV
1023></DIV
1024><HR><DIV
1025CLASS="REFSECT2"
1026><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001027NAME="AEN10705"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001028></A
1029><H3
1030><A
1031NAME="XMLXPATHFUNCT"
1032></A
1033>struct xmlXPathFunct</H3
1034><TABLE
1035BORDER="0"
1036BGCOLOR="#D6E8FF"
1037WIDTH="100%"
1038CELLPADDING="6"
1039><TR
1040><TD
1041><PRE
1042CLASS="PROGRAMLISTING"
1043>struct xmlXPathFunct {
1044 const xmlChar *name; /* the function name */
1045 xmlXPathEvalFunc func; /* the evaluation function */
1046};</PRE
1047></TD
1048></TR
1049></TABLE
1050><P
1051></P
1052></DIV
1053><HR><DIV
1054CLASS="REFSECT2"
1055><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001056NAME="AEN10710"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001057></A
1058><H3
1059><A
1060NAME="XMLXPATHFUNCPTR"
1061></A
1062>xmlXPathFuncPtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001063><TABLE
1064BORDER="0"
1065BGCOLOR="#D6E8FF"
1066WIDTH="100%"
1067CELLPADDING="6"
1068><TR
1069><TD
1070><PRE
1071CLASS="PROGRAMLISTING"
1072>typedef xmlXPathFunct *xmlXPathFuncPtr;</PRE
1073></TD
1074></TR
1075></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001076><P
1077></P
1078></DIV
1079><HR><DIV
1080CLASS="REFSECT2"
1081><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001082NAME="AEN10715"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001083></A
1084><H3
1085><A
1086NAME="XMLXPATHAXISFUNC"
1087></A
1088>xmlXPathAxisFunc ()</H3
1089><TABLE
1090BORDER="0"
1091BGCOLOR="#D6E8FF"
1092WIDTH="100%"
1093CELLPADDING="6"
1094><TR
1095><TD
1096><PRE
1097CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001098><A
1099HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
1100>xmlXPathObjectPtr</A
1101> (*xmlXPathAxisFunc) (<A
1102HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
1103>xmlXPathParserContextPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001104> ctxt,
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001105 <A
1106HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
1107>xmlXPathObjectPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001108> cur);</PRE
1109></TD
1110></TR
1111></TABLE
1112><P
1113></P
1114><DIV
1115CLASS="INFORMALTABLE"
1116><P
1117></P
1118><TABLE
1119BORDER="0"
1120WIDTH="100%"
1121BGCOLOR="#FFD0D0"
1122CELLSPACING="0"
1123CELLPADDING="4"
1124CLASS="CALSTABLE"
1125><TR
1126><TD
1127WIDTH="20%"
1128ALIGN="RIGHT"
1129VALIGN="TOP"
1130><TT
1131CLASS="PARAMETER"
1132><I
1133>ctxt</I
1134></TT
1135>&nbsp;:</TD
1136><TD
1137WIDTH="80%"
1138ALIGN="LEFT"
1139VALIGN="TOP"
1140>&nbsp;</TD
1141></TR
1142><TR
1143><TD
1144WIDTH="20%"
1145ALIGN="RIGHT"
1146VALIGN="TOP"
1147><TT
1148CLASS="PARAMETER"
1149><I
1150>cur</I
1151></TT
1152>&nbsp;:</TD
1153><TD
1154WIDTH="80%"
1155ALIGN="LEFT"
1156VALIGN="TOP"
1157>&nbsp;</TD
1158></TR
1159><TR
1160><TD
1161WIDTH="20%"
1162ALIGN="RIGHT"
1163VALIGN="TOP"
1164><I
1165CLASS="EMPHASIS"
1166>Returns</I
1167> :</TD
1168><TD
1169WIDTH="80%"
1170ALIGN="LEFT"
1171VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001172>&#13;</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001173></TR
1174></TABLE
1175><P
1176></P
1177></DIV
1178></DIV
1179><HR><DIV
1180CLASS="REFSECT2"
1181><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001182NAME="AEN10740"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001183></A
1184><H3
1185><A
1186NAME="XMLXPATHAXIS"
1187></A
1188>struct xmlXPathAxis</H3
1189><TABLE
1190BORDER="0"
1191BGCOLOR="#D6E8FF"
1192WIDTH="100%"
1193CELLPADDING="6"
1194><TR
1195><TD
1196><PRE
1197CLASS="PROGRAMLISTING"
1198>struct xmlXPathAxis {
1199 const xmlChar *name; /* the axis name */
1200 xmlXPathAxisFunc func; /* the search function */
1201};</PRE
1202></TD
1203></TR
1204></TABLE
1205><P
1206></P
1207></DIV
1208><HR><DIV
1209CLASS="REFSECT2"
1210><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001211NAME="AEN10745"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001212></A
1213><H3
1214><A
1215NAME="XMLXPATHAXISPTR"
1216></A
1217>xmlXPathAxisPtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001218><TABLE
1219BORDER="0"
1220BGCOLOR="#D6E8FF"
1221WIDTH="100%"
1222CELLPADDING="6"
1223><TR
1224><TD
1225><PRE
1226CLASS="PROGRAMLISTING"
1227>typedef xmlXPathAxis *xmlXPathAxisPtr;</PRE
1228></TD
1229></TR
1230></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001231><P
1232></P
1233></DIV
1234><HR><DIV
1235CLASS="REFSECT2"
1236><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001237NAME="AEN10750"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001238></A
1239><H3
1240><A
1241NAME="XMLXPATHFUNCTION"
1242></A
1243>xmlXPathFunction ()</H3
1244><TABLE
1245BORDER="0"
1246BGCOLOR="#D6E8FF"
1247WIDTH="100%"
1248CELLPADDING="6"
1249><TR
1250><TD
1251><PRE
1252CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001253>void (*xmlXPathFunction) (<A
1254HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
1255>xmlXPathParserContextPtr</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001256> ctxt,
1257 int nargs);</PRE
1258></TD
1259></TR
1260></TABLE
1261><P
1262></P
1263><DIV
1264CLASS="INFORMALTABLE"
1265><P
1266></P
1267><TABLE
1268BORDER="0"
1269WIDTH="100%"
1270BGCOLOR="#FFD0D0"
1271CELLSPACING="0"
1272CELLPADDING="4"
1273CLASS="CALSTABLE"
1274><TR
1275><TD
1276WIDTH="20%"
1277ALIGN="RIGHT"
1278VALIGN="TOP"
1279><TT
1280CLASS="PARAMETER"
1281><I
1282>ctxt</I
1283></TT
1284>&nbsp;:</TD
1285><TD
1286WIDTH="80%"
1287ALIGN="LEFT"
1288VALIGN="TOP"
1289>&nbsp;</TD
1290></TR
1291><TR
1292><TD
1293WIDTH="20%"
1294ALIGN="RIGHT"
1295VALIGN="TOP"
1296><TT
1297CLASS="PARAMETER"
1298><I
1299>nargs</I
1300></TT
1301>&nbsp;:</TD
1302><TD
1303WIDTH="80%"
1304ALIGN="LEFT"
1305VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001306>&#13;</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001307></TR
1308></TABLE
1309><P
1310></P
1311></DIV
1312></DIV
1313><HR><DIV
1314CLASS="REFSECT2"
1315><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001316NAME="AEN10769"
Daniel Veillard7e99c632000-10-06 12:59:53 +00001317></A
1318><H3
1319><A
1320NAME="XMLXPATHINIT"
1321></A
1322>xmlXPathInit ()</H3
1323><TABLE
1324BORDER="0"
1325BGCOLOR="#D6E8FF"
1326WIDTH="100%"
1327CELLPADDING="6"
1328><TR
1329><TD
1330><PRE
1331CLASS="PROGRAMLISTING"
1332>void xmlXPathInit (void);</PRE
1333></TD
1334></TR
1335></TABLE
1336><P
1337>Initialize the XPath environment</P
1338><P
1339></P
1340></DIV
1341><HR><DIV
1342CLASS="REFSECT2"
1343><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001344NAME="AEN10775"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001345></A
1346><H3
1347><A
1348NAME="XMLXPATHNEWCONTEXT"
1349></A
1350>xmlXPathNewContext ()</H3
1351><TABLE
1352BORDER="0"
1353BGCOLOR="#D6E8FF"
1354WIDTH="100%"
1355CELLPADDING="6"
1356><TR
1357><TD
1358><PRE
1359CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001360><A
1361HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
1362>xmlXPathContextPtr</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001363> xmlXPathNewContext (<A
1364HREF="gnome-xml-tree.html#XMLDOCPTR"
1365>xmlDocPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001366> doc);</PRE
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001367></TD
1368></TR
1369></TABLE
1370><P
1371>Create a new xmlXPathContext</P
1372><P
1373></P
1374><DIV
1375CLASS="INFORMALTABLE"
1376><P
1377></P
1378><TABLE
1379BORDER="0"
1380WIDTH="100%"
1381BGCOLOR="#FFD0D0"
1382CELLSPACING="0"
1383CELLPADDING="4"
1384CLASS="CALSTABLE"
1385><TR
1386><TD
1387WIDTH="20%"
1388ALIGN="RIGHT"
1389VALIGN="TOP"
1390><TT
1391CLASS="PARAMETER"
1392><I
1393>doc</I
1394></TT
1395>&nbsp;:</TD
1396><TD
1397WIDTH="80%"
1398ALIGN="LEFT"
1399VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001400>&nbsp;</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001401></TR
1402><TR
1403><TD
1404WIDTH="20%"
1405ALIGN="RIGHT"
1406VALIGN="TOP"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001407><I
1408CLASS="EMPHASIS"
1409>Returns</I
1410> :</TD
1411><TD
1412WIDTH="80%"
1413ALIGN="LEFT"
1414VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001415>&#13;</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001416></TR
1417></TABLE
1418><P
1419></P
1420></DIV
1421></DIV
1422><HR><DIV
1423CLASS="REFSECT2"
1424><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001425NAME="AEN10796"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001426></A
1427><H3
1428><A
1429NAME="XMLXPATHFREECONTEXT"
1430></A
1431>xmlXPathFreeContext ()</H3
1432><TABLE
1433BORDER="0"
1434BGCOLOR="#D6E8FF"
1435WIDTH="100%"
1436CELLPADDING="6"
1437><TR
1438><TD
1439><PRE
1440CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001441>void xmlXPathFreeContext (<A
1442HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
1443>xmlXPathContextPtr</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001444> ctxt);</PRE
1445></TD
1446></TR
1447></TABLE
1448><P
1449>Free up an xmlXPathContext</P
1450><P
1451></P
1452><DIV
1453CLASS="INFORMALTABLE"
1454><P
1455></P
1456><TABLE
1457BORDER="0"
1458WIDTH="100%"
1459BGCOLOR="#FFD0D0"
1460CELLSPACING="0"
1461CELLPADDING="4"
1462CLASS="CALSTABLE"
1463><TR
1464><TD
1465WIDTH="20%"
1466ALIGN="RIGHT"
1467VALIGN="TOP"
1468><TT
1469CLASS="PARAMETER"
1470><I
1471>ctxt</I
1472></TT
1473>&nbsp;:</TD
1474><TD
1475WIDTH="80%"
1476ALIGN="LEFT"
1477VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001478>&#13;</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001479></TR
1480></TABLE
1481><P
1482></P
1483></DIV
1484></DIV
1485><HR><DIV
1486CLASS="REFSECT2"
1487><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001488NAME="AEN10812"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001489></A
1490><H3
1491><A
1492NAME="XMLXPATHEVAL"
1493></A
1494>xmlXPathEval ()</H3
1495><TABLE
1496BORDER="0"
1497BGCOLOR="#D6E8FF"
1498WIDTH="100%"
1499CELLPADDING="6"
1500><TR
1501><TD
1502><PRE
1503CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001504><A
1505HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
1506>xmlXPathObjectPtr</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001507> xmlXPathEval (const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001508HREF="gnome-xml-tree.html#XMLCHAR"
1509>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001510> *str,
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001511 <A
1512HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
1513>xmlXPathContextPtr</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001514> ctxt);</PRE
1515></TD
1516></TR
1517></TABLE
1518><P
1519>Evaluate the XPath Location Path in the given context.</P
1520><P
1521></P
1522><DIV
1523CLASS="INFORMALTABLE"
1524><P
1525></P
1526><TABLE
1527BORDER="0"
1528WIDTH="100%"
1529BGCOLOR="#FFD0D0"
1530CELLSPACING="0"
1531CELLPADDING="4"
1532CLASS="CALSTABLE"
1533><TR
1534><TD
1535WIDTH="20%"
1536ALIGN="RIGHT"
1537VALIGN="TOP"
1538><TT
1539CLASS="PARAMETER"
1540><I
1541>str</I
1542></TT
1543>&nbsp;:</TD
1544><TD
1545WIDTH="80%"
1546ALIGN="LEFT"
1547VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001548> the XPath expression</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001549></TR
1550><TR
1551><TD
1552WIDTH="20%"
1553ALIGN="RIGHT"
1554VALIGN="TOP"
1555><TT
1556CLASS="PARAMETER"
1557><I
1558>ctxt</I
1559></TT
1560>&nbsp;:</TD
1561><TD
1562WIDTH="80%"
1563ALIGN="LEFT"
1564VALIGN="TOP"
Daniel Veillard7e99c632000-10-06 12:59:53 +00001565>&nbsp;</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001566></TR
1567><TR
1568><TD
1569WIDTH="20%"
1570ALIGN="RIGHT"
1571VALIGN="TOP"
1572><I
1573CLASS="EMPHASIS"
1574>Returns</I
1575> :</TD
1576><TD
1577WIDTH="80%"
1578ALIGN="LEFT"
1579VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001580>the xmlXPathObjectPtr resulting from the eveluation or NULL.
1581the caller has to free the object.</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001582></TR
1583></TABLE
1584><P
1585></P
1586></DIV
1587></DIV
1588><HR><DIV
1589CLASS="REFSECT2"
1590><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001591NAME="AEN10838"
Daniel Veillard7e99c632000-10-06 12:59:53 +00001592></A
1593><H3
1594><A
1595NAME="XMLXPATHEVALXPTREXPR"
1596></A
1597>xmlXPathEvalXPtrExpr ()</H3
1598><TABLE
1599BORDER="0"
1600BGCOLOR="#D6E8FF"
1601WIDTH="100%"
1602CELLPADDING="6"
1603><TR
1604><TD
1605><PRE
1606CLASS="PROGRAMLISTING"
1607><A
1608HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
1609>xmlXPathObjectPtr</A
1610> xmlXPathEvalXPtrExpr (const <A
1611HREF="gnome-xml-tree.html#XMLCHAR"
1612>xmlChar</A
1613> *str,
1614 <A
1615HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
1616>xmlXPathContextPtr</A
1617> ctxt);</PRE
1618></TD
1619></TR
1620></TABLE
1621><P
Daniel Veillard7e99c632000-10-06 12:59:53 +00001622></P
1623><DIV
1624CLASS="INFORMALTABLE"
1625><P
1626></P
1627><TABLE
1628BORDER="0"
1629WIDTH="100%"
1630BGCOLOR="#FFD0D0"
1631CELLSPACING="0"
1632CELLPADDING="4"
1633CLASS="CALSTABLE"
1634><TR
1635><TD
1636WIDTH="20%"
1637ALIGN="RIGHT"
1638VALIGN="TOP"
1639><TT
1640CLASS="PARAMETER"
1641><I
1642>str</I
1643></TT
1644>&nbsp;:</TD
1645><TD
1646WIDTH="80%"
1647ALIGN="LEFT"
1648VALIGN="TOP"
1649>&nbsp;</TD
1650></TR
1651><TR
1652><TD
1653WIDTH="20%"
1654ALIGN="RIGHT"
1655VALIGN="TOP"
1656><TT
1657CLASS="PARAMETER"
1658><I
1659>ctxt</I
1660></TT
1661>&nbsp;:</TD
1662><TD
1663WIDTH="80%"
1664ALIGN="LEFT"
1665VALIGN="TOP"
1666>&nbsp;</TD
1667></TR
1668><TR
1669><TD
1670WIDTH="20%"
1671ALIGN="RIGHT"
1672VALIGN="TOP"
1673><I
1674CLASS="EMPHASIS"
1675>Returns</I
1676> :</TD
1677><TD
1678WIDTH="80%"
1679ALIGN="LEFT"
1680VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001681>&#13;</TD
Daniel Veillard7e99c632000-10-06 12:59:53 +00001682></TR
1683></TABLE
1684><P
1685></P
1686></DIV
1687></DIV
1688><HR><DIV
1689CLASS="REFSECT2"
1690><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001691NAME="AEN10863"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001692></A
1693><H3
1694><A
1695NAME="XMLXPATHFREEOBJECT"
1696></A
1697>xmlXPathFreeObject ()</H3
1698><TABLE
1699BORDER="0"
1700BGCOLOR="#D6E8FF"
1701WIDTH="100%"
1702CELLPADDING="6"
1703><TR
1704><TD
1705><PRE
1706CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001707>void xmlXPathFreeObject (<A
1708HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
1709>xmlXPathObjectPtr</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001710> obj);</PRE
1711></TD
1712></TR
1713></TABLE
1714><P
1715>Free up an xmlXPathObjectPtr object.</P
1716><P
1717></P
1718><DIV
1719CLASS="INFORMALTABLE"
1720><P
1721></P
1722><TABLE
1723BORDER="0"
1724WIDTH="100%"
1725BGCOLOR="#FFD0D0"
1726CELLSPACING="0"
1727CELLPADDING="4"
1728CLASS="CALSTABLE"
1729><TR
1730><TD
1731WIDTH="20%"
1732ALIGN="RIGHT"
1733VALIGN="TOP"
1734><TT
1735CLASS="PARAMETER"
1736><I
1737>obj</I
1738></TT
1739>&nbsp;:</TD
1740><TD
1741WIDTH="80%"
1742ALIGN="LEFT"
1743VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001744>&#13;</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001745></TR
1746></TABLE
1747><P
1748></P
1749></DIV
1750></DIV
1751><HR><DIV
1752CLASS="REFSECT2"
1753><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001754NAME="AEN10879"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001755></A
1756><H3
1757><A
1758NAME="XMLXPATHEVALEXPRESSION"
1759></A
1760>xmlXPathEvalExpression ()</H3
1761><TABLE
1762BORDER="0"
1763BGCOLOR="#D6E8FF"
1764WIDTH="100%"
1765CELLPADDING="6"
1766><TR
1767><TD
1768><PRE
1769CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001770><A
1771HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
1772>xmlXPathObjectPtr</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001773> xmlXPathEvalExpression (const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001774HREF="gnome-xml-tree.html#XMLCHAR"
1775>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001776> *str,
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001777 <A
1778HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
1779>xmlXPathContextPtr</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001780> ctxt);</PRE
1781></TD
1782></TR
1783></TABLE
1784><P
1785>Evaluate the XPath expression in the given context.</P
1786><P
1787></P
1788><DIV
1789CLASS="INFORMALTABLE"
1790><P
1791></P
1792><TABLE
1793BORDER="0"
1794WIDTH="100%"
1795BGCOLOR="#FFD0D0"
1796CELLSPACING="0"
1797CELLPADDING="4"
1798CLASS="CALSTABLE"
1799><TR
1800><TD
1801WIDTH="20%"
1802ALIGN="RIGHT"
1803VALIGN="TOP"
1804><TT
1805CLASS="PARAMETER"
1806><I
1807>str</I
1808></TT
1809>&nbsp;:</TD
1810><TD
1811WIDTH="80%"
1812ALIGN="LEFT"
1813VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001814> the XPath expression</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001815></TR
1816><TR
1817><TD
1818WIDTH="20%"
1819ALIGN="RIGHT"
1820VALIGN="TOP"
1821><TT
1822CLASS="PARAMETER"
1823><I
1824>ctxt</I
1825></TT
1826>&nbsp;:</TD
1827><TD
1828WIDTH="80%"
1829ALIGN="LEFT"
1830VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001831> the XPath context</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001832></TR
1833><TR
1834><TD
1835WIDTH="20%"
1836ALIGN="RIGHT"
1837VALIGN="TOP"
1838><I
1839CLASS="EMPHASIS"
1840>Returns</I
1841> :</TD
1842><TD
1843WIDTH="80%"
1844ALIGN="LEFT"
1845VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001846>the xmlXPathObjectPtr resulting from the evaluation or NULL.
1847the caller has to free the object.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001848></TR
1849></TABLE
1850><P
1851></P
1852></DIV
1853></DIV
1854><HR><DIV
1855CLASS="REFSECT2"
1856><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001857NAME="AEN10905"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001858></A
1859><H3
1860><A
1861NAME="XMLXPATHNODESETCREATE"
1862></A
1863>xmlXPathNodeSetCreate ()</H3
1864><TABLE
1865BORDER="0"
1866BGCOLOR="#D6E8FF"
1867WIDTH="100%"
1868CELLPADDING="6"
1869><TR
1870><TD
1871><PRE
1872CLASS="PROGRAMLISTING"
1873><A
1874HREF="gnome-xml-xpath.html#XMLNODESETPTR"
1875>xmlNodeSetPtr</A
1876> xmlXPathNodeSetCreate (<A
1877HREF="gnome-xml-tree.html#XMLNODEPTR"
1878>xmlNodePtr</A
1879> val);</PRE
1880></TD
1881></TR
1882></TABLE
1883><P
1884>Create a new xmlNodeSetPtr of type double and of value <TT
1885CLASS="PARAMETER"
1886><I
1887>val</I
1888></TT
1889></P
1890><P
1891></P
1892><DIV
1893CLASS="INFORMALTABLE"
1894><P
1895></P
1896><TABLE
1897BORDER="0"
1898WIDTH="100%"
1899BGCOLOR="#FFD0D0"
1900CELLSPACING="0"
1901CELLPADDING="4"
1902CLASS="CALSTABLE"
1903><TR
1904><TD
1905WIDTH="20%"
1906ALIGN="RIGHT"
1907VALIGN="TOP"
1908><TT
1909CLASS="PARAMETER"
1910><I
1911>val</I
1912></TT
1913>&nbsp;:</TD
1914><TD
1915WIDTH="80%"
1916ALIGN="LEFT"
1917VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001918>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001919></TR
1920><TR
1921><TD
1922WIDTH="20%"
1923ALIGN="RIGHT"
1924VALIGN="TOP"
1925><I
1926CLASS="EMPHASIS"
1927>Returns</I
1928> :</TD
1929><TD
1930WIDTH="80%"
1931ALIGN="LEFT"
1932VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001933>&#13;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001934></TR
1935></TABLE
1936><P
1937></P
1938></DIV
1939></DIV
1940><HR><DIV
1941CLASS="REFSECT2"
1942><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001943NAME="AEN10927"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001944></A
1945><H3
1946><A
1947NAME="XMLXPATHFREENODESETLIST"
1948></A
1949>xmlXPathFreeNodeSetList ()</H3
1950><TABLE
1951BORDER="0"
1952BGCOLOR="#D6E8FF"
1953WIDTH="100%"
1954CELLPADDING="6"
1955><TR
1956><TD
1957><PRE
1958CLASS="PROGRAMLISTING"
1959>void xmlXPathFreeNodeSetList (<A
1960HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
1961>xmlXPathObjectPtr</A
1962> obj);</PRE
1963></TD
1964></TR
1965></TABLE
1966><P
1967>Free up the xmlXPathObjectPtr <TT
1968CLASS="PARAMETER"
1969><I
1970>obj</I
1971></TT
1972> but don't deallocate the objects in
1973the list contrary to <A
1974HREF="gnome-xml-xpath.html#XMLXPATHFREEOBJECT"
1975>xmlXPathFreeObject</A
1976>().</P
1977><P
1978></P
1979><DIV
1980CLASS="INFORMALTABLE"
1981><P
1982></P
1983><TABLE
1984BORDER="0"
1985WIDTH="100%"
1986BGCOLOR="#FFD0D0"
1987CELLSPACING="0"
1988CELLPADDING="4"
1989CLASS="CALSTABLE"
1990><TR
1991><TD
1992WIDTH="20%"
1993ALIGN="RIGHT"
1994VALIGN="TOP"
1995><TT
1996CLASS="PARAMETER"
1997><I
1998>obj</I
1999></TT
2000>&nbsp;:</TD
2001><TD
2002WIDTH="80%"
2003ALIGN="LEFT"
2004VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00002005>&#13;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002006></TR
2007></TABLE
2008><P
2009></P
2010></DIV
2011></DIV
2012><HR><DIV
2013CLASS="REFSECT2"
2014><A
Daniel Veillard503b8932001-01-05 06:36:31 +00002015NAME="AEN10945"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002016></A
2017><H3
2018><A
2019NAME="XMLXPATHFREENODESET"
2020></A
2021>xmlXPathFreeNodeSet ()</H3
2022><TABLE
2023BORDER="0"
2024BGCOLOR="#D6E8FF"
2025WIDTH="100%"
2026CELLPADDING="6"
2027><TR
2028><TD
2029><PRE
2030CLASS="PROGRAMLISTING"
2031>void xmlXPathFreeNodeSet (<A
2032HREF="gnome-xml-xpath.html#XMLNODESETPTR"
2033>xmlNodeSetPtr</A
2034> obj);</PRE
2035></TD
2036></TR
2037></TABLE
2038><P
2039>Free the NodeSet compound (not the actual nodes !).</P
2040><P
2041></P
2042><DIV
2043CLASS="INFORMALTABLE"
2044><P
2045></P
2046><TABLE
2047BORDER="0"
2048WIDTH="100%"
2049BGCOLOR="#FFD0D0"
2050CELLSPACING="0"
2051CELLPADDING="4"
2052CLASS="CALSTABLE"
2053><TR
2054><TD
2055WIDTH="20%"
2056ALIGN="RIGHT"
2057VALIGN="TOP"
2058><TT
2059CLASS="PARAMETER"
2060><I
2061>obj</I
2062></TT
2063>&nbsp;:</TD
2064><TD
2065WIDTH="80%"
2066ALIGN="LEFT"
2067VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00002068>&#13;</TD
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002069></TR
2070></TABLE
2071><P
2072></P
2073></DIV
2074></DIV
2075><HR><DIV
2076CLASS="REFSECT2"
2077><A
Daniel Veillard503b8932001-01-05 06:36:31 +00002078NAME="AEN10961"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002079></A
2080><H3
2081><A
2082NAME="XMLXPATHOBJECTCOPY"
2083></A
2084>xmlXPathObjectCopy ()</H3
2085><TABLE
2086BORDER="0"
2087BGCOLOR="#D6E8FF"
2088WIDTH="100%"
2089CELLPADDING="6"
2090><TR
2091><TD
2092><PRE
2093CLASS="PROGRAMLISTING"
2094><A
2095HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
2096>xmlXPathObjectPtr</A
2097> xmlXPathObjectCopy (<A
2098HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
2099>xmlXPathObjectPtr</A
2100> val);</PRE
2101></TD
2102></TR
2103></TABLE
2104><P
2105>allocate a new copy of a given object</P
2106><P
2107></P
2108><DIV
2109CLASS="INFORMALTABLE"
2110><P
2111></P
2112><TABLE
2113BORDER="0"
2114WIDTH="100%"
2115BGCOLOR="#FFD0D0"
2116CELLSPACING="0"
2117CELLPADDING="4"
2118CLASS="CALSTABLE"
2119><TR
2120><TD
2121WIDTH="20%"
2122ALIGN="RIGHT"
2123VALIGN="TOP"
2124><TT
2125CLASS="PARAMETER"
2126><I
2127>val</I
2128></TT
2129>&nbsp;:</TD
2130><TD
2131WIDTH="80%"
2132ALIGN="LEFT"
2133VALIGN="TOP"
2134> the original object</TD
2135></TR
2136><TR
2137><TD
2138WIDTH="20%"
2139ALIGN="RIGHT"
2140VALIGN="TOP"
2141><I
2142CLASS="EMPHASIS"
2143>Returns</I
2144> :</TD
2145><TD
2146WIDTH="80%"
2147ALIGN="LEFT"
2148VALIGN="TOP"
2149>the newly created object.</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00002150></TR
2151></TABLE
2152><P
2153></P
2154></DIV
2155></DIV
2156></DIV
2157><DIV
2158CLASS="NAVFOOTER"
Daniel Veillard00fdf371999-10-08 09:40:39 +00002159><BR
2160CLEAR="all"><BR><TABLE
Daniel Veillard1566d3a1999-07-15 14:24:29 +00002161WIDTH="100%"
2162BORDER="0"
2163BGCOLOR="#000000"
2164CELLPADDING="1"
2165CELLSPACING="0"
2166><TR
2167><TD
2168WIDTH="25%"
2169BGCOLOR="#C00000"
2170ALIGN="left"
2171><A
2172HREF="gnome-xml-htmltree.html"
2173><FONT
2174COLOR="#FFFFFF"
2175SIZE="3"
2176><B
2177>&#60;&#60;&#60; Previous Page</B
2178></FONT
2179></A
2180></TD
2181><TD
2182WIDTH="25%"
2183BGCOLOR="#0000C0"
2184ALIGN="center"
2185><FONT
2186COLOR="#FFFFFF"
2187SIZE="3"
2188><B
2189><A
2190HREF="book1.html"
2191><FONT
2192COLOR="#FFFFFF"
2193SIZE="3"
2194><B
2195>Home</B
2196></FONT
2197></A
2198></B
2199></FONT
2200></TD
2201><TD
2202WIDTH="25%"
2203BGCOLOR="#00C000"
2204ALIGN="center"
2205><FONT
2206COLOR="#FFFFFF"
2207SIZE="3"
2208><B
2209><A
Daniel Veillard35008381999-10-25 13:15:52 +00002210HREF="libxml-lib.html"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00002211><FONT
2212COLOR="#FFFFFF"
2213SIZE="3"
2214><B
2215>Up</B
2216></FONT
2217></A
2218></B
2219></FONT
2220></TD
2221><TD
2222WIDTH="25%"
2223BGCOLOR="#C00000"
2224ALIGN="right"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002225><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00002226HREF="gnome-xml-xpathinternals.html"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002227><FONT
2228COLOR="#FFFFFF"
2229SIZE="3"
2230><B
2231>Next Page &#62;&#62;&#62;</B
2232></FONT
2233></A
2234></TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00002235></TR
2236><TR
2237><TD
2238COLSPAN="2"
2239ALIGN="left"
2240><FONT
2241COLOR="#FFFFFF"
2242SIZE="3"
2243><B
2244>HTMLtree</B
2245></FONT
2246></TD
2247><TD
2248COLSPAN="2"
2249ALIGN="right"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002250><FONT
2251COLOR="#FFFFFF"
2252SIZE="3"
2253><B
Daniel Veillard29a11cc2000-10-25 13:32:39 +00002254>xpathInternals</B
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002255></FONT
2256></TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00002257></TR
2258></TABLE
2259></DIV
2260></BODY
2261></HTML
2262>