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