blob: 17b1513e1a7c5d15556a88edfec1bb30f4c0392c [file] [log] [blame]
Daniel Veillard9753ad72000-11-13 19:12:23 +00001<HTML
2><HEAD
3><TITLE
4>xpathInternals</TITLE
5><META
6NAME="GENERATOR"
Daniel Veillard503b8932001-01-05 06:36:31 +00007CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK
Daniel Veillard9753ad72000-11-13 19:12:23 +00008REL="HOME"
9TITLE="Gnome XML Library Reference Manual"
10HREF="book1.html"><LINK
11REL="UP"
12TITLE="Libxml Library Reference"
13HREF="libxml-lib.html"><LINK
14REL="PREVIOUS"
15TITLE="xpath"
16HREF="gnome-xml-xpath.html"><LINK
17REL="NEXT"
18TITLE="xpointer"
19HREF="gnome-xml-xpointer.html"></HEAD
20><BODY
21BGCOLOR="#FFFFFF"
22TEXT="#000000"
Daniel Veillard503b8932001-01-05 06:36:31 +000023LINK="#0000FF"
24VLINK="#840084"
25ALINK="#0000FF"
Daniel Veillard9753ad72000-11-13 19:12:23 +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-xpath.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
88HREF="libxml-lib.html"
89><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"
103><A
104HREF="gnome-xml-xpointer.html"
105><FONT
106COLOR="#FFFFFF"
107SIZE="3"
108><B
109>Next Page &#62;&#62;&#62;</B
110></FONT
111></A
112></TD
113></TR
114></TABLE
115></DIV
116><H1
Daniel Veillard503b8932001-01-05 06:36:31 +0000117><A
118NAME="GNOME-XML-XPATHINTERNALS"
119>xpathInternals</A
120></H1
Daniel Veillard9753ad72000-11-13 19:12:23 +0000121><DIV
122CLASS="REFNAMEDIV"
123><A
Daniel Veillard503b8932001-01-05 06:36:31 +0000124NAME="AEN10987"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000125></A
126><H2
127>Name</H2
Daniel Veillard503b8932001-01-05 06:36:31 +0000128>xpathInternals&nbsp;--&nbsp;</DIV
Daniel Veillard9753ad72000-11-13 19:12:23 +0000129><DIV
130CLASS="REFSYNOPSISDIV"
131><A
Daniel Veillard503b8932001-01-05 06:36:31 +0000132NAME="AEN10990"
Daniel Veillard9753ad72000-11-13 19:12:23 +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
147#define <A
Daniel Veillard503b8932001-01-05 06:36:31 +0000148HREF="gnome-xml-xpathinternals.html#CHECK-ERROR-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000149>CHECK_ERROR</A
150>
151#define <A
Daniel Veillard503b8932001-01-05 06:36:31 +0000152HREF="gnome-xml-xpathinternals.html#CHECK-ERROR0-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000153>CHECK_ERROR0</A
154>
155#define <A
Daniel Veillard503b8932001-01-05 06:36:31 +0000156HREF="gnome-xml-xpathinternals.html#XP-ERROR-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000157>XP_ERROR</A
158> (X)
159#define <A
Daniel Veillard503b8932001-01-05 06:36:31 +0000160HREF="gnome-xml-xpathinternals.html#XP-ERROR0-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000161>XP_ERROR0</A
162> (X)
163#define <A
Daniel Veillard503b8932001-01-05 06:36:31 +0000164HREF="gnome-xml-xpathinternals.html#CHECK-TYPE-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000165>CHECK_TYPE</A
166> (typeval)
167#define <A
Daniel Veillard503b8932001-01-05 06:36:31 +0000168HREF="gnome-xml-xpathinternals.html#CHECK-ARITY-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000169>CHECK_ARITY</A
170> (x)
171#define <A
Daniel Veillard503b8932001-01-05 06:36:31 +0000172HREF="gnome-xml-xpathinternals.html#CAST-TO-STRING-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000173>CAST_TO_STRING</A
174>
175#define <A
Daniel Veillard503b8932001-01-05 06:36:31 +0000176HREF="gnome-xml-xpathinternals.html#CAST-TO-NUMBER-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000177>CAST_TO_NUMBER</A
178>
179#define <A
Daniel Veillard503b8932001-01-05 06:36:31 +0000180HREF="gnome-xml-xpathinternals.html#CAST-TO-BOOLEAN-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000181>CAST_TO_BOOLEAN</A
182>
183void <A
184HREF="gnome-xml-xpath.html#XMLXPATHERROR"
185>xmlXPatherror</A
186> (<A
187HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
188>xmlXPathParserContextPtr</A
189> ctxt,
190 const char *file,
191 int line,
192 int no);
193void <A
194HREF="gnome-xml-xpathinternals.html#XMLXPATHDEBUGDUMPOBJECT"
195>xmlXPathDebugDumpObject</A
196> (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000197HREF="FILE-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000198>FILE</GTKDOCLINK
199> *output,
200 <A
201HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
202>xmlXPathObjectPtr</A
203> cur,
204 int depth);
205int <A
Daniel Veillard503b8932001-01-05 06:36:31 +0000206HREF="gnome-xml-xpathinternals.html#XMLXPATHREGISTERNS"
207>xmlXPathRegisterNs</A
208> (<A
209HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
210>xmlXPathContextPtr</A
211> ctxt,
212 const <A
213HREF="gnome-xml-tree.html#XMLCHAR"
214>xmlChar</A
215> *prefix,
216 const <A
217HREF="gnome-xml-tree.html#XMLCHAR"
218>xmlChar</A
219> *ns_uri);
220const <A
221HREF="gnome-xml-tree.html#XMLCHAR"
222>xmlChar</A
223>* <A
224HREF="gnome-xml-xpathinternals.html#XMLXPATHNSLOOKUP"
225>xmlXPathNsLookup</A
226> (<A
227HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
228>xmlXPathContextPtr</A
229> ctxt,
230 const <A
231HREF="gnome-xml-tree.html#XMLCHAR"
232>xmlChar</A
233> *ns_uri);
234void <A
235HREF="gnome-xml-xpathinternals.html#XMLXPATHREGISTEREDNSCLEANUP"
236>xmlXPathRegisteredNsCleanup</A
237> (<A
238HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
239>xmlXPathContextPtr</A
240> ctxt);
241int <A
Daniel Veillard9753ad72000-11-13 19:12:23 +0000242HREF="gnome-xml-xpathinternals.html#XMLXPATHREGISTERFUNC"
243>xmlXPathRegisterFunc</A
244> (<A
245HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
246>xmlXPathContextPtr</A
247> ctxt,
248 const <A
249HREF="gnome-xml-tree.html#XMLCHAR"
250>xmlChar</A
251> *name,
252 <A
253HREF="gnome-xml-xpath.html#XMLXPATHFUNCTION"
254>xmlXPathFunction</A
255> f);
256int <A
257HREF="gnome-xml-xpathinternals.html#XMLXPATHREGISTERFUNCNS"
258>xmlXPathRegisterFuncNS</A
259> (<A
260HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
261>xmlXPathContextPtr</A
262> ctxt,
263 const <A
264HREF="gnome-xml-tree.html#XMLCHAR"
265>xmlChar</A
266> *name,
267 const <A
268HREF="gnome-xml-tree.html#XMLCHAR"
269>xmlChar</A
270> *ns_uri,
271 <A
272HREF="gnome-xml-xpath.html#XMLXPATHFUNCTION"
273>xmlXPathFunction</A
274> f);
275int <A
276HREF="gnome-xml-xpathinternals.html#XMLXPATHREGISTERVARIABLE"
277>xmlXPathRegisterVariable</A
278> (<A
279HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
280>xmlXPathContextPtr</A
281> ctxt,
282 const <A
283HREF="gnome-xml-tree.html#XMLCHAR"
284>xmlChar</A
285> *name,
286 <A
287HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
288>xmlXPathObjectPtr</A
289> value);
290int <A
291HREF="gnome-xml-xpathinternals.html#XMLXPATHREGISTERVARIABLENS"
292>xmlXPathRegisterVariableNS</A
293> (<A
294HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
295>xmlXPathContextPtr</A
296> ctxt,
297 const <A
298HREF="gnome-xml-tree.html#XMLCHAR"
299>xmlChar</A
300> *name,
301 const <A
302HREF="gnome-xml-tree.html#XMLCHAR"
303>xmlChar</A
304> *ns_uri,
305 <A
306HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
307>xmlXPathObjectPtr</A
308> value);
309<A
310HREF="gnome-xml-xpath.html#XMLXPATHFUNCTION"
311>xmlXPathFunction</A
312> <A
313HREF="gnome-xml-xpathinternals.html#XMLXPATHFUNCTIONLOOKUP"
314>xmlXPathFunctionLookup</A
315> (<A
316HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
317>xmlXPathContextPtr</A
318> ctxt,
319 const <A
320HREF="gnome-xml-tree.html#XMLCHAR"
321>xmlChar</A
322> *name);
323<A
324HREF="gnome-xml-xpath.html#XMLXPATHFUNCTION"
325>xmlXPathFunction</A
326> <A
327HREF="gnome-xml-xpathinternals.html#XMLXPATHFUNCTIONLOOKUPNS"
328>xmlXPathFunctionLookupNS</A
329> (<A
330HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
331>xmlXPathContextPtr</A
332> ctxt,
333 const <A
334HREF="gnome-xml-tree.html#XMLCHAR"
335>xmlChar</A
336> *name,
337 const <A
338HREF="gnome-xml-tree.html#XMLCHAR"
339>xmlChar</A
340> *ns_uri);
341void <A
342HREF="gnome-xml-xpathinternals.html#XMLXPATHREGISTEREDFUNCSCLEANUP"
343>xmlXPathRegisteredFuncsCleanup</A
344> (<A
345HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
346>xmlXPathContextPtr</A
347> ctxt);
348<A
349HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
350>xmlXPathObjectPtr</A
351> <A
352HREF="gnome-xml-xpathinternals.html#XMLXPATHVARIABLELOOKUP"
353>xmlXPathVariableLookup</A
354> (<A
355HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
356>xmlXPathContextPtr</A
357> ctxt,
358 const <A
359HREF="gnome-xml-tree.html#XMLCHAR"
360>xmlChar</A
361> *name);
362<A
363HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
364>xmlXPathObjectPtr</A
365> <A
366HREF="gnome-xml-xpathinternals.html#XMLXPATHVARIABLELOOKUPNS"
367>xmlXPathVariableLookupNS</A
368> (<A
369HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
370>xmlXPathContextPtr</A
371> ctxt,
372 const <A
373HREF="gnome-xml-tree.html#XMLCHAR"
374>xmlChar</A
375> *name,
376 const <A
377HREF="gnome-xml-tree.html#XMLCHAR"
378>xmlChar</A
379> *ns_uri);
380void <A
381HREF="gnome-xml-xpathinternals.html#XMLXPATHREGISTEREDVARIABLESCLEANUP"
382>xmlXPathRegisteredVariablesCleanup</A
383>
384 (<A
385HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
386>xmlXPathContextPtr</A
387> ctxt);
388<A
389HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
390>xmlXPathParserContextPtr</A
391> <A
392HREF="gnome-xml-xpathinternals.html#XMLXPATHNEWPARSERCONTEXT"
393>xmlXPathNewParserContext</A
394>
395 (const <A
396HREF="gnome-xml-tree.html#XMLCHAR"
397>xmlChar</A
398> *str,
399 <A
400HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
401>xmlXPathContextPtr</A
402> ctxt);
403void <A
404HREF="gnome-xml-xpathinternals.html#XMLXPATHFREEPARSERCONTEXT"
405>xmlXPathFreeParserContext</A
406> (<A
407HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
408>xmlXPathParserContextPtr</A
409> ctxt);
410<A
411HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
412>xmlXPathObjectPtr</A
413> <A
414HREF="gnome-xml-xpathinternals.html#VALUEPOP"
415>valuePop</A
416> (<A
417HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
418>xmlXPathParserContextPtr</A
419> ctxt);
420int <A
421HREF="gnome-xml-xpathinternals.html#VALUEPUSH"
422>valuePush</A
423> (<A
424HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
425>xmlXPathParserContextPtr</A
426> ctxt,
427 <A
428HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
429>xmlXPathObjectPtr</A
430> value);
431<A
432HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
433>xmlXPathObjectPtr</A
434> <A
435HREF="gnome-xml-xpathinternals.html#XMLXPATHNEWSTRING"
436>xmlXPathNewString</A
437> (const <A
438HREF="gnome-xml-tree.html#XMLCHAR"
439>xmlChar</A
440> *val);
441<A
442HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
443>xmlXPathObjectPtr</A
444> <A
445HREF="gnome-xml-xpathinternals.html#XMLXPATHNEWCSTRING"
446>xmlXPathNewCString</A
447> (const char *val);
448<A
449HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
450>xmlXPathObjectPtr</A
451> <A
452HREF="gnome-xml-xpathinternals.html#XMLXPATHNEWFLOAT"
453>xmlXPathNewFloat</A
454> (<GTKDOCLINK
455HREF="DOUBLE"
456>double</GTKDOCLINK
457> val);
458<A
459HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
460>xmlXPathObjectPtr</A
461> <A
462HREF="gnome-xml-xpathinternals.html#XMLXPATHNEWBOOLEAN"
463>xmlXPathNewBoolean</A
464> (int val);
465<A
466HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
467>xmlXPathObjectPtr</A
468> <A
469HREF="gnome-xml-xpathinternals.html#XMLXPATHNEWNODESET"
470>xmlXPathNewNodeSet</A
471> (<A
472HREF="gnome-xml-tree.html#XMLNODEPTR"
473>xmlNodePtr</A
474> val);
475void <A
476HREF="gnome-xml-xpathinternals.html#XMLXPATHNODESETADD"
477>xmlXPathNodeSetAdd</A
478> (<A
479HREF="gnome-xml-xpath.html#XMLNODESETPTR"
480>xmlNodeSetPtr</A
481> cur,
482 <A
483HREF="gnome-xml-tree.html#XMLNODEPTR"
484>xmlNodePtr</A
485> val);
486void <A
487HREF="gnome-xml-xpathinternals.html#XMLXPATHIDFUNCTION"
488>xmlXPathIdFunction</A
489> (<A
490HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
491>xmlXPathParserContextPtr</A
492> ctxt,
493 int nargs);
494void <A
495HREF="gnome-xml-xpathinternals.html#XMLXPATHROOT"
496>xmlXPathRoot</A
497> (<A
498HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
499>xmlXPathParserContextPtr</A
500> ctxt);
501void <A
502HREF="gnome-xml-xpathinternals.html#XMLXPATHEVALEXPR"
503>xmlXPathEvalExpr</A
504> (<A
505HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
506>xmlXPathParserContextPtr</A
507> ctxt);
508<A
509HREF="gnome-xml-tree.html#XMLCHAR"
510>xmlChar</A
511>* <A
512HREF="gnome-xml-xpathinternals.html#XMLXPATHPARSENAME"
513>xmlXPathParseName</A
514> (<A
515HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
516>xmlXPathParserContextPtr</A
517> ctxt);
Daniel Veillard503b8932001-01-05 06:36:31 +0000518<A
519HREF="gnome-xml-tree.html#XMLCHAR"
520>xmlChar</A
521>* <A
522HREF="gnome-xml-xpathinternals.html#XMLXPATHPARSENCNAME"
523>xmlXPathParseNCName</A
524> (<A
525HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
526>xmlXPathParserContextPtr</A
527> ctxt);
Daniel Veillard9753ad72000-11-13 19:12:23 +0000528<GTKDOCLINK
529HREF="DOUBLE"
530>double</GTKDOCLINK
531> <A
532HREF="gnome-xml-xpathinternals.html#XMLXPATHSTRINGEVALNUMBER"
533>xmlXPathStringEvalNumber</A
534> (const <A
535HREF="gnome-xml-tree.html#XMLCHAR"
536>xmlChar</A
537> *str);
Daniel Veillarda1fe9102000-11-25 10:49:25 +0000538int <A
539HREF="gnome-xml-xpathinternals.html#XMLXPATHEVALUATEPREDICATERESULT"
540>xmlXPathEvaluatePredicateResult</A
541> (<A
542HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
543>xmlXPathParserContextPtr</A
544> ctxt,
545 <A
546HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
547>xmlXPathObjectPtr</A
548> res);
Daniel Veillard9753ad72000-11-13 19:12:23 +0000549void <A
550HREF="gnome-xml-xpath.html#XMLXPATHINIT"
551>xmlXPathInit</A
552> (void);
553void <A
554HREF="gnome-xml-xpathinternals.html#XMLXPATHSTRINGFUNCTION"
555>xmlXPathStringFunction</A
556> (<A
557HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
558>xmlXPathParserContextPtr</A
559> ctxt,
560 int nargs);
561void <A
562HREF="gnome-xml-xpathinternals.html#XMLXPATHREGISTERALLFUNCTIONS"
563>xmlXPathRegisterAllFunctions</A
564> (<A
565HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
566>xmlXPathContextPtr</A
567> ctxt);
568<A
569HREF="gnome-xml-xpath.html#XMLNODESETPTR"
570>xmlNodeSetPtr</A
571> <A
572HREF="gnome-xml-xpath.html#XMLXPATHNODESETCREATE"
573>xmlXPathNodeSetCreate</A
574> (<A
575HREF="gnome-xml-tree.html#XMLNODEPTR"
576>xmlNodePtr</A
577> val);
578<A
579HREF="gnome-xml-xpath.html#XMLNODESETPTR"
580>xmlNodeSetPtr</A
581> <A
582HREF="gnome-xml-xpathinternals.html#XMLXPATHNODESETMERGE"
583>xmlXPathNodeSetMerge</A
584> (<A
585HREF="gnome-xml-xpath.html#XMLNODESETPTR"
586>xmlNodeSetPtr</A
587> val1,
588 <A
589HREF="gnome-xml-xpath.html#XMLNODESETPTR"
590>xmlNodeSetPtr</A
591> val2);
592void <A
593HREF="gnome-xml-xpathinternals.html#XMLXPATHNODESETDEL"
594>xmlXPathNodeSetDel</A
595> (<A
596HREF="gnome-xml-xpath.html#XMLNODESETPTR"
597>xmlNodeSetPtr</A
598> cur,
599 <A
600HREF="gnome-xml-tree.html#XMLNODEPTR"
601>xmlNodePtr</A
602> val);
603void <A
604HREF="gnome-xml-xpathinternals.html#XMLXPATHNODESETREMOVE"
605>xmlXPathNodeSetRemove</A
606> (<A
607HREF="gnome-xml-xpath.html#XMLNODESETPTR"
608>xmlNodeSetPtr</A
609> cur,
610 int val);
611void <A
612HREF="gnome-xml-xpath.html#XMLXPATHFREENODESET"
613>xmlXPathFreeNodeSet</A
614> (<A
615HREF="gnome-xml-xpath.html#XMLNODESETPTR"
616>xmlNodeSetPtr</A
617> obj);
618<A
619HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
620>xmlXPathObjectPtr</A
621> <A
622HREF="gnome-xml-xpathinternals.html#XMLXPATHNEWNODESETLIST"
623>xmlXPathNewNodeSetList</A
624> (<A
625HREF="gnome-xml-xpath.html#XMLNODESETPTR"
626>xmlNodeSetPtr</A
627> val);
628<A
629HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
630>xmlXPathObjectPtr</A
631> <A
632HREF="gnome-xml-xpathinternals.html#XMLXPATHWRAPNODESET"
633>xmlXPathWrapNodeSet</A
634> (<A
635HREF="gnome-xml-xpath.html#XMLNODESETPTR"
636>xmlNodeSetPtr</A
637> val);
638void <A
639HREF="gnome-xml-xpath.html#XMLXPATHFREENODESETLIST"
640>xmlXPathFreeNodeSetList</A
641> (<A
642HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
643>xmlXPathObjectPtr</A
644> obj);
645void <A
646HREF="gnome-xml-xpath.html#XMLXPATHFREEOBJECT"
647>xmlXPathFreeObject</A
648> (<A
649HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
650>xmlXPathObjectPtr</A
651> obj);
652<A
653HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
654>xmlXPathContextPtr</A
655> <A
656HREF="gnome-xml-xpath.html#XMLXPATHNEWCONTEXT"
657>xmlXPathNewContext</A
658> (<A
659HREF="gnome-xml-tree.html#XMLDOCPTR"
660>xmlDocPtr</A
661> doc);
662void <A
663HREF="gnome-xml-xpath.html#XMLXPATHFREECONTEXT"
664>xmlXPathFreeContext</A
665> (<A
666HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
667>xmlXPathContextPtr</A
668> ctxt);
669int <A
670HREF="gnome-xml-xpathinternals.html#XMLXPATHEQUALVALUES"
671>xmlXPathEqualValues</A
672> (<A
673HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
674>xmlXPathParserContextPtr</A
675> ctxt);
676int <A
677HREF="gnome-xml-xpathinternals.html#XMLXPATHCOMPAREVALUES"
678>xmlXPathCompareValues</A
679> (<A
680HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
681>xmlXPathParserContextPtr</A
682> ctxt,
683 int inf,
684 int strict);
685void <A
686HREF="gnome-xml-xpathinternals.html#XMLXPATHVALUEFLIPSIGN"
687>xmlXPathValueFlipSign</A
688> (<A
689HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
690>xmlXPathParserContextPtr</A
691> ctxt);
692void <A
693HREF="gnome-xml-xpathinternals.html#XMLXPATHADDVALUES"
694>xmlXPathAddValues</A
695> (<A
696HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
697>xmlXPathParserContextPtr</A
698> ctxt);
699void <A
700HREF="gnome-xml-xpathinternals.html#XMLXPATHSUBVALUES"
701>xmlXPathSubValues</A
702> (<A
703HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
704>xmlXPathParserContextPtr</A
705> ctxt);
706void <A
707HREF="gnome-xml-xpathinternals.html#XMLXPATHMULTVALUES"
708>xmlXPathMultValues</A
709> (<A
710HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
711>xmlXPathParserContextPtr</A
712> ctxt);
713void <A
714HREF="gnome-xml-xpathinternals.html#XMLXPATHDIVVALUES"
715>xmlXPathDivValues</A
716> (<A
717HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
718>xmlXPathParserContextPtr</A
719> ctxt);
720void <A
721HREF="gnome-xml-xpathinternals.html#XMLXPATHMODVALUES"
722>xmlXPathModValues</A
723> (<A
724HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
725>xmlXPathParserContextPtr</A
726> ctxt);
727void <A
728HREF="gnome-xml-xpathinternals.html#XMLXPATHLASTFUNCTION"
729>xmlXPathLastFunction</A
730> (<A
731HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
732>xmlXPathParserContextPtr</A
733> ctxt,
734 int nargs);
735void <A
736HREF="gnome-xml-xpathinternals.html#XMLXPATHPOSITIONFUNCTION"
737>xmlXPathPositionFunction</A
738> (<A
739HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
740>xmlXPathParserContextPtr</A
741> ctxt,
742 int nargs);
743void <A
744HREF="gnome-xml-xpathinternals.html#XMLXPATHCOUNTFUNCTION"
745>xmlXPathCountFunction</A
746> (<A
747HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
748>xmlXPathParserContextPtr</A
749> ctxt,
750 int nargs);
751void <A
752HREF="gnome-xml-xpathinternals.html#XMLXPATHLOCALNAMEFUNCTION"
753>xmlXPathLocalNameFunction</A
754> (<A
755HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
756>xmlXPathParserContextPtr</A
757> ctxt,
758 int nargs);
759void <A
760HREF="gnome-xml-xpathinternals.html#XMLXPATHNAMESPACEURIFUNCTION"
761>xmlXPathNamespaceURIFunction</A
762> (<A
763HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
764>xmlXPathParserContextPtr</A
765> ctxt,
766 int nargs);
767void <A
768HREF="gnome-xml-xpathinternals.html#XMLXPATHSTRINGLENGTHFUNCTION"
769>xmlXPathStringLengthFunction</A
770> (<A
771HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
772>xmlXPathParserContextPtr</A
773> ctxt,
774 int nargs);
775void <A
776HREF="gnome-xml-xpathinternals.html#XMLXPATHCONCATFUNCTION"
777>xmlXPathConcatFunction</A
778> (<A
779HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
780>xmlXPathParserContextPtr</A
781> ctxt,
782 int nargs);
783void <A
784HREF="gnome-xml-xpathinternals.html#XMLXPATHCONTAINSFUNCTION"
785>xmlXPathContainsFunction</A
786> (<A
787HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
788>xmlXPathParserContextPtr</A
789> ctxt,
790 int nargs);
791void <A
792HREF="gnome-xml-xpathinternals.html#XMLXPATHSTARTSWITHFUNCTION"
793>xmlXPathStartsWithFunction</A
794> (<A
795HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
796>xmlXPathParserContextPtr</A
797> ctxt,
798 int nargs);
799void <A
800HREF="gnome-xml-xpathinternals.html#XMLXPATHSUBSTRINGFUNCTION"
801>xmlXPathSubstringFunction</A
802> (<A
803HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
804>xmlXPathParserContextPtr</A
805> ctxt,
806 int nargs);
807void <A
808HREF="gnome-xml-xpathinternals.html#XMLXPATHSUBSTRINGBEFOREFUNCTION"
809>xmlXPathSubstringBeforeFunction</A
810> (<A
811HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
812>xmlXPathParserContextPtr</A
813> ctxt,
814 int nargs);
815void <A
816HREF="gnome-xml-xpathinternals.html#XMLXPATHSUBSTRINGAFTERFUNCTION"
817>xmlXPathSubstringAfterFunction</A
818> (<A
819HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
820>xmlXPathParserContextPtr</A
821> ctxt,
822 int nargs);
823void <A
824HREF="gnome-xml-xpathinternals.html#XMLXPATHNORMALIZEFUNCTION"
825>xmlXPathNormalizeFunction</A
826> (<A
827HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
828>xmlXPathParserContextPtr</A
829> ctxt,
830 int nargs);
831void <A
832HREF="gnome-xml-xpathinternals.html#XMLXPATHTRANSLATEFUNCTION"
833>xmlXPathTranslateFunction</A
834> (<A
835HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
836>xmlXPathParserContextPtr</A
837> ctxt,
838 int nargs);
839void <A
840HREF="gnome-xml-xpathinternals.html#XMLXPATHNOTFUNCTION"
841>xmlXPathNotFunction</A
842> (<A
843HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
844>xmlXPathParserContextPtr</A
845> ctxt,
846 int nargs);
847void <A
848HREF="gnome-xml-xpathinternals.html#XMLXPATHTRUEFUNCTION"
849>xmlXPathTrueFunction</A
850> (<A
851HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
852>xmlXPathParserContextPtr</A
853> ctxt,
854 int nargs);
855void <A
856HREF="gnome-xml-xpathinternals.html#XMLXPATHFALSEFUNCTION"
857>xmlXPathFalseFunction</A
858> (<A
859HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
860>xmlXPathParserContextPtr</A
861> ctxt,
862 int nargs);
863void <A
864HREF="gnome-xml-xpathinternals.html#XMLXPATHLANGFUNCTION"
865>xmlXPathLangFunction</A
866> (<A
867HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
868>xmlXPathParserContextPtr</A
869> ctxt,
870 int nargs);
871void <A
872HREF="gnome-xml-xpathinternals.html#XMLXPATHNUMBERFUNCTION"
873>xmlXPathNumberFunction</A
874> (<A
875HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
876>xmlXPathParserContextPtr</A
877> ctxt,
878 int nargs);
879void <A
880HREF="gnome-xml-xpathinternals.html#XMLXPATHSUMFUNCTION"
881>xmlXPathSumFunction</A
882> (<A
883HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
884>xmlXPathParserContextPtr</A
885> ctxt,
886 int nargs);
887void <A
888HREF="gnome-xml-xpathinternals.html#XMLXPATHFLOORFUNCTION"
889>xmlXPathFloorFunction</A
890> (<A
891HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
892>xmlXPathParserContextPtr</A
893> ctxt,
894 int nargs);
895void <A
896HREF="gnome-xml-xpathinternals.html#XMLXPATHCEILINGFUNCTION"
897>xmlXPathCeilingFunction</A
898> (<A
899HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
900>xmlXPathParserContextPtr</A
901> ctxt,
902 int nargs);
903void <A
904HREF="gnome-xml-xpathinternals.html#XMLXPATHROUNDFUNCTION"
905>xmlXPathRoundFunction</A
906> (<A
907HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
908>xmlXPathParserContextPtr</A
909> ctxt,
910 int nargs);</PRE
911></TD
912></TR
913></TABLE
914></DIV
915><DIV
916CLASS="REFSECT1"
917><A
Daniel Veillard503b8932001-01-05 06:36:31 +0000918NAME="AEN11199"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000919></A
920><H2
921>Description</H2
922><P
923></P
924></DIV
925><DIV
926CLASS="REFSECT1"
927><A
Daniel Veillard503b8932001-01-05 06:36:31 +0000928NAME="AEN11202"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000929></A
930><H2
931>Details</H2
932><DIV
933CLASS="REFSECT2"
934><A
Daniel Veillard503b8932001-01-05 06:36:31 +0000935NAME="AEN11204"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000936></A
937><H3
938><A
Daniel Veillard503b8932001-01-05 06:36:31 +0000939NAME="CHECK-ERROR-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000940></A
941>CHECK_ERROR</H3
942><TABLE
943BORDER="0"
944BGCOLOR="#D6E8FF"
945WIDTH="100%"
946CELLPADDING="6"
947><TR
948><TD
949><PRE
950CLASS="PROGRAMLISTING"
951>#define CHECK_ERROR</PRE
952></TD
953></TR
954></TABLE
955><P
956></P
957></DIV
958><HR><DIV
959CLASS="REFSECT2"
960><A
Daniel Veillard503b8932001-01-05 06:36:31 +0000961NAME="AEN11209"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000962></A
963><H3
964><A
Daniel Veillard503b8932001-01-05 06:36:31 +0000965NAME="CHECK-ERROR0-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000966></A
967>CHECK_ERROR0</H3
968><TABLE
969BORDER="0"
970BGCOLOR="#D6E8FF"
971WIDTH="100%"
972CELLPADDING="6"
973><TR
974><TD
975><PRE
976CLASS="PROGRAMLISTING"
977>#define CHECK_ERROR0</PRE
978></TD
979></TR
980></TABLE
981><P
982></P
983></DIV
984><HR><DIV
985CLASS="REFSECT2"
986><A
Daniel Veillard503b8932001-01-05 06:36:31 +0000987NAME="AEN11214"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000988></A
989><H3
990><A
Daniel Veillard503b8932001-01-05 06:36:31 +0000991NAME="XP-ERROR-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000992></A
993>XP_ERROR()</H3
994><TABLE
995BORDER="0"
996BGCOLOR="#D6E8FF"
997WIDTH="100%"
998CELLPADDING="6"
999><TR
1000><TD
1001><PRE
1002CLASS="PROGRAMLISTING"
1003>#define XP_ERROR(X)</PRE
1004></TD
1005></TR
1006></TABLE
1007><P
1008></P
1009><DIV
1010CLASS="INFORMALTABLE"
1011><P
1012></P
1013><TABLE
1014BORDER="0"
1015WIDTH="100%"
1016BGCOLOR="#FFD0D0"
1017CELLSPACING="0"
1018CELLPADDING="4"
1019CLASS="CALSTABLE"
1020><TR
1021><TD
1022WIDTH="20%"
1023ALIGN="RIGHT"
1024VALIGN="TOP"
1025><TT
1026CLASS="PARAMETER"
1027><I
1028>X</I
1029></TT
1030>&nbsp;:</TD
1031><TD
1032WIDTH="80%"
1033ALIGN="LEFT"
1034VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001035>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001036></TR
1037></TABLE
1038><P
1039></P
1040></DIV
1041></DIV
1042><HR><DIV
1043CLASS="REFSECT2"
1044><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001045NAME="AEN11228"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001046></A
1047><H3
1048><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001049NAME="XP-ERROR0-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001050></A
1051>XP_ERROR0()</H3
1052><TABLE
1053BORDER="0"
1054BGCOLOR="#D6E8FF"
1055WIDTH="100%"
1056CELLPADDING="6"
1057><TR
1058><TD
1059><PRE
1060CLASS="PROGRAMLISTING"
1061>#define XP_ERROR0(X)</PRE
1062></TD
1063></TR
1064></TABLE
1065><P
1066></P
1067><DIV
1068CLASS="INFORMALTABLE"
1069><P
1070></P
1071><TABLE
1072BORDER="0"
1073WIDTH="100%"
1074BGCOLOR="#FFD0D0"
1075CELLSPACING="0"
1076CELLPADDING="4"
1077CLASS="CALSTABLE"
1078><TR
1079><TD
1080WIDTH="20%"
1081ALIGN="RIGHT"
1082VALIGN="TOP"
1083><TT
1084CLASS="PARAMETER"
1085><I
1086>X</I
1087></TT
1088>&nbsp;:</TD
1089><TD
1090WIDTH="80%"
1091ALIGN="LEFT"
1092VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001093>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001094></TR
1095></TABLE
1096><P
1097></P
1098></DIV
1099></DIV
1100><HR><DIV
1101CLASS="REFSECT2"
1102><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001103NAME="AEN11242"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001104></A
1105><H3
1106><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001107NAME="CHECK-TYPE-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001108></A
1109>CHECK_TYPE()</H3
1110><TABLE
1111BORDER="0"
1112BGCOLOR="#D6E8FF"
1113WIDTH="100%"
1114CELLPADDING="6"
1115><TR
1116><TD
1117><PRE
1118CLASS="PROGRAMLISTING"
1119>#define CHECK_TYPE(typeval)</PRE
1120></TD
1121></TR
1122></TABLE
1123><P
1124></P
1125><DIV
1126CLASS="INFORMALTABLE"
1127><P
1128></P
1129><TABLE
1130BORDER="0"
1131WIDTH="100%"
1132BGCOLOR="#FFD0D0"
1133CELLSPACING="0"
1134CELLPADDING="4"
1135CLASS="CALSTABLE"
1136><TR
1137><TD
1138WIDTH="20%"
1139ALIGN="RIGHT"
1140VALIGN="TOP"
1141><TT
1142CLASS="PARAMETER"
1143><I
1144>typeval</I
1145></TT
1146>&nbsp;:</TD
1147><TD
1148WIDTH="80%"
1149ALIGN="LEFT"
1150VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001151>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001152></TR
1153></TABLE
1154><P
1155></P
1156></DIV
1157></DIV
1158><HR><DIV
1159CLASS="REFSECT2"
1160><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001161NAME="AEN11256"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001162></A
1163><H3
1164><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001165NAME="CHECK-ARITY-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001166></A
1167>CHECK_ARITY()</H3
1168><TABLE
1169BORDER="0"
1170BGCOLOR="#D6E8FF"
1171WIDTH="100%"
1172CELLPADDING="6"
1173><TR
1174><TD
1175><PRE
1176CLASS="PROGRAMLISTING"
1177>#define CHECK_ARITY(x)</PRE
1178></TD
1179></TR
1180></TABLE
1181><P
1182></P
1183><DIV
1184CLASS="INFORMALTABLE"
1185><P
1186></P
1187><TABLE
1188BORDER="0"
1189WIDTH="100%"
1190BGCOLOR="#FFD0D0"
1191CELLSPACING="0"
1192CELLPADDING="4"
1193CLASS="CALSTABLE"
1194><TR
1195><TD
1196WIDTH="20%"
1197ALIGN="RIGHT"
1198VALIGN="TOP"
1199><TT
1200CLASS="PARAMETER"
1201><I
1202>x</I
1203></TT
1204>&nbsp;:</TD
1205><TD
1206WIDTH="80%"
1207ALIGN="LEFT"
1208VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001209>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001210></TR
1211></TABLE
1212><P
1213></P
1214></DIV
1215></DIV
1216><HR><DIV
1217CLASS="REFSECT2"
1218><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001219NAME="AEN11270"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001220></A
1221><H3
1222><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001223NAME="CAST-TO-STRING-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001224></A
1225>CAST_TO_STRING</H3
1226><TABLE
1227BORDER="0"
1228BGCOLOR="#D6E8FF"
1229WIDTH="100%"
1230CELLPADDING="6"
1231><TR
1232><TD
1233><PRE
1234CLASS="PROGRAMLISTING"
1235>#define CAST_TO_STRING</PRE
1236></TD
1237></TR
1238></TABLE
1239><P
1240></P
1241></DIV
1242><HR><DIV
1243CLASS="REFSECT2"
1244><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001245NAME="AEN11275"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001246></A
1247><H3
1248><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001249NAME="CAST-TO-NUMBER-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001250></A
1251>CAST_TO_NUMBER</H3
1252><TABLE
1253BORDER="0"
1254BGCOLOR="#D6E8FF"
1255WIDTH="100%"
1256CELLPADDING="6"
1257><TR
1258><TD
1259><PRE
1260CLASS="PROGRAMLISTING"
1261>#define CAST_TO_NUMBER</PRE
1262></TD
1263></TR
1264></TABLE
1265><P
1266></P
1267></DIV
1268><HR><DIV
1269CLASS="REFSECT2"
1270><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001271NAME="AEN11280"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001272></A
1273><H3
1274><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001275NAME="CAST-TO-BOOLEAN-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001276></A
1277>CAST_TO_BOOLEAN</H3
1278><TABLE
1279BORDER="0"
1280BGCOLOR="#D6E8FF"
1281WIDTH="100%"
1282CELLPADDING="6"
1283><TR
1284><TD
1285><PRE
1286CLASS="PROGRAMLISTING"
1287>#define CAST_TO_BOOLEAN</PRE
1288></TD
1289></TR
1290></TABLE
1291><P
1292></P
1293></DIV
1294><HR><DIV
1295CLASS="REFSECT2"
1296><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001297NAME="AEN11285"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001298></A
1299><H3
1300><A
1301NAME="XMLXPATHERROR"
1302></A
1303>xmlXPatherror ()</H3
1304><TABLE
1305BORDER="0"
1306BGCOLOR="#D6E8FF"
1307WIDTH="100%"
1308CELLPADDING="6"
1309><TR
1310><TD
1311><PRE
1312CLASS="PROGRAMLISTING"
1313>void xmlXPatherror (<A
1314HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
1315>xmlXPathParserContextPtr</A
1316> ctxt,
1317 const char *file,
1318 int line,
1319 int no);</PRE
1320></TD
1321></TR
1322></TABLE
1323><P
1324></P
1325><DIV
1326CLASS="INFORMALTABLE"
1327><P
1328></P
1329><TABLE
1330BORDER="0"
1331WIDTH="100%"
1332BGCOLOR="#FFD0D0"
1333CELLSPACING="0"
1334CELLPADDING="4"
1335CLASS="CALSTABLE"
1336><TR
1337><TD
1338WIDTH="20%"
1339ALIGN="RIGHT"
1340VALIGN="TOP"
1341><TT
1342CLASS="PARAMETER"
1343><I
1344>ctxt</I
1345></TT
1346>&nbsp;:</TD
1347><TD
1348WIDTH="80%"
1349ALIGN="LEFT"
1350VALIGN="TOP"
1351>&nbsp;</TD
1352></TR
1353><TR
1354><TD
1355WIDTH="20%"
1356ALIGN="RIGHT"
1357VALIGN="TOP"
1358><TT
1359CLASS="PARAMETER"
1360><I
1361>file</I
1362></TT
1363>&nbsp;:</TD
1364><TD
1365WIDTH="80%"
1366ALIGN="LEFT"
1367VALIGN="TOP"
1368>&nbsp;</TD
1369></TR
1370><TR
1371><TD
1372WIDTH="20%"
1373ALIGN="RIGHT"
1374VALIGN="TOP"
1375><TT
1376CLASS="PARAMETER"
1377><I
1378>line</I
1379></TT
1380>&nbsp;:</TD
1381><TD
1382WIDTH="80%"
1383ALIGN="LEFT"
1384VALIGN="TOP"
1385>&nbsp;</TD
1386></TR
1387><TR
1388><TD
1389WIDTH="20%"
1390ALIGN="RIGHT"
1391VALIGN="TOP"
1392><TT
1393CLASS="PARAMETER"
1394><I
1395>no</I
1396></TT
1397>&nbsp;:</TD
1398><TD
1399WIDTH="80%"
1400ALIGN="LEFT"
1401VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001402>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001403></TR
1404></TABLE
1405><P
1406></P
1407></DIV
1408></DIV
1409><HR><DIV
1410CLASS="REFSECT2"
1411><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001412NAME="AEN11312"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001413></A
1414><H3
1415><A
1416NAME="XMLXPATHDEBUGDUMPOBJECT"
1417></A
1418>xmlXPathDebugDumpObject ()</H3
1419><TABLE
1420BORDER="0"
1421BGCOLOR="#D6E8FF"
1422WIDTH="100%"
1423CELLPADDING="6"
1424><TR
1425><TD
1426><PRE
1427CLASS="PROGRAMLISTING"
1428>void xmlXPathDebugDumpObject (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00001429HREF="FILE-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001430>FILE</GTKDOCLINK
1431> *output,
1432 <A
1433HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
1434>xmlXPathObjectPtr</A
1435> cur,
1436 int depth);</PRE
1437></TD
1438></TR
1439></TABLE
1440><P
1441></P
1442><DIV
1443CLASS="INFORMALTABLE"
1444><P
1445></P
1446><TABLE
1447BORDER="0"
1448WIDTH="100%"
1449BGCOLOR="#FFD0D0"
1450CELLSPACING="0"
1451CELLPADDING="4"
1452CLASS="CALSTABLE"
1453><TR
1454><TD
1455WIDTH="20%"
1456ALIGN="RIGHT"
1457VALIGN="TOP"
1458><TT
1459CLASS="PARAMETER"
1460><I
1461>output</I
1462></TT
1463>&nbsp;:</TD
1464><TD
1465WIDTH="80%"
1466ALIGN="LEFT"
1467VALIGN="TOP"
1468>&nbsp;</TD
1469></TR
1470><TR
1471><TD
1472WIDTH="20%"
1473ALIGN="RIGHT"
1474VALIGN="TOP"
1475><TT
1476CLASS="PARAMETER"
1477><I
1478>cur</I
1479></TT
1480>&nbsp;:</TD
1481><TD
1482WIDTH="80%"
1483ALIGN="LEFT"
1484VALIGN="TOP"
1485>&nbsp;</TD
1486></TR
1487><TR
1488><TD
1489WIDTH="20%"
1490ALIGN="RIGHT"
1491VALIGN="TOP"
1492><TT
1493CLASS="PARAMETER"
1494><I
1495>depth</I
1496></TT
1497>&nbsp;:</TD
1498><TD
1499WIDTH="80%"
1500ALIGN="LEFT"
1501VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001502>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001503></TR
1504></TABLE
1505><P
1506></P
1507></DIV
1508></DIV
1509><HR><DIV
1510CLASS="REFSECT2"
1511><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001512NAME="AEN11336"
1513></A
1514><H3
1515><A
1516NAME="XMLXPATHREGISTERNS"
1517></A
1518>xmlXPathRegisterNs ()</H3
1519><TABLE
1520BORDER="0"
1521BGCOLOR="#D6E8FF"
1522WIDTH="100%"
1523CELLPADDING="6"
1524><TR
1525><TD
1526><PRE
1527CLASS="PROGRAMLISTING"
1528>int xmlXPathRegisterNs (<A
1529HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
1530>xmlXPathContextPtr</A
1531> ctxt,
1532 const <A
1533HREF="gnome-xml-tree.html#XMLCHAR"
1534>xmlChar</A
1535> *prefix,
1536 const <A
1537HREF="gnome-xml-tree.html#XMLCHAR"
1538>xmlChar</A
1539> *ns_uri);</PRE
1540></TD
1541></TR
1542></TABLE
1543><P
1544>Register a new namespace. If <TT
1545CLASS="PARAMETER"
1546><I
1547>ns_uri</I
1548></TT
1549> is NULL it unregisters
1550the namespace</P
1551><P
1552></P
1553><DIV
1554CLASS="INFORMALTABLE"
1555><P
1556></P
1557><TABLE
1558BORDER="0"
1559WIDTH="100%"
1560BGCOLOR="#FFD0D0"
1561CELLSPACING="0"
1562CELLPADDING="4"
1563CLASS="CALSTABLE"
1564><TR
1565><TD
1566WIDTH="20%"
1567ALIGN="RIGHT"
1568VALIGN="TOP"
1569><TT
1570CLASS="PARAMETER"
1571><I
1572>ctxt</I
1573></TT
1574>&nbsp;:</TD
1575><TD
1576WIDTH="80%"
1577ALIGN="LEFT"
1578VALIGN="TOP"
1579> the XPath context</TD
1580></TR
1581><TR
1582><TD
1583WIDTH="20%"
1584ALIGN="RIGHT"
1585VALIGN="TOP"
1586><TT
1587CLASS="PARAMETER"
1588><I
1589>prefix</I
1590></TT
1591>&nbsp;:</TD
1592><TD
1593WIDTH="80%"
1594ALIGN="LEFT"
1595VALIGN="TOP"
1596> the namespace prefix</TD
1597></TR
1598><TR
1599><TD
1600WIDTH="20%"
1601ALIGN="RIGHT"
1602VALIGN="TOP"
1603><TT
1604CLASS="PARAMETER"
1605><I
1606>ns_uri</I
1607></TT
1608>&nbsp;:</TD
1609><TD
1610WIDTH="80%"
1611ALIGN="LEFT"
1612VALIGN="TOP"
1613> the namespace name</TD
1614></TR
1615><TR
1616><TD
1617WIDTH="20%"
1618ALIGN="RIGHT"
1619VALIGN="TOP"
1620><I
1621CLASS="EMPHASIS"
1622>Returns</I
1623> :</TD
1624><TD
1625WIDTH="80%"
1626ALIGN="LEFT"
1627VALIGN="TOP"
1628>0 in case of success, -1 in case of error</TD
1629></TR
1630></TABLE
1631><P
1632></P
1633></DIV
1634></DIV
1635><HR><DIV
1636CLASS="REFSECT2"
1637><A
1638NAME="AEN11367"
1639></A
1640><H3
1641><A
1642NAME="XMLXPATHNSLOOKUP"
1643></A
1644>xmlXPathNsLookup ()</H3
1645><TABLE
1646BORDER="0"
1647BGCOLOR="#D6E8FF"
1648WIDTH="100%"
1649CELLPADDING="6"
1650><TR
1651><TD
1652><PRE
1653CLASS="PROGRAMLISTING"
1654>const <A
1655HREF="gnome-xml-tree.html#XMLCHAR"
1656>xmlChar</A
1657>* xmlXPathNsLookup (<A
1658HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
1659>xmlXPathContextPtr</A
1660> ctxt,
1661 const <A
1662HREF="gnome-xml-tree.html#XMLCHAR"
1663>xmlChar</A
1664> *ns_uri);</PRE
1665></TD
1666></TR
1667></TABLE
1668><P
1669>Search in the namespace declaration array of the context for the given
1670namespace name associated to the given prefix</P
1671><P
1672></P
1673><DIV
1674CLASS="INFORMALTABLE"
1675><P
1676></P
1677><TABLE
1678BORDER="0"
1679WIDTH="100%"
1680BGCOLOR="#FFD0D0"
1681CELLSPACING="0"
1682CELLPADDING="4"
1683CLASS="CALSTABLE"
1684><TR
1685><TD
1686WIDTH="20%"
1687ALIGN="RIGHT"
1688VALIGN="TOP"
1689><TT
1690CLASS="PARAMETER"
1691><I
1692>ctxt</I
1693></TT
1694>&nbsp;:</TD
1695><TD
1696WIDTH="80%"
1697ALIGN="LEFT"
1698VALIGN="TOP"
1699> the XPath context</TD
1700></TR
1701><TR
1702><TD
1703WIDTH="20%"
1704ALIGN="RIGHT"
1705VALIGN="TOP"
1706><TT
1707CLASS="PARAMETER"
1708><I
1709>ns_uri</I
1710></TT
1711>&nbsp;:</TD
1712><TD
1713WIDTH="80%"
1714ALIGN="LEFT"
1715VALIGN="TOP"
1716>&nbsp;</TD
1717></TR
1718><TR
1719><TD
1720WIDTH="20%"
1721ALIGN="RIGHT"
1722VALIGN="TOP"
1723><I
1724CLASS="EMPHASIS"
1725>Returns</I
1726> :</TD
1727><TD
1728WIDTH="80%"
1729ALIGN="LEFT"
1730VALIGN="TOP"
1731>the value or NULL if not found</TD
1732></TR
1733></TABLE
1734><P
1735></P
1736></DIV
1737></DIV
1738><HR><DIV
1739CLASS="REFSECT2"
1740><A
1741NAME="AEN11393"
1742></A
1743><H3
1744><A
1745NAME="XMLXPATHREGISTEREDNSCLEANUP"
1746></A
1747>xmlXPathRegisteredNsCleanup ()</H3
1748><TABLE
1749BORDER="0"
1750BGCOLOR="#D6E8FF"
1751WIDTH="100%"
1752CELLPADDING="6"
1753><TR
1754><TD
1755><PRE
1756CLASS="PROGRAMLISTING"
1757>void xmlXPathRegisteredNsCleanup (<A
1758HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
1759>xmlXPathContextPtr</A
1760> ctxt);</PRE
1761></TD
1762></TR
1763></TABLE
1764><P
1765></P
1766><DIV
1767CLASS="INFORMALTABLE"
1768><P
1769></P
1770><TABLE
1771BORDER="0"
1772WIDTH="100%"
1773BGCOLOR="#FFD0D0"
1774CELLSPACING="0"
1775CELLPADDING="4"
1776CLASS="CALSTABLE"
1777><TR
1778><TD
1779WIDTH="20%"
1780ALIGN="RIGHT"
1781VALIGN="TOP"
1782><TT
1783CLASS="PARAMETER"
1784><I
1785>ctxt</I
1786></TT
1787>&nbsp;:</TD
1788><TD
1789WIDTH="80%"
1790ALIGN="LEFT"
1791VALIGN="TOP"
1792>&#13;</TD
1793></TR
1794></TABLE
1795><P
1796></P
1797></DIV
1798></DIV
1799><HR><DIV
1800CLASS="REFSECT2"
1801><A
1802NAME="AEN11408"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001803></A
1804><H3
1805><A
1806NAME="XMLXPATHREGISTERFUNC"
1807></A
1808>xmlXPathRegisterFunc ()</H3
1809><TABLE
1810BORDER="0"
1811BGCOLOR="#D6E8FF"
1812WIDTH="100%"
1813CELLPADDING="6"
1814><TR
1815><TD
1816><PRE
1817CLASS="PROGRAMLISTING"
1818>int xmlXPathRegisterFunc (<A
1819HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
1820>xmlXPathContextPtr</A
1821> ctxt,
1822 const <A
1823HREF="gnome-xml-tree.html#XMLCHAR"
1824>xmlChar</A
1825> *name,
1826 <A
1827HREF="gnome-xml-xpath.html#XMLXPATHFUNCTION"
1828>xmlXPathFunction</A
1829> f);</PRE
1830></TD
1831></TR
1832></TABLE
1833><P
1834>Register a new function. If <TT
1835CLASS="PARAMETER"
1836><I
1837>f</I
1838></TT
1839> is NULL it unregisters the function</P
1840><P
1841></P
1842><DIV
1843CLASS="INFORMALTABLE"
1844><P
1845></P
1846><TABLE
1847BORDER="0"
1848WIDTH="100%"
1849BGCOLOR="#FFD0D0"
1850CELLSPACING="0"
1851CELLPADDING="4"
1852CLASS="CALSTABLE"
1853><TR
1854><TD
1855WIDTH="20%"
1856ALIGN="RIGHT"
1857VALIGN="TOP"
1858><TT
1859CLASS="PARAMETER"
1860><I
1861>ctxt</I
1862></TT
1863>&nbsp;:</TD
1864><TD
1865WIDTH="80%"
1866ALIGN="LEFT"
1867VALIGN="TOP"
1868> the XPath context</TD
1869></TR
1870><TR
1871><TD
1872WIDTH="20%"
1873ALIGN="RIGHT"
1874VALIGN="TOP"
1875><TT
1876CLASS="PARAMETER"
1877><I
1878>name</I
1879></TT
1880>&nbsp;:</TD
1881><TD
1882WIDTH="80%"
1883ALIGN="LEFT"
1884VALIGN="TOP"
1885> the function name</TD
1886></TR
1887><TR
1888><TD
1889WIDTH="20%"
1890ALIGN="RIGHT"
1891VALIGN="TOP"
1892><TT
1893CLASS="PARAMETER"
1894><I
1895>f</I
1896></TT
1897>&nbsp;:</TD
1898><TD
1899WIDTH="80%"
1900ALIGN="LEFT"
1901VALIGN="TOP"
1902> the function implementation or NULL</TD
1903></TR
1904><TR
1905><TD
1906WIDTH="20%"
1907ALIGN="RIGHT"
1908VALIGN="TOP"
1909><I
1910CLASS="EMPHASIS"
1911>Returns</I
1912> :</TD
1913><TD
1914WIDTH="80%"
1915ALIGN="LEFT"
1916VALIGN="TOP"
1917>0 in case of success, -1 in case of error</TD
1918></TR
1919></TABLE
1920><P
1921></P
1922></DIV
1923></DIV
1924><HR><DIV
1925CLASS="REFSECT2"
1926><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001927NAME="AEN11439"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001928></A
1929><H3
1930><A
1931NAME="XMLXPATHREGISTERFUNCNS"
1932></A
1933>xmlXPathRegisterFuncNS ()</H3
1934><TABLE
1935BORDER="0"
1936BGCOLOR="#D6E8FF"
1937WIDTH="100%"
1938CELLPADDING="6"
1939><TR
1940><TD
1941><PRE
1942CLASS="PROGRAMLISTING"
1943>int xmlXPathRegisterFuncNS (<A
1944HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
1945>xmlXPathContextPtr</A
1946> ctxt,
1947 const <A
1948HREF="gnome-xml-tree.html#XMLCHAR"
1949>xmlChar</A
1950> *name,
1951 const <A
1952HREF="gnome-xml-tree.html#XMLCHAR"
1953>xmlChar</A
1954> *ns_uri,
1955 <A
1956HREF="gnome-xml-xpath.html#XMLXPATHFUNCTION"
1957>xmlXPathFunction</A
1958> f);</PRE
1959></TD
1960></TR
1961></TABLE
1962><P
1963>Register a new function. If <TT
1964CLASS="PARAMETER"
1965><I
1966>f</I
1967></TT
1968> is NULL it unregisters the function</P
1969><P
1970></P
1971><DIV
1972CLASS="INFORMALTABLE"
1973><P
1974></P
1975><TABLE
1976BORDER="0"
1977WIDTH="100%"
1978BGCOLOR="#FFD0D0"
1979CELLSPACING="0"
1980CELLPADDING="4"
1981CLASS="CALSTABLE"
1982><TR
1983><TD
1984WIDTH="20%"
1985ALIGN="RIGHT"
1986VALIGN="TOP"
1987><TT
1988CLASS="PARAMETER"
1989><I
1990>ctxt</I
1991></TT
1992>&nbsp;:</TD
1993><TD
1994WIDTH="80%"
1995ALIGN="LEFT"
1996VALIGN="TOP"
1997> the XPath context</TD
1998></TR
1999><TR
2000><TD
2001WIDTH="20%"
2002ALIGN="RIGHT"
2003VALIGN="TOP"
2004><TT
2005CLASS="PARAMETER"
2006><I
2007>name</I
2008></TT
2009>&nbsp;:</TD
2010><TD
2011WIDTH="80%"
2012ALIGN="LEFT"
2013VALIGN="TOP"
2014> the function name</TD
2015></TR
2016><TR
2017><TD
2018WIDTH="20%"
2019ALIGN="RIGHT"
2020VALIGN="TOP"
2021><TT
2022CLASS="PARAMETER"
2023><I
2024>ns_uri</I
2025></TT
2026>&nbsp;:</TD
2027><TD
2028WIDTH="80%"
2029ALIGN="LEFT"
2030VALIGN="TOP"
2031> the function namespace URI</TD
2032></TR
2033><TR
2034><TD
2035WIDTH="20%"
2036ALIGN="RIGHT"
2037VALIGN="TOP"
2038><TT
2039CLASS="PARAMETER"
2040><I
2041>f</I
2042></TT
2043>&nbsp;:</TD
2044><TD
2045WIDTH="80%"
2046ALIGN="LEFT"
2047VALIGN="TOP"
2048> the function implementation or NULL</TD
2049></TR
2050><TR
2051><TD
2052WIDTH="20%"
2053ALIGN="RIGHT"
2054VALIGN="TOP"
2055><I
2056CLASS="EMPHASIS"
2057>Returns</I
2058> :</TD
2059><TD
2060WIDTH="80%"
2061ALIGN="LEFT"
2062VALIGN="TOP"
2063>0 in case of success, -1 in case of error</TD
2064></TR
2065></TABLE
2066><P
2067></P
2068></DIV
2069></DIV
2070><HR><DIV
2071CLASS="REFSECT2"
2072><A
Daniel Veillard503b8932001-01-05 06:36:31 +00002073NAME="AEN11475"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002074></A
2075><H3
2076><A
2077NAME="XMLXPATHREGISTERVARIABLE"
2078></A
2079>xmlXPathRegisterVariable ()</H3
2080><TABLE
2081BORDER="0"
2082BGCOLOR="#D6E8FF"
2083WIDTH="100%"
2084CELLPADDING="6"
2085><TR
2086><TD
2087><PRE
2088CLASS="PROGRAMLISTING"
2089>int xmlXPathRegisterVariable (<A
2090HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
2091>xmlXPathContextPtr</A
2092> ctxt,
2093 const <A
2094HREF="gnome-xml-tree.html#XMLCHAR"
2095>xmlChar</A
2096> *name,
2097 <A
2098HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
2099>xmlXPathObjectPtr</A
2100> value);</PRE
2101></TD
2102></TR
2103></TABLE
2104><P
2105>Register a new variable value. If <TT
2106CLASS="PARAMETER"
2107><I
2108>value</I
2109></TT
2110> is NULL it unregisters
2111the variable</P
2112><P
2113></P
2114><DIV
2115CLASS="INFORMALTABLE"
2116><P
2117></P
2118><TABLE
2119BORDER="0"
2120WIDTH="100%"
2121BGCOLOR="#FFD0D0"
2122CELLSPACING="0"
2123CELLPADDING="4"
2124CLASS="CALSTABLE"
2125><TR
2126><TD
2127WIDTH="20%"
2128ALIGN="RIGHT"
2129VALIGN="TOP"
2130><TT
2131CLASS="PARAMETER"
2132><I
2133>ctxt</I
2134></TT
2135>&nbsp;:</TD
2136><TD
2137WIDTH="80%"
2138ALIGN="LEFT"
2139VALIGN="TOP"
2140> the XPath context</TD
2141></TR
2142><TR
2143><TD
2144WIDTH="20%"
2145ALIGN="RIGHT"
2146VALIGN="TOP"
2147><TT
2148CLASS="PARAMETER"
2149><I
2150>name</I
2151></TT
2152>&nbsp;:</TD
2153><TD
2154WIDTH="80%"
2155ALIGN="LEFT"
2156VALIGN="TOP"
2157> the variable name</TD
2158></TR
2159><TR
2160><TD
2161WIDTH="20%"
2162ALIGN="RIGHT"
2163VALIGN="TOP"
2164><TT
2165CLASS="PARAMETER"
2166><I
2167>value</I
2168></TT
2169>&nbsp;:</TD
2170><TD
2171WIDTH="80%"
2172ALIGN="LEFT"
2173VALIGN="TOP"
2174> the variable value or NULL</TD
2175></TR
2176><TR
2177><TD
2178WIDTH="20%"
2179ALIGN="RIGHT"
2180VALIGN="TOP"
2181><I
2182CLASS="EMPHASIS"
2183>Returns</I
2184> :</TD
2185><TD
2186WIDTH="80%"
2187ALIGN="LEFT"
2188VALIGN="TOP"
2189>0 in case of success, -1 in case of error</TD
2190></TR
2191></TABLE
2192><P
2193></P
2194></DIV
2195></DIV
2196><HR><DIV
2197CLASS="REFSECT2"
2198><A
Daniel Veillard503b8932001-01-05 06:36:31 +00002199NAME="AEN11506"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002200></A
2201><H3
2202><A
2203NAME="XMLXPATHREGISTERVARIABLENS"
2204></A
2205>xmlXPathRegisterVariableNS ()</H3
2206><TABLE
2207BORDER="0"
2208BGCOLOR="#D6E8FF"
2209WIDTH="100%"
2210CELLPADDING="6"
2211><TR
2212><TD
2213><PRE
2214CLASS="PROGRAMLISTING"
2215>int xmlXPathRegisterVariableNS (<A
2216HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
2217>xmlXPathContextPtr</A
2218> ctxt,
2219 const <A
2220HREF="gnome-xml-tree.html#XMLCHAR"
2221>xmlChar</A
2222> *name,
2223 const <A
2224HREF="gnome-xml-tree.html#XMLCHAR"
2225>xmlChar</A
2226> *ns_uri,
2227 <A
2228HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
2229>xmlXPathObjectPtr</A
2230> value);</PRE
2231></TD
2232></TR
2233></TABLE
2234><P
2235>Register a new variable value. If <TT
2236CLASS="PARAMETER"
2237><I
2238>value</I
2239></TT
2240> is NULL it unregisters
2241the variable</P
2242><P
2243></P
2244><DIV
2245CLASS="INFORMALTABLE"
2246><P
2247></P
2248><TABLE
2249BORDER="0"
2250WIDTH="100%"
2251BGCOLOR="#FFD0D0"
2252CELLSPACING="0"
2253CELLPADDING="4"
2254CLASS="CALSTABLE"
2255><TR
2256><TD
2257WIDTH="20%"
2258ALIGN="RIGHT"
2259VALIGN="TOP"
2260><TT
2261CLASS="PARAMETER"
2262><I
2263>ctxt</I
2264></TT
2265>&nbsp;:</TD
2266><TD
2267WIDTH="80%"
2268ALIGN="LEFT"
2269VALIGN="TOP"
2270> the XPath context</TD
2271></TR
2272><TR
2273><TD
2274WIDTH="20%"
2275ALIGN="RIGHT"
2276VALIGN="TOP"
2277><TT
2278CLASS="PARAMETER"
2279><I
2280>name</I
2281></TT
2282>&nbsp;:</TD
2283><TD
2284WIDTH="80%"
2285ALIGN="LEFT"
2286VALIGN="TOP"
2287> the variable name</TD
2288></TR
2289><TR
2290><TD
2291WIDTH="20%"
2292ALIGN="RIGHT"
2293VALIGN="TOP"
2294><TT
2295CLASS="PARAMETER"
2296><I
2297>ns_uri</I
2298></TT
2299>&nbsp;:</TD
2300><TD
2301WIDTH="80%"
2302ALIGN="LEFT"
2303VALIGN="TOP"
2304> the variable namespace URI</TD
2305></TR
2306><TR
2307><TD
2308WIDTH="20%"
2309ALIGN="RIGHT"
2310VALIGN="TOP"
2311><TT
2312CLASS="PARAMETER"
2313><I
2314>value</I
2315></TT
2316>&nbsp;:</TD
2317><TD
2318WIDTH="80%"
2319ALIGN="LEFT"
2320VALIGN="TOP"
2321> the variable value or NULL</TD
2322></TR
2323><TR
2324><TD
2325WIDTH="20%"
2326ALIGN="RIGHT"
2327VALIGN="TOP"
2328><I
2329CLASS="EMPHASIS"
2330>Returns</I
2331> :</TD
2332><TD
2333WIDTH="80%"
2334ALIGN="LEFT"
2335VALIGN="TOP"
2336>0 in case of success, -1 in case of error</TD
2337></TR
2338></TABLE
2339><P
2340></P
2341></DIV
2342></DIV
2343><HR><DIV
2344CLASS="REFSECT2"
2345><A
Daniel Veillard503b8932001-01-05 06:36:31 +00002346NAME="AEN11542"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002347></A
2348><H3
2349><A
2350NAME="XMLXPATHFUNCTIONLOOKUP"
2351></A
2352>xmlXPathFunctionLookup ()</H3
2353><TABLE
2354BORDER="0"
2355BGCOLOR="#D6E8FF"
2356WIDTH="100%"
2357CELLPADDING="6"
2358><TR
2359><TD
2360><PRE
2361CLASS="PROGRAMLISTING"
2362><A
2363HREF="gnome-xml-xpath.html#XMLXPATHFUNCTION"
2364>xmlXPathFunction</A
2365> xmlXPathFunctionLookup (<A
2366HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
2367>xmlXPathContextPtr</A
2368> ctxt,
2369 const <A
2370HREF="gnome-xml-tree.html#XMLCHAR"
2371>xmlChar</A
2372> *name);</PRE
2373></TD
2374></TR
2375></TABLE
2376><P
2377>Search in the Function array of the context for the given
2378function.</P
2379><P
2380></P
2381><DIV
2382CLASS="INFORMALTABLE"
2383><P
2384></P
2385><TABLE
2386BORDER="0"
2387WIDTH="100%"
2388BGCOLOR="#FFD0D0"
2389CELLSPACING="0"
2390CELLPADDING="4"
2391CLASS="CALSTABLE"
2392><TR
2393><TD
2394WIDTH="20%"
2395ALIGN="RIGHT"
2396VALIGN="TOP"
2397><TT
2398CLASS="PARAMETER"
2399><I
2400>ctxt</I
2401></TT
2402>&nbsp;:</TD
2403><TD
2404WIDTH="80%"
2405ALIGN="LEFT"
2406VALIGN="TOP"
2407> the XPath context</TD
2408></TR
2409><TR
2410><TD
2411WIDTH="20%"
2412ALIGN="RIGHT"
2413VALIGN="TOP"
2414><TT
2415CLASS="PARAMETER"
2416><I
2417>name</I
2418></TT
2419>&nbsp;:</TD
2420><TD
2421WIDTH="80%"
2422ALIGN="LEFT"
2423VALIGN="TOP"
2424> the function name</TD
2425></TR
2426><TR
2427><TD
2428WIDTH="20%"
2429ALIGN="RIGHT"
2430VALIGN="TOP"
2431><I
2432CLASS="EMPHASIS"
2433>Returns</I
2434> :</TD
2435><TD
2436WIDTH="80%"
2437ALIGN="LEFT"
2438VALIGN="TOP"
2439>the xmlXPathFunction or NULL if not found</TD
2440></TR
2441></TABLE
2442><P
2443></P
2444></DIV
2445></DIV
2446><HR><DIV
2447CLASS="REFSECT2"
2448><A
Daniel Veillard503b8932001-01-05 06:36:31 +00002449NAME="AEN11568"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002450></A
2451><H3
2452><A
2453NAME="XMLXPATHFUNCTIONLOOKUPNS"
2454></A
2455>xmlXPathFunctionLookupNS ()</H3
2456><TABLE
2457BORDER="0"
2458BGCOLOR="#D6E8FF"
2459WIDTH="100%"
2460CELLPADDING="6"
2461><TR
2462><TD
2463><PRE
2464CLASS="PROGRAMLISTING"
2465><A
2466HREF="gnome-xml-xpath.html#XMLXPATHFUNCTION"
2467>xmlXPathFunction</A
2468> xmlXPathFunctionLookupNS (<A
2469HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
2470>xmlXPathContextPtr</A
2471> ctxt,
2472 const <A
2473HREF="gnome-xml-tree.html#XMLCHAR"
2474>xmlChar</A
2475> *name,
2476 const <A
2477HREF="gnome-xml-tree.html#XMLCHAR"
2478>xmlChar</A
2479> *ns_uri);</PRE
2480></TD
2481></TR
2482></TABLE
2483><P
2484>Search in the Function array of the context for the given
2485function.</P
2486><P
2487></P
2488><DIV
2489CLASS="INFORMALTABLE"
2490><P
2491></P
2492><TABLE
2493BORDER="0"
2494WIDTH="100%"
2495BGCOLOR="#FFD0D0"
2496CELLSPACING="0"
2497CELLPADDING="4"
2498CLASS="CALSTABLE"
2499><TR
2500><TD
2501WIDTH="20%"
2502ALIGN="RIGHT"
2503VALIGN="TOP"
2504><TT
2505CLASS="PARAMETER"
2506><I
2507>ctxt</I
2508></TT
2509>&nbsp;:</TD
2510><TD
2511WIDTH="80%"
2512ALIGN="LEFT"
2513VALIGN="TOP"
2514> the XPath context</TD
2515></TR
2516><TR
2517><TD
2518WIDTH="20%"
2519ALIGN="RIGHT"
2520VALIGN="TOP"
2521><TT
2522CLASS="PARAMETER"
2523><I
2524>name</I
2525></TT
2526>&nbsp;:</TD
2527><TD
2528WIDTH="80%"
2529ALIGN="LEFT"
2530VALIGN="TOP"
2531> the function name</TD
2532></TR
2533><TR
2534><TD
2535WIDTH="20%"
2536ALIGN="RIGHT"
2537VALIGN="TOP"
2538><TT
2539CLASS="PARAMETER"
2540><I
2541>ns_uri</I
2542></TT
2543>&nbsp;:</TD
2544><TD
2545WIDTH="80%"
2546ALIGN="LEFT"
2547VALIGN="TOP"
2548> the function namespace URI</TD
2549></TR
2550><TR
2551><TD
2552WIDTH="20%"
2553ALIGN="RIGHT"
2554VALIGN="TOP"
2555><I
2556CLASS="EMPHASIS"
2557>Returns</I
2558> :</TD
2559><TD
2560WIDTH="80%"
2561ALIGN="LEFT"
2562VALIGN="TOP"
2563>the xmlXPathFunction or NULL if not found</TD
2564></TR
2565></TABLE
2566><P
2567></P
2568></DIV
2569></DIV
2570><HR><DIV
2571CLASS="REFSECT2"
2572><A
Daniel Veillard503b8932001-01-05 06:36:31 +00002573NAME="AEN11599"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002574></A
2575><H3
2576><A
2577NAME="XMLXPATHREGISTEREDFUNCSCLEANUP"
2578></A
2579>xmlXPathRegisteredFuncsCleanup ()</H3
2580><TABLE
2581BORDER="0"
2582BGCOLOR="#D6E8FF"
2583WIDTH="100%"
2584CELLPADDING="6"
2585><TR
2586><TD
2587><PRE
2588CLASS="PROGRAMLISTING"
2589>void xmlXPathRegisteredFuncsCleanup (<A
2590HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
2591>xmlXPathContextPtr</A
2592> ctxt);</PRE
2593></TD
2594></TR
2595></TABLE
2596><P
2597>Cleanup the XPath context data associated to registered functions</P
2598><P
2599></P
2600><DIV
2601CLASS="INFORMALTABLE"
2602><P
2603></P
2604><TABLE
2605BORDER="0"
2606WIDTH="100%"
2607BGCOLOR="#FFD0D0"
2608CELLSPACING="0"
2609CELLPADDING="4"
2610CLASS="CALSTABLE"
2611><TR
2612><TD
2613WIDTH="20%"
2614ALIGN="RIGHT"
2615VALIGN="TOP"
2616><TT
2617CLASS="PARAMETER"
2618><I
2619>ctxt</I
2620></TT
2621>&nbsp;:</TD
2622><TD
2623WIDTH="80%"
2624ALIGN="LEFT"
2625VALIGN="TOP"
2626> the XPath context</TD
2627></TR
2628></TABLE
2629><P
2630></P
2631></DIV
2632></DIV
2633><HR><DIV
2634CLASS="REFSECT2"
2635><A
Daniel Veillard503b8932001-01-05 06:36:31 +00002636NAME="AEN11615"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002637></A
2638><H3
2639><A
2640NAME="XMLXPATHVARIABLELOOKUP"
2641></A
2642>xmlXPathVariableLookup ()</H3
2643><TABLE
2644BORDER="0"
2645BGCOLOR="#D6E8FF"
2646WIDTH="100%"
2647CELLPADDING="6"
2648><TR
2649><TD
2650><PRE
2651CLASS="PROGRAMLISTING"
2652><A
2653HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
2654>xmlXPathObjectPtr</A
2655> xmlXPathVariableLookup (<A
2656HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
2657>xmlXPathContextPtr</A
2658> ctxt,
2659 const <A
2660HREF="gnome-xml-tree.html#XMLCHAR"
2661>xmlChar</A
2662> *name);</PRE
2663></TD
2664></TR
2665></TABLE
2666><P
2667>Search in the Variable array of the context for the given
2668variable value.</P
2669><P
2670></P
2671><DIV
2672CLASS="INFORMALTABLE"
2673><P
2674></P
2675><TABLE
2676BORDER="0"
2677WIDTH="100%"
2678BGCOLOR="#FFD0D0"
2679CELLSPACING="0"
2680CELLPADDING="4"
2681CLASS="CALSTABLE"
2682><TR
2683><TD
2684WIDTH="20%"
2685ALIGN="RIGHT"
2686VALIGN="TOP"
2687><TT
2688CLASS="PARAMETER"
2689><I
2690>ctxt</I
2691></TT
2692>&nbsp;:</TD
2693><TD
2694WIDTH="80%"
2695ALIGN="LEFT"
2696VALIGN="TOP"
2697> the XPath context</TD
2698></TR
2699><TR
2700><TD
2701WIDTH="20%"
2702ALIGN="RIGHT"
2703VALIGN="TOP"
2704><TT
2705CLASS="PARAMETER"
2706><I
2707>name</I
2708></TT
2709>&nbsp;:</TD
2710><TD
2711WIDTH="80%"
2712ALIGN="LEFT"
2713VALIGN="TOP"
2714> the variable name</TD
2715></TR
2716><TR
2717><TD
2718WIDTH="20%"
2719ALIGN="RIGHT"
2720VALIGN="TOP"
2721><I
2722CLASS="EMPHASIS"
2723>Returns</I
2724> :</TD
2725><TD
2726WIDTH="80%"
2727ALIGN="LEFT"
2728VALIGN="TOP"
2729>the value or NULL if not found</TD
2730></TR
2731></TABLE
2732><P
2733></P
2734></DIV
2735></DIV
2736><HR><DIV
2737CLASS="REFSECT2"
2738><A
Daniel Veillard503b8932001-01-05 06:36:31 +00002739NAME="AEN11641"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002740></A
2741><H3
2742><A
2743NAME="XMLXPATHVARIABLELOOKUPNS"
2744></A
2745>xmlXPathVariableLookupNS ()</H3
2746><TABLE
2747BORDER="0"
2748BGCOLOR="#D6E8FF"
2749WIDTH="100%"
2750CELLPADDING="6"
2751><TR
2752><TD
2753><PRE
2754CLASS="PROGRAMLISTING"
2755><A
2756HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
2757>xmlXPathObjectPtr</A
2758> xmlXPathVariableLookupNS (<A
2759HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
2760>xmlXPathContextPtr</A
2761> ctxt,
2762 const <A
2763HREF="gnome-xml-tree.html#XMLCHAR"
2764>xmlChar</A
2765> *name,
2766 const <A
2767HREF="gnome-xml-tree.html#XMLCHAR"
2768>xmlChar</A
2769> *ns_uri);</PRE
2770></TD
2771></TR
2772></TABLE
2773><P
2774>Search in the Variable array of the context for the given
2775variable value.</P
2776><P
2777></P
2778><DIV
2779CLASS="INFORMALTABLE"
2780><P
2781></P
2782><TABLE
2783BORDER="0"
2784WIDTH="100%"
2785BGCOLOR="#FFD0D0"
2786CELLSPACING="0"
2787CELLPADDING="4"
2788CLASS="CALSTABLE"
2789><TR
2790><TD
2791WIDTH="20%"
2792ALIGN="RIGHT"
2793VALIGN="TOP"
2794><TT
2795CLASS="PARAMETER"
2796><I
2797>ctxt</I
2798></TT
2799>&nbsp;:</TD
2800><TD
2801WIDTH="80%"
2802ALIGN="LEFT"
2803VALIGN="TOP"
2804> the XPath context</TD
2805></TR
2806><TR
2807><TD
2808WIDTH="20%"
2809ALIGN="RIGHT"
2810VALIGN="TOP"
2811><TT
2812CLASS="PARAMETER"
2813><I
2814>name</I
2815></TT
2816>&nbsp;:</TD
2817><TD
2818WIDTH="80%"
2819ALIGN="LEFT"
2820VALIGN="TOP"
2821> the variable name</TD
2822></TR
2823><TR
2824><TD
2825WIDTH="20%"
2826ALIGN="RIGHT"
2827VALIGN="TOP"
2828><TT
2829CLASS="PARAMETER"
2830><I
2831>ns_uri</I
2832></TT
2833>&nbsp;:</TD
2834><TD
2835WIDTH="80%"
2836ALIGN="LEFT"
2837VALIGN="TOP"
2838> the variable namespace URI</TD
2839></TR
2840><TR
2841><TD
2842WIDTH="20%"
2843ALIGN="RIGHT"
2844VALIGN="TOP"
2845><I
2846CLASS="EMPHASIS"
2847>Returns</I
2848> :</TD
2849><TD
2850WIDTH="80%"
2851ALIGN="LEFT"
2852VALIGN="TOP"
2853>the value or NULL if not found</TD
2854></TR
2855></TABLE
2856><P
2857></P
2858></DIV
2859></DIV
2860><HR><DIV
2861CLASS="REFSECT2"
2862><A
Daniel Veillard503b8932001-01-05 06:36:31 +00002863NAME="AEN11672"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002864></A
2865><H3
2866><A
2867NAME="XMLXPATHREGISTEREDVARIABLESCLEANUP"
2868></A
2869>xmlXPathRegisteredVariablesCleanup ()</H3
2870><TABLE
2871BORDER="0"
2872BGCOLOR="#D6E8FF"
2873WIDTH="100%"
2874CELLPADDING="6"
2875><TR
2876><TD
2877><PRE
2878CLASS="PROGRAMLISTING"
2879>void xmlXPathRegisteredVariablesCleanup
2880 (<A
2881HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
2882>xmlXPathContextPtr</A
2883> ctxt);</PRE
2884></TD
2885></TR
2886></TABLE
2887><P
2888>Cleanup the XPath context data associated to registered variables</P
2889><P
2890></P
2891><DIV
2892CLASS="INFORMALTABLE"
2893><P
2894></P
2895><TABLE
2896BORDER="0"
2897WIDTH="100%"
2898BGCOLOR="#FFD0D0"
2899CELLSPACING="0"
2900CELLPADDING="4"
2901CLASS="CALSTABLE"
2902><TR
2903><TD
2904WIDTH="20%"
2905ALIGN="RIGHT"
2906VALIGN="TOP"
2907><TT
2908CLASS="PARAMETER"
2909><I
2910>ctxt</I
2911></TT
2912>&nbsp;:</TD
2913><TD
2914WIDTH="80%"
2915ALIGN="LEFT"
2916VALIGN="TOP"
2917> the XPath context</TD
2918></TR
2919></TABLE
2920><P
2921></P
2922></DIV
2923></DIV
2924><HR><DIV
2925CLASS="REFSECT2"
2926><A
Daniel Veillard503b8932001-01-05 06:36:31 +00002927NAME="AEN11688"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002928></A
2929><H3
2930><A
2931NAME="XMLXPATHNEWPARSERCONTEXT"
2932></A
2933>xmlXPathNewParserContext ()</H3
2934><TABLE
2935BORDER="0"
2936BGCOLOR="#D6E8FF"
2937WIDTH="100%"
2938CELLPADDING="6"
2939><TR
2940><TD
2941><PRE
2942CLASS="PROGRAMLISTING"
2943><A
2944HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
2945>xmlXPathParserContextPtr</A
2946> xmlXPathNewParserContext
2947 (const <A
2948HREF="gnome-xml-tree.html#XMLCHAR"
2949>xmlChar</A
2950> *str,
2951 <A
2952HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
2953>xmlXPathContextPtr</A
2954> ctxt);</PRE
2955></TD
2956></TR
2957></TABLE
2958><P
2959>Create a new xmlXPathParserContext</P
2960><P
2961></P
2962><DIV
2963CLASS="INFORMALTABLE"
2964><P
2965></P
2966><TABLE
2967BORDER="0"
2968WIDTH="100%"
2969BGCOLOR="#FFD0D0"
2970CELLSPACING="0"
2971CELLPADDING="4"
2972CLASS="CALSTABLE"
2973><TR
2974><TD
2975WIDTH="20%"
2976ALIGN="RIGHT"
2977VALIGN="TOP"
2978><TT
2979CLASS="PARAMETER"
2980><I
2981>str</I
2982></TT
2983>&nbsp;:</TD
2984><TD
2985WIDTH="80%"
2986ALIGN="LEFT"
2987VALIGN="TOP"
2988> the XPath expression</TD
2989></TR
2990><TR
2991><TD
2992WIDTH="20%"
2993ALIGN="RIGHT"
2994VALIGN="TOP"
2995><TT
2996CLASS="PARAMETER"
2997><I
2998>ctxt</I
2999></TT
3000>&nbsp;:</TD
3001><TD
3002WIDTH="80%"
3003ALIGN="LEFT"
3004VALIGN="TOP"
3005> the XPath context</TD
3006></TR
3007><TR
3008><TD
3009WIDTH="20%"
3010ALIGN="RIGHT"
3011VALIGN="TOP"
3012><I
3013CLASS="EMPHASIS"
3014>Returns</I
3015> :</TD
3016><TD
3017WIDTH="80%"
3018ALIGN="LEFT"
3019VALIGN="TOP"
3020>the xmlXPathParserContext just allocated.</TD
3021></TR
3022></TABLE
3023><P
3024></P
3025></DIV
3026></DIV
3027><HR><DIV
3028CLASS="REFSECT2"
3029><A
Daniel Veillard503b8932001-01-05 06:36:31 +00003030NAME="AEN11714"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003031></A
3032><H3
3033><A
3034NAME="XMLXPATHFREEPARSERCONTEXT"
3035></A
3036>xmlXPathFreeParserContext ()</H3
3037><TABLE
3038BORDER="0"
3039BGCOLOR="#D6E8FF"
3040WIDTH="100%"
3041CELLPADDING="6"
3042><TR
3043><TD
3044><PRE
3045CLASS="PROGRAMLISTING"
3046>void xmlXPathFreeParserContext (<A
3047HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
3048>xmlXPathParserContextPtr</A
3049> ctxt);</PRE
3050></TD
3051></TR
3052></TABLE
3053><P
3054>Free up an xmlXPathParserContext</P
3055><P
3056></P
3057><DIV
3058CLASS="INFORMALTABLE"
3059><P
3060></P
3061><TABLE
3062BORDER="0"
3063WIDTH="100%"
3064BGCOLOR="#FFD0D0"
3065CELLSPACING="0"
3066CELLPADDING="4"
3067CLASS="CALSTABLE"
3068><TR
3069><TD
3070WIDTH="20%"
3071ALIGN="RIGHT"
3072VALIGN="TOP"
3073><TT
3074CLASS="PARAMETER"
3075><I
3076>ctxt</I
3077></TT
3078>&nbsp;:</TD
3079><TD
3080WIDTH="80%"
3081ALIGN="LEFT"
3082VALIGN="TOP"
3083> the context to free</TD
3084></TR
3085></TABLE
3086><P
3087></P
3088></DIV
3089></DIV
3090><HR><DIV
3091CLASS="REFSECT2"
3092><A
Daniel Veillard503b8932001-01-05 06:36:31 +00003093NAME="AEN11730"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003094></A
3095><H3
3096><A
3097NAME="VALUEPOP"
3098></A
3099>valuePop ()</H3
3100><TABLE
3101BORDER="0"
3102BGCOLOR="#D6E8FF"
3103WIDTH="100%"
3104CELLPADDING="6"
3105><TR
3106><TD
3107><PRE
3108CLASS="PROGRAMLISTING"
3109><A
3110HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
3111>xmlXPathObjectPtr</A
3112> valuePop (<A
3113HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
3114>xmlXPathParserContextPtr</A
3115> ctxt);</PRE
3116></TD
3117></TR
3118></TABLE
3119><P
3120></P
3121><DIV
3122CLASS="INFORMALTABLE"
3123><P
3124></P
3125><TABLE
3126BORDER="0"
3127WIDTH="100%"
3128BGCOLOR="#FFD0D0"
3129CELLSPACING="0"
3130CELLPADDING="4"
3131CLASS="CALSTABLE"
3132><TR
3133><TD
3134WIDTH="20%"
3135ALIGN="RIGHT"
3136VALIGN="TOP"
3137><TT
3138CLASS="PARAMETER"
3139><I
3140>ctxt</I
3141></TT
3142>&nbsp;:</TD
3143><TD
3144WIDTH="80%"
3145ALIGN="LEFT"
3146VALIGN="TOP"
3147>&nbsp;</TD
3148></TR
3149><TR
3150><TD
3151WIDTH="20%"
3152ALIGN="RIGHT"
3153VALIGN="TOP"
3154><I
3155CLASS="EMPHASIS"
3156>Returns</I
3157> :</TD
3158><TD
3159WIDTH="80%"
3160ALIGN="LEFT"
3161VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00003162>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003163></TR
3164></TABLE
3165><P
3166></P
3167></DIV
3168></DIV
3169><HR><DIV
3170CLASS="REFSECT2"
3171><A
Daniel Veillard503b8932001-01-05 06:36:31 +00003172NAME="AEN11750"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003173></A
3174><H3
3175><A
3176NAME="VALUEPUSH"
3177></A
3178>valuePush ()</H3
3179><TABLE
3180BORDER="0"
3181BGCOLOR="#D6E8FF"
3182WIDTH="100%"
3183CELLPADDING="6"
3184><TR
3185><TD
3186><PRE
3187CLASS="PROGRAMLISTING"
3188>int valuePush (<A
3189HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
3190>xmlXPathParserContextPtr</A
3191> ctxt,
3192 <A
3193HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
3194>xmlXPathObjectPtr</A
3195> value);</PRE
3196></TD
3197></TR
3198></TABLE
3199><P
3200></P
3201><DIV
3202CLASS="INFORMALTABLE"
3203><P
3204></P
3205><TABLE
3206BORDER="0"
3207WIDTH="100%"
3208BGCOLOR="#FFD0D0"
3209CELLSPACING="0"
3210CELLPADDING="4"
3211CLASS="CALSTABLE"
3212><TR
3213><TD
3214WIDTH="20%"
3215ALIGN="RIGHT"
3216VALIGN="TOP"
3217><TT
3218CLASS="PARAMETER"
3219><I
3220>ctxt</I
3221></TT
3222>&nbsp;:</TD
3223><TD
3224WIDTH="80%"
3225ALIGN="LEFT"
3226VALIGN="TOP"
3227>&nbsp;</TD
3228></TR
3229><TR
3230><TD
3231WIDTH="20%"
3232ALIGN="RIGHT"
3233VALIGN="TOP"
3234><TT
3235CLASS="PARAMETER"
3236><I
3237>value</I
3238></TT
3239>&nbsp;:</TD
3240><TD
3241WIDTH="80%"
3242ALIGN="LEFT"
3243VALIGN="TOP"
3244>&nbsp;</TD
3245></TR
3246><TR
3247><TD
3248WIDTH="20%"
3249ALIGN="RIGHT"
3250VALIGN="TOP"
3251><I
3252CLASS="EMPHASIS"
3253>Returns</I
3254> :</TD
3255><TD
3256WIDTH="80%"
3257ALIGN="LEFT"
3258VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00003259>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003260></TR
3261></TABLE
3262><P
3263></P
3264></DIV
3265></DIV
3266><HR><DIV
3267CLASS="REFSECT2"
3268><A
Daniel Veillard503b8932001-01-05 06:36:31 +00003269NAME="AEN11774"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003270></A
3271><H3
3272><A
3273NAME="XMLXPATHNEWSTRING"
3274></A
3275>xmlXPathNewString ()</H3
3276><TABLE
3277BORDER="0"
3278BGCOLOR="#D6E8FF"
3279WIDTH="100%"
3280CELLPADDING="6"
3281><TR
3282><TD
3283><PRE
3284CLASS="PROGRAMLISTING"
3285><A
3286HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
3287>xmlXPathObjectPtr</A
3288> xmlXPathNewString (const <A
3289HREF="gnome-xml-tree.html#XMLCHAR"
3290>xmlChar</A
3291> *val);</PRE
3292></TD
3293></TR
3294></TABLE
3295><P
3296>Create a new xmlXPathObjectPtr of type string and of value <TT
3297CLASS="PARAMETER"
3298><I
3299>val</I
3300></TT
3301></P
3302><P
3303></P
3304><DIV
3305CLASS="INFORMALTABLE"
3306><P
3307></P
3308><TABLE
3309BORDER="0"
3310WIDTH="100%"
3311BGCOLOR="#FFD0D0"
3312CELLSPACING="0"
3313CELLPADDING="4"
3314CLASS="CALSTABLE"
3315><TR
3316><TD
3317WIDTH="20%"
3318ALIGN="RIGHT"
3319VALIGN="TOP"
3320><TT
3321CLASS="PARAMETER"
3322><I
3323>val</I
3324></TT
3325>&nbsp;:</TD
3326><TD
3327WIDTH="80%"
3328ALIGN="LEFT"
3329VALIGN="TOP"
3330> the xmlChar * value</TD
3331></TR
3332><TR
3333><TD
3334WIDTH="20%"
3335ALIGN="RIGHT"
3336VALIGN="TOP"
3337><I
3338CLASS="EMPHASIS"
3339>Returns</I
3340> :</TD
3341><TD
3342WIDTH="80%"
3343ALIGN="LEFT"
3344VALIGN="TOP"
3345>the newly created object.</TD
3346></TR
3347></TABLE
3348><P
3349></P
3350></DIV
3351></DIV
3352><HR><DIV
3353CLASS="REFSECT2"
3354><A
Daniel Veillard503b8932001-01-05 06:36:31 +00003355NAME="AEN11796"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003356></A
3357><H3
3358><A
3359NAME="XMLXPATHNEWCSTRING"
3360></A
3361>xmlXPathNewCString ()</H3
3362><TABLE
3363BORDER="0"
3364BGCOLOR="#D6E8FF"
3365WIDTH="100%"
3366CELLPADDING="6"
3367><TR
3368><TD
3369><PRE
3370CLASS="PROGRAMLISTING"
3371><A
3372HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
3373>xmlXPathObjectPtr</A
3374> xmlXPathNewCString (const char *val);</PRE
3375></TD
3376></TR
3377></TABLE
3378><P
3379>Create a new xmlXPathObjectPtr of type string and of value <TT
3380CLASS="PARAMETER"
3381><I
3382>val</I
3383></TT
3384></P
3385><P
3386></P
3387><DIV
3388CLASS="INFORMALTABLE"
3389><P
3390></P
3391><TABLE
3392BORDER="0"
3393WIDTH="100%"
3394BGCOLOR="#FFD0D0"
3395CELLSPACING="0"
3396CELLPADDING="4"
3397CLASS="CALSTABLE"
3398><TR
3399><TD
3400WIDTH="20%"
3401ALIGN="RIGHT"
3402VALIGN="TOP"
3403><TT
3404CLASS="PARAMETER"
3405><I
3406>val</I
3407></TT
3408>&nbsp;:</TD
3409><TD
3410WIDTH="80%"
3411ALIGN="LEFT"
3412VALIGN="TOP"
3413> the char * value</TD
3414></TR
3415><TR
3416><TD
3417WIDTH="20%"
3418ALIGN="RIGHT"
3419VALIGN="TOP"
3420><I
3421CLASS="EMPHASIS"
3422>Returns</I
3423> :</TD
3424><TD
3425WIDTH="80%"
3426ALIGN="LEFT"
3427VALIGN="TOP"
3428>the newly created object.</TD
3429></TR
3430></TABLE
3431><P
3432></P
3433></DIV
3434></DIV
3435><HR><DIV
3436CLASS="REFSECT2"
3437><A
Daniel Veillard503b8932001-01-05 06:36:31 +00003438NAME="AEN11817"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003439></A
3440><H3
3441><A
3442NAME="XMLXPATHNEWFLOAT"
3443></A
3444>xmlXPathNewFloat ()</H3
3445><TABLE
3446BORDER="0"
3447BGCOLOR="#D6E8FF"
3448WIDTH="100%"
3449CELLPADDING="6"
3450><TR
3451><TD
3452><PRE
3453CLASS="PROGRAMLISTING"
3454><A
3455HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
3456>xmlXPathObjectPtr</A
3457> xmlXPathNewFloat (<GTKDOCLINK
3458HREF="DOUBLE"
3459>double</GTKDOCLINK
3460> val);</PRE
3461></TD
3462></TR
3463></TABLE
3464><P
3465>Create a new xmlXPathObjectPtr of type double and of value <TT
3466CLASS="PARAMETER"
3467><I
3468>val</I
3469></TT
3470></P
3471><P
3472></P
3473><DIV
3474CLASS="INFORMALTABLE"
3475><P
3476></P
3477><TABLE
3478BORDER="0"
3479WIDTH="100%"
3480BGCOLOR="#FFD0D0"
3481CELLSPACING="0"
3482CELLPADDING="4"
3483CLASS="CALSTABLE"
3484><TR
3485><TD
3486WIDTH="20%"
3487ALIGN="RIGHT"
3488VALIGN="TOP"
3489><TT
3490CLASS="PARAMETER"
3491><I
3492>val</I
3493></TT
3494>&nbsp;:</TD
3495><TD
3496WIDTH="80%"
3497ALIGN="LEFT"
3498VALIGN="TOP"
3499> the double value</TD
3500></TR
3501><TR
3502><TD
3503WIDTH="20%"
3504ALIGN="RIGHT"
3505VALIGN="TOP"
3506><I
3507CLASS="EMPHASIS"
3508>Returns</I
3509> :</TD
3510><TD
3511WIDTH="80%"
3512ALIGN="LEFT"
3513VALIGN="TOP"
3514>the newly created object.</TD
3515></TR
3516></TABLE
3517><P
3518></P
3519></DIV
3520></DIV
3521><HR><DIV
3522CLASS="REFSECT2"
3523><A
Daniel Veillard503b8932001-01-05 06:36:31 +00003524NAME="AEN11839"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003525></A
3526><H3
3527><A
3528NAME="XMLXPATHNEWBOOLEAN"
3529></A
3530>xmlXPathNewBoolean ()</H3
3531><TABLE
3532BORDER="0"
3533BGCOLOR="#D6E8FF"
3534WIDTH="100%"
3535CELLPADDING="6"
3536><TR
3537><TD
3538><PRE
3539CLASS="PROGRAMLISTING"
3540><A
3541HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
3542>xmlXPathObjectPtr</A
3543> xmlXPathNewBoolean (int val);</PRE
3544></TD
3545></TR
3546></TABLE
3547><P
3548>Create a new xmlXPathObjectPtr of type boolean and of value <TT
3549CLASS="PARAMETER"
3550><I
3551>val</I
3552></TT
3553></P
3554><P
3555></P
3556><DIV
3557CLASS="INFORMALTABLE"
3558><P
3559></P
3560><TABLE
3561BORDER="0"
3562WIDTH="100%"
3563BGCOLOR="#FFD0D0"
3564CELLSPACING="0"
3565CELLPADDING="4"
3566CLASS="CALSTABLE"
3567><TR
3568><TD
3569WIDTH="20%"
3570ALIGN="RIGHT"
3571VALIGN="TOP"
3572><TT
3573CLASS="PARAMETER"
3574><I
3575>val</I
3576></TT
3577>&nbsp;:</TD
3578><TD
3579WIDTH="80%"
3580ALIGN="LEFT"
3581VALIGN="TOP"
3582> the boolean value</TD
3583></TR
3584><TR
3585><TD
3586WIDTH="20%"
3587ALIGN="RIGHT"
3588VALIGN="TOP"
3589><I
3590CLASS="EMPHASIS"
3591>Returns</I
3592> :</TD
3593><TD
3594WIDTH="80%"
3595ALIGN="LEFT"
3596VALIGN="TOP"
3597>the newly created object.</TD
3598></TR
3599></TABLE
3600><P
3601></P
3602></DIV
3603></DIV
3604><HR><DIV
3605CLASS="REFSECT2"
3606><A
Daniel Veillard503b8932001-01-05 06:36:31 +00003607NAME="AEN11860"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003608></A
3609><H3
3610><A
3611NAME="XMLXPATHNEWNODESET"
3612></A
3613>xmlXPathNewNodeSet ()</H3
3614><TABLE
3615BORDER="0"
3616BGCOLOR="#D6E8FF"
3617WIDTH="100%"
3618CELLPADDING="6"
3619><TR
3620><TD
3621><PRE
3622CLASS="PROGRAMLISTING"
3623><A
3624HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
3625>xmlXPathObjectPtr</A
3626> xmlXPathNewNodeSet (<A
3627HREF="gnome-xml-tree.html#XMLNODEPTR"
3628>xmlNodePtr</A
3629> val);</PRE
3630></TD
3631></TR
3632></TABLE
3633><P
3634>Create a new xmlXPathObjectPtr of type NodeSet and initialize
3635it with the single Node <TT
3636CLASS="PARAMETER"
3637><I
3638>val</I
3639></TT
3640></P
3641><P
3642></P
3643><DIV
3644CLASS="INFORMALTABLE"
3645><P
3646></P
3647><TABLE
3648BORDER="0"
3649WIDTH="100%"
3650BGCOLOR="#FFD0D0"
3651CELLSPACING="0"
3652CELLPADDING="4"
3653CLASS="CALSTABLE"
3654><TR
3655><TD
3656WIDTH="20%"
3657ALIGN="RIGHT"
3658VALIGN="TOP"
3659><TT
3660CLASS="PARAMETER"
3661><I
3662>val</I
3663></TT
3664>&nbsp;:</TD
3665><TD
3666WIDTH="80%"
3667ALIGN="LEFT"
3668VALIGN="TOP"
3669> the NodePtr value</TD
3670></TR
3671><TR
3672><TD
3673WIDTH="20%"
3674ALIGN="RIGHT"
3675VALIGN="TOP"
3676><I
3677CLASS="EMPHASIS"
3678>Returns</I
3679> :</TD
3680><TD
3681WIDTH="80%"
3682ALIGN="LEFT"
3683VALIGN="TOP"
3684>the newly created object.</TD
3685></TR
3686></TABLE
3687><P
3688></P
3689></DIV
3690></DIV
3691><HR><DIV
3692CLASS="REFSECT2"
3693><A
Daniel Veillard503b8932001-01-05 06:36:31 +00003694NAME="AEN11882"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003695></A
3696><H3
3697><A
3698NAME="XMLXPATHNODESETADD"
3699></A
3700>xmlXPathNodeSetAdd ()</H3
3701><TABLE
3702BORDER="0"
3703BGCOLOR="#D6E8FF"
3704WIDTH="100%"
3705CELLPADDING="6"
3706><TR
3707><TD
3708><PRE
3709CLASS="PROGRAMLISTING"
3710>void xmlXPathNodeSetAdd (<A
3711HREF="gnome-xml-xpath.html#XMLNODESETPTR"
3712>xmlNodeSetPtr</A
3713> cur,
3714 <A
3715HREF="gnome-xml-tree.html#XMLNODEPTR"
3716>xmlNodePtr</A
3717> val);</PRE
3718></TD
3719></TR
3720></TABLE
3721><P
3722>add a new xmlNodePtr ot an existing NodeSet</P
3723><P
3724></P
3725><DIV
3726CLASS="INFORMALTABLE"
3727><P
3728></P
3729><TABLE
3730BORDER="0"
3731WIDTH="100%"
3732BGCOLOR="#FFD0D0"
3733CELLSPACING="0"
3734CELLPADDING="4"
3735CLASS="CALSTABLE"
3736><TR
3737><TD
3738WIDTH="20%"
3739ALIGN="RIGHT"
3740VALIGN="TOP"
3741><TT
3742CLASS="PARAMETER"
3743><I
3744>cur</I
3745></TT
3746>&nbsp;:</TD
3747><TD
3748WIDTH="80%"
3749ALIGN="LEFT"
3750VALIGN="TOP"
3751> the initial node set</TD
3752></TR
3753><TR
3754><TD
3755WIDTH="20%"
3756ALIGN="RIGHT"
3757VALIGN="TOP"
3758><TT
3759CLASS="PARAMETER"
3760><I
3761>val</I
3762></TT
3763>&nbsp;:</TD
3764><TD
3765WIDTH="80%"
3766ALIGN="LEFT"
3767VALIGN="TOP"
3768> a new xmlNodePtr</TD
3769></TR
3770></TABLE
3771><P
3772></P
3773></DIV
3774></DIV
3775><HR><DIV
3776CLASS="REFSECT2"
3777><A
Daniel Veillard503b8932001-01-05 06:36:31 +00003778NAME="AEN11903"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003779></A
3780><H3
3781><A
3782NAME="XMLXPATHIDFUNCTION"
3783></A
3784>xmlXPathIdFunction ()</H3
3785><TABLE
3786BORDER="0"
3787BGCOLOR="#D6E8FF"
3788WIDTH="100%"
3789CELLPADDING="6"
3790><TR
3791><TD
3792><PRE
3793CLASS="PROGRAMLISTING"
3794>void xmlXPathIdFunction (<A
3795HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
3796>xmlXPathParserContextPtr</A
3797> ctxt,
3798 int nargs);</PRE
3799></TD
3800></TR
3801></TABLE
3802><P
3803>Implement the <GTKDOCLINK
3804HREF="ID"
3805>id</GTKDOCLINK
3806>() XPath function
3807node-set id(object)
3808The id function selects elements by their unique ID
3809(see [5.2.1 Unique IDs]). When the argument to id is of type node-set,
3810then the result is the union of the result of applying id to the
3811string value of each of the nodes in the argument node-set. When the
3812argument to id is of any other type, the argument is converted to a
3813string as if by a call to the string function; the string is split
3814into a whitespace-separated list of tokens (whitespace is any sequence
3815of characters matching the production S); the result is a node-set
3816containing the elements in the same document as the context node that
3817have a unique ID equal to any of the tokens in the list.</P
3818><P
3819></P
3820><DIV
3821CLASS="INFORMALTABLE"
3822><P
3823></P
3824><TABLE
3825BORDER="0"
3826WIDTH="100%"
3827BGCOLOR="#FFD0D0"
3828CELLSPACING="0"
3829CELLPADDING="4"
3830CLASS="CALSTABLE"
3831><TR
3832><TD
3833WIDTH="20%"
3834ALIGN="RIGHT"
3835VALIGN="TOP"
3836><TT
3837CLASS="PARAMETER"
3838><I
3839>ctxt</I
3840></TT
3841>&nbsp;:</TD
3842><TD
3843WIDTH="80%"
3844ALIGN="LEFT"
3845VALIGN="TOP"
3846> the XPath Parser context</TD
3847></TR
3848><TR
3849><TD
3850WIDTH="20%"
3851ALIGN="RIGHT"
3852VALIGN="TOP"
3853><TT
3854CLASS="PARAMETER"
3855><I
3856>nargs</I
3857></TT
3858>&nbsp;:</TD
3859><TD
3860WIDTH="80%"
3861ALIGN="LEFT"
3862VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00003863>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003864></TR
3865></TABLE
3866><P
3867></P
3868></DIV
3869></DIV
3870><HR><DIV
3871CLASS="REFSECT2"
3872><A
Daniel Veillard503b8932001-01-05 06:36:31 +00003873NAME="AEN11924"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003874></A
3875><H3
3876><A
3877NAME="XMLXPATHROOT"
3878></A
3879>xmlXPathRoot ()</H3
3880><TABLE
3881BORDER="0"
3882BGCOLOR="#D6E8FF"
3883WIDTH="100%"
3884CELLPADDING="6"
3885><TR
3886><TD
3887><PRE
3888CLASS="PROGRAMLISTING"
3889>void xmlXPathRoot (<A
3890HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
3891>xmlXPathParserContextPtr</A
3892> ctxt);</PRE
3893></TD
3894></TR
3895></TABLE
3896><P
3897>Initialize the context to the root of the document</P
3898><P
3899></P
3900><DIV
3901CLASS="INFORMALTABLE"
3902><P
3903></P
3904><TABLE
3905BORDER="0"
3906WIDTH="100%"
3907BGCOLOR="#FFD0D0"
3908CELLSPACING="0"
3909CELLPADDING="4"
3910CLASS="CALSTABLE"
3911><TR
3912><TD
3913WIDTH="20%"
3914ALIGN="RIGHT"
3915VALIGN="TOP"
3916><TT
3917CLASS="PARAMETER"
3918><I
3919>ctxt</I
3920></TT
3921>&nbsp;:</TD
3922><TD
3923WIDTH="80%"
3924ALIGN="LEFT"
3925VALIGN="TOP"
3926> the XPath Parser context</TD
3927></TR
3928></TABLE
3929><P
3930></P
3931></DIV
3932></DIV
3933><HR><DIV
3934CLASS="REFSECT2"
3935><A
Daniel Veillard503b8932001-01-05 06:36:31 +00003936NAME="AEN11940"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003937></A
3938><H3
3939><A
3940NAME="XMLXPATHEVALEXPR"
3941></A
3942>xmlXPathEvalExpr ()</H3
3943><TABLE
3944BORDER="0"
3945BGCOLOR="#D6E8FF"
3946WIDTH="100%"
3947CELLPADDING="6"
3948><TR
3949><TD
3950><PRE
3951CLASS="PROGRAMLISTING"
3952>void xmlXPathEvalExpr (<A
3953HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
3954>xmlXPathParserContextPtr</A
3955> ctxt);</PRE
3956></TD
3957></TR
3958></TABLE
3959><P
3960>[14] Expr ::= OrExpr
3961[21] OrExpr ::= AndExpr
3962| OrExpr 'or' AndExpr </P
3963><P
3964>Parse and evaluate an expression, then push the result on the stack</P
3965><P
3966></P
3967><DIV
3968CLASS="INFORMALTABLE"
3969><P
3970></P
3971><TABLE
3972BORDER="0"
3973WIDTH="100%"
3974BGCOLOR="#FFD0D0"
3975CELLSPACING="0"
3976CELLPADDING="4"
3977CLASS="CALSTABLE"
3978><TR
3979><TD
3980WIDTH="20%"
3981ALIGN="RIGHT"
3982VALIGN="TOP"
3983><TT
3984CLASS="PARAMETER"
3985><I
3986>ctxt</I
3987></TT
3988>&nbsp;:</TD
3989><TD
3990WIDTH="80%"
3991ALIGN="LEFT"
3992VALIGN="TOP"
3993> the XPath Parser context</TD
3994></TR
3995></TABLE
3996><P
3997></P
3998></DIV
3999></DIV
4000><HR><DIV
4001CLASS="REFSECT2"
4002><A
Daniel Veillard503b8932001-01-05 06:36:31 +00004003NAME="AEN11957"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004004></A
4005><H3
4006><A
4007NAME="XMLXPATHPARSENAME"
4008></A
4009>xmlXPathParseName ()</H3
4010><TABLE
4011BORDER="0"
4012BGCOLOR="#D6E8FF"
4013WIDTH="100%"
4014CELLPADDING="6"
4015><TR
4016><TD
4017><PRE
4018CLASS="PROGRAMLISTING"
4019><A
4020HREF="gnome-xml-tree.html#XMLCHAR"
4021>xmlChar</A
4022>* xmlXPathParseName (<A
4023HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
4024>xmlXPathParserContextPtr</A
4025> ctxt);</PRE
4026></TD
4027></TR
4028></TABLE
4029><P
4030>parse an XML name</P
4031><P
4032>[4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' |
4033CombiningChar | Extender</P
4034><P
4035>[5] Name ::= (Letter | '_' | ':') (NameChar)*</P
4036><P
4037></P
4038><DIV
4039CLASS="INFORMALTABLE"
4040><P
4041></P
4042><TABLE
4043BORDER="0"
4044WIDTH="100%"
4045BGCOLOR="#FFD0D0"
4046CELLSPACING="0"
4047CELLPADDING="4"
4048CLASS="CALSTABLE"
4049><TR
4050><TD
4051WIDTH="20%"
4052ALIGN="RIGHT"
4053VALIGN="TOP"
4054><TT
4055CLASS="PARAMETER"
4056><I
4057>ctxt</I
4058></TT
4059>&nbsp;:</TD
4060><TD
4061WIDTH="80%"
4062ALIGN="LEFT"
4063VALIGN="TOP"
4064> the XPointer Parser context</TD
4065></TR
4066><TR
4067><TD
4068WIDTH="20%"
4069ALIGN="RIGHT"
4070VALIGN="TOP"
4071><I
4072CLASS="EMPHASIS"
4073>Returns</I
4074> :</TD
4075><TD
4076WIDTH="80%"
4077ALIGN="LEFT"
4078VALIGN="TOP"
4079>the namespace name or NULL</TD
4080></TR
4081></TABLE
4082><P
4083></P
4084></DIV
4085></DIV
4086><HR><DIV
4087CLASS="REFSECT2"
4088><A
Daniel Veillard503b8932001-01-05 06:36:31 +00004089NAME="AEN11980"
4090></A
4091><H3
4092><A
4093NAME="XMLXPATHPARSENCNAME"
4094></A
4095>xmlXPathParseNCName ()</H3
4096><TABLE
4097BORDER="0"
4098BGCOLOR="#D6E8FF"
4099WIDTH="100%"
4100CELLPADDING="6"
4101><TR
4102><TD
4103><PRE
4104CLASS="PROGRAMLISTING"
4105><A
4106HREF="gnome-xml-tree.html#XMLCHAR"
4107>xmlChar</A
4108>* xmlXPathParseNCName (<A
4109HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
4110>xmlXPathParserContextPtr</A
4111> ctxt);</PRE
4112></TD
4113></TR
4114></TABLE
4115><P
4116>parse an XML namespace non qualified name.</P
4117><P
4118>[NS 3] NCName ::= (Letter | '_') (NCNameChar)*</P
4119><P
4120>[NS 4] NCNameChar ::= Letter | Digit | '.' | '-' | '_' |
4121CombiningChar | Extender</P
4122><P
4123></P
4124><DIV
4125CLASS="INFORMALTABLE"
4126><P
4127></P
4128><TABLE
4129BORDER="0"
4130WIDTH="100%"
4131BGCOLOR="#FFD0D0"
4132CELLSPACING="0"
4133CELLPADDING="4"
4134CLASS="CALSTABLE"
4135><TR
4136><TD
4137WIDTH="20%"
4138ALIGN="RIGHT"
4139VALIGN="TOP"
4140><TT
4141CLASS="PARAMETER"
4142><I
4143>ctxt</I
4144></TT
4145>&nbsp;:</TD
4146><TD
4147WIDTH="80%"
4148ALIGN="LEFT"
4149VALIGN="TOP"
4150> the XPath Parser context</TD
4151></TR
4152><TR
4153><TD
4154WIDTH="20%"
4155ALIGN="RIGHT"
4156VALIGN="TOP"
4157><I
4158CLASS="EMPHASIS"
4159>Returns</I
4160> :</TD
4161><TD
4162WIDTH="80%"
4163ALIGN="LEFT"
4164VALIGN="TOP"
4165>the namespace name or NULL</TD
4166></TR
4167></TABLE
4168><P
4169></P
4170></DIV
4171></DIV
4172><HR><DIV
4173CLASS="REFSECT2"
4174><A
4175NAME="AEN12003"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004176></A
4177><H3
4178><A
4179NAME="XMLXPATHSTRINGEVALNUMBER"
4180></A
4181>xmlXPathStringEvalNumber ()</H3
4182><TABLE
4183BORDER="0"
4184BGCOLOR="#D6E8FF"
4185WIDTH="100%"
4186CELLPADDING="6"
4187><TR
4188><TD
4189><PRE
4190CLASS="PROGRAMLISTING"
4191><GTKDOCLINK
4192HREF="DOUBLE"
4193>double</GTKDOCLINK
4194> xmlXPathStringEvalNumber (const <A
4195HREF="gnome-xml-tree.html#XMLCHAR"
4196>xmlChar</A
4197> *str);</PRE
4198></TD
4199></TR
4200></TABLE
4201><P
4202>[30] Number ::= Digits ('.' Digits?)?
4203| '.' Digits
4204[31] Digits ::= [0-9]+</P
4205><P
4206>Parse and evaluate a Number in the string
4207In complement of the Number expression, this function also handles
4208negative values : '-' Number.</P
4209><P
4210></P
4211><DIV
4212CLASS="INFORMALTABLE"
4213><P
4214></P
4215><TABLE
4216BORDER="0"
4217WIDTH="100%"
4218BGCOLOR="#FFD0D0"
4219CELLSPACING="0"
4220CELLPADDING="4"
4221CLASS="CALSTABLE"
4222><TR
4223><TD
4224WIDTH="20%"
4225ALIGN="RIGHT"
4226VALIGN="TOP"
4227><TT
4228CLASS="PARAMETER"
4229><I
4230>str</I
4231></TT
4232>&nbsp;:</TD
4233><TD
4234WIDTH="80%"
4235ALIGN="LEFT"
4236VALIGN="TOP"
4237> A string to scan</TD
4238></TR
4239><TR
4240><TD
4241WIDTH="20%"
4242ALIGN="RIGHT"
4243VALIGN="TOP"
4244><I
4245CLASS="EMPHASIS"
4246>Returns</I
4247> :</TD
4248><TD
4249WIDTH="80%"
4250ALIGN="LEFT"
4251VALIGN="TOP"
4252>the double value.</TD
4253></TR
4254></TABLE
4255><P
4256></P
4257></DIV
4258></DIV
4259><HR><DIV
4260CLASS="REFSECT2"
4261><A
Daniel Veillard503b8932001-01-05 06:36:31 +00004262NAME="AEN12025"
Daniel Veillarda1fe9102000-11-25 10:49:25 +00004263></A
4264><H3
4265><A
4266NAME="XMLXPATHEVALUATEPREDICATERESULT"
4267></A
4268>xmlXPathEvaluatePredicateResult ()</H3
4269><TABLE
4270BORDER="0"
4271BGCOLOR="#D6E8FF"
4272WIDTH="100%"
4273CELLPADDING="6"
4274><TR
4275><TD
4276><PRE
4277CLASS="PROGRAMLISTING"
4278>int xmlXPathEvaluatePredicateResult (<A
4279HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
4280>xmlXPathParserContextPtr</A
4281> ctxt,
4282 <A
4283HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
4284>xmlXPathObjectPtr</A
4285> res);</PRE
4286></TD
4287></TR
4288></TABLE
4289><P
4290>Evaluate a predicate result for the current node.
4291A PredicateExpr is evaluated by evaluating the Expr and converting
4292the result to a boolean. If the result is a number, the result will
4293be converted to true if the number is equal to the position of the
4294context node in the context node list (as returned by the position
4295function) and will be converted to false otherwise; if the result
4296is not a number, then the result will be converted as if by a call
4297to the boolean function.</P
4298><P
4299></P
4300><DIV
4301CLASS="INFORMALTABLE"
4302><P
4303></P
4304><TABLE
4305BORDER="0"
4306WIDTH="100%"
4307BGCOLOR="#FFD0D0"
4308CELLSPACING="0"
4309CELLPADDING="4"
4310CLASS="CALSTABLE"
4311><TR
4312><TD
4313WIDTH="20%"
4314ALIGN="RIGHT"
4315VALIGN="TOP"
4316><TT
4317CLASS="PARAMETER"
4318><I
4319>ctxt</I
4320></TT
4321>&nbsp;:</TD
4322><TD
4323WIDTH="80%"
4324ALIGN="LEFT"
4325VALIGN="TOP"
4326> the XPath Parser context</TD
4327></TR
4328><TR
4329><TD
4330WIDTH="20%"
4331ALIGN="RIGHT"
4332VALIGN="TOP"
4333><TT
4334CLASS="PARAMETER"
4335><I
4336>res</I
4337></TT
4338>&nbsp;:</TD
4339><TD
4340WIDTH="80%"
4341ALIGN="LEFT"
4342VALIGN="TOP"
4343> the Predicate Expression evaluation result</TD
4344></TR
4345><TR
4346><TD
4347WIDTH="20%"
4348ALIGN="RIGHT"
4349VALIGN="TOP"
4350><I
4351CLASS="EMPHASIS"
4352>Returns</I
4353> :</TD
4354><TD
4355WIDTH="80%"
4356ALIGN="LEFT"
4357VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00004358>&#13;</TD
Daniel Veillarda1fe9102000-11-25 10:49:25 +00004359></TR
4360></TABLE
4361><P
4362></P
4363></DIV
4364></DIV
4365><HR><DIV
4366CLASS="REFSECT2"
4367><A
Daniel Veillard503b8932001-01-05 06:36:31 +00004368NAME="AEN12050"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004369></A
4370><H3
4371><A
4372NAME="XMLXPATHINIT"
4373></A
4374>xmlXPathInit ()</H3
4375><TABLE
4376BORDER="0"
4377BGCOLOR="#D6E8FF"
4378WIDTH="100%"
4379CELLPADDING="6"
4380><TR
4381><TD
4382><PRE
4383CLASS="PROGRAMLISTING"
4384>void xmlXPathInit (void);</PRE
4385></TD
4386></TR
4387></TABLE
4388><P
4389>Initialize the XPath environment</P
4390><P
4391></P
4392></DIV
4393><HR><DIV
4394CLASS="REFSECT2"
4395><A
Daniel Veillard503b8932001-01-05 06:36:31 +00004396NAME="AEN12056"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004397></A
4398><H3
4399><A
4400NAME="XMLXPATHSTRINGFUNCTION"
4401></A
4402>xmlXPathStringFunction ()</H3
4403><TABLE
4404BORDER="0"
4405BGCOLOR="#D6E8FF"
4406WIDTH="100%"
4407CELLPADDING="6"
4408><TR
4409><TD
4410><PRE
4411CLASS="PROGRAMLISTING"
4412>void xmlXPathStringFunction (<A
4413HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
4414>xmlXPathParserContextPtr</A
4415> ctxt,
4416 int nargs);</PRE
4417></TD
4418></TR
4419></TABLE
4420><P
4421>Implement the <GTKDOCLINK
4422HREF="STRING"
4423>string</GTKDOCLINK
4424>() XPath function
4425string string(object?)
4426he string function converts an object to a string as follows:
4427- A node-set is converted to a string by returning the value of
4428the node in the node-set that is first in document order.
4429If the node-set is empty, an empty string is returned.
4430- A number is converted to a string as follows
4431+ NaN is converted to the string NaN
4432+ positive zero is converted to the string 0
4433+ negative zero is converted to the string 0
4434+ positive infinity is converted to the string Infinity
4435+ negative infinity is converted to the string -Infinity
4436+ if the number is an integer, the number is represented in
4437decimal form as a Number with no decimal point and no leading
4438zeros, preceded by a minus sign (-) if the number is negative
4439+ otherwise, the number is represented in decimal form as a
4440Number including a decimal point with at least one digit
4441before the decimal point and at least one digit after the
4442decimal point, preceded by a minus sign (-) if the number
4443is negative; there must be no leading zeros before the decimal
4444point apart possibly from the one required digit immediatelyi
4445before the decimal point; beyond the one required digit
4446after the decimal point there must be as many, but only as
4447many, more digits as are needed to uniquely distinguish the
4448number from all other IEEE 754 numeric values.
4449- The boolean false value is converted to the string false.
4450The boolean true value is converted to the string true.</P
4451><P
4452>If the argument is omitted, it defaults to a node-set with the
4453context node as its only member.</P
4454><P
4455></P
4456><DIV
4457CLASS="INFORMALTABLE"
4458><P
4459></P
4460><TABLE
4461BORDER="0"
4462WIDTH="100%"
4463BGCOLOR="#FFD0D0"
4464CELLSPACING="0"
4465CELLPADDING="4"
4466CLASS="CALSTABLE"
4467><TR
4468><TD
4469WIDTH="20%"
4470ALIGN="RIGHT"
4471VALIGN="TOP"
4472><TT
4473CLASS="PARAMETER"
4474><I
4475>ctxt</I
4476></TT
4477>&nbsp;:</TD
4478><TD
4479WIDTH="80%"
4480ALIGN="LEFT"
4481VALIGN="TOP"
4482> the XPath Parser context</TD
4483></TR
4484><TR
4485><TD
4486WIDTH="20%"
4487ALIGN="RIGHT"
4488VALIGN="TOP"
4489><TT
4490CLASS="PARAMETER"
4491><I
4492>nargs</I
4493></TT
4494>&nbsp;:</TD
4495><TD
4496WIDTH="80%"
4497ALIGN="LEFT"
4498VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00004499>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004500></TR
4501></TABLE
4502><P
4503></P
4504></DIV
4505></DIV
4506><HR><DIV
4507CLASS="REFSECT2"
4508><A
Daniel Veillard503b8932001-01-05 06:36:31 +00004509NAME="AEN12078"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004510></A
4511><H3
4512><A
4513NAME="XMLXPATHREGISTERALLFUNCTIONS"
4514></A
4515>xmlXPathRegisterAllFunctions ()</H3
4516><TABLE
4517BORDER="0"
4518BGCOLOR="#D6E8FF"
4519WIDTH="100%"
4520CELLPADDING="6"
4521><TR
4522><TD
4523><PRE
4524CLASS="PROGRAMLISTING"
4525>void xmlXPathRegisterAllFunctions (<A
4526HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
4527>xmlXPathContextPtr</A
4528> ctxt);</PRE
4529></TD
4530></TR
4531></TABLE
4532><P
4533></P
4534><DIV
4535CLASS="INFORMALTABLE"
4536><P
4537></P
4538><TABLE
4539BORDER="0"
4540WIDTH="100%"
4541BGCOLOR="#FFD0D0"
4542CELLSPACING="0"
4543CELLPADDING="4"
4544CLASS="CALSTABLE"
4545><TR
4546><TD
4547WIDTH="20%"
4548ALIGN="RIGHT"
4549VALIGN="TOP"
4550><TT
4551CLASS="PARAMETER"
4552><I
4553>ctxt</I
4554></TT
4555>&nbsp;:</TD
4556><TD
4557WIDTH="80%"
4558ALIGN="LEFT"
4559VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00004560>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004561></TR
4562></TABLE
4563><P
4564></P
4565></DIV
4566></DIV
4567><HR><DIV
4568CLASS="REFSECT2"
4569><A
Daniel Veillard503b8932001-01-05 06:36:31 +00004570NAME="AEN12093"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004571></A
4572><H3
4573><A
4574NAME="XMLXPATHNODESETCREATE"
4575></A
4576>xmlXPathNodeSetCreate ()</H3
4577><TABLE
4578BORDER="0"
4579BGCOLOR="#D6E8FF"
4580WIDTH="100%"
4581CELLPADDING="6"
4582><TR
4583><TD
4584><PRE
4585CLASS="PROGRAMLISTING"
4586><A
4587HREF="gnome-xml-xpath.html#XMLNODESETPTR"
4588>xmlNodeSetPtr</A
4589> xmlXPathNodeSetCreate (<A
4590HREF="gnome-xml-tree.html#XMLNODEPTR"
4591>xmlNodePtr</A
4592> val);</PRE
4593></TD
4594></TR
4595></TABLE
4596><P
4597>Create a new xmlNodeSetPtr of type double and of value <TT
4598CLASS="PARAMETER"
4599><I
4600>val</I
4601></TT
4602></P
4603><P
4604></P
4605><DIV
4606CLASS="INFORMALTABLE"
4607><P
4608></P
4609><TABLE
4610BORDER="0"
4611WIDTH="100%"
4612BGCOLOR="#FFD0D0"
4613CELLSPACING="0"
4614CELLPADDING="4"
4615CLASS="CALSTABLE"
4616><TR
4617><TD
4618WIDTH="20%"
4619ALIGN="RIGHT"
4620VALIGN="TOP"
4621><TT
4622CLASS="PARAMETER"
4623><I
4624>val</I
4625></TT
4626>&nbsp;:</TD
4627><TD
4628WIDTH="80%"
4629ALIGN="LEFT"
4630VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00004631> an initial xmlNodePtr, or NULL</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004632></TR
4633><TR
4634><TD
4635WIDTH="20%"
4636ALIGN="RIGHT"
4637VALIGN="TOP"
4638><I
4639CLASS="EMPHASIS"
4640>Returns</I
4641> :</TD
4642><TD
4643WIDTH="80%"
4644ALIGN="LEFT"
4645VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00004646>the newly created object.</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004647></TR
4648></TABLE
4649><P
4650></P
4651></DIV
4652></DIV
4653><HR><DIV
4654CLASS="REFSECT2"
4655><A
Daniel Veillard503b8932001-01-05 06:36:31 +00004656NAME="AEN12115"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004657></A
4658><H3
4659><A
4660NAME="XMLXPATHNODESETMERGE"
4661></A
4662>xmlXPathNodeSetMerge ()</H3
4663><TABLE
4664BORDER="0"
4665BGCOLOR="#D6E8FF"
4666WIDTH="100%"
4667CELLPADDING="6"
4668><TR
4669><TD
4670><PRE
4671CLASS="PROGRAMLISTING"
4672><A
4673HREF="gnome-xml-xpath.html#XMLNODESETPTR"
4674>xmlNodeSetPtr</A
4675> xmlXPathNodeSetMerge (<A
4676HREF="gnome-xml-xpath.html#XMLNODESETPTR"
4677>xmlNodeSetPtr</A
4678> val1,
4679 <A
4680HREF="gnome-xml-xpath.html#XMLNODESETPTR"
4681>xmlNodeSetPtr</A
4682> val2);</PRE
4683></TD
4684></TR
4685></TABLE
4686><P
4687>Merges two nodesets, all nodes from <TT
4688CLASS="PARAMETER"
4689><I
4690>val2</I
4691></TT
4692> are added to <TT
4693CLASS="PARAMETER"
4694><I
4695>val1</I
4696></TT
4697>
4698if <TT
4699CLASS="PARAMETER"
4700><I
4701>val1</I
4702></TT
4703> is NULL, a new set is created and copied from <TT
4704CLASS="PARAMETER"
4705><I
4706>val2</I
4707></TT
4708></P
4709><P
4710></P
4711><DIV
4712CLASS="INFORMALTABLE"
4713><P
4714></P
4715><TABLE
4716BORDER="0"
4717WIDTH="100%"
4718BGCOLOR="#FFD0D0"
4719CELLSPACING="0"
4720CELLPADDING="4"
4721CLASS="CALSTABLE"
4722><TR
4723><TD
4724WIDTH="20%"
4725ALIGN="RIGHT"
4726VALIGN="TOP"
4727><TT
4728CLASS="PARAMETER"
4729><I
4730>val1</I
4731></TT
4732>&nbsp;:</TD
4733><TD
4734WIDTH="80%"
4735ALIGN="LEFT"
4736VALIGN="TOP"
4737> the first NodeSet or NULL</TD
4738></TR
4739><TR
4740><TD
4741WIDTH="20%"
4742ALIGN="RIGHT"
4743VALIGN="TOP"
4744><TT
4745CLASS="PARAMETER"
4746><I
4747>val2</I
4748></TT
4749>&nbsp;:</TD
4750><TD
4751WIDTH="80%"
4752ALIGN="LEFT"
4753VALIGN="TOP"
4754> the second NodeSet</TD
4755></TR
4756><TR
4757><TD
4758WIDTH="20%"
4759ALIGN="RIGHT"
4760VALIGN="TOP"
4761><I
4762CLASS="EMPHASIS"
4763>Returns</I
4764> :</TD
4765><TD
4766WIDTH="80%"
4767ALIGN="LEFT"
4768VALIGN="TOP"
4769>val1 once extended or NULL in case of error.</TD
4770></TR
4771></TABLE
4772><P
4773></P
4774></DIV
4775></DIV
4776><HR><DIV
4777CLASS="REFSECT2"
4778><A
Daniel Veillard503b8932001-01-05 06:36:31 +00004779NAME="AEN12145"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004780></A
4781><H3
4782><A
4783NAME="XMLXPATHNODESETDEL"
4784></A
4785>xmlXPathNodeSetDel ()</H3
4786><TABLE
4787BORDER="0"
4788BGCOLOR="#D6E8FF"
4789WIDTH="100%"
4790CELLPADDING="6"
4791><TR
4792><TD
4793><PRE
4794CLASS="PROGRAMLISTING"
4795>void xmlXPathNodeSetDel (<A
4796HREF="gnome-xml-xpath.html#XMLNODESETPTR"
4797>xmlNodeSetPtr</A
4798> cur,
4799 <A
4800HREF="gnome-xml-tree.html#XMLNODEPTR"
4801>xmlNodePtr</A
4802> val);</PRE
4803></TD
4804></TR
4805></TABLE
4806><P
4807>Removes an xmlNodePtr from an existing NodeSet</P
4808><P
4809></P
4810><DIV
4811CLASS="INFORMALTABLE"
4812><P
4813></P
4814><TABLE
4815BORDER="0"
4816WIDTH="100%"
4817BGCOLOR="#FFD0D0"
4818CELLSPACING="0"
4819CELLPADDING="4"
4820CLASS="CALSTABLE"
4821><TR
4822><TD
4823WIDTH="20%"
4824ALIGN="RIGHT"
4825VALIGN="TOP"
4826><TT
4827CLASS="PARAMETER"
4828><I
4829>cur</I
4830></TT
4831>&nbsp;:</TD
4832><TD
4833WIDTH="80%"
4834ALIGN="LEFT"
4835VALIGN="TOP"
4836> the initial node set</TD
4837></TR
4838><TR
4839><TD
4840WIDTH="20%"
4841ALIGN="RIGHT"
4842VALIGN="TOP"
4843><TT
4844CLASS="PARAMETER"
4845><I
4846>val</I
4847></TT
4848>&nbsp;:</TD
4849><TD
4850WIDTH="80%"
4851ALIGN="LEFT"
4852VALIGN="TOP"
4853> an xmlNodePtr</TD
4854></TR
4855></TABLE
4856><P
4857></P
4858></DIV
4859></DIV
4860><HR><DIV
4861CLASS="REFSECT2"
4862><A
Daniel Veillard503b8932001-01-05 06:36:31 +00004863NAME="AEN12166"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004864></A
4865><H3
4866><A
4867NAME="XMLXPATHNODESETREMOVE"
4868></A
4869>xmlXPathNodeSetRemove ()</H3
4870><TABLE
4871BORDER="0"
4872BGCOLOR="#D6E8FF"
4873WIDTH="100%"
4874CELLPADDING="6"
4875><TR
4876><TD
4877><PRE
4878CLASS="PROGRAMLISTING"
4879>void xmlXPathNodeSetRemove (<A
4880HREF="gnome-xml-xpath.html#XMLNODESETPTR"
4881>xmlNodeSetPtr</A
4882> cur,
4883 int val);</PRE
4884></TD
4885></TR
4886></TABLE
4887><P
4888>Removes an entry from an existing NodeSet list.</P
4889><P
4890></P
4891><DIV
4892CLASS="INFORMALTABLE"
4893><P
4894></P
4895><TABLE
4896BORDER="0"
4897WIDTH="100%"
4898BGCOLOR="#FFD0D0"
4899CELLSPACING="0"
4900CELLPADDING="4"
4901CLASS="CALSTABLE"
4902><TR
4903><TD
4904WIDTH="20%"
4905ALIGN="RIGHT"
4906VALIGN="TOP"
4907><TT
4908CLASS="PARAMETER"
4909><I
4910>cur</I
4911></TT
4912>&nbsp;:</TD
4913><TD
4914WIDTH="80%"
4915ALIGN="LEFT"
4916VALIGN="TOP"
4917> the initial node set</TD
4918></TR
4919><TR
4920><TD
4921WIDTH="20%"
4922ALIGN="RIGHT"
4923VALIGN="TOP"
4924><TT
4925CLASS="PARAMETER"
4926><I
4927>val</I
4928></TT
4929>&nbsp;:</TD
4930><TD
4931WIDTH="80%"
4932ALIGN="LEFT"
4933VALIGN="TOP"
4934> the index to remove</TD
4935></TR
4936></TABLE
4937><P
4938></P
4939></DIV
4940></DIV
4941><HR><DIV
4942CLASS="REFSECT2"
4943><A
Daniel Veillard503b8932001-01-05 06:36:31 +00004944NAME="AEN12186"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004945></A
4946><H3
4947><A
4948NAME="XMLXPATHFREENODESET"
4949></A
4950>xmlXPathFreeNodeSet ()</H3
4951><TABLE
4952BORDER="0"
4953BGCOLOR="#D6E8FF"
4954WIDTH="100%"
4955CELLPADDING="6"
4956><TR
4957><TD
4958><PRE
4959CLASS="PROGRAMLISTING"
4960>void xmlXPathFreeNodeSet (<A
4961HREF="gnome-xml-xpath.html#XMLNODESETPTR"
4962>xmlNodeSetPtr</A
4963> obj);</PRE
4964></TD
4965></TR
4966></TABLE
4967><P
4968>Free the NodeSet compound (not the actual nodes !).</P
4969><P
4970></P
4971><DIV
4972CLASS="INFORMALTABLE"
4973><P
4974></P
4975><TABLE
4976BORDER="0"
4977WIDTH="100%"
4978BGCOLOR="#FFD0D0"
4979CELLSPACING="0"
4980CELLPADDING="4"
4981CLASS="CALSTABLE"
4982><TR
4983><TD
4984WIDTH="20%"
4985ALIGN="RIGHT"
4986VALIGN="TOP"
4987><TT
4988CLASS="PARAMETER"
4989><I
4990>obj</I
4991></TT
4992>&nbsp;:</TD
4993><TD
4994WIDTH="80%"
4995ALIGN="LEFT"
4996VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00004997> the xmlNodeSetPtr to free</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004998></TR
4999></TABLE
5000><P
5001></P
5002></DIV
5003></DIV
5004><HR><DIV
5005CLASS="REFSECT2"
5006><A
Daniel Veillard503b8932001-01-05 06:36:31 +00005007NAME="AEN12202"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005008></A
5009><H3
5010><A
5011NAME="XMLXPATHNEWNODESETLIST"
5012></A
5013>xmlXPathNewNodeSetList ()</H3
5014><TABLE
5015BORDER="0"
5016BGCOLOR="#D6E8FF"
5017WIDTH="100%"
5018CELLPADDING="6"
5019><TR
5020><TD
5021><PRE
5022CLASS="PROGRAMLISTING"
5023><A
5024HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
5025>xmlXPathObjectPtr</A
5026> xmlXPathNewNodeSetList (<A
5027HREF="gnome-xml-xpath.html#XMLNODESETPTR"
5028>xmlNodeSetPtr</A
5029> val);</PRE
5030></TD
5031></TR
5032></TABLE
5033><P
5034>Create a new xmlXPathObjectPtr of type NodeSet and initialize
5035it with the Nodeset <TT
5036CLASS="PARAMETER"
5037><I
5038>val</I
5039></TT
5040></P
5041><P
5042></P
5043><DIV
5044CLASS="INFORMALTABLE"
5045><P
5046></P
5047><TABLE
5048BORDER="0"
5049WIDTH="100%"
5050BGCOLOR="#FFD0D0"
5051CELLSPACING="0"
5052CELLPADDING="4"
5053CLASS="CALSTABLE"
5054><TR
5055><TD
5056WIDTH="20%"
5057ALIGN="RIGHT"
5058VALIGN="TOP"
5059><TT
5060CLASS="PARAMETER"
5061><I
5062>val</I
5063></TT
5064>&nbsp;:</TD
5065><TD
5066WIDTH="80%"
5067ALIGN="LEFT"
5068VALIGN="TOP"
5069> an existing NodeSet</TD
5070></TR
5071><TR
5072><TD
5073WIDTH="20%"
5074ALIGN="RIGHT"
5075VALIGN="TOP"
5076><I
5077CLASS="EMPHASIS"
5078>Returns</I
5079> :</TD
5080><TD
5081WIDTH="80%"
5082ALIGN="LEFT"
5083VALIGN="TOP"
5084>the newly created object.</TD
5085></TR
5086></TABLE
5087><P
5088></P
5089></DIV
5090></DIV
5091><HR><DIV
5092CLASS="REFSECT2"
5093><A
Daniel Veillard503b8932001-01-05 06:36:31 +00005094NAME="AEN12224"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005095></A
5096><H3
5097><A
5098NAME="XMLXPATHWRAPNODESET"
5099></A
5100>xmlXPathWrapNodeSet ()</H3
5101><TABLE
5102BORDER="0"
5103BGCOLOR="#D6E8FF"
5104WIDTH="100%"
5105CELLPADDING="6"
5106><TR
5107><TD
5108><PRE
5109CLASS="PROGRAMLISTING"
5110><A
5111HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
5112>xmlXPathObjectPtr</A
5113> xmlXPathWrapNodeSet (<A
5114HREF="gnome-xml-xpath.html#XMLNODESETPTR"
5115>xmlNodeSetPtr</A
5116> val);</PRE
5117></TD
5118></TR
5119></TABLE
5120><P
5121>Wrap the Nodeset <TT
5122CLASS="PARAMETER"
5123><I
5124>val</I
5125></TT
5126> in a new xmlXPathObjectPtr</P
5127><P
5128></P
5129><DIV
5130CLASS="INFORMALTABLE"
5131><P
5132></P
5133><TABLE
5134BORDER="0"
5135WIDTH="100%"
5136BGCOLOR="#FFD0D0"
5137CELLSPACING="0"
5138CELLPADDING="4"
5139CLASS="CALSTABLE"
5140><TR
5141><TD
5142WIDTH="20%"
5143ALIGN="RIGHT"
5144VALIGN="TOP"
5145><TT
5146CLASS="PARAMETER"
5147><I
5148>val</I
5149></TT
5150>&nbsp;:</TD
5151><TD
5152WIDTH="80%"
5153ALIGN="LEFT"
5154VALIGN="TOP"
5155> the NodePtr value</TD
5156></TR
5157><TR
5158><TD
5159WIDTH="20%"
5160ALIGN="RIGHT"
5161VALIGN="TOP"
5162><I
5163CLASS="EMPHASIS"
5164>Returns</I
5165> :</TD
5166><TD
5167WIDTH="80%"
5168ALIGN="LEFT"
5169VALIGN="TOP"
5170>the newly created object.</TD
5171></TR
5172></TABLE
5173><P
5174></P
5175></DIV
5176></DIV
5177><HR><DIV
5178CLASS="REFSECT2"
5179><A
Daniel Veillard503b8932001-01-05 06:36:31 +00005180NAME="AEN12246"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005181></A
5182><H3
5183><A
5184NAME="XMLXPATHFREENODESETLIST"
5185></A
5186>xmlXPathFreeNodeSetList ()</H3
5187><TABLE
5188BORDER="0"
5189BGCOLOR="#D6E8FF"
5190WIDTH="100%"
5191CELLPADDING="6"
5192><TR
5193><TD
5194><PRE
5195CLASS="PROGRAMLISTING"
5196>void xmlXPathFreeNodeSetList (<A
5197HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
5198>xmlXPathObjectPtr</A
5199> obj);</PRE
5200></TD
5201></TR
5202></TABLE
5203><P
5204>Free up the xmlXPathObjectPtr <TT
5205CLASS="PARAMETER"
5206><I
5207>obj</I
5208></TT
5209> but don't deallocate the objects in
5210the list contrary to <A
5211HREF="gnome-xml-xpath.html#XMLXPATHFREEOBJECT"
5212>xmlXPathFreeObject</A
5213>().</P
5214><P
5215></P
5216><DIV
5217CLASS="INFORMALTABLE"
5218><P
5219></P
5220><TABLE
5221BORDER="0"
5222WIDTH="100%"
5223BGCOLOR="#FFD0D0"
5224CELLSPACING="0"
5225CELLPADDING="4"
5226CLASS="CALSTABLE"
5227><TR
5228><TD
5229WIDTH="20%"
5230ALIGN="RIGHT"
5231VALIGN="TOP"
5232><TT
5233CLASS="PARAMETER"
5234><I
5235>obj</I
5236></TT
5237>&nbsp;:</TD
5238><TD
5239WIDTH="80%"
5240ALIGN="LEFT"
5241VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00005242> an existing NodeSetList object</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005243></TR
5244></TABLE
5245><P
5246></P
5247></DIV
5248></DIV
5249><HR><DIV
5250CLASS="REFSECT2"
5251><A
Daniel Veillard503b8932001-01-05 06:36:31 +00005252NAME="AEN12264"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005253></A
5254><H3
5255><A
5256NAME="XMLXPATHFREEOBJECT"
5257></A
5258>xmlXPathFreeObject ()</H3
5259><TABLE
5260BORDER="0"
5261BGCOLOR="#D6E8FF"
5262WIDTH="100%"
5263CELLPADDING="6"
5264><TR
5265><TD
5266><PRE
5267CLASS="PROGRAMLISTING"
5268>void xmlXPathFreeObject (<A
5269HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR"
5270>xmlXPathObjectPtr</A
5271> obj);</PRE
5272></TD
5273></TR
5274></TABLE
5275><P
5276>Free up an xmlXPathObjectPtr object.</P
5277><P
5278></P
5279><DIV
5280CLASS="INFORMALTABLE"
5281><P
5282></P
5283><TABLE
5284BORDER="0"
5285WIDTH="100%"
5286BGCOLOR="#FFD0D0"
5287CELLSPACING="0"
5288CELLPADDING="4"
5289CLASS="CALSTABLE"
5290><TR
5291><TD
5292WIDTH="20%"
5293ALIGN="RIGHT"
5294VALIGN="TOP"
5295><TT
5296CLASS="PARAMETER"
5297><I
5298>obj</I
5299></TT
5300>&nbsp;:</TD
5301><TD
5302WIDTH="80%"
5303ALIGN="LEFT"
5304VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00005305> the object to free</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005306></TR
5307></TABLE
5308><P
5309></P
5310></DIV
5311></DIV
5312><HR><DIV
5313CLASS="REFSECT2"
5314><A
Daniel Veillard503b8932001-01-05 06:36:31 +00005315NAME="AEN12280"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005316></A
5317><H3
5318><A
5319NAME="XMLXPATHNEWCONTEXT"
5320></A
5321>xmlXPathNewContext ()</H3
5322><TABLE
5323BORDER="0"
5324BGCOLOR="#D6E8FF"
5325WIDTH="100%"
5326CELLPADDING="6"
5327><TR
5328><TD
5329><PRE
5330CLASS="PROGRAMLISTING"
5331><A
5332HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
5333>xmlXPathContextPtr</A
5334> xmlXPathNewContext (<A
5335HREF="gnome-xml-tree.html#XMLDOCPTR"
5336>xmlDocPtr</A
5337> doc);</PRE
5338></TD
5339></TR
5340></TABLE
5341><P
5342>Create a new xmlXPathContext</P
5343><P
5344></P
5345><DIV
5346CLASS="INFORMALTABLE"
5347><P
5348></P
5349><TABLE
5350BORDER="0"
5351WIDTH="100%"
5352BGCOLOR="#FFD0D0"
5353CELLSPACING="0"
5354CELLPADDING="4"
5355CLASS="CALSTABLE"
5356><TR
5357><TD
5358WIDTH="20%"
5359ALIGN="RIGHT"
5360VALIGN="TOP"
5361><TT
5362CLASS="PARAMETER"
5363><I
5364>doc</I
5365></TT
5366>&nbsp;:</TD
5367><TD
5368WIDTH="80%"
5369ALIGN="LEFT"
5370VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00005371> the XML document</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005372></TR
5373><TR
5374><TD
5375WIDTH="20%"
5376ALIGN="RIGHT"
5377VALIGN="TOP"
5378><I
5379CLASS="EMPHASIS"
5380>Returns</I
5381> :</TD
5382><TD
5383WIDTH="80%"
5384ALIGN="LEFT"
5385VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00005386>the xmlXPathContext just allocated.</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005387></TR
5388></TABLE
5389><P
5390></P
5391></DIV
5392></DIV
5393><HR><DIV
5394CLASS="REFSECT2"
5395><A
Daniel Veillard503b8932001-01-05 06:36:31 +00005396NAME="AEN12301"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005397></A
5398><H3
5399><A
5400NAME="XMLXPATHFREECONTEXT"
5401></A
5402>xmlXPathFreeContext ()</H3
5403><TABLE
5404BORDER="0"
5405BGCOLOR="#D6E8FF"
5406WIDTH="100%"
5407CELLPADDING="6"
5408><TR
5409><TD
5410><PRE
5411CLASS="PROGRAMLISTING"
5412>void xmlXPathFreeContext (<A
5413HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"
5414>xmlXPathContextPtr</A
5415> ctxt);</PRE
5416></TD
5417></TR
5418></TABLE
5419><P
5420>Free up an xmlXPathContext</P
5421><P
5422></P
5423><DIV
5424CLASS="INFORMALTABLE"
5425><P
5426></P
5427><TABLE
5428BORDER="0"
5429WIDTH="100%"
5430BGCOLOR="#FFD0D0"
5431CELLSPACING="0"
5432CELLPADDING="4"
5433CLASS="CALSTABLE"
5434><TR
5435><TD
5436WIDTH="20%"
5437ALIGN="RIGHT"
5438VALIGN="TOP"
5439><TT
5440CLASS="PARAMETER"
5441><I
5442>ctxt</I
5443></TT
5444>&nbsp;:</TD
5445><TD
5446WIDTH="80%"
5447ALIGN="LEFT"
5448VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00005449> the context to free</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005450></TR
5451></TABLE
5452><P
5453></P
5454></DIV
5455></DIV
5456><HR><DIV
5457CLASS="REFSECT2"
5458><A
Daniel Veillard503b8932001-01-05 06:36:31 +00005459NAME="AEN12317"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005460></A
5461><H3
5462><A
5463NAME="XMLXPATHEQUALVALUES"
5464></A
5465>xmlXPathEqualValues ()</H3
5466><TABLE
5467BORDER="0"
5468BGCOLOR="#D6E8FF"
5469WIDTH="100%"
5470CELLPADDING="6"
5471><TR
5472><TD
5473><PRE
5474CLASS="PROGRAMLISTING"
5475>int xmlXPathEqualValues (<A
5476HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
5477>xmlXPathParserContextPtr</A
5478> ctxt);</PRE
5479></TD
5480></TR
5481></TABLE
5482><P
5483>Implement the equal operation on XPath objects content: <TT
5484CLASS="PARAMETER"
5485><I
5486>arg1</I
5487></TT
5488> == <TT
5489CLASS="PARAMETER"
5490><I
5491>arg2</I
5492></TT
5493></P
5494><P
5495></P
5496><DIV
5497CLASS="INFORMALTABLE"
5498><P
5499></P
5500><TABLE
5501BORDER="0"
5502WIDTH="100%"
5503BGCOLOR="#FFD0D0"
5504CELLSPACING="0"
5505CELLPADDING="4"
5506CLASS="CALSTABLE"
5507><TR
5508><TD
5509WIDTH="20%"
5510ALIGN="RIGHT"
5511VALIGN="TOP"
5512><TT
5513CLASS="PARAMETER"
5514><I
5515>ctxt</I
5516></TT
5517>&nbsp;:</TD
5518><TD
5519WIDTH="80%"
5520ALIGN="LEFT"
5521VALIGN="TOP"
5522> the XPath Parser context</TD
5523></TR
5524><TR
5525><TD
5526WIDTH="20%"
5527ALIGN="RIGHT"
5528VALIGN="TOP"
5529><I
5530CLASS="EMPHASIS"
5531>Returns</I
5532> :</TD
5533><TD
5534WIDTH="80%"
5535ALIGN="LEFT"
5536VALIGN="TOP"
5537>0 or 1 depending on the results of the test.</TD
5538></TR
5539></TABLE
5540><P
5541></P
5542></DIV
5543></DIV
5544><HR><DIV
5545CLASS="REFSECT2"
5546><A
Daniel Veillard503b8932001-01-05 06:36:31 +00005547NAME="AEN12339"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005548></A
5549><H3
5550><A
5551NAME="XMLXPATHCOMPAREVALUES"
5552></A
5553>xmlXPathCompareValues ()</H3
5554><TABLE
5555BORDER="0"
5556BGCOLOR="#D6E8FF"
5557WIDTH="100%"
5558CELLPADDING="6"
5559><TR
5560><TD
5561><PRE
5562CLASS="PROGRAMLISTING"
5563>int xmlXPathCompareValues (<A
5564HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
5565>xmlXPathParserContextPtr</A
5566> ctxt,
5567 int inf,
5568 int strict);</PRE
5569></TD
5570></TR
5571></TABLE
5572><P
5573>Implement the compare operation on XPath objects:
5574<TT
5575CLASS="PARAMETER"
5576><I
5577>arg1</I
5578></TT
5579> &lt; <TT
5580CLASS="PARAMETER"
5581><I
5582>arg2</I
5583></TT
5584> (1, 1, ...
5585<TT
5586CLASS="PARAMETER"
5587><I
5588>arg1</I
5589></TT
5590> &lt;= <TT
5591CLASS="PARAMETER"
5592><I
5593>arg2</I
5594></TT
5595> (1, 0, ...
5596<TT
5597CLASS="PARAMETER"
5598><I
5599>arg1</I
5600></TT
5601> &gt; <TT
5602CLASS="PARAMETER"
5603><I
5604>arg2</I
5605></TT
5606> (0, 1, ...
5607<TT
5608CLASS="PARAMETER"
5609><I
5610>arg1</I
5611></TT
5612> &gt;= <TT
5613CLASS="PARAMETER"
5614><I
5615>arg2</I
5616></TT
5617> (0, 0, ...</P
5618><P
5619>When neither object to be compared is a node-set and the operator is
5620&lt;=, &lt;, &gt;=, &gt;, then the objects are compared by converted both objects
5621to numbers and comparing the numbers according to IEEE 754. The &lt;
5622comparison will be true if and only if the first number is less than the
5623second number. The &lt;= comparison will be true if and only if the first
5624number is less than or equal to the second number. The &gt; comparison
5625will be true if and only if the first number is greater than the second
5626number. The &gt;= comparison will be true if and only if the first number
5627is greater than or equal to the second number.</P
5628><P
5629></P
5630><DIV
5631CLASS="INFORMALTABLE"
5632><P
5633></P
5634><TABLE
5635BORDER="0"
5636WIDTH="100%"
5637BGCOLOR="#FFD0D0"
5638CELLSPACING="0"
5639CELLPADDING="4"
5640CLASS="CALSTABLE"
5641><TR
5642><TD
5643WIDTH="20%"
5644ALIGN="RIGHT"
5645VALIGN="TOP"
5646><TT
5647CLASS="PARAMETER"
5648><I
5649>ctxt</I
5650></TT
5651>&nbsp;:</TD
5652><TD
5653WIDTH="80%"
5654ALIGN="LEFT"
5655VALIGN="TOP"
5656> the XPath Parser context</TD
5657></TR
5658><TR
5659><TD
5660WIDTH="20%"
5661ALIGN="RIGHT"
5662VALIGN="TOP"
5663><TT
5664CLASS="PARAMETER"
5665><I
5666>inf</I
5667></TT
5668>&nbsp;:</TD
5669><TD
5670WIDTH="80%"
5671ALIGN="LEFT"
5672VALIGN="TOP"
5673> less than (1) or greater than (2)</TD
5674></TR
5675><TR
5676><TD
5677WIDTH="20%"
5678ALIGN="RIGHT"
5679VALIGN="TOP"
5680><TT
5681CLASS="PARAMETER"
5682><I
5683>strict</I
5684></TT
5685>&nbsp;:</TD
5686><TD
5687WIDTH="80%"
5688ALIGN="LEFT"
5689VALIGN="TOP"
5690> is the comparison strict</TD
5691></TR
5692><TR
5693><TD
5694WIDTH="20%"
5695ALIGN="RIGHT"
5696VALIGN="TOP"
5697><I
5698CLASS="EMPHASIS"
5699>Returns</I
5700> :</TD
5701><TD
5702WIDTH="80%"
5703ALIGN="LEFT"
5704VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00005705>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005706></TR
5707></TABLE
5708><P
5709></P
5710></DIV
5711></DIV
5712><HR><DIV
5713CLASS="REFSECT2"
5714><A
Daniel Veillard503b8932001-01-05 06:36:31 +00005715NAME="AEN12376"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005716></A
5717><H3
5718><A
5719NAME="XMLXPATHVALUEFLIPSIGN"
5720></A
5721>xmlXPathValueFlipSign ()</H3
5722><TABLE
5723BORDER="0"
5724BGCOLOR="#D6E8FF"
5725WIDTH="100%"
5726CELLPADDING="6"
5727><TR
5728><TD
5729><PRE
5730CLASS="PROGRAMLISTING"
5731>void xmlXPathValueFlipSign (<A
5732HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
5733>xmlXPathParserContextPtr</A
5734> ctxt);</PRE
5735></TD
5736></TR
5737></TABLE
5738><P
5739>Implement the unary - operation on an XPath object
5740The numeric operators convert their operands to numbers as if
5741by calling the number function.</P
5742><P
5743></P
5744><DIV
5745CLASS="INFORMALTABLE"
5746><P
5747></P
5748><TABLE
5749BORDER="0"
5750WIDTH="100%"
5751BGCOLOR="#FFD0D0"
5752CELLSPACING="0"
5753CELLPADDING="4"
5754CLASS="CALSTABLE"
5755><TR
5756><TD
5757WIDTH="20%"
5758ALIGN="RIGHT"
5759VALIGN="TOP"
5760><TT
5761CLASS="PARAMETER"
5762><I
5763>ctxt</I
5764></TT
5765>&nbsp;:</TD
5766><TD
5767WIDTH="80%"
5768ALIGN="LEFT"
5769VALIGN="TOP"
5770> the XPath Parser context</TD
5771></TR
5772></TABLE
5773><P
5774></P
5775></DIV
5776></DIV
5777><HR><DIV
5778CLASS="REFSECT2"
5779><A
Daniel Veillard503b8932001-01-05 06:36:31 +00005780NAME="AEN12392"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005781></A
5782><H3
5783><A
5784NAME="XMLXPATHADDVALUES"
5785></A
5786>xmlXPathAddValues ()</H3
5787><TABLE
5788BORDER="0"
5789BGCOLOR="#D6E8FF"
5790WIDTH="100%"
5791CELLPADDING="6"
5792><TR
5793><TD
5794><PRE
5795CLASS="PROGRAMLISTING"
5796>void xmlXPathAddValues (<A
5797HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
5798>xmlXPathParserContextPtr</A
5799> ctxt);</PRE
5800></TD
5801></TR
5802></TABLE
5803><P
5804>Implement the add operation on XPath objects:
5805The numeric operators convert their operands to numbers as if
5806by calling the number function.</P
5807><P
5808></P
5809><DIV
5810CLASS="INFORMALTABLE"
5811><P
5812></P
5813><TABLE
5814BORDER="0"
5815WIDTH="100%"
5816BGCOLOR="#FFD0D0"
5817CELLSPACING="0"
5818CELLPADDING="4"
5819CLASS="CALSTABLE"
5820><TR
5821><TD
5822WIDTH="20%"
5823ALIGN="RIGHT"
5824VALIGN="TOP"
5825><TT
5826CLASS="PARAMETER"
5827><I
5828>ctxt</I
5829></TT
5830>&nbsp;:</TD
5831><TD
5832WIDTH="80%"
5833ALIGN="LEFT"
5834VALIGN="TOP"
5835> the XPath Parser context</TD
5836></TR
5837></TABLE
5838><P
5839></P
5840></DIV
5841></DIV
5842><HR><DIV
5843CLASS="REFSECT2"
5844><A
Daniel Veillard503b8932001-01-05 06:36:31 +00005845NAME="AEN12408"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005846></A
5847><H3
5848><A
5849NAME="XMLXPATHSUBVALUES"
5850></A
5851>xmlXPathSubValues ()</H3
5852><TABLE
5853BORDER="0"
5854BGCOLOR="#D6E8FF"
5855WIDTH="100%"
5856CELLPADDING="6"
5857><TR
5858><TD
5859><PRE
5860CLASS="PROGRAMLISTING"
5861>void xmlXPathSubValues (<A
5862HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
5863>xmlXPathParserContextPtr</A
5864> ctxt);</PRE
5865></TD
5866></TR
5867></TABLE
5868><P
5869>Implement the substraction operation on XPath objects:
5870The numeric operators convert their operands to numbers as if
5871by calling the number function.</P
5872><P
5873></P
5874><DIV
5875CLASS="INFORMALTABLE"
5876><P
5877></P
5878><TABLE
5879BORDER="0"
5880WIDTH="100%"
5881BGCOLOR="#FFD0D0"
5882CELLSPACING="0"
5883CELLPADDING="4"
5884CLASS="CALSTABLE"
5885><TR
5886><TD
5887WIDTH="20%"
5888ALIGN="RIGHT"
5889VALIGN="TOP"
5890><TT
5891CLASS="PARAMETER"
5892><I
5893>ctxt</I
5894></TT
5895>&nbsp;:</TD
5896><TD
5897WIDTH="80%"
5898ALIGN="LEFT"
5899VALIGN="TOP"
5900> the XPath Parser context</TD
5901></TR
5902></TABLE
5903><P
5904></P
5905></DIV
5906></DIV
5907><HR><DIV
5908CLASS="REFSECT2"
5909><A
Daniel Veillard503b8932001-01-05 06:36:31 +00005910NAME="AEN12424"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005911></A
5912><H3
5913><A
5914NAME="XMLXPATHMULTVALUES"
5915></A
5916>xmlXPathMultValues ()</H3
5917><TABLE
5918BORDER="0"
5919BGCOLOR="#D6E8FF"
5920WIDTH="100%"
5921CELLPADDING="6"
5922><TR
5923><TD
5924><PRE
5925CLASS="PROGRAMLISTING"
5926>void xmlXPathMultValues (<A
5927HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
5928>xmlXPathParserContextPtr</A
5929> ctxt);</PRE
5930></TD
5931></TR
5932></TABLE
5933><P
5934>Implement the multiply operation on XPath objects:
5935The numeric operators convert their operands to numbers as if
5936by calling the number function.</P
5937><P
5938></P
5939><DIV
5940CLASS="INFORMALTABLE"
5941><P
5942></P
5943><TABLE
5944BORDER="0"
5945WIDTH="100%"
5946BGCOLOR="#FFD0D0"
5947CELLSPACING="0"
5948CELLPADDING="4"
5949CLASS="CALSTABLE"
5950><TR
5951><TD
5952WIDTH="20%"
5953ALIGN="RIGHT"
5954VALIGN="TOP"
5955><TT
5956CLASS="PARAMETER"
5957><I
5958>ctxt</I
5959></TT
5960>&nbsp;:</TD
5961><TD
5962WIDTH="80%"
5963ALIGN="LEFT"
5964VALIGN="TOP"
5965> the XPath Parser context</TD
5966></TR
5967></TABLE
5968><P
5969></P
5970></DIV
5971></DIV
5972><HR><DIV
5973CLASS="REFSECT2"
5974><A
Daniel Veillard503b8932001-01-05 06:36:31 +00005975NAME="AEN12440"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005976></A
5977><H3
5978><A
5979NAME="XMLXPATHDIVVALUES"
5980></A
5981>xmlXPathDivValues ()</H3
5982><TABLE
5983BORDER="0"
5984BGCOLOR="#D6E8FF"
5985WIDTH="100%"
5986CELLPADDING="6"
5987><TR
5988><TD
5989><PRE
5990CLASS="PROGRAMLISTING"
5991>void xmlXPathDivValues (<A
5992HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
5993>xmlXPathParserContextPtr</A
5994> ctxt);</PRE
5995></TD
5996></TR
5997></TABLE
5998><P
5999>Implement the div operation on XPath objects:
6000The numeric operators convert their operands to numbers as if
6001by calling the number function.</P
6002><P
6003></P
6004><DIV
6005CLASS="INFORMALTABLE"
6006><P
6007></P
6008><TABLE
6009BORDER="0"
6010WIDTH="100%"
6011BGCOLOR="#FFD0D0"
6012CELLSPACING="0"
6013CELLPADDING="4"
6014CLASS="CALSTABLE"
6015><TR
6016><TD
6017WIDTH="20%"
6018ALIGN="RIGHT"
6019VALIGN="TOP"
6020><TT
6021CLASS="PARAMETER"
6022><I
6023>ctxt</I
6024></TT
6025>&nbsp;:</TD
6026><TD
6027WIDTH="80%"
6028ALIGN="LEFT"
6029VALIGN="TOP"
6030> the XPath Parser context</TD
6031></TR
6032></TABLE
6033><P
6034></P
6035></DIV
6036></DIV
6037><HR><DIV
6038CLASS="REFSECT2"
6039><A
Daniel Veillard503b8932001-01-05 06:36:31 +00006040NAME="AEN12456"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006041></A
6042><H3
6043><A
6044NAME="XMLXPATHMODVALUES"
6045></A
6046>xmlXPathModValues ()</H3
6047><TABLE
6048BORDER="0"
6049BGCOLOR="#D6E8FF"
6050WIDTH="100%"
6051CELLPADDING="6"
6052><TR
6053><TD
6054><PRE
6055CLASS="PROGRAMLISTING"
6056>void xmlXPathModValues (<A
6057HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
6058>xmlXPathParserContextPtr</A
6059> ctxt);</PRE
6060></TD
6061></TR
6062></TABLE
6063><P
6064>Implement the div operation on XPath objects: <TT
6065CLASS="PARAMETER"
6066><I
6067>arg1</I
6068></TT
6069> / <TT
6070CLASS="PARAMETER"
6071><I
6072>arg2</I
6073></TT
6074>
6075The numeric operators convert their operands to numbers as if
6076by calling the number function.</P
6077><P
6078></P
6079><DIV
6080CLASS="INFORMALTABLE"
6081><P
6082></P
6083><TABLE
6084BORDER="0"
6085WIDTH="100%"
6086BGCOLOR="#FFD0D0"
6087CELLSPACING="0"
6088CELLPADDING="4"
6089CLASS="CALSTABLE"
6090><TR
6091><TD
6092WIDTH="20%"
6093ALIGN="RIGHT"
6094VALIGN="TOP"
6095><TT
6096CLASS="PARAMETER"
6097><I
6098>ctxt</I
6099></TT
6100>&nbsp;:</TD
6101><TD
6102WIDTH="80%"
6103ALIGN="LEFT"
6104VALIGN="TOP"
6105> the XPath Parser context</TD
6106></TR
6107></TABLE
6108><P
6109></P
6110></DIV
6111></DIV
6112><HR><DIV
6113CLASS="REFSECT2"
6114><A
Daniel Veillard503b8932001-01-05 06:36:31 +00006115NAME="AEN12474"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006116></A
6117><H3
6118><A
6119NAME="XMLXPATHLASTFUNCTION"
6120></A
6121>xmlXPathLastFunction ()</H3
6122><TABLE
6123BORDER="0"
6124BGCOLOR="#D6E8FF"
6125WIDTH="100%"
6126CELLPADDING="6"
6127><TR
6128><TD
6129><PRE
6130CLASS="PROGRAMLISTING"
6131>void xmlXPathLastFunction (<A
6132HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
6133>xmlXPathParserContextPtr</A
6134> ctxt,
6135 int nargs);</PRE
6136></TD
6137></TR
6138></TABLE
6139><P
6140>Implement the <GTKDOCLINK
6141HREF="LAST"
6142>last</GTKDOCLINK
6143>() XPath function
6144number <GTKDOCLINK
6145HREF="LAST"
6146>last</GTKDOCLINK
6147>()
6148The last function returns the number of nodes in the context node list.</P
6149><P
6150></P
6151><DIV
6152CLASS="INFORMALTABLE"
6153><P
6154></P
6155><TABLE
6156BORDER="0"
6157WIDTH="100%"
6158BGCOLOR="#FFD0D0"
6159CELLSPACING="0"
6160CELLPADDING="4"
6161CLASS="CALSTABLE"
6162><TR
6163><TD
6164WIDTH="20%"
6165ALIGN="RIGHT"
6166VALIGN="TOP"
6167><TT
6168CLASS="PARAMETER"
6169><I
6170>ctxt</I
6171></TT
6172>&nbsp;:</TD
6173><TD
6174WIDTH="80%"
6175ALIGN="LEFT"
6176VALIGN="TOP"
6177> the XPath Parser context</TD
6178></TR
6179><TR
6180><TD
6181WIDTH="20%"
6182ALIGN="RIGHT"
6183VALIGN="TOP"
6184><TT
6185CLASS="PARAMETER"
6186><I
6187>nargs</I
6188></TT
6189>&nbsp;:</TD
6190><TD
6191WIDTH="80%"
6192ALIGN="LEFT"
6193VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00006194>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006195></TR
6196></TABLE
6197><P
6198></P
6199></DIV
6200></DIV
6201><HR><DIV
6202CLASS="REFSECT2"
6203><A
Daniel Veillard503b8932001-01-05 06:36:31 +00006204NAME="AEN12496"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006205></A
6206><H3
6207><A
6208NAME="XMLXPATHPOSITIONFUNCTION"
6209></A
6210>xmlXPathPositionFunction ()</H3
6211><TABLE
6212BORDER="0"
6213BGCOLOR="#D6E8FF"
6214WIDTH="100%"
6215CELLPADDING="6"
6216><TR
6217><TD
6218><PRE
6219CLASS="PROGRAMLISTING"
6220>void xmlXPathPositionFunction (<A
6221HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
6222>xmlXPathParserContextPtr</A
6223> ctxt,
6224 int nargs);</PRE
6225></TD
6226></TR
6227></TABLE
6228><P
6229>Implement the <GTKDOCLINK
6230HREF="POSITION"
6231>position</GTKDOCLINK
6232>() XPath function
6233number <GTKDOCLINK
6234HREF="POSITION"
6235>position</GTKDOCLINK
6236>()
6237The position function returns the position of the context node in the
6238context node list. The first position is 1, and so the last positionr
6239will be equal to <GTKDOCLINK
6240HREF="LAST"
6241>last</GTKDOCLINK
6242>().</P
6243><P
6244></P
6245><DIV
6246CLASS="INFORMALTABLE"
6247><P
6248></P
6249><TABLE
6250BORDER="0"
6251WIDTH="100%"
6252BGCOLOR="#FFD0D0"
6253CELLSPACING="0"
6254CELLPADDING="4"
6255CLASS="CALSTABLE"
6256><TR
6257><TD
6258WIDTH="20%"
6259ALIGN="RIGHT"
6260VALIGN="TOP"
6261><TT
6262CLASS="PARAMETER"
6263><I
6264>ctxt</I
6265></TT
6266>&nbsp;:</TD
6267><TD
6268WIDTH="80%"
6269ALIGN="LEFT"
6270VALIGN="TOP"
6271> the XPath Parser context</TD
6272></TR
6273><TR
6274><TD
6275WIDTH="20%"
6276ALIGN="RIGHT"
6277VALIGN="TOP"
6278><TT
6279CLASS="PARAMETER"
6280><I
6281>nargs</I
6282></TT
6283>&nbsp;:</TD
6284><TD
6285WIDTH="80%"
6286ALIGN="LEFT"
6287VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00006288>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006289></TR
6290></TABLE
6291><P
6292></P
6293></DIV
6294></DIV
6295><HR><DIV
6296CLASS="REFSECT2"
6297><A
Daniel Veillard503b8932001-01-05 06:36:31 +00006298NAME="AEN12519"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006299></A
6300><H3
6301><A
6302NAME="XMLXPATHCOUNTFUNCTION"
6303></A
6304>xmlXPathCountFunction ()</H3
6305><TABLE
6306BORDER="0"
6307BGCOLOR="#D6E8FF"
6308WIDTH="100%"
6309CELLPADDING="6"
6310><TR
6311><TD
6312><PRE
6313CLASS="PROGRAMLISTING"
6314>void xmlXPathCountFunction (<A
6315HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
6316>xmlXPathParserContextPtr</A
6317> ctxt,
6318 int nargs);</PRE
6319></TD
6320></TR
6321></TABLE
6322><P
6323>Implement the <GTKDOCLINK
6324HREF="COUNT"
6325>count</GTKDOCLINK
6326>() XPath function
6327number count(node-set)</P
6328><P
6329></P
6330><DIV
6331CLASS="INFORMALTABLE"
6332><P
6333></P
6334><TABLE
6335BORDER="0"
6336WIDTH="100%"
6337BGCOLOR="#FFD0D0"
6338CELLSPACING="0"
6339CELLPADDING="4"
6340CLASS="CALSTABLE"
6341><TR
6342><TD
6343WIDTH="20%"
6344ALIGN="RIGHT"
6345VALIGN="TOP"
6346><TT
6347CLASS="PARAMETER"
6348><I
6349>ctxt</I
6350></TT
6351>&nbsp;:</TD
6352><TD
6353WIDTH="80%"
6354ALIGN="LEFT"
6355VALIGN="TOP"
6356> the XPath Parser context</TD
6357></TR
6358><TR
6359><TD
6360WIDTH="20%"
6361ALIGN="RIGHT"
6362VALIGN="TOP"
6363><TT
6364CLASS="PARAMETER"
6365><I
6366>nargs</I
6367></TT
6368>&nbsp;:</TD
6369><TD
6370WIDTH="80%"
6371ALIGN="LEFT"
6372VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00006373>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006374></TR
6375></TABLE
6376><P
6377></P
6378></DIV
6379></DIV
6380><HR><DIV
6381CLASS="REFSECT2"
6382><A
Daniel Veillard503b8932001-01-05 06:36:31 +00006383NAME="AEN12540"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006384></A
6385><H3
6386><A
6387NAME="XMLXPATHLOCALNAMEFUNCTION"
6388></A
6389>xmlXPathLocalNameFunction ()</H3
6390><TABLE
6391BORDER="0"
6392BGCOLOR="#D6E8FF"
6393WIDTH="100%"
6394CELLPADDING="6"
6395><TR
6396><TD
6397><PRE
6398CLASS="PROGRAMLISTING"
6399>void xmlXPathLocalNameFunction (<A
6400HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
6401>xmlXPathParserContextPtr</A
6402> ctxt,
6403 int nargs);</PRE
6404></TD
6405></TR
6406></TABLE
6407><P
6408>Implement the local-<GTKDOCLINK
6409HREF="NAME"
6410>name</GTKDOCLINK
6411>() XPath function
6412string local-name(node-set?)
6413The local-name function returns a string containing the local part
6414of the name of the node in the argument node-set that is first in
6415document order. If the node-set is empty or the first node has no
6416name, an empty string is returned. If the argument is omitted it
6417defaults to the context node.</P
6418><P
6419></P
6420><DIV
6421CLASS="INFORMALTABLE"
6422><P
6423></P
6424><TABLE
6425BORDER="0"
6426WIDTH="100%"
6427BGCOLOR="#FFD0D0"
6428CELLSPACING="0"
6429CELLPADDING="4"
6430CLASS="CALSTABLE"
6431><TR
6432><TD
6433WIDTH="20%"
6434ALIGN="RIGHT"
6435VALIGN="TOP"
6436><TT
6437CLASS="PARAMETER"
6438><I
6439>ctxt</I
6440></TT
6441>&nbsp;:</TD
6442><TD
6443WIDTH="80%"
6444ALIGN="LEFT"
6445VALIGN="TOP"
6446> the XPath Parser context</TD
6447></TR
6448><TR
6449><TD
6450WIDTH="20%"
6451ALIGN="RIGHT"
6452VALIGN="TOP"
6453><TT
6454CLASS="PARAMETER"
6455><I
6456>nargs</I
6457></TT
6458>&nbsp;:</TD
6459><TD
6460WIDTH="80%"
6461ALIGN="LEFT"
6462VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00006463>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006464></TR
6465></TABLE
6466><P
6467></P
6468></DIV
6469></DIV
6470><HR><DIV
6471CLASS="REFSECT2"
6472><A
Daniel Veillard503b8932001-01-05 06:36:31 +00006473NAME="AEN12561"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006474></A
6475><H3
6476><A
6477NAME="XMLXPATHNAMESPACEURIFUNCTION"
6478></A
6479>xmlXPathNamespaceURIFunction ()</H3
6480><TABLE
6481BORDER="0"
6482BGCOLOR="#D6E8FF"
6483WIDTH="100%"
6484CELLPADDING="6"
6485><TR
6486><TD
6487><PRE
6488CLASS="PROGRAMLISTING"
6489>void xmlXPathNamespaceURIFunction (<A
6490HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
6491>xmlXPathParserContextPtr</A
6492> ctxt,
6493 int nargs);</PRE
6494></TD
6495></TR
6496></TABLE
6497><P
6498>Implement the namespace-<GTKDOCLINK
6499HREF="URI"
6500>uri</GTKDOCLINK
6501>() XPath function
6502string namespace-uri(node-set?)
6503The namespace-uri function returns a string containing the
6504namespace URI of the expanded name of the node in the argument
6505node-set that is first in document order. If the node-set is empty,
6506the first node has no name, or the expanded name has no namespace
6507URI, an empty string is returned. If the argument is omitted it
6508defaults to the context node.</P
6509><P
6510></P
6511><DIV
6512CLASS="INFORMALTABLE"
6513><P
6514></P
6515><TABLE
6516BORDER="0"
6517WIDTH="100%"
6518BGCOLOR="#FFD0D0"
6519CELLSPACING="0"
6520CELLPADDING="4"
6521CLASS="CALSTABLE"
6522><TR
6523><TD
6524WIDTH="20%"
6525ALIGN="RIGHT"
6526VALIGN="TOP"
6527><TT
6528CLASS="PARAMETER"
6529><I
6530>ctxt</I
6531></TT
6532>&nbsp;:</TD
6533><TD
6534WIDTH="80%"
6535ALIGN="LEFT"
6536VALIGN="TOP"
6537> the XPath Parser context</TD
6538></TR
6539><TR
6540><TD
6541WIDTH="20%"
6542ALIGN="RIGHT"
6543VALIGN="TOP"
6544><TT
6545CLASS="PARAMETER"
6546><I
6547>nargs</I
6548></TT
6549>&nbsp;:</TD
6550><TD
6551WIDTH="80%"
6552ALIGN="LEFT"
6553VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00006554>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006555></TR
6556></TABLE
6557><P
6558></P
6559></DIV
6560></DIV
6561><HR><DIV
6562CLASS="REFSECT2"
6563><A
Daniel Veillard503b8932001-01-05 06:36:31 +00006564NAME="AEN12582"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006565></A
6566><H3
6567><A
6568NAME="XMLXPATHSTRINGLENGTHFUNCTION"
6569></A
6570>xmlXPathStringLengthFunction ()</H3
6571><TABLE
6572BORDER="0"
6573BGCOLOR="#D6E8FF"
6574WIDTH="100%"
6575CELLPADDING="6"
6576><TR
6577><TD
6578><PRE
6579CLASS="PROGRAMLISTING"
6580>void xmlXPathStringLengthFunction (<A
6581HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
6582>xmlXPathParserContextPtr</A
6583> ctxt,
6584 int nargs);</PRE
6585></TD
6586></TR
6587></TABLE
6588><P
6589>Implement the string-<GTKDOCLINK
6590HREF="LENGTH"
6591>length</GTKDOCLINK
6592>() XPath function
6593number string-length(string?)
6594The string-length returns the number of characters in the string
6595(see [3.6 Strings]). If the argument is omitted, it defaults to
6596the context node converted to a string, in other words the value
6597of the context node.</P
6598><P
6599></P
6600><DIV
6601CLASS="INFORMALTABLE"
6602><P
6603></P
6604><TABLE
6605BORDER="0"
6606WIDTH="100%"
6607BGCOLOR="#FFD0D0"
6608CELLSPACING="0"
6609CELLPADDING="4"
6610CLASS="CALSTABLE"
6611><TR
6612><TD
6613WIDTH="20%"
6614ALIGN="RIGHT"
6615VALIGN="TOP"
6616><TT
6617CLASS="PARAMETER"
6618><I
6619>ctxt</I
6620></TT
6621>&nbsp;:</TD
6622><TD
6623WIDTH="80%"
6624ALIGN="LEFT"
6625VALIGN="TOP"
6626> the XPath Parser context</TD
6627></TR
6628><TR
6629><TD
6630WIDTH="20%"
6631ALIGN="RIGHT"
6632VALIGN="TOP"
6633><TT
6634CLASS="PARAMETER"
6635><I
6636>nargs</I
6637></TT
6638>&nbsp;:</TD
6639><TD
6640WIDTH="80%"
6641ALIGN="LEFT"
6642VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00006643>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006644></TR
6645></TABLE
6646><P
6647></P
6648></DIV
6649></DIV
6650><HR><DIV
6651CLASS="REFSECT2"
6652><A
Daniel Veillard503b8932001-01-05 06:36:31 +00006653NAME="AEN12603"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006654></A
6655><H3
6656><A
6657NAME="XMLXPATHCONCATFUNCTION"
6658></A
6659>xmlXPathConcatFunction ()</H3
6660><TABLE
6661BORDER="0"
6662BGCOLOR="#D6E8FF"
6663WIDTH="100%"
6664CELLPADDING="6"
6665><TR
6666><TD
6667><PRE
6668CLASS="PROGRAMLISTING"
6669>void xmlXPathConcatFunction (<A
6670HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
6671>xmlXPathParserContextPtr</A
6672> ctxt,
6673 int nargs);</PRE
6674></TD
6675></TR
6676></TABLE
6677><P
6678>Implement the <GTKDOCLINK
6679HREF="CONCAT"
6680>concat</GTKDOCLINK
6681>() XPath function
6682string concat(string, string, string*)
6683The concat function returns the concatenation of its arguments.</P
6684><P
6685></P
6686><DIV
6687CLASS="INFORMALTABLE"
6688><P
6689></P
6690><TABLE
6691BORDER="0"
6692WIDTH="100%"
6693BGCOLOR="#FFD0D0"
6694CELLSPACING="0"
6695CELLPADDING="4"
6696CLASS="CALSTABLE"
6697><TR
6698><TD
6699WIDTH="20%"
6700ALIGN="RIGHT"
6701VALIGN="TOP"
6702><TT
6703CLASS="PARAMETER"
6704><I
6705>ctxt</I
6706></TT
6707>&nbsp;:</TD
6708><TD
6709WIDTH="80%"
6710ALIGN="LEFT"
6711VALIGN="TOP"
6712> the XPath Parser context</TD
6713></TR
6714><TR
6715><TD
6716WIDTH="20%"
6717ALIGN="RIGHT"
6718VALIGN="TOP"
6719><TT
6720CLASS="PARAMETER"
6721><I
6722>nargs</I
6723></TT
6724>&nbsp;:</TD
6725><TD
6726WIDTH="80%"
6727ALIGN="LEFT"
6728VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00006729>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006730></TR
6731></TABLE
6732><P
6733></P
6734></DIV
6735></DIV
6736><HR><DIV
6737CLASS="REFSECT2"
6738><A
Daniel Veillard503b8932001-01-05 06:36:31 +00006739NAME="AEN12624"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006740></A
6741><H3
6742><A
6743NAME="XMLXPATHCONTAINSFUNCTION"
6744></A
6745>xmlXPathContainsFunction ()</H3
6746><TABLE
6747BORDER="0"
6748BGCOLOR="#D6E8FF"
6749WIDTH="100%"
6750CELLPADDING="6"
6751><TR
6752><TD
6753><PRE
6754CLASS="PROGRAMLISTING"
6755>void xmlXPathContainsFunction (<A
6756HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
6757>xmlXPathParserContextPtr</A
6758> ctxt,
6759 int nargs);</PRE
6760></TD
6761></TR
6762></TABLE
6763><P
6764>Implement the <GTKDOCLINK
6765HREF="CONTAINS"
6766>contains</GTKDOCLINK
6767>() XPath function
6768boolean contains(string, string)
6769The contains function returns true if the first argument string
6770contains the second argument string, and otherwise returns false.</P
6771><P
6772></P
6773><DIV
6774CLASS="INFORMALTABLE"
6775><P
6776></P
6777><TABLE
6778BORDER="0"
6779WIDTH="100%"
6780BGCOLOR="#FFD0D0"
6781CELLSPACING="0"
6782CELLPADDING="4"
6783CLASS="CALSTABLE"
6784><TR
6785><TD
6786WIDTH="20%"
6787ALIGN="RIGHT"
6788VALIGN="TOP"
6789><TT
6790CLASS="PARAMETER"
6791><I
6792>ctxt</I
6793></TT
6794>&nbsp;:</TD
6795><TD
6796WIDTH="80%"
6797ALIGN="LEFT"
6798VALIGN="TOP"
6799> the XPath Parser context</TD
6800></TR
6801><TR
6802><TD
6803WIDTH="20%"
6804ALIGN="RIGHT"
6805VALIGN="TOP"
6806><TT
6807CLASS="PARAMETER"
6808><I
6809>nargs</I
6810></TT
6811>&nbsp;:</TD
6812><TD
6813WIDTH="80%"
6814ALIGN="LEFT"
6815VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00006816>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006817></TR
6818></TABLE
6819><P
6820></P
6821></DIV
6822></DIV
6823><HR><DIV
6824CLASS="REFSECT2"
6825><A
Daniel Veillard503b8932001-01-05 06:36:31 +00006826NAME="AEN12645"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006827></A
6828><H3
6829><A
6830NAME="XMLXPATHSTARTSWITHFUNCTION"
6831></A
6832>xmlXPathStartsWithFunction ()</H3
6833><TABLE
6834BORDER="0"
6835BGCOLOR="#D6E8FF"
6836WIDTH="100%"
6837CELLPADDING="6"
6838><TR
6839><TD
6840><PRE
6841CLASS="PROGRAMLISTING"
6842>void xmlXPathStartsWithFunction (<A
6843HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
6844>xmlXPathParserContextPtr</A
6845> ctxt,
6846 int nargs);</PRE
6847></TD
6848></TR
6849></TABLE
6850><P
6851>Implement the starts-<GTKDOCLINK
6852HREF="WITH"
6853>with</GTKDOCLINK
6854>() XPath function
6855boolean starts-with(string, string)
6856The starts-with function returns true if the first argument string
6857starts with the second argument string, and otherwise returns false.</P
6858><P
6859></P
6860><DIV
6861CLASS="INFORMALTABLE"
6862><P
6863></P
6864><TABLE
6865BORDER="0"
6866WIDTH="100%"
6867BGCOLOR="#FFD0D0"
6868CELLSPACING="0"
6869CELLPADDING="4"
6870CLASS="CALSTABLE"
6871><TR
6872><TD
6873WIDTH="20%"
6874ALIGN="RIGHT"
6875VALIGN="TOP"
6876><TT
6877CLASS="PARAMETER"
6878><I
6879>ctxt</I
6880></TT
6881>&nbsp;:</TD
6882><TD
6883WIDTH="80%"
6884ALIGN="LEFT"
6885VALIGN="TOP"
6886> the XPath Parser context</TD
6887></TR
6888><TR
6889><TD
6890WIDTH="20%"
6891ALIGN="RIGHT"
6892VALIGN="TOP"
6893><TT
6894CLASS="PARAMETER"
6895><I
6896>nargs</I
6897></TT
6898>&nbsp;:</TD
6899><TD
6900WIDTH="80%"
6901ALIGN="LEFT"
6902VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00006903>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006904></TR
6905></TABLE
6906><P
6907></P
6908></DIV
6909></DIV
6910><HR><DIV
6911CLASS="REFSECT2"
6912><A
Daniel Veillard503b8932001-01-05 06:36:31 +00006913NAME="AEN12666"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006914></A
6915><H3
6916><A
6917NAME="XMLXPATHSUBSTRINGFUNCTION"
6918></A
6919>xmlXPathSubstringFunction ()</H3
6920><TABLE
6921BORDER="0"
6922BGCOLOR="#D6E8FF"
6923WIDTH="100%"
6924CELLPADDING="6"
6925><TR
6926><TD
6927><PRE
6928CLASS="PROGRAMLISTING"
6929>void xmlXPathSubstringFunction (<A
6930HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
6931>xmlXPathParserContextPtr</A
6932> ctxt,
6933 int nargs);</PRE
6934></TD
6935></TR
6936></TABLE
6937><P
6938>Implement the <GTKDOCLINK
6939HREF="SUBSTRING"
6940>substring</GTKDOCLINK
6941>() XPath function
6942string substring(string, number, number?)
6943The substring function returns the substring of the first argument
6944starting at the position specified in the second argument with
6945length specified in the third argument. For example,
6946substring("12345",2,3) returns "234". If the third argument is not
6947specified, it returns the substring starting at the position specified
6948in the second argument and continuing to the end of the string. For
6949example, substring("12345",2) returns "2345". More precisely, each
6950character in the string (see [3.6 Strings]) is considered to have a
6951numeric position: the position of the first character is 1, the position
6952of the second character is 2 and so on. The returned substring contains
6953those characters for which the position of the character is greater than
6954or equal to the second argument and, if the third argument is specified,
6955less than the sum of the second and third arguments; the comparisons
6956and addition used for the above follow the standard IEEE 754 rules. Thus:
6957- substring("12345", 1.5, 2.6) returns "234"
6958- substring("12345", 0, 3) returns "12"
6959- substring("12345", 0 div 0, 3) returns ""
6960- substring("12345", 1, 0 div 0) returns ""
6961- substring("12345", -42, 1 div 0) returns "12345"
6962- substring("12345", -1 div 0, 1 div 0) returns ""</P
6963><P
6964></P
6965><DIV
6966CLASS="INFORMALTABLE"
6967><P
6968></P
6969><TABLE
6970BORDER="0"
6971WIDTH="100%"
6972BGCOLOR="#FFD0D0"
6973CELLSPACING="0"
6974CELLPADDING="4"
6975CLASS="CALSTABLE"
6976><TR
6977><TD
6978WIDTH="20%"
6979ALIGN="RIGHT"
6980VALIGN="TOP"
6981><TT
6982CLASS="PARAMETER"
6983><I
6984>ctxt</I
6985></TT
6986>&nbsp;:</TD
6987><TD
6988WIDTH="80%"
6989ALIGN="LEFT"
6990VALIGN="TOP"
6991> the XPath Parser context</TD
6992></TR
6993><TR
6994><TD
6995WIDTH="20%"
6996ALIGN="RIGHT"
6997VALIGN="TOP"
6998><TT
6999CLASS="PARAMETER"
7000><I
7001>nargs</I
7002></TT
7003>&nbsp;:</TD
7004><TD
7005WIDTH="80%"
7006ALIGN="LEFT"
7007VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00007008>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007009></TR
7010></TABLE
7011><P
7012></P
7013></DIV
7014></DIV
7015><HR><DIV
7016CLASS="REFSECT2"
7017><A
Daniel Veillard503b8932001-01-05 06:36:31 +00007018NAME="AEN12687"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007019></A
7020><H3
7021><A
7022NAME="XMLXPATHSUBSTRINGBEFOREFUNCTION"
7023></A
7024>xmlXPathSubstringBeforeFunction ()</H3
7025><TABLE
7026BORDER="0"
7027BGCOLOR="#D6E8FF"
7028WIDTH="100%"
7029CELLPADDING="6"
7030><TR
7031><TD
7032><PRE
7033CLASS="PROGRAMLISTING"
7034>void xmlXPathSubstringBeforeFunction (<A
7035HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
7036>xmlXPathParserContextPtr</A
7037> ctxt,
7038 int nargs);</PRE
7039></TD
7040></TR
7041></TABLE
7042><P
7043>Implement the substring-<GTKDOCLINK
7044HREF="BEFORE"
7045>before</GTKDOCLINK
7046>() XPath function
7047string substring-before(string, string)
7048The substring-before function returns the substring of the first
7049argument string that precedes the first occurrence of the second
7050argument string in the first argument string, or the empty string
7051if the first argument string does not contain the second argument
7052string. For example, substring-before("1999/04/01","/") returns 1999.</P
7053><P
7054></P
7055><DIV
7056CLASS="INFORMALTABLE"
7057><P
7058></P
7059><TABLE
7060BORDER="0"
7061WIDTH="100%"
7062BGCOLOR="#FFD0D0"
7063CELLSPACING="0"
7064CELLPADDING="4"
7065CLASS="CALSTABLE"
7066><TR
7067><TD
7068WIDTH="20%"
7069ALIGN="RIGHT"
7070VALIGN="TOP"
7071><TT
7072CLASS="PARAMETER"
7073><I
7074>ctxt</I
7075></TT
7076>&nbsp;:</TD
7077><TD
7078WIDTH="80%"
7079ALIGN="LEFT"
7080VALIGN="TOP"
7081> the XPath Parser context</TD
7082></TR
7083><TR
7084><TD
7085WIDTH="20%"
7086ALIGN="RIGHT"
7087VALIGN="TOP"
7088><TT
7089CLASS="PARAMETER"
7090><I
7091>nargs</I
7092></TT
7093>&nbsp;:</TD
7094><TD
7095WIDTH="80%"
7096ALIGN="LEFT"
7097VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00007098>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007099></TR
7100></TABLE
7101><P
7102></P
7103></DIV
7104></DIV
7105><HR><DIV
7106CLASS="REFSECT2"
7107><A
Daniel Veillard503b8932001-01-05 06:36:31 +00007108NAME="AEN12708"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007109></A
7110><H3
7111><A
7112NAME="XMLXPATHSUBSTRINGAFTERFUNCTION"
7113></A
7114>xmlXPathSubstringAfterFunction ()</H3
7115><TABLE
7116BORDER="0"
7117BGCOLOR="#D6E8FF"
7118WIDTH="100%"
7119CELLPADDING="6"
7120><TR
7121><TD
7122><PRE
7123CLASS="PROGRAMLISTING"
7124>void xmlXPathSubstringAfterFunction (<A
7125HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
7126>xmlXPathParserContextPtr</A
7127> ctxt,
7128 int nargs);</PRE
7129></TD
7130></TR
7131></TABLE
7132><P
7133>Implement the substring-<GTKDOCLINK
7134HREF="AFTER"
7135>after</GTKDOCLINK
7136>() XPath function
7137string substring-after(string, string)
7138The substring-after function returns the substring of the first
7139argument string that follows the first occurrence of the second
7140argument string in the first argument string, or the empty stringi
7141if the first argument string does not contain the second argument
7142string. For example, substring-after("1999/04/01","/") returns 04/01,
7143and substring-after("1999/04/01","19") returns 99/04/01.</P
7144><P
7145></P
7146><DIV
7147CLASS="INFORMALTABLE"
7148><P
7149></P
7150><TABLE
7151BORDER="0"
7152WIDTH="100%"
7153BGCOLOR="#FFD0D0"
7154CELLSPACING="0"
7155CELLPADDING="4"
7156CLASS="CALSTABLE"
7157><TR
7158><TD
7159WIDTH="20%"
7160ALIGN="RIGHT"
7161VALIGN="TOP"
7162><TT
7163CLASS="PARAMETER"
7164><I
7165>ctxt</I
7166></TT
7167>&nbsp;:</TD
7168><TD
7169WIDTH="80%"
7170ALIGN="LEFT"
7171VALIGN="TOP"
7172> the XPath Parser context</TD
7173></TR
7174><TR
7175><TD
7176WIDTH="20%"
7177ALIGN="RIGHT"
7178VALIGN="TOP"
7179><TT
7180CLASS="PARAMETER"
7181><I
7182>nargs</I
7183></TT
7184>&nbsp;:</TD
7185><TD
7186WIDTH="80%"
7187ALIGN="LEFT"
7188VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00007189>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007190></TR
7191></TABLE
7192><P
7193></P
7194></DIV
7195></DIV
7196><HR><DIV
7197CLASS="REFSECT2"
7198><A
Daniel Veillard503b8932001-01-05 06:36:31 +00007199NAME="AEN12729"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007200></A
7201><H3
7202><A
7203NAME="XMLXPATHNORMALIZEFUNCTION"
7204></A
7205>xmlXPathNormalizeFunction ()</H3
7206><TABLE
7207BORDER="0"
7208BGCOLOR="#D6E8FF"
7209WIDTH="100%"
7210CELLPADDING="6"
7211><TR
7212><TD
7213><PRE
7214CLASS="PROGRAMLISTING"
7215>void xmlXPathNormalizeFunction (<A
7216HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
7217>xmlXPathParserContextPtr</A
7218> ctxt,
7219 int nargs);</PRE
7220></TD
7221></TR
7222></TABLE
7223><P
7224>Implement the normalize-<GTKDOCLINK
7225HREF="SPACE"
7226>space</GTKDOCLINK
7227>() XPath function
7228string normalize-space(string?)
7229The normalize-space function returns the argument string with white
7230space normalized by stripping leading and trailing whitespace
7231and replacing sequences of whitespace characters by a single
7232space. Whitespace characters are the same allowed by the S production
7233in XML. If the argument is omitted, it defaults to the context
7234node converted to a string, in other words the value of the context node.</P
7235><P
7236></P
7237><DIV
7238CLASS="INFORMALTABLE"
7239><P
7240></P
7241><TABLE
7242BORDER="0"
7243WIDTH="100%"
7244BGCOLOR="#FFD0D0"
7245CELLSPACING="0"
7246CELLPADDING="4"
7247CLASS="CALSTABLE"
7248><TR
7249><TD
7250WIDTH="20%"
7251ALIGN="RIGHT"
7252VALIGN="TOP"
7253><TT
7254CLASS="PARAMETER"
7255><I
7256>ctxt</I
7257></TT
7258>&nbsp;:</TD
7259><TD
7260WIDTH="80%"
7261ALIGN="LEFT"
7262VALIGN="TOP"
7263> the XPath Parser context</TD
7264></TR
7265><TR
7266><TD
7267WIDTH="20%"
7268ALIGN="RIGHT"
7269VALIGN="TOP"
7270><TT
7271CLASS="PARAMETER"
7272><I
7273>nargs</I
7274></TT
7275>&nbsp;:</TD
7276><TD
7277WIDTH="80%"
7278ALIGN="LEFT"
7279VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00007280>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007281></TR
7282></TABLE
7283><P
7284></P
7285></DIV
7286></DIV
7287><HR><DIV
7288CLASS="REFSECT2"
7289><A
Daniel Veillard503b8932001-01-05 06:36:31 +00007290NAME="AEN12750"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007291></A
7292><H3
7293><A
7294NAME="XMLXPATHTRANSLATEFUNCTION"
7295></A
7296>xmlXPathTranslateFunction ()</H3
7297><TABLE
7298BORDER="0"
7299BGCOLOR="#D6E8FF"
7300WIDTH="100%"
7301CELLPADDING="6"
7302><TR
7303><TD
7304><PRE
7305CLASS="PROGRAMLISTING"
7306>void xmlXPathTranslateFunction (<A
7307HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
7308>xmlXPathParserContextPtr</A
7309> ctxt,
7310 int nargs);</PRE
7311></TD
7312></TR
7313></TABLE
7314><P
7315>Implement the <GTKDOCLINK
7316HREF="TRANSLATE"
7317>translate</GTKDOCLINK
7318>() XPath function
7319string translate(string, string, string)
7320The translate function returns the first argument string with
7321occurrences of characters in the second argument string replaced
7322by the character at the corresponding position in the third argument
7323string. For example, translate("bar","abc","ABC") returns the string
7324BAr. If there is a character in the second argument string with no
7325character at a corresponding position in the third argument string
7326(because the second argument string is longer than the third argument
7327string), then occurrences of that character in the first argument
7328string are removed. For example, translate("--aaa--","abc-","ABC")</P
7329><P
7330></P
7331><DIV
7332CLASS="INFORMALTABLE"
7333><P
7334></P
7335><TABLE
7336BORDER="0"
7337WIDTH="100%"
7338BGCOLOR="#FFD0D0"
7339CELLSPACING="0"
7340CELLPADDING="4"
7341CLASS="CALSTABLE"
7342><TR
7343><TD
7344WIDTH="20%"
7345ALIGN="RIGHT"
7346VALIGN="TOP"
7347><TT
7348CLASS="PARAMETER"
7349><I
7350>ctxt</I
7351></TT
7352>&nbsp;:</TD
7353><TD
7354WIDTH="80%"
7355ALIGN="LEFT"
7356VALIGN="TOP"
7357> the XPath Parser context</TD
7358></TR
7359><TR
7360><TD
7361WIDTH="20%"
7362ALIGN="RIGHT"
7363VALIGN="TOP"
7364><TT
7365CLASS="PARAMETER"
7366><I
7367>nargs</I
7368></TT
7369>&nbsp;:</TD
7370><TD
7371WIDTH="80%"
7372ALIGN="LEFT"
7373VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00007374>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007375></TR
7376></TABLE
7377><P
7378></P
7379></DIV
7380></DIV
7381><HR><DIV
7382CLASS="REFSECT2"
7383><A
Daniel Veillard503b8932001-01-05 06:36:31 +00007384NAME="AEN12771"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007385></A
7386><H3
7387><A
7388NAME="XMLXPATHNOTFUNCTION"
7389></A
7390>xmlXPathNotFunction ()</H3
7391><TABLE
7392BORDER="0"
7393BGCOLOR="#D6E8FF"
7394WIDTH="100%"
7395CELLPADDING="6"
7396><TR
7397><TD
7398><PRE
7399CLASS="PROGRAMLISTING"
7400>void xmlXPathNotFunction (<A
7401HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
7402>xmlXPathParserContextPtr</A
7403> ctxt,
7404 int nargs);</PRE
7405></TD
7406></TR
7407></TABLE
7408><P
7409>Implement the <GTKDOCLINK
7410HREF="NOT"
7411>not</GTKDOCLINK
7412>() XPath function
7413boolean not(boolean)
7414The not function returns true if its argument is false,
7415and false otherwise.</P
7416><P
7417></P
7418><DIV
7419CLASS="INFORMALTABLE"
7420><P
7421></P
7422><TABLE
7423BORDER="0"
7424WIDTH="100%"
7425BGCOLOR="#FFD0D0"
7426CELLSPACING="0"
7427CELLPADDING="4"
7428CLASS="CALSTABLE"
7429><TR
7430><TD
7431WIDTH="20%"
7432ALIGN="RIGHT"
7433VALIGN="TOP"
7434><TT
7435CLASS="PARAMETER"
7436><I
7437>ctxt</I
7438></TT
7439>&nbsp;:</TD
7440><TD
7441WIDTH="80%"
7442ALIGN="LEFT"
7443VALIGN="TOP"
7444> the XPath Parser context</TD
7445></TR
7446><TR
7447><TD
7448WIDTH="20%"
7449ALIGN="RIGHT"
7450VALIGN="TOP"
7451><TT
7452CLASS="PARAMETER"
7453><I
7454>nargs</I
7455></TT
7456>&nbsp;:</TD
7457><TD
7458WIDTH="80%"
7459ALIGN="LEFT"
7460VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00007461>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007462></TR
7463></TABLE
7464><P
7465></P
7466></DIV
7467></DIV
7468><HR><DIV
7469CLASS="REFSECT2"
7470><A
Daniel Veillard503b8932001-01-05 06:36:31 +00007471NAME="AEN12792"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007472></A
7473><H3
7474><A
7475NAME="XMLXPATHTRUEFUNCTION"
7476></A
7477>xmlXPathTrueFunction ()</H3
7478><TABLE
7479BORDER="0"
7480BGCOLOR="#D6E8FF"
7481WIDTH="100%"
7482CELLPADDING="6"
7483><TR
7484><TD
7485><PRE
7486CLASS="PROGRAMLISTING"
7487>void xmlXPathTrueFunction (<A
7488HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
7489>xmlXPathParserContextPtr</A
7490> ctxt,
7491 int nargs);</PRE
7492></TD
7493></TR
7494></TABLE
7495><P
7496>Implement the <GTKDOCLINK
7497HREF="TRUE"
7498>true</GTKDOCLINK
7499>() XPath function
7500boolean <GTKDOCLINK
7501HREF="TRUE"
7502>true</GTKDOCLINK
7503>()</P
7504><P
7505></P
7506><DIV
7507CLASS="INFORMALTABLE"
7508><P
7509></P
7510><TABLE
7511BORDER="0"
7512WIDTH="100%"
7513BGCOLOR="#FFD0D0"
7514CELLSPACING="0"
7515CELLPADDING="4"
7516CLASS="CALSTABLE"
7517><TR
7518><TD
7519WIDTH="20%"
7520ALIGN="RIGHT"
7521VALIGN="TOP"
7522><TT
7523CLASS="PARAMETER"
7524><I
7525>ctxt</I
7526></TT
7527>&nbsp;:</TD
7528><TD
7529WIDTH="80%"
7530ALIGN="LEFT"
7531VALIGN="TOP"
7532> the XPath Parser context</TD
7533></TR
7534><TR
7535><TD
7536WIDTH="20%"
7537ALIGN="RIGHT"
7538VALIGN="TOP"
7539><TT
7540CLASS="PARAMETER"
7541><I
7542>nargs</I
7543></TT
7544>&nbsp;:</TD
7545><TD
7546WIDTH="80%"
7547ALIGN="LEFT"
7548VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00007549>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007550></TR
7551></TABLE
7552><P
7553></P
7554></DIV
7555></DIV
7556><HR><DIV
7557CLASS="REFSECT2"
7558><A
Daniel Veillard503b8932001-01-05 06:36:31 +00007559NAME="AEN12814"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007560></A
7561><H3
7562><A
7563NAME="XMLXPATHFALSEFUNCTION"
7564></A
7565>xmlXPathFalseFunction ()</H3
7566><TABLE
7567BORDER="0"
7568BGCOLOR="#D6E8FF"
7569WIDTH="100%"
7570CELLPADDING="6"
7571><TR
7572><TD
7573><PRE
7574CLASS="PROGRAMLISTING"
7575>void xmlXPathFalseFunction (<A
7576HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
7577>xmlXPathParserContextPtr</A
7578> ctxt,
7579 int nargs);</PRE
7580></TD
7581></TR
7582></TABLE
7583><P
7584>Implement the <GTKDOCLINK
7585HREF="FALSE"
7586>false</GTKDOCLINK
7587>() XPath function
7588boolean <GTKDOCLINK
7589HREF="FALSE"
7590>false</GTKDOCLINK
7591>()</P
7592><P
7593></P
7594><DIV
7595CLASS="INFORMALTABLE"
7596><P
7597></P
7598><TABLE
7599BORDER="0"
7600WIDTH="100%"
7601BGCOLOR="#FFD0D0"
7602CELLSPACING="0"
7603CELLPADDING="4"
7604CLASS="CALSTABLE"
7605><TR
7606><TD
7607WIDTH="20%"
7608ALIGN="RIGHT"
7609VALIGN="TOP"
7610><TT
7611CLASS="PARAMETER"
7612><I
7613>ctxt</I
7614></TT
7615>&nbsp;:</TD
7616><TD
7617WIDTH="80%"
7618ALIGN="LEFT"
7619VALIGN="TOP"
7620> the XPath Parser context</TD
7621></TR
7622><TR
7623><TD
7624WIDTH="20%"
7625ALIGN="RIGHT"
7626VALIGN="TOP"
7627><TT
7628CLASS="PARAMETER"
7629><I
7630>nargs</I
7631></TT
7632>&nbsp;:</TD
7633><TD
7634WIDTH="80%"
7635ALIGN="LEFT"
7636VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00007637>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007638></TR
7639></TABLE
7640><P
7641></P
7642></DIV
7643></DIV
7644><HR><DIV
7645CLASS="REFSECT2"
7646><A
Daniel Veillard503b8932001-01-05 06:36:31 +00007647NAME="AEN12836"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007648></A
7649><H3
7650><A
7651NAME="XMLXPATHLANGFUNCTION"
7652></A
7653>xmlXPathLangFunction ()</H3
7654><TABLE
7655BORDER="0"
7656BGCOLOR="#D6E8FF"
7657WIDTH="100%"
7658CELLPADDING="6"
7659><TR
7660><TD
7661><PRE
7662CLASS="PROGRAMLISTING"
7663>void xmlXPathLangFunction (<A
7664HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
7665>xmlXPathParserContextPtr</A
7666> ctxt,
7667 int nargs);</PRE
7668></TD
7669></TR
7670></TABLE
7671><P
7672>Implement the <GTKDOCLINK
7673HREF="LANG"
7674>lang</GTKDOCLINK
7675>() XPath function
7676boolean lang(string)
7677The lang function returns true or false depending on whether the
7678language of the context node as specified by xml:lang attributes
7679is the same as or is a sublanguage of the language specified by
7680the argument string. The language of the context node is determined
7681by the value of the xml:lang attribute on the context node, or, if
7682the context node has no xml:lang attribute, by the value of the
7683xml:lang attribute on the nearest ancestor of the context node that
7684has an xml:lang attribute. If there is no such attribute, then lang</P
7685><P
7686></P
7687><DIV
7688CLASS="INFORMALTABLE"
7689><P
7690></P
7691><TABLE
7692BORDER="0"
7693WIDTH="100%"
7694BGCOLOR="#FFD0D0"
7695CELLSPACING="0"
7696CELLPADDING="4"
7697CLASS="CALSTABLE"
7698><TR
7699><TD
7700WIDTH="20%"
7701ALIGN="RIGHT"
7702VALIGN="TOP"
7703><TT
7704CLASS="PARAMETER"
7705><I
7706>ctxt</I
7707></TT
7708>&nbsp;:</TD
7709><TD
7710WIDTH="80%"
7711ALIGN="LEFT"
7712VALIGN="TOP"
7713> the XPath Parser context</TD
7714></TR
7715><TR
7716><TD
7717WIDTH="20%"
7718ALIGN="RIGHT"
7719VALIGN="TOP"
7720><TT
7721CLASS="PARAMETER"
7722><I
7723>nargs</I
7724></TT
7725>&nbsp;:</TD
7726><TD
7727WIDTH="80%"
7728ALIGN="LEFT"
7729VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00007730>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007731></TR
7732></TABLE
7733><P
7734></P
7735></DIV
7736></DIV
7737><HR><DIV
7738CLASS="REFSECT2"
7739><A
Daniel Veillard503b8932001-01-05 06:36:31 +00007740NAME="AEN12857"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007741></A
7742><H3
7743><A
7744NAME="XMLXPATHNUMBERFUNCTION"
7745></A
7746>xmlXPathNumberFunction ()</H3
7747><TABLE
7748BORDER="0"
7749BGCOLOR="#D6E8FF"
7750WIDTH="100%"
7751CELLPADDING="6"
7752><TR
7753><TD
7754><PRE
7755CLASS="PROGRAMLISTING"
7756>void xmlXPathNumberFunction (<A
7757HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
7758>xmlXPathParserContextPtr</A
7759> ctxt,
7760 int nargs);</PRE
7761></TD
7762></TR
7763></TABLE
7764><P
7765>Implement the <GTKDOCLINK
7766HREF="NUMBER"
7767>number</GTKDOCLINK
7768>() XPath function
7769number number(object?)</P
7770><P
7771></P
7772><DIV
7773CLASS="INFORMALTABLE"
7774><P
7775></P
7776><TABLE
7777BORDER="0"
7778WIDTH="100%"
7779BGCOLOR="#FFD0D0"
7780CELLSPACING="0"
7781CELLPADDING="4"
7782CLASS="CALSTABLE"
7783><TR
7784><TD
7785WIDTH="20%"
7786ALIGN="RIGHT"
7787VALIGN="TOP"
7788><TT
7789CLASS="PARAMETER"
7790><I
7791>ctxt</I
7792></TT
7793>&nbsp;:</TD
7794><TD
7795WIDTH="80%"
7796ALIGN="LEFT"
7797VALIGN="TOP"
7798> the XPath Parser context</TD
7799></TR
7800><TR
7801><TD
7802WIDTH="20%"
7803ALIGN="RIGHT"
7804VALIGN="TOP"
7805><TT
7806CLASS="PARAMETER"
7807><I
7808>nargs</I
7809></TT
7810>&nbsp;:</TD
7811><TD
7812WIDTH="80%"
7813ALIGN="LEFT"
7814VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00007815>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007816></TR
7817></TABLE
7818><P
7819></P
7820></DIV
7821></DIV
7822><HR><DIV
7823CLASS="REFSECT2"
7824><A
Daniel Veillard503b8932001-01-05 06:36:31 +00007825NAME="AEN12878"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007826></A
7827><H3
7828><A
7829NAME="XMLXPATHSUMFUNCTION"
7830></A
7831>xmlXPathSumFunction ()</H3
7832><TABLE
7833BORDER="0"
7834BGCOLOR="#D6E8FF"
7835WIDTH="100%"
7836CELLPADDING="6"
7837><TR
7838><TD
7839><PRE
7840CLASS="PROGRAMLISTING"
7841>void xmlXPathSumFunction (<A
7842HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
7843>xmlXPathParserContextPtr</A
7844> ctxt,
7845 int nargs);</PRE
7846></TD
7847></TR
7848></TABLE
7849><P
7850>Implement the <GTKDOCLINK
7851HREF="SUM"
7852>sum</GTKDOCLINK
7853>() XPath function
7854number sum(node-set)
7855The sum function returns the sum of the values of the nodes in
7856the argument node-set.</P
7857><P
7858></P
7859><DIV
7860CLASS="INFORMALTABLE"
7861><P
7862></P
7863><TABLE
7864BORDER="0"
7865WIDTH="100%"
7866BGCOLOR="#FFD0D0"
7867CELLSPACING="0"
7868CELLPADDING="4"
7869CLASS="CALSTABLE"
7870><TR
7871><TD
7872WIDTH="20%"
7873ALIGN="RIGHT"
7874VALIGN="TOP"
7875><TT
7876CLASS="PARAMETER"
7877><I
7878>ctxt</I
7879></TT
7880>&nbsp;:</TD
7881><TD
7882WIDTH="80%"
7883ALIGN="LEFT"
7884VALIGN="TOP"
7885> the XPath Parser context</TD
7886></TR
7887><TR
7888><TD
7889WIDTH="20%"
7890ALIGN="RIGHT"
7891VALIGN="TOP"
7892><TT
7893CLASS="PARAMETER"
7894><I
7895>nargs</I
7896></TT
7897>&nbsp;:</TD
7898><TD
7899WIDTH="80%"
7900ALIGN="LEFT"
7901VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00007902>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007903></TR
7904></TABLE
7905><P
7906></P
7907></DIV
7908></DIV
7909><HR><DIV
7910CLASS="REFSECT2"
7911><A
Daniel Veillard503b8932001-01-05 06:36:31 +00007912NAME="AEN12899"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007913></A
7914><H3
7915><A
7916NAME="XMLXPATHFLOORFUNCTION"
7917></A
7918>xmlXPathFloorFunction ()</H3
7919><TABLE
7920BORDER="0"
7921BGCOLOR="#D6E8FF"
7922WIDTH="100%"
7923CELLPADDING="6"
7924><TR
7925><TD
7926><PRE
7927CLASS="PROGRAMLISTING"
7928>void xmlXPathFloorFunction (<A
7929HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
7930>xmlXPathParserContextPtr</A
7931> ctxt,
7932 int nargs);</PRE
7933></TD
7934></TR
7935></TABLE
7936><P
7937>Implement the <GTKDOCLINK
7938HREF="FLOOR"
7939>floor</GTKDOCLINK
7940>() XPath function
7941number floor(number)
7942The floor function returns the largest (closest to positive infinity)
7943number that is not greater than the argument and that is an integer.</P
7944><P
7945></P
7946><DIV
7947CLASS="INFORMALTABLE"
7948><P
7949></P
7950><TABLE
7951BORDER="0"
7952WIDTH="100%"
7953BGCOLOR="#FFD0D0"
7954CELLSPACING="0"
7955CELLPADDING="4"
7956CLASS="CALSTABLE"
7957><TR
7958><TD
7959WIDTH="20%"
7960ALIGN="RIGHT"
7961VALIGN="TOP"
7962><TT
7963CLASS="PARAMETER"
7964><I
7965>ctxt</I
7966></TT
7967>&nbsp;:</TD
7968><TD
7969WIDTH="80%"
7970ALIGN="LEFT"
7971VALIGN="TOP"
7972> the XPath Parser context</TD
7973></TR
7974><TR
7975><TD
7976WIDTH="20%"
7977ALIGN="RIGHT"
7978VALIGN="TOP"
7979><TT
7980CLASS="PARAMETER"
7981><I
7982>nargs</I
7983></TT
7984>&nbsp;:</TD
7985><TD
7986WIDTH="80%"
7987ALIGN="LEFT"
7988VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00007989>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007990></TR
7991></TABLE
7992><P
7993></P
7994></DIV
7995></DIV
7996><HR><DIV
7997CLASS="REFSECT2"
7998><A
Daniel Veillard503b8932001-01-05 06:36:31 +00007999NAME="AEN12920"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008000></A
8001><H3
8002><A
8003NAME="XMLXPATHCEILINGFUNCTION"
8004></A
8005>xmlXPathCeilingFunction ()</H3
8006><TABLE
8007BORDER="0"
8008BGCOLOR="#D6E8FF"
8009WIDTH="100%"
8010CELLPADDING="6"
8011><TR
8012><TD
8013><PRE
8014CLASS="PROGRAMLISTING"
8015>void xmlXPathCeilingFunction (<A
8016HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
8017>xmlXPathParserContextPtr</A
8018> ctxt,
8019 int nargs);</PRE
8020></TD
8021></TR
8022></TABLE
8023><P
8024>Implement the <GTKDOCLINK
8025HREF="CEILING"
8026>ceiling</GTKDOCLINK
8027>() XPath function
8028number ceiling(number)
8029The ceiling function returns the smallest (closest to negative infinity)
8030number that is not less than the argument and that is an integer.</P
8031><P
8032></P
8033><DIV
8034CLASS="INFORMALTABLE"
8035><P
8036></P
8037><TABLE
8038BORDER="0"
8039WIDTH="100%"
8040BGCOLOR="#FFD0D0"
8041CELLSPACING="0"
8042CELLPADDING="4"
8043CLASS="CALSTABLE"
8044><TR
8045><TD
8046WIDTH="20%"
8047ALIGN="RIGHT"
8048VALIGN="TOP"
8049><TT
8050CLASS="PARAMETER"
8051><I
8052>ctxt</I
8053></TT
8054>&nbsp;:</TD
8055><TD
8056WIDTH="80%"
8057ALIGN="LEFT"
8058VALIGN="TOP"
8059> the XPath Parser context</TD
8060></TR
8061><TR
8062><TD
8063WIDTH="20%"
8064ALIGN="RIGHT"
8065VALIGN="TOP"
8066><TT
8067CLASS="PARAMETER"
8068><I
8069>nargs</I
8070></TT
8071>&nbsp;:</TD
8072><TD
8073WIDTH="80%"
8074ALIGN="LEFT"
8075VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00008076>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00008077></TR
8078></TABLE
8079><P
8080></P
8081></DIV
8082></DIV
8083><HR><DIV
8084CLASS="REFSECT2"
8085><A
Daniel Veillard503b8932001-01-05 06:36:31 +00008086NAME="AEN12941"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008087></A
8088><H3
8089><A
8090NAME="XMLXPATHROUNDFUNCTION"
8091></A
8092>xmlXPathRoundFunction ()</H3
8093><TABLE
8094BORDER="0"
8095BGCOLOR="#D6E8FF"
8096WIDTH="100%"
8097CELLPADDING="6"
8098><TR
8099><TD
8100><PRE
8101CLASS="PROGRAMLISTING"
8102>void xmlXPathRoundFunction (<A
8103HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
8104>xmlXPathParserContextPtr</A
8105> ctxt,
8106 int nargs);</PRE
8107></TD
8108></TR
8109></TABLE
8110><P
8111>Implement the <GTKDOCLINK
8112HREF="ROUND"
8113>round</GTKDOCLINK
8114>() XPath function
8115number round(number)
8116The round function returns the number that is closest to the
8117argument and that is an integer. If there are two such numbers,
8118then the one that is even is returned.</P
8119><P
8120></P
8121><DIV
8122CLASS="INFORMALTABLE"
8123><P
8124></P
8125><TABLE
8126BORDER="0"
8127WIDTH="100%"
8128BGCOLOR="#FFD0D0"
8129CELLSPACING="0"
8130CELLPADDING="4"
8131CLASS="CALSTABLE"
8132><TR
8133><TD
8134WIDTH="20%"
8135ALIGN="RIGHT"
8136VALIGN="TOP"
8137><TT
8138CLASS="PARAMETER"
8139><I
8140>ctxt</I
8141></TT
8142>&nbsp;:</TD
8143><TD
8144WIDTH="80%"
8145ALIGN="LEFT"
8146VALIGN="TOP"
8147> the XPath Parser context</TD
8148></TR
8149><TR
8150><TD
8151WIDTH="20%"
8152ALIGN="RIGHT"
8153VALIGN="TOP"
8154><TT
8155CLASS="PARAMETER"
8156><I
8157>nargs</I
8158></TT
8159>&nbsp;:</TD
8160><TD
8161WIDTH="80%"
8162ALIGN="LEFT"
8163VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00008164>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00008165></TR
8166></TABLE
8167><P
8168></P
8169></DIV
8170></DIV
8171></DIV
8172><DIV
8173CLASS="NAVFOOTER"
8174><BR
8175CLEAR="all"><BR><TABLE
8176WIDTH="100%"
8177BORDER="0"
8178BGCOLOR="#000000"
8179CELLPADDING="1"
8180CELLSPACING="0"
8181><TR
8182><TD
8183WIDTH="25%"
8184BGCOLOR="#C00000"
8185ALIGN="left"
8186><A
8187HREF="gnome-xml-xpath.html"
8188><FONT
8189COLOR="#FFFFFF"
8190SIZE="3"
8191><B
8192>&#60;&#60;&#60; Previous Page</B
8193></FONT
8194></A
8195></TD
8196><TD
8197WIDTH="25%"
8198BGCOLOR="#0000C0"
8199ALIGN="center"
8200><FONT
8201COLOR="#FFFFFF"
8202SIZE="3"
8203><B
8204><A
8205HREF="book1.html"
8206><FONT
8207COLOR="#FFFFFF"
8208SIZE="3"
8209><B
8210>Home</B
8211></FONT
8212></A
8213></B
8214></FONT
8215></TD
8216><TD
8217WIDTH="25%"
8218BGCOLOR="#00C000"
8219ALIGN="center"
8220><FONT
8221COLOR="#FFFFFF"
8222SIZE="3"
8223><B
8224><A
8225HREF="libxml-lib.html"
8226><FONT
8227COLOR="#FFFFFF"
8228SIZE="3"
8229><B
8230>Up</B
8231></FONT
8232></A
8233></B
8234></FONT
8235></TD
8236><TD
8237WIDTH="25%"
8238BGCOLOR="#C00000"
8239ALIGN="right"
8240><A
8241HREF="gnome-xml-xpointer.html"
8242><FONT
8243COLOR="#FFFFFF"
8244SIZE="3"
8245><B
8246>Next Page &#62;&#62;&#62;</B
8247></FONT
8248></A
8249></TD
8250></TR
8251><TR
8252><TD
8253COLSPAN="2"
8254ALIGN="left"
8255><FONT
8256COLOR="#FFFFFF"
8257SIZE="3"
8258><B
8259>xpath</B
8260></FONT
8261></TD
8262><TD
8263COLSPAN="2"
8264ALIGN="right"
8265><FONT
8266COLOR="#FFFFFF"
8267SIZE="3"
8268><B
8269>xpointer</B
8270></FONT
8271></TD
8272></TR
8273></TABLE
8274></DIV
8275></BODY
8276></HTML
8277>