blob: 75b1a017caa406977263f1ff43c9fb0ef29ef345 [file] [log] [blame]
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001<HTML
2><HEAD
3><TITLE
4>xpath</TITLE
5><META
6NAME="GENERATOR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007CONTENT="Modular DocBook HTML Stylesheet Version 1.33"><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 Veillardb732a0e2000-10-15 11:27:01 +000018TITLE="xpointer"
19HREF="gnome-xml-xpointer.html"></HEAD
Daniel Veillard1566d3a1999-07-15 14:24:29 +000020><BODY
21BGCOLOR="#FFFFFF"
22TEXT="#000000"
23><DIV
24CLASS="NAVHEADER"
25><TABLE
26WIDTH="100%"
27BORDER="0"
28BGCOLOR="#000000"
29CELLPADDING="1"
30CELLSPACING="0"
31><TR
32><TH
33COLSPAN="4"
34ALIGN="center"
35><FONT
36COLOR="#FFFFFF"
37SIZE="5"
38>Gnome XML Library Reference Manual</FONT
39></TH
40></TR
41><TR
42><TD
43WIDTH="25%"
44BGCOLOR="#C00000"
45ALIGN="left"
46><A
47HREF="gnome-xml-htmltree.html"
48><FONT
49COLOR="#FFFFFF"
50SIZE="3"
51><B
52>&#60;&#60;&#60; Previous Page</B
53></FONT
54></A
55></TD
56><TD
57WIDTH="25%"
58BGCOLOR="#0000C0"
59ALIGN="center"
60><FONT
61COLOR="#FFFFFF"
62SIZE="3"
63><B
64><A
65HREF="book1.html"
66><FONT
67COLOR="#FFFFFF"
68SIZE="3"
69><B
70>Home</B
71></FONT
72></A
73></B
74></FONT
75></TD
76><TD
77WIDTH="25%"
78BGCOLOR="#00C000"
79ALIGN="center"
80><FONT
81COLOR="#FFFFFF"
82SIZE="3"
83><B
84><A
Daniel Veillard35008381999-10-25 13:15:52 +000085HREF="libxml-lib.html"
Daniel Veillard1566d3a1999-07-15 14:24:29 +000086><FONT
87COLOR="#FFFFFF"
88SIZE="3"
89><B
90>Up</B
91></FONT
92></A
93></B
94></FONT
95></TD
96><TD
97WIDTH="25%"
98BGCOLOR="#C00000"
99ALIGN="right"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000100><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000101HREF="gnome-xml-xpointer.html"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000102><FONT
103COLOR="#FFFFFF"
104SIZE="3"
105><B
106>Next Page &#62;&#62;&#62;</B
107></FONT
108></A
109></TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000110></TR
111></TABLE
112></DIV
113><H1
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000114>xpath</H1
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000115><DIV
116CLASS="REFNAMEDIV"
117><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000118NAME="AEN10509"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000119></A
120><H2
121>Name</H2
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000122>xpath &#8212; </DIV
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000123><DIV
124CLASS="REFSYNOPSISDIV"
125><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000126NAME="AEN10512"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000127></A
128><H2
129>Synopsis</H2
130><TABLE
131BORDER="0"
132BGCOLOR="#D6E8FF"
133WIDTH="100%"
134CELLPADDING="6"
135><TR
136><TD
137><PRE
138CLASS="SYNOPSIS"
139>&#13;
140
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000141struct <A
142HREF="gnome-xml-xpath.html#XMLXPATHCONTEXT"
143>xmlXPathContext</A
144>;
145typedef <A
146HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
147>xmlXPathContextPtr</A
148>;
149struct <A
150HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXT"
151>xmlXPathParserContext</A
152>;
153typedef <A
154HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
155>xmlXPathParserContextPtr</A
156>;
Daniel Veillard7e99c632000-10-06 12:59:53 +0000157enum <A
158HREF="gnome-xml-xpath.html#XMLXPATHERROR"
159>xmlXPathError</A
160>;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000161struct <A
162HREF="gnome-xml-xpath.html#XMLNODESET"
163>xmlNodeSet</A
164>;
165typedef <A
166HREF="gnome-xml-xpath.html#XMLNODESETPTR"
167>xmlNodeSetPtr</A
168>;
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000169enum <A
170HREF="gnome-xml-xpath.html#XMLXPATHOBJECTTYPE"
171>xmlXPathObjectType</A
172>;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000173struct <A
174HREF="gnome-xml-xpath.html#XMLXPATHOBJECT"
175>xmlXPathObject</A
176>;
177typedef <A
178HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
179>xmlXPathObjectPtr</A
180>;
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000181int (<A
182HREF="gnome-xml-xpath.html#XMLXPATHCONVERTFUNC"
183>*xmlXPathConvertFunc</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000184>) (<A
185HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
186>xmlXPathObjectPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000187> obj,
188 int type);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000189struct <A
190HREF="gnome-xml-xpath.html#XMLXPATHTYPE"
191>xmlXPathType</A
192>;
193typedef <A
194HREF="gnome-xml-xpath.html#XMLXPATHTYPEPTR"
195>xmlXPathTypePtr</A
196>;
197struct <A
198HREF="gnome-xml-xpath.html#XMLXPATHVARIABLE"
199>xmlXPathVariable</A
200>;
201typedef <A
202HREF="gnome-xml-xpath.html#XMLXPATHVARIABLEPTR"
203>xmlXPathVariablePtr</A
204>;
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000205void (<A
206HREF="gnome-xml-xpath.html#XMLXPATHEVALFUNC"
207>*xmlXPathEvalFunc</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000208>) (<A
209HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
210>xmlXPathParserContextPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000211> ctxt,
212 int nargs);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000213struct <A
214HREF="gnome-xml-xpath.html#XMLXPATHFUNCT"
215>xmlXPathFunct</A
216>;
217typedef <A
218HREF="gnome-xml-xpath.html#XMLXPATHFUNCPTR"
219>xmlXPathFuncPtr</A
220>;
221<A
222HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
223>xmlXPathObjectPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000224> (<A
225HREF="gnome-xml-xpath.html#XMLXPATHAXISFUNC"
226>*xmlXPathAxisFunc</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000227>) (<A
228HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
229>xmlXPathParserContextPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000230> ctxt,
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000231 <A
232HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
233>xmlXPathObjectPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000234> cur);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000235struct <A
236HREF="gnome-xml-xpath.html#XMLXPATHAXIS"
237>xmlXPathAxis</A
238>;
239typedef <A
240HREF="gnome-xml-xpath.html#XMLXPATHAXISPTR"
241>xmlXPathAxisPtr</A
242>;
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000243void (<A
244HREF="gnome-xml-xpath.html#XMLXPATHFUNCTION"
245>*xmlXPathFunction</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000246>) (<A
247HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
248>xmlXPathParserContextPtr</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000249> ctxt,
250 int nargs);
Daniel Veillard7e99c632000-10-06 12:59:53 +0000251#define <A
252HREF="gnome-xml-xpath.html#CHECK-ERROR"
253>CHECK_ERROR</A
254>
255#define <A
256HREF="gnome-xml-xpath.html#CHECK-ERROR0"
257>CHECK_ERROR0</A
258>
259#define <A
260HREF="gnome-xml-xpath.html#XP-ERROR"
261>XP_ERROR</A
262> (X)
263#define <A
264HREF="gnome-xml-xpath.html#XP-ERROR0"
265>XP_ERROR0</A
266> (X)
267#define <A
268HREF="gnome-xml-xpath.html#CHECK-TYPE"
269>CHECK_TYPE</A
270> (typeval)
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000271void <A
272HREF="gnome-xml-xpath.html#XMLXPATHDEBUGDUMPOBJECT"
273>xmlXPathDebugDumpObject</A
274> (<GTKDOCLINK
275HREF="FILE"
276>FILE</GTKDOCLINK
277> *output,
278 <A
279HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
280>xmlXPathObjectPtr</A
281> cur,
282 int depth);
283<A
284HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
285>xmlXPathParserContextPtr</A
286> <A
287HREF="gnome-xml-xpath.html#XMLXPATHNEWPARSERCONTEXT"
288>xmlXPathNewParserContext</A
289>
290 (const <A
291HREF="gnome-xml-tree.html#XMLCHAR"
292>xmlChar</A
293> *str,
294 <A
295HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
296>xmlXPathContextPtr</A
297> ctxt);
298void <A
299HREF="gnome-xml-xpath.html#XMLXPATHFREEPARSERCONTEXT"
300>xmlXPathFreeParserContext</A
301> (<A
302HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
303>xmlXPathParserContextPtr</A
304> ctxt);
Daniel Veillard7e99c632000-10-06 12:59:53 +0000305<A
306HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
307>xmlXPathObjectPtr</A
308> <A
309HREF="gnome-xml-xpath.html#VALUEPOP"
310>valuePop</A
311> (<A
312HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
313>xmlXPathParserContextPtr</A
314> ctxt);
315int <A
316HREF="gnome-xml-xpath.html#VALUEPUSH"
317>valuePush</A
318> (<A
319HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
320>xmlXPathParserContextPtr</A
321> ctxt,
322 <A
323HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
324>xmlXPathObjectPtr</A
325> value);
326<A
327HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
328>xmlXPathObjectPtr</A
329> <A
330HREF="gnome-xml-xpath.html#XMLXPATHNEWSTRING"
331>xmlXPathNewString</A
332> (const <A
333HREF="gnome-xml-tree.html#XMLCHAR"
334>xmlChar</A
335> *val);
336<A
337HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
338>xmlXPathObjectPtr</A
339> <A
340HREF="gnome-xml-xpath.html#XMLXPATHNEWNODESET"
341>xmlXPathNewNodeSet</A
342> (<A
343HREF="gnome-xml-tree.html#XMLNODEPTR"
344>xmlNodePtr</A
345> val);
346void <A
347HREF="gnome-xml-xpath.html#XMLXPATHNODESETADD"
348>xmlXPathNodeSetAdd</A
349> (<A
350HREF="gnome-xml-xpath.html#XMLNODESETPTR"
351>xmlNodeSetPtr</A
352> cur,
353 <A
354HREF="gnome-xml-tree.html#XMLNODEPTR"
355>xmlNodePtr</A
356> val);
357void <A
358HREF="gnome-xml-xpath.html#XMLXPATHIDFUNCTION"
359>xmlXPathIdFunction</A
360> (<A
361HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
362>xmlXPathParserContextPtr</A
363> ctxt,
364 int nargs);
365void <A
366HREF="gnome-xml-xpath.html#XMLXPATHROOT"
367>xmlXPathRoot</A
368> (<A
369HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
370>xmlXPathParserContextPtr</A
371> ctxt);
372void <A
373HREF="gnome-xml-xpath.html#XMLXPATHEVALEXPR"
374>xmlXPathEvalExpr</A
375> (<A
376HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
377>xmlXPathParserContextPtr</A
378> ctxt);
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000379<A
380HREF="gnome-xml-tree.html#XMLCHAR"
381>xmlChar</A
382>* <A
383HREF="gnome-xml-xpath.html#XMLXPATHPARSENAME"
384>xmlXPathParseName</A
385> (<A
386HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
387>xmlXPathParserContextPtr</A
388> ctxt);
389int <A
390HREF="gnome-xml-xpath.html#XMLXPATHREGISTERFUNC"
391>xmlXPathRegisterFunc</A
392> (<A
393HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
394>xmlXPathContextPtr</A
395> ctxt,
396 const <A
397HREF="gnome-xml-tree.html#XMLCHAR"
398>xmlChar</A
399> *name,
400 <A
401HREF="gnome-xml-xpath.html#XMLXPATHFUNCTION"
402>xmlXPathFunction</A
403> f);
404int <A
405HREF="gnome-xml-xpath.html#XMLXPATHREGISTERVARIABLE"
406>xmlXPathRegisterVariable</A
407> (<A
408HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
409>xmlXPathContextPtr</A
410> ctxt,
411 const <A
412HREF="gnome-xml-tree.html#XMLCHAR"
413>xmlChar</A
414> *name,
415 <A
416HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
417>xmlXPathObjectPtr</A
418> value);
Daniel Veillard7e99c632000-10-06 12:59:53 +0000419void <A
420HREF="gnome-xml-xpath.html#XMLXPATHINIT"
421>xmlXPathInit</A
422> (void);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000423<A
424HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
425>xmlXPathContextPtr</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000426> <A
427HREF="gnome-xml-xpath.html#XMLXPATHNEWCONTEXT"
428>xmlXPathNewContext</A
429> (<A
430HREF="gnome-xml-tree.html#XMLDOCPTR"
431>xmlDocPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000432> doc);
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000433void <A
434HREF="gnome-xml-xpath.html#XMLXPATHFREECONTEXT"
435>xmlXPathFreeContext</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000436> (<A
437HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
438>xmlXPathContextPtr</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000439> ctxt);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000440<A
441HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
442>xmlXPathObjectPtr</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000443> <A
444HREF="gnome-xml-xpath.html#XMLXPATHEVAL"
445>xmlXPathEval</A
446> (const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000447HREF="gnome-xml-tree.html#XMLCHAR"
448>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000449> *str,
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000450 <A
451HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
452>xmlXPathContextPtr</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000453> ctxt);
Daniel Veillard7e99c632000-10-06 12:59:53 +0000454<A
455HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
456>xmlXPathObjectPtr</A
457> <A
458HREF="gnome-xml-xpath.html#XMLXPATHEVALXPTREXPR"
459>xmlXPathEvalXPtrExpr</A
460> (const <A
461HREF="gnome-xml-tree.html#XMLCHAR"
462>xmlChar</A
463> *str,
464 <A
465HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
466>xmlXPathContextPtr</A
467> ctxt);
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000468void <A
469HREF="gnome-xml-xpath.html#XMLXPATHFREEOBJECT"
470>xmlXPathFreeObject</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000471> (<A
472HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
473>xmlXPathObjectPtr</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000474> obj);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000475<A
476HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
477>xmlXPathObjectPtr</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000478> <A
479HREF="gnome-xml-xpath.html#XMLXPATHEVALEXPRESSION"
480>xmlXPathEvalExpression</A
481> (const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000482HREF="gnome-xml-tree.html#XMLCHAR"
483>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000484> *str,
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000485 <A
486HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
487>xmlXPathContextPtr</A
488> ctxt);
489<A
490HREF="gnome-xml-xpath.html#XMLNODESETPTR"
491>xmlNodeSetPtr</A
492> <A
493HREF="gnome-xml-xpath.html#XMLXPATHNODESETCREATE"
494>xmlXPathNodeSetCreate</A
495> (<A
496HREF="gnome-xml-tree.html#XMLNODEPTR"
497>xmlNodePtr</A
498> val);
499void <A
500HREF="gnome-xml-xpath.html#XMLXPATHFREENODESETLIST"
501>xmlXPathFreeNodeSetList</A
502> (<A
503HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
504>xmlXPathObjectPtr</A
505> obj);
506void <A
507HREF="gnome-xml-xpath.html#XMLXPATHFREENODESET"
508>xmlXPathFreeNodeSet</A
509> (<A
510HREF="gnome-xml-xpath.html#XMLNODESETPTR"
511>xmlNodeSetPtr</A
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000512> obj);
513<A
514HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
515>xmlXPathObjectPtr</A
516> <A
517HREF="gnome-xml-xpath.html#XMLXPATHOBJECTCOPY"
518>xmlXPathObjectCopy</A
519> (<A
520HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
521>xmlXPathObjectPtr</A
522> val);</PRE
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000523></TD
524></TR
525></TABLE
526></DIV
527><DIV
528CLASS="REFSECT1"
529><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000530NAME="AEN10619"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000531></A
532><H2
533>Description</H2
534><P
535></P
536></DIV
537><DIV
538CLASS="REFSECT1"
539><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000540NAME="AEN10622"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000541></A
542><H2
543>Details</H2
544><DIV
545CLASS="REFSECT2"
546><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000547NAME="AEN10624"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000548></A
549><H3
550><A
551NAME="XMLXPATHCONTEXT"
552></A
553>struct xmlXPathContext</H3
554><TABLE
555BORDER="0"
556BGCOLOR="#D6E8FF"
557WIDTH="100%"
558CELLPADDING="6"
559><TR
560><TD
561><PRE
562CLASS="PROGRAMLISTING"
563>struct xmlXPathContext {
564 xmlDocPtr doc; /* The current document */
565 xmlNodePtr node; /* The current node */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000566
567 int nb_variables; /* number of defined variables */
568 int max_variables; /* max number of variables */
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000569 xmlXPathVariablePtr variables; /* Array of defined variables */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000570
571 int nb_types; /* number of defined types */
572 int max_types; /* max number of types */
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000573 xmlXPathTypePtr types; /* Array of defined types */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000574
575 int nb_funcs; /* number of defined funcs */
576 int max_funcs; /* max number of funcs */
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000577 xmlXPathFuncPtr funcs; /* Array of defined funcs */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000578
579 int nb_axis; /* number of defined axis */
580 int max_axis; /* max number of axis */
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000581 xmlXPathAxisPtr axis; /* Array of defined axis */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000582
583 /* Namespace traversal should be implemented with user */
584 xmlNsPtr *namespaces; /* The namespaces lookup */
585 int nsNr; /* the current Namespace index */
586 void *user; /* user defined extra info */
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000587
588 /* extra variables */
589 int contextSize; /* the context size */
590 int proximityPosition; /* the proximity position */
Daniel Veillard7e99c632000-10-06 12:59:53 +0000591
592 /* extra stuff for XPointer */
593 int xptr; /* it this an XPointer context */
594 xmlNodePtr here; /* for here() */
595 xmlNodePtr origin; /* for origin() */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000596};</PRE
597></TD
598></TR
599></TABLE
600><P
601></P
602></DIV
603><HR><DIV
604CLASS="REFSECT2"
605><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000606NAME="AEN10629"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000607></A
608><H3
609><A
610NAME="XMLXPATHCONTEXTPTR"
611></A
612>xmlXPathContextPtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000613><TABLE
614BORDER="0"
615BGCOLOR="#D6E8FF"
616WIDTH="100%"
617CELLPADDING="6"
618><TR
619><TD
620><PRE
621CLASS="PROGRAMLISTING"
622>typedef xmlXPathContext *xmlXPathContextPtr;</PRE
623></TD
624></TR
625></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000626><P
627></P
628></DIV
629><HR><DIV
630CLASS="REFSECT2"
631><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000632NAME="AEN10634"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000633></A
634><H3
635><A
636NAME="XMLXPATHPARSERCONTEXT"
637></A
638>struct xmlXPathParserContext</H3
639><TABLE
640BORDER="0"
641BGCOLOR="#D6E8FF"
642WIDTH="100%"
643CELLPADDING="6"
644><TR
645><TD
646><PRE
647CLASS="PROGRAMLISTING"
648>struct xmlXPathParserContext {
649 const xmlChar *cur; /* the current char being parsed */
650 const xmlChar *base; /* the full expression */
651
652 int error; /* error code */
653
654 xmlXPathContextPtr context; /* the evaluation context */
655 xmlXPathObjectPtr value; /* the current value */
656 int valueNr; /* number of values stacked */
657 int valueMax; /* max number of values stacked */
658 xmlXPathObjectPtr *valueTab; /* stack of values */
659};</PRE
660></TD
661></TR
662></TABLE
663><P
664></P
665></DIV
666><HR><DIV
667CLASS="REFSECT2"
668><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000669NAME="AEN10639"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000670></A
671><H3
672><A
673NAME="XMLXPATHPARSERCONTEXTPTR"
674></A
675>xmlXPathParserContextPtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000676><TABLE
677BORDER="0"
678BGCOLOR="#D6E8FF"
679WIDTH="100%"
680CELLPADDING="6"
681><TR
682><TD
683><PRE
684CLASS="PROGRAMLISTING"
685>typedef xmlXPathParserContext *xmlXPathParserContextPtr;</PRE
686></TD
687></TR
688></TABLE
Daniel Veillard7e99c632000-10-06 12:59:53 +0000689><P
690></P
691></DIV
692><HR><DIV
693CLASS="REFSECT2"
694><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000695NAME="AEN10644"
Daniel Veillard7e99c632000-10-06 12:59:53 +0000696></A
697><H3
698><A
699NAME="XMLXPATHERROR"
700></A
701>enum xmlXPathError</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000702><TABLE
703BORDER="0"
704BGCOLOR="#D6E8FF"
705WIDTH="100%"
706CELLPADDING="6"
707><TR
708><TD
709><PRE
710CLASS="PROGRAMLISTING"
Daniel Veillard7e99c632000-10-06 12:59:53 +0000711>typedef enum {
712 XPATH_EXPRESSION_OK = 0,
713 XPATH_NUMBER_ERROR,
714 XPATH_UNFINISHED_LITERAL_ERROR,
715 XPATH_START_LITERAL_ERROR,
716 XPATH_VARIABLE_REF_ERROR,
717 XPATH_UNDEF_VARIABLE_ERROR,
718 XPATH_INVALID_PREDICATE_ERROR,
719 XPATH_EXPR_ERROR,
720 XPATH_UNCLOSED_ERROR,
721 XPATH_UNKNOWN_FUNC_ERROR,
722 XPATH_INVALID_OPERAND,
723 XPATH_INVALID_TYPE,
724 XPATH_INVALID_ARITY,
725 XPATH_INVALID_CTXT_SIZE,
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000726 XPATH_INVALID_CTXT_POSITION,
727 XPATH_MEMORY_ERROR,
728 XPTR_SYNTAX_ERROR,
729 XPTR_RESOURCE_ERROR,
730 XPTR_SUB_RESOURCE_ERROR
Daniel Veillard7e99c632000-10-06 12:59:53 +0000731} xmlXPathError;</PRE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000732></TD
733></TR
734></TABLE
735><P
Daniel Veillard7e99c632000-10-06 12:59:53 +0000736>Create a new xmlNodeSetPtr of type double and of value <TT
737CLASS="PARAMETER"
738><I
739>val</I
740></TT
741></P
742><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000743></P
744></DIV
745><HR><DIV
746CLASS="REFSECT2"
747><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000748NAME="AEN10651"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000749></A
750><H3
751><A
752NAME="XMLNODESET"
753></A
754>struct xmlNodeSet</H3
755><TABLE
756BORDER="0"
757BGCOLOR="#D6E8FF"
758WIDTH="100%"
759CELLPADDING="6"
760><TR
761><TD
762><PRE
763CLASS="PROGRAMLISTING"
764>struct xmlNodeSet {
765 int nodeNr; /* number of nodes in the set */
766 int nodeMax; /* size of the array as allocated */
767 xmlNodePtr *nodeTab; /* array of nodes in no particular order */
768};</PRE
769></TD
770></TR
771></TABLE
772><P
773></P
774></DIV
775><HR><DIV
776CLASS="REFSECT2"
777><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000778NAME="AEN10656"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000779></A
780><H3
781><A
782NAME="XMLNODESETPTR"
783></A
784>xmlNodeSetPtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000785><TABLE
786BORDER="0"
787BGCOLOR="#D6E8FF"
788WIDTH="100%"
789CELLPADDING="6"
790><TR
791><TD
792><PRE
793CLASS="PROGRAMLISTING"
794>typedef xmlNodeSet *xmlNodeSetPtr;</PRE
795></TD
796></TR
797></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000798><P
799></P
800></DIV
801><HR><DIV
802CLASS="REFSECT2"
803><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000804NAME="AEN10661"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000805></A
806><H3
807><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000808NAME="XMLXPATHOBJECTTYPE"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000809></A
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000810>enum xmlXPathObjectType</H3
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000811><TABLE
812BORDER="0"
813BGCOLOR="#D6E8FF"
814WIDTH="100%"
815CELLPADDING="6"
816><TR
817><TD
818><PRE
819CLASS="PROGRAMLISTING"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000820>typedef enum {
821 XPATH_UNDEFINED = 0,
822 XPATH_NODESET = 1,
823 XPATH_BOOLEAN = 2,
824 XPATH_NUMBER = 3,
825 XPATH_STRING = 4,
Daniel Veillard7e99c632000-10-06 12:59:53 +0000826 XPATH_POINT = 5,
827 XPATH_RANGE = 6,
828 XPATH_LOCATIONSET = 7,
829 XPATH_USERS = 8
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000830} xmlXPathObjectType;</PRE
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000831></TD
832></TR
833></TABLE
834><P
835></P
836></DIV
837><HR><DIV
838CLASS="REFSECT2"
839><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000840NAME="AEN10666"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000841></A
842><H3
843><A
844NAME="XMLXPATHOBJECT"
845></A
846>struct xmlXPathObject</H3
847><TABLE
848BORDER="0"
849BGCOLOR="#D6E8FF"
850WIDTH="100%"
851CELLPADDING="6"
852><TR
853><TD
854><PRE
855CLASS="PROGRAMLISTING"
856>struct xmlXPathObject {
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000857 xmlXPathObjectType type;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000858 xmlNodeSetPtr nodesetval;
859 int boolval;
860 double floatval;
861 xmlChar *stringval;
862 void *user;
Daniel Veillard7e99c632000-10-06 12:59:53 +0000863 int index;
864 void *user2;
865 int index2;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000866};</PRE
867></TD
868></TR
869></TABLE
870><P
871></P
872></DIV
873><HR><DIV
874CLASS="REFSECT2"
875><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000876NAME="AEN10671"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000877></A
878><H3
879><A
880NAME="XMLXPATHOBJECTPTR"
881></A
882>xmlXPathObjectPtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000883><TABLE
884BORDER="0"
885BGCOLOR="#D6E8FF"
886WIDTH="100%"
887CELLPADDING="6"
888><TR
889><TD
890><PRE
891CLASS="PROGRAMLISTING"
892>typedef xmlXPathObject *xmlXPathObjectPtr;</PRE
893></TD
894></TR
895></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000896><P
897></P
898></DIV
899><HR><DIV
900CLASS="REFSECT2"
901><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000902NAME="AEN10676"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000903></A
904><H3
905><A
906NAME="XMLXPATHCONVERTFUNC"
907></A
908>xmlXPathConvertFunc ()</H3
909><TABLE
910BORDER="0"
911BGCOLOR="#D6E8FF"
912WIDTH="100%"
913CELLPADDING="6"
914><TR
915><TD
916><PRE
917CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000918>int (*xmlXPathConvertFunc) (<A
919HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
920>xmlXPathObjectPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000921> obj,
922 int type);</PRE
923></TD
924></TR
925></TABLE
926><P
927></P
928><DIV
929CLASS="INFORMALTABLE"
930><P
931></P
932><TABLE
933BORDER="0"
934WIDTH="100%"
935BGCOLOR="#FFD0D0"
936CELLSPACING="0"
937CELLPADDING="4"
938CLASS="CALSTABLE"
939><TR
940><TD
941WIDTH="20%"
942ALIGN="RIGHT"
943VALIGN="TOP"
944><TT
945CLASS="PARAMETER"
946><I
947>obj</I
948></TT
949>&nbsp;:</TD
950><TD
951WIDTH="80%"
952ALIGN="LEFT"
953VALIGN="TOP"
954>&nbsp;</TD
955></TR
956><TR
957><TD
958WIDTH="20%"
959ALIGN="RIGHT"
960VALIGN="TOP"
961><TT
962CLASS="PARAMETER"
963><I
964>type</I
965></TT
966>&nbsp;:</TD
967><TD
968WIDTH="80%"
969ALIGN="LEFT"
970VALIGN="TOP"
971>&nbsp;</TD
972></TR
973><TR
974><TD
975WIDTH="20%"
976ALIGN="RIGHT"
977VALIGN="TOP"
978><I
979CLASS="EMPHASIS"
980>Returns</I
981> :</TD
982><TD
983WIDTH="80%"
984ALIGN="LEFT"
985VALIGN="TOP"
986>&nbsp;</TD
987></TR
988></TABLE
989><P
990></P
991></DIV
992></DIV
993><HR><DIV
994CLASS="REFSECT2"
995><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000996NAME="AEN10699"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000997></A
998><H3
999><A
1000NAME="XMLXPATHTYPE"
1001></A
1002>struct xmlXPathType</H3
1003><TABLE
1004BORDER="0"
1005BGCOLOR="#D6E8FF"
1006WIDTH="100%"
1007CELLPADDING="6"
1008><TR
1009><TD
1010><PRE
1011CLASS="PROGRAMLISTING"
1012>struct xmlXPathType {
1013 const xmlChar *name; /* the type name */
1014 xmlXPathConvertFunc func; /* the conversion function */
1015};</PRE
1016></TD
1017></TR
1018></TABLE
1019><P
1020></P
1021></DIV
1022><HR><DIV
1023CLASS="REFSECT2"
1024><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001025NAME="AEN10704"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001026></A
1027><H3
1028><A
1029NAME="XMLXPATHTYPEPTR"
1030></A
1031>xmlXPathTypePtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001032><TABLE
1033BORDER="0"
1034BGCOLOR="#D6E8FF"
1035WIDTH="100%"
1036CELLPADDING="6"
1037><TR
1038><TD
1039><PRE
1040CLASS="PROGRAMLISTING"
1041>typedef xmlXPathType *xmlXPathTypePtr;</PRE
1042></TD
1043></TR
1044></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001045><P
1046></P
1047></DIV
1048><HR><DIV
1049CLASS="REFSECT2"
1050><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001051NAME="AEN10709"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001052></A
1053><H3
1054><A
1055NAME="XMLXPATHVARIABLE"
1056></A
1057>struct xmlXPathVariable</H3
1058><TABLE
1059BORDER="0"
1060BGCOLOR="#D6E8FF"
1061WIDTH="100%"
1062CELLPADDING="6"
1063><TR
1064><TD
1065><PRE
1066CLASS="PROGRAMLISTING"
1067>struct xmlXPathVariable {
1068 const xmlChar *name; /* the variable name */
1069 xmlXPathObjectPtr value; /* the value */
1070};</PRE
1071></TD
1072></TR
1073></TABLE
1074><P
1075></P
1076></DIV
1077><HR><DIV
1078CLASS="REFSECT2"
1079><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001080NAME="AEN10714"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001081></A
1082><H3
1083><A
1084NAME="XMLXPATHVARIABLEPTR"
1085></A
1086>xmlXPathVariablePtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001087><TABLE
1088BORDER="0"
1089BGCOLOR="#D6E8FF"
1090WIDTH="100%"
1091CELLPADDING="6"
1092><TR
1093><TD
1094><PRE
1095CLASS="PROGRAMLISTING"
1096>typedef xmlXPathVariable *xmlXPathVariablePtr;</PRE
1097></TD
1098></TR
1099></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001100><P
1101></P
1102></DIV
1103><HR><DIV
1104CLASS="REFSECT2"
1105><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001106NAME="AEN10719"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001107></A
1108><H3
1109><A
1110NAME="XMLXPATHEVALFUNC"
1111></A
1112>xmlXPathEvalFunc ()</H3
1113><TABLE
1114BORDER="0"
1115BGCOLOR="#D6E8FF"
1116WIDTH="100%"
1117CELLPADDING="6"
1118><TR
1119><TD
1120><PRE
1121CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001122>void (*xmlXPathEvalFunc) (<A
1123HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
1124>xmlXPathParserContextPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001125> ctxt,
1126 int nargs);</PRE
1127></TD
1128></TR
1129></TABLE
1130><P
1131></P
1132><DIV
1133CLASS="INFORMALTABLE"
1134><P
1135></P
1136><TABLE
1137BORDER="0"
1138WIDTH="100%"
1139BGCOLOR="#FFD0D0"
1140CELLSPACING="0"
1141CELLPADDING="4"
1142CLASS="CALSTABLE"
1143><TR
1144><TD
1145WIDTH="20%"
1146ALIGN="RIGHT"
1147VALIGN="TOP"
1148><TT
1149CLASS="PARAMETER"
1150><I
1151>ctxt</I
1152></TT
1153>&nbsp;:</TD
1154><TD
1155WIDTH="80%"
1156ALIGN="LEFT"
1157VALIGN="TOP"
1158>&nbsp;</TD
1159></TR
1160><TR
1161><TD
1162WIDTH="20%"
1163ALIGN="RIGHT"
1164VALIGN="TOP"
1165><TT
1166CLASS="PARAMETER"
1167><I
1168>nargs</I
1169></TT
1170>&nbsp;:</TD
1171><TD
1172WIDTH="80%"
1173ALIGN="LEFT"
1174VALIGN="TOP"
1175>&nbsp;</TD
1176></TR
1177></TABLE
1178><P
1179></P
1180></DIV
1181></DIV
1182><HR><DIV
1183CLASS="REFSECT2"
1184><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001185NAME="AEN10738"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001186></A
1187><H3
1188><A
1189NAME="XMLXPATHFUNCT"
1190></A
1191>struct xmlXPathFunct</H3
1192><TABLE
1193BORDER="0"
1194BGCOLOR="#D6E8FF"
1195WIDTH="100%"
1196CELLPADDING="6"
1197><TR
1198><TD
1199><PRE
1200CLASS="PROGRAMLISTING"
1201>struct xmlXPathFunct {
1202 const xmlChar *name; /* the function name */
1203 xmlXPathEvalFunc func; /* the evaluation function */
1204};</PRE
1205></TD
1206></TR
1207></TABLE
1208><P
1209></P
1210></DIV
1211><HR><DIV
1212CLASS="REFSECT2"
1213><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001214NAME="AEN10743"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001215></A
1216><H3
1217><A
1218NAME="XMLXPATHFUNCPTR"
1219></A
1220>xmlXPathFuncPtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001221><TABLE
1222BORDER="0"
1223BGCOLOR="#D6E8FF"
1224WIDTH="100%"
1225CELLPADDING="6"
1226><TR
1227><TD
1228><PRE
1229CLASS="PROGRAMLISTING"
1230>typedef xmlXPathFunct *xmlXPathFuncPtr;</PRE
1231></TD
1232></TR
1233></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001234><P
1235></P
1236></DIV
1237><HR><DIV
1238CLASS="REFSECT2"
1239><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001240NAME="AEN10748"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001241></A
1242><H3
1243><A
1244NAME="XMLXPATHAXISFUNC"
1245></A
1246>xmlXPathAxisFunc ()</H3
1247><TABLE
1248BORDER="0"
1249BGCOLOR="#D6E8FF"
1250WIDTH="100%"
1251CELLPADDING="6"
1252><TR
1253><TD
1254><PRE
1255CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001256><A
1257HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
1258>xmlXPathObjectPtr</A
1259> (*xmlXPathAxisFunc) (<A
1260HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
1261>xmlXPathParserContextPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001262> ctxt,
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001263 <A
1264HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
1265>xmlXPathObjectPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001266> cur);</PRE
1267></TD
1268></TR
1269></TABLE
1270><P
1271></P
1272><DIV
1273CLASS="INFORMALTABLE"
1274><P
1275></P
1276><TABLE
1277BORDER="0"
1278WIDTH="100%"
1279BGCOLOR="#FFD0D0"
1280CELLSPACING="0"
1281CELLPADDING="4"
1282CLASS="CALSTABLE"
1283><TR
1284><TD
1285WIDTH="20%"
1286ALIGN="RIGHT"
1287VALIGN="TOP"
1288><TT
1289CLASS="PARAMETER"
1290><I
1291>ctxt</I
1292></TT
1293>&nbsp;:</TD
1294><TD
1295WIDTH="80%"
1296ALIGN="LEFT"
1297VALIGN="TOP"
1298>&nbsp;</TD
1299></TR
1300><TR
1301><TD
1302WIDTH="20%"
1303ALIGN="RIGHT"
1304VALIGN="TOP"
1305><TT
1306CLASS="PARAMETER"
1307><I
1308>cur</I
1309></TT
1310>&nbsp;:</TD
1311><TD
1312WIDTH="80%"
1313ALIGN="LEFT"
1314VALIGN="TOP"
1315>&nbsp;</TD
1316></TR
1317><TR
1318><TD
1319WIDTH="20%"
1320ALIGN="RIGHT"
1321VALIGN="TOP"
1322><I
1323CLASS="EMPHASIS"
1324>Returns</I
1325> :</TD
1326><TD
1327WIDTH="80%"
1328ALIGN="LEFT"
1329VALIGN="TOP"
1330>&nbsp;</TD
1331></TR
1332></TABLE
1333><P
1334></P
1335></DIV
1336></DIV
1337><HR><DIV
1338CLASS="REFSECT2"
1339><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001340NAME="AEN10773"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001341></A
1342><H3
1343><A
1344NAME="XMLXPATHAXIS"
1345></A
1346>struct xmlXPathAxis</H3
1347><TABLE
1348BORDER="0"
1349BGCOLOR="#D6E8FF"
1350WIDTH="100%"
1351CELLPADDING="6"
1352><TR
1353><TD
1354><PRE
1355CLASS="PROGRAMLISTING"
1356>struct xmlXPathAxis {
1357 const xmlChar *name; /* the axis name */
1358 xmlXPathAxisFunc func; /* the search function */
1359};</PRE
1360></TD
1361></TR
1362></TABLE
1363><P
1364></P
1365></DIV
1366><HR><DIV
1367CLASS="REFSECT2"
1368><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001369NAME="AEN10778"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001370></A
1371><H3
1372><A
1373NAME="XMLXPATHAXISPTR"
1374></A
1375>xmlXPathAxisPtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001376><TABLE
1377BORDER="0"
1378BGCOLOR="#D6E8FF"
1379WIDTH="100%"
1380CELLPADDING="6"
1381><TR
1382><TD
1383><PRE
1384CLASS="PROGRAMLISTING"
1385>typedef xmlXPathAxis *xmlXPathAxisPtr;</PRE
1386></TD
1387></TR
1388></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001389><P
1390></P
1391></DIV
1392><HR><DIV
1393CLASS="REFSECT2"
1394><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001395NAME="AEN10783"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001396></A
1397><H3
1398><A
1399NAME="XMLXPATHFUNCTION"
1400></A
1401>xmlXPathFunction ()</H3
1402><TABLE
1403BORDER="0"
1404BGCOLOR="#D6E8FF"
1405WIDTH="100%"
1406CELLPADDING="6"
1407><TR
1408><TD
1409><PRE
1410CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001411>void (*xmlXPathFunction) (<A
1412HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
1413>xmlXPathParserContextPtr</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001414> ctxt,
1415 int nargs);</PRE
1416></TD
1417></TR
1418></TABLE
1419><P
1420></P
1421><DIV
1422CLASS="INFORMALTABLE"
1423><P
1424></P
1425><TABLE
1426BORDER="0"
1427WIDTH="100%"
1428BGCOLOR="#FFD0D0"
1429CELLSPACING="0"
1430CELLPADDING="4"
1431CLASS="CALSTABLE"
1432><TR
1433><TD
1434WIDTH="20%"
1435ALIGN="RIGHT"
1436VALIGN="TOP"
1437><TT
1438CLASS="PARAMETER"
1439><I
1440>ctxt</I
1441></TT
1442>&nbsp;:</TD
1443><TD
1444WIDTH="80%"
1445ALIGN="LEFT"
1446VALIGN="TOP"
1447>&nbsp;</TD
1448></TR
1449><TR
1450><TD
1451WIDTH="20%"
1452ALIGN="RIGHT"
1453VALIGN="TOP"
1454><TT
1455CLASS="PARAMETER"
1456><I
1457>nargs</I
1458></TT
1459>&nbsp;:</TD
1460><TD
1461WIDTH="80%"
1462ALIGN="LEFT"
1463VALIGN="TOP"
1464>&nbsp;</TD
1465></TR
1466></TABLE
1467><P
1468></P
1469></DIV
1470></DIV
1471><HR><DIV
1472CLASS="REFSECT2"
1473><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001474NAME="AEN10802"
Daniel Veillard7e99c632000-10-06 12:59:53 +00001475></A
1476><H3
1477><A
1478NAME="CHECK-ERROR"
1479></A
1480>CHECK_ERROR</H3
1481><TABLE
1482BORDER="0"
1483BGCOLOR="#D6E8FF"
1484WIDTH="100%"
1485CELLPADDING="6"
1486><TR
1487><TD
1488><PRE
1489CLASS="PROGRAMLISTING"
1490>#define CHECK_ERROR</PRE
1491></TD
1492></TR
1493></TABLE
1494><P
1495></P
1496></DIV
1497><HR><DIV
1498CLASS="REFSECT2"
1499><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001500NAME="AEN10807"
Daniel Veillard7e99c632000-10-06 12:59:53 +00001501></A
1502><H3
1503><A
1504NAME="CHECK-ERROR0"
1505></A
1506>CHECK_ERROR0</H3
1507><TABLE
1508BORDER="0"
1509BGCOLOR="#D6E8FF"
1510WIDTH="100%"
1511CELLPADDING="6"
1512><TR
1513><TD
1514><PRE
1515CLASS="PROGRAMLISTING"
1516>#define CHECK_ERROR0</PRE
1517></TD
1518></TR
1519></TABLE
1520><P
1521></P
1522></DIV
1523><HR><DIV
1524CLASS="REFSECT2"
1525><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001526NAME="AEN10812"
Daniel Veillard7e99c632000-10-06 12:59:53 +00001527></A
1528><H3
1529><A
1530NAME="XP-ERROR"
1531></A
1532>XP_ERROR()</H3
1533><TABLE
1534BORDER="0"
1535BGCOLOR="#D6E8FF"
1536WIDTH="100%"
1537CELLPADDING="6"
1538><TR
1539><TD
1540><PRE
1541CLASS="PROGRAMLISTING"
1542>#define XP_ERROR(X)</PRE
1543></TD
1544></TR
1545></TABLE
1546><P
1547></P
1548><DIV
1549CLASS="INFORMALTABLE"
1550><P
1551></P
1552><TABLE
1553BORDER="0"
1554WIDTH="100%"
1555BGCOLOR="#FFD0D0"
1556CELLSPACING="0"
1557CELLPADDING="4"
1558CLASS="CALSTABLE"
1559><TR
1560><TD
1561WIDTH="20%"
1562ALIGN="RIGHT"
1563VALIGN="TOP"
1564><TT
1565CLASS="PARAMETER"
1566><I
1567>X</I
1568></TT
1569>&nbsp;:</TD
1570><TD
1571WIDTH="80%"
1572ALIGN="LEFT"
1573VALIGN="TOP"
1574>&nbsp;</TD
1575></TR
1576></TABLE
1577><P
1578></P
1579></DIV
1580></DIV
1581><HR><DIV
1582CLASS="REFSECT2"
1583><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001584NAME="AEN10826"
Daniel Veillard7e99c632000-10-06 12:59:53 +00001585></A
1586><H3
1587><A
1588NAME="XP-ERROR0"
1589></A
1590>XP_ERROR0()</H3
1591><TABLE
1592BORDER="0"
1593BGCOLOR="#D6E8FF"
1594WIDTH="100%"
1595CELLPADDING="6"
1596><TR
1597><TD
1598><PRE
1599CLASS="PROGRAMLISTING"
1600>#define XP_ERROR0(X)</PRE
1601></TD
1602></TR
1603></TABLE
1604><P
1605></P
1606><DIV
1607CLASS="INFORMALTABLE"
1608><P
1609></P
1610><TABLE
1611BORDER="0"
1612WIDTH="100%"
1613BGCOLOR="#FFD0D0"
1614CELLSPACING="0"
1615CELLPADDING="4"
1616CLASS="CALSTABLE"
1617><TR
1618><TD
1619WIDTH="20%"
1620ALIGN="RIGHT"
1621VALIGN="TOP"
1622><TT
1623CLASS="PARAMETER"
1624><I
1625>X</I
1626></TT
1627>&nbsp;:</TD
1628><TD
1629WIDTH="80%"
1630ALIGN="LEFT"
1631VALIGN="TOP"
1632>&nbsp;</TD
1633></TR
1634></TABLE
1635><P
1636></P
1637></DIV
1638></DIV
1639><HR><DIV
1640CLASS="REFSECT2"
1641><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001642NAME="AEN10840"
Daniel Veillard7e99c632000-10-06 12:59:53 +00001643></A
1644><H3
1645><A
1646NAME="CHECK-TYPE"
1647></A
1648>CHECK_TYPE()</H3
1649><TABLE
1650BORDER="0"
1651BGCOLOR="#D6E8FF"
1652WIDTH="100%"
1653CELLPADDING="6"
1654><TR
1655><TD
1656><PRE
1657CLASS="PROGRAMLISTING"
1658>#define CHECK_TYPE(typeval)</PRE
1659></TD
1660></TR
1661></TABLE
1662><P
1663></P
1664><DIV
1665CLASS="INFORMALTABLE"
1666><P
1667></P
1668><TABLE
1669BORDER="0"
1670WIDTH="100%"
1671BGCOLOR="#FFD0D0"
1672CELLSPACING="0"
1673CELLPADDING="4"
1674CLASS="CALSTABLE"
1675><TR
1676><TD
1677WIDTH="20%"
1678ALIGN="RIGHT"
1679VALIGN="TOP"
1680><TT
1681CLASS="PARAMETER"
1682><I
1683>typeval</I
1684></TT
1685>&nbsp;:</TD
1686><TD
1687WIDTH="80%"
1688ALIGN="LEFT"
1689VALIGN="TOP"
1690>&nbsp;</TD
1691></TR
1692></TABLE
1693><P
1694></P
1695></DIV
1696></DIV
1697><HR><DIV
1698CLASS="REFSECT2"
1699><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001700NAME="AEN10854"
1701></A
1702><H3
1703><A
1704NAME="XMLXPATHDEBUGDUMPOBJECT"
1705></A
1706>xmlXPathDebugDumpObject ()</H3
1707><TABLE
1708BORDER="0"
1709BGCOLOR="#D6E8FF"
1710WIDTH="100%"
1711CELLPADDING="6"
1712><TR
1713><TD
1714><PRE
1715CLASS="PROGRAMLISTING"
1716>void xmlXPathDebugDumpObject (<GTKDOCLINK
1717HREF="FILE"
1718>FILE</GTKDOCLINK
1719> *output,
1720 <A
1721HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
1722>xmlXPathObjectPtr</A
1723> cur,
1724 int depth);</PRE
1725></TD
1726></TR
1727></TABLE
1728><P
1729></P
1730><DIV
1731CLASS="INFORMALTABLE"
1732><P
1733></P
1734><TABLE
1735BORDER="0"
1736WIDTH="100%"
1737BGCOLOR="#FFD0D0"
1738CELLSPACING="0"
1739CELLPADDING="4"
1740CLASS="CALSTABLE"
1741><TR
1742><TD
1743WIDTH="20%"
1744ALIGN="RIGHT"
1745VALIGN="TOP"
1746><TT
1747CLASS="PARAMETER"
1748><I
1749>output</I
1750></TT
1751>&nbsp;:</TD
1752><TD
1753WIDTH="80%"
1754ALIGN="LEFT"
1755VALIGN="TOP"
1756>&nbsp;</TD
1757></TR
1758><TR
1759><TD
1760WIDTH="20%"
1761ALIGN="RIGHT"
1762VALIGN="TOP"
1763><TT
1764CLASS="PARAMETER"
1765><I
1766>cur</I
1767></TT
1768>&nbsp;:</TD
1769><TD
1770WIDTH="80%"
1771ALIGN="LEFT"
1772VALIGN="TOP"
1773>&nbsp;</TD
1774></TR
1775><TR
1776><TD
1777WIDTH="20%"
1778ALIGN="RIGHT"
1779VALIGN="TOP"
1780><TT
1781CLASS="PARAMETER"
1782><I
1783>depth</I
1784></TT
1785>&nbsp;:</TD
1786><TD
1787WIDTH="80%"
1788ALIGN="LEFT"
1789VALIGN="TOP"
1790>&nbsp;</TD
1791></TR
1792></TABLE
1793><P
1794></P
1795></DIV
1796></DIV
1797><HR><DIV
1798CLASS="REFSECT2"
1799><A
1800NAME="AEN10878"
1801></A
1802><H3
1803><A
1804NAME="XMLXPATHNEWPARSERCONTEXT"
1805></A
1806>xmlXPathNewParserContext ()</H3
1807><TABLE
1808BORDER="0"
1809BGCOLOR="#D6E8FF"
1810WIDTH="100%"
1811CELLPADDING="6"
1812><TR
1813><TD
1814><PRE
1815CLASS="PROGRAMLISTING"
1816><A
1817HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
1818>xmlXPathParserContextPtr</A
1819> xmlXPathNewParserContext
1820 (const <A
1821HREF="gnome-xml-tree.html#XMLCHAR"
1822>xmlChar</A
1823> *str,
1824 <A
1825HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
1826>xmlXPathContextPtr</A
1827> ctxt);</PRE
1828></TD
1829></TR
1830></TABLE
1831><P
1832>Create a new xmlXPathParserContext</P
1833><P
1834></P
1835><DIV
1836CLASS="INFORMALTABLE"
1837><P
1838></P
1839><TABLE
1840BORDER="0"
1841WIDTH="100%"
1842BGCOLOR="#FFD0D0"
1843CELLSPACING="0"
1844CELLPADDING="4"
1845CLASS="CALSTABLE"
1846><TR
1847><TD
1848WIDTH="20%"
1849ALIGN="RIGHT"
1850VALIGN="TOP"
1851><TT
1852CLASS="PARAMETER"
1853><I
1854>str</I
1855></TT
1856>&nbsp;:</TD
1857><TD
1858WIDTH="80%"
1859ALIGN="LEFT"
1860VALIGN="TOP"
1861> the XPath expression</TD
1862></TR
1863><TR
1864><TD
1865WIDTH="20%"
1866ALIGN="RIGHT"
1867VALIGN="TOP"
1868><TT
1869CLASS="PARAMETER"
1870><I
1871>ctxt</I
1872></TT
1873>&nbsp;:</TD
1874><TD
1875WIDTH="80%"
1876ALIGN="LEFT"
1877VALIGN="TOP"
1878> the XPath context</TD
1879></TR
1880><TR
1881><TD
1882WIDTH="20%"
1883ALIGN="RIGHT"
1884VALIGN="TOP"
1885><I
1886CLASS="EMPHASIS"
1887>Returns</I
1888> :</TD
1889><TD
1890WIDTH="80%"
1891ALIGN="LEFT"
1892VALIGN="TOP"
1893>the xmlXPathParserContext just allocated.</TD
1894></TR
1895></TABLE
1896><P
1897></P
1898></DIV
1899></DIV
1900><HR><DIV
1901CLASS="REFSECT2"
1902><A
1903NAME="AEN10904"
1904></A
1905><H3
1906><A
1907NAME="XMLXPATHFREEPARSERCONTEXT"
1908></A
1909>xmlXPathFreeParserContext ()</H3
1910><TABLE
1911BORDER="0"
1912BGCOLOR="#D6E8FF"
1913WIDTH="100%"
1914CELLPADDING="6"
1915><TR
1916><TD
1917><PRE
1918CLASS="PROGRAMLISTING"
1919>void xmlXPathFreeParserContext (<A
1920HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
1921>xmlXPathParserContextPtr</A
1922> ctxt);</PRE
1923></TD
1924></TR
1925></TABLE
1926><P
1927>Free up an xmlXPathParserContext</P
1928><P
1929></P
1930><DIV
1931CLASS="INFORMALTABLE"
1932><P
1933></P
1934><TABLE
1935BORDER="0"
1936WIDTH="100%"
1937BGCOLOR="#FFD0D0"
1938CELLSPACING="0"
1939CELLPADDING="4"
1940CLASS="CALSTABLE"
1941><TR
1942><TD
1943WIDTH="20%"
1944ALIGN="RIGHT"
1945VALIGN="TOP"
1946><TT
1947CLASS="PARAMETER"
1948><I
1949>ctxt</I
1950></TT
1951>&nbsp;:</TD
1952><TD
1953WIDTH="80%"
1954ALIGN="LEFT"
1955VALIGN="TOP"
1956> the context to free</TD
1957></TR
1958></TABLE
1959><P
1960></P
1961></DIV
1962></DIV
1963><HR><DIV
1964CLASS="REFSECT2"
1965><A
1966NAME="AEN10920"
Daniel Veillard7e99c632000-10-06 12:59:53 +00001967></A
1968><H3
1969><A
1970NAME="VALUEPOP"
1971></A
1972>valuePop ()</H3
1973><TABLE
1974BORDER="0"
1975BGCOLOR="#D6E8FF"
1976WIDTH="100%"
1977CELLPADDING="6"
1978><TR
1979><TD
1980><PRE
1981CLASS="PROGRAMLISTING"
1982><A
1983HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
1984>xmlXPathObjectPtr</A
1985> valuePop (<A
1986HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
1987>xmlXPathParserContextPtr</A
1988> ctxt);</PRE
1989></TD
1990></TR
1991></TABLE
1992><P
1993></P
1994><DIV
1995CLASS="INFORMALTABLE"
1996><P
1997></P
1998><TABLE
1999BORDER="0"
2000WIDTH="100%"
2001BGCOLOR="#FFD0D0"
2002CELLSPACING="0"
2003CELLPADDING="4"
2004CLASS="CALSTABLE"
2005><TR
2006><TD
2007WIDTH="20%"
2008ALIGN="RIGHT"
2009VALIGN="TOP"
2010><TT
2011CLASS="PARAMETER"
2012><I
2013>ctxt</I
2014></TT
2015>&nbsp;:</TD
2016><TD
2017WIDTH="80%"
2018ALIGN="LEFT"
2019VALIGN="TOP"
2020>&nbsp;</TD
2021></TR
2022><TR
2023><TD
2024WIDTH="20%"
2025ALIGN="RIGHT"
2026VALIGN="TOP"
2027><I
2028CLASS="EMPHASIS"
2029>Returns</I
2030> :</TD
2031><TD
2032WIDTH="80%"
2033ALIGN="LEFT"
2034VALIGN="TOP"
2035>&nbsp;</TD
2036></TR
2037></TABLE
2038><P
2039></P
2040></DIV
2041></DIV
2042><HR><DIV
2043CLASS="REFSECT2"
2044><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002045NAME="AEN10940"
Daniel Veillard7e99c632000-10-06 12:59:53 +00002046></A
2047><H3
2048><A
2049NAME="VALUEPUSH"
2050></A
2051>valuePush ()</H3
2052><TABLE
2053BORDER="0"
2054BGCOLOR="#D6E8FF"
2055WIDTH="100%"
2056CELLPADDING="6"
2057><TR
2058><TD
2059><PRE
2060CLASS="PROGRAMLISTING"
2061>int valuePush (<A
2062HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
2063>xmlXPathParserContextPtr</A
2064> ctxt,
2065 <A
2066HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
2067>xmlXPathObjectPtr</A
2068> value);</PRE
2069></TD
2070></TR
2071></TABLE
2072><P
2073></P
2074><DIV
2075CLASS="INFORMALTABLE"
2076><P
2077></P
2078><TABLE
2079BORDER="0"
2080WIDTH="100%"
2081BGCOLOR="#FFD0D0"
2082CELLSPACING="0"
2083CELLPADDING="4"
2084CLASS="CALSTABLE"
2085><TR
2086><TD
2087WIDTH="20%"
2088ALIGN="RIGHT"
2089VALIGN="TOP"
2090><TT
2091CLASS="PARAMETER"
2092><I
2093>ctxt</I
2094></TT
2095>&nbsp;:</TD
2096><TD
2097WIDTH="80%"
2098ALIGN="LEFT"
2099VALIGN="TOP"
2100>&nbsp;</TD
2101></TR
2102><TR
2103><TD
2104WIDTH="20%"
2105ALIGN="RIGHT"
2106VALIGN="TOP"
2107><TT
2108CLASS="PARAMETER"
2109><I
2110>value</I
2111></TT
2112>&nbsp;:</TD
2113><TD
2114WIDTH="80%"
2115ALIGN="LEFT"
2116VALIGN="TOP"
2117>&nbsp;</TD
2118></TR
2119><TR
2120><TD
2121WIDTH="20%"
2122ALIGN="RIGHT"
2123VALIGN="TOP"
2124><I
2125CLASS="EMPHASIS"
2126>Returns</I
2127> :</TD
2128><TD
2129WIDTH="80%"
2130ALIGN="LEFT"
2131VALIGN="TOP"
2132>&nbsp;</TD
2133></TR
2134></TABLE
2135><P
2136></P
2137></DIV
2138></DIV
2139><HR><DIV
2140CLASS="REFSECT2"
2141><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002142NAME="AEN10964"
Daniel Veillard7e99c632000-10-06 12:59:53 +00002143></A
2144><H3
2145><A
2146NAME="XMLXPATHNEWSTRING"
2147></A
2148>xmlXPathNewString ()</H3
2149><TABLE
2150BORDER="0"
2151BGCOLOR="#D6E8FF"
2152WIDTH="100%"
2153CELLPADDING="6"
2154><TR
2155><TD
2156><PRE
2157CLASS="PROGRAMLISTING"
2158><A
2159HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
2160>xmlXPathObjectPtr</A
2161> xmlXPathNewString (const <A
2162HREF="gnome-xml-tree.html#XMLCHAR"
2163>xmlChar</A
2164> *val);</PRE
2165></TD
2166></TR
2167></TABLE
2168><P
2169>Create a new xmlXPathObjectPtr of type string and of value <TT
2170CLASS="PARAMETER"
2171><I
2172>val</I
2173></TT
2174></P
2175><P
2176></P
2177><DIV
2178CLASS="INFORMALTABLE"
2179><P
2180></P
2181><TABLE
2182BORDER="0"
2183WIDTH="100%"
2184BGCOLOR="#FFD0D0"
2185CELLSPACING="0"
2186CELLPADDING="4"
2187CLASS="CALSTABLE"
2188><TR
2189><TD
2190WIDTH="20%"
2191ALIGN="RIGHT"
2192VALIGN="TOP"
2193><TT
2194CLASS="PARAMETER"
2195><I
2196>val</I
2197></TT
2198>&nbsp;:</TD
2199><TD
2200WIDTH="80%"
2201ALIGN="LEFT"
2202VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002203> the xmlChar * value</TD
Daniel Veillard7e99c632000-10-06 12:59:53 +00002204></TR
2205><TR
2206><TD
2207WIDTH="20%"
2208ALIGN="RIGHT"
2209VALIGN="TOP"
2210><I
2211CLASS="EMPHASIS"
2212>Returns</I
2213> :</TD
2214><TD
2215WIDTH="80%"
2216ALIGN="LEFT"
2217VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002218>the newly created object.</TD
Daniel Veillard7e99c632000-10-06 12:59:53 +00002219></TR
2220></TABLE
2221><P
2222></P
2223></DIV
2224></DIV
2225><HR><DIV
2226CLASS="REFSECT2"
2227><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002228NAME="AEN10986"
Daniel Veillard7e99c632000-10-06 12:59:53 +00002229></A
2230><H3
2231><A
2232NAME="XMLXPATHNEWNODESET"
2233></A
2234>xmlXPathNewNodeSet ()</H3
2235><TABLE
2236BORDER="0"
2237BGCOLOR="#D6E8FF"
2238WIDTH="100%"
2239CELLPADDING="6"
2240><TR
2241><TD
2242><PRE
2243CLASS="PROGRAMLISTING"
2244><A
2245HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
2246>xmlXPathObjectPtr</A
2247> xmlXPathNewNodeSet (<A
2248HREF="gnome-xml-tree.html#XMLNODEPTR"
2249>xmlNodePtr</A
2250> val);</PRE
2251></TD
2252></TR
2253></TABLE
2254><P
2255>Create a new xmlXPathObjectPtr of type NodeSet and initialize
2256it with the single Node <TT
2257CLASS="PARAMETER"
2258><I
2259>val</I
2260></TT
2261></P
2262><P
2263></P
2264><DIV
2265CLASS="INFORMALTABLE"
2266><P
2267></P
2268><TABLE
2269BORDER="0"
2270WIDTH="100%"
2271BGCOLOR="#FFD0D0"
2272CELLSPACING="0"
2273CELLPADDING="4"
2274CLASS="CALSTABLE"
2275><TR
2276><TD
2277WIDTH="20%"
2278ALIGN="RIGHT"
2279VALIGN="TOP"
2280><TT
2281CLASS="PARAMETER"
2282><I
2283>val</I
2284></TT
2285>&nbsp;:</TD
2286><TD
2287WIDTH="80%"
2288ALIGN="LEFT"
2289VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002290> the NodePtr value</TD
Daniel Veillard7e99c632000-10-06 12:59:53 +00002291></TR
2292><TR
2293><TD
2294WIDTH="20%"
2295ALIGN="RIGHT"
2296VALIGN="TOP"
2297><I
2298CLASS="EMPHASIS"
2299>Returns</I
2300> :</TD
2301><TD
2302WIDTH="80%"
2303ALIGN="LEFT"
2304VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002305>the newly created object.</TD
Daniel Veillard7e99c632000-10-06 12:59:53 +00002306></TR
2307></TABLE
2308><P
2309></P
2310></DIV
2311></DIV
2312><HR><DIV
2313CLASS="REFSECT2"
2314><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002315NAME="AEN11008"
Daniel Veillard7e99c632000-10-06 12:59:53 +00002316></A
2317><H3
2318><A
2319NAME="XMLXPATHNODESETADD"
2320></A
2321>xmlXPathNodeSetAdd ()</H3
2322><TABLE
2323BORDER="0"
2324BGCOLOR="#D6E8FF"
2325WIDTH="100%"
2326CELLPADDING="6"
2327><TR
2328><TD
2329><PRE
2330CLASS="PROGRAMLISTING"
2331>void xmlXPathNodeSetAdd (<A
2332HREF="gnome-xml-xpath.html#XMLNODESETPTR"
2333>xmlNodeSetPtr</A
2334> cur,
2335 <A
2336HREF="gnome-xml-tree.html#XMLNODEPTR"
2337>xmlNodePtr</A
2338> val);</PRE
2339></TD
2340></TR
2341></TABLE
2342><P
2343>add a new xmlNodePtr ot an existing NodeSet</P
2344><P
2345></P
2346><DIV
2347CLASS="INFORMALTABLE"
2348><P
2349></P
2350><TABLE
2351BORDER="0"
2352WIDTH="100%"
2353BGCOLOR="#FFD0D0"
2354CELLSPACING="0"
2355CELLPADDING="4"
2356CLASS="CALSTABLE"
2357><TR
2358><TD
2359WIDTH="20%"
2360ALIGN="RIGHT"
2361VALIGN="TOP"
2362><TT
2363CLASS="PARAMETER"
2364><I
2365>cur</I
2366></TT
2367>&nbsp;:</TD
2368><TD
2369WIDTH="80%"
2370ALIGN="LEFT"
2371VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002372> the initial node set</TD
Daniel Veillard7e99c632000-10-06 12:59:53 +00002373></TR
2374><TR
2375><TD
2376WIDTH="20%"
2377ALIGN="RIGHT"
2378VALIGN="TOP"
2379><TT
2380CLASS="PARAMETER"
2381><I
2382>val</I
2383></TT
2384>&nbsp;:</TD
2385><TD
2386WIDTH="80%"
2387ALIGN="LEFT"
2388VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002389> a new xmlNodePtr</TD
Daniel Veillard7e99c632000-10-06 12:59:53 +00002390></TR
2391></TABLE
2392><P
2393></P
2394></DIV
2395></DIV
2396><HR><DIV
2397CLASS="REFSECT2"
2398><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002399NAME="AEN11029"
Daniel Veillard7e99c632000-10-06 12:59:53 +00002400></A
2401><H3
2402><A
2403NAME="XMLXPATHIDFUNCTION"
2404></A
2405>xmlXPathIdFunction ()</H3
2406><TABLE
2407BORDER="0"
2408BGCOLOR="#D6E8FF"
2409WIDTH="100%"
2410CELLPADDING="6"
2411><TR
2412><TD
2413><PRE
2414CLASS="PROGRAMLISTING"
2415>void xmlXPathIdFunction (<A
2416HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
2417>xmlXPathParserContextPtr</A
2418> ctxt,
2419 int nargs);</PRE
2420></TD
2421></TR
2422></TABLE
2423><P
2424>Implement the <GTKDOCLINK
2425HREF="ID"
2426>id</GTKDOCLINK
2427>() XPath function
2428The id function selects elements by their unique ID
2429(see [5.2.1 Unique IDs]). When the argument to id is of type node-set,
2430then the result is the union of the result of applying id to the
2431string value of each of the nodes in the argument node-set. When the
2432argument to id is of any other type, the argument is converted to a
2433string as if by a call to the string function; the string is split
2434into a whitespace-separated list of tokens (whitespace is any sequence
2435of characters matching the production S); the result is a node-set
2436containing the elements in the same document as the context node that
2437have a unique ID equal to any of the tokens in the list.</P
2438><P
2439></P
2440><DIV
2441CLASS="INFORMALTABLE"
2442><P
2443></P
2444><TABLE
2445BORDER="0"
2446WIDTH="100%"
2447BGCOLOR="#FFD0D0"
2448CELLSPACING="0"
2449CELLPADDING="4"
2450CLASS="CALSTABLE"
2451><TR
2452><TD
2453WIDTH="20%"
2454ALIGN="RIGHT"
2455VALIGN="TOP"
2456><TT
2457CLASS="PARAMETER"
2458><I
2459>ctxt</I
2460></TT
2461>&nbsp;:</TD
2462><TD
2463WIDTH="80%"
2464ALIGN="LEFT"
2465VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002466> the XPath Parser context</TD
Daniel Veillard7e99c632000-10-06 12:59:53 +00002467></TR
2468><TR
2469><TD
2470WIDTH="20%"
2471ALIGN="RIGHT"
2472VALIGN="TOP"
2473><TT
2474CLASS="PARAMETER"
2475><I
2476>nargs</I
2477></TT
2478>&nbsp;:</TD
2479><TD
2480WIDTH="80%"
2481ALIGN="LEFT"
2482VALIGN="TOP"
2483>&nbsp;</TD
2484></TR
2485></TABLE
2486><P
2487></P
2488></DIV
2489></DIV
2490><HR><DIV
2491CLASS="REFSECT2"
2492><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002493NAME="AEN11050"
Daniel Veillard7e99c632000-10-06 12:59:53 +00002494></A
2495><H3
2496><A
2497NAME="XMLXPATHROOT"
2498></A
2499>xmlXPathRoot ()</H3
2500><TABLE
2501BORDER="0"
2502BGCOLOR="#D6E8FF"
2503WIDTH="100%"
2504CELLPADDING="6"
2505><TR
2506><TD
2507><PRE
2508CLASS="PROGRAMLISTING"
2509>void xmlXPathRoot (<A
2510HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
2511>xmlXPathParserContextPtr</A
2512> ctxt);</PRE
2513></TD
2514></TR
2515></TABLE
2516><P
2517>Initialize the context to the root of the document</P
2518><P
2519></P
2520><DIV
2521CLASS="INFORMALTABLE"
2522><P
2523></P
2524><TABLE
2525BORDER="0"
2526WIDTH="100%"
2527BGCOLOR="#FFD0D0"
2528CELLSPACING="0"
2529CELLPADDING="4"
2530CLASS="CALSTABLE"
2531><TR
2532><TD
2533WIDTH="20%"
2534ALIGN="RIGHT"
2535VALIGN="TOP"
2536><TT
2537CLASS="PARAMETER"
2538><I
2539>ctxt</I
2540></TT
2541>&nbsp;:</TD
2542><TD
2543WIDTH="80%"
2544ALIGN="LEFT"
2545VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002546> the XPath Parser context</TD
Daniel Veillard7e99c632000-10-06 12:59:53 +00002547></TR
2548></TABLE
2549><P
2550></P
2551></DIV
2552></DIV
2553><HR><DIV
2554CLASS="REFSECT2"
2555><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002556NAME="AEN11066"
Daniel Veillard7e99c632000-10-06 12:59:53 +00002557></A
2558><H3
2559><A
2560NAME="XMLXPATHEVALEXPR"
2561></A
2562>xmlXPathEvalExpr ()</H3
2563><TABLE
2564BORDER="0"
2565BGCOLOR="#D6E8FF"
2566WIDTH="100%"
2567CELLPADDING="6"
2568><TR
2569><TD
2570><PRE
2571CLASS="PROGRAMLISTING"
2572>void xmlXPathEvalExpr (<A
2573HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
2574>xmlXPathParserContextPtr</A
2575> ctxt);</PRE
2576></TD
2577></TR
2578></TABLE
2579><P
2580>[14] Expr ::= OrExpr
2581[21] OrExpr ::= AndExpr
2582| OrExpr 'or' AndExpr </P
2583><P
2584>Parse and evaluate an expression, then push the result on the stack</P
2585><P
2586></P
2587><DIV
2588CLASS="INFORMALTABLE"
2589><P
2590></P
2591><TABLE
2592BORDER="0"
2593WIDTH="100%"
2594BGCOLOR="#FFD0D0"
2595CELLSPACING="0"
2596CELLPADDING="4"
2597CLASS="CALSTABLE"
2598><TR
2599><TD
2600WIDTH="20%"
2601ALIGN="RIGHT"
2602VALIGN="TOP"
2603><TT
2604CLASS="PARAMETER"
2605><I
2606>ctxt</I
2607></TT
2608>&nbsp;:</TD
2609><TD
2610WIDTH="80%"
2611ALIGN="LEFT"
2612VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002613> the XPath Parser context</TD
Daniel Veillard7e99c632000-10-06 12:59:53 +00002614></TR
2615></TABLE
2616><P
2617></P
2618></DIV
2619></DIV
2620><HR><DIV
2621CLASS="REFSECT2"
2622><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002623NAME="AEN11083"
2624></A
2625><H3
2626><A
2627NAME="XMLXPATHPARSENAME"
2628></A
2629>xmlXPathParseName ()</H3
2630><TABLE
2631BORDER="0"
2632BGCOLOR="#D6E8FF"
2633WIDTH="100%"
2634CELLPADDING="6"
2635><TR
2636><TD
2637><PRE
2638CLASS="PROGRAMLISTING"
2639><A
2640HREF="gnome-xml-tree.html#XMLCHAR"
2641>xmlChar</A
2642>* xmlXPathParseName (<A
2643HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
2644>xmlXPathParserContextPtr</A
2645> ctxt);</PRE
2646></TD
2647></TR
2648></TABLE
2649><P
2650>parse an XML name</P
2651><P
2652>[4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' |
2653CombiningChar | Extender</P
2654><P
2655>[5] Name ::= (Letter | '_' | ':') (NameChar)*</P
2656><P
2657></P
2658><DIV
2659CLASS="INFORMALTABLE"
2660><P
2661></P
2662><TABLE
2663BORDER="0"
2664WIDTH="100%"
2665BGCOLOR="#FFD0D0"
2666CELLSPACING="0"
2667CELLPADDING="4"
2668CLASS="CALSTABLE"
2669><TR
2670><TD
2671WIDTH="20%"
2672ALIGN="RIGHT"
2673VALIGN="TOP"
2674><TT
2675CLASS="PARAMETER"
2676><I
2677>ctxt</I
2678></TT
2679>&nbsp;:</TD
2680><TD
2681WIDTH="80%"
2682ALIGN="LEFT"
2683VALIGN="TOP"
2684> the XPointer Parser context</TD
2685></TR
2686><TR
2687><TD
2688WIDTH="20%"
2689ALIGN="RIGHT"
2690VALIGN="TOP"
2691><I
2692CLASS="EMPHASIS"
2693>Returns</I
2694> :</TD
2695><TD
2696WIDTH="80%"
2697ALIGN="LEFT"
2698VALIGN="TOP"
2699>the namespace name or NULL</TD
2700></TR
2701></TABLE
2702><P
2703></P
2704></DIV
2705></DIV
2706><HR><DIV
2707CLASS="REFSECT2"
2708><A
2709NAME="AEN11106"
2710></A
2711><H3
2712><A
2713NAME="XMLXPATHREGISTERFUNC"
2714></A
2715>xmlXPathRegisterFunc ()</H3
2716><TABLE
2717BORDER="0"
2718BGCOLOR="#D6E8FF"
2719WIDTH="100%"
2720CELLPADDING="6"
2721><TR
2722><TD
2723><PRE
2724CLASS="PROGRAMLISTING"
2725>int xmlXPathRegisterFunc (<A
2726HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
2727>xmlXPathContextPtr</A
2728> ctxt,
2729 const <A
2730HREF="gnome-xml-tree.html#XMLCHAR"
2731>xmlChar</A
2732> *name,
2733 <A
2734HREF="gnome-xml-xpath.html#XMLXPATHFUNCTION"
2735>xmlXPathFunction</A
2736> f);</PRE
2737></TD
2738></TR
2739></TABLE
2740><P
2741>Register a new function. If <TT
2742CLASS="PARAMETER"
2743><I
2744>f</I
2745></TT
2746> is NULL it unregisters the function</P
2747><P
2748></P
2749><DIV
2750CLASS="INFORMALTABLE"
2751><P
2752></P
2753><TABLE
2754BORDER="0"
2755WIDTH="100%"
2756BGCOLOR="#FFD0D0"
2757CELLSPACING="0"
2758CELLPADDING="4"
2759CLASS="CALSTABLE"
2760><TR
2761><TD
2762WIDTH="20%"
2763ALIGN="RIGHT"
2764VALIGN="TOP"
2765><TT
2766CLASS="PARAMETER"
2767><I
2768>ctxt</I
2769></TT
2770>&nbsp;:</TD
2771><TD
2772WIDTH="80%"
2773ALIGN="LEFT"
2774VALIGN="TOP"
2775> the XPath context</TD
2776></TR
2777><TR
2778><TD
2779WIDTH="20%"
2780ALIGN="RIGHT"
2781VALIGN="TOP"
2782><TT
2783CLASS="PARAMETER"
2784><I
2785>name</I
2786></TT
2787>&nbsp;:</TD
2788><TD
2789WIDTH="80%"
2790ALIGN="LEFT"
2791VALIGN="TOP"
2792> the function name</TD
2793></TR
2794><TR
2795><TD
2796WIDTH="20%"
2797ALIGN="RIGHT"
2798VALIGN="TOP"
2799><TT
2800CLASS="PARAMETER"
2801><I
2802>f</I
2803></TT
2804>&nbsp;:</TD
2805><TD
2806WIDTH="80%"
2807ALIGN="LEFT"
2808VALIGN="TOP"
2809> the function implementation or NULL</TD
2810></TR
2811><TR
2812><TD
2813WIDTH="20%"
2814ALIGN="RIGHT"
2815VALIGN="TOP"
2816><I
2817CLASS="EMPHASIS"
2818>Returns</I
2819> :</TD
2820><TD
2821WIDTH="80%"
2822ALIGN="LEFT"
2823VALIGN="TOP"
2824>0 in case of success, -1 in case of error</TD
2825></TR
2826></TABLE
2827><P
2828></P
2829></DIV
2830></DIV
2831><HR><DIV
2832CLASS="REFSECT2"
2833><A
2834NAME="AEN11137"
2835></A
2836><H3
2837><A
2838NAME="XMLXPATHREGISTERVARIABLE"
2839></A
2840>xmlXPathRegisterVariable ()</H3
2841><TABLE
2842BORDER="0"
2843BGCOLOR="#D6E8FF"
2844WIDTH="100%"
2845CELLPADDING="6"
2846><TR
2847><TD
2848><PRE
2849CLASS="PROGRAMLISTING"
2850>int xmlXPathRegisterVariable (<A
2851HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
2852>xmlXPathContextPtr</A
2853> ctxt,
2854 const <A
2855HREF="gnome-xml-tree.html#XMLCHAR"
2856>xmlChar</A
2857> *name,
2858 <A
2859HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
2860>xmlXPathObjectPtr</A
2861> value);</PRE
2862></TD
2863></TR
2864></TABLE
2865><P
2866>Register a new variable value. If <TT
2867CLASS="PARAMETER"
2868><I
2869>value</I
2870></TT
2871> is NULL it unregisters
2872the variable</P
2873><P
2874></P
2875><DIV
2876CLASS="INFORMALTABLE"
2877><P
2878></P
2879><TABLE
2880BORDER="0"
2881WIDTH="100%"
2882BGCOLOR="#FFD0D0"
2883CELLSPACING="0"
2884CELLPADDING="4"
2885CLASS="CALSTABLE"
2886><TR
2887><TD
2888WIDTH="20%"
2889ALIGN="RIGHT"
2890VALIGN="TOP"
2891><TT
2892CLASS="PARAMETER"
2893><I
2894>ctxt</I
2895></TT
2896>&nbsp;:</TD
2897><TD
2898WIDTH="80%"
2899ALIGN="LEFT"
2900VALIGN="TOP"
2901> the XPath context</TD
2902></TR
2903><TR
2904><TD
2905WIDTH="20%"
2906ALIGN="RIGHT"
2907VALIGN="TOP"
2908><TT
2909CLASS="PARAMETER"
2910><I
2911>name</I
2912></TT
2913>&nbsp;:</TD
2914><TD
2915WIDTH="80%"
2916ALIGN="LEFT"
2917VALIGN="TOP"
2918> the variable name</TD
2919></TR
2920><TR
2921><TD
2922WIDTH="20%"
2923ALIGN="RIGHT"
2924VALIGN="TOP"
2925><TT
2926CLASS="PARAMETER"
2927><I
2928>value</I
2929></TT
2930>&nbsp;:</TD
2931><TD
2932WIDTH="80%"
2933ALIGN="LEFT"
2934VALIGN="TOP"
2935> the variable value or NULL</TD
2936></TR
2937><TR
2938><TD
2939WIDTH="20%"
2940ALIGN="RIGHT"
2941VALIGN="TOP"
2942><I
2943CLASS="EMPHASIS"
2944>Returns</I
2945> :</TD
2946><TD
2947WIDTH="80%"
2948ALIGN="LEFT"
2949VALIGN="TOP"
2950>0 in case of success, -1 in case of error</TD
2951></TR
2952></TABLE
2953><P
2954></P
2955></DIV
2956></DIV
2957><HR><DIV
2958CLASS="REFSECT2"
2959><A
2960NAME="AEN11168"
Daniel Veillard7e99c632000-10-06 12:59:53 +00002961></A
2962><H3
2963><A
2964NAME="XMLXPATHINIT"
2965></A
2966>xmlXPathInit ()</H3
2967><TABLE
2968BORDER="0"
2969BGCOLOR="#D6E8FF"
2970WIDTH="100%"
2971CELLPADDING="6"
2972><TR
2973><TD
2974><PRE
2975CLASS="PROGRAMLISTING"
2976>void xmlXPathInit (void);</PRE
2977></TD
2978></TR
2979></TABLE
2980><P
2981>Initialize the XPath environment</P
2982><P
2983></P
2984></DIV
2985><HR><DIV
2986CLASS="REFSECT2"
2987><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002988NAME="AEN11174"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00002989></A
2990><H3
2991><A
2992NAME="XMLXPATHNEWCONTEXT"
2993></A
2994>xmlXPathNewContext ()</H3
2995><TABLE
2996BORDER="0"
2997BGCOLOR="#D6E8FF"
2998WIDTH="100%"
2999CELLPADDING="6"
3000><TR
3001><TD
3002><PRE
3003CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003004><A
3005HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
3006>xmlXPathContextPtr</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00003007> xmlXPathNewContext (<A
3008HREF="gnome-xml-tree.html#XMLDOCPTR"
3009>xmlDocPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003010> doc);</PRE
Daniel Veillard1566d3a1999-07-15 14:24:29 +00003011></TD
3012></TR
3013></TABLE
3014><P
3015>Create a new xmlXPathContext</P
3016><P
3017></P
3018><DIV
3019CLASS="INFORMALTABLE"
3020><P
3021></P
3022><TABLE
3023BORDER="0"
3024WIDTH="100%"
3025BGCOLOR="#FFD0D0"
3026CELLSPACING="0"
3027CELLPADDING="4"
3028CLASS="CALSTABLE"
3029><TR
3030><TD
3031WIDTH="20%"
3032ALIGN="RIGHT"
3033VALIGN="TOP"
3034><TT
3035CLASS="PARAMETER"
3036><I
3037>doc</I
3038></TT
3039>&nbsp;:</TD
3040><TD
3041WIDTH="80%"
3042ALIGN="LEFT"
3043VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003044> the XML document</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00003045></TR
3046><TR
3047><TD
3048WIDTH="20%"
3049ALIGN="RIGHT"
3050VALIGN="TOP"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00003051><I
3052CLASS="EMPHASIS"
3053>Returns</I
3054> :</TD
3055><TD
3056WIDTH="80%"
3057ALIGN="LEFT"
3058VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003059>the xmlXPathContext just allocated.</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00003060></TR
3061></TABLE
3062><P
3063></P
3064></DIV
3065></DIV
3066><HR><DIV
3067CLASS="REFSECT2"
3068><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003069NAME="AEN11195"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00003070></A
3071><H3
3072><A
3073NAME="XMLXPATHFREECONTEXT"
3074></A
3075>xmlXPathFreeContext ()</H3
3076><TABLE
3077BORDER="0"
3078BGCOLOR="#D6E8FF"
3079WIDTH="100%"
3080CELLPADDING="6"
3081><TR
3082><TD
3083><PRE
3084CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003085>void xmlXPathFreeContext (<A
3086HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
3087>xmlXPathContextPtr</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00003088> ctxt);</PRE
3089></TD
3090></TR
3091></TABLE
3092><P
3093>Free up an xmlXPathContext</P
3094><P
3095></P
3096><DIV
3097CLASS="INFORMALTABLE"
3098><P
3099></P
3100><TABLE
3101BORDER="0"
3102WIDTH="100%"
3103BGCOLOR="#FFD0D0"
3104CELLSPACING="0"
3105CELLPADDING="4"
3106CLASS="CALSTABLE"
3107><TR
3108><TD
3109WIDTH="20%"
3110ALIGN="RIGHT"
3111VALIGN="TOP"
3112><TT
3113CLASS="PARAMETER"
3114><I
3115>ctxt</I
3116></TT
3117>&nbsp;:</TD
3118><TD
3119WIDTH="80%"
3120ALIGN="LEFT"
3121VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003122> the context to free</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00003123></TR
3124></TABLE
3125><P
3126></P
3127></DIV
3128></DIV
3129><HR><DIV
3130CLASS="REFSECT2"
3131><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003132NAME="AEN11211"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00003133></A
3134><H3
3135><A
3136NAME="XMLXPATHEVAL"
3137></A
3138>xmlXPathEval ()</H3
3139><TABLE
3140BORDER="0"
3141BGCOLOR="#D6E8FF"
3142WIDTH="100%"
3143CELLPADDING="6"
3144><TR
3145><TD
3146><PRE
3147CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003148><A
3149HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
3150>xmlXPathObjectPtr</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00003151> xmlXPathEval (const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003152HREF="gnome-xml-tree.html#XMLCHAR"
3153>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00003154> *str,
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003155 <A
3156HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
3157>xmlXPathContextPtr</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00003158> ctxt);</PRE
3159></TD
3160></TR
3161></TABLE
3162><P
3163>Evaluate the XPath Location Path in the given context.</P
3164><P
3165></P
3166><DIV
3167CLASS="INFORMALTABLE"
3168><P
3169></P
3170><TABLE
3171BORDER="0"
3172WIDTH="100%"
3173BGCOLOR="#FFD0D0"
3174CELLSPACING="0"
3175CELLPADDING="4"
3176CLASS="CALSTABLE"
3177><TR
3178><TD
3179WIDTH="20%"
3180ALIGN="RIGHT"
3181VALIGN="TOP"
3182><TT
3183CLASS="PARAMETER"
3184><I
3185>str</I
3186></TT
3187>&nbsp;:</TD
3188><TD
3189WIDTH="80%"
3190ALIGN="LEFT"
3191VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003192> the XPath expression</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00003193></TR
3194><TR
3195><TD
3196WIDTH="20%"
3197ALIGN="RIGHT"
3198VALIGN="TOP"
3199><TT
3200CLASS="PARAMETER"
3201><I
3202>ctxt</I
3203></TT
3204>&nbsp;:</TD
3205><TD
3206WIDTH="80%"
3207ALIGN="LEFT"
3208VALIGN="TOP"
Daniel Veillard7e99c632000-10-06 12:59:53 +00003209>&nbsp;</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00003210></TR
3211><TR
3212><TD
3213WIDTH="20%"
3214ALIGN="RIGHT"
3215VALIGN="TOP"
3216><I
3217CLASS="EMPHASIS"
3218>Returns</I
3219> :</TD
3220><TD
3221WIDTH="80%"
3222ALIGN="LEFT"
3223VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003224>the xmlXPathObjectPtr resulting from the eveluation or NULL.
3225the caller has to free the object.</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00003226></TR
3227></TABLE
3228><P
3229></P
3230></DIV
3231></DIV
3232><HR><DIV
3233CLASS="REFSECT2"
3234><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003235NAME="AEN11237"
Daniel Veillard7e99c632000-10-06 12:59:53 +00003236></A
3237><H3
3238><A
3239NAME="XMLXPATHEVALXPTREXPR"
3240></A
3241>xmlXPathEvalXPtrExpr ()</H3
3242><TABLE
3243BORDER="0"
3244BGCOLOR="#D6E8FF"
3245WIDTH="100%"
3246CELLPADDING="6"
3247><TR
3248><TD
3249><PRE
3250CLASS="PROGRAMLISTING"
3251><A
3252HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
3253>xmlXPathObjectPtr</A
3254> xmlXPathEvalXPtrExpr (const <A
3255HREF="gnome-xml-tree.html#XMLCHAR"
3256>xmlChar</A
3257> *str,
3258 <A
3259HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
3260>xmlXPathContextPtr</A
3261> ctxt);</PRE
3262></TD
3263></TR
3264></TABLE
3265><P
Daniel Veillard7e99c632000-10-06 12:59:53 +00003266></P
3267><DIV
3268CLASS="INFORMALTABLE"
3269><P
3270></P
3271><TABLE
3272BORDER="0"
3273WIDTH="100%"
3274BGCOLOR="#FFD0D0"
3275CELLSPACING="0"
3276CELLPADDING="4"
3277CLASS="CALSTABLE"
3278><TR
3279><TD
3280WIDTH="20%"
3281ALIGN="RIGHT"
3282VALIGN="TOP"
3283><TT
3284CLASS="PARAMETER"
3285><I
3286>str</I
3287></TT
3288>&nbsp;:</TD
3289><TD
3290WIDTH="80%"
3291ALIGN="LEFT"
3292VALIGN="TOP"
3293>&nbsp;</TD
3294></TR
3295><TR
3296><TD
3297WIDTH="20%"
3298ALIGN="RIGHT"
3299VALIGN="TOP"
3300><TT
3301CLASS="PARAMETER"
3302><I
3303>ctxt</I
3304></TT
3305>&nbsp;:</TD
3306><TD
3307WIDTH="80%"
3308ALIGN="LEFT"
3309VALIGN="TOP"
3310>&nbsp;</TD
3311></TR
3312><TR
3313><TD
3314WIDTH="20%"
3315ALIGN="RIGHT"
3316VALIGN="TOP"
3317><I
3318CLASS="EMPHASIS"
3319>Returns</I
3320> :</TD
3321><TD
3322WIDTH="80%"
3323ALIGN="LEFT"
3324VALIGN="TOP"
3325>&nbsp;</TD
3326></TR
3327></TABLE
3328><P
3329></P
3330></DIV
3331></DIV
3332><HR><DIV
3333CLASS="REFSECT2"
3334><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003335NAME="AEN11262"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00003336></A
3337><H3
3338><A
3339NAME="XMLXPATHFREEOBJECT"
3340></A
3341>xmlXPathFreeObject ()</H3
3342><TABLE
3343BORDER="0"
3344BGCOLOR="#D6E8FF"
3345WIDTH="100%"
3346CELLPADDING="6"
3347><TR
3348><TD
3349><PRE
3350CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003351>void xmlXPathFreeObject (<A
3352HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
3353>xmlXPathObjectPtr</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00003354> obj);</PRE
3355></TD
3356></TR
3357></TABLE
3358><P
3359>Free up an xmlXPathObjectPtr object.</P
3360><P
3361></P
3362><DIV
3363CLASS="INFORMALTABLE"
3364><P
3365></P
3366><TABLE
3367BORDER="0"
3368WIDTH="100%"
3369BGCOLOR="#FFD0D0"
3370CELLSPACING="0"
3371CELLPADDING="4"
3372CLASS="CALSTABLE"
3373><TR
3374><TD
3375WIDTH="20%"
3376ALIGN="RIGHT"
3377VALIGN="TOP"
3378><TT
3379CLASS="PARAMETER"
3380><I
3381>obj</I
3382></TT
3383>&nbsp;:</TD
3384><TD
3385WIDTH="80%"
3386ALIGN="LEFT"
3387VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003388> the object to free</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00003389></TR
3390></TABLE
3391><P
3392></P
3393></DIV
3394></DIV
3395><HR><DIV
3396CLASS="REFSECT2"
3397><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003398NAME="AEN11278"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00003399></A
3400><H3
3401><A
3402NAME="XMLXPATHEVALEXPRESSION"
3403></A
3404>xmlXPathEvalExpression ()</H3
3405><TABLE
3406BORDER="0"
3407BGCOLOR="#D6E8FF"
3408WIDTH="100%"
3409CELLPADDING="6"
3410><TR
3411><TD
3412><PRE
3413CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003414><A
3415HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
3416>xmlXPathObjectPtr</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00003417> xmlXPathEvalExpression (const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003418HREF="gnome-xml-tree.html#XMLCHAR"
3419>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00003420> *str,
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003421 <A
3422HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
3423>xmlXPathContextPtr</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00003424> ctxt);</PRE
3425></TD
3426></TR
3427></TABLE
3428><P
3429>Evaluate the XPath expression in the given context.</P
3430><P
3431></P
3432><DIV
3433CLASS="INFORMALTABLE"
3434><P
3435></P
3436><TABLE
3437BORDER="0"
3438WIDTH="100%"
3439BGCOLOR="#FFD0D0"
3440CELLSPACING="0"
3441CELLPADDING="4"
3442CLASS="CALSTABLE"
3443><TR
3444><TD
3445WIDTH="20%"
3446ALIGN="RIGHT"
3447VALIGN="TOP"
3448><TT
3449CLASS="PARAMETER"
3450><I
3451>str</I
3452></TT
3453>&nbsp;:</TD
3454><TD
3455WIDTH="80%"
3456ALIGN="LEFT"
3457VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003458> the XPath expression</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00003459></TR
3460><TR
3461><TD
3462WIDTH="20%"
3463ALIGN="RIGHT"
3464VALIGN="TOP"
3465><TT
3466CLASS="PARAMETER"
3467><I
3468>ctxt</I
3469></TT
3470>&nbsp;:</TD
3471><TD
3472WIDTH="80%"
3473ALIGN="LEFT"
3474VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003475> the XPath context</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00003476></TR
3477><TR
3478><TD
3479WIDTH="20%"
3480ALIGN="RIGHT"
3481VALIGN="TOP"
3482><I
3483CLASS="EMPHASIS"
3484>Returns</I
3485> :</TD
3486><TD
3487WIDTH="80%"
3488ALIGN="LEFT"
3489VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003490>the xmlXPathObjectPtr resulting from the evaluation or NULL.
3491the caller has to free the object.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003492></TR
3493></TABLE
3494><P
3495></P
3496></DIV
3497></DIV
3498><HR><DIV
3499CLASS="REFSECT2"
3500><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003501NAME="AEN11304"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003502></A
3503><H3
3504><A
3505NAME="XMLXPATHNODESETCREATE"
3506></A
3507>xmlXPathNodeSetCreate ()</H3
3508><TABLE
3509BORDER="0"
3510BGCOLOR="#D6E8FF"
3511WIDTH="100%"
3512CELLPADDING="6"
3513><TR
3514><TD
3515><PRE
3516CLASS="PROGRAMLISTING"
3517><A
3518HREF="gnome-xml-xpath.html#XMLNODESETPTR"
3519>xmlNodeSetPtr</A
3520> xmlXPathNodeSetCreate (<A
3521HREF="gnome-xml-tree.html#XMLNODEPTR"
3522>xmlNodePtr</A
3523> val);</PRE
3524></TD
3525></TR
3526></TABLE
3527><P
3528>Create a new xmlNodeSetPtr of type double and of value <TT
3529CLASS="PARAMETER"
3530><I
3531>val</I
3532></TT
3533></P
3534><P
3535></P
3536><DIV
3537CLASS="INFORMALTABLE"
3538><P
3539></P
3540><TABLE
3541BORDER="0"
3542WIDTH="100%"
3543BGCOLOR="#FFD0D0"
3544CELLSPACING="0"
3545CELLPADDING="4"
3546CLASS="CALSTABLE"
3547><TR
3548><TD
3549WIDTH="20%"
3550ALIGN="RIGHT"
3551VALIGN="TOP"
3552><TT
3553CLASS="PARAMETER"
3554><I
3555>val</I
3556></TT
3557>&nbsp;:</TD
3558><TD
3559WIDTH="80%"
3560ALIGN="LEFT"
3561VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003562> an initial xmlNodePtr, or NULL</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003563></TR
3564><TR
3565><TD
3566WIDTH="20%"
3567ALIGN="RIGHT"
3568VALIGN="TOP"
3569><I
3570CLASS="EMPHASIS"
3571>Returns</I
3572> :</TD
3573><TD
3574WIDTH="80%"
3575ALIGN="LEFT"
3576VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003577>the newly created object.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003578></TR
3579></TABLE
3580><P
3581></P
3582></DIV
3583></DIV
3584><HR><DIV
3585CLASS="REFSECT2"
3586><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003587NAME="AEN11326"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003588></A
3589><H3
3590><A
3591NAME="XMLXPATHFREENODESETLIST"
3592></A
3593>xmlXPathFreeNodeSetList ()</H3
3594><TABLE
3595BORDER="0"
3596BGCOLOR="#D6E8FF"
3597WIDTH="100%"
3598CELLPADDING="6"
3599><TR
3600><TD
3601><PRE
3602CLASS="PROGRAMLISTING"
3603>void xmlXPathFreeNodeSetList (<A
3604HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
3605>xmlXPathObjectPtr</A
3606> obj);</PRE
3607></TD
3608></TR
3609></TABLE
3610><P
3611>Free up the xmlXPathObjectPtr <TT
3612CLASS="PARAMETER"
3613><I
3614>obj</I
3615></TT
3616> but don't deallocate the objects in
3617the list contrary to <A
3618HREF="gnome-xml-xpath.html#XMLXPATHFREEOBJECT"
3619>xmlXPathFreeObject</A
3620>().</P
3621><P
3622></P
3623><DIV
3624CLASS="INFORMALTABLE"
3625><P
3626></P
3627><TABLE
3628BORDER="0"
3629WIDTH="100%"
3630BGCOLOR="#FFD0D0"
3631CELLSPACING="0"
3632CELLPADDING="4"
3633CLASS="CALSTABLE"
3634><TR
3635><TD
3636WIDTH="20%"
3637ALIGN="RIGHT"
3638VALIGN="TOP"
3639><TT
3640CLASS="PARAMETER"
3641><I
3642>obj</I
3643></TT
3644>&nbsp;:</TD
3645><TD
3646WIDTH="80%"
3647ALIGN="LEFT"
3648VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003649> an existing NodeSetList object</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003650></TR
3651></TABLE
3652><P
3653></P
3654></DIV
3655></DIV
3656><HR><DIV
3657CLASS="REFSECT2"
3658><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003659NAME="AEN11344"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003660></A
3661><H3
3662><A
3663NAME="XMLXPATHFREENODESET"
3664></A
3665>xmlXPathFreeNodeSet ()</H3
3666><TABLE
3667BORDER="0"
3668BGCOLOR="#D6E8FF"
3669WIDTH="100%"
3670CELLPADDING="6"
3671><TR
3672><TD
3673><PRE
3674CLASS="PROGRAMLISTING"
3675>void xmlXPathFreeNodeSet (<A
3676HREF="gnome-xml-xpath.html#XMLNODESETPTR"
3677>xmlNodeSetPtr</A
3678> obj);</PRE
3679></TD
3680></TR
3681></TABLE
3682><P
3683>Free the NodeSet compound (not the actual nodes !).</P
3684><P
3685></P
3686><DIV
3687CLASS="INFORMALTABLE"
3688><P
3689></P
3690><TABLE
3691BORDER="0"
3692WIDTH="100%"
3693BGCOLOR="#FFD0D0"
3694CELLSPACING="0"
3695CELLPADDING="4"
3696CLASS="CALSTABLE"
3697><TR
3698><TD
3699WIDTH="20%"
3700ALIGN="RIGHT"
3701VALIGN="TOP"
3702><TT
3703CLASS="PARAMETER"
3704><I
3705>obj</I
3706></TT
3707>&nbsp;:</TD
3708><TD
3709WIDTH="80%"
3710ALIGN="LEFT"
3711VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003712> the xmlNodeSetPtr to free</TD
3713></TR
3714></TABLE
3715><P
3716></P
3717></DIV
3718></DIV
3719><HR><DIV
3720CLASS="REFSECT2"
3721><A
3722NAME="AEN11360"
3723></A
3724><H3
3725><A
3726NAME="XMLXPATHOBJECTCOPY"
3727></A
3728>xmlXPathObjectCopy ()</H3
3729><TABLE
3730BORDER="0"
3731BGCOLOR="#D6E8FF"
3732WIDTH="100%"
3733CELLPADDING="6"
3734><TR
3735><TD
3736><PRE
3737CLASS="PROGRAMLISTING"
3738><A
3739HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
3740>xmlXPathObjectPtr</A
3741> xmlXPathObjectCopy (<A
3742HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
3743>xmlXPathObjectPtr</A
3744> val);</PRE
3745></TD
3746></TR
3747></TABLE
3748><P
3749>allocate a new copy of a given object</P
3750><P
3751></P
3752><DIV
3753CLASS="INFORMALTABLE"
3754><P
3755></P
3756><TABLE
3757BORDER="0"
3758WIDTH="100%"
3759BGCOLOR="#FFD0D0"
3760CELLSPACING="0"
3761CELLPADDING="4"
3762CLASS="CALSTABLE"
3763><TR
3764><TD
3765WIDTH="20%"
3766ALIGN="RIGHT"
3767VALIGN="TOP"
3768><TT
3769CLASS="PARAMETER"
3770><I
3771>val</I
3772></TT
3773>&nbsp;:</TD
3774><TD
3775WIDTH="80%"
3776ALIGN="LEFT"
3777VALIGN="TOP"
3778> the original object</TD
3779></TR
3780><TR
3781><TD
3782WIDTH="20%"
3783ALIGN="RIGHT"
3784VALIGN="TOP"
3785><I
3786CLASS="EMPHASIS"
3787>Returns</I
3788> :</TD
3789><TD
3790WIDTH="80%"
3791ALIGN="LEFT"
3792VALIGN="TOP"
3793>the newly created object.</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00003794></TR
3795></TABLE
3796><P
3797></P
3798></DIV
3799></DIV
3800></DIV
3801><DIV
3802CLASS="NAVFOOTER"
Daniel Veillard00fdf371999-10-08 09:40:39 +00003803><BR
3804CLEAR="all"><BR><TABLE
Daniel Veillard1566d3a1999-07-15 14:24:29 +00003805WIDTH="100%"
3806BORDER="0"
3807BGCOLOR="#000000"
3808CELLPADDING="1"
3809CELLSPACING="0"
3810><TR
3811><TD
3812WIDTH="25%"
3813BGCOLOR="#C00000"
3814ALIGN="left"
3815><A
3816HREF="gnome-xml-htmltree.html"
3817><FONT
3818COLOR="#FFFFFF"
3819SIZE="3"
3820><B
3821>&#60;&#60;&#60; Previous Page</B
3822></FONT
3823></A
3824></TD
3825><TD
3826WIDTH="25%"
3827BGCOLOR="#0000C0"
3828ALIGN="center"
3829><FONT
3830COLOR="#FFFFFF"
3831SIZE="3"
3832><B
3833><A
3834HREF="book1.html"
3835><FONT
3836COLOR="#FFFFFF"
3837SIZE="3"
3838><B
3839>Home</B
3840></FONT
3841></A
3842></B
3843></FONT
3844></TD
3845><TD
3846WIDTH="25%"
3847BGCOLOR="#00C000"
3848ALIGN="center"
3849><FONT
3850COLOR="#FFFFFF"
3851SIZE="3"
3852><B
3853><A
Daniel Veillard35008381999-10-25 13:15:52 +00003854HREF="libxml-lib.html"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00003855><FONT
3856COLOR="#FFFFFF"
3857SIZE="3"
3858><B
3859>Up</B
3860></FONT
3861></A
3862></B
3863></FONT
3864></TD
3865><TD
3866WIDTH="25%"
3867BGCOLOR="#C00000"
3868ALIGN="right"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003869><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003870HREF="gnome-xml-xpointer.html"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003871><FONT
3872COLOR="#FFFFFF"
3873SIZE="3"
3874><B
3875>Next Page &#62;&#62;&#62;</B
3876></FONT
3877></A
3878></TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00003879></TR
3880><TR
3881><TD
3882COLSPAN="2"
3883ALIGN="left"
3884><FONT
3885COLOR="#FFFFFF"
3886SIZE="3"
3887><B
3888>HTMLtree</B
3889></FONT
3890></TD
3891><TD
3892COLSPAN="2"
3893ALIGN="right"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003894><FONT
3895COLOR="#FFFFFF"
3896SIZE="3"
3897><B
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003898>xpointer</B
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003899></FONT
3900></TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00003901></TR
3902></TABLE
3903></DIV
3904></BODY
3905></HTML
3906>