blob: 4943a45005a36120fad9e8d21a0cb3626fdd4767 [file] [log] [blame]
Daniel Veillard9753ad72000-11-13 19:12:23 +00001<HTML
2><HEAD
3><TITLE
4>xpathInternals</TITLE
5><META
6NAME="GENERATOR"
Daniel Veillard503b8932001-01-05 06:36:31 +00007CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK
Daniel Veillard9753ad72000-11-13 19:12:23 +00008REL="HOME"
9TITLE="Gnome XML Library Reference Manual"
10HREF="book1.html"><LINK
11REL="UP"
12TITLE="Libxml Library Reference"
13HREF="libxml-lib.html"><LINK
14REL="PREVIOUS"
15TITLE="xpath"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000016HREF="libxml-xpath.html"><LINK
Daniel Veillard9753ad72000-11-13 19:12:23 +000017REL="NEXT"
18TITLE="xpointer"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000019HREF="libxml-xpointer.html"></HEAD
Daniel Veillard9753ad72000-11-13 19:12:23 +000020><BODY
21BGCOLOR="#FFFFFF"
22TEXT="#000000"
Daniel Veillard503b8932001-01-05 06:36:31 +000023LINK="#0000FF"
24VLINK="#840084"
25ALINK="#0000FF"
Daniel Veillard9753ad72000-11-13 19:12:23 +000026><DIV
27CLASS="NAVHEADER"
28><TABLE
29WIDTH="100%"
30BORDER="0"
31BGCOLOR="#000000"
32CELLPADDING="1"
33CELLSPACING="0"
34><TR
35><TH
36COLSPAN="4"
37ALIGN="center"
38><FONT
39COLOR="#FFFFFF"
40SIZE="5"
41>Gnome XML Library Reference Manual</FONT
42></TH
43></TR
44><TR
45><TD
46WIDTH="25%"
47BGCOLOR="#C00000"
48ALIGN="left"
49><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000050HREF="libxml-xpath.html"
Daniel Veillard9753ad72000-11-13 19:12:23 +000051><FONT
52COLOR="#FFFFFF"
53SIZE="3"
54><B
55>&#60;&#60;&#60; Previous Page</B
56></FONT
57></A
58></TD
59><TD
60WIDTH="25%"
61BGCOLOR="#0000C0"
62ALIGN="center"
63><FONT
64COLOR="#FFFFFF"
65SIZE="3"
66><B
67><A
68HREF="book1.html"
69><FONT
70COLOR="#FFFFFF"
71SIZE="3"
72><B
73>Home</B
74></FONT
75></A
76></B
77></FONT
78></TD
79><TD
80WIDTH="25%"
81BGCOLOR="#00C000"
82ALIGN="center"
83><FONT
84COLOR="#FFFFFF"
85SIZE="3"
86><B
87><A
88HREF="libxml-lib.html"
89><FONT
90COLOR="#FFFFFF"
91SIZE="3"
92><B
93>Up</B
94></FONT
95></A
96></B
97></FONT
98></TD
99><TD
100WIDTH="25%"
101BGCOLOR="#C00000"
102ALIGN="right"
103><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000104HREF="libxml-xpointer.html"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000105><FONT
106COLOR="#FFFFFF"
107SIZE="3"
108><B
109>Next Page &#62;&#62;&#62;</B
110></FONT
111></A
112></TD
113></TR
114></TABLE
115></DIV
116><H1
Daniel Veillard503b8932001-01-05 06:36:31 +0000117><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000118NAME="LIBXML-XPATHINTERNALS"
Daniel Veillard503b8932001-01-05 06:36:31 +0000119>xpathInternals</A
120></H1
Daniel Veillard9753ad72000-11-13 19:12:23 +0000121><DIV
122CLASS="REFNAMEDIV"
123><A
Daniel Veillarde356c282001-03-10 12:32:04 +0000124NAME="AEN11110"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000125></A
126><H2
127>Name</H2
Daniel Veillard503b8932001-01-05 06:36:31 +0000128>xpathInternals&nbsp;--&nbsp;</DIV
Daniel Veillard9753ad72000-11-13 19:12:23 +0000129><DIV
130CLASS="REFSYNOPSISDIV"
131><A
Daniel Veillarde356c282001-03-10 12:32:04 +0000132NAME="AEN11113"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000133></A
134><H2
135>Synopsis</H2
136><TABLE
137BORDER="0"
138BGCOLOR="#D6E8FF"
139WIDTH="100%"
140CELLPADDING="6"
141><TR
142><TD
143><PRE
144CLASS="SYNOPSIS"
145>&#13;
146
147#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000148HREF="libxml-xpathinternals.html#CHECK-ERROR-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000149>CHECK_ERROR</A
150>
151#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000152HREF="libxml-xpathinternals.html#CHECK-ERROR0-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000153>CHECK_ERROR0</A
154>
155#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000156HREF="libxml-xpathinternals.html#XP-ERROR-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000157>XP_ERROR</A
158> (X)
159#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000160HREF="libxml-xpathinternals.html#XP-ERROR0-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000161>XP_ERROR0</A
162> (X)
163#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000164HREF="libxml-xpathinternals.html#CHECK-TYPE-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000165>CHECK_TYPE</A
166> (typeval)
167#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000168HREF="libxml-xpathinternals.html#CHECK-ARITY-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000169>CHECK_ARITY</A
170> (x)
171#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000172HREF="libxml-xpathinternals.html#CAST-TO-STRING-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000173>CAST_TO_STRING</A
174>
175#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000176HREF="libxml-xpathinternals.html#CAST-TO-NUMBER-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000177>CAST_TO_NUMBER</A
178>
179#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000180HREF="libxml-xpathinternals.html#CAST-TO-BOOLEAN-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000181>CAST_TO_BOOLEAN</A
182>
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000183<GTKDOCLINK
184HREF="TYPEDEF"
185>typedef</GTKDOCLINK
186> <A
187HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
188>xmlXPathObjectPtr</A
189> ();
Daniel Veillard9753ad72000-11-13 19:12:23 +0000190void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000191HREF="libxml-xpathinternals.html#XMLXPATHREGISTERVARIABLELOOKUP"
192>xmlXPathRegisterVariableLookup</A
193> (<A
194HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
195>xmlXPathContextPtr</A
196> ctxt,
197 <GTKDOCLINK
198HREF="XMLXPATHVARIABLELOOKUPFUNC"
199>xmlXPathVariableLookupFunc</GTKDOCLINK
200> f,
201 void *varCtxt);
202void <A
203HREF="libxml-xpath.html#XMLXPATHERROR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000204>xmlXPatherror</A
205> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000206HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000207>xmlXPathParserContextPtr</A
208> ctxt,
209 const char *file,
210 int line,
211 int no);
212void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000213HREF="libxml-xpathinternals.html#XMLXPATHDEBUGDUMPOBJECT"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000214>xmlXPathDebugDumpObject</A
215> (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000216HREF="FILE-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000217>FILE</GTKDOCLINK
218> *output,
219 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000220HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000221>xmlXPathObjectPtr</A
222> cur,
223 int depth);
224int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000225HREF="libxml-xpathinternals.html#XMLXPATHREGISTERNS"
Daniel Veillard503b8932001-01-05 06:36:31 +0000226>xmlXPathRegisterNs</A
227> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000228HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard503b8932001-01-05 06:36:31 +0000229>xmlXPathContextPtr</A
230> ctxt,
231 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000232HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard503b8932001-01-05 06:36:31 +0000233>xmlChar</A
234> *prefix,
235 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000236HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard503b8932001-01-05 06:36:31 +0000237>xmlChar</A
238> *ns_uri);
239const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000240HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard503b8932001-01-05 06:36:31 +0000241>xmlChar</A
242>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000243HREF="libxml-xpathinternals.html#XMLXPATHNSLOOKUP"
Daniel Veillard503b8932001-01-05 06:36:31 +0000244>xmlXPathNsLookup</A
245> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000246HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard503b8932001-01-05 06:36:31 +0000247>xmlXPathContextPtr</A
248> ctxt,
249 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000250HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard503b8932001-01-05 06:36:31 +0000251>xmlChar</A
252> *ns_uri);
253void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000254HREF="libxml-xpathinternals.html#XMLXPATHREGISTEREDNSCLEANUP"
Daniel Veillard503b8932001-01-05 06:36:31 +0000255>xmlXPathRegisteredNsCleanup</A
256> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000257HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard503b8932001-01-05 06:36:31 +0000258>xmlXPathContextPtr</A
259> ctxt);
260int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000261HREF="libxml-xpathinternals.html#XMLXPATHREGISTERFUNC"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000262>xmlXPathRegisterFunc</A
263> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000264HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000265>xmlXPathContextPtr</A
266> ctxt,
267 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000268HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000269>xmlChar</A
270> *name,
271 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000272HREF="libxml-xpath.html#XMLXPATHFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000273>xmlXPathFunction</A
274> f);
275int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000276HREF="libxml-xpathinternals.html#XMLXPATHREGISTERFUNCNS"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000277>xmlXPathRegisterFuncNS</A
278> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000279HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000280>xmlXPathContextPtr</A
281> ctxt,
282 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000283HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000284>xmlChar</A
285> *name,
286 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000287HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000288>xmlChar</A
289> *ns_uri,
290 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000291HREF="libxml-xpath.html#XMLXPATHFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000292>xmlXPathFunction</A
293> f);
294int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000295HREF="libxml-xpathinternals.html#XMLXPATHREGISTERVARIABLE"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000296>xmlXPathRegisterVariable</A
297> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000298HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000299>xmlXPathContextPtr</A
300> ctxt,
301 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000302HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000303>xmlChar</A
304> *name,
305 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000306HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000307>xmlXPathObjectPtr</A
308> value);
309int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000310HREF="libxml-xpathinternals.html#XMLXPATHREGISTERVARIABLENS"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000311>xmlXPathRegisterVariableNS</A
312> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000313HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000314>xmlXPathContextPtr</A
315> ctxt,
316 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000317HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000318>xmlChar</A
319> *name,
320 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000321HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000322>xmlChar</A
323> *ns_uri,
324 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000325HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000326>xmlXPathObjectPtr</A
327> value);
328<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000329HREF="libxml-xpath.html#XMLXPATHFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000330>xmlXPathFunction</A
331> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000332HREF="libxml-xpathinternals.html#XMLXPATHFUNCTIONLOOKUP"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000333>xmlXPathFunctionLookup</A
334> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000335HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000336>xmlXPathContextPtr</A
337> ctxt,
338 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000339HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000340>xmlChar</A
341> *name);
342<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000343HREF="libxml-xpath.html#XMLXPATHFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000344>xmlXPathFunction</A
345> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000346HREF="libxml-xpathinternals.html#XMLXPATHFUNCTIONLOOKUPNS"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000347>xmlXPathFunctionLookupNS</A
348> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000349HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000350>xmlXPathContextPtr</A
351> ctxt,
352 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000353HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000354>xmlChar</A
355> *name,
356 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000357HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000358>xmlChar</A
359> *ns_uri);
360void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000361HREF="libxml-xpathinternals.html#XMLXPATHREGISTEREDFUNCSCLEANUP"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000362>xmlXPathRegisteredFuncsCleanup</A
363> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000364HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000365>xmlXPathContextPtr</A
366> ctxt);
367<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000368HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000369>xmlXPathObjectPtr</A
370> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000371HREF="libxml-xpathinternals.html#XMLXPATHVARIABLELOOKUP"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000372>xmlXPathVariableLookup</A
373> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000374HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000375>xmlXPathContextPtr</A
376> ctxt,
377 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000378HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000379>xmlChar</A
380> *name);
381<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000382HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000383>xmlXPathObjectPtr</A
384> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000385HREF="libxml-xpathinternals.html#XMLXPATHVARIABLELOOKUPNS"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000386>xmlXPathVariableLookupNS</A
387> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000388HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000389>xmlXPathContextPtr</A
390> ctxt,
391 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000392HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000393>xmlChar</A
394> *name,
395 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000396HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000397>xmlChar</A
398> *ns_uri);
399void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000400HREF="libxml-xpathinternals.html#XMLXPATHREGISTEREDVARIABLESCLEANUP"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000401>xmlXPathRegisteredVariablesCleanup</A
402>
403 (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000404HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000405>xmlXPathContextPtr</A
406> ctxt);
407<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000408HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000409>xmlXPathParserContextPtr</A
410> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000411HREF="libxml-xpathinternals.html#XMLXPATHNEWPARSERCONTEXT"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000412>xmlXPathNewParserContext</A
413>
414 (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000415HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000416>xmlChar</A
417> *str,
418 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000419HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000420>xmlXPathContextPtr</A
421> ctxt);
422void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000423HREF="libxml-xpathinternals.html#XMLXPATHFREEPARSERCONTEXT"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000424>xmlXPathFreeParserContext</A
425> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000426HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000427>xmlXPathParserContextPtr</A
428> ctxt);
429<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000430HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000431>xmlXPathObjectPtr</A
432> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000433HREF="libxml-xpathinternals.html#VALUEPOP"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000434>valuePop</A
435> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000436HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000437>xmlXPathParserContextPtr</A
438> ctxt);
439int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000440HREF="libxml-xpathinternals.html#VALUEPUSH"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000441>valuePush</A
442> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000443HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000444>xmlXPathParserContextPtr</A
445> ctxt,
446 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000447HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000448>xmlXPathObjectPtr</A
449> value);
450<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000451HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000452>xmlXPathObjectPtr</A
453> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000454HREF="libxml-xpathinternals.html#XMLXPATHNEWSTRING"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000455>xmlXPathNewString</A
456> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000457HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000458>xmlChar</A
459> *val);
460<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000461HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000462>xmlXPathObjectPtr</A
463> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000464HREF="libxml-xpathinternals.html#XMLXPATHNEWCSTRING"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000465>xmlXPathNewCString</A
466> (const char *val);
467<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000468HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000469>xmlXPathObjectPtr</A
470> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000471HREF="libxml-xpathinternals.html#XMLXPATHNEWFLOAT"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000472>xmlXPathNewFloat</A
473> (<GTKDOCLINK
474HREF="DOUBLE"
475>double</GTKDOCLINK
476> val);
477<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000478HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000479>xmlXPathObjectPtr</A
480> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000481HREF="libxml-xpathinternals.html#XMLXPATHNEWBOOLEAN"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000482>xmlXPathNewBoolean</A
483> (int val);
484<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000485HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000486>xmlXPathObjectPtr</A
487> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000488HREF="libxml-xpathinternals.html#XMLXPATHNEWNODESET"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000489>xmlXPathNewNodeSet</A
490> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000491HREF="libxml-tree.html#XMLNODEPTR"
492>xmlNodePtr</A
493> val);
494<A
495HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
496>xmlXPathObjectPtr</A
497> <A
498HREF="libxml-xpathinternals.html#XMLXPATHNEWVALUETREE"
499>xmlXPathNewValueTree</A
500> (<A
501HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000502>xmlNodePtr</A
503> val);
504void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000505HREF="libxml-xpathinternals.html#XMLXPATHNODESETADD"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000506>xmlXPathNodeSetAdd</A
507> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000508HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000509>xmlNodeSetPtr</A
510> cur,
511 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000512HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000513>xmlNodePtr</A
514> val);
515void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000516HREF="libxml-xpathinternals.html#XMLXPATHIDFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000517>xmlXPathIdFunction</A
518> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000519HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000520>xmlXPathParserContextPtr</A
521> ctxt,
522 int nargs);
523void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000524HREF="libxml-xpathinternals.html#XMLXPATHROOT"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000525>xmlXPathRoot</A
526> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000527HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000528>xmlXPathParserContextPtr</A
529> ctxt);
530void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000531HREF="libxml-xpathinternals.html#XMLXPATHEVALEXPR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000532>xmlXPathEvalExpr</A
533> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000534HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000535>xmlXPathParserContextPtr</A
536> ctxt);
537<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000538HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000539>xmlChar</A
540>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000541HREF="libxml-xpathinternals.html#XMLXPATHPARSENAME"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000542>xmlXPathParseName</A
543> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000544HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000545>xmlXPathParserContextPtr</A
546> ctxt);
Daniel Veillard503b8932001-01-05 06:36:31 +0000547<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000548HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard503b8932001-01-05 06:36:31 +0000549>xmlChar</A
550>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000551HREF="libxml-xpathinternals.html#XMLXPATHPARSENCNAME"
Daniel Veillard503b8932001-01-05 06:36:31 +0000552>xmlXPathParseNCName</A
553> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000554HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard503b8932001-01-05 06:36:31 +0000555>xmlXPathParserContextPtr</A
556> ctxt);
Daniel Veillard9753ad72000-11-13 19:12:23 +0000557<GTKDOCLINK
558HREF="DOUBLE"
559>double</GTKDOCLINK
560> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000561HREF="libxml-xpathinternals.html#XMLXPATHSTRINGEVALNUMBER"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000562>xmlXPathStringEvalNumber</A
563> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000564HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000565>xmlChar</A
566> *str);
Daniel Veillarda1fe9102000-11-25 10:49:25 +0000567int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000568HREF="libxml-xpathinternals.html#XMLXPATHEVALUATEPREDICATERESULT"
Daniel Veillarda1fe9102000-11-25 10:49:25 +0000569>xmlXPathEvaluatePredicateResult</A
570> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000571HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +0000572>xmlXPathParserContextPtr</A
573> ctxt,
574 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000575HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +0000576>xmlXPathObjectPtr</A
577> res);
Daniel Veillard9753ad72000-11-13 19:12:23 +0000578void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000579HREF="libxml-xpath.html#XMLXPATHINIT"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000580>xmlXPathInit</A
581> (void);
582void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000583HREF="libxml-xpathinternals.html#XMLXPATHSTRINGFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000584>xmlXPathStringFunction</A
585> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000586HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000587>xmlXPathParserContextPtr</A
588> ctxt,
589 int nargs);
590void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000591HREF="libxml-xpathinternals.html#XMLXPATHREGISTERALLFUNCTIONS"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000592>xmlXPathRegisterAllFunctions</A
593> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000594HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000595>xmlXPathContextPtr</A
596> ctxt);
597<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000598HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000599>xmlNodeSetPtr</A
600> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000601HREF="libxml-xpath.html#XMLXPATHNODESETCREATE"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000602>xmlXPathNodeSetCreate</A
603> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000604HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000605>xmlNodePtr</A
606> val);
607<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000608HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000609>xmlNodeSetPtr</A
610> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000611HREF="libxml-xpathinternals.html#XMLXPATHNODESETMERGE"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000612>xmlXPathNodeSetMerge</A
613> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000614HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000615>xmlNodeSetPtr</A
616> val1,
617 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000618HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000619>xmlNodeSetPtr</A
620> val2);
621void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000622HREF="libxml-xpathinternals.html#XMLXPATHNODESETDEL"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000623>xmlXPathNodeSetDel</A
624> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000625HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000626>xmlNodeSetPtr</A
627> cur,
628 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000629HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000630>xmlNodePtr</A
631> val);
632void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000633HREF="libxml-xpathinternals.html#XMLXPATHNODESETREMOVE"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000634>xmlXPathNodeSetRemove</A
635> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000636HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000637>xmlNodeSetPtr</A
638> cur,
639 int val);
640void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000641HREF="libxml-xpath.html#XMLXPATHFREENODESET"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000642>xmlXPathFreeNodeSet</A
643> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000644HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000645>xmlNodeSetPtr</A
646> obj);
647<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000648HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000649>xmlXPathObjectPtr</A
650> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000651HREF="libxml-xpathinternals.html#XMLXPATHNEWNODESETLIST"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000652>xmlXPathNewNodeSetList</A
653> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000654HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000655>xmlNodeSetPtr</A
656> val);
657<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000658HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000659>xmlXPathObjectPtr</A
660> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000661HREF="libxml-xpathinternals.html#XMLXPATHWRAPNODESET"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000662>xmlXPathWrapNodeSet</A
663> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000664HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000665>xmlNodeSetPtr</A
666> val);
667void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000668HREF="libxml-xpath.html#XMLXPATHFREENODESETLIST"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000669>xmlXPathFreeNodeSetList</A
670> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000671HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000672>xmlXPathObjectPtr</A
673> obj);
674void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000675HREF="libxml-xpath.html#XMLXPATHFREEOBJECT"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000676>xmlXPathFreeObject</A
677> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000678HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000679>xmlXPathObjectPtr</A
680> obj);
681<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000682HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000683>xmlXPathContextPtr</A
684> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000685HREF="libxml-xpath.html#XMLXPATHNEWCONTEXT"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000686>xmlXPathNewContext</A
687> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000688HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000689>xmlDocPtr</A
690> doc);
691void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000692HREF="libxml-xpath.html#XMLXPATHFREECONTEXT"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000693>xmlXPathFreeContext</A
694> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000695HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000696>xmlXPathContextPtr</A
697> ctxt);
698int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000699HREF="libxml-xpathinternals.html#XMLXPATHEQUALVALUES"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000700>xmlXPathEqualValues</A
701> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000702HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000703>xmlXPathParserContextPtr</A
704> ctxt);
705int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000706HREF="libxml-xpathinternals.html#XMLXPATHCOMPAREVALUES"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000707>xmlXPathCompareValues</A
708> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000709HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000710>xmlXPathParserContextPtr</A
711> ctxt,
712 int inf,
713 int strict);
714void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000715HREF="libxml-xpathinternals.html#XMLXPATHVALUEFLIPSIGN"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000716>xmlXPathValueFlipSign</A
717> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000718HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000719>xmlXPathParserContextPtr</A
720> ctxt);
721void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000722HREF="libxml-xpathinternals.html#XMLXPATHADDVALUES"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000723>xmlXPathAddValues</A
724> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000725HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000726>xmlXPathParserContextPtr</A
727> ctxt);
728void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000729HREF="libxml-xpathinternals.html#XMLXPATHSUBVALUES"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000730>xmlXPathSubValues</A
731> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000732HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000733>xmlXPathParserContextPtr</A
734> ctxt);
735void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000736HREF="libxml-xpathinternals.html#XMLXPATHMULTVALUES"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000737>xmlXPathMultValues</A
738> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000739HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000740>xmlXPathParserContextPtr</A
741> ctxt);
742void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000743HREF="libxml-xpathinternals.html#XMLXPATHDIVVALUES"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000744>xmlXPathDivValues</A
745> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000746HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000747>xmlXPathParserContextPtr</A
748> ctxt);
749void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000750HREF="libxml-xpathinternals.html#XMLXPATHMODVALUES"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000751>xmlXPathModValues</A
752> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000753HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000754>xmlXPathParserContextPtr</A
755> ctxt);
Daniel Veillarde356c282001-03-10 12:32:04 +0000756<A
757HREF="libxml-tree.html#XMLNODEPTR"
758>xmlNodePtr</A
759> <A
760HREF="libxml-xpathinternals.html#XMLXPATHNEXTPRECEDING"
761>xmlXPathNextPreceding</A
762> (<A
763HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
764>xmlXPathParserContextPtr</A
765> ctxt,
766 <A
767HREF="libxml-tree.html#XMLNODEPTR"
768>xmlNodePtr</A
769> cur);
770<A
771HREF="libxml-tree.html#XMLNODEPTR"
772>xmlNodePtr</A
773> <A
774HREF="libxml-xpathinternals.html#XMLXPATHNEXTANCESTOR"
775>xmlXPathNextAncestor</A
776> (<A
777HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
778>xmlXPathParserContextPtr</A
779> ctxt,
780 <A
781HREF="libxml-tree.html#XMLNODEPTR"
782>xmlNodePtr</A
783> cur);
784<A
785HREF="libxml-tree.html#XMLNODEPTR"
786>xmlNodePtr</A
787> <A
788HREF="libxml-xpathinternals.html#XMLXPATHNEXTPRECEDINGSIBLING"
789>xmlXPathNextPrecedingSibling</A
790> (<A
791HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
792>xmlXPathParserContextPtr</A
793> ctxt,
794 <A
795HREF="libxml-tree.html#XMLNODEPTR"
796>xmlNodePtr</A
797> cur);
Daniel Veillard9753ad72000-11-13 19:12:23 +0000798void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000799HREF="libxml-xpathinternals.html#XMLXPATHLASTFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000800>xmlXPathLastFunction</A
801> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000802HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000803>xmlXPathParserContextPtr</A
804> ctxt,
805 int nargs);
806void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000807HREF="libxml-xpathinternals.html#XMLXPATHPOSITIONFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000808>xmlXPathPositionFunction</A
809> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000810HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000811>xmlXPathParserContextPtr</A
812> ctxt,
813 int nargs);
814void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000815HREF="libxml-xpathinternals.html#XMLXPATHCOUNTFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000816>xmlXPathCountFunction</A
817> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000818HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000819>xmlXPathParserContextPtr</A
820> ctxt,
821 int nargs);
822void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000823HREF="libxml-xpathinternals.html#XMLXPATHLOCALNAMEFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000824>xmlXPathLocalNameFunction</A
825> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000826HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000827>xmlXPathParserContextPtr</A
828> ctxt,
829 int nargs);
830void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000831HREF="libxml-xpathinternals.html#XMLXPATHNAMESPACEURIFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000832>xmlXPathNamespaceURIFunction</A
833> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000834HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000835>xmlXPathParserContextPtr</A
836> ctxt,
837 int nargs);
838void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000839HREF="libxml-xpathinternals.html#XMLXPATHSTRINGLENGTHFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000840>xmlXPathStringLengthFunction</A
841> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000842HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000843>xmlXPathParserContextPtr</A
844> ctxt,
845 int nargs);
846void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000847HREF="libxml-xpathinternals.html#XMLXPATHCONCATFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000848>xmlXPathConcatFunction</A
849> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000850HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000851>xmlXPathParserContextPtr</A
852> ctxt,
853 int nargs);
854void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000855HREF="libxml-xpathinternals.html#XMLXPATHCONTAINSFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000856>xmlXPathContainsFunction</A
857> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000858HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000859>xmlXPathParserContextPtr</A
860> ctxt,
861 int nargs);
862void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000863HREF="libxml-xpathinternals.html#XMLXPATHSTARTSWITHFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000864>xmlXPathStartsWithFunction</A
865> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000866HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000867>xmlXPathParserContextPtr</A
868> ctxt,
869 int nargs);
870void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000871HREF="libxml-xpathinternals.html#XMLXPATHSUBSTRINGFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000872>xmlXPathSubstringFunction</A
873> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000874HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000875>xmlXPathParserContextPtr</A
876> ctxt,
877 int nargs);
878void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000879HREF="libxml-xpathinternals.html#XMLXPATHSUBSTRINGBEFOREFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000880>xmlXPathSubstringBeforeFunction</A
881> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000882HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000883>xmlXPathParserContextPtr</A
884> ctxt,
885 int nargs);
886void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000887HREF="libxml-xpathinternals.html#XMLXPATHSUBSTRINGAFTERFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000888>xmlXPathSubstringAfterFunction</A
889> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000890HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000891>xmlXPathParserContextPtr</A
892> ctxt,
893 int nargs);
894void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000895HREF="libxml-xpathinternals.html#XMLXPATHNORMALIZEFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000896>xmlXPathNormalizeFunction</A
897> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000898HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000899>xmlXPathParserContextPtr</A
900> ctxt,
901 int nargs);
902void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000903HREF="libxml-xpathinternals.html#XMLXPATHTRANSLATEFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000904>xmlXPathTranslateFunction</A
905> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000906HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000907>xmlXPathParserContextPtr</A
908> ctxt,
909 int nargs);
910void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000911HREF="libxml-xpathinternals.html#XMLXPATHNOTFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000912>xmlXPathNotFunction</A
913> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000914HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000915>xmlXPathParserContextPtr</A
916> ctxt,
917 int nargs);
918void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000919HREF="libxml-xpathinternals.html#XMLXPATHTRUEFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000920>xmlXPathTrueFunction</A
921> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000922HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000923>xmlXPathParserContextPtr</A
924> ctxt,
925 int nargs);
926void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000927HREF="libxml-xpathinternals.html#XMLXPATHFALSEFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000928>xmlXPathFalseFunction</A
929> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000930HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000931>xmlXPathParserContextPtr</A
932> ctxt,
933 int nargs);
934void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000935HREF="libxml-xpathinternals.html#XMLXPATHLANGFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000936>xmlXPathLangFunction</A
937> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000938HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000939>xmlXPathParserContextPtr</A
940> ctxt,
941 int nargs);
942void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000943HREF="libxml-xpathinternals.html#XMLXPATHNUMBERFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000944>xmlXPathNumberFunction</A
945> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000946HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000947>xmlXPathParserContextPtr</A
948> ctxt,
949 int nargs);
950void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000951HREF="libxml-xpathinternals.html#XMLXPATHSUMFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000952>xmlXPathSumFunction</A
953> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000954HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000955>xmlXPathParserContextPtr</A
956> ctxt,
957 int nargs);
958void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000959HREF="libxml-xpathinternals.html#XMLXPATHFLOORFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000960>xmlXPathFloorFunction</A
961> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000962HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000963>xmlXPathParserContextPtr</A
964> ctxt,
965 int nargs);
966void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000967HREF="libxml-xpathinternals.html#XMLXPATHCEILINGFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000968>xmlXPathCeilingFunction</A
969> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000970HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000971>xmlXPathParserContextPtr</A
972> ctxt,
973 int nargs);
974void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000975HREF="libxml-xpathinternals.html#XMLXPATHROUNDFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000976>xmlXPathRoundFunction</A
977> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000978HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
979>xmlXPathParserContextPtr</A
980> ctxt,
981 int nargs);
982void <A
983HREF="libxml-xpathinternals.html#XMLXPATHBOOLEANFUNCTION"
984>xmlXPathBooleanFunction</A
985> (<A
986HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000987>xmlXPathParserContextPtr</A
988> ctxt,
989 int nargs);</PRE
990></TD
991></TR
992></TABLE
993></DIV
994><DIV
995CLASS="REFSECT1"
996><A
Daniel Veillarde356c282001-03-10 12:32:04 +0000997NAME="AEN11344"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000998></A
999><H2
1000>Description</H2
1001><P
1002></P
1003></DIV
1004><DIV
1005CLASS="REFSECT1"
1006><A
Daniel Veillarde356c282001-03-10 12:32:04 +00001007NAME="AEN11347"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001008></A
1009><H2
1010>Details</H2
1011><DIV
1012CLASS="REFSECT2"
1013><A
Daniel Veillarde356c282001-03-10 12:32:04 +00001014NAME="AEN11349"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001015></A
1016><H3
1017><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001018NAME="CHECK-ERROR-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001019></A
1020>CHECK_ERROR</H3
1021><TABLE
1022BORDER="0"
1023BGCOLOR="#D6E8FF"
1024WIDTH="100%"
1025CELLPADDING="6"
1026><TR
1027><TD
1028><PRE
1029CLASS="PROGRAMLISTING"
1030>#define CHECK_ERROR</PRE
1031></TD
1032></TR
1033></TABLE
1034><P
1035></P
1036></DIV
1037><HR><DIV
1038CLASS="REFSECT2"
1039><A
Daniel Veillarde356c282001-03-10 12:32:04 +00001040NAME="AEN11354"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001041></A
1042><H3
1043><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001044NAME="CHECK-ERROR0-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001045></A
1046>CHECK_ERROR0</H3
1047><TABLE
1048BORDER="0"
1049BGCOLOR="#D6E8FF"
1050WIDTH="100%"
1051CELLPADDING="6"
1052><TR
1053><TD
1054><PRE
1055CLASS="PROGRAMLISTING"
1056>#define CHECK_ERROR0</PRE
1057></TD
1058></TR
1059></TABLE
1060><P
1061></P
1062></DIV
1063><HR><DIV
1064CLASS="REFSECT2"
1065><A
Daniel Veillarde356c282001-03-10 12:32:04 +00001066NAME="AEN11359"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001067></A
1068><H3
1069><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001070NAME="XP-ERROR-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001071></A
1072>XP_ERROR()</H3
1073><TABLE
1074BORDER="0"
1075BGCOLOR="#D6E8FF"
1076WIDTH="100%"
1077CELLPADDING="6"
1078><TR
1079><TD
1080><PRE
1081CLASS="PROGRAMLISTING"
1082>#define XP_ERROR(X)</PRE
1083></TD
1084></TR
1085></TABLE
1086><P
1087></P
1088><DIV
1089CLASS="INFORMALTABLE"
1090><P
1091></P
1092><TABLE
1093BORDER="0"
1094WIDTH="100%"
1095BGCOLOR="#FFD0D0"
1096CELLSPACING="0"
1097CELLPADDING="4"
1098CLASS="CALSTABLE"
1099><TR
1100><TD
1101WIDTH="20%"
1102ALIGN="RIGHT"
1103VALIGN="TOP"
1104><TT
1105CLASS="PARAMETER"
1106><I
1107>X</I
1108></TT
1109>&nbsp;:</TD
1110><TD
1111WIDTH="80%"
1112ALIGN="LEFT"
1113VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001114>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001115></TR
1116></TABLE
1117><P
1118></P
1119></DIV
1120></DIV
1121><HR><DIV
1122CLASS="REFSECT2"
1123><A
Daniel Veillarde356c282001-03-10 12:32:04 +00001124NAME="AEN11373"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001125></A
1126><H3
1127><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001128NAME="XP-ERROR0-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001129></A
1130>XP_ERROR0()</H3
1131><TABLE
1132BORDER="0"
1133BGCOLOR="#D6E8FF"
1134WIDTH="100%"
1135CELLPADDING="6"
1136><TR
1137><TD
1138><PRE
1139CLASS="PROGRAMLISTING"
1140>#define XP_ERROR0(X)</PRE
1141></TD
1142></TR
1143></TABLE
1144><P
1145></P
1146><DIV
1147CLASS="INFORMALTABLE"
1148><P
1149></P
1150><TABLE
1151BORDER="0"
1152WIDTH="100%"
1153BGCOLOR="#FFD0D0"
1154CELLSPACING="0"
1155CELLPADDING="4"
1156CLASS="CALSTABLE"
1157><TR
1158><TD
1159WIDTH="20%"
1160ALIGN="RIGHT"
1161VALIGN="TOP"
1162><TT
1163CLASS="PARAMETER"
1164><I
1165>X</I
1166></TT
1167>&nbsp;:</TD
1168><TD
1169WIDTH="80%"
1170ALIGN="LEFT"
1171VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001172>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001173></TR
1174></TABLE
1175><P
1176></P
1177></DIV
1178></DIV
1179><HR><DIV
1180CLASS="REFSECT2"
1181><A
Daniel Veillarde356c282001-03-10 12:32:04 +00001182NAME="AEN11387"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001183></A
1184><H3
1185><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001186NAME="CHECK-TYPE-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001187></A
1188>CHECK_TYPE()</H3
1189><TABLE
1190BORDER="0"
1191BGCOLOR="#D6E8FF"
1192WIDTH="100%"
1193CELLPADDING="6"
1194><TR
1195><TD
1196><PRE
1197CLASS="PROGRAMLISTING"
1198>#define CHECK_TYPE(typeval)</PRE
1199></TD
1200></TR
1201></TABLE
1202><P
1203></P
1204><DIV
1205CLASS="INFORMALTABLE"
1206><P
1207></P
1208><TABLE
1209BORDER="0"
1210WIDTH="100%"
1211BGCOLOR="#FFD0D0"
1212CELLSPACING="0"
1213CELLPADDING="4"
1214CLASS="CALSTABLE"
1215><TR
1216><TD
1217WIDTH="20%"
1218ALIGN="RIGHT"
1219VALIGN="TOP"
1220><TT
1221CLASS="PARAMETER"
1222><I
1223>typeval</I
1224></TT
1225>&nbsp;:</TD
1226><TD
1227WIDTH="80%"
1228ALIGN="LEFT"
1229VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001230>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001231></TR
1232></TABLE
1233><P
1234></P
1235></DIV
1236></DIV
1237><HR><DIV
1238CLASS="REFSECT2"
1239><A
Daniel Veillarde356c282001-03-10 12:32:04 +00001240NAME="AEN11401"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001241></A
1242><H3
1243><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001244NAME="CHECK-ARITY-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001245></A
1246>CHECK_ARITY()</H3
1247><TABLE
1248BORDER="0"
1249BGCOLOR="#D6E8FF"
1250WIDTH="100%"
1251CELLPADDING="6"
1252><TR
1253><TD
1254><PRE
1255CLASS="PROGRAMLISTING"
1256>#define CHECK_ARITY(x)</PRE
1257></TD
1258></TR
1259></TABLE
1260><P
1261></P
1262><DIV
1263CLASS="INFORMALTABLE"
1264><P
1265></P
1266><TABLE
1267BORDER="0"
1268WIDTH="100%"
1269BGCOLOR="#FFD0D0"
1270CELLSPACING="0"
1271CELLPADDING="4"
1272CLASS="CALSTABLE"
1273><TR
1274><TD
1275WIDTH="20%"
1276ALIGN="RIGHT"
1277VALIGN="TOP"
1278><TT
1279CLASS="PARAMETER"
1280><I
1281>x</I
1282></TT
1283>&nbsp;:</TD
1284><TD
1285WIDTH="80%"
1286ALIGN="LEFT"
1287VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001288>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001289></TR
1290></TABLE
1291><P
1292></P
1293></DIV
1294></DIV
1295><HR><DIV
1296CLASS="REFSECT2"
1297><A
Daniel Veillarde356c282001-03-10 12:32:04 +00001298NAME="AEN11415"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001299></A
1300><H3
1301><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001302NAME="CAST-TO-STRING-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001303></A
1304>CAST_TO_STRING</H3
1305><TABLE
1306BORDER="0"
1307BGCOLOR="#D6E8FF"
1308WIDTH="100%"
1309CELLPADDING="6"
1310><TR
1311><TD
1312><PRE
1313CLASS="PROGRAMLISTING"
1314>#define CAST_TO_STRING</PRE
1315></TD
1316></TR
1317></TABLE
1318><P
1319></P
1320></DIV
1321><HR><DIV
1322CLASS="REFSECT2"
1323><A
Daniel Veillarde356c282001-03-10 12:32:04 +00001324NAME="AEN11420"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001325></A
1326><H3
1327><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001328NAME="CAST-TO-NUMBER-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001329></A
1330>CAST_TO_NUMBER</H3
1331><TABLE
1332BORDER="0"
1333BGCOLOR="#D6E8FF"
1334WIDTH="100%"
1335CELLPADDING="6"
1336><TR
1337><TD
1338><PRE
1339CLASS="PROGRAMLISTING"
1340>#define CAST_TO_NUMBER</PRE
1341></TD
1342></TR
1343></TABLE
1344><P
1345></P
1346></DIV
1347><HR><DIV
1348CLASS="REFSECT2"
1349><A
Daniel Veillarde356c282001-03-10 12:32:04 +00001350NAME="AEN11425"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001351></A
1352><H3
1353><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001354NAME="CAST-TO-BOOLEAN-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001355></A
1356>CAST_TO_BOOLEAN</H3
1357><TABLE
1358BORDER="0"
1359BGCOLOR="#D6E8FF"
1360WIDTH="100%"
1361CELLPADDING="6"
1362><TR
1363><TD
1364><PRE
1365CLASS="PROGRAMLISTING"
1366>#define CAST_TO_BOOLEAN</PRE
1367></TD
1368></TR
1369></TABLE
1370><P
1371></P
1372></DIV
1373><HR><DIV
1374CLASS="REFSECT2"
1375><A
Daniel Veillarde356c282001-03-10 12:32:04 +00001376NAME="AEN11430"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001377></A
1378><H3
1379><A
1380NAME="XMLXPATHOBJECTPTR"
1381></A
1382>xmlXPathObjectPtr ()</H3
1383><TABLE
1384BORDER="0"
1385BGCOLOR="#D6E8FF"
1386WIDTH="100%"
1387CELLPADDING="6"
1388><TR
1389><TD
1390><PRE
1391CLASS="PROGRAMLISTING"
1392><GTKDOCLINK
1393HREF="TYPEDEF"
1394>typedef</GTKDOCLINK
1395> xmlXPathObjectPtr ();</PRE
1396></TD
1397></TR
1398></TABLE
1399><P
1400></P
1401><DIV
1402CLASS="INFORMALTABLE"
1403><P
1404></P
1405><TABLE
1406BORDER="0"
1407WIDTH="100%"
1408BGCOLOR="#FFD0D0"
1409CELLSPACING="0"
1410CELLPADDING="4"
1411CLASS="CALSTABLE"
1412><TR
1413><TD
1414WIDTH="20%"
1415ALIGN="RIGHT"
1416VALIGN="TOP"
1417><I
1418CLASS="EMPHASIS"
1419>Returns</I
1420> :</TD
1421><TD
1422WIDTH="80%"
1423ALIGN="LEFT"
1424VALIGN="TOP"
1425>&#13;</TD
1426></TR
1427></TABLE
1428><P
1429></P
1430></DIV
1431></DIV
1432><HR><DIV
1433CLASS="REFSECT2"
1434><A
Daniel Veillarde356c282001-03-10 12:32:04 +00001435NAME="AEN11445"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001436></A
1437><H3
1438><A
1439NAME="XMLXPATHREGISTERVARIABLELOOKUP"
1440></A
1441>xmlXPathRegisterVariableLookup ()</H3
1442><TABLE
1443BORDER="0"
1444BGCOLOR="#D6E8FF"
1445WIDTH="100%"
1446CELLPADDING="6"
1447><TR
1448><TD
1449><PRE
1450CLASS="PROGRAMLISTING"
1451>void xmlXPathRegisterVariableLookup (<A
1452HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
1453>xmlXPathContextPtr</A
1454> ctxt,
1455 <GTKDOCLINK
1456HREF="XMLXPATHVARIABLELOOKUPFUNC"
1457>xmlXPathVariableLookupFunc</GTKDOCLINK
1458> f,
1459 void *varCtxt);</PRE
1460></TD
1461></TR
1462></TABLE
1463><P
1464>register an external mechanism to do variable lookup</P
1465><P
1466></P
1467><DIV
1468CLASS="INFORMALTABLE"
1469><P
1470></P
1471><TABLE
1472BORDER="0"
1473WIDTH="100%"
1474BGCOLOR="#FFD0D0"
1475CELLSPACING="0"
1476CELLPADDING="4"
1477CLASS="CALSTABLE"
1478><TR
1479><TD
1480WIDTH="20%"
1481ALIGN="RIGHT"
1482VALIGN="TOP"
1483><TT
1484CLASS="PARAMETER"
1485><I
1486>ctxt</I
1487></TT
1488>&nbsp;:</TD
1489><TD
1490WIDTH="80%"
1491ALIGN="LEFT"
1492VALIGN="TOP"
1493> the XPath context</TD
1494></TR
1495><TR
1496><TD
1497WIDTH="20%"
1498ALIGN="RIGHT"
1499VALIGN="TOP"
1500><TT
1501CLASS="PARAMETER"
1502><I
1503>f</I
1504></TT
1505>&nbsp;:</TD
1506><TD
1507WIDTH="80%"
1508ALIGN="LEFT"
1509VALIGN="TOP"
1510> the lookup function</TD
1511></TR
1512><TR
1513><TD
1514WIDTH="20%"
1515ALIGN="RIGHT"
1516VALIGN="TOP"
1517><TT
1518CLASS="PARAMETER"
1519><I
1520>varCtxt</I
1521></TT
1522>&nbsp;:</TD
1523><TD
1524WIDTH="80%"
1525ALIGN="LEFT"
1526VALIGN="TOP"
1527>&#13;</TD
1528></TR
1529></TABLE
1530><P
1531></P
1532></DIV
1533></DIV
1534><HR><DIV
1535CLASS="REFSECT2"
1536><A
Daniel Veillarde356c282001-03-10 12:32:04 +00001537NAME="AEN11470"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001538></A
1539><H3
1540><A
1541NAME="XMLXPATHERROR"
1542></A
1543>xmlXPatherror ()</H3
1544><TABLE
1545BORDER="0"
1546BGCOLOR="#D6E8FF"
1547WIDTH="100%"
1548CELLPADDING="6"
1549><TR
1550><TD
1551><PRE
1552CLASS="PROGRAMLISTING"
1553>void xmlXPatherror (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001554HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001555>xmlXPathParserContextPtr</A
1556> ctxt,
1557 const char *file,
1558 int line,
1559 int no);</PRE
1560></TD
1561></TR
1562></TABLE
1563><P
1564></P
1565><DIV
1566CLASS="INFORMALTABLE"
1567><P
1568></P
1569><TABLE
1570BORDER="0"
1571WIDTH="100%"
1572BGCOLOR="#FFD0D0"
1573CELLSPACING="0"
1574CELLPADDING="4"
1575CLASS="CALSTABLE"
1576><TR
1577><TD
1578WIDTH="20%"
1579ALIGN="RIGHT"
1580VALIGN="TOP"
1581><TT
1582CLASS="PARAMETER"
1583><I
1584>ctxt</I
1585></TT
1586>&nbsp;:</TD
1587><TD
1588WIDTH="80%"
1589ALIGN="LEFT"
1590VALIGN="TOP"
1591>&nbsp;</TD
1592></TR
1593><TR
1594><TD
1595WIDTH="20%"
1596ALIGN="RIGHT"
1597VALIGN="TOP"
1598><TT
1599CLASS="PARAMETER"
1600><I
1601>file</I
1602></TT
1603>&nbsp;:</TD
1604><TD
1605WIDTH="80%"
1606ALIGN="LEFT"
1607VALIGN="TOP"
1608>&nbsp;</TD
1609></TR
1610><TR
1611><TD
1612WIDTH="20%"
1613ALIGN="RIGHT"
1614VALIGN="TOP"
1615><TT
1616CLASS="PARAMETER"
1617><I
1618>line</I
1619></TT
1620>&nbsp;:</TD
1621><TD
1622WIDTH="80%"
1623ALIGN="LEFT"
1624VALIGN="TOP"
1625>&nbsp;</TD
1626></TR
1627><TR
1628><TD
1629WIDTH="20%"
1630ALIGN="RIGHT"
1631VALIGN="TOP"
1632><TT
1633CLASS="PARAMETER"
1634><I
1635>no</I
1636></TT
1637>&nbsp;:</TD
1638><TD
1639WIDTH="80%"
1640ALIGN="LEFT"
1641VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001642>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001643></TR
1644></TABLE
1645><P
1646></P
1647></DIV
1648></DIV
1649><HR><DIV
1650CLASS="REFSECT2"
1651><A
Daniel Veillarde356c282001-03-10 12:32:04 +00001652NAME="AEN11497"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001653></A
1654><H3
1655><A
1656NAME="XMLXPATHDEBUGDUMPOBJECT"
1657></A
1658>xmlXPathDebugDumpObject ()</H3
1659><TABLE
1660BORDER="0"
1661BGCOLOR="#D6E8FF"
1662WIDTH="100%"
1663CELLPADDING="6"
1664><TR
1665><TD
1666><PRE
1667CLASS="PROGRAMLISTING"
1668>void xmlXPathDebugDumpObject (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00001669HREF="FILE-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001670>FILE</GTKDOCLINK
1671> *output,
1672 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001673HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001674>xmlXPathObjectPtr</A
1675> cur,
1676 int depth);</PRE
1677></TD
1678></TR
1679></TABLE
1680><P
1681></P
1682><DIV
1683CLASS="INFORMALTABLE"
1684><P
1685></P
1686><TABLE
1687BORDER="0"
1688WIDTH="100%"
1689BGCOLOR="#FFD0D0"
1690CELLSPACING="0"
1691CELLPADDING="4"
1692CLASS="CALSTABLE"
1693><TR
1694><TD
1695WIDTH="20%"
1696ALIGN="RIGHT"
1697VALIGN="TOP"
1698><TT
1699CLASS="PARAMETER"
1700><I
1701>output</I
1702></TT
1703>&nbsp;:</TD
1704><TD
1705WIDTH="80%"
1706ALIGN="LEFT"
1707VALIGN="TOP"
1708>&nbsp;</TD
1709></TR
1710><TR
1711><TD
1712WIDTH="20%"
1713ALIGN="RIGHT"
1714VALIGN="TOP"
1715><TT
1716CLASS="PARAMETER"
1717><I
1718>cur</I
1719></TT
1720>&nbsp;:</TD
1721><TD
1722WIDTH="80%"
1723ALIGN="LEFT"
1724VALIGN="TOP"
1725>&nbsp;</TD
1726></TR
1727><TR
1728><TD
1729WIDTH="20%"
1730ALIGN="RIGHT"
1731VALIGN="TOP"
1732><TT
1733CLASS="PARAMETER"
1734><I
1735>depth</I
1736></TT
1737>&nbsp;:</TD
1738><TD
1739WIDTH="80%"
1740ALIGN="LEFT"
1741VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001742>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001743></TR
1744></TABLE
1745><P
1746></P
1747></DIV
1748></DIV
1749><HR><DIV
1750CLASS="REFSECT2"
1751><A
Daniel Veillarde356c282001-03-10 12:32:04 +00001752NAME="AEN11521"
Daniel Veillard503b8932001-01-05 06:36:31 +00001753></A
1754><H3
1755><A
1756NAME="XMLXPATHREGISTERNS"
1757></A
1758>xmlXPathRegisterNs ()</H3
1759><TABLE
1760BORDER="0"
1761BGCOLOR="#D6E8FF"
1762WIDTH="100%"
1763CELLPADDING="6"
1764><TR
1765><TD
1766><PRE
1767CLASS="PROGRAMLISTING"
1768>int xmlXPathRegisterNs (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001769HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard503b8932001-01-05 06:36:31 +00001770>xmlXPathContextPtr</A
1771> ctxt,
1772 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001773HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard503b8932001-01-05 06:36:31 +00001774>xmlChar</A
1775> *prefix,
1776 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001777HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard503b8932001-01-05 06:36:31 +00001778>xmlChar</A
1779> *ns_uri);</PRE
1780></TD
1781></TR
1782></TABLE
1783><P
1784>Register a new namespace. If <TT
1785CLASS="PARAMETER"
1786><I
1787>ns_uri</I
1788></TT
1789> is NULL it unregisters
1790the namespace</P
1791><P
1792></P
1793><DIV
1794CLASS="INFORMALTABLE"
1795><P
1796></P
1797><TABLE
1798BORDER="0"
1799WIDTH="100%"
1800BGCOLOR="#FFD0D0"
1801CELLSPACING="0"
1802CELLPADDING="4"
1803CLASS="CALSTABLE"
1804><TR
1805><TD
1806WIDTH="20%"
1807ALIGN="RIGHT"
1808VALIGN="TOP"
1809><TT
1810CLASS="PARAMETER"
1811><I
1812>ctxt</I
1813></TT
1814>&nbsp;:</TD
1815><TD
1816WIDTH="80%"
1817ALIGN="LEFT"
1818VALIGN="TOP"
1819> the XPath context</TD
1820></TR
1821><TR
1822><TD
1823WIDTH="20%"
1824ALIGN="RIGHT"
1825VALIGN="TOP"
1826><TT
1827CLASS="PARAMETER"
1828><I
1829>prefix</I
1830></TT
1831>&nbsp;:</TD
1832><TD
1833WIDTH="80%"
1834ALIGN="LEFT"
1835VALIGN="TOP"
1836> the namespace prefix</TD
1837></TR
1838><TR
1839><TD
1840WIDTH="20%"
1841ALIGN="RIGHT"
1842VALIGN="TOP"
1843><TT
1844CLASS="PARAMETER"
1845><I
1846>ns_uri</I
1847></TT
1848>&nbsp;:</TD
1849><TD
1850WIDTH="80%"
1851ALIGN="LEFT"
1852VALIGN="TOP"
1853> the namespace name</TD
1854></TR
1855><TR
1856><TD
1857WIDTH="20%"
1858ALIGN="RIGHT"
1859VALIGN="TOP"
1860><I
1861CLASS="EMPHASIS"
1862>Returns</I
1863> :</TD
1864><TD
1865WIDTH="80%"
1866ALIGN="LEFT"
1867VALIGN="TOP"
1868>0 in case of success, -1 in case of error</TD
1869></TR
1870></TABLE
1871><P
1872></P
1873></DIV
1874></DIV
1875><HR><DIV
1876CLASS="REFSECT2"
1877><A
Daniel Veillarde356c282001-03-10 12:32:04 +00001878NAME="AEN11552"
Daniel Veillard503b8932001-01-05 06:36:31 +00001879></A
1880><H3
1881><A
1882NAME="XMLXPATHNSLOOKUP"
1883></A
1884>xmlXPathNsLookup ()</H3
1885><TABLE
1886BORDER="0"
1887BGCOLOR="#D6E8FF"
1888WIDTH="100%"
1889CELLPADDING="6"
1890><TR
1891><TD
1892><PRE
1893CLASS="PROGRAMLISTING"
1894>const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001895HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard503b8932001-01-05 06:36:31 +00001896>xmlChar</A
1897>* xmlXPathNsLookup (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001898HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard503b8932001-01-05 06:36:31 +00001899>xmlXPathContextPtr</A
1900> ctxt,
1901 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001902HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard503b8932001-01-05 06:36:31 +00001903>xmlChar</A
1904> *ns_uri);</PRE
1905></TD
1906></TR
1907></TABLE
1908><P
1909>Search in the namespace declaration array of the context for the given
1910namespace name associated to the given prefix</P
1911><P
1912></P
1913><DIV
1914CLASS="INFORMALTABLE"
1915><P
1916></P
1917><TABLE
1918BORDER="0"
1919WIDTH="100%"
1920BGCOLOR="#FFD0D0"
1921CELLSPACING="0"
1922CELLPADDING="4"
1923CLASS="CALSTABLE"
1924><TR
1925><TD
1926WIDTH="20%"
1927ALIGN="RIGHT"
1928VALIGN="TOP"
1929><TT
1930CLASS="PARAMETER"
1931><I
1932>ctxt</I
1933></TT
1934>&nbsp;:</TD
1935><TD
1936WIDTH="80%"
1937ALIGN="LEFT"
1938VALIGN="TOP"
1939> the XPath context</TD
1940></TR
1941><TR
1942><TD
1943WIDTH="20%"
1944ALIGN="RIGHT"
1945VALIGN="TOP"
1946><TT
1947CLASS="PARAMETER"
1948><I
1949>ns_uri</I
1950></TT
1951>&nbsp;:</TD
1952><TD
1953WIDTH="80%"
1954ALIGN="LEFT"
1955VALIGN="TOP"
1956>&nbsp;</TD
1957></TR
1958><TR
1959><TD
1960WIDTH="20%"
1961ALIGN="RIGHT"
1962VALIGN="TOP"
1963><I
1964CLASS="EMPHASIS"
1965>Returns</I
1966> :</TD
1967><TD
1968WIDTH="80%"
1969ALIGN="LEFT"
1970VALIGN="TOP"
1971>the value or NULL if not found</TD
1972></TR
1973></TABLE
1974><P
1975></P
1976></DIV
1977></DIV
1978><HR><DIV
1979CLASS="REFSECT2"
1980><A
Daniel Veillarde356c282001-03-10 12:32:04 +00001981NAME="AEN11578"
Daniel Veillard503b8932001-01-05 06:36:31 +00001982></A
1983><H3
1984><A
1985NAME="XMLXPATHREGISTEREDNSCLEANUP"
1986></A
1987>xmlXPathRegisteredNsCleanup ()</H3
1988><TABLE
1989BORDER="0"
1990BGCOLOR="#D6E8FF"
1991WIDTH="100%"
1992CELLPADDING="6"
1993><TR
1994><TD
1995><PRE
1996CLASS="PROGRAMLISTING"
1997>void xmlXPathRegisteredNsCleanup (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001998HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard503b8932001-01-05 06:36:31 +00001999>xmlXPathContextPtr</A
2000> ctxt);</PRE
2001></TD
2002></TR
2003></TABLE
2004><P
2005></P
2006><DIV
2007CLASS="INFORMALTABLE"
2008><P
2009></P
2010><TABLE
2011BORDER="0"
2012WIDTH="100%"
2013BGCOLOR="#FFD0D0"
2014CELLSPACING="0"
2015CELLPADDING="4"
2016CLASS="CALSTABLE"
2017><TR
2018><TD
2019WIDTH="20%"
2020ALIGN="RIGHT"
2021VALIGN="TOP"
2022><TT
2023CLASS="PARAMETER"
2024><I
2025>ctxt</I
2026></TT
2027>&nbsp;:</TD
2028><TD
2029WIDTH="80%"
2030ALIGN="LEFT"
2031VALIGN="TOP"
2032>&#13;</TD
2033></TR
2034></TABLE
2035><P
2036></P
2037></DIV
2038></DIV
2039><HR><DIV
2040CLASS="REFSECT2"
2041><A
Daniel Veillarde356c282001-03-10 12:32:04 +00002042NAME="AEN11593"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002043></A
2044><H3
2045><A
2046NAME="XMLXPATHREGISTERFUNC"
2047></A
2048>xmlXPathRegisterFunc ()</H3
2049><TABLE
2050BORDER="0"
2051BGCOLOR="#D6E8FF"
2052WIDTH="100%"
2053CELLPADDING="6"
2054><TR
2055><TD
2056><PRE
2057CLASS="PROGRAMLISTING"
2058>int xmlXPathRegisterFunc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002059HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002060>xmlXPathContextPtr</A
2061> ctxt,
2062 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002063HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002064>xmlChar</A
2065> *name,
2066 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002067HREF="libxml-xpath.html#XMLXPATHFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002068>xmlXPathFunction</A
2069> f);</PRE
2070></TD
2071></TR
2072></TABLE
2073><P
2074>Register a new function. If <TT
2075CLASS="PARAMETER"
2076><I
2077>f</I
2078></TT
2079> is NULL it unregisters the function</P
2080><P
2081></P
2082><DIV
2083CLASS="INFORMALTABLE"
2084><P
2085></P
2086><TABLE
2087BORDER="0"
2088WIDTH="100%"
2089BGCOLOR="#FFD0D0"
2090CELLSPACING="0"
2091CELLPADDING="4"
2092CLASS="CALSTABLE"
2093><TR
2094><TD
2095WIDTH="20%"
2096ALIGN="RIGHT"
2097VALIGN="TOP"
2098><TT
2099CLASS="PARAMETER"
2100><I
2101>ctxt</I
2102></TT
2103>&nbsp;:</TD
2104><TD
2105WIDTH="80%"
2106ALIGN="LEFT"
2107VALIGN="TOP"
2108> the XPath context</TD
2109></TR
2110><TR
2111><TD
2112WIDTH="20%"
2113ALIGN="RIGHT"
2114VALIGN="TOP"
2115><TT
2116CLASS="PARAMETER"
2117><I
2118>name</I
2119></TT
2120>&nbsp;:</TD
2121><TD
2122WIDTH="80%"
2123ALIGN="LEFT"
2124VALIGN="TOP"
2125> the function name</TD
2126></TR
2127><TR
2128><TD
2129WIDTH="20%"
2130ALIGN="RIGHT"
2131VALIGN="TOP"
2132><TT
2133CLASS="PARAMETER"
2134><I
2135>f</I
2136></TT
2137>&nbsp;:</TD
2138><TD
2139WIDTH="80%"
2140ALIGN="LEFT"
2141VALIGN="TOP"
2142> the function implementation or NULL</TD
2143></TR
2144><TR
2145><TD
2146WIDTH="20%"
2147ALIGN="RIGHT"
2148VALIGN="TOP"
2149><I
2150CLASS="EMPHASIS"
2151>Returns</I
2152> :</TD
2153><TD
2154WIDTH="80%"
2155ALIGN="LEFT"
2156VALIGN="TOP"
2157>0 in case of success, -1 in case of error</TD
2158></TR
2159></TABLE
2160><P
2161></P
2162></DIV
2163></DIV
2164><HR><DIV
2165CLASS="REFSECT2"
2166><A
Daniel Veillarde356c282001-03-10 12:32:04 +00002167NAME="AEN11624"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002168></A
2169><H3
2170><A
2171NAME="XMLXPATHREGISTERFUNCNS"
2172></A
2173>xmlXPathRegisterFuncNS ()</H3
2174><TABLE
2175BORDER="0"
2176BGCOLOR="#D6E8FF"
2177WIDTH="100%"
2178CELLPADDING="6"
2179><TR
2180><TD
2181><PRE
2182CLASS="PROGRAMLISTING"
2183>int xmlXPathRegisterFuncNS (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002184HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002185>xmlXPathContextPtr</A
2186> ctxt,
2187 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002188HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002189>xmlChar</A
2190> *name,
2191 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002192HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002193>xmlChar</A
2194> *ns_uri,
2195 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002196HREF="libxml-xpath.html#XMLXPATHFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002197>xmlXPathFunction</A
2198> f);</PRE
2199></TD
2200></TR
2201></TABLE
2202><P
2203>Register a new function. If <TT
2204CLASS="PARAMETER"
2205><I
2206>f</I
2207></TT
2208> is NULL it unregisters the function</P
2209><P
2210></P
2211><DIV
2212CLASS="INFORMALTABLE"
2213><P
2214></P
2215><TABLE
2216BORDER="0"
2217WIDTH="100%"
2218BGCOLOR="#FFD0D0"
2219CELLSPACING="0"
2220CELLPADDING="4"
2221CLASS="CALSTABLE"
2222><TR
2223><TD
2224WIDTH="20%"
2225ALIGN="RIGHT"
2226VALIGN="TOP"
2227><TT
2228CLASS="PARAMETER"
2229><I
2230>ctxt</I
2231></TT
2232>&nbsp;:</TD
2233><TD
2234WIDTH="80%"
2235ALIGN="LEFT"
2236VALIGN="TOP"
2237> the XPath context</TD
2238></TR
2239><TR
2240><TD
2241WIDTH="20%"
2242ALIGN="RIGHT"
2243VALIGN="TOP"
2244><TT
2245CLASS="PARAMETER"
2246><I
2247>name</I
2248></TT
2249>&nbsp;:</TD
2250><TD
2251WIDTH="80%"
2252ALIGN="LEFT"
2253VALIGN="TOP"
2254> the function name</TD
2255></TR
2256><TR
2257><TD
2258WIDTH="20%"
2259ALIGN="RIGHT"
2260VALIGN="TOP"
2261><TT
2262CLASS="PARAMETER"
2263><I
2264>ns_uri</I
2265></TT
2266>&nbsp;:</TD
2267><TD
2268WIDTH="80%"
2269ALIGN="LEFT"
2270VALIGN="TOP"
2271> the function namespace URI</TD
2272></TR
2273><TR
2274><TD
2275WIDTH="20%"
2276ALIGN="RIGHT"
2277VALIGN="TOP"
2278><TT
2279CLASS="PARAMETER"
2280><I
2281>f</I
2282></TT
2283>&nbsp;:</TD
2284><TD
2285WIDTH="80%"
2286ALIGN="LEFT"
2287VALIGN="TOP"
2288> the function implementation or NULL</TD
2289></TR
2290><TR
2291><TD
2292WIDTH="20%"
2293ALIGN="RIGHT"
2294VALIGN="TOP"
2295><I
2296CLASS="EMPHASIS"
2297>Returns</I
2298> :</TD
2299><TD
2300WIDTH="80%"
2301ALIGN="LEFT"
2302VALIGN="TOP"
2303>0 in case of success, -1 in case of error</TD
2304></TR
2305></TABLE
2306><P
2307></P
2308></DIV
2309></DIV
2310><HR><DIV
2311CLASS="REFSECT2"
2312><A
Daniel Veillarde356c282001-03-10 12:32:04 +00002313NAME="AEN11660"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002314></A
2315><H3
2316><A
2317NAME="XMLXPATHREGISTERVARIABLE"
2318></A
2319>xmlXPathRegisterVariable ()</H3
2320><TABLE
2321BORDER="0"
2322BGCOLOR="#D6E8FF"
2323WIDTH="100%"
2324CELLPADDING="6"
2325><TR
2326><TD
2327><PRE
2328CLASS="PROGRAMLISTING"
2329>int xmlXPathRegisterVariable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002330HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002331>xmlXPathContextPtr</A
2332> ctxt,
2333 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002334HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002335>xmlChar</A
2336> *name,
2337 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002338HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002339>xmlXPathObjectPtr</A
2340> value);</PRE
2341></TD
2342></TR
2343></TABLE
2344><P
2345>Register a new variable value. If <TT
2346CLASS="PARAMETER"
2347><I
2348>value</I
2349></TT
2350> is NULL it unregisters
2351the variable</P
2352><P
2353></P
2354><DIV
2355CLASS="INFORMALTABLE"
2356><P
2357></P
2358><TABLE
2359BORDER="0"
2360WIDTH="100%"
2361BGCOLOR="#FFD0D0"
2362CELLSPACING="0"
2363CELLPADDING="4"
2364CLASS="CALSTABLE"
2365><TR
2366><TD
2367WIDTH="20%"
2368ALIGN="RIGHT"
2369VALIGN="TOP"
2370><TT
2371CLASS="PARAMETER"
2372><I
2373>ctxt</I
2374></TT
2375>&nbsp;:</TD
2376><TD
2377WIDTH="80%"
2378ALIGN="LEFT"
2379VALIGN="TOP"
2380> the XPath context</TD
2381></TR
2382><TR
2383><TD
2384WIDTH="20%"
2385ALIGN="RIGHT"
2386VALIGN="TOP"
2387><TT
2388CLASS="PARAMETER"
2389><I
2390>name</I
2391></TT
2392>&nbsp;:</TD
2393><TD
2394WIDTH="80%"
2395ALIGN="LEFT"
2396VALIGN="TOP"
2397> the variable name</TD
2398></TR
2399><TR
2400><TD
2401WIDTH="20%"
2402ALIGN="RIGHT"
2403VALIGN="TOP"
2404><TT
2405CLASS="PARAMETER"
2406><I
2407>value</I
2408></TT
2409>&nbsp;:</TD
2410><TD
2411WIDTH="80%"
2412ALIGN="LEFT"
2413VALIGN="TOP"
2414> the variable value or NULL</TD
2415></TR
2416><TR
2417><TD
2418WIDTH="20%"
2419ALIGN="RIGHT"
2420VALIGN="TOP"
2421><I
2422CLASS="EMPHASIS"
2423>Returns</I
2424> :</TD
2425><TD
2426WIDTH="80%"
2427ALIGN="LEFT"
2428VALIGN="TOP"
2429>0 in case of success, -1 in case of error</TD
2430></TR
2431></TABLE
2432><P
2433></P
2434></DIV
2435></DIV
2436><HR><DIV
2437CLASS="REFSECT2"
2438><A
Daniel Veillarde356c282001-03-10 12:32:04 +00002439NAME="AEN11691"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002440></A
2441><H3
2442><A
2443NAME="XMLXPATHREGISTERVARIABLENS"
2444></A
2445>xmlXPathRegisterVariableNS ()</H3
2446><TABLE
2447BORDER="0"
2448BGCOLOR="#D6E8FF"
2449WIDTH="100%"
2450CELLPADDING="6"
2451><TR
2452><TD
2453><PRE
2454CLASS="PROGRAMLISTING"
2455>int xmlXPathRegisterVariableNS (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002456HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002457>xmlXPathContextPtr</A
2458> ctxt,
2459 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002460HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002461>xmlChar</A
2462> *name,
2463 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002464HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002465>xmlChar</A
2466> *ns_uri,
2467 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002468HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002469>xmlXPathObjectPtr</A
2470> value);</PRE
2471></TD
2472></TR
2473></TABLE
2474><P
2475>Register a new variable value. If <TT
2476CLASS="PARAMETER"
2477><I
2478>value</I
2479></TT
2480> is NULL it unregisters
2481the variable</P
2482><P
2483></P
2484><DIV
2485CLASS="INFORMALTABLE"
2486><P
2487></P
2488><TABLE
2489BORDER="0"
2490WIDTH="100%"
2491BGCOLOR="#FFD0D0"
2492CELLSPACING="0"
2493CELLPADDING="4"
2494CLASS="CALSTABLE"
2495><TR
2496><TD
2497WIDTH="20%"
2498ALIGN="RIGHT"
2499VALIGN="TOP"
2500><TT
2501CLASS="PARAMETER"
2502><I
2503>ctxt</I
2504></TT
2505>&nbsp;:</TD
2506><TD
2507WIDTH="80%"
2508ALIGN="LEFT"
2509VALIGN="TOP"
2510> the XPath context</TD
2511></TR
2512><TR
2513><TD
2514WIDTH="20%"
2515ALIGN="RIGHT"
2516VALIGN="TOP"
2517><TT
2518CLASS="PARAMETER"
2519><I
2520>name</I
2521></TT
2522>&nbsp;:</TD
2523><TD
2524WIDTH="80%"
2525ALIGN="LEFT"
2526VALIGN="TOP"
2527> the variable name</TD
2528></TR
2529><TR
2530><TD
2531WIDTH="20%"
2532ALIGN="RIGHT"
2533VALIGN="TOP"
2534><TT
2535CLASS="PARAMETER"
2536><I
2537>ns_uri</I
2538></TT
2539>&nbsp;:</TD
2540><TD
2541WIDTH="80%"
2542ALIGN="LEFT"
2543VALIGN="TOP"
2544> the variable namespace URI</TD
2545></TR
2546><TR
2547><TD
2548WIDTH="20%"
2549ALIGN="RIGHT"
2550VALIGN="TOP"
2551><TT
2552CLASS="PARAMETER"
2553><I
2554>value</I
2555></TT
2556>&nbsp;:</TD
2557><TD
2558WIDTH="80%"
2559ALIGN="LEFT"
2560VALIGN="TOP"
2561> the variable value or NULL</TD
2562></TR
2563><TR
2564><TD
2565WIDTH="20%"
2566ALIGN="RIGHT"
2567VALIGN="TOP"
2568><I
2569CLASS="EMPHASIS"
2570>Returns</I
2571> :</TD
2572><TD
2573WIDTH="80%"
2574ALIGN="LEFT"
2575VALIGN="TOP"
2576>0 in case of success, -1 in case of error</TD
2577></TR
2578></TABLE
2579><P
2580></P
2581></DIV
2582></DIV
2583><HR><DIV
2584CLASS="REFSECT2"
2585><A
Daniel Veillarde356c282001-03-10 12:32:04 +00002586NAME="AEN11727"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002587></A
2588><H3
2589><A
2590NAME="XMLXPATHFUNCTIONLOOKUP"
2591></A
2592>xmlXPathFunctionLookup ()</H3
2593><TABLE
2594BORDER="0"
2595BGCOLOR="#D6E8FF"
2596WIDTH="100%"
2597CELLPADDING="6"
2598><TR
2599><TD
2600><PRE
2601CLASS="PROGRAMLISTING"
2602><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002603HREF="libxml-xpath.html#XMLXPATHFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002604>xmlXPathFunction</A
2605> xmlXPathFunctionLookup (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002606HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002607>xmlXPathContextPtr</A
2608> ctxt,
2609 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002610HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002611>xmlChar</A
2612> *name);</PRE
2613></TD
2614></TR
2615></TABLE
2616><P
2617>Search in the Function array of the context for the given
2618function.</P
2619><P
2620></P
2621><DIV
2622CLASS="INFORMALTABLE"
2623><P
2624></P
2625><TABLE
2626BORDER="0"
2627WIDTH="100%"
2628BGCOLOR="#FFD0D0"
2629CELLSPACING="0"
2630CELLPADDING="4"
2631CLASS="CALSTABLE"
2632><TR
2633><TD
2634WIDTH="20%"
2635ALIGN="RIGHT"
2636VALIGN="TOP"
2637><TT
2638CLASS="PARAMETER"
2639><I
2640>ctxt</I
2641></TT
2642>&nbsp;:</TD
2643><TD
2644WIDTH="80%"
2645ALIGN="LEFT"
2646VALIGN="TOP"
2647> the XPath context</TD
2648></TR
2649><TR
2650><TD
2651WIDTH="20%"
2652ALIGN="RIGHT"
2653VALIGN="TOP"
2654><TT
2655CLASS="PARAMETER"
2656><I
2657>name</I
2658></TT
2659>&nbsp;:</TD
2660><TD
2661WIDTH="80%"
2662ALIGN="LEFT"
2663VALIGN="TOP"
2664> the function name</TD
2665></TR
2666><TR
2667><TD
2668WIDTH="20%"
2669ALIGN="RIGHT"
2670VALIGN="TOP"
2671><I
2672CLASS="EMPHASIS"
2673>Returns</I
2674> :</TD
2675><TD
2676WIDTH="80%"
2677ALIGN="LEFT"
2678VALIGN="TOP"
2679>the xmlXPathFunction or NULL if not found</TD
2680></TR
2681></TABLE
2682><P
2683></P
2684></DIV
2685></DIV
2686><HR><DIV
2687CLASS="REFSECT2"
2688><A
Daniel Veillarde356c282001-03-10 12:32:04 +00002689NAME="AEN11753"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002690></A
2691><H3
2692><A
2693NAME="XMLXPATHFUNCTIONLOOKUPNS"
2694></A
2695>xmlXPathFunctionLookupNS ()</H3
2696><TABLE
2697BORDER="0"
2698BGCOLOR="#D6E8FF"
2699WIDTH="100%"
2700CELLPADDING="6"
2701><TR
2702><TD
2703><PRE
2704CLASS="PROGRAMLISTING"
2705><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002706HREF="libxml-xpath.html#XMLXPATHFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002707>xmlXPathFunction</A
2708> xmlXPathFunctionLookupNS (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002709HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002710>xmlXPathContextPtr</A
2711> ctxt,
2712 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002713HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002714>xmlChar</A
2715> *name,
2716 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002717HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002718>xmlChar</A
2719> *ns_uri);</PRE
2720></TD
2721></TR
2722></TABLE
2723><P
2724>Search in the Function array of the context for the given
2725function.</P
2726><P
2727></P
2728><DIV
2729CLASS="INFORMALTABLE"
2730><P
2731></P
2732><TABLE
2733BORDER="0"
2734WIDTH="100%"
2735BGCOLOR="#FFD0D0"
2736CELLSPACING="0"
2737CELLPADDING="4"
2738CLASS="CALSTABLE"
2739><TR
2740><TD
2741WIDTH="20%"
2742ALIGN="RIGHT"
2743VALIGN="TOP"
2744><TT
2745CLASS="PARAMETER"
2746><I
2747>ctxt</I
2748></TT
2749>&nbsp;:</TD
2750><TD
2751WIDTH="80%"
2752ALIGN="LEFT"
2753VALIGN="TOP"
2754> the XPath context</TD
2755></TR
2756><TR
2757><TD
2758WIDTH="20%"
2759ALIGN="RIGHT"
2760VALIGN="TOP"
2761><TT
2762CLASS="PARAMETER"
2763><I
2764>name</I
2765></TT
2766>&nbsp;:</TD
2767><TD
2768WIDTH="80%"
2769ALIGN="LEFT"
2770VALIGN="TOP"
2771> the function name</TD
2772></TR
2773><TR
2774><TD
2775WIDTH="20%"
2776ALIGN="RIGHT"
2777VALIGN="TOP"
2778><TT
2779CLASS="PARAMETER"
2780><I
2781>ns_uri</I
2782></TT
2783>&nbsp;:</TD
2784><TD
2785WIDTH="80%"
2786ALIGN="LEFT"
2787VALIGN="TOP"
2788> the function namespace URI</TD
2789></TR
2790><TR
2791><TD
2792WIDTH="20%"
2793ALIGN="RIGHT"
2794VALIGN="TOP"
2795><I
2796CLASS="EMPHASIS"
2797>Returns</I
2798> :</TD
2799><TD
2800WIDTH="80%"
2801ALIGN="LEFT"
2802VALIGN="TOP"
2803>the xmlXPathFunction or NULL if not found</TD
2804></TR
2805></TABLE
2806><P
2807></P
2808></DIV
2809></DIV
2810><HR><DIV
2811CLASS="REFSECT2"
2812><A
Daniel Veillarde356c282001-03-10 12:32:04 +00002813NAME="AEN11784"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002814></A
2815><H3
2816><A
2817NAME="XMLXPATHREGISTEREDFUNCSCLEANUP"
2818></A
2819>xmlXPathRegisteredFuncsCleanup ()</H3
2820><TABLE
2821BORDER="0"
2822BGCOLOR="#D6E8FF"
2823WIDTH="100%"
2824CELLPADDING="6"
2825><TR
2826><TD
2827><PRE
2828CLASS="PROGRAMLISTING"
2829>void xmlXPathRegisteredFuncsCleanup (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002830HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002831>xmlXPathContextPtr</A
2832> ctxt);</PRE
2833></TD
2834></TR
2835></TABLE
2836><P
2837>Cleanup the XPath context data associated to registered functions</P
2838><P
2839></P
2840><DIV
2841CLASS="INFORMALTABLE"
2842><P
2843></P
2844><TABLE
2845BORDER="0"
2846WIDTH="100%"
2847BGCOLOR="#FFD0D0"
2848CELLSPACING="0"
2849CELLPADDING="4"
2850CLASS="CALSTABLE"
2851><TR
2852><TD
2853WIDTH="20%"
2854ALIGN="RIGHT"
2855VALIGN="TOP"
2856><TT
2857CLASS="PARAMETER"
2858><I
2859>ctxt</I
2860></TT
2861>&nbsp;:</TD
2862><TD
2863WIDTH="80%"
2864ALIGN="LEFT"
2865VALIGN="TOP"
2866> the XPath context</TD
2867></TR
2868></TABLE
2869><P
2870></P
2871></DIV
2872></DIV
2873><HR><DIV
2874CLASS="REFSECT2"
2875><A
Daniel Veillarde356c282001-03-10 12:32:04 +00002876NAME="AEN11800"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002877></A
2878><H3
2879><A
2880NAME="XMLXPATHVARIABLELOOKUP"
2881></A
2882>xmlXPathVariableLookup ()</H3
2883><TABLE
2884BORDER="0"
2885BGCOLOR="#D6E8FF"
2886WIDTH="100%"
2887CELLPADDING="6"
2888><TR
2889><TD
2890><PRE
2891CLASS="PROGRAMLISTING"
2892><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002893HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002894>xmlXPathObjectPtr</A
2895> xmlXPathVariableLookup (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002896HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002897>xmlXPathContextPtr</A
2898> ctxt,
2899 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002900HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002901>xmlChar</A
2902> *name);</PRE
2903></TD
2904></TR
2905></TABLE
2906><P
2907>Search in the Variable array of the context for the given
2908variable value.</P
2909><P
2910></P
2911><DIV
2912CLASS="INFORMALTABLE"
2913><P
2914></P
2915><TABLE
2916BORDER="0"
2917WIDTH="100%"
2918BGCOLOR="#FFD0D0"
2919CELLSPACING="0"
2920CELLPADDING="4"
2921CLASS="CALSTABLE"
2922><TR
2923><TD
2924WIDTH="20%"
2925ALIGN="RIGHT"
2926VALIGN="TOP"
2927><TT
2928CLASS="PARAMETER"
2929><I
2930>ctxt</I
2931></TT
2932>&nbsp;:</TD
2933><TD
2934WIDTH="80%"
2935ALIGN="LEFT"
2936VALIGN="TOP"
2937> the XPath context</TD
2938></TR
2939><TR
2940><TD
2941WIDTH="20%"
2942ALIGN="RIGHT"
2943VALIGN="TOP"
2944><TT
2945CLASS="PARAMETER"
2946><I
2947>name</I
2948></TT
2949>&nbsp;:</TD
2950><TD
2951WIDTH="80%"
2952ALIGN="LEFT"
2953VALIGN="TOP"
2954> the variable name</TD
2955></TR
2956><TR
2957><TD
2958WIDTH="20%"
2959ALIGN="RIGHT"
2960VALIGN="TOP"
2961><I
2962CLASS="EMPHASIS"
2963>Returns</I
2964> :</TD
2965><TD
2966WIDTH="80%"
2967ALIGN="LEFT"
2968VALIGN="TOP"
2969>the value or NULL if not found</TD
2970></TR
2971></TABLE
2972><P
2973></P
2974></DIV
2975></DIV
2976><HR><DIV
2977CLASS="REFSECT2"
2978><A
Daniel Veillarde356c282001-03-10 12:32:04 +00002979NAME="AEN11826"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002980></A
2981><H3
2982><A
2983NAME="XMLXPATHVARIABLELOOKUPNS"
2984></A
2985>xmlXPathVariableLookupNS ()</H3
2986><TABLE
2987BORDER="0"
2988BGCOLOR="#D6E8FF"
2989WIDTH="100%"
2990CELLPADDING="6"
2991><TR
2992><TD
2993><PRE
2994CLASS="PROGRAMLISTING"
2995><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002996HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002997>xmlXPathObjectPtr</A
2998> xmlXPathVariableLookupNS (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002999HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003000>xmlXPathContextPtr</A
3001> ctxt,
3002 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003003HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003004>xmlChar</A
3005> *name,
3006 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003007HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003008>xmlChar</A
3009> *ns_uri);</PRE
3010></TD
3011></TR
3012></TABLE
3013><P
3014>Search in the Variable array of the context for the given
3015variable value.</P
3016><P
3017></P
3018><DIV
3019CLASS="INFORMALTABLE"
3020><P
3021></P
3022><TABLE
3023BORDER="0"
3024WIDTH="100%"
3025BGCOLOR="#FFD0D0"
3026CELLSPACING="0"
3027CELLPADDING="4"
3028CLASS="CALSTABLE"
3029><TR
3030><TD
3031WIDTH="20%"
3032ALIGN="RIGHT"
3033VALIGN="TOP"
3034><TT
3035CLASS="PARAMETER"
3036><I
3037>ctxt</I
3038></TT
3039>&nbsp;:</TD
3040><TD
3041WIDTH="80%"
3042ALIGN="LEFT"
3043VALIGN="TOP"
3044> the XPath context</TD
3045></TR
3046><TR
3047><TD
3048WIDTH="20%"
3049ALIGN="RIGHT"
3050VALIGN="TOP"
3051><TT
3052CLASS="PARAMETER"
3053><I
3054>name</I
3055></TT
3056>&nbsp;:</TD
3057><TD
3058WIDTH="80%"
3059ALIGN="LEFT"
3060VALIGN="TOP"
3061> the variable name</TD
3062></TR
3063><TR
3064><TD
3065WIDTH="20%"
3066ALIGN="RIGHT"
3067VALIGN="TOP"
3068><TT
3069CLASS="PARAMETER"
3070><I
3071>ns_uri</I
3072></TT
3073>&nbsp;:</TD
3074><TD
3075WIDTH="80%"
3076ALIGN="LEFT"
3077VALIGN="TOP"
3078> the variable namespace URI</TD
3079></TR
3080><TR
3081><TD
3082WIDTH="20%"
3083ALIGN="RIGHT"
3084VALIGN="TOP"
3085><I
3086CLASS="EMPHASIS"
3087>Returns</I
3088> :</TD
3089><TD
3090WIDTH="80%"
3091ALIGN="LEFT"
3092VALIGN="TOP"
3093>the value or NULL if not found</TD
3094></TR
3095></TABLE
3096><P
3097></P
3098></DIV
3099></DIV
3100><HR><DIV
3101CLASS="REFSECT2"
3102><A
Daniel Veillarde356c282001-03-10 12:32:04 +00003103NAME="AEN11857"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003104></A
3105><H3
3106><A
3107NAME="XMLXPATHREGISTEREDVARIABLESCLEANUP"
3108></A
3109>xmlXPathRegisteredVariablesCleanup ()</H3
3110><TABLE
3111BORDER="0"
3112BGCOLOR="#D6E8FF"
3113WIDTH="100%"
3114CELLPADDING="6"
3115><TR
3116><TD
3117><PRE
3118CLASS="PROGRAMLISTING"
3119>void xmlXPathRegisteredVariablesCleanup
3120 (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003121HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003122>xmlXPathContextPtr</A
3123> ctxt);</PRE
3124></TD
3125></TR
3126></TABLE
3127><P
3128>Cleanup the XPath context data associated to registered variables</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>ctxt</I
3151></TT
3152>&nbsp;:</TD
3153><TD
3154WIDTH="80%"
3155ALIGN="LEFT"
3156VALIGN="TOP"
3157> the XPath context</TD
3158></TR
3159></TABLE
3160><P
3161></P
3162></DIV
3163></DIV
3164><HR><DIV
3165CLASS="REFSECT2"
3166><A
Daniel Veillarde356c282001-03-10 12:32:04 +00003167NAME="AEN11873"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003168></A
3169><H3
3170><A
3171NAME="XMLXPATHNEWPARSERCONTEXT"
3172></A
3173>xmlXPathNewParserContext ()</H3
3174><TABLE
3175BORDER="0"
3176BGCOLOR="#D6E8FF"
3177WIDTH="100%"
3178CELLPADDING="6"
3179><TR
3180><TD
3181><PRE
3182CLASS="PROGRAMLISTING"
3183><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003184HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003185>xmlXPathParserContextPtr</A
3186> xmlXPathNewParserContext
3187 (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003188HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003189>xmlChar</A
3190> *str,
3191 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003192HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003193>xmlXPathContextPtr</A
3194> ctxt);</PRE
3195></TD
3196></TR
3197></TABLE
3198><P
3199>Create a new xmlXPathParserContext</P
3200><P
3201></P
3202><DIV
3203CLASS="INFORMALTABLE"
3204><P
3205></P
3206><TABLE
3207BORDER="0"
3208WIDTH="100%"
3209BGCOLOR="#FFD0D0"
3210CELLSPACING="0"
3211CELLPADDING="4"
3212CLASS="CALSTABLE"
3213><TR
3214><TD
3215WIDTH="20%"
3216ALIGN="RIGHT"
3217VALIGN="TOP"
3218><TT
3219CLASS="PARAMETER"
3220><I
3221>str</I
3222></TT
3223>&nbsp;:</TD
3224><TD
3225WIDTH="80%"
3226ALIGN="LEFT"
3227VALIGN="TOP"
3228> the XPath expression</TD
3229></TR
3230><TR
3231><TD
3232WIDTH="20%"
3233ALIGN="RIGHT"
3234VALIGN="TOP"
3235><TT
3236CLASS="PARAMETER"
3237><I
3238>ctxt</I
3239></TT
3240>&nbsp;:</TD
3241><TD
3242WIDTH="80%"
3243ALIGN="LEFT"
3244VALIGN="TOP"
3245> the XPath context</TD
3246></TR
3247><TR
3248><TD
3249WIDTH="20%"
3250ALIGN="RIGHT"
3251VALIGN="TOP"
3252><I
3253CLASS="EMPHASIS"
3254>Returns</I
3255> :</TD
3256><TD
3257WIDTH="80%"
3258ALIGN="LEFT"
3259VALIGN="TOP"
3260>the xmlXPathParserContext just allocated.</TD
3261></TR
3262></TABLE
3263><P
3264></P
3265></DIV
3266></DIV
3267><HR><DIV
3268CLASS="REFSECT2"
3269><A
Daniel Veillarde356c282001-03-10 12:32:04 +00003270NAME="AEN11899"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003271></A
3272><H3
3273><A
3274NAME="XMLXPATHFREEPARSERCONTEXT"
3275></A
3276>xmlXPathFreeParserContext ()</H3
3277><TABLE
3278BORDER="0"
3279BGCOLOR="#D6E8FF"
3280WIDTH="100%"
3281CELLPADDING="6"
3282><TR
3283><TD
3284><PRE
3285CLASS="PROGRAMLISTING"
3286>void xmlXPathFreeParserContext (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003287HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003288>xmlXPathParserContextPtr</A
3289> ctxt);</PRE
3290></TD
3291></TR
3292></TABLE
3293><P
3294>Free up an xmlXPathParserContext</P
3295><P
3296></P
3297><DIV
3298CLASS="INFORMALTABLE"
3299><P
3300></P
3301><TABLE
3302BORDER="0"
3303WIDTH="100%"
3304BGCOLOR="#FFD0D0"
3305CELLSPACING="0"
3306CELLPADDING="4"
3307CLASS="CALSTABLE"
3308><TR
3309><TD
3310WIDTH="20%"
3311ALIGN="RIGHT"
3312VALIGN="TOP"
3313><TT
3314CLASS="PARAMETER"
3315><I
3316>ctxt</I
3317></TT
3318>&nbsp;:</TD
3319><TD
3320WIDTH="80%"
3321ALIGN="LEFT"
3322VALIGN="TOP"
3323> the context to free</TD
3324></TR
3325></TABLE
3326><P
3327></P
3328></DIV
3329></DIV
3330><HR><DIV
3331CLASS="REFSECT2"
3332><A
Daniel Veillarde356c282001-03-10 12:32:04 +00003333NAME="AEN11915"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003334></A
3335><H3
3336><A
3337NAME="VALUEPOP"
3338></A
3339>valuePop ()</H3
3340><TABLE
3341BORDER="0"
3342BGCOLOR="#D6E8FF"
3343WIDTH="100%"
3344CELLPADDING="6"
3345><TR
3346><TD
3347><PRE
3348CLASS="PROGRAMLISTING"
3349><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003350HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003351>xmlXPathObjectPtr</A
3352> valuePop (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003353HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003354>xmlXPathParserContextPtr</A
3355> ctxt);</PRE
3356></TD
3357></TR
3358></TABLE
3359><P
3360></P
3361><DIV
3362CLASS="INFORMALTABLE"
3363><P
3364></P
3365><TABLE
3366BORDER="0"
3367WIDTH="100%"
3368BGCOLOR="#FFD0D0"
3369CELLSPACING="0"
3370CELLPADDING="4"
3371CLASS="CALSTABLE"
3372><TR
3373><TD
3374WIDTH="20%"
3375ALIGN="RIGHT"
3376VALIGN="TOP"
3377><TT
3378CLASS="PARAMETER"
3379><I
3380>ctxt</I
3381></TT
3382>&nbsp;:</TD
3383><TD
3384WIDTH="80%"
3385ALIGN="LEFT"
3386VALIGN="TOP"
3387>&nbsp;</TD
3388></TR
3389><TR
3390><TD
3391WIDTH="20%"
3392ALIGN="RIGHT"
3393VALIGN="TOP"
3394><I
3395CLASS="EMPHASIS"
3396>Returns</I
3397> :</TD
3398><TD
3399WIDTH="80%"
3400ALIGN="LEFT"
3401VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00003402>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003403></TR
3404></TABLE
3405><P
3406></P
3407></DIV
3408></DIV
3409><HR><DIV
3410CLASS="REFSECT2"
3411><A
Daniel Veillarde356c282001-03-10 12:32:04 +00003412NAME="AEN11935"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003413></A
3414><H3
3415><A
3416NAME="VALUEPUSH"
3417></A
3418>valuePush ()</H3
3419><TABLE
3420BORDER="0"
3421BGCOLOR="#D6E8FF"
3422WIDTH="100%"
3423CELLPADDING="6"
3424><TR
3425><TD
3426><PRE
3427CLASS="PROGRAMLISTING"
3428>int valuePush (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003429HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003430>xmlXPathParserContextPtr</A
3431> ctxt,
3432 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003433HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003434>xmlXPathObjectPtr</A
3435> value);</PRE
3436></TD
3437></TR
3438></TABLE
3439><P
3440></P
3441><DIV
3442CLASS="INFORMALTABLE"
3443><P
3444></P
3445><TABLE
3446BORDER="0"
3447WIDTH="100%"
3448BGCOLOR="#FFD0D0"
3449CELLSPACING="0"
3450CELLPADDING="4"
3451CLASS="CALSTABLE"
3452><TR
3453><TD
3454WIDTH="20%"
3455ALIGN="RIGHT"
3456VALIGN="TOP"
3457><TT
3458CLASS="PARAMETER"
3459><I
3460>ctxt</I
3461></TT
3462>&nbsp;:</TD
3463><TD
3464WIDTH="80%"
3465ALIGN="LEFT"
3466VALIGN="TOP"
3467>&nbsp;</TD
3468></TR
3469><TR
3470><TD
3471WIDTH="20%"
3472ALIGN="RIGHT"
3473VALIGN="TOP"
3474><TT
3475CLASS="PARAMETER"
3476><I
3477>value</I
3478></TT
3479>&nbsp;:</TD
3480><TD
3481WIDTH="80%"
3482ALIGN="LEFT"
3483VALIGN="TOP"
3484>&nbsp;</TD
3485></TR
3486><TR
3487><TD
3488WIDTH="20%"
3489ALIGN="RIGHT"
3490VALIGN="TOP"
3491><I
3492CLASS="EMPHASIS"
3493>Returns</I
3494> :</TD
3495><TD
3496WIDTH="80%"
3497ALIGN="LEFT"
3498VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00003499>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003500></TR
3501></TABLE
3502><P
3503></P
3504></DIV
3505></DIV
3506><HR><DIV
3507CLASS="REFSECT2"
3508><A
Daniel Veillarde356c282001-03-10 12:32:04 +00003509NAME="AEN11959"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003510></A
3511><H3
3512><A
3513NAME="XMLXPATHNEWSTRING"
3514></A
3515>xmlXPathNewString ()</H3
3516><TABLE
3517BORDER="0"
3518BGCOLOR="#D6E8FF"
3519WIDTH="100%"
3520CELLPADDING="6"
3521><TR
3522><TD
3523><PRE
3524CLASS="PROGRAMLISTING"
3525><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003526HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003527>xmlXPathObjectPtr</A
3528> xmlXPathNewString (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003529HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003530>xmlChar</A
3531> *val);</PRE
3532></TD
3533></TR
3534></TABLE
3535><P
3536>Create a new xmlXPathObjectPtr of type string and of value <TT
3537CLASS="PARAMETER"
3538><I
3539>val</I
3540></TT
3541></P
3542><P
3543></P
3544><DIV
3545CLASS="INFORMALTABLE"
3546><P
3547></P
3548><TABLE
3549BORDER="0"
3550WIDTH="100%"
3551BGCOLOR="#FFD0D0"
3552CELLSPACING="0"
3553CELLPADDING="4"
3554CLASS="CALSTABLE"
3555><TR
3556><TD
3557WIDTH="20%"
3558ALIGN="RIGHT"
3559VALIGN="TOP"
3560><TT
3561CLASS="PARAMETER"
3562><I
3563>val</I
3564></TT
3565>&nbsp;:</TD
3566><TD
3567WIDTH="80%"
3568ALIGN="LEFT"
3569VALIGN="TOP"
3570> the xmlChar * value</TD
3571></TR
3572><TR
3573><TD
3574WIDTH="20%"
3575ALIGN="RIGHT"
3576VALIGN="TOP"
3577><I
3578CLASS="EMPHASIS"
3579>Returns</I
3580> :</TD
3581><TD
3582WIDTH="80%"
3583ALIGN="LEFT"
3584VALIGN="TOP"
3585>the newly created object.</TD
3586></TR
3587></TABLE
3588><P
3589></P
3590></DIV
3591></DIV
3592><HR><DIV
3593CLASS="REFSECT2"
3594><A
Daniel Veillarde356c282001-03-10 12:32:04 +00003595NAME="AEN11981"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003596></A
3597><H3
3598><A
3599NAME="XMLXPATHNEWCSTRING"
3600></A
3601>xmlXPathNewCString ()</H3
3602><TABLE
3603BORDER="0"
3604BGCOLOR="#D6E8FF"
3605WIDTH="100%"
3606CELLPADDING="6"
3607><TR
3608><TD
3609><PRE
3610CLASS="PROGRAMLISTING"
3611><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003612HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003613>xmlXPathObjectPtr</A
3614> xmlXPathNewCString (const char *val);</PRE
3615></TD
3616></TR
3617></TABLE
3618><P
3619>Create a new xmlXPathObjectPtr of type string and of value <TT
3620CLASS="PARAMETER"
3621><I
3622>val</I
3623></TT
3624></P
3625><P
3626></P
3627><DIV
3628CLASS="INFORMALTABLE"
3629><P
3630></P
3631><TABLE
3632BORDER="0"
3633WIDTH="100%"
3634BGCOLOR="#FFD0D0"
3635CELLSPACING="0"
3636CELLPADDING="4"
3637CLASS="CALSTABLE"
3638><TR
3639><TD
3640WIDTH="20%"
3641ALIGN="RIGHT"
3642VALIGN="TOP"
3643><TT
3644CLASS="PARAMETER"
3645><I
3646>val</I
3647></TT
3648>&nbsp;:</TD
3649><TD
3650WIDTH="80%"
3651ALIGN="LEFT"
3652VALIGN="TOP"
3653> the char * value</TD
3654></TR
3655><TR
3656><TD
3657WIDTH="20%"
3658ALIGN="RIGHT"
3659VALIGN="TOP"
3660><I
3661CLASS="EMPHASIS"
3662>Returns</I
3663> :</TD
3664><TD
3665WIDTH="80%"
3666ALIGN="LEFT"
3667VALIGN="TOP"
3668>the newly created object.</TD
3669></TR
3670></TABLE
3671><P
3672></P
3673></DIV
3674></DIV
3675><HR><DIV
3676CLASS="REFSECT2"
3677><A
Daniel Veillarde356c282001-03-10 12:32:04 +00003678NAME="AEN12002"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003679></A
3680><H3
3681><A
3682NAME="XMLXPATHNEWFLOAT"
3683></A
3684>xmlXPathNewFloat ()</H3
3685><TABLE
3686BORDER="0"
3687BGCOLOR="#D6E8FF"
3688WIDTH="100%"
3689CELLPADDING="6"
3690><TR
3691><TD
3692><PRE
3693CLASS="PROGRAMLISTING"
3694><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003695HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003696>xmlXPathObjectPtr</A
3697> xmlXPathNewFloat (<GTKDOCLINK
3698HREF="DOUBLE"
3699>double</GTKDOCLINK
3700> val);</PRE
3701></TD
3702></TR
3703></TABLE
3704><P
3705>Create a new xmlXPathObjectPtr of type double and of value <TT
3706CLASS="PARAMETER"
3707><I
3708>val</I
3709></TT
3710></P
3711><P
3712></P
3713><DIV
3714CLASS="INFORMALTABLE"
3715><P
3716></P
3717><TABLE
3718BORDER="0"
3719WIDTH="100%"
3720BGCOLOR="#FFD0D0"
3721CELLSPACING="0"
3722CELLPADDING="4"
3723CLASS="CALSTABLE"
3724><TR
3725><TD
3726WIDTH="20%"
3727ALIGN="RIGHT"
3728VALIGN="TOP"
3729><TT
3730CLASS="PARAMETER"
3731><I
3732>val</I
3733></TT
3734>&nbsp;:</TD
3735><TD
3736WIDTH="80%"
3737ALIGN="LEFT"
3738VALIGN="TOP"
3739> the double value</TD
3740></TR
3741><TR
3742><TD
3743WIDTH="20%"
3744ALIGN="RIGHT"
3745VALIGN="TOP"
3746><I
3747CLASS="EMPHASIS"
3748>Returns</I
3749> :</TD
3750><TD
3751WIDTH="80%"
3752ALIGN="LEFT"
3753VALIGN="TOP"
3754>the newly created object.</TD
3755></TR
3756></TABLE
3757><P
3758></P
3759></DIV
3760></DIV
3761><HR><DIV
3762CLASS="REFSECT2"
3763><A
Daniel Veillarde356c282001-03-10 12:32:04 +00003764NAME="AEN12024"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003765></A
3766><H3
3767><A
3768NAME="XMLXPATHNEWBOOLEAN"
3769></A
3770>xmlXPathNewBoolean ()</H3
3771><TABLE
3772BORDER="0"
3773BGCOLOR="#D6E8FF"
3774WIDTH="100%"
3775CELLPADDING="6"
3776><TR
3777><TD
3778><PRE
3779CLASS="PROGRAMLISTING"
3780><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003781HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003782>xmlXPathObjectPtr</A
3783> xmlXPathNewBoolean (int val);</PRE
3784></TD
3785></TR
3786></TABLE
3787><P
3788>Create a new xmlXPathObjectPtr of type boolean and of value <TT
3789CLASS="PARAMETER"
3790><I
3791>val</I
3792></TT
3793></P
3794><P
3795></P
3796><DIV
3797CLASS="INFORMALTABLE"
3798><P
3799></P
3800><TABLE
3801BORDER="0"
3802WIDTH="100%"
3803BGCOLOR="#FFD0D0"
3804CELLSPACING="0"
3805CELLPADDING="4"
3806CLASS="CALSTABLE"
3807><TR
3808><TD
3809WIDTH="20%"
3810ALIGN="RIGHT"
3811VALIGN="TOP"
3812><TT
3813CLASS="PARAMETER"
3814><I
3815>val</I
3816></TT
3817>&nbsp;:</TD
3818><TD
3819WIDTH="80%"
3820ALIGN="LEFT"
3821VALIGN="TOP"
3822> the boolean value</TD
3823></TR
3824><TR
3825><TD
3826WIDTH="20%"
3827ALIGN="RIGHT"
3828VALIGN="TOP"
3829><I
3830CLASS="EMPHASIS"
3831>Returns</I
3832> :</TD
3833><TD
3834WIDTH="80%"
3835ALIGN="LEFT"
3836VALIGN="TOP"
3837>the newly created object.</TD
3838></TR
3839></TABLE
3840><P
3841></P
3842></DIV
3843></DIV
3844><HR><DIV
3845CLASS="REFSECT2"
3846><A
Daniel Veillarde356c282001-03-10 12:32:04 +00003847NAME="AEN12045"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003848></A
3849><H3
3850><A
3851NAME="XMLXPATHNEWNODESET"
3852></A
3853>xmlXPathNewNodeSet ()</H3
3854><TABLE
3855BORDER="0"
3856BGCOLOR="#D6E8FF"
3857WIDTH="100%"
3858CELLPADDING="6"
3859><TR
3860><TD
3861><PRE
3862CLASS="PROGRAMLISTING"
3863><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003864HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003865>xmlXPathObjectPtr</A
3866> xmlXPathNewNodeSet (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003867HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003868>xmlNodePtr</A
3869> val);</PRE
3870></TD
3871></TR
3872></TABLE
3873><P
3874>Create a new xmlXPathObjectPtr of type NodeSet and initialize
3875it with the single Node <TT
3876CLASS="PARAMETER"
3877><I
3878>val</I
3879></TT
3880></P
3881><P
3882></P
3883><DIV
3884CLASS="INFORMALTABLE"
3885><P
3886></P
3887><TABLE
3888BORDER="0"
3889WIDTH="100%"
3890BGCOLOR="#FFD0D0"
3891CELLSPACING="0"
3892CELLPADDING="4"
3893CLASS="CALSTABLE"
3894><TR
3895><TD
3896WIDTH="20%"
3897ALIGN="RIGHT"
3898VALIGN="TOP"
3899><TT
3900CLASS="PARAMETER"
3901><I
3902>val</I
3903></TT
3904>&nbsp;:</TD
3905><TD
3906WIDTH="80%"
3907ALIGN="LEFT"
3908VALIGN="TOP"
3909> the NodePtr value</TD
3910></TR
3911><TR
3912><TD
3913WIDTH="20%"
3914ALIGN="RIGHT"
3915VALIGN="TOP"
3916><I
3917CLASS="EMPHASIS"
3918>Returns</I
3919> :</TD
3920><TD
3921WIDTH="80%"
3922ALIGN="LEFT"
3923VALIGN="TOP"
3924>the newly created object.</TD
3925></TR
3926></TABLE
3927><P
3928></P
3929></DIV
3930></DIV
3931><HR><DIV
3932CLASS="REFSECT2"
3933><A
Daniel Veillarde356c282001-03-10 12:32:04 +00003934NAME="AEN12067"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003935></A
3936><H3
3937><A
3938NAME="XMLXPATHNEWVALUETREE"
3939></A
3940>xmlXPathNewValueTree ()</H3
3941><TABLE
3942BORDER="0"
3943BGCOLOR="#D6E8FF"
3944WIDTH="100%"
3945CELLPADDING="6"
3946><TR
3947><TD
3948><PRE
3949CLASS="PROGRAMLISTING"
3950><A
3951HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
3952>xmlXPathObjectPtr</A
3953> xmlXPathNewValueTree (<A
3954HREF="libxml-tree.html#XMLNODEPTR"
3955>xmlNodePtr</A
3956> val);</PRE
3957></TD
3958></TR
3959></TABLE
3960><P
3961>Create a new xmlXPathObjectPtr of type Value Tree (XSLT) and initialize
3962it with the tree root <TT
3963CLASS="PARAMETER"
3964><I
3965>val</I
3966></TT
3967></P
3968><P
3969></P
3970><DIV
3971CLASS="INFORMALTABLE"
3972><P
3973></P
3974><TABLE
3975BORDER="0"
3976WIDTH="100%"
3977BGCOLOR="#FFD0D0"
3978CELLSPACING="0"
3979CELLPADDING="4"
3980CLASS="CALSTABLE"
3981><TR
3982><TD
3983WIDTH="20%"
3984ALIGN="RIGHT"
3985VALIGN="TOP"
3986><TT
3987CLASS="PARAMETER"
3988><I
3989>val</I
3990></TT
3991>&nbsp;:</TD
3992><TD
3993WIDTH="80%"
3994ALIGN="LEFT"
3995VALIGN="TOP"
3996> the NodePtr value</TD
3997></TR
3998><TR
3999><TD
4000WIDTH="20%"
4001ALIGN="RIGHT"
4002VALIGN="TOP"
4003><I
4004CLASS="EMPHASIS"
4005>Returns</I
4006> :</TD
4007><TD
4008WIDTH="80%"
4009ALIGN="LEFT"
4010VALIGN="TOP"
4011>the newly created object.</TD
4012></TR
4013></TABLE
4014><P
4015></P
4016></DIV
4017></DIV
4018><HR><DIV
4019CLASS="REFSECT2"
4020><A
Daniel Veillarde356c282001-03-10 12:32:04 +00004021NAME="AEN12089"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004022></A
4023><H3
4024><A
4025NAME="XMLXPATHNODESETADD"
4026></A
4027>xmlXPathNodeSetAdd ()</H3
4028><TABLE
4029BORDER="0"
4030BGCOLOR="#D6E8FF"
4031WIDTH="100%"
4032CELLPADDING="6"
4033><TR
4034><TD
4035><PRE
4036CLASS="PROGRAMLISTING"
4037>void xmlXPathNodeSetAdd (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004038HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004039>xmlNodeSetPtr</A
4040> cur,
4041 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004042HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004043>xmlNodePtr</A
4044> val);</PRE
4045></TD
4046></TR
4047></TABLE
4048><P
4049>add a new xmlNodePtr ot an existing NodeSet</P
4050><P
4051></P
4052><DIV
4053CLASS="INFORMALTABLE"
4054><P
4055></P
4056><TABLE
4057BORDER="0"
4058WIDTH="100%"
4059BGCOLOR="#FFD0D0"
4060CELLSPACING="0"
4061CELLPADDING="4"
4062CLASS="CALSTABLE"
4063><TR
4064><TD
4065WIDTH="20%"
4066ALIGN="RIGHT"
4067VALIGN="TOP"
4068><TT
4069CLASS="PARAMETER"
4070><I
4071>cur</I
4072></TT
4073>&nbsp;:</TD
4074><TD
4075WIDTH="80%"
4076ALIGN="LEFT"
4077VALIGN="TOP"
4078> the initial node set</TD
4079></TR
4080><TR
4081><TD
4082WIDTH="20%"
4083ALIGN="RIGHT"
4084VALIGN="TOP"
4085><TT
4086CLASS="PARAMETER"
4087><I
4088>val</I
4089></TT
4090>&nbsp;:</TD
4091><TD
4092WIDTH="80%"
4093ALIGN="LEFT"
4094VALIGN="TOP"
4095> a new xmlNodePtr</TD
4096></TR
4097></TABLE
4098><P
4099></P
4100></DIV
4101></DIV
4102><HR><DIV
4103CLASS="REFSECT2"
4104><A
Daniel Veillarde356c282001-03-10 12:32:04 +00004105NAME="AEN12110"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004106></A
4107><H3
4108><A
4109NAME="XMLXPATHIDFUNCTION"
4110></A
4111>xmlXPathIdFunction ()</H3
4112><TABLE
4113BORDER="0"
4114BGCOLOR="#D6E8FF"
4115WIDTH="100%"
4116CELLPADDING="6"
4117><TR
4118><TD
4119><PRE
4120CLASS="PROGRAMLISTING"
4121>void xmlXPathIdFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004122HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004123>xmlXPathParserContextPtr</A
4124> ctxt,
4125 int nargs);</PRE
4126></TD
4127></TR
4128></TABLE
4129><P
4130>Implement the <GTKDOCLINK
4131HREF="ID"
4132>id</GTKDOCLINK
4133>() XPath function
4134node-set id(object)
4135The id function selects elements by their unique ID
4136(see [5.2.1 Unique IDs]). When the argument to id is of type node-set,
4137then the result is the union of the result of applying id to the
4138string value of each of the nodes in the argument node-set. When the
4139argument to id is of any other type, the argument is converted to a
4140string as if by a call to the string function; the string is split
4141into a whitespace-separated list of tokens (whitespace is any sequence
4142of characters matching the production S); the result is a node-set
4143containing the elements in the same document as the context node that
4144have a unique ID equal to any of the tokens in the list.</P
4145><P
4146></P
4147><DIV
4148CLASS="INFORMALTABLE"
4149><P
4150></P
4151><TABLE
4152BORDER="0"
4153WIDTH="100%"
4154BGCOLOR="#FFD0D0"
4155CELLSPACING="0"
4156CELLPADDING="4"
4157CLASS="CALSTABLE"
4158><TR
4159><TD
4160WIDTH="20%"
4161ALIGN="RIGHT"
4162VALIGN="TOP"
4163><TT
4164CLASS="PARAMETER"
4165><I
4166>ctxt</I
4167></TT
4168>&nbsp;:</TD
4169><TD
4170WIDTH="80%"
4171ALIGN="LEFT"
4172VALIGN="TOP"
4173> the XPath Parser context</TD
4174></TR
4175><TR
4176><TD
4177WIDTH="20%"
4178ALIGN="RIGHT"
4179VALIGN="TOP"
4180><TT
4181CLASS="PARAMETER"
4182><I
4183>nargs</I
4184></TT
4185>&nbsp;:</TD
4186><TD
4187WIDTH="80%"
4188ALIGN="LEFT"
4189VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004190> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004191></TR
4192></TABLE
4193><P
4194></P
4195></DIV
4196></DIV
4197><HR><DIV
4198CLASS="REFSECT2"
4199><A
Daniel Veillarde356c282001-03-10 12:32:04 +00004200NAME="AEN12131"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004201></A
4202><H3
4203><A
4204NAME="XMLXPATHROOT"
4205></A
4206>xmlXPathRoot ()</H3
4207><TABLE
4208BORDER="0"
4209BGCOLOR="#D6E8FF"
4210WIDTH="100%"
4211CELLPADDING="6"
4212><TR
4213><TD
4214><PRE
4215CLASS="PROGRAMLISTING"
4216>void xmlXPathRoot (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004217HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004218>xmlXPathParserContextPtr</A
4219> ctxt);</PRE
4220></TD
4221></TR
4222></TABLE
4223><P
4224>Initialize the context to the root of the document</P
4225><P
4226></P
4227><DIV
4228CLASS="INFORMALTABLE"
4229><P
4230></P
4231><TABLE
4232BORDER="0"
4233WIDTH="100%"
4234BGCOLOR="#FFD0D0"
4235CELLSPACING="0"
4236CELLPADDING="4"
4237CLASS="CALSTABLE"
4238><TR
4239><TD
4240WIDTH="20%"
4241ALIGN="RIGHT"
4242VALIGN="TOP"
4243><TT
4244CLASS="PARAMETER"
4245><I
4246>ctxt</I
4247></TT
4248>&nbsp;:</TD
4249><TD
4250WIDTH="80%"
4251ALIGN="LEFT"
4252VALIGN="TOP"
4253> the XPath Parser context</TD
4254></TR
4255></TABLE
4256><P
4257></P
4258></DIV
4259></DIV
4260><HR><DIV
4261CLASS="REFSECT2"
4262><A
Daniel Veillarde356c282001-03-10 12:32:04 +00004263NAME="AEN12147"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004264></A
4265><H3
4266><A
4267NAME="XMLXPATHEVALEXPR"
4268></A
4269>xmlXPathEvalExpr ()</H3
4270><TABLE
4271BORDER="0"
4272BGCOLOR="#D6E8FF"
4273WIDTH="100%"
4274CELLPADDING="6"
4275><TR
4276><TD
4277><PRE
4278CLASS="PROGRAMLISTING"
4279>void xmlXPathEvalExpr (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004280HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004281>xmlXPathParserContextPtr</A
4282> ctxt);</PRE
4283></TD
4284></TR
4285></TABLE
4286><P
4287>[14] Expr ::= OrExpr
4288[21] OrExpr ::= AndExpr
4289| OrExpr 'or' AndExpr </P
4290><P
4291>Parse and evaluate an expression, then push the result on the stack</P
4292><P
4293></P
4294><DIV
4295CLASS="INFORMALTABLE"
4296><P
4297></P
4298><TABLE
4299BORDER="0"
4300WIDTH="100%"
4301BGCOLOR="#FFD0D0"
4302CELLSPACING="0"
4303CELLPADDING="4"
4304CLASS="CALSTABLE"
4305><TR
4306><TD
4307WIDTH="20%"
4308ALIGN="RIGHT"
4309VALIGN="TOP"
4310><TT
4311CLASS="PARAMETER"
4312><I
4313>ctxt</I
4314></TT
4315>&nbsp;:</TD
4316><TD
4317WIDTH="80%"
4318ALIGN="LEFT"
4319VALIGN="TOP"
4320> the XPath Parser context</TD
4321></TR
4322></TABLE
4323><P
4324></P
4325></DIV
4326></DIV
4327><HR><DIV
4328CLASS="REFSECT2"
4329><A
Daniel Veillarde356c282001-03-10 12:32:04 +00004330NAME="AEN12164"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004331></A
4332><H3
4333><A
4334NAME="XMLXPATHPARSENAME"
4335></A
4336>xmlXPathParseName ()</H3
4337><TABLE
4338BORDER="0"
4339BGCOLOR="#D6E8FF"
4340WIDTH="100%"
4341CELLPADDING="6"
4342><TR
4343><TD
4344><PRE
4345CLASS="PROGRAMLISTING"
4346><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004347HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004348>xmlChar</A
4349>* xmlXPathParseName (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004350HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004351>xmlXPathParserContextPtr</A
4352> ctxt);</PRE
4353></TD
4354></TR
4355></TABLE
4356><P
4357>parse an XML name</P
4358><P
4359>[4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' |
4360CombiningChar | Extender</P
4361><P
4362>[5] Name ::= (Letter | '_' | ':') (NameChar)*</P
4363><P
4364></P
4365><DIV
4366CLASS="INFORMALTABLE"
4367><P
4368></P
4369><TABLE
4370BORDER="0"
4371WIDTH="100%"
4372BGCOLOR="#FFD0D0"
4373CELLSPACING="0"
4374CELLPADDING="4"
4375CLASS="CALSTABLE"
4376><TR
4377><TD
4378WIDTH="20%"
4379ALIGN="RIGHT"
4380VALIGN="TOP"
4381><TT
4382CLASS="PARAMETER"
4383><I
4384>ctxt</I
4385></TT
4386>&nbsp;:</TD
4387><TD
4388WIDTH="80%"
4389ALIGN="LEFT"
4390VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004391> the XPath Parser context</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004392></TR
4393><TR
4394><TD
4395WIDTH="20%"
4396ALIGN="RIGHT"
4397VALIGN="TOP"
4398><I
4399CLASS="EMPHASIS"
4400>Returns</I
4401> :</TD
4402><TD
4403WIDTH="80%"
4404ALIGN="LEFT"
4405VALIGN="TOP"
4406>the namespace name or NULL</TD
4407></TR
4408></TABLE
4409><P
4410></P
4411></DIV
4412></DIV
4413><HR><DIV
4414CLASS="REFSECT2"
4415><A
Daniel Veillarde356c282001-03-10 12:32:04 +00004416NAME="AEN12187"
Daniel Veillard503b8932001-01-05 06:36:31 +00004417></A
4418><H3
4419><A
4420NAME="XMLXPATHPARSENCNAME"
4421></A
4422>xmlXPathParseNCName ()</H3
4423><TABLE
4424BORDER="0"
4425BGCOLOR="#D6E8FF"
4426WIDTH="100%"
4427CELLPADDING="6"
4428><TR
4429><TD
4430><PRE
4431CLASS="PROGRAMLISTING"
4432><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004433HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard503b8932001-01-05 06:36:31 +00004434>xmlChar</A
4435>* xmlXPathParseNCName (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004436HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard503b8932001-01-05 06:36:31 +00004437>xmlXPathParserContextPtr</A
4438> ctxt);</PRE
4439></TD
4440></TR
4441></TABLE
4442><P
4443>parse an XML namespace non qualified name.</P
4444><P
4445>[NS 3] NCName ::= (Letter | '_') (NCNameChar)*</P
4446><P
4447>[NS 4] NCNameChar ::= Letter | Digit | '.' | '-' | '_' |
4448CombiningChar | Extender</P
4449><P
4450></P
4451><DIV
4452CLASS="INFORMALTABLE"
4453><P
4454></P
4455><TABLE
4456BORDER="0"
4457WIDTH="100%"
4458BGCOLOR="#FFD0D0"
4459CELLSPACING="0"
4460CELLPADDING="4"
4461CLASS="CALSTABLE"
4462><TR
4463><TD
4464WIDTH="20%"
4465ALIGN="RIGHT"
4466VALIGN="TOP"
4467><TT
4468CLASS="PARAMETER"
4469><I
4470>ctxt</I
4471></TT
4472>&nbsp;:</TD
4473><TD
4474WIDTH="80%"
4475ALIGN="LEFT"
4476VALIGN="TOP"
4477> the XPath Parser context</TD
4478></TR
4479><TR
4480><TD
4481WIDTH="20%"
4482ALIGN="RIGHT"
4483VALIGN="TOP"
4484><I
4485CLASS="EMPHASIS"
4486>Returns</I
4487> :</TD
4488><TD
4489WIDTH="80%"
4490ALIGN="LEFT"
4491VALIGN="TOP"
4492>the namespace name or NULL</TD
4493></TR
4494></TABLE
4495><P
4496></P
4497></DIV
4498></DIV
4499><HR><DIV
4500CLASS="REFSECT2"
4501><A
Daniel Veillarde356c282001-03-10 12:32:04 +00004502NAME="AEN12210"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004503></A
4504><H3
4505><A
4506NAME="XMLXPATHSTRINGEVALNUMBER"
4507></A
4508>xmlXPathStringEvalNumber ()</H3
4509><TABLE
4510BORDER="0"
4511BGCOLOR="#D6E8FF"
4512WIDTH="100%"
4513CELLPADDING="6"
4514><TR
4515><TD
4516><PRE
4517CLASS="PROGRAMLISTING"
4518><GTKDOCLINK
4519HREF="DOUBLE"
4520>double</GTKDOCLINK
4521> xmlXPathStringEvalNumber (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004522HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004523>xmlChar</A
4524> *str);</PRE
4525></TD
4526></TR
4527></TABLE
4528><P
4529>[30] Number ::= Digits ('.' Digits?)?
4530| '.' Digits
4531[31] Digits ::= [0-9]+</P
4532><P
4533>Parse and evaluate a Number in the string
4534In complement of the Number expression, this function also handles
4535negative values : '-' Number.</P
4536><P
4537></P
4538><DIV
4539CLASS="INFORMALTABLE"
4540><P
4541></P
4542><TABLE
4543BORDER="0"
4544WIDTH="100%"
4545BGCOLOR="#FFD0D0"
4546CELLSPACING="0"
4547CELLPADDING="4"
4548CLASS="CALSTABLE"
4549><TR
4550><TD
4551WIDTH="20%"
4552ALIGN="RIGHT"
4553VALIGN="TOP"
4554><TT
4555CLASS="PARAMETER"
4556><I
4557>str</I
4558></TT
4559>&nbsp;:</TD
4560><TD
4561WIDTH="80%"
4562ALIGN="LEFT"
4563VALIGN="TOP"
4564> A string to scan</TD
4565></TR
4566><TR
4567><TD
4568WIDTH="20%"
4569ALIGN="RIGHT"
4570VALIGN="TOP"
4571><I
4572CLASS="EMPHASIS"
4573>Returns</I
4574> :</TD
4575><TD
4576WIDTH="80%"
4577ALIGN="LEFT"
4578VALIGN="TOP"
4579>the double value.</TD
4580></TR
4581></TABLE
4582><P
4583></P
4584></DIV
4585></DIV
4586><HR><DIV
4587CLASS="REFSECT2"
4588><A
Daniel Veillarde356c282001-03-10 12:32:04 +00004589NAME="AEN12232"
Daniel Veillarda1fe9102000-11-25 10:49:25 +00004590></A
4591><H3
4592><A
4593NAME="XMLXPATHEVALUATEPREDICATERESULT"
4594></A
4595>xmlXPathEvaluatePredicateResult ()</H3
4596><TABLE
4597BORDER="0"
4598BGCOLOR="#D6E8FF"
4599WIDTH="100%"
4600CELLPADDING="6"
4601><TR
4602><TD
4603><PRE
4604CLASS="PROGRAMLISTING"
4605>int xmlXPathEvaluatePredicateResult (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004606HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +00004607>xmlXPathParserContextPtr</A
4608> ctxt,
4609 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004610HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +00004611>xmlXPathObjectPtr</A
4612> res);</PRE
4613></TD
4614></TR
4615></TABLE
4616><P
4617>Evaluate a predicate result for the current node.
4618A PredicateExpr is evaluated by evaluating the Expr and converting
4619the result to a boolean. If the result is a number, the result will
4620be converted to true if the number is equal to the position of the
4621context node in the context node list (as returned by the position
4622function) and will be converted to false otherwise; if the result
4623is not a number, then the result will be converted as if by a call
Daniel Veillardd194dd22001-02-14 10:37:43 +00004624to the boolean function. </P
4625><P
4626>Return 1 if predicate is true, 0 otherwise</P
Daniel Veillarda1fe9102000-11-25 10:49:25 +00004627><P
4628></P
4629><DIV
4630CLASS="INFORMALTABLE"
4631><P
4632></P
4633><TABLE
4634BORDER="0"
4635WIDTH="100%"
4636BGCOLOR="#FFD0D0"
4637CELLSPACING="0"
4638CELLPADDING="4"
4639CLASS="CALSTABLE"
4640><TR
4641><TD
4642WIDTH="20%"
4643ALIGN="RIGHT"
4644VALIGN="TOP"
4645><TT
4646CLASS="PARAMETER"
4647><I
4648>ctxt</I
4649></TT
4650>&nbsp;:</TD
4651><TD
4652WIDTH="80%"
4653ALIGN="LEFT"
4654VALIGN="TOP"
4655> the XPath Parser context</TD
4656></TR
4657><TR
4658><TD
4659WIDTH="20%"
4660ALIGN="RIGHT"
4661VALIGN="TOP"
4662><TT
4663CLASS="PARAMETER"
4664><I
4665>res</I
4666></TT
4667>&nbsp;:</TD
4668><TD
4669WIDTH="80%"
4670ALIGN="LEFT"
4671VALIGN="TOP"
4672> the Predicate Expression evaluation result</TD
4673></TR
4674><TR
4675><TD
4676WIDTH="20%"
4677ALIGN="RIGHT"
4678VALIGN="TOP"
4679><I
4680CLASS="EMPHASIS"
4681>Returns</I
4682> :</TD
4683><TD
4684WIDTH="80%"
4685ALIGN="LEFT"
4686VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00004687>&#13;</TD
Daniel Veillarda1fe9102000-11-25 10:49:25 +00004688></TR
4689></TABLE
4690><P
4691></P
4692></DIV
4693></DIV
4694><HR><DIV
4695CLASS="REFSECT2"
4696><A
Daniel Veillarde356c282001-03-10 12:32:04 +00004697NAME="AEN12258"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004698></A
4699><H3
4700><A
4701NAME="XMLXPATHINIT"
4702></A
4703>xmlXPathInit ()</H3
4704><TABLE
4705BORDER="0"
4706BGCOLOR="#D6E8FF"
4707WIDTH="100%"
4708CELLPADDING="6"
4709><TR
4710><TD
4711><PRE
4712CLASS="PROGRAMLISTING"
4713>void xmlXPathInit (void);</PRE
4714></TD
4715></TR
4716></TABLE
4717><P
4718>Initialize the XPath environment</P
4719><P
4720></P
4721></DIV
4722><HR><DIV
4723CLASS="REFSECT2"
4724><A
Daniel Veillarde356c282001-03-10 12:32:04 +00004725NAME="AEN12264"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004726></A
4727><H3
4728><A
4729NAME="XMLXPATHSTRINGFUNCTION"
4730></A
4731>xmlXPathStringFunction ()</H3
4732><TABLE
4733BORDER="0"
4734BGCOLOR="#D6E8FF"
4735WIDTH="100%"
4736CELLPADDING="6"
4737><TR
4738><TD
4739><PRE
4740CLASS="PROGRAMLISTING"
4741>void xmlXPathStringFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004742HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004743>xmlXPathParserContextPtr</A
4744> ctxt,
4745 int nargs);</PRE
4746></TD
4747></TR
4748></TABLE
4749><P
4750>Implement the <GTKDOCLINK
4751HREF="STRING"
4752>string</GTKDOCLINK
4753>() XPath function
4754string string(object?)
4755he string function converts an object to a string as follows:
4756- A node-set is converted to a string by returning the value of
4757the node in the node-set that is first in document order.
4758If the node-set is empty, an empty string is returned.
4759- A number is converted to a string as follows
4760+ NaN is converted to the string NaN
4761+ positive zero is converted to the string 0
4762+ negative zero is converted to the string 0
4763+ positive infinity is converted to the string Infinity
4764+ negative infinity is converted to the string -Infinity
4765+ if the number is an integer, the number is represented in
4766decimal form as a Number with no decimal point and no leading
4767zeros, preceded by a minus sign (-) if the number is negative
4768+ otherwise, the number is represented in decimal form as a
4769Number including a decimal point with at least one digit
4770before the decimal point and at least one digit after the
4771decimal point, preceded by a minus sign (-) if the number
4772is negative; there must be no leading zeros before the decimal
4773point apart possibly from the one required digit immediatelyi
4774before the decimal point; beyond the one required digit
4775after the decimal point there must be as many, but only as
4776many, more digits as are needed to uniquely distinguish the
4777number from all other IEEE 754 numeric values.
4778- The boolean false value is converted to the string false.
4779The boolean true value is converted to the string true.</P
4780><P
4781>If the argument is omitted, it defaults to a node-set with the
4782context node as its only member.</P
4783><P
4784></P
4785><DIV
4786CLASS="INFORMALTABLE"
4787><P
4788></P
4789><TABLE
4790BORDER="0"
4791WIDTH="100%"
4792BGCOLOR="#FFD0D0"
4793CELLSPACING="0"
4794CELLPADDING="4"
4795CLASS="CALSTABLE"
4796><TR
4797><TD
4798WIDTH="20%"
4799ALIGN="RIGHT"
4800VALIGN="TOP"
4801><TT
4802CLASS="PARAMETER"
4803><I
4804>ctxt</I
4805></TT
4806>&nbsp;:</TD
4807><TD
4808WIDTH="80%"
4809ALIGN="LEFT"
4810VALIGN="TOP"
4811> the XPath Parser context</TD
4812></TR
4813><TR
4814><TD
4815WIDTH="20%"
4816ALIGN="RIGHT"
4817VALIGN="TOP"
4818><TT
4819CLASS="PARAMETER"
4820><I
4821>nargs</I
4822></TT
4823>&nbsp;:</TD
4824><TD
4825WIDTH="80%"
4826ALIGN="LEFT"
4827VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004828> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004829></TR
4830></TABLE
4831><P
4832></P
4833></DIV
4834></DIV
4835><HR><DIV
4836CLASS="REFSECT2"
4837><A
Daniel Veillarde356c282001-03-10 12:32:04 +00004838NAME="AEN12286"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004839></A
4840><H3
4841><A
4842NAME="XMLXPATHREGISTERALLFUNCTIONS"
4843></A
4844>xmlXPathRegisterAllFunctions ()</H3
4845><TABLE
4846BORDER="0"
4847BGCOLOR="#D6E8FF"
4848WIDTH="100%"
4849CELLPADDING="6"
4850><TR
4851><TD
4852><PRE
4853CLASS="PROGRAMLISTING"
4854>void xmlXPathRegisterAllFunctions (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004855HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004856>xmlXPathContextPtr</A
4857> ctxt);</PRE
4858></TD
4859></TR
4860></TABLE
4861><P
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004862>Registers all default XPath functions in this context</P
4863><P
Daniel Veillard9753ad72000-11-13 19:12:23 +00004864></P
4865><DIV
4866CLASS="INFORMALTABLE"
4867><P
4868></P
4869><TABLE
4870BORDER="0"
4871WIDTH="100%"
4872BGCOLOR="#FFD0D0"
4873CELLSPACING="0"
4874CELLPADDING="4"
4875CLASS="CALSTABLE"
4876><TR
4877><TD
4878WIDTH="20%"
4879ALIGN="RIGHT"
4880VALIGN="TOP"
4881><TT
4882CLASS="PARAMETER"
4883><I
4884>ctxt</I
4885></TT
4886>&nbsp;:</TD
4887><TD
4888WIDTH="80%"
4889ALIGN="LEFT"
4890VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004891> the XPath context</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004892></TR
4893></TABLE
4894><P
4895></P
4896></DIV
4897></DIV
4898><HR><DIV
4899CLASS="REFSECT2"
4900><A
Daniel Veillarde356c282001-03-10 12:32:04 +00004901NAME="AEN12302"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004902></A
4903><H3
4904><A
4905NAME="XMLXPATHNODESETCREATE"
4906></A
4907>xmlXPathNodeSetCreate ()</H3
4908><TABLE
4909BORDER="0"
4910BGCOLOR="#D6E8FF"
4911WIDTH="100%"
4912CELLPADDING="6"
4913><TR
4914><TD
4915><PRE
4916CLASS="PROGRAMLISTING"
4917><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004918HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004919>xmlNodeSetPtr</A
4920> xmlXPathNodeSetCreate (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004921HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004922>xmlNodePtr</A
4923> val);</PRE
4924></TD
4925></TR
4926></TABLE
4927><P
4928>Create a new xmlNodeSetPtr of type double and of value <TT
4929CLASS="PARAMETER"
4930><I
4931>val</I
4932></TT
4933></P
4934><P
4935></P
4936><DIV
4937CLASS="INFORMALTABLE"
4938><P
4939></P
4940><TABLE
4941BORDER="0"
4942WIDTH="100%"
4943BGCOLOR="#FFD0D0"
4944CELLSPACING="0"
4945CELLPADDING="4"
4946CLASS="CALSTABLE"
4947><TR
4948><TD
4949WIDTH="20%"
4950ALIGN="RIGHT"
4951VALIGN="TOP"
4952><TT
4953CLASS="PARAMETER"
4954><I
4955>val</I
4956></TT
4957>&nbsp;:</TD
4958><TD
4959WIDTH="80%"
4960ALIGN="LEFT"
4961VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004962>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004963></TR
4964><TR
4965><TD
4966WIDTH="20%"
4967ALIGN="RIGHT"
4968VALIGN="TOP"
4969><I
4970CLASS="EMPHASIS"
4971>Returns</I
4972> :</TD
4973><TD
4974WIDTH="80%"
4975ALIGN="LEFT"
4976VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004977>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004978></TR
4979></TABLE
4980><P
4981></P
4982></DIV
4983></DIV
4984><HR><DIV
4985CLASS="REFSECT2"
4986><A
Daniel Veillarde356c282001-03-10 12:32:04 +00004987NAME="AEN12324"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004988></A
4989><H3
4990><A
4991NAME="XMLXPATHNODESETMERGE"
4992></A
4993>xmlXPathNodeSetMerge ()</H3
4994><TABLE
4995BORDER="0"
4996BGCOLOR="#D6E8FF"
4997WIDTH="100%"
4998CELLPADDING="6"
4999><TR
5000><TD
5001><PRE
5002CLASS="PROGRAMLISTING"
5003><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005004HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005005>xmlNodeSetPtr</A
5006> xmlXPathNodeSetMerge (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005007HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005008>xmlNodeSetPtr</A
5009> val1,
5010 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005011HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005012>xmlNodeSetPtr</A
5013> val2);</PRE
5014></TD
5015></TR
5016></TABLE
5017><P
5018>Merges two nodesets, all nodes from <TT
5019CLASS="PARAMETER"
5020><I
5021>val2</I
5022></TT
5023> are added to <TT
5024CLASS="PARAMETER"
5025><I
5026>val1</I
5027></TT
5028>
5029if <TT
5030CLASS="PARAMETER"
5031><I
5032>val1</I
5033></TT
5034> is NULL, a new set is created and copied from <TT
5035CLASS="PARAMETER"
5036><I
5037>val2</I
5038></TT
5039></P
5040><P
5041></P
5042><DIV
5043CLASS="INFORMALTABLE"
5044><P
5045></P
5046><TABLE
5047BORDER="0"
5048WIDTH="100%"
5049BGCOLOR="#FFD0D0"
5050CELLSPACING="0"
5051CELLPADDING="4"
5052CLASS="CALSTABLE"
5053><TR
5054><TD
5055WIDTH="20%"
5056ALIGN="RIGHT"
5057VALIGN="TOP"
5058><TT
5059CLASS="PARAMETER"
5060><I
5061>val1</I
5062></TT
5063>&nbsp;:</TD
5064><TD
5065WIDTH="80%"
5066ALIGN="LEFT"
5067VALIGN="TOP"
5068> the first NodeSet or NULL</TD
5069></TR
5070><TR
5071><TD
5072WIDTH="20%"
5073ALIGN="RIGHT"
5074VALIGN="TOP"
5075><TT
5076CLASS="PARAMETER"
5077><I
5078>val2</I
5079></TT
5080>&nbsp;:</TD
5081><TD
5082WIDTH="80%"
5083ALIGN="LEFT"
5084VALIGN="TOP"
5085> the second NodeSet</TD
5086></TR
5087><TR
5088><TD
5089WIDTH="20%"
5090ALIGN="RIGHT"
5091VALIGN="TOP"
5092><I
5093CLASS="EMPHASIS"
5094>Returns</I
5095> :</TD
5096><TD
5097WIDTH="80%"
5098ALIGN="LEFT"
5099VALIGN="TOP"
5100>val1 once extended or NULL in case of error.</TD
5101></TR
5102></TABLE
5103><P
5104></P
5105></DIV
5106></DIV
5107><HR><DIV
5108CLASS="REFSECT2"
5109><A
Daniel Veillarde356c282001-03-10 12:32:04 +00005110NAME="AEN12354"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005111></A
5112><H3
5113><A
5114NAME="XMLXPATHNODESETDEL"
5115></A
5116>xmlXPathNodeSetDel ()</H3
5117><TABLE
5118BORDER="0"
5119BGCOLOR="#D6E8FF"
5120WIDTH="100%"
5121CELLPADDING="6"
5122><TR
5123><TD
5124><PRE
5125CLASS="PROGRAMLISTING"
5126>void xmlXPathNodeSetDel (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005127HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005128>xmlNodeSetPtr</A
5129> cur,
5130 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005131HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005132>xmlNodePtr</A
5133> val);</PRE
5134></TD
5135></TR
5136></TABLE
5137><P
5138>Removes an xmlNodePtr from an existing NodeSet</P
5139><P
5140></P
5141><DIV
5142CLASS="INFORMALTABLE"
5143><P
5144></P
5145><TABLE
5146BORDER="0"
5147WIDTH="100%"
5148BGCOLOR="#FFD0D0"
5149CELLSPACING="0"
5150CELLPADDING="4"
5151CLASS="CALSTABLE"
5152><TR
5153><TD
5154WIDTH="20%"
5155ALIGN="RIGHT"
5156VALIGN="TOP"
5157><TT
5158CLASS="PARAMETER"
5159><I
5160>cur</I
5161></TT
5162>&nbsp;:</TD
5163><TD
5164WIDTH="80%"
5165ALIGN="LEFT"
5166VALIGN="TOP"
5167> the initial node set</TD
5168></TR
5169><TR
5170><TD
5171WIDTH="20%"
5172ALIGN="RIGHT"
5173VALIGN="TOP"
5174><TT
5175CLASS="PARAMETER"
5176><I
5177>val</I
5178></TT
5179>&nbsp;:</TD
5180><TD
5181WIDTH="80%"
5182ALIGN="LEFT"
5183VALIGN="TOP"
5184> an xmlNodePtr</TD
5185></TR
5186></TABLE
5187><P
5188></P
5189></DIV
5190></DIV
5191><HR><DIV
5192CLASS="REFSECT2"
5193><A
Daniel Veillarde356c282001-03-10 12:32:04 +00005194NAME="AEN12375"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005195></A
5196><H3
5197><A
5198NAME="XMLXPATHNODESETREMOVE"
5199></A
5200>xmlXPathNodeSetRemove ()</H3
5201><TABLE
5202BORDER="0"
5203BGCOLOR="#D6E8FF"
5204WIDTH="100%"
5205CELLPADDING="6"
5206><TR
5207><TD
5208><PRE
5209CLASS="PROGRAMLISTING"
5210>void xmlXPathNodeSetRemove (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005211HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005212>xmlNodeSetPtr</A
5213> cur,
5214 int val);</PRE
5215></TD
5216></TR
5217></TABLE
5218><P
5219>Removes an entry from an existing NodeSet list.</P
5220><P
5221></P
5222><DIV
5223CLASS="INFORMALTABLE"
5224><P
5225></P
5226><TABLE
5227BORDER="0"
5228WIDTH="100%"
5229BGCOLOR="#FFD0D0"
5230CELLSPACING="0"
5231CELLPADDING="4"
5232CLASS="CALSTABLE"
5233><TR
5234><TD
5235WIDTH="20%"
5236ALIGN="RIGHT"
5237VALIGN="TOP"
5238><TT
5239CLASS="PARAMETER"
5240><I
5241>cur</I
5242></TT
5243>&nbsp;:</TD
5244><TD
5245WIDTH="80%"
5246ALIGN="LEFT"
5247VALIGN="TOP"
5248> the initial node set</TD
5249></TR
5250><TR
5251><TD
5252WIDTH="20%"
5253ALIGN="RIGHT"
5254VALIGN="TOP"
5255><TT
5256CLASS="PARAMETER"
5257><I
5258>val</I
5259></TT
5260>&nbsp;:</TD
5261><TD
5262WIDTH="80%"
5263ALIGN="LEFT"
5264VALIGN="TOP"
5265> the index to remove</TD
5266></TR
5267></TABLE
5268><P
5269></P
5270></DIV
5271></DIV
5272><HR><DIV
5273CLASS="REFSECT2"
5274><A
Daniel Veillarde356c282001-03-10 12:32:04 +00005275NAME="AEN12395"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005276></A
5277><H3
5278><A
5279NAME="XMLXPATHFREENODESET"
5280></A
5281>xmlXPathFreeNodeSet ()</H3
5282><TABLE
5283BORDER="0"
5284BGCOLOR="#D6E8FF"
5285WIDTH="100%"
5286CELLPADDING="6"
5287><TR
5288><TD
5289><PRE
5290CLASS="PROGRAMLISTING"
5291>void xmlXPathFreeNodeSet (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005292HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005293>xmlNodeSetPtr</A
5294> obj);</PRE
5295></TD
5296></TR
5297></TABLE
5298><P
5299>Free the NodeSet compound (not the actual nodes !).</P
5300><P
5301></P
5302><DIV
5303CLASS="INFORMALTABLE"
5304><P
5305></P
5306><TABLE
5307BORDER="0"
5308WIDTH="100%"
5309BGCOLOR="#FFD0D0"
5310CELLSPACING="0"
5311CELLPADDING="4"
5312CLASS="CALSTABLE"
5313><TR
5314><TD
5315WIDTH="20%"
5316ALIGN="RIGHT"
5317VALIGN="TOP"
5318><TT
5319CLASS="PARAMETER"
5320><I
5321>obj</I
5322></TT
5323>&nbsp;:</TD
5324><TD
5325WIDTH="80%"
5326ALIGN="LEFT"
5327VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005328>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005329></TR
5330></TABLE
5331><P
5332></P
5333></DIV
5334></DIV
5335><HR><DIV
5336CLASS="REFSECT2"
5337><A
Daniel Veillarde356c282001-03-10 12:32:04 +00005338NAME="AEN12411"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005339></A
5340><H3
5341><A
5342NAME="XMLXPATHNEWNODESETLIST"
5343></A
5344>xmlXPathNewNodeSetList ()</H3
5345><TABLE
5346BORDER="0"
5347BGCOLOR="#D6E8FF"
5348WIDTH="100%"
5349CELLPADDING="6"
5350><TR
5351><TD
5352><PRE
5353CLASS="PROGRAMLISTING"
5354><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005355HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005356>xmlXPathObjectPtr</A
5357> xmlXPathNewNodeSetList (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005358HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005359>xmlNodeSetPtr</A
5360> val);</PRE
5361></TD
5362></TR
5363></TABLE
5364><P
5365>Create a new xmlXPathObjectPtr of type NodeSet and initialize
5366it with the Nodeset <TT
5367CLASS="PARAMETER"
5368><I
5369>val</I
5370></TT
5371></P
5372><P
5373></P
5374><DIV
5375CLASS="INFORMALTABLE"
5376><P
5377></P
5378><TABLE
5379BORDER="0"
5380WIDTH="100%"
5381BGCOLOR="#FFD0D0"
5382CELLSPACING="0"
5383CELLPADDING="4"
5384CLASS="CALSTABLE"
5385><TR
5386><TD
5387WIDTH="20%"
5388ALIGN="RIGHT"
5389VALIGN="TOP"
5390><TT
5391CLASS="PARAMETER"
5392><I
5393>val</I
5394></TT
5395>&nbsp;:</TD
5396><TD
5397WIDTH="80%"
5398ALIGN="LEFT"
5399VALIGN="TOP"
5400> an existing NodeSet</TD
5401></TR
5402><TR
5403><TD
5404WIDTH="20%"
5405ALIGN="RIGHT"
5406VALIGN="TOP"
5407><I
5408CLASS="EMPHASIS"
5409>Returns</I
5410> :</TD
5411><TD
5412WIDTH="80%"
5413ALIGN="LEFT"
5414VALIGN="TOP"
5415>the newly created object.</TD
5416></TR
5417></TABLE
5418><P
5419></P
5420></DIV
5421></DIV
5422><HR><DIV
5423CLASS="REFSECT2"
5424><A
Daniel Veillarde356c282001-03-10 12:32:04 +00005425NAME="AEN12433"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005426></A
5427><H3
5428><A
5429NAME="XMLXPATHWRAPNODESET"
5430></A
5431>xmlXPathWrapNodeSet ()</H3
5432><TABLE
5433BORDER="0"
5434BGCOLOR="#D6E8FF"
5435WIDTH="100%"
5436CELLPADDING="6"
5437><TR
5438><TD
5439><PRE
5440CLASS="PROGRAMLISTING"
5441><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005442HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005443>xmlXPathObjectPtr</A
5444> xmlXPathWrapNodeSet (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005445HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005446>xmlNodeSetPtr</A
5447> val);</PRE
5448></TD
5449></TR
5450></TABLE
5451><P
5452>Wrap the Nodeset <TT
5453CLASS="PARAMETER"
5454><I
5455>val</I
5456></TT
5457> in a new xmlXPathObjectPtr</P
5458><P
5459></P
5460><DIV
5461CLASS="INFORMALTABLE"
5462><P
5463></P
5464><TABLE
5465BORDER="0"
5466WIDTH="100%"
5467BGCOLOR="#FFD0D0"
5468CELLSPACING="0"
5469CELLPADDING="4"
5470CLASS="CALSTABLE"
5471><TR
5472><TD
5473WIDTH="20%"
5474ALIGN="RIGHT"
5475VALIGN="TOP"
5476><TT
5477CLASS="PARAMETER"
5478><I
5479>val</I
5480></TT
5481>&nbsp;:</TD
5482><TD
5483WIDTH="80%"
5484ALIGN="LEFT"
5485VALIGN="TOP"
5486> the NodePtr value</TD
5487></TR
5488><TR
5489><TD
5490WIDTH="20%"
5491ALIGN="RIGHT"
5492VALIGN="TOP"
5493><I
5494CLASS="EMPHASIS"
5495>Returns</I
5496> :</TD
5497><TD
5498WIDTH="80%"
5499ALIGN="LEFT"
5500VALIGN="TOP"
5501>the newly created object.</TD
5502></TR
5503></TABLE
5504><P
5505></P
5506></DIV
5507></DIV
5508><HR><DIV
5509CLASS="REFSECT2"
5510><A
Daniel Veillarde356c282001-03-10 12:32:04 +00005511NAME="AEN12455"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005512></A
5513><H3
5514><A
5515NAME="XMLXPATHFREENODESETLIST"
5516></A
5517>xmlXPathFreeNodeSetList ()</H3
5518><TABLE
5519BORDER="0"
5520BGCOLOR="#D6E8FF"
5521WIDTH="100%"
5522CELLPADDING="6"
5523><TR
5524><TD
5525><PRE
5526CLASS="PROGRAMLISTING"
5527>void xmlXPathFreeNodeSetList (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005528HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005529>xmlXPathObjectPtr</A
5530> obj);</PRE
5531></TD
5532></TR
5533></TABLE
5534><P
5535>Free up the xmlXPathObjectPtr <TT
5536CLASS="PARAMETER"
5537><I
5538>obj</I
5539></TT
5540> but don't deallocate the objects in
5541the list contrary to <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005542HREF="libxml-xpath.html#XMLXPATHFREEOBJECT"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005543>xmlXPathFreeObject</A
5544>().</P
5545><P
5546></P
5547><DIV
5548CLASS="INFORMALTABLE"
5549><P
5550></P
5551><TABLE
5552BORDER="0"
5553WIDTH="100%"
5554BGCOLOR="#FFD0D0"
5555CELLSPACING="0"
5556CELLPADDING="4"
5557CLASS="CALSTABLE"
5558><TR
5559><TD
5560WIDTH="20%"
5561ALIGN="RIGHT"
5562VALIGN="TOP"
5563><TT
5564CLASS="PARAMETER"
5565><I
5566>obj</I
5567></TT
5568>&nbsp;:</TD
5569><TD
5570WIDTH="80%"
5571ALIGN="LEFT"
5572VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005573>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005574></TR
5575></TABLE
5576><P
5577></P
5578></DIV
5579></DIV
5580><HR><DIV
5581CLASS="REFSECT2"
5582><A
Daniel Veillarde356c282001-03-10 12:32:04 +00005583NAME="AEN12473"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005584></A
5585><H3
5586><A
5587NAME="XMLXPATHFREEOBJECT"
5588></A
5589>xmlXPathFreeObject ()</H3
5590><TABLE
5591BORDER="0"
5592BGCOLOR="#D6E8FF"
5593WIDTH="100%"
5594CELLPADDING="6"
5595><TR
5596><TD
5597><PRE
5598CLASS="PROGRAMLISTING"
5599>void xmlXPathFreeObject (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005600HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005601>xmlXPathObjectPtr</A
5602> obj);</PRE
5603></TD
5604></TR
5605></TABLE
5606><P
5607>Free up an xmlXPathObjectPtr object.</P
5608><P
5609></P
5610><DIV
5611CLASS="INFORMALTABLE"
5612><P
5613></P
5614><TABLE
5615BORDER="0"
5616WIDTH="100%"
5617BGCOLOR="#FFD0D0"
5618CELLSPACING="0"
5619CELLPADDING="4"
5620CLASS="CALSTABLE"
5621><TR
5622><TD
5623WIDTH="20%"
5624ALIGN="RIGHT"
5625VALIGN="TOP"
5626><TT
5627CLASS="PARAMETER"
5628><I
5629>obj</I
5630></TT
5631>&nbsp;:</TD
5632><TD
5633WIDTH="80%"
5634ALIGN="LEFT"
5635VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005636>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005637></TR
5638></TABLE
5639><P
5640></P
5641></DIV
5642></DIV
5643><HR><DIV
5644CLASS="REFSECT2"
5645><A
Daniel Veillarde356c282001-03-10 12:32:04 +00005646NAME="AEN12489"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005647></A
5648><H3
5649><A
5650NAME="XMLXPATHNEWCONTEXT"
5651></A
5652>xmlXPathNewContext ()</H3
5653><TABLE
5654BORDER="0"
5655BGCOLOR="#D6E8FF"
5656WIDTH="100%"
5657CELLPADDING="6"
5658><TR
5659><TD
5660><PRE
5661CLASS="PROGRAMLISTING"
5662><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005663HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005664>xmlXPathContextPtr</A
5665> xmlXPathNewContext (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005666HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005667>xmlDocPtr</A
5668> doc);</PRE
5669></TD
5670></TR
5671></TABLE
5672><P
5673>Create a new xmlXPathContext</P
5674><P
5675></P
5676><DIV
5677CLASS="INFORMALTABLE"
5678><P
5679></P
5680><TABLE
5681BORDER="0"
5682WIDTH="100%"
5683BGCOLOR="#FFD0D0"
5684CELLSPACING="0"
5685CELLPADDING="4"
5686CLASS="CALSTABLE"
5687><TR
5688><TD
5689WIDTH="20%"
5690ALIGN="RIGHT"
5691VALIGN="TOP"
5692><TT
5693CLASS="PARAMETER"
5694><I
5695>doc</I
5696></TT
5697>&nbsp;:</TD
5698><TD
5699WIDTH="80%"
5700ALIGN="LEFT"
5701VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005702>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005703></TR
5704><TR
5705><TD
5706WIDTH="20%"
5707ALIGN="RIGHT"
5708VALIGN="TOP"
5709><I
5710CLASS="EMPHASIS"
5711>Returns</I
5712> :</TD
5713><TD
5714WIDTH="80%"
5715ALIGN="LEFT"
5716VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005717>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005718></TR
5719></TABLE
5720><P
5721></P
5722></DIV
5723></DIV
5724><HR><DIV
5725CLASS="REFSECT2"
5726><A
Daniel Veillarde356c282001-03-10 12:32:04 +00005727NAME="AEN12510"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005728></A
5729><H3
5730><A
5731NAME="XMLXPATHFREECONTEXT"
5732></A
5733>xmlXPathFreeContext ()</H3
5734><TABLE
5735BORDER="0"
5736BGCOLOR="#D6E8FF"
5737WIDTH="100%"
5738CELLPADDING="6"
5739><TR
5740><TD
5741><PRE
5742CLASS="PROGRAMLISTING"
5743>void xmlXPathFreeContext (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005744HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005745>xmlXPathContextPtr</A
5746> ctxt);</PRE
5747></TD
5748></TR
5749></TABLE
5750><P
5751>Free up an xmlXPathContext</P
5752><P
5753></P
5754><DIV
5755CLASS="INFORMALTABLE"
5756><P
5757></P
5758><TABLE
5759BORDER="0"
5760WIDTH="100%"
5761BGCOLOR="#FFD0D0"
5762CELLSPACING="0"
5763CELLPADDING="4"
5764CLASS="CALSTABLE"
5765><TR
5766><TD
5767WIDTH="20%"
5768ALIGN="RIGHT"
5769VALIGN="TOP"
5770><TT
5771CLASS="PARAMETER"
5772><I
5773>ctxt</I
5774></TT
5775>&nbsp;:</TD
5776><TD
5777WIDTH="80%"
5778ALIGN="LEFT"
5779VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005780>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005781></TR
5782></TABLE
5783><P
5784></P
5785></DIV
5786></DIV
5787><HR><DIV
5788CLASS="REFSECT2"
5789><A
Daniel Veillarde356c282001-03-10 12:32:04 +00005790NAME="AEN12526"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005791></A
5792><H3
5793><A
5794NAME="XMLXPATHEQUALVALUES"
5795></A
5796>xmlXPathEqualValues ()</H3
5797><TABLE
5798BORDER="0"
5799BGCOLOR="#D6E8FF"
5800WIDTH="100%"
5801CELLPADDING="6"
5802><TR
5803><TD
5804><PRE
5805CLASS="PROGRAMLISTING"
5806>int xmlXPathEqualValues (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005807HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005808>xmlXPathParserContextPtr</A
5809> ctxt);</PRE
5810></TD
5811></TR
5812></TABLE
5813><P
5814>Implement the equal operation on XPath objects content: <TT
5815CLASS="PARAMETER"
5816><I
5817>arg1</I
5818></TT
5819> == <TT
5820CLASS="PARAMETER"
5821><I
5822>arg2</I
5823></TT
5824></P
5825><P
5826></P
5827><DIV
5828CLASS="INFORMALTABLE"
5829><P
5830></P
5831><TABLE
5832BORDER="0"
5833WIDTH="100%"
5834BGCOLOR="#FFD0D0"
5835CELLSPACING="0"
5836CELLPADDING="4"
5837CLASS="CALSTABLE"
5838><TR
5839><TD
5840WIDTH="20%"
5841ALIGN="RIGHT"
5842VALIGN="TOP"
5843><TT
5844CLASS="PARAMETER"
5845><I
5846>ctxt</I
5847></TT
5848>&nbsp;:</TD
5849><TD
5850WIDTH="80%"
5851ALIGN="LEFT"
5852VALIGN="TOP"
5853> the XPath Parser context</TD
5854></TR
5855><TR
5856><TD
5857WIDTH="20%"
5858ALIGN="RIGHT"
5859VALIGN="TOP"
5860><I
5861CLASS="EMPHASIS"
5862>Returns</I
5863> :</TD
5864><TD
5865WIDTH="80%"
5866ALIGN="LEFT"
5867VALIGN="TOP"
5868>0 or 1 depending on the results of the test.</TD
5869></TR
5870></TABLE
5871><P
5872></P
5873></DIV
5874></DIV
5875><HR><DIV
5876CLASS="REFSECT2"
5877><A
Daniel Veillarde356c282001-03-10 12:32:04 +00005878NAME="AEN12548"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005879></A
5880><H3
5881><A
5882NAME="XMLXPATHCOMPAREVALUES"
5883></A
5884>xmlXPathCompareValues ()</H3
5885><TABLE
5886BORDER="0"
5887BGCOLOR="#D6E8FF"
5888WIDTH="100%"
5889CELLPADDING="6"
5890><TR
5891><TD
5892><PRE
5893CLASS="PROGRAMLISTING"
5894>int xmlXPathCompareValues (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005895HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005896>xmlXPathParserContextPtr</A
5897> ctxt,
5898 int inf,
5899 int strict);</PRE
5900></TD
5901></TR
5902></TABLE
5903><P
5904>Implement the compare operation on XPath objects:
5905<TT
5906CLASS="PARAMETER"
5907><I
5908>arg1</I
5909></TT
5910> &lt; <TT
5911CLASS="PARAMETER"
5912><I
5913>arg2</I
5914></TT
5915> (1, 1, ...
5916<TT
5917CLASS="PARAMETER"
5918><I
5919>arg1</I
5920></TT
5921> &lt;= <TT
5922CLASS="PARAMETER"
5923><I
5924>arg2</I
5925></TT
5926> (1, 0, ...
5927<TT
5928CLASS="PARAMETER"
5929><I
5930>arg1</I
5931></TT
5932> &gt; <TT
5933CLASS="PARAMETER"
5934><I
5935>arg2</I
5936></TT
5937> (0, 1, ...
5938<TT
5939CLASS="PARAMETER"
5940><I
5941>arg1</I
5942></TT
5943> &gt;= <TT
5944CLASS="PARAMETER"
5945><I
5946>arg2</I
5947></TT
5948> (0, 0, ...</P
5949><P
5950>When neither object to be compared is a node-set and the operator is
5951&lt;=, &lt;, &gt;=, &gt;, then the objects are compared by converted both objects
5952to numbers and comparing the numbers according to IEEE 754. The &lt;
5953comparison will be true if and only if the first number is less than the
5954second number. The &lt;= comparison will be true if and only if the first
5955number is less than or equal to the second number. The &gt; comparison
5956will be true if and only if the first number is greater than the second
5957number. The &gt;= comparison will be true if and only if the first number
5958is greater than or equal to the second number.</P
5959><P
5960></P
5961><DIV
5962CLASS="INFORMALTABLE"
5963><P
5964></P
5965><TABLE
5966BORDER="0"
5967WIDTH="100%"
5968BGCOLOR="#FFD0D0"
5969CELLSPACING="0"
5970CELLPADDING="4"
5971CLASS="CALSTABLE"
5972><TR
5973><TD
5974WIDTH="20%"
5975ALIGN="RIGHT"
5976VALIGN="TOP"
5977><TT
5978CLASS="PARAMETER"
5979><I
5980>ctxt</I
5981></TT
5982>&nbsp;:</TD
5983><TD
5984WIDTH="80%"
5985ALIGN="LEFT"
5986VALIGN="TOP"
5987> the XPath Parser context</TD
5988></TR
5989><TR
5990><TD
5991WIDTH="20%"
5992ALIGN="RIGHT"
5993VALIGN="TOP"
5994><TT
5995CLASS="PARAMETER"
5996><I
5997>inf</I
5998></TT
5999>&nbsp;:</TD
6000><TD
6001WIDTH="80%"
6002ALIGN="LEFT"
6003VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006004> less than (1) or greater than (0)</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006005></TR
6006><TR
6007><TD
6008WIDTH="20%"
6009ALIGN="RIGHT"
6010VALIGN="TOP"
6011><TT
6012CLASS="PARAMETER"
6013><I
6014>strict</I
6015></TT
6016>&nbsp;:</TD
6017><TD
6018WIDTH="80%"
6019ALIGN="LEFT"
6020VALIGN="TOP"
6021> is the comparison strict</TD
6022></TR
6023><TR
6024><TD
6025WIDTH="20%"
6026ALIGN="RIGHT"
6027VALIGN="TOP"
6028><I
6029CLASS="EMPHASIS"
6030>Returns</I
6031> :</TD
6032><TD
6033WIDTH="80%"
6034ALIGN="LEFT"
6035VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006036>1 if the comparaison succeeded, 0 if it failed</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006037></TR
6038></TABLE
6039><P
6040></P
6041></DIV
6042></DIV
6043><HR><DIV
6044CLASS="REFSECT2"
6045><A
Daniel Veillarde356c282001-03-10 12:32:04 +00006046NAME="AEN12585"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006047></A
6048><H3
6049><A
6050NAME="XMLXPATHVALUEFLIPSIGN"
6051></A
6052>xmlXPathValueFlipSign ()</H3
6053><TABLE
6054BORDER="0"
6055BGCOLOR="#D6E8FF"
6056WIDTH="100%"
6057CELLPADDING="6"
6058><TR
6059><TD
6060><PRE
6061CLASS="PROGRAMLISTING"
6062>void xmlXPathValueFlipSign (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006063HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006064>xmlXPathParserContextPtr</A
6065> ctxt);</PRE
6066></TD
6067></TR
6068></TABLE
6069><P
6070>Implement the unary - operation on an XPath object
6071The numeric operators convert their operands to numbers as if
6072by calling the number function.</P
6073><P
6074></P
6075><DIV
6076CLASS="INFORMALTABLE"
6077><P
6078></P
6079><TABLE
6080BORDER="0"
6081WIDTH="100%"
6082BGCOLOR="#FFD0D0"
6083CELLSPACING="0"
6084CELLPADDING="4"
6085CLASS="CALSTABLE"
6086><TR
6087><TD
6088WIDTH="20%"
6089ALIGN="RIGHT"
6090VALIGN="TOP"
6091><TT
6092CLASS="PARAMETER"
6093><I
6094>ctxt</I
6095></TT
6096>&nbsp;:</TD
6097><TD
6098WIDTH="80%"
6099ALIGN="LEFT"
6100VALIGN="TOP"
6101> the XPath Parser context</TD
6102></TR
6103></TABLE
6104><P
6105></P
6106></DIV
6107></DIV
6108><HR><DIV
6109CLASS="REFSECT2"
6110><A
Daniel Veillarde356c282001-03-10 12:32:04 +00006111NAME="AEN12601"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006112></A
6113><H3
6114><A
6115NAME="XMLXPATHADDVALUES"
6116></A
6117>xmlXPathAddValues ()</H3
6118><TABLE
6119BORDER="0"
6120BGCOLOR="#D6E8FF"
6121WIDTH="100%"
6122CELLPADDING="6"
6123><TR
6124><TD
6125><PRE
6126CLASS="PROGRAMLISTING"
6127>void xmlXPathAddValues (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006128HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006129>xmlXPathParserContextPtr</A
6130> ctxt);</PRE
6131></TD
6132></TR
6133></TABLE
6134><P
6135>Implement the add operation on XPath objects:
6136The numeric operators convert their operands to numbers as if
6137by calling the number function.</P
6138><P
6139></P
6140><DIV
6141CLASS="INFORMALTABLE"
6142><P
6143></P
6144><TABLE
6145BORDER="0"
6146WIDTH="100%"
6147BGCOLOR="#FFD0D0"
6148CELLSPACING="0"
6149CELLPADDING="4"
6150CLASS="CALSTABLE"
6151><TR
6152><TD
6153WIDTH="20%"
6154ALIGN="RIGHT"
6155VALIGN="TOP"
6156><TT
6157CLASS="PARAMETER"
6158><I
6159>ctxt</I
6160></TT
6161>&nbsp;:</TD
6162><TD
6163WIDTH="80%"
6164ALIGN="LEFT"
6165VALIGN="TOP"
6166> the XPath Parser context</TD
6167></TR
6168></TABLE
6169><P
6170></P
6171></DIV
6172></DIV
6173><HR><DIV
6174CLASS="REFSECT2"
6175><A
Daniel Veillarde356c282001-03-10 12:32:04 +00006176NAME="AEN12617"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006177></A
6178><H3
6179><A
6180NAME="XMLXPATHSUBVALUES"
6181></A
6182>xmlXPathSubValues ()</H3
6183><TABLE
6184BORDER="0"
6185BGCOLOR="#D6E8FF"
6186WIDTH="100%"
6187CELLPADDING="6"
6188><TR
6189><TD
6190><PRE
6191CLASS="PROGRAMLISTING"
6192>void xmlXPathSubValues (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006193HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006194>xmlXPathParserContextPtr</A
6195> ctxt);</PRE
6196></TD
6197></TR
6198></TABLE
6199><P
6200>Implement the substraction operation on XPath objects:
6201The numeric operators convert their operands to numbers as if
6202by calling the number function.</P
6203><P
6204></P
6205><DIV
6206CLASS="INFORMALTABLE"
6207><P
6208></P
6209><TABLE
6210BORDER="0"
6211WIDTH="100%"
6212BGCOLOR="#FFD0D0"
6213CELLSPACING="0"
6214CELLPADDING="4"
6215CLASS="CALSTABLE"
6216><TR
6217><TD
6218WIDTH="20%"
6219ALIGN="RIGHT"
6220VALIGN="TOP"
6221><TT
6222CLASS="PARAMETER"
6223><I
6224>ctxt</I
6225></TT
6226>&nbsp;:</TD
6227><TD
6228WIDTH="80%"
6229ALIGN="LEFT"
6230VALIGN="TOP"
6231> the XPath Parser context</TD
6232></TR
6233></TABLE
6234><P
6235></P
6236></DIV
6237></DIV
6238><HR><DIV
6239CLASS="REFSECT2"
6240><A
Daniel Veillarde356c282001-03-10 12:32:04 +00006241NAME="AEN12633"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006242></A
6243><H3
6244><A
6245NAME="XMLXPATHMULTVALUES"
6246></A
6247>xmlXPathMultValues ()</H3
6248><TABLE
6249BORDER="0"
6250BGCOLOR="#D6E8FF"
6251WIDTH="100%"
6252CELLPADDING="6"
6253><TR
6254><TD
6255><PRE
6256CLASS="PROGRAMLISTING"
6257>void xmlXPathMultValues (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006258HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006259>xmlXPathParserContextPtr</A
6260> ctxt);</PRE
6261></TD
6262></TR
6263></TABLE
6264><P
6265>Implement the multiply operation on XPath objects:
6266The numeric operators convert their operands to numbers as if
6267by calling the number function.</P
6268><P
6269></P
6270><DIV
6271CLASS="INFORMALTABLE"
6272><P
6273></P
6274><TABLE
6275BORDER="0"
6276WIDTH="100%"
6277BGCOLOR="#FFD0D0"
6278CELLSPACING="0"
6279CELLPADDING="4"
6280CLASS="CALSTABLE"
6281><TR
6282><TD
6283WIDTH="20%"
6284ALIGN="RIGHT"
6285VALIGN="TOP"
6286><TT
6287CLASS="PARAMETER"
6288><I
6289>ctxt</I
6290></TT
6291>&nbsp;:</TD
6292><TD
6293WIDTH="80%"
6294ALIGN="LEFT"
6295VALIGN="TOP"
6296> the XPath Parser context</TD
6297></TR
6298></TABLE
6299><P
6300></P
6301></DIV
6302></DIV
6303><HR><DIV
6304CLASS="REFSECT2"
6305><A
Daniel Veillarde356c282001-03-10 12:32:04 +00006306NAME="AEN12649"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006307></A
6308><H3
6309><A
6310NAME="XMLXPATHDIVVALUES"
6311></A
6312>xmlXPathDivValues ()</H3
6313><TABLE
6314BORDER="0"
6315BGCOLOR="#D6E8FF"
6316WIDTH="100%"
6317CELLPADDING="6"
6318><TR
6319><TD
6320><PRE
6321CLASS="PROGRAMLISTING"
6322>void xmlXPathDivValues (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006323HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006324>xmlXPathParserContextPtr</A
6325> ctxt);</PRE
6326></TD
6327></TR
6328></TABLE
6329><P
Daniel Veillardd194dd22001-02-14 10:37:43 +00006330>Implement the div operation on XPath objects <TT
6331CLASS="PARAMETER"
6332><I
6333>arg1</I
6334></TT
6335> / <TT
6336CLASS="PARAMETER"
6337><I
6338>arg2</I
6339></TT
6340>:
Daniel Veillard9753ad72000-11-13 19:12:23 +00006341The numeric operators convert their operands to numbers as if
6342by calling the number function.</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></TABLE
6374><P
6375></P
6376></DIV
6377></DIV
6378><HR><DIV
6379CLASS="REFSECT2"
6380><A
Daniel Veillarde356c282001-03-10 12:32:04 +00006381NAME="AEN12667"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006382></A
6383><H3
6384><A
6385NAME="XMLXPATHMODVALUES"
6386></A
6387>xmlXPathModValues ()</H3
6388><TABLE
6389BORDER="0"
6390BGCOLOR="#D6E8FF"
6391WIDTH="100%"
6392CELLPADDING="6"
6393><TR
6394><TD
6395><PRE
6396CLASS="PROGRAMLISTING"
6397>void xmlXPathModValues (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006398HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006399>xmlXPathParserContextPtr</A
6400> ctxt);</PRE
6401></TD
6402></TR
6403></TABLE
6404><P
Daniel Veillardd194dd22001-02-14 10:37:43 +00006405>Implement the mod operation on XPath objects: <TT
Daniel Veillard9753ad72000-11-13 19:12:23 +00006406CLASS="PARAMETER"
6407><I
6408>arg1</I
6409></TT
6410> / <TT
6411CLASS="PARAMETER"
6412><I
6413>arg2</I
6414></TT
6415>
6416The numeric operators convert their operands to numbers as if
6417by calling the number function.</P
6418><P
6419></P
6420><DIV
6421CLASS="INFORMALTABLE"
6422><P
6423></P
6424><TABLE
6425BORDER="0"
6426WIDTH="100%"
6427BGCOLOR="#FFD0D0"
6428CELLSPACING="0"
6429CELLPADDING="4"
6430CLASS="CALSTABLE"
6431><TR
6432><TD
6433WIDTH="20%"
6434ALIGN="RIGHT"
6435VALIGN="TOP"
6436><TT
6437CLASS="PARAMETER"
6438><I
6439>ctxt</I
6440></TT
6441>&nbsp;:</TD
6442><TD
6443WIDTH="80%"
6444ALIGN="LEFT"
6445VALIGN="TOP"
6446> the XPath Parser context</TD
6447></TR
6448></TABLE
6449><P
6450></P
6451></DIV
6452></DIV
6453><HR><DIV
6454CLASS="REFSECT2"
6455><A
Daniel Veillarde356c282001-03-10 12:32:04 +00006456NAME="AEN12685"
6457></A
6458><H3
6459><A
6460NAME="XMLXPATHNEXTPRECEDING"
6461></A
6462>xmlXPathNextPreceding ()</H3
6463><TABLE
6464BORDER="0"
6465BGCOLOR="#D6E8FF"
6466WIDTH="100%"
6467CELLPADDING="6"
6468><TR
6469><TD
6470><PRE
6471CLASS="PROGRAMLISTING"
6472><A
6473HREF="libxml-tree.html#XMLNODEPTR"
6474>xmlNodePtr</A
6475> xmlXPathNextPreceding (<A
6476HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
6477>xmlXPathParserContextPtr</A
6478> ctxt,
6479 <A
6480HREF="libxml-tree.html#XMLNODEPTR"
6481>xmlNodePtr</A
6482> cur);</PRE
6483></TD
6484></TR
6485></TABLE
6486><P
6487>Traversal function for the "preceding" direction
6488the preceding axis contains all nodes in the same document as the context
6489node that are before the context node in document order, excluding any
6490ancestors and excluding attribute nodes and namespace nodes; the nodes are
6491ordered in reverse document order</P
6492><P
6493></P
6494><DIV
6495CLASS="INFORMALTABLE"
6496><P
6497></P
6498><TABLE
6499BORDER="0"
6500WIDTH="100%"
6501BGCOLOR="#FFD0D0"
6502CELLSPACING="0"
6503CELLPADDING="4"
6504CLASS="CALSTABLE"
6505><TR
6506><TD
6507WIDTH="20%"
6508ALIGN="RIGHT"
6509VALIGN="TOP"
6510><TT
6511CLASS="PARAMETER"
6512><I
6513>ctxt</I
6514></TT
6515>&nbsp;:</TD
6516><TD
6517WIDTH="80%"
6518ALIGN="LEFT"
6519VALIGN="TOP"
6520> the XPath Parser context</TD
6521></TR
6522><TR
6523><TD
6524WIDTH="20%"
6525ALIGN="RIGHT"
6526VALIGN="TOP"
6527><TT
6528CLASS="PARAMETER"
6529><I
6530>cur</I
6531></TT
6532>&nbsp;:</TD
6533><TD
6534WIDTH="80%"
6535ALIGN="LEFT"
6536VALIGN="TOP"
6537> the current node in the traversal</TD
6538></TR
6539><TR
6540><TD
6541WIDTH="20%"
6542ALIGN="RIGHT"
6543VALIGN="TOP"
6544><I
6545CLASS="EMPHASIS"
6546>Returns</I
6547> :</TD
6548><TD
6549WIDTH="80%"
6550ALIGN="LEFT"
6551VALIGN="TOP"
6552>the next element following that axis</TD
6553></TR
6554></TABLE
6555><P
6556></P
6557></DIV
6558></DIV
6559><HR><DIV
6560CLASS="REFSECT2"
6561><A
6562NAME="AEN12711"
6563></A
6564><H3
6565><A
6566NAME="XMLXPATHNEXTANCESTOR"
6567></A
6568>xmlXPathNextAncestor ()</H3
6569><TABLE
6570BORDER="0"
6571BGCOLOR="#D6E8FF"
6572WIDTH="100%"
6573CELLPADDING="6"
6574><TR
6575><TD
6576><PRE
6577CLASS="PROGRAMLISTING"
6578><A
6579HREF="libxml-tree.html#XMLNODEPTR"
6580>xmlNodePtr</A
6581> xmlXPathNextAncestor (<A
6582HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
6583>xmlXPathParserContextPtr</A
6584> ctxt,
6585 <A
6586HREF="libxml-tree.html#XMLNODEPTR"
6587>xmlNodePtr</A
6588> cur);</PRE
6589></TD
6590></TR
6591></TABLE
6592><P
6593>Traversal function for the "ancestor" direction
6594the ancestor axis contains the ancestors of the context node; the ancestors
6595of the context node consist of the parent of context node and the parent's
6596parent and so on; the nodes are ordered in reverse document order; thus the
6597parent is the first node on the axis, and the parent's parent is the second
6598node on the axis</P
6599><P
6600></P
6601><DIV
6602CLASS="INFORMALTABLE"
6603><P
6604></P
6605><TABLE
6606BORDER="0"
6607WIDTH="100%"
6608BGCOLOR="#FFD0D0"
6609CELLSPACING="0"
6610CELLPADDING="4"
6611CLASS="CALSTABLE"
6612><TR
6613><TD
6614WIDTH="20%"
6615ALIGN="RIGHT"
6616VALIGN="TOP"
6617><TT
6618CLASS="PARAMETER"
6619><I
6620>ctxt</I
6621></TT
6622>&nbsp;:</TD
6623><TD
6624WIDTH="80%"
6625ALIGN="LEFT"
6626VALIGN="TOP"
6627> the XPath Parser context</TD
6628></TR
6629><TR
6630><TD
6631WIDTH="20%"
6632ALIGN="RIGHT"
6633VALIGN="TOP"
6634><TT
6635CLASS="PARAMETER"
6636><I
6637>cur</I
6638></TT
6639>&nbsp;:</TD
6640><TD
6641WIDTH="80%"
6642ALIGN="LEFT"
6643VALIGN="TOP"
6644> the current node in the traversal</TD
6645></TR
6646><TR
6647><TD
6648WIDTH="20%"
6649ALIGN="RIGHT"
6650VALIGN="TOP"
6651><I
6652CLASS="EMPHASIS"
6653>Returns</I
6654> :</TD
6655><TD
6656WIDTH="80%"
6657ALIGN="LEFT"
6658VALIGN="TOP"
6659>the next element following that axis</TD
6660></TR
6661></TABLE
6662><P
6663></P
6664></DIV
6665></DIV
6666><HR><DIV
6667CLASS="REFSECT2"
6668><A
6669NAME="AEN12737"
6670></A
6671><H3
6672><A
6673NAME="XMLXPATHNEXTPRECEDINGSIBLING"
6674></A
6675>xmlXPathNextPrecedingSibling ()</H3
6676><TABLE
6677BORDER="0"
6678BGCOLOR="#D6E8FF"
6679WIDTH="100%"
6680CELLPADDING="6"
6681><TR
6682><TD
6683><PRE
6684CLASS="PROGRAMLISTING"
6685><A
6686HREF="libxml-tree.html#XMLNODEPTR"
6687>xmlNodePtr</A
6688> xmlXPathNextPrecedingSibling (<A
6689HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
6690>xmlXPathParserContextPtr</A
6691> ctxt,
6692 <A
6693HREF="libxml-tree.html#XMLNODEPTR"
6694>xmlNodePtr</A
6695> cur);</PRE
6696></TD
6697></TR
6698></TABLE
6699><P
6700>Traversal function for the "preceding-sibling" direction
6701The preceding-sibling axis contains the preceding siblings of the context
6702node in reverse document order; the first preceding sibling is first on the
6703axis; the sibling preceding that node is the second on the axis and so on.</P
6704><P
6705></P
6706><DIV
6707CLASS="INFORMALTABLE"
6708><P
6709></P
6710><TABLE
6711BORDER="0"
6712WIDTH="100%"
6713BGCOLOR="#FFD0D0"
6714CELLSPACING="0"
6715CELLPADDING="4"
6716CLASS="CALSTABLE"
6717><TR
6718><TD
6719WIDTH="20%"
6720ALIGN="RIGHT"
6721VALIGN="TOP"
6722><TT
6723CLASS="PARAMETER"
6724><I
6725>ctxt</I
6726></TT
6727>&nbsp;:</TD
6728><TD
6729WIDTH="80%"
6730ALIGN="LEFT"
6731VALIGN="TOP"
6732> the XPath Parser context</TD
6733></TR
6734><TR
6735><TD
6736WIDTH="20%"
6737ALIGN="RIGHT"
6738VALIGN="TOP"
6739><TT
6740CLASS="PARAMETER"
6741><I
6742>cur</I
6743></TT
6744>&nbsp;:</TD
6745><TD
6746WIDTH="80%"
6747ALIGN="LEFT"
6748VALIGN="TOP"
6749> the current node in the traversal</TD
6750></TR
6751><TR
6752><TD
6753WIDTH="20%"
6754ALIGN="RIGHT"
6755VALIGN="TOP"
6756><I
6757CLASS="EMPHASIS"
6758>Returns</I
6759> :</TD
6760><TD
6761WIDTH="80%"
6762ALIGN="LEFT"
6763VALIGN="TOP"
6764>the next element following that axis</TD
6765></TR
6766></TABLE
6767><P
6768></P
6769></DIV
6770></DIV
6771><HR><DIV
6772CLASS="REFSECT2"
6773><A
6774NAME="AEN12763"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006775></A
6776><H3
6777><A
6778NAME="XMLXPATHLASTFUNCTION"
6779></A
6780>xmlXPathLastFunction ()</H3
6781><TABLE
6782BORDER="0"
6783BGCOLOR="#D6E8FF"
6784WIDTH="100%"
6785CELLPADDING="6"
6786><TR
6787><TD
6788><PRE
6789CLASS="PROGRAMLISTING"
6790>void xmlXPathLastFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006791HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006792>xmlXPathParserContextPtr</A
6793> ctxt,
6794 int nargs);</PRE
6795></TD
6796></TR
6797></TABLE
6798><P
6799>Implement the <GTKDOCLINK
6800HREF="LAST"
6801>last</GTKDOCLINK
6802>() XPath function
6803number <GTKDOCLINK
6804HREF="LAST"
6805>last</GTKDOCLINK
6806>()
6807The last function returns the number of nodes in the context node list.</P
6808><P
6809></P
6810><DIV
6811CLASS="INFORMALTABLE"
6812><P
6813></P
6814><TABLE
6815BORDER="0"
6816WIDTH="100%"
6817BGCOLOR="#FFD0D0"
6818CELLSPACING="0"
6819CELLPADDING="4"
6820CLASS="CALSTABLE"
6821><TR
6822><TD
6823WIDTH="20%"
6824ALIGN="RIGHT"
6825VALIGN="TOP"
6826><TT
6827CLASS="PARAMETER"
6828><I
6829>ctxt</I
6830></TT
6831>&nbsp;:</TD
6832><TD
6833WIDTH="80%"
6834ALIGN="LEFT"
6835VALIGN="TOP"
6836> the XPath Parser context</TD
6837></TR
6838><TR
6839><TD
6840WIDTH="20%"
6841ALIGN="RIGHT"
6842VALIGN="TOP"
6843><TT
6844CLASS="PARAMETER"
6845><I
6846>nargs</I
6847></TT
6848>&nbsp;:</TD
6849><TD
6850WIDTH="80%"
6851ALIGN="LEFT"
6852VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006853> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006854></TR
6855></TABLE
6856><P
6857></P
6858></DIV
6859></DIV
6860><HR><DIV
6861CLASS="REFSECT2"
6862><A
Daniel Veillarde356c282001-03-10 12:32:04 +00006863NAME="AEN12785"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006864></A
6865><H3
6866><A
6867NAME="XMLXPATHPOSITIONFUNCTION"
6868></A
6869>xmlXPathPositionFunction ()</H3
6870><TABLE
6871BORDER="0"
6872BGCOLOR="#D6E8FF"
6873WIDTH="100%"
6874CELLPADDING="6"
6875><TR
6876><TD
6877><PRE
6878CLASS="PROGRAMLISTING"
6879>void xmlXPathPositionFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006880HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006881>xmlXPathParserContextPtr</A
6882> ctxt,
6883 int nargs);</PRE
6884></TD
6885></TR
6886></TABLE
6887><P
6888>Implement the <GTKDOCLINK
6889HREF="POSITION"
6890>position</GTKDOCLINK
6891>() XPath function
6892number <GTKDOCLINK
6893HREF="POSITION"
6894>position</GTKDOCLINK
6895>()
6896The position function returns the position of the context node in the
6897context node list. The first position is 1, and so the last positionr
6898will be equal to <GTKDOCLINK
6899HREF="LAST"
6900>last</GTKDOCLINK
6901>().</P
6902><P
6903></P
6904><DIV
6905CLASS="INFORMALTABLE"
6906><P
6907></P
6908><TABLE
6909BORDER="0"
6910WIDTH="100%"
6911BGCOLOR="#FFD0D0"
6912CELLSPACING="0"
6913CELLPADDING="4"
6914CLASS="CALSTABLE"
6915><TR
6916><TD
6917WIDTH="20%"
6918ALIGN="RIGHT"
6919VALIGN="TOP"
6920><TT
6921CLASS="PARAMETER"
6922><I
6923>ctxt</I
6924></TT
6925>&nbsp;:</TD
6926><TD
6927WIDTH="80%"
6928ALIGN="LEFT"
6929VALIGN="TOP"
6930> the XPath Parser context</TD
6931></TR
6932><TR
6933><TD
6934WIDTH="20%"
6935ALIGN="RIGHT"
6936VALIGN="TOP"
6937><TT
6938CLASS="PARAMETER"
6939><I
6940>nargs</I
6941></TT
6942>&nbsp;:</TD
6943><TD
6944WIDTH="80%"
6945ALIGN="LEFT"
6946VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006947> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006948></TR
6949></TABLE
6950><P
6951></P
6952></DIV
6953></DIV
6954><HR><DIV
6955CLASS="REFSECT2"
6956><A
Daniel Veillarde356c282001-03-10 12:32:04 +00006957NAME="AEN12808"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006958></A
6959><H3
6960><A
6961NAME="XMLXPATHCOUNTFUNCTION"
6962></A
6963>xmlXPathCountFunction ()</H3
6964><TABLE
6965BORDER="0"
6966BGCOLOR="#D6E8FF"
6967WIDTH="100%"
6968CELLPADDING="6"
6969><TR
6970><TD
6971><PRE
6972CLASS="PROGRAMLISTING"
6973>void xmlXPathCountFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006974HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006975>xmlXPathParserContextPtr</A
6976> ctxt,
6977 int nargs);</PRE
6978></TD
6979></TR
6980></TABLE
6981><P
6982>Implement the <GTKDOCLINK
6983HREF="COUNT"
6984>count</GTKDOCLINK
6985>() XPath function
6986number count(node-set)</P
6987><P
6988></P
6989><DIV
6990CLASS="INFORMALTABLE"
6991><P
6992></P
6993><TABLE
6994BORDER="0"
6995WIDTH="100%"
6996BGCOLOR="#FFD0D0"
6997CELLSPACING="0"
6998CELLPADDING="4"
6999CLASS="CALSTABLE"
7000><TR
7001><TD
7002WIDTH="20%"
7003ALIGN="RIGHT"
7004VALIGN="TOP"
7005><TT
7006CLASS="PARAMETER"
7007><I
7008>ctxt</I
7009></TT
7010>&nbsp;:</TD
7011><TD
7012WIDTH="80%"
7013ALIGN="LEFT"
7014VALIGN="TOP"
7015> the XPath Parser context</TD
7016></TR
7017><TR
7018><TD
7019WIDTH="20%"
7020ALIGN="RIGHT"
7021VALIGN="TOP"
7022><TT
7023CLASS="PARAMETER"
7024><I
7025>nargs</I
7026></TT
7027>&nbsp;:</TD
7028><TD
7029WIDTH="80%"
7030ALIGN="LEFT"
7031VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007032> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007033></TR
7034></TABLE
7035><P
7036></P
7037></DIV
7038></DIV
7039><HR><DIV
7040CLASS="REFSECT2"
7041><A
Daniel Veillarde356c282001-03-10 12:32:04 +00007042NAME="AEN12829"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007043></A
7044><H3
7045><A
7046NAME="XMLXPATHLOCALNAMEFUNCTION"
7047></A
7048>xmlXPathLocalNameFunction ()</H3
7049><TABLE
7050BORDER="0"
7051BGCOLOR="#D6E8FF"
7052WIDTH="100%"
7053CELLPADDING="6"
7054><TR
7055><TD
7056><PRE
7057CLASS="PROGRAMLISTING"
7058>void xmlXPathLocalNameFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007059HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007060>xmlXPathParserContextPtr</A
7061> ctxt,
7062 int nargs);</PRE
7063></TD
7064></TR
7065></TABLE
7066><P
7067>Implement the local-<GTKDOCLINK
7068HREF="NAME"
7069>name</GTKDOCLINK
7070>() XPath function
7071string local-name(node-set?)
7072The local-name function returns a string containing the local part
7073of the name of the node in the argument node-set that is first in
7074document order. If the node-set is empty or the first node has no
7075name, an empty string is returned. If the argument is omitted it
7076defaults to the context node.</P
7077><P
7078></P
7079><DIV
7080CLASS="INFORMALTABLE"
7081><P
7082></P
7083><TABLE
7084BORDER="0"
7085WIDTH="100%"
7086BGCOLOR="#FFD0D0"
7087CELLSPACING="0"
7088CELLPADDING="4"
7089CLASS="CALSTABLE"
7090><TR
7091><TD
7092WIDTH="20%"
7093ALIGN="RIGHT"
7094VALIGN="TOP"
7095><TT
7096CLASS="PARAMETER"
7097><I
7098>ctxt</I
7099></TT
7100>&nbsp;:</TD
7101><TD
7102WIDTH="80%"
7103ALIGN="LEFT"
7104VALIGN="TOP"
7105> the XPath Parser context</TD
7106></TR
7107><TR
7108><TD
7109WIDTH="20%"
7110ALIGN="RIGHT"
7111VALIGN="TOP"
7112><TT
7113CLASS="PARAMETER"
7114><I
7115>nargs</I
7116></TT
7117>&nbsp;:</TD
7118><TD
7119WIDTH="80%"
7120ALIGN="LEFT"
7121VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007122> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007123></TR
7124></TABLE
7125><P
7126></P
7127></DIV
7128></DIV
7129><HR><DIV
7130CLASS="REFSECT2"
7131><A
Daniel Veillarde356c282001-03-10 12:32:04 +00007132NAME="AEN12850"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007133></A
7134><H3
7135><A
7136NAME="XMLXPATHNAMESPACEURIFUNCTION"
7137></A
7138>xmlXPathNamespaceURIFunction ()</H3
7139><TABLE
7140BORDER="0"
7141BGCOLOR="#D6E8FF"
7142WIDTH="100%"
7143CELLPADDING="6"
7144><TR
7145><TD
7146><PRE
7147CLASS="PROGRAMLISTING"
7148>void xmlXPathNamespaceURIFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007149HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007150>xmlXPathParserContextPtr</A
7151> ctxt,
7152 int nargs);</PRE
7153></TD
7154></TR
7155></TABLE
7156><P
7157>Implement the namespace-<GTKDOCLINK
7158HREF="URI"
7159>uri</GTKDOCLINK
7160>() XPath function
7161string namespace-uri(node-set?)
7162The namespace-uri function returns a string containing the
7163namespace URI of the expanded name of the node in the argument
7164node-set that is first in document order. If the node-set is empty,
7165the first node has no name, or the expanded name has no namespace
7166URI, an empty string is returned. If the argument is omitted it
7167defaults to the context node.</P
7168><P
7169></P
7170><DIV
7171CLASS="INFORMALTABLE"
7172><P
7173></P
7174><TABLE
7175BORDER="0"
7176WIDTH="100%"
7177BGCOLOR="#FFD0D0"
7178CELLSPACING="0"
7179CELLPADDING="4"
7180CLASS="CALSTABLE"
7181><TR
7182><TD
7183WIDTH="20%"
7184ALIGN="RIGHT"
7185VALIGN="TOP"
7186><TT
7187CLASS="PARAMETER"
7188><I
7189>ctxt</I
7190></TT
7191>&nbsp;:</TD
7192><TD
7193WIDTH="80%"
7194ALIGN="LEFT"
7195VALIGN="TOP"
7196> the XPath Parser context</TD
7197></TR
7198><TR
7199><TD
7200WIDTH="20%"
7201ALIGN="RIGHT"
7202VALIGN="TOP"
7203><TT
7204CLASS="PARAMETER"
7205><I
7206>nargs</I
7207></TT
7208>&nbsp;:</TD
7209><TD
7210WIDTH="80%"
7211ALIGN="LEFT"
7212VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007213> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007214></TR
7215></TABLE
7216><P
7217></P
7218></DIV
7219></DIV
7220><HR><DIV
7221CLASS="REFSECT2"
7222><A
Daniel Veillarde356c282001-03-10 12:32:04 +00007223NAME="AEN12871"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007224></A
7225><H3
7226><A
7227NAME="XMLXPATHSTRINGLENGTHFUNCTION"
7228></A
7229>xmlXPathStringLengthFunction ()</H3
7230><TABLE
7231BORDER="0"
7232BGCOLOR="#D6E8FF"
7233WIDTH="100%"
7234CELLPADDING="6"
7235><TR
7236><TD
7237><PRE
7238CLASS="PROGRAMLISTING"
7239>void xmlXPathStringLengthFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007240HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007241>xmlXPathParserContextPtr</A
7242> ctxt,
7243 int nargs);</PRE
7244></TD
7245></TR
7246></TABLE
7247><P
7248>Implement the string-<GTKDOCLINK
7249HREF="LENGTH"
7250>length</GTKDOCLINK
7251>() XPath function
7252number string-length(string?)
7253The string-length returns the number of characters in the string
7254(see [3.6 Strings]). If the argument is omitted, it defaults to
7255the context node converted to a string, in other words the value
7256of the context node.</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"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007302> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007303></TR
7304></TABLE
7305><P
7306></P
7307></DIV
7308></DIV
7309><HR><DIV
7310CLASS="REFSECT2"
7311><A
Daniel Veillarde356c282001-03-10 12:32:04 +00007312NAME="AEN12892"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007313></A
7314><H3
7315><A
7316NAME="XMLXPATHCONCATFUNCTION"
7317></A
7318>xmlXPathConcatFunction ()</H3
7319><TABLE
7320BORDER="0"
7321BGCOLOR="#D6E8FF"
7322WIDTH="100%"
7323CELLPADDING="6"
7324><TR
7325><TD
7326><PRE
7327CLASS="PROGRAMLISTING"
7328>void xmlXPathConcatFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007329HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007330>xmlXPathParserContextPtr</A
7331> ctxt,
7332 int nargs);</PRE
7333></TD
7334></TR
7335></TABLE
7336><P
7337>Implement the <GTKDOCLINK
7338HREF="CONCAT"
7339>concat</GTKDOCLINK
7340>() XPath function
7341string concat(string, string, string*)
7342The concat function returns the concatenation of its arguments.</P
7343><P
7344></P
7345><DIV
7346CLASS="INFORMALTABLE"
7347><P
7348></P
7349><TABLE
7350BORDER="0"
7351WIDTH="100%"
7352BGCOLOR="#FFD0D0"
7353CELLSPACING="0"
7354CELLPADDING="4"
7355CLASS="CALSTABLE"
7356><TR
7357><TD
7358WIDTH="20%"
7359ALIGN="RIGHT"
7360VALIGN="TOP"
7361><TT
7362CLASS="PARAMETER"
7363><I
7364>ctxt</I
7365></TT
7366>&nbsp;:</TD
7367><TD
7368WIDTH="80%"
7369ALIGN="LEFT"
7370VALIGN="TOP"
7371> the XPath Parser context</TD
7372></TR
7373><TR
7374><TD
7375WIDTH="20%"
7376ALIGN="RIGHT"
7377VALIGN="TOP"
7378><TT
7379CLASS="PARAMETER"
7380><I
7381>nargs</I
7382></TT
7383>&nbsp;:</TD
7384><TD
7385WIDTH="80%"
7386ALIGN="LEFT"
7387VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007388> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007389></TR
7390></TABLE
7391><P
7392></P
7393></DIV
7394></DIV
7395><HR><DIV
7396CLASS="REFSECT2"
7397><A
Daniel Veillarde356c282001-03-10 12:32:04 +00007398NAME="AEN12913"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007399></A
7400><H3
7401><A
7402NAME="XMLXPATHCONTAINSFUNCTION"
7403></A
7404>xmlXPathContainsFunction ()</H3
7405><TABLE
7406BORDER="0"
7407BGCOLOR="#D6E8FF"
7408WIDTH="100%"
7409CELLPADDING="6"
7410><TR
7411><TD
7412><PRE
7413CLASS="PROGRAMLISTING"
7414>void xmlXPathContainsFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007415HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007416>xmlXPathParserContextPtr</A
7417> ctxt,
7418 int nargs);</PRE
7419></TD
7420></TR
7421></TABLE
7422><P
7423>Implement the <GTKDOCLINK
7424HREF="CONTAINS"
7425>contains</GTKDOCLINK
7426>() XPath function
7427boolean contains(string, string)
7428The contains function returns true if the first argument string
7429contains the second argument string, and otherwise returns false.</P
7430><P
7431></P
7432><DIV
7433CLASS="INFORMALTABLE"
7434><P
7435></P
7436><TABLE
7437BORDER="0"
7438WIDTH="100%"
7439BGCOLOR="#FFD0D0"
7440CELLSPACING="0"
7441CELLPADDING="4"
7442CLASS="CALSTABLE"
7443><TR
7444><TD
7445WIDTH="20%"
7446ALIGN="RIGHT"
7447VALIGN="TOP"
7448><TT
7449CLASS="PARAMETER"
7450><I
7451>ctxt</I
7452></TT
7453>&nbsp;:</TD
7454><TD
7455WIDTH="80%"
7456ALIGN="LEFT"
7457VALIGN="TOP"
7458> the XPath Parser context</TD
7459></TR
7460><TR
7461><TD
7462WIDTH="20%"
7463ALIGN="RIGHT"
7464VALIGN="TOP"
7465><TT
7466CLASS="PARAMETER"
7467><I
7468>nargs</I
7469></TT
7470>&nbsp;:</TD
7471><TD
7472WIDTH="80%"
7473ALIGN="LEFT"
7474VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007475> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007476></TR
7477></TABLE
7478><P
7479></P
7480></DIV
7481></DIV
7482><HR><DIV
7483CLASS="REFSECT2"
7484><A
Daniel Veillarde356c282001-03-10 12:32:04 +00007485NAME="AEN12934"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007486></A
7487><H3
7488><A
7489NAME="XMLXPATHSTARTSWITHFUNCTION"
7490></A
7491>xmlXPathStartsWithFunction ()</H3
7492><TABLE
7493BORDER="0"
7494BGCOLOR="#D6E8FF"
7495WIDTH="100%"
7496CELLPADDING="6"
7497><TR
7498><TD
7499><PRE
7500CLASS="PROGRAMLISTING"
7501>void xmlXPathStartsWithFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007502HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007503>xmlXPathParserContextPtr</A
7504> ctxt,
7505 int nargs);</PRE
7506></TD
7507></TR
7508></TABLE
7509><P
7510>Implement the starts-<GTKDOCLINK
7511HREF="WITH"
7512>with</GTKDOCLINK
7513>() XPath function
7514boolean starts-with(string, string)
7515The starts-with function returns true if the first argument string
7516starts with the second argument string, and otherwise returns false.</P
7517><P
7518></P
7519><DIV
7520CLASS="INFORMALTABLE"
7521><P
7522></P
7523><TABLE
7524BORDER="0"
7525WIDTH="100%"
7526BGCOLOR="#FFD0D0"
7527CELLSPACING="0"
7528CELLPADDING="4"
7529CLASS="CALSTABLE"
7530><TR
7531><TD
7532WIDTH="20%"
7533ALIGN="RIGHT"
7534VALIGN="TOP"
7535><TT
7536CLASS="PARAMETER"
7537><I
7538>ctxt</I
7539></TT
7540>&nbsp;:</TD
7541><TD
7542WIDTH="80%"
7543ALIGN="LEFT"
7544VALIGN="TOP"
7545> the XPath Parser context</TD
7546></TR
7547><TR
7548><TD
7549WIDTH="20%"
7550ALIGN="RIGHT"
7551VALIGN="TOP"
7552><TT
7553CLASS="PARAMETER"
7554><I
7555>nargs</I
7556></TT
7557>&nbsp;:</TD
7558><TD
7559WIDTH="80%"
7560ALIGN="LEFT"
7561VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007562> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007563></TR
7564></TABLE
7565><P
7566></P
7567></DIV
7568></DIV
7569><HR><DIV
7570CLASS="REFSECT2"
7571><A
Daniel Veillarde356c282001-03-10 12:32:04 +00007572NAME="AEN12955"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007573></A
7574><H3
7575><A
7576NAME="XMLXPATHSUBSTRINGFUNCTION"
7577></A
7578>xmlXPathSubstringFunction ()</H3
7579><TABLE
7580BORDER="0"
7581BGCOLOR="#D6E8FF"
7582WIDTH="100%"
7583CELLPADDING="6"
7584><TR
7585><TD
7586><PRE
7587CLASS="PROGRAMLISTING"
7588>void xmlXPathSubstringFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007589HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007590>xmlXPathParserContextPtr</A
7591> ctxt,
7592 int nargs);</PRE
7593></TD
7594></TR
7595></TABLE
7596><P
7597>Implement the <GTKDOCLINK
7598HREF="SUBSTRING"
7599>substring</GTKDOCLINK
7600>() XPath function
7601string substring(string, number, number?)
7602The substring function returns the substring of the first argument
7603starting at the position specified in the second argument with
7604length specified in the third argument. For example,
7605substring("12345",2,3) returns "234". If the third argument is not
7606specified, it returns the substring starting at the position specified
7607in the second argument and continuing to the end of the string. For
7608example, substring("12345",2) returns "2345". More precisely, each
7609character in the string (see [3.6 Strings]) is considered to have a
7610numeric position: the position of the first character is 1, the position
7611of the second character is 2 and so on. The returned substring contains
7612those characters for which the position of the character is greater than
7613or equal to the second argument and, if the third argument is specified,
7614less than the sum of the second and third arguments; the comparisons
7615and addition used for the above follow the standard IEEE 754 rules. Thus:
7616- substring("12345", 1.5, 2.6) returns "234"
7617- substring("12345", 0, 3) returns "12"
7618- substring("12345", 0 div 0, 3) returns ""
7619- substring("12345", 1, 0 div 0) returns ""
7620- substring("12345", -42, 1 div 0) returns "12345"
7621- substring("12345", -1 div 0, 1 div 0) returns ""</P
7622><P
7623></P
7624><DIV
7625CLASS="INFORMALTABLE"
7626><P
7627></P
7628><TABLE
7629BORDER="0"
7630WIDTH="100%"
7631BGCOLOR="#FFD0D0"
7632CELLSPACING="0"
7633CELLPADDING="4"
7634CLASS="CALSTABLE"
7635><TR
7636><TD
7637WIDTH="20%"
7638ALIGN="RIGHT"
7639VALIGN="TOP"
7640><TT
7641CLASS="PARAMETER"
7642><I
7643>ctxt</I
7644></TT
7645>&nbsp;:</TD
7646><TD
7647WIDTH="80%"
7648ALIGN="LEFT"
7649VALIGN="TOP"
7650> the XPath Parser context</TD
7651></TR
7652><TR
7653><TD
7654WIDTH="20%"
7655ALIGN="RIGHT"
7656VALIGN="TOP"
7657><TT
7658CLASS="PARAMETER"
7659><I
7660>nargs</I
7661></TT
7662>&nbsp;:</TD
7663><TD
7664WIDTH="80%"
7665ALIGN="LEFT"
7666VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007667> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007668></TR
7669></TABLE
7670><P
7671></P
7672></DIV
7673></DIV
7674><HR><DIV
7675CLASS="REFSECT2"
7676><A
Daniel Veillarde356c282001-03-10 12:32:04 +00007677NAME="AEN12976"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007678></A
7679><H3
7680><A
7681NAME="XMLXPATHSUBSTRINGBEFOREFUNCTION"
7682></A
7683>xmlXPathSubstringBeforeFunction ()</H3
7684><TABLE
7685BORDER="0"
7686BGCOLOR="#D6E8FF"
7687WIDTH="100%"
7688CELLPADDING="6"
7689><TR
7690><TD
7691><PRE
7692CLASS="PROGRAMLISTING"
7693>void xmlXPathSubstringBeforeFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007694HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007695>xmlXPathParserContextPtr</A
7696> ctxt,
7697 int nargs);</PRE
7698></TD
7699></TR
7700></TABLE
7701><P
7702>Implement the substring-<GTKDOCLINK
7703HREF="BEFORE"
7704>before</GTKDOCLINK
7705>() XPath function
7706string substring-before(string, string)
7707The substring-before function returns the substring of the first
7708argument string that precedes the first occurrence of the second
7709argument string in the first argument string, or the empty string
7710if the first argument string does not contain the second argument
7711string. For example, substring-before("1999/04/01","/") returns 1999.</P
7712><P
7713></P
7714><DIV
7715CLASS="INFORMALTABLE"
7716><P
7717></P
7718><TABLE
7719BORDER="0"
7720WIDTH="100%"
7721BGCOLOR="#FFD0D0"
7722CELLSPACING="0"
7723CELLPADDING="4"
7724CLASS="CALSTABLE"
7725><TR
7726><TD
7727WIDTH="20%"
7728ALIGN="RIGHT"
7729VALIGN="TOP"
7730><TT
7731CLASS="PARAMETER"
7732><I
7733>ctxt</I
7734></TT
7735>&nbsp;:</TD
7736><TD
7737WIDTH="80%"
7738ALIGN="LEFT"
7739VALIGN="TOP"
7740> the XPath Parser context</TD
7741></TR
7742><TR
7743><TD
7744WIDTH="20%"
7745ALIGN="RIGHT"
7746VALIGN="TOP"
7747><TT
7748CLASS="PARAMETER"
7749><I
7750>nargs</I
7751></TT
7752>&nbsp;:</TD
7753><TD
7754WIDTH="80%"
7755ALIGN="LEFT"
7756VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007757> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007758></TR
7759></TABLE
7760><P
7761></P
7762></DIV
7763></DIV
7764><HR><DIV
7765CLASS="REFSECT2"
7766><A
Daniel Veillarde356c282001-03-10 12:32:04 +00007767NAME="AEN12997"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007768></A
7769><H3
7770><A
7771NAME="XMLXPATHSUBSTRINGAFTERFUNCTION"
7772></A
7773>xmlXPathSubstringAfterFunction ()</H3
7774><TABLE
7775BORDER="0"
7776BGCOLOR="#D6E8FF"
7777WIDTH="100%"
7778CELLPADDING="6"
7779><TR
7780><TD
7781><PRE
7782CLASS="PROGRAMLISTING"
7783>void xmlXPathSubstringAfterFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007784HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007785>xmlXPathParserContextPtr</A
7786> ctxt,
7787 int nargs);</PRE
7788></TD
7789></TR
7790></TABLE
7791><P
7792>Implement the substring-<GTKDOCLINK
7793HREF="AFTER"
7794>after</GTKDOCLINK
7795>() XPath function
7796string substring-after(string, string)
7797The substring-after function returns the substring of the first
7798argument string that follows the first occurrence of the second
7799argument string in the first argument string, or the empty stringi
7800if the first argument string does not contain the second argument
7801string. For example, substring-after("1999/04/01","/") returns 04/01,
7802and substring-after("1999/04/01","19") returns 99/04/01.</P
7803><P
7804></P
7805><DIV
7806CLASS="INFORMALTABLE"
7807><P
7808></P
7809><TABLE
7810BORDER="0"
7811WIDTH="100%"
7812BGCOLOR="#FFD0D0"
7813CELLSPACING="0"
7814CELLPADDING="4"
7815CLASS="CALSTABLE"
7816><TR
7817><TD
7818WIDTH="20%"
7819ALIGN="RIGHT"
7820VALIGN="TOP"
7821><TT
7822CLASS="PARAMETER"
7823><I
7824>ctxt</I
7825></TT
7826>&nbsp;:</TD
7827><TD
7828WIDTH="80%"
7829ALIGN="LEFT"
7830VALIGN="TOP"
7831> the XPath Parser context</TD
7832></TR
7833><TR
7834><TD
7835WIDTH="20%"
7836ALIGN="RIGHT"
7837VALIGN="TOP"
7838><TT
7839CLASS="PARAMETER"
7840><I
7841>nargs</I
7842></TT
7843>&nbsp;:</TD
7844><TD
7845WIDTH="80%"
7846ALIGN="LEFT"
7847VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007848> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007849></TR
7850></TABLE
7851><P
7852></P
7853></DIV
7854></DIV
7855><HR><DIV
7856CLASS="REFSECT2"
7857><A
Daniel Veillarde356c282001-03-10 12:32:04 +00007858NAME="AEN13018"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007859></A
7860><H3
7861><A
7862NAME="XMLXPATHNORMALIZEFUNCTION"
7863></A
7864>xmlXPathNormalizeFunction ()</H3
7865><TABLE
7866BORDER="0"
7867BGCOLOR="#D6E8FF"
7868WIDTH="100%"
7869CELLPADDING="6"
7870><TR
7871><TD
7872><PRE
7873CLASS="PROGRAMLISTING"
7874>void xmlXPathNormalizeFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007875HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007876>xmlXPathParserContextPtr</A
7877> ctxt,
7878 int nargs);</PRE
7879></TD
7880></TR
7881></TABLE
7882><P
7883>Implement the normalize-<GTKDOCLINK
7884HREF="SPACE"
7885>space</GTKDOCLINK
7886>() XPath function
7887string normalize-space(string?)
7888The normalize-space function returns the argument string with white
7889space normalized by stripping leading and trailing whitespace
7890and replacing sequences of whitespace characters by a single
7891space. Whitespace characters are the same allowed by the S production
7892in XML. If the argument is omitted, it defaults to the context
7893node converted to a string, in other words the value of the context node.</P
7894><P
7895></P
7896><DIV
7897CLASS="INFORMALTABLE"
7898><P
7899></P
7900><TABLE
7901BORDER="0"
7902WIDTH="100%"
7903BGCOLOR="#FFD0D0"
7904CELLSPACING="0"
7905CELLPADDING="4"
7906CLASS="CALSTABLE"
7907><TR
7908><TD
7909WIDTH="20%"
7910ALIGN="RIGHT"
7911VALIGN="TOP"
7912><TT
7913CLASS="PARAMETER"
7914><I
7915>ctxt</I
7916></TT
7917>&nbsp;:</TD
7918><TD
7919WIDTH="80%"
7920ALIGN="LEFT"
7921VALIGN="TOP"
7922> the XPath Parser context</TD
7923></TR
7924><TR
7925><TD
7926WIDTH="20%"
7927ALIGN="RIGHT"
7928VALIGN="TOP"
7929><TT
7930CLASS="PARAMETER"
7931><I
7932>nargs</I
7933></TT
7934>&nbsp;:</TD
7935><TD
7936WIDTH="80%"
7937ALIGN="LEFT"
7938VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007939> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007940></TR
7941></TABLE
7942><P
7943></P
7944></DIV
7945></DIV
7946><HR><DIV
7947CLASS="REFSECT2"
7948><A
Daniel Veillarde356c282001-03-10 12:32:04 +00007949NAME="AEN13039"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007950></A
7951><H3
7952><A
7953NAME="XMLXPATHTRANSLATEFUNCTION"
7954></A
7955>xmlXPathTranslateFunction ()</H3
7956><TABLE
7957BORDER="0"
7958BGCOLOR="#D6E8FF"
7959WIDTH="100%"
7960CELLPADDING="6"
7961><TR
7962><TD
7963><PRE
7964CLASS="PROGRAMLISTING"
7965>void xmlXPathTranslateFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007966HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007967>xmlXPathParserContextPtr</A
7968> ctxt,
7969 int nargs);</PRE
7970></TD
7971></TR
7972></TABLE
7973><P
7974>Implement the <GTKDOCLINK
7975HREF="TRANSLATE"
7976>translate</GTKDOCLINK
7977>() XPath function
7978string translate(string, string, string)
7979The translate function returns the first argument string with
7980occurrences of characters in the second argument string replaced
7981by the character at the corresponding position in the third argument
7982string. For example, translate("bar","abc","ABC") returns the string
7983BAr. If there is a character in the second argument string with no
7984character at a corresponding position in the third argument string
7985(because the second argument string is longer than the third argument
7986string), then occurrences of that character in the first argument
7987string are removed. For example, translate("--aaa--","abc-","ABC")</P
7988><P
7989></P
7990><DIV
7991CLASS="INFORMALTABLE"
7992><P
7993></P
7994><TABLE
7995BORDER="0"
7996WIDTH="100%"
7997BGCOLOR="#FFD0D0"
7998CELLSPACING="0"
7999CELLPADDING="4"
8000CLASS="CALSTABLE"
8001><TR
8002><TD
8003WIDTH="20%"
8004ALIGN="RIGHT"
8005VALIGN="TOP"
8006><TT
8007CLASS="PARAMETER"
8008><I
8009>ctxt</I
8010></TT
8011>&nbsp;:</TD
8012><TD
8013WIDTH="80%"
8014ALIGN="LEFT"
8015VALIGN="TOP"
8016> the XPath Parser context</TD
8017></TR
8018><TR
8019><TD
8020WIDTH="20%"
8021ALIGN="RIGHT"
8022VALIGN="TOP"
8023><TT
8024CLASS="PARAMETER"
8025><I
8026>nargs</I
8027></TT
8028>&nbsp;:</TD
8029><TD
8030WIDTH="80%"
8031ALIGN="LEFT"
8032VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008033> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00008034></TR
8035></TABLE
8036><P
8037></P
8038></DIV
8039></DIV
8040><HR><DIV
8041CLASS="REFSECT2"
8042><A
Daniel Veillarde356c282001-03-10 12:32:04 +00008043NAME="AEN13060"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008044></A
8045><H3
8046><A
8047NAME="XMLXPATHNOTFUNCTION"
8048></A
8049>xmlXPathNotFunction ()</H3
8050><TABLE
8051BORDER="0"
8052BGCOLOR="#D6E8FF"
8053WIDTH="100%"
8054CELLPADDING="6"
8055><TR
8056><TD
8057><PRE
8058CLASS="PROGRAMLISTING"
8059>void xmlXPathNotFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008060HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008061>xmlXPathParserContextPtr</A
8062> ctxt,
8063 int nargs);</PRE
8064></TD
8065></TR
8066></TABLE
8067><P
8068>Implement the <GTKDOCLINK
8069HREF="NOT"
8070>not</GTKDOCLINK
8071>() XPath function
8072boolean not(boolean)
8073The not function returns true if its argument is false,
8074and false otherwise.</P
8075><P
8076></P
8077><DIV
8078CLASS="INFORMALTABLE"
8079><P
8080></P
8081><TABLE
8082BORDER="0"
8083WIDTH="100%"
8084BGCOLOR="#FFD0D0"
8085CELLSPACING="0"
8086CELLPADDING="4"
8087CLASS="CALSTABLE"
8088><TR
8089><TD
8090WIDTH="20%"
8091ALIGN="RIGHT"
8092VALIGN="TOP"
8093><TT
8094CLASS="PARAMETER"
8095><I
8096>ctxt</I
8097></TT
8098>&nbsp;:</TD
8099><TD
8100WIDTH="80%"
8101ALIGN="LEFT"
8102VALIGN="TOP"
8103> the XPath Parser context</TD
8104></TR
8105><TR
8106><TD
8107WIDTH="20%"
8108ALIGN="RIGHT"
8109VALIGN="TOP"
8110><TT
8111CLASS="PARAMETER"
8112><I
8113>nargs</I
8114></TT
8115>&nbsp;:</TD
8116><TD
8117WIDTH="80%"
8118ALIGN="LEFT"
8119VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008120> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00008121></TR
8122></TABLE
8123><P
8124></P
8125></DIV
8126></DIV
8127><HR><DIV
8128CLASS="REFSECT2"
8129><A
Daniel Veillarde356c282001-03-10 12:32:04 +00008130NAME="AEN13081"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008131></A
8132><H3
8133><A
8134NAME="XMLXPATHTRUEFUNCTION"
8135></A
8136>xmlXPathTrueFunction ()</H3
8137><TABLE
8138BORDER="0"
8139BGCOLOR="#D6E8FF"
8140WIDTH="100%"
8141CELLPADDING="6"
8142><TR
8143><TD
8144><PRE
8145CLASS="PROGRAMLISTING"
8146>void xmlXPathTrueFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008147HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008148>xmlXPathParserContextPtr</A
8149> ctxt,
8150 int nargs);</PRE
8151></TD
8152></TR
8153></TABLE
8154><P
8155>Implement the <GTKDOCLINK
8156HREF="TRUE"
8157>true</GTKDOCLINK
8158>() XPath function
8159boolean <GTKDOCLINK
8160HREF="TRUE"
8161>true</GTKDOCLINK
8162>()</P
8163><P
8164></P
8165><DIV
8166CLASS="INFORMALTABLE"
8167><P
8168></P
8169><TABLE
8170BORDER="0"
8171WIDTH="100%"
8172BGCOLOR="#FFD0D0"
8173CELLSPACING="0"
8174CELLPADDING="4"
8175CLASS="CALSTABLE"
8176><TR
8177><TD
8178WIDTH="20%"
8179ALIGN="RIGHT"
8180VALIGN="TOP"
8181><TT
8182CLASS="PARAMETER"
8183><I
8184>ctxt</I
8185></TT
8186>&nbsp;:</TD
8187><TD
8188WIDTH="80%"
8189ALIGN="LEFT"
8190VALIGN="TOP"
8191> the XPath Parser context</TD
8192></TR
8193><TR
8194><TD
8195WIDTH="20%"
8196ALIGN="RIGHT"
8197VALIGN="TOP"
8198><TT
8199CLASS="PARAMETER"
8200><I
8201>nargs</I
8202></TT
8203>&nbsp;:</TD
8204><TD
8205WIDTH="80%"
8206ALIGN="LEFT"
8207VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008208> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00008209></TR
8210></TABLE
8211><P
8212></P
8213></DIV
8214></DIV
8215><HR><DIV
8216CLASS="REFSECT2"
8217><A
Daniel Veillarde356c282001-03-10 12:32:04 +00008218NAME="AEN13103"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008219></A
8220><H3
8221><A
8222NAME="XMLXPATHFALSEFUNCTION"
8223></A
8224>xmlXPathFalseFunction ()</H3
8225><TABLE
8226BORDER="0"
8227BGCOLOR="#D6E8FF"
8228WIDTH="100%"
8229CELLPADDING="6"
8230><TR
8231><TD
8232><PRE
8233CLASS="PROGRAMLISTING"
8234>void xmlXPathFalseFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008235HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008236>xmlXPathParserContextPtr</A
8237> ctxt,
8238 int nargs);</PRE
8239></TD
8240></TR
8241></TABLE
8242><P
8243>Implement the <GTKDOCLINK
8244HREF="FALSE"
8245>false</GTKDOCLINK
8246>() XPath function
8247boolean <GTKDOCLINK
8248HREF="FALSE"
8249>false</GTKDOCLINK
8250>()</P
8251><P
8252></P
8253><DIV
8254CLASS="INFORMALTABLE"
8255><P
8256></P
8257><TABLE
8258BORDER="0"
8259WIDTH="100%"
8260BGCOLOR="#FFD0D0"
8261CELLSPACING="0"
8262CELLPADDING="4"
8263CLASS="CALSTABLE"
8264><TR
8265><TD
8266WIDTH="20%"
8267ALIGN="RIGHT"
8268VALIGN="TOP"
8269><TT
8270CLASS="PARAMETER"
8271><I
8272>ctxt</I
8273></TT
8274>&nbsp;:</TD
8275><TD
8276WIDTH="80%"
8277ALIGN="LEFT"
8278VALIGN="TOP"
8279> the XPath Parser context</TD
8280></TR
8281><TR
8282><TD
8283WIDTH="20%"
8284ALIGN="RIGHT"
8285VALIGN="TOP"
8286><TT
8287CLASS="PARAMETER"
8288><I
8289>nargs</I
8290></TT
8291>&nbsp;:</TD
8292><TD
8293WIDTH="80%"
8294ALIGN="LEFT"
8295VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008296> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00008297></TR
8298></TABLE
8299><P
8300></P
8301></DIV
8302></DIV
8303><HR><DIV
8304CLASS="REFSECT2"
8305><A
Daniel Veillarde356c282001-03-10 12:32:04 +00008306NAME="AEN13125"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008307></A
8308><H3
8309><A
8310NAME="XMLXPATHLANGFUNCTION"
8311></A
8312>xmlXPathLangFunction ()</H3
8313><TABLE
8314BORDER="0"
8315BGCOLOR="#D6E8FF"
8316WIDTH="100%"
8317CELLPADDING="6"
8318><TR
8319><TD
8320><PRE
8321CLASS="PROGRAMLISTING"
8322>void xmlXPathLangFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008323HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008324>xmlXPathParserContextPtr</A
8325> ctxt,
8326 int nargs);</PRE
8327></TD
8328></TR
8329></TABLE
8330><P
8331>Implement the <GTKDOCLINK
8332HREF="LANG"
8333>lang</GTKDOCLINK
8334>() XPath function
8335boolean lang(string)
8336The lang function returns true or false depending on whether the
8337language of the context node as specified by xml:lang attributes
8338is the same as or is a sublanguage of the language specified by
8339the argument string. The language of the context node is determined
8340by the value of the xml:lang attribute on the context node, or, if
8341the context node has no xml:lang attribute, by the value of the
8342xml:lang attribute on the nearest ancestor of the context node that
8343has an xml:lang attribute. If there is no such attribute, then lang</P
8344><P
8345></P
8346><DIV
8347CLASS="INFORMALTABLE"
8348><P
8349></P
8350><TABLE
8351BORDER="0"
8352WIDTH="100%"
8353BGCOLOR="#FFD0D0"
8354CELLSPACING="0"
8355CELLPADDING="4"
8356CLASS="CALSTABLE"
8357><TR
8358><TD
8359WIDTH="20%"
8360ALIGN="RIGHT"
8361VALIGN="TOP"
8362><TT
8363CLASS="PARAMETER"
8364><I
8365>ctxt</I
8366></TT
8367>&nbsp;:</TD
8368><TD
8369WIDTH="80%"
8370ALIGN="LEFT"
8371VALIGN="TOP"
8372> the XPath Parser context</TD
8373></TR
8374><TR
8375><TD
8376WIDTH="20%"
8377ALIGN="RIGHT"
8378VALIGN="TOP"
8379><TT
8380CLASS="PARAMETER"
8381><I
8382>nargs</I
8383></TT
8384>&nbsp;:</TD
8385><TD
8386WIDTH="80%"
8387ALIGN="LEFT"
8388VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008389> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00008390></TR
8391></TABLE
8392><P
8393></P
8394></DIV
8395></DIV
8396><HR><DIV
8397CLASS="REFSECT2"
8398><A
Daniel Veillarde356c282001-03-10 12:32:04 +00008399NAME="AEN13146"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008400></A
8401><H3
8402><A
8403NAME="XMLXPATHNUMBERFUNCTION"
8404></A
8405>xmlXPathNumberFunction ()</H3
8406><TABLE
8407BORDER="0"
8408BGCOLOR="#D6E8FF"
8409WIDTH="100%"
8410CELLPADDING="6"
8411><TR
8412><TD
8413><PRE
8414CLASS="PROGRAMLISTING"
8415>void xmlXPathNumberFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008416HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008417>xmlXPathParserContextPtr</A
8418> ctxt,
8419 int nargs);</PRE
8420></TD
8421></TR
8422></TABLE
8423><P
8424>Implement the <GTKDOCLINK
8425HREF="NUMBER"
8426>number</GTKDOCLINK
8427>() XPath function
8428number number(object?)</P
8429><P
8430></P
8431><DIV
8432CLASS="INFORMALTABLE"
8433><P
8434></P
8435><TABLE
8436BORDER="0"
8437WIDTH="100%"
8438BGCOLOR="#FFD0D0"
8439CELLSPACING="0"
8440CELLPADDING="4"
8441CLASS="CALSTABLE"
8442><TR
8443><TD
8444WIDTH="20%"
8445ALIGN="RIGHT"
8446VALIGN="TOP"
8447><TT
8448CLASS="PARAMETER"
8449><I
8450>ctxt</I
8451></TT
8452>&nbsp;:</TD
8453><TD
8454WIDTH="80%"
8455ALIGN="LEFT"
8456VALIGN="TOP"
8457> the XPath Parser context</TD
8458></TR
8459><TR
8460><TD
8461WIDTH="20%"
8462ALIGN="RIGHT"
8463VALIGN="TOP"
8464><TT
8465CLASS="PARAMETER"
8466><I
8467>nargs</I
8468></TT
8469>&nbsp;:</TD
8470><TD
8471WIDTH="80%"
8472ALIGN="LEFT"
8473VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008474> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00008475></TR
8476></TABLE
8477><P
8478></P
8479></DIV
8480></DIV
8481><HR><DIV
8482CLASS="REFSECT2"
8483><A
Daniel Veillarde356c282001-03-10 12:32:04 +00008484NAME="AEN13167"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008485></A
8486><H3
8487><A
8488NAME="XMLXPATHSUMFUNCTION"
8489></A
8490>xmlXPathSumFunction ()</H3
8491><TABLE
8492BORDER="0"
8493BGCOLOR="#D6E8FF"
8494WIDTH="100%"
8495CELLPADDING="6"
8496><TR
8497><TD
8498><PRE
8499CLASS="PROGRAMLISTING"
8500>void xmlXPathSumFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008501HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008502>xmlXPathParserContextPtr</A
8503> ctxt,
8504 int nargs);</PRE
8505></TD
8506></TR
8507></TABLE
8508><P
8509>Implement the <GTKDOCLINK
8510HREF="SUM"
8511>sum</GTKDOCLINK
8512>() XPath function
8513number sum(node-set)
8514The sum function returns the sum of the values of the nodes in
8515the argument node-set.</P
8516><P
8517></P
8518><DIV
8519CLASS="INFORMALTABLE"
8520><P
8521></P
8522><TABLE
8523BORDER="0"
8524WIDTH="100%"
8525BGCOLOR="#FFD0D0"
8526CELLSPACING="0"
8527CELLPADDING="4"
8528CLASS="CALSTABLE"
8529><TR
8530><TD
8531WIDTH="20%"
8532ALIGN="RIGHT"
8533VALIGN="TOP"
8534><TT
8535CLASS="PARAMETER"
8536><I
8537>ctxt</I
8538></TT
8539>&nbsp;:</TD
8540><TD
8541WIDTH="80%"
8542ALIGN="LEFT"
8543VALIGN="TOP"
8544> the XPath Parser context</TD
8545></TR
8546><TR
8547><TD
8548WIDTH="20%"
8549ALIGN="RIGHT"
8550VALIGN="TOP"
8551><TT
8552CLASS="PARAMETER"
8553><I
8554>nargs</I
8555></TT
8556>&nbsp;:</TD
8557><TD
8558WIDTH="80%"
8559ALIGN="LEFT"
8560VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008561> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00008562></TR
8563></TABLE
8564><P
8565></P
8566></DIV
8567></DIV
8568><HR><DIV
8569CLASS="REFSECT2"
8570><A
Daniel Veillarde356c282001-03-10 12:32:04 +00008571NAME="AEN13188"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008572></A
8573><H3
8574><A
8575NAME="XMLXPATHFLOORFUNCTION"
8576></A
8577>xmlXPathFloorFunction ()</H3
8578><TABLE
8579BORDER="0"
8580BGCOLOR="#D6E8FF"
8581WIDTH="100%"
8582CELLPADDING="6"
8583><TR
8584><TD
8585><PRE
8586CLASS="PROGRAMLISTING"
8587>void xmlXPathFloorFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008588HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008589>xmlXPathParserContextPtr</A
8590> ctxt,
8591 int nargs);</PRE
8592></TD
8593></TR
8594></TABLE
8595><P
8596>Implement the <GTKDOCLINK
8597HREF="FLOOR"
8598>floor</GTKDOCLINK
8599>() XPath function
8600number floor(number)
8601The floor function returns the largest (closest to positive infinity)
8602number that is not greater than the argument and that is an integer.</P
8603><P
8604></P
8605><DIV
8606CLASS="INFORMALTABLE"
8607><P
8608></P
8609><TABLE
8610BORDER="0"
8611WIDTH="100%"
8612BGCOLOR="#FFD0D0"
8613CELLSPACING="0"
8614CELLPADDING="4"
8615CLASS="CALSTABLE"
8616><TR
8617><TD
8618WIDTH="20%"
8619ALIGN="RIGHT"
8620VALIGN="TOP"
8621><TT
8622CLASS="PARAMETER"
8623><I
8624>ctxt</I
8625></TT
8626>&nbsp;:</TD
8627><TD
8628WIDTH="80%"
8629ALIGN="LEFT"
8630VALIGN="TOP"
8631> the XPath Parser context</TD
8632></TR
8633><TR
8634><TD
8635WIDTH="20%"
8636ALIGN="RIGHT"
8637VALIGN="TOP"
8638><TT
8639CLASS="PARAMETER"
8640><I
8641>nargs</I
8642></TT
8643>&nbsp;:</TD
8644><TD
8645WIDTH="80%"
8646ALIGN="LEFT"
8647VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008648> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00008649></TR
8650></TABLE
8651><P
8652></P
8653></DIV
8654></DIV
8655><HR><DIV
8656CLASS="REFSECT2"
8657><A
Daniel Veillarde356c282001-03-10 12:32:04 +00008658NAME="AEN13209"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008659></A
8660><H3
8661><A
8662NAME="XMLXPATHCEILINGFUNCTION"
8663></A
8664>xmlXPathCeilingFunction ()</H3
8665><TABLE
8666BORDER="0"
8667BGCOLOR="#D6E8FF"
8668WIDTH="100%"
8669CELLPADDING="6"
8670><TR
8671><TD
8672><PRE
8673CLASS="PROGRAMLISTING"
8674>void xmlXPathCeilingFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008675HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008676>xmlXPathParserContextPtr</A
8677> ctxt,
8678 int nargs);</PRE
8679></TD
8680></TR
8681></TABLE
8682><P
8683>Implement the <GTKDOCLINK
8684HREF="CEILING"
8685>ceiling</GTKDOCLINK
8686>() XPath function
8687number ceiling(number)
8688The ceiling function returns the smallest (closest to negative infinity)
8689number that is not less than the argument and that is an integer.</P
8690><P
8691></P
8692><DIV
8693CLASS="INFORMALTABLE"
8694><P
8695></P
8696><TABLE
8697BORDER="0"
8698WIDTH="100%"
8699BGCOLOR="#FFD0D0"
8700CELLSPACING="0"
8701CELLPADDING="4"
8702CLASS="CALSTABLE"
8703><TR
8704><TD
8705WIDTH="20%"
8706ALIGN="RIGHT"
8707VALIGN="TOP"
8708><TT
8709CLASS="PARAMETER"
8710><I
8711>ctxt</I
8712></TT
8713>&nbsp;:</TD
8714><TD
8715WIDTH="80%"
8716ALIGN="LEFT"
8717VALIGN="TOP"
8718> the XPath Parser context</TD
8719></TR
8720><TR
8721><TD
8722WIDTH="20%"
8723ALIGN="RIGHT"
8724VALIGN="TOP"
8725><TT
8726CLASS="PARAMETER"
8727><I
8728>nargs</I
8729></TT
8730>&nbsp;:</TD
8731><TD
8732WIDTH="80%"
8733ALIGN="LEFT"
8734VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008735> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00008736></TR
8737></TABLE
8738><P
8739></P
8740></DIV
8741></DIV
8742><HR><DIV
8743CLASS="REFSECT2"
8744><A
Daniel Veillarde356c282001-03-10 12:32:04 +00008745NAME="AEN13230"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008746></A
8747><H3
8748><A
8749NAME="XMLXPATHROUNDFUNCTION"
8750></A
8751>xmlXPathRoundFunction ()</H3
8752><TABLE
8753BORDER="0"
8754BGCOLOR="#D6E8FF"
8755WIDTH="100%"
8756CELLPADDING="6"
8757><TR
8758><TD
8759><PRE
8760CLASS="PROGRAMLISTING"
8761>void xmlXPathRoundFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008762HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008763>xmlXPathParserContextPtr</A
8764> ctxt,
8765 int nargs);</PRE
8766></TD
8767></TR
8768></TABLE
8769><P
8770>Implement the <GTKDOCLINK
8771HREF="ROUND"
8772>round</GTKDOCLINK
8773>() XPath function
8774number round(number)
8775The round function returns the number that is closest to the
8776argument and that is an integer. If there are two such numbers,
8777then the one that is even is returned.</P
8778><P
8779></P
8780><DIV
8781CLASS="INFORMALTABLE"
8782><P
8783></P
8784><TABLE
8785BORDER="0"
8786WIDTH="100%"
8787BGCOLOR="#FFD0D0"
8788CELLSPACING="0"
8789CELLPADDING="4"
8790CLASS="CALSTABLE"
8791><TR
8792><TD
8793WIDTH="20%"
8794ALIGN="RIGHT"
8795VALIGN="TOP"
8796><TT
8797CLASS="PARAMETER"
8798><I
8799>ctxt</I
8800></TT
8801>&nbsp;:</TD
8802><TD
8803WIDTH="80%"
8804ALIGN="LEFT"
8805VALIGN="TOP"
8806> the XPath Parser context</TD
8807></TR
8808><TR
8809><TD
8810WIDTH="20%"
8811ALIGN="RIGHT"
8812VALIGN="TOP"
8813><TT
8814CLASS="PARAMETER"
8815><I
8816>nargs</I
8817></TT
8818>&nbsp;:</TD
8819><TD
8820WIDTH="80%"
8821ALIGN="LEFT"
8822VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008823> the number of arguments</TD
8824></TR
8825></TABLE
8826><P
8827></P
8828></DIV
8829></DIV
8830><HR><DIV
8831CLASS="REFSECT2"
8832><A
Daniel Veillarde356c282001-03-10 12:32:04 +00008833NAME="AEN13251"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008834></A
8835><H3
8836><A
8837NAME="XMLXPATHBOOLEANFUNCTION"
8838></A
8839>xmlXPathBooleanFunction ()</H3
8840><TABLE
8841BORDER="0"
8842BGCOLOR="#D6E8FF"
8843WIDTH="100%"
8844CELLPADDING="6"
8845><TR
8846><TD
8847><PRE
8848CLASS="PROGRAMLISTING"
8849>void xmlXPathBooleanFunction (<A
8850HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
8851>xmlXPathParserContextPtr</A
8852> ctxt,
8853 int nargs);</PRE
8854></TD
8855></TR
8856></TABLE
8857><P
8858>Implement the <GTKDOCLINK
8859HREF="BOOLEAN"
8860>boolean</GTKDOCLINK
8861>() XPath function
8862boolean boolean(object)
8863he boolean function converts its argument to a boolean as follows:
8864- a number is true if and only if it is neither positive or
8865negative zero nor NaN
8866- a node-set is true if and only if it is non-empty
8867- a string is true if and only if its length is non-zero</P
8868><P
8869></P
8870><DIV
8871CLASS="INFORMALTABLE"
8872><P
8873></P
8874><TABLE
8875BORDER="0"
8876WIDTH="100%"
8877BGCOLOR="#FFD0D0"
8878CELLSPACING="0"
8879CELLPADDING="4"
8880CLASS="CALSTABLE"
8881><TR
8882><TD
8883WIDTH="20%"
8884ALIGN="RIGHT"
8885VALIGN="TOP"
8886><TT
8887CLASS="PARAMETER"
8888><I
8889>ctxt</I
8890></TT
8891>&nbsp;:</TD
8892><TD
8893WIDTH="80%"
8894ALIGN="LEFT"
8895VALIGN="TOP"
8896> the XPath Parser context</TD
8897></TR
8898><TR
8899><TD
8900WIDTH="20%"
8901ALIGN="RIGHT"
8902VALIGN="TOP"
8903><TT
8904CLASS="PARAMETER"
8905><I
8906>nargs</I
8907></TT
8908>&nbsp;:</TD
8909><TD
8910WIDTH="80%"
8911ALIGN="LEFT"
8912VALIGN="TOP"
8913> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00008914></TR
8915></TABLE
8916><P
8917></P
8918></DIV
8919></DIV
8920></DIV
8921><DIV
8922CLASS="NAVFOOTER"
8923><BR
8924CLEAR="all"><BR><TABLE
8925WIDTH="100%"
8926BORDER="0"
8927BGCOLOR="#000000"
8928CELLPADDING="1"
8929CELLSPACING="0"
8930><TR
8931><TD
8932WIDTH="25%"
8933BGCOLOR="#C00000"
8934ALIGN="left"
8935><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008936HREF="libxml-xpath.html"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008937><FONT
8938COLOR="#FFFFFF"
8939SIZE="3"
8940><B
8941>&#60;&#60;&#60; Previous Page</B
8942></FONT
8943></A
8944></TD
8945><TD
8946WIDTH="25%"
8947BGCOLOR="#0000C0"
8948ALIGN="center"
8949><FONT
8950COLOR="#FFFFFF"
8951SIZE="3"
8952><B
8953><A
8954HREF="book1.html"
8955><FONT
8956COLOR="#FFFFFF"
8957SIZE="3"
8958><B
8959>Home</B
8960></FONT
8961></A
8962></B
8963></FONT
8964></TD
8965><TD
8966WIDTH="25%"
8967BGCOLOR="#00C000"
8968ALIGN="center"
8969><FONT
8970COLOR="#FFFFFF"
8971SIZE="3"
8972><B
8973><A
8974HREF="libxml-lib.html"
8975><FONT
8976COLOR="#FFFFFF"
8977SIZE="3"
8978><B
8979>Up</B
8980></FONT
8981></A
8982></B
8983></FONT
8984></TD
8985><TD
8986WIDTH="25%"
8987BGCOLOR="#C00000"
8988ALIGN="right"
8989><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008990HREF="libxml-xpointer.html"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008991><FONT
8992COLOR="#FFFFFF"
8993SIZE="3"
8994><B
8995>Next Page &#62;&#62;&#62;</B
8996></FONT
8997></A
8998></TD
8999></TR
9000><TR
9001><TD
9002COLSPAN="2"
9003ALIGN="left"
9004><FONT
9005COLOR="#FFFFFF"
9006SIZE="3"
9007><B
9008>xpath</B
9009></FONT
9010></TD
9011><TD
9012COLSPAN="2"
9013ALIGN="right"
9014><FONT
9015COLOR="#FFFFFF"
9016SIZE="3"
9017><B
9018>xpointer</B
9019></FONT
9020></TD
9021></TR
9022></TABLE
9023></DIV
9024></BODY
9025></HTML
9026>