blob: 92b854590130da9029dcf9dd70eefdf4345d8400 [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 Veillard9cb5ff42001-01-29 08:22:21 +0000124NAME="AEN11101"
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 Veillard9cb5ff42001-01-29 08:22:21 +0000132NAME="AEN11104"
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);
756void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000757HREF="libxml-xpathinternals.html#XMLXPATHLASTFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000758>xmlXPathLastFunction</A
759> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000760HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000761>xmlXPathParserContextPtr</A
762> ctxt,
763 int nargs);
764void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000765HREF="libxml-xpathinternals.html#XMLXPATHPOSITIONFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000766>xmlXPathPositionFunction</A
767> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000768HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000769>xmlXPathParserContextPtr</A
770> ctxt,
771 int nargs);
772void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000773HREF="libxml-xpathinternals.html#XMLXPATHCOUNTFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000774>xmlXPathCountFunction</A
775> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000776HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000777>xmlXPathParserContextPtr</A
778> ctxt,
779 int nargs);
780void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000781HREF="libxml-xpathinternals.html#XMLXPATHLOCALNAMEFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000782>xmlXPathLocalNameFunction</A
783> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000784HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000785>xmlXPathParserContextPtr</A
786> ctxt,
787 int nargs);
788void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000789HREF="libxml-xpathinternals.html#XMLXPATHNAMESPACEURIFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000790>xmlXPathNamespaceURIFunction</A
791> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000792HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000793>xmlXPathParserContextPtr</A
794> ctxt,
795 int nargs);
796void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000797HREF="libxml-xpathinternals.html#XMLXPATHSTRINGLENGTHFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000798>xmlXPathStringLengthFunction</A
799> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000800HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000801>xmlXPathParserContextPtr</A
802> ctxt,
803 int nargs);
804void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000805HREF="libxml-xpathinternals.html#XMLXPATHCONCATFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000806>xmlXPathConcatFunction</A
807> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000808HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000809>xmlXPathParserContextPtr</A
810> ctxt,
811 int nargs);
812void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000813HREF="libxml-xpathinternals.html#XMLXPATHCONTAINSFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000814>xmlXPathContainsFunction</A
815> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000816HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000817>xmlXPathParserContextPtr</A
818> ctxt,
819 int nargs);
820void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000821HREF="libxml-xpathinternals.html#XMLXPATHSTARTSWITHFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000822>xmlXPathStartsWithFunction</A
823> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000824HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000825>xmlXPathParserContextPtr</A
826> ctxt,
827 int nargs);
828void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000829HREF="libxml-xpathinternals.html#XMLXPATHSUBSTRINGFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000830>xmlXPathSubstringFunction</A
831> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000832HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000833>xmlXPathParserContextPtr</A
834> ctxt,
835 int nargs);
836void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000837HREF="libxml-xpathinternals.html#XMLXPATHSUBSTRINGBEFOREFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000838>xmlXPathSubstringBeforeFunction</A
839> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000840HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000841>xmlXPathParserContextPtr</A
842> ctxt,
843 int nargs);
844void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000845HREF="libxml-xpathinternals.html#XMLXPATHSUBSTRINGAFTERFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000846>xmlXPathSubstringAfterFunction</A
847> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000848HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000849>xmlXPathParserContextPtr</A
850> ctxt,
851 int nargs);
852void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000853HREF="libxml-xpathinternals.html#XMLXPATHNORMALIZEFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000854>xmlXPathNormalizeFunction</A
855> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000856HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000857>xmlXPathParserContextPtr</A
858> ctxt,
859 int nargs);
860void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000861HREF="libxml-xpathinternals.html#XMLXPATHTRANSLATEFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000862>xmlXPathTranslateFunction</A
863> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000864HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000865>xmlXPathParserContextPtr</A
866> ctxt,
867 int nargs);
868void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000869HREF="libxml-xpathinternals.html#XMLXPATHNOTFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000870>xmlXPathNotFunction</A
871> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000872HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000873>xmlXPathParserContextPtr</A
874> ctxt,
875 int nargs);
876void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000877HREF="libxml-xpathinternals.html#XMLXPATHTRUEFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000878>xmlXPathTrueFunction</A
879> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000880HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000881>xmlXPathParserContextPtr</A
882> ctxt,
883 int nargs);
884void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000885HREF="libxml-xpathinternals.html#XMLXPATHFALSEFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000886>xmlXPathFalseFunction</A
887> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000888HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000889>xmlXPathParserContextPtr</A
890> ctxt,
891 int nargs);
892void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000893HREF="libxml-xpathinternals.html#XMLXPATHLANGFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000894>xmlXPathLangFunction</A
895> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000896HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000897>xmlXPathParserContextPtr</A
898> ctxt,
899 int nargs);
900void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000901HREF="libxml-xpathinternals.html#XMLXPATHNUMBERFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000902>xmlXPathNumberFunction</A
903> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000904HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000905>xmlXPathParserContextPtr</A
906> ctxt,
907 int nargs);
908void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000909HREF="libxml-xpathinternals.html#XMLXPATHSUMFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000910>xmlXPathSumFunction</A
911> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000912HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000913>xmlXPathParserContextPtr</A
914> ctxt,
915 int nargs);
916void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000917HREF="libxml-xpathinternals.html#XMLXPATHFLOORFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000918>xmlXPathFloorFunction</A
919> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000920HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000921>xmlXPathParserContextPtr</A
922> ctxt,
923 int nargs);
924void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000925HREF="libxml-xpathinternals.html#XMLXPATHCEILINGFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000926>xmlXPathCeilingFunction</A
927> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000928HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000929>xmlXPathParserContextPtr</A
930> ctxt,
931 int nargs);
932void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000933HREF="libxml-xpathinternals.html#XMLXPATHROUNDFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000934>xmlXPathRoundFunction</A
935> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000936HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
937>xmlXPathParserContextPtr</A
938> ctxt,
939 int nargs);
940void <A
941HREF="libxml-xpathinternals.html#XMLXPATHBOOLEANFUNCTION"
942>xmlXPathBooleanFunction</A
943> (<A
944HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000945>xmlXPathParserContextPtr</A
946> ctxt,
947 int nargs);</PRE
948></TD
949></TR
950></TABLE
951></DIV
952><DIV
953CLASS="REFSECT1"
954><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000955NAME="AEN11323"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000956></A
957><H2
958>Description</H2
959><P
960></P
961></DIV
962><DIV
963CLASS="REFSECT1"
964><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000965NAME="AEN11326"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000966></A
967><H2
968>Details</H2
969><DIV
970CLASS="REFSECT2"
971><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000972NAME="AEN11328"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000973></A
974><H3
975><A
Daniel Veillard503b8932001-01-05 06:36:31 +0000976NAME="CHECK-ERROR-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000977></A
978>CHECK_ERROR</H3
979><TABLE
980BORDER="0"
981BGCOLOR="#D6E8FF"
982WIDTH="100%"
983CELLPADDING="6"
984><TR
985><TD
986><PRE
987CLASS="PROGRAMLISTING"
988>#define CHECK_ERROR</PRE
989></TD
990></TR
991></TABLE
992><P
993></P
994></DIV
995><HR><DIV
996CLASS="REFSECT2"
997><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000998NAME="AEN11333"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000999></A
1000><H3
1001><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001002NAME="CHECK-ERROR0-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001003></A
1004>CHECK_ERROR0</H3
1005><TABLE
1006BORDER="0"
1007BGCOLOR="#D6E8FF"
1008WIDTH="100%"
1009CELLPADDING="6"
1010><TR
1011><TD
1012><PRE
1013CLASS="PROGRAMLISTING"
1014>#define CHECK_ERROR0</PRE
1015></TD
1016></TR
1017></TABLE
1018><P
1019></P
1020></DIV
1021><HR><DIV
1022CLASS="REFSECT2"
1023><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001024NAME="AEN11338"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001025></A
1026><H3
1027><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001028NAME="XP-ERROR-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001029></A
1030>XP_ERROR()</H3
1031><TABLE
1032BORDER="0"
1033BGCOLOR="#D6E8FF"
1034WIDTH="100%"
1035CELLPADDING="6"
1036><TR
1037><TD
1038><PRE
1039CLASS="PROGRAMLISTING"
1040>#define XP_ERROR(X)</PRE
1041></TD
1042></TR
1043></TABLE
1044><P
1045></P
1046><DIV
1047CLASS="INFORMALTABLE"
1048><P
1049></P
1050><TABLE
1051BORDER="0"
1052WIDTH="100%"
1053BGCOLOR="#FFD0D0"
1054CELLSPACING="0"
1055CELLPADDING="4"
1056CLASS="CALSTABLE"
1057><TR
1058><TD
1059WIDTH="20%"
1060ALIGN="RIGHT"
1061VALIGN="TOP"
1062><TT
1063CLASS="PARAMETER"
1064><I
1065>X</I
1066></TT
1067>&nbsp;:</TD
1068><TD
1069WIDTH="80%"
1070ALIGN="LEFT"
1071VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001072>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001073></TR
1074></TABLE
1075><P
1076></P
1077></DIV
1078></DIV
1079><HR><DIV
1080CLASS="REFSECT2"
1081><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001082NAME="AEN11352"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001083></A
1084><H3
1085><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001086NAME="XP-ERROR0-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001087></A
1088>XP_ERROR0()</H3
1089><TABLE
1090BORDER="0"
1091BGCOLOR="#D6E8FF"
1092WIDTH="100%"
1093CELLPADDING="6"
1094><TR
1095><TD
1096><PRE
1097CLASS="PROGRAMLISTING"
1098>#define XP_ERROR0(X)</PRE
1099></TD
1100></TR
1101></TABLE
1102><P
1103></P
1104><DIV
1105CLASS="INFORMALTABLE"
1106><P
1107></P
1108><TABLE
1109BORDER="0"
1110WIDTH="100%"
1111BGCOLOR="#FFD0D0"
1112CELLSPACING="0"
1113CELLPADDING="4"
1114CLASS="CALSTABLE"
1115><TR
1116><TD
1117WIDTH="20%"
1118ALIGN="RIGHT"
1119VALIGN="TOP"
1120><TT
1121CLASS="PARAMETER"
1122><I
1123>X</I
1124></TT
1125>&nbsp;:</TD
1126><TD
1127WIDTH="80%"
1128ALIGN="LEFT"
1129VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001130>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001131></TR
1132></TABLE
1133><P
1134></P
1135></DIV
1136></DIV
1137><HR><DIV
1138CLASS="REFSECT2"
1139><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001140NAME="AEN11366"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001141></A
1142><H3
1143><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001144NAME="CHECK-TYPE-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001145></A
1146>CHECK_TYPE()</H3
1147><TABLE
1148BORDER="0"
1149BGCOLOR="#D6E8FF"
1150WIDTH="100%"
1151CELLPADDING="6"
1152><TR
1153><TD
1154><PRE
1155CLASS="PROGRAMLISTING"
1156>#define CHECK_TYPE(typeval)</PRE
1157></TD
1158></TR
1159></TABLE
1160><P
1161></P
1162><DIV
1163CLASS="INFORMALTABLE"
1164><P
1165></P
1166><TABLE
1167BORDER="0"
1168WIDTH="100%"
1169BGCOLOR="#FFD0D0"
1170CELLSPACING="0"
1171CELLPADDING="4"
1172CLASS="CALSTABLE"
1173><TR
1174><TD
1175WIDTH="20%"
1176ALIGN="RIGHT"
1177VALIGN="TOP"
1178><TT
1179CLASS="PARAMETER"
1180><I
1181>typeval</I
1182></TT
1183>&nbsp;:</TD
1184><TD
1185WIDTH="80%"
1186ALIGN="LEFT"
1187VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001188>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001189></TR
1190></TABLE
1191><P
1192></P
1193></DIV
1194></DIV
1195><HR><DIV
1196CLASS="REFSECT2"
1197><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001198NAME="AEN11380"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001199></A
1200><H3
1201><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001202NAME="CHECK-ARITY-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001203></A
1204>CHECK_ARITY()</H3
1205><TABLE
1206BORDER="0"
1207BGCOLOR="#D6E8FF"
1208WIDTH="100%"
1209CELLPADDING="6"
1210><TR
1211><TD
1212><PRE
1213CLASS="PROGRAMLISTING"
1214>#define CHECK_ARITY(x)</PRE
1215></TD
1216></TR
1217></TABLE
1218><P
1219></P
1220><DIV
1221CLASS="INFORMALTABLE"
1222><P
1223></P
1224><TABLE
1225BORDER="0"
1226WIDTH="100%"
1227BGCOLOR="#FFD0D0"
1228CELLSPACING="0"
1229CELLPADDING="4"
1230CLASS="CALSTABLE"
1231><TR
1232><TD
1233WIDTH="20%"
1234ALIGN="RIGHT"
1235VALIGN="TOP"
1236><TT
1237CLASS="PARAMETER"
1238><I
1239>x</I
1240></TT
1241>&nbsp;:</TD
1242><TD
1243WIDTH="80%"
1244ALIGN="LEFT"
1245VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001246>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001247></TR
1248></TABLE
1249><P
1250></P
1251></DIV
1252></DIV
1253><HR><DIV
1254CLASS="REFSECT2"
1255><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001256NAME="AEN11394"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001257></A
1258><H3
1259><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001260NAME="CAST-TO-STRING-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001261></A
1262>CAST_TO_STRING</H3
1263><TABLE
1264BORDER="0"
1265BGCOLOR="#D6E8FF"
1266WIDTH="100%"
1267CELLPADDING="6"
1268><TR
1269><TD
1270><PRE
1271CLASS="PROGRAMLISTING"
1272>#define CAST_TO_STRING</PRE
1273></TD
1274></TR
1275></TABLE
1276><P
1277></P
1278></DIV
1279><HR><DIV
1280CLASS="REFSECT2"
1281><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001282NAME="AEN11399"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001283></A
1284><H3
1285><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001286NAME="CAST-TO-NUMBER-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001287></A
1288>CAST_TO_NUMBER</H3
1289><TABLE
1290BORDER="0"
1291BGCOLOR="#D6E8FF"
1292WIDTH="100%"
1293CELLPADDING="6"
1294><TR
1295><TD
1296><PRE
1297CLASS="PROGRAMLISTING"
1298>#define CAST_TO_NUMBER</PRE
1299></TD
1300></TR
1301></TABLE
1302><P
1303></P
1304></DIV
1305><HR><DIV
1306CLASS="REFSECT2"
1307><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001308NAME="AEN11404"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001309></A
1310><H3
1311><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001312NAME="CAST-TO-BOOLEAN-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001313></A
1314>CAST_TO_BOOLEAN</H3
1315><TABLE
1316BORDER="0"
1317BGCOLOR="#D6E8FF"
1318WIDTH="100%"
1319CELLPADDING="6"
1320><TR
1321><TD
1322><PRE
1323CLASS="PROGRAMLISTING"
1324>#define CAST_TO_BOOLEAN</PRE
1325></TD
1326></TR
1327></TABLE
1328><P
1329></P
1330></DIV
1331><HR><DIV
1332CLASS="REFSECT2"
1333><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001334NAME="AEN11409"
1335></A
1336><H3
1337><A
1338NAME="XMLXPATHOBJECTPTR"
1339></A
1340>xmlXPathObjectPtr ()</H3
1341><TABLE
1342BORDER="0"
1343BGCOLOR="#D6E8FF"
1344WIDTH="100%"
1345CELLPADDING="6"
1346><TR
1347><TD
1348><PRE
1349CLASS="PROGRAMLISTING"
1350><GTKDOCLINK
1351HREF="TYPEDEF"
1352>typedef</GTKDOCLINK
1353> xmlXPathObjectPtr ();</PRE
1354></TD
1355></TR
1356></TABLE
1357><P
1358></P
1359><DIV
1360CLASS="INFORMALTABLE"
1361><P
1362></P
1363><TABLE
1364BORDER="0"
1365WIDTH="100%"
1366BGCOLOR="#FFD0D0"
1367CELLSPACING="0"
1368CELLPADDING="4"
1369CLASS="CALSTABLE"
1370><TR
1371><TD
1372WIDTH="20%"
1373ALIGN="RIGHT"
1374VALIGN="TOP"
1375><I
1376CLASS="EMPHASIS"
1377>Returns</I
1378> :</TD
1379><TD
1380WIDTH="80%"
1381ALIGN="LEFT"
1382VALIGN="TOP"
1383>&#13;</TD
1384></TR
1385></TABLE
1386><P
1387></P
1388></DIV
1389></DIV
1390><HR><DIV
1391CLASS="REFSECT2"
1392><A
1393NAME="AEN11424"
1394></A
1395><H3
1396><A
1397NAME="XMLXPATHREGISTERVARIABLELOOKUP"
1398></A
1399>xmlXPathRegisterVariableLookup ()</H3
1400><TABLE
1401BORDER="0"
1402BGCOLOR="#D6E8FF"
1403WIDTH="100%"
1404CELLPADDING="6"
1405><TR
1406><TD
1407><PRE
1408CLASS="PROGRAMLISTING"
1409>void xmlXPathRegisterVariableLookup (<A
1410HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
1411>xmlXPathContextPtr</A
1412> ctxt,
1413 <GTKDOCLINK
1414HREF="XMLXPATHVARIABLELOOKUPFUNC"
1415>xmlXPathVariableLookupFunc</GTKDOCLINK
1416> f,
1417 void *varCtxt);</PRE
1418></TD
1419></TR
1420></TABLE
1421><P
1422>register an external mechanism to do variable lookup</P
1423><P
1424></P
1425><DIV
1426CLASS="INFORMALTABLE"
1427><P
1428></P
1429><TABLE
1430BORDER="0"
1431WIDTH="100%"
1432BGCOLOR="#FFD0D0"
1433CELLSPACING="0"
1434CELLPADDING="4"
1435CLASS="CALSTABLE"
1436><TR
1437><TD
1438WIDTH="20%"
1439ALIGN="RIGHT"
1440VALIGN="TOP"
1441><TT
1442CLASS="PARAMETER"
1443><I
1444>ctxt</I
1445></TT
1446>&nbsp;:</TD
1447><TD
1448WIDTH="80%"
1449ALIGN="LEFT"
1450VALIGN="TOP"
1451> the XPath context</TD
1452></TR
1453><TR
1454><TD
1455WIDTH="20%"
1456ALIGN="RIGHT"
1457VALIGN="TOP"
1458><TT
1459CLASS="PARAMETER"
1460><I
1461>f</I
1462></TT
1463>&nbsp;:</TD
1464><TD
1465WIDTH="80%"
1466ALIGN="LEFT"
1467VALIGN="TOP"
1468> the lookup function</TD
1469></TR
1470><TR
1471><TD
1472WIDTH="20%"
1473ALIGN="RIGHT"
1474VALIGN="TOP"
1475><TT
1476CLASS="PARAMETER"
1477><I
1478>varCtxt</I
1479></TT
1480>&nbsp;:</TD
1481><TD
1482WIDTH="80%"
1483ALIGN="LEFT"
1484VALIGN="TOP"
1485>&#13;</TD
1486></TR
1487></TABLE
1488><P
1489></P
1490></DIV
1491></DIV
1492><HR><DIV
1493CLASS="REFSECT2"
1494><A
1495NAME="AEN11449"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001496></A
1497><H3
1498><A
1499NAME="XMLXPATHERROR"
1500></A
1501>xmlXPatherror ()</H3
1502><TABLE
1503BORDER="0"
1504BGCOLOR="#D6E8FF"
1505WIDTH="100%"
1506CELLPADDING="6"
1507><TR
1508><TD
1509><PRE
1510CLASS="PROGRAMLISTING"
1511>void xmlXPatherror (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001512HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001513>xmlXPathParserContextPtr</A
1514> ctxt,
1515 const char *file,
1516 int line,
1517 int no);</PRE
1518></TD
1519></TR
1520></TABLE
1521><P
1522></P
1523><DIV
1524CLASS="INFORMALTABLE"
1525><P
1526></P
1527><TABLE
1528BORDER="0"
1529WIDTH="100%"
1530BGCOLOR="#FFD0D0"
1531CELLSPACING="0"
1532CELLPADDING="4"
1533CLASS="CALSTABLE"
1534><TR
1535><TD
1536WIDTH="20%"
1537ALIGN="RIGHT"
1538VALIGN="TOP"
1539><TT
1540CLASS="PARAMETER"
1541><I
1542>ctxt</I
1543></TT
1544>&nbsp;:</TD
1545><TD
1546WIDTH="80%"
1547ALIGN="LEFT"
1548VALIGN="TOP"
1549>&nbsp;</TD
1550></TR
1551><TR
1552><TD
1553WIDTH="20%"
1554ALIGN="RIGHT"
1555VALIGN="TOP"
1556><TT
1557CLASS="PARAMETER"
1558><I
1559>file</I
1560></TT
1561>&nbsp;:</TD
1562><TD
1563WIDTH="80%"
1564ALIGN="LEFT"
1565VALIGN="TOP"
1566>&nbsp;</TD
1567></TR
1568><TR
1569><TD
1570WIDTH="20%"
1571ALIGN="RIGHT"
1572VALIGN="TOP"
1573><TT
1574CLASS="PARAMETER"
1575><I
1576>line</I
1577></TT
1578>&nbsp;:</TD
1579><TD
1580WIDTH="80%"
1581ALIGN="LEFT"
1582VALIGN="TOP"
1583>&nbsp;</TD
1584></TR
1585><TR
1586><TD
1587WIDTH="20%"
1588ALIGN="RIGHT"
1589VALIGN="TOP"
1590><TT
1591CLASS="PARAMETER"
1592><I
1593>no</I
1594></TT
1595>&nbsp;:</TD
1596><TD
1597WIDTH="80%"
1598ALIGN="LEFT"
1599VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001600>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001601></TR
1602></TABLE
1603><P
1604></P
1605></DIV
1606></DIV
1607><HR><DIV
1608CLASS="REFSECT2"
1609><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001610NAME="AEN11476"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001611></A
1612><H3
1613><A
1614NAME="XMLXPATHDEBUGDUMPOBJECT"
1615></A
1616>xmlXPathDebugDumpObject ()</H3
1617><TABLE
1618BORDER="0"
1619BGCOLOR="#D6E8FF"
1620WIDTH="100%"
1621CELLPADDING="6"
1622><TR
1623><TD
1624><PRE
1625CLASS="PROGRAMLISTING"
1626>void xmlXPathDebugDumpObject (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00001627HREF="FILE-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001628>FILE</GTKDOCLINK
1629> *output,
1630 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001631HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001632>xmlXPathObjectPtr</A
1633> cur,
1634 int depth);</PRE
1635></TD
1636></TR
1637></TABLE
1638><P
1639></P
1640><DIV
1641CLASS="INFORMALTABLE"
1642><P
1643></P
1644><TABLE
1645BORDER="0"
1646WIDTH="100%"
1647BGCOLOR="#FFD0D0"
1648CELLSPACING="0"
1649CELLPADDING="4"
1650CLASS="CALSTABLE"
1651><TR
1652><TD
1653WIDTH="20%"
1654ALIGN="RIGHT"
1655VALIGN="TOP"
1656><TT
1657CLASS="PARAMETER"
1658><I
1659>output</I
1660></TT
1661>&nbsp;:</TD
1662><TD
1663WIDTH="80%"
1664ALIGN="LEFT"
1665VALIGN="TOP"
1666>&nbsp;</TD
1667></TR
1668><TR
1669><TD
1670WIDTH="20%"
1671ALIGN="RIGHT"
1672VALIGN="TOP"
1673><TT
1674CLASS="PARAMETER"
1675><I
1676>cur</I
1677></TT
1678>&nbsp;:</TD
1679><TD
1680WIDTH="80%"
1681ALIGN="LEFT"
1682VALIGN="TOP"
1683>&nbsp;</TD
1684></TR
1685><TR
1686><TD
1687WIDTH="20%"
1688ALIGN="RIGHT"
1689VALIGN="TOP"
1690><TT
1691CLASS="PARAMETER"
1692><I
1693>depth</I
1694></TT
1695>&nbsp;:</TD
1696><TD
1697WIDTH="80%"
1698ALIGN="LEFT"
1699VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001700>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001701></TR
1702></TABLE
1703><P
1704></P
1705></DIV
1706></DIV
1707><HR><DIV
1708CLASS="REFSECT2"
1709><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001710NAME="AEN11500"
Daniel Veillard503b8932001-01-05 06:36:31 +00001711></A
1712><H3
1713><A
1714NAME="XMLXPATHREGISTERNS"
1715></A
1716>xmlXPathRegisterNs ()</H3
1717><TABLE
1718BORDER="0"
1719BGCOLOR="#D6E8FF"
1720WIDTH="100%"
1721CELLPADDING="6"
1722><TR
1723><TD
1724><PRE
1725CLASS="PROGRAMLISTING"
1726>int xmlXPathRegisterNs (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001727HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard503b8932001-01-05 06:36:31 +00001728>xmlXPathContextPtr</A
1729> ctxt,
1730 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001731HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard503b8932001-01-05 06:36:31 +00001732>xmlChar</A
1733> *prefix,
1734 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001735HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard503b8932001-01-05 06:36:31 +00001736>xmlChar</A
1737> *ns_uri);</PRE
1738></TD
1739></TR
1740></TABLE
1741><P
1742>Register a new namespace. If <TT
1743CLASS="PARAMETER"
1744><I
1745>ns_uri</I
1746></TT
1747> is NULL it unregisters
1748the namespace</P
1749><P
1750></P
1751><DIV
1752CLASS="INFORMALTABLE"
1753><P
1754></P
1755><TABLE
1756BORDER="0"
1757WIDTH="100%"
1758BGCOLOR="#FFD0D0"
1759CELLSPACING="0"
1760CELLPADDING="4"
1761CLASS="CALSTABLE"
1762><TR
1763><TD
1764WIDTH="20%"
1765ALIGN="RIGHT"
1766VALIGN="TOP"
1767><TT
1768CLASS="PARAMETER"
1769><I
1770>ctxt</I
1771></TT
1772>&nbsp;:</TD
1773><TD
1774WIDTH="80%"
1775ALIGN="LEFT"
1776VALIGN="TOP"
1777> the XPath context</TD
1778></TR
1779><TR
1780><TD
1781WIDTH="20%"
1782ALIGN="RIGHT"
1783VALIGN="TOP"
1784><TT
1785CLASS="PARAMETER"
1786><I
1787>prefix</I
1788></TT
1789>&nbsp;:</TD
1790><TD
1791WIDTH="80%"
1792ALIGN="LEFT"
1793VALIGN="TOP"
1794> the namespace prefix</TD
1795></TR
1796><TR
1797><TD
1798WIDTH="20%"
1799ALIGN="RIGHT"
1800VALIGN="TOP"
1801><TT
1802CLASS="PARAMETER"
1803><I
1804>ns_uri</I
1805></TT
1806>&nbsp;:</TD
1807><TD
1808WIDTH="80%"
1809ALIGN="LEFT"
1810VALIGN="TOP"
1811> the namespace name</TD
1812></TR
1813><TR
1814><TD
1815WIDTH="20%"
1816ALIGN="RIGHT"
1817VALIGN="TOP"
1818><I
1819CLASS="EMPHASIS"
1820>Returns</I
1821> :</TD
1822><TD
1823WIDTH="80%"
1824ALIGN="LEFT"
1825VALIGN="TOP"
1826>0 in case of success, -1 in case of error</TD
1827></TR
1828></TABLE
1829><P
1830></P
1831></DIV
1832></DIV
1833><HR><DIV
1834CLASS="REFSECT2"
1835><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001836NAME="AEN11531"
Daniel Veillard503b8932001-01-05 06:36:31 +00001837></A
1838><H3
1839><A
1840NAME="XMLXPATHNSLOOKUP"
1841></A
1842>xmlXPathNsLookup ()</H3
1843><TABLE
1844BORDER="0"
1845BGCOLOR="#D6E8FF"
1846WIDTH="100%"
1847CELLPADDING="6"
1848><TR
1849><TD
1850><PRE
1851CLASS="PROGRAMLISTING"
1852>const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001853HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard503b8932001-01-05 06:36:31 +00001854>xmlChar</A
1855>* xmlXPathNsLookup (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001856HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard503b8932001-01-05 06:36:31 +00001857>xmlXPathContextPtr</A
1858> ctxt,
1859 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001860HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard503b8932001-01-05 06:36:31 +00001861>xmlChar</A
1862> *ns_uri);</PRE
1863></TD
1864></TR
1865></TABLE
1866><P
1867>Search in the namespace declaration array of the context for the given
1868namespace name associated to the given prefix</P
1869><P
1870></P
1871><DIV
1872CLASS="INFORMALTABLE"
1873><P
1874></P
1875><TABLE
1876BORDER="0"
1877WIDTH="100%"
1878BGCOLOR="#FFD0D0"
1879CELLSPACING="0"
1880CELLPADDING="4"
1881CLASS="CALSTABLE"
1882><TR
1883><TD
1884WIDTH="20%"
1885ALIGN="RIGHT"
1886VALIGN="TOP"
1887><TT
1888CLASS="PARAMETER"
1889><I
1890>ctxt</I
1891></TT
1892>&nbsp;:</TD
1893><TD
1894WIDTH="80%"
1895ALIGN="LEFT"
1896VALIGN="TOP"
1897> the XPath context</TD
1898></TR
1899><TR
1900><TD
1901WIDTH="20%"
1902ALIGN="RIGHT"
1903VALIGN="TOP"
1904><TT
1905CLASS="PARAMETER"
1906><I
1907>ns_uri</I
1908></TT
1909>&nbsp;:</TD
1910><TD
1911WIDTH="80%"
1912ALIGN="LEFT"
1913VALIGN="TOP"
1914>&nbsp;</TD
1915></TR
1916><TR
1917><TD
1918WIDTH="20%"
1919ALIGN="RIGHT"
1920VALIGN="TOP"
1921><I
1922CLASS="EMPHASIS"
1923>Returns</I
1924> :</TD
1925><TD
1926WIDTH="80%"
1927ALIGN="LEFT"
1928VALIGN="TOP"
1929>the value or NULL if not found</TD
1930></TR
1931></TABLE
1932><P
1933></P
1934></DIV
1935></DIV
1936><HR><DIV
1937CLASS="REFSECT2"
1938><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001939NAME="AEN11557"
Daniel Veillard503b8932001-01-05 06:36:31 +00001940></A
1941><H3
1942><A
1943NAME="XMLXPATHREGISTEREDNSCLEANUP"
1944></A
1945>xmlXPathRegisteredNsCleanup ()</H3
1946><TABLE
1947BORDER="0"
1948BGCOLOR="#D6E8FF"
1949WIDTH="100%"
1950CELLPADDING="6"
1951><TR
1952><TD
1953><PRE
1954CLASS="PROGRAMLISTING"
1955>void xmlXPathRegisteredNsCleanup (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001956HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard503b8932001-01-05 06:36:31 +00001957>xmlXPathContextPtr</A
1958> ctxt);</PRE
1959></TD
1960></TR
1961></TABLE
1962><P
1963></P
1964><DIV
1965CLASS="INFORMALTABLE"
1966><P
1967></P
1968><TABLE
1969BORDER="0"
1970WIDTH="100%"
1971BGCOLOR="#FFD0D0"
1972CELLSPACING="0"
1973CELLPADDING="4"
1974CLASS="CALSTABLE"
1975><TR
1976><TD
1977WIDTH="20%"
1978ALIGN="RIGHT"
1979VALIGN="TOP"
1980><TT
1981CLASS="PARAMETER"
1982><I
1983>ctxt</I
1984></TT
1985>&nbsp;:</TD
1986><TD
1987WIDTH="80%"
1988ALIGN="LEFT"
1989VALIGN="TOP"
1990>&#13;</TD
1991></TR
1992></TABLE
1993><P
1994></P
1995></DIV
1996></DIV
1997><HR><DIV
1998CLASS="REFSECT2"
1999><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002000NAME="AEN11572"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002001></A
2002><H3
2003><A
2004NAME="XMLXPATHREGISTERFUNC"
2005></A
2006>xmlXPathRegisterFunc ()</H3
2007><TABLE
2008BORDER="0"
2009BGCOLOR="#D6E8FF"
2010WIDTH="100%"
2011CELLPADDING="6"
2012><TR
2013><TD
2014><PRE
2015CLASS="PROGRAMLISTING"
2016>int xmlXPathRegisterFunc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002017HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002018>xmlXPathContextPtr</A
2019> ctxt,
2020 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002021HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002022>xmlChar</A
2023> *name,
2024 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002025HREF="libxml-xpath.html#XMLXPATHFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002026>xmlXPathFunction</A
2027> f);</PRE
2028></TD
2029></TR
2030></TABLE
2031><P
2032>Register a new function. If <TT
2033CLASS="PARAMETER"
2034><I
2035>f</I
2036></TT
2037> is NULL it unregisters the function</P
2038><P
2039></P
2040><DIV
2041CLASS="INFORMALTABLE"
2042><P
2043></P
2044><TABLE
2045BORDER="0"
2046WIDTH="100%"
2047BGCOLOR="#FFD0D0"
2048CELLSPACING="0"
2049CELLPADDING="4"
2050CLASS="CALSTABLE"
2051><TR
2052><TD
2053WIDTH="20%"
2054ALIGN="RIGHT"
2055VALIGN="TOP"
2056><TT
2057CLASS="PARAMETER"
2058><I
2059>ctxt</I
2060></TT
2061>&nbsp;:</TD
2062><TD
2063WIDTH="80%"
2064ALIGN="LEFT"
2065VALIGN="TOP"
2066> the XPath context</TD
2067></TR
2068><TR
2069><TD
2070WIDTH="20%"
2071ALIGN="RIGHT"
2072VALIGN="TOP"
2073><TT
2074CLASS="PARAMETER"
2075><I
2076>name</I
2077></TT
2078>&nbsp;:</TD
2079><TD
2080WIDTH="80%"
2081ALIGN="LEFT"
2082VALIGN="TOP"
2083> the function name</TD
2084></TR
2085><TR
2086><TD
2087WIDTH="20%"
2088ALIGN="RIGHT"
2089VALIGN="TOP"
2090><TT
2091CLASS="PARAMETER"
2092><I
2093>f</I
2094></TT
2095>&nbsp;:</TD
2096><TD
2097WIDTH="80%"
2098ALIGN="LEFT"
2099VALIGN="TOP"
2100> the function implementation or NULL</TD
2101></TR
2102><TR
2103><TD
2104WIDTH="20%"
2105ALIGN="RIGHT"
2106VALIGN="TOP"
2107><I
2108CLASS="EMPHASIS"
2109>Returns</I
2110> :</TD
2111><TD
2112WIDTH="80%"
2113ALIGN="LEFT"
2114VALIGN="TOP"
2115>0 in case of success, -1 in case of error</TD
2116></TR
2117></TABLE
2118><P
2119></P
2120></DIV
2121></DIV
2122><HR><DIV
2123CLASS="REFSECT2"
2124><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002125NAME="AEN11603"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002126></A
2127><H3
2128><A
2129NAME="XMLXPATHREGISTERFUNCNS"
2130></A
2131>xmlXPathRegisterFuncNS ()</H3
2132><TABLE
2133BORDER="0"
2134BGCOLOR="#D6E8FF"
2135WIDTH="100%"
2136CELLPADDING="6"
2137><TR
2138><TD
2139><PRE
2140CLASS="PROGRAMLISTING"
2141>int xmlXPathRegisterFuncNS (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002142HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002143>xmlXPathContextPtr</A
2144> ctxt,
2145 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002146HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002147>xmlChar</A
2148> *name,
2149 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002150HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002151>xmlChar</A
2152> *ns_uri,
2153 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002154HREF="libxml-xpath.html#XMLXPATHFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002155>xmlXPathFunction</A
2156> f);</PRE
2157></TD
2158></TR
2159></TABLE
2160><P
2161>Register a new function. If <TT
2162CLASS="PARAMETER"
2163><I
2164>f</I
2165></TT
2166> is NULL it unregisters the function</P
2167><P
2168></P
2169><DIV
2170CLASS="INFORMALTABLE"
2171><P
2172></P
2173><TABLE
2174BORDER="0"
2175WIDTH="100%"
2176BGCOLOR="#FFD0D0"
2177CELLSPACING="0"
2178CELLPADDING="4"
2179CLASS="CALSTABLE"
2180><TR
2181><TD
2182WIDTH="20%"
2183ALIGN="RIGHT"
2184VALIGN="TOP"
2185><TT
2186CLASS="PARAMETER"
2187><I
2188>ctxt</I
2189></TT
2190>&nbsp;:</TD
2191><TD
2192WIDTH="80%"
2193ALIGN="LEFT"
2194VALIGN="TOP"
2195> the XPath context</TD
2196></TR
2197><TR
2198><TD
2199WIDTH="20%"
2200ALIGN="RIGHT"
2201VALIGN="TOP"
2202><TT
2203CLASS="PARAMETER"
2204><I
2205>name</I
2206></TT
2207>&nbsp;:</TD
2208><TD
2209WIDTH="80%"
2210ALIGN="LEFT"
2211VALIGN="TOP"
2212> the function name</TD
2213></TR
2214><TR
2215><TD
2216WIDTH="20%"
2217ALIGN="RIGHT"
2218VALIGN="TOP"
2219><TT
2220CLASS="PARAMETER"
2221><I
2222>ns_uri</I
2223></TT
2224>&nbsp;:</TD
2225><TD
2226WIDTH="80%"
2227ALIGN="LEFT"
2228VALIGN="TOP"
2229> the function namespace URI</TD
2230></TR
2231><TR
2232><TD
2233WIDTH="20%"
2234ALIGN="RIGHT"
2235VALIGN="TOP"
2236><TT
2237CLASS="PARAMETER"
2238><I
2239>f</I
2240></TT
2241>&nbsp;:</TD
2242><TD
2243WIDTH="80%"
2244ALIGN="LEFT"
2245VALIGN="TOP"
2246> the function implementation or NULL</TD
2247></TR
2248><TR
2249><TD
2250WIDTH="20%"
2251ALIGN="RIGHT"
2252VALIGN="TOP"
2253><I
2254CLASS="EMPHASIS"
2255>Returns</I
2256> :</TD
2257><TD
2258WIDTH="80%"
2259ALIGN="LEFT"
2260VALIGN="TOP"
2261>0 in case of success, -1 in case of error</TD
2262></TR
2263></TABLE
2264><P
2265></P
2266></DIV
2267></DIV
2268><HR><DIV
2269CLASS="REFSECT2"
2270><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002271NAME="AEN11639"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002272></A
2273><H3
2274><A
2275NAME="XMLXPATHREGISTERVARIABLE"
2276></A
2277>xmlXPathRegisterVariable ()</H3
2278><TABLE
2279BORDER="0"
2280BGCOLOR="#D6E8FF"
2281WIDTH="100%"
2282CELLPADDING="6"
2283><TR
2284><TD
2285><PRE
2286CLASS="PROGRAMLISTING"
2287>int xmlXPathRegisterVariable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002288HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002289>xmlXPathContextPtr</A
2290> ctxt,
2291 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002292HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002293>xmlChar</A
2294> *name,
2295 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002296HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002297>xmlXPathObjectPtr</A
2298> value);</PRE
2299></TD
2300></TR
2301></TABLE
2302><P
2303>Register a new variable value. If <TT
2304CLASS="PARAMETER"
2305><I
2306>value</I
2307></TT
2308> is NULL it unregisters
2309the variable</P
2310><P
2311></P
2312><DIV
2313CLASS="INFORMALTABLE"
2314><P
2315></P
2316><TABLE
2317BORDER="0"
2318WIDTH="100%"
2319BGCOLOR="#FFD0D0"
2320CELLSPACING="0"
2321CELLPADDING="4"
2322CLASS="CALSTABLE"
2323><TR
2324><TD
2325WIDTH="20%"
2326ALIGN="RIGHT"
2327VALIGN="TOP"
2328><TT
2329CLASS="PARAMETER"
2330><I
2331>ctxt</I
2332></TT
2333>&nbsp;:</TD
2334><TD
2335WIDTH="80%"
2336ALIGN="LEFT"
2337VALIGN="TOP"
2338> the XPath context</TD
2339></TR
2340><TR
2341><TD
2342WIDTH="20%"
2343ALIGN="RIGHT"
2344VALIGN="TOP"
2345><TT
2346CLASS="PARAMETER"
2347><I
2348>name</I
2349></TT
2350>&nbsp;:</TD
2351><TD
2352WIDTH="80%"
2353ALIGN="LEFT"
2354VALIGN="TOP"
2355> the variable name</TD
2356></TR
2357><TR
2358><TD
2359WIDTH="20%"
2360ALIGN="RIGHT"
2361VALIGN="TOP"
2362><TT
2363CLASS="PARAMETER"
2364><I
2365>value</I
2366></TT
2367>&nbsp;:</TD
2368><TD
2369WIDTH="80%"
2370ALIGN="LEFT"
2371VALIGN="TOP"
2372> the variable value or NULL</TD
2373></TR
2374><TR
2375><TD
2376WIDTH="20%"
2377ALIGN="RIGHT"
2378VALIGN="TOP"
2379><I
2380CLASS="EMPHASIS"
2381>Returns</I
2382> :</TD
2383><TD
2384WIDTH="80%"
2385ALIGN="LEFT"
2386VALIGN="TOP"
2387>0 in case of success, -1 in case of error</TD
2388></TR
2389></TABLE
2390><P
2391></P
2392></DIV
2393></DIV
2394><HR><DIV
2395CLASS="REFSECT2"
2396><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002397NAME="AEN11670"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002398></A
2399><H3
2400><A
2401NAME="XMLXPATHREGISTERVARIABLENS"
2402></A
2403>xmlXPathRegisterVariableNS ()</H3
2404><TABLE
2405BORDER="0"
2406BGCOLOR="#D6E8FF"
2407WIDTH="100%"
2408CELLPADDING="6"
2409><TR
2410><TD
2411><PRE
2412CLASS="PROGRAMLISTING"
2413>int xmlXPathRegisterVariableNS (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002414HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002415>xmlXPathContextPtr</A
2416> ctxt,
2417 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002418HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002419>xmlChar</A
2420> *name,
2421 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002422HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002423>xmlChar</A
2424> *ns_uri,
2425 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002426HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002427>xmlXPathObjectPtr</A
2428> value);</PRE
2429></TD
2430></TR
2431></TABLE
2432><P
2433>Register a new variable value. If <TT
2434CLASS="PARAMETER"
2435><I
2436>value</I
2437></TT
2438> is NULL it unregisters
2439the variable</P
2440><P
2441></P
2442><DIV
2443CLASS="INFORMALTABLE"
2444><P
2445></P
2446><TABLE
2447BORDER="0"
2448WIDTH="100%"
2449BGCOLOR="#FFD0D0"
2450CELLSPACING="0"
2451CELLPADDING="4"
2452CLASS="CALSTABLE"
2453><TR
2454><TD
2455WIDTH="20%"
2456ALIGN="RIGHT"
2457VALIGN="TOP"
2458><TT
2459CLASS="PARAMETER"
2460><I
2461>ctxt</I
2462></TT
2463>&nbsp;:</TD
2464><TD
2465WIDTH="80%"
2466ALIGN="LEFT"
2467VALIGN="TOP"
2468> the XPath context</TD
2469></TR
2470><TR
2471><TD
2472WIDTH="20%"
2473ALIGN="RIGHT"
2474VALIGN="TOP"
2475><TT
2476CLASS="PARAMETER"
2477><I
2478>name</I
2479></TT
2480>&nbsp;:</TD
2481><TD
2482WIDTH="80%"
2483ALIGN="LEFT"
2484VALIGN="TOP"
2485> the variable name</TD
2486></TR
2487><TR
2488><TD
2489WIDTH="20%"
2490ALIGN="RIGHT"
2491VALIGN="TOP"
2492><TT
2493CLASS="PARAMETER"
2494><I
2495>ns_uri</I
2496></TT
2497>&nbsp;:</TD
2498><TD
2499WIDTH="80%"
2500ALIGN="LEFT"
2501VALIGN="TOP"
2502> the variable namespace URI</TD
2503></TR
2504><TR
2505><TD
2506WIDTH="20%"
2507ALIGN="RIGHT"
2508VALIGN="TOP"
2509><TT
2510CLASS="PARAMETER"
2511><I
2512>value</I
2513></TT
2514>&nbsp;:</TD
2515><TD
2516WIDTH="80%"
2517ALIGN="LEFT"
2518VALIGN="TOP"
2519> the variable value or NULL</TD
2520></TR
2521><TR
2522><TD
2523WIDTH="20%"
2524ALIGN="RIGHT"
2525VALIGN="TOP"
2526><I
2527CLASS="EMPHASIS"
2528>Returns</I
2529> :</TD
2530><TD
2531WIDTH="80%"
2532ALIGN="LEFT"
2533VALIGN="TOP"
2534>0 in case of success, -1 in case of error</TD
2535></TR
2536></TABLE
2537><P
2538></P
2539></DIV
2540></DIV
2541><HR><DIV
2542CLASS="REFSECT2"
2543><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002544NAME="AEN11706"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002545></A
2546><H3
2547><A
2548NAME="XMLXPATHFUNCTIONLOOKUP"
2549></A
2550>xmlXPathFunctionLookup ()</H3
2551><TABLE
2552BORDER="0"
2553BGCOLOR="#D6E8FF"
2554WIDTH="100%"
2555CELLPADDING="6"
2556><TR
2557><TD
2558><PRE
2559CLASS="PROGRAMLISTING"
2560><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002561HREF="libxml-xpath.html#XMLXPATHFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002562>xmlXPathFunction</A
2563> xmlXPathFunctionLookup (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002564HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002565>xmlXPathContextPtr</A
2566> ctxt,
2567 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002568HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002569>xmlChar</A
2570> *name);</PRE
2571></TD
2572></TR
2573></TABLE
2574><P
2575>Search in the Function array of the context for the given
2576function.</P
2577><P
2578></P
2579><DIV
2580CLASS="INFORMALTABLE"
2581><P
2582></P
2583><TABLE
2584BORDER="0"
2585WIDTH="100%"
2586BGCOLOR="#FFD0D0"
2587CELLSPACING="0"
2588CELLPADDING="4"
2589CLASS="CALSTABLE"
2590><TR
2591><TD
2592WIDTH="20%"
2593ALIGN="RIGHT"
2594VALIGN="TOP"
2595><TT
2596CLASS="PARAMETER"
2597><I
2598>ctxt</I
2599></TT
2600>&nbsp;:</TD
2601><TD
2602WIDTH="80%"
2603ALIGN="LEFT"
2604VALIGN="TOP"
2605> the XPath context</TD
2606></TR
2607><TR
2608><TD
2609WIDTH="20%"
2610ALIGN="RIGHT"
2611VALIGN="TOP"
2612><TT
2613CLASS="PARAMETER"
2614><I
2615>name</I
2616></TT
2617>&nbsp;:</TD
2618><TD
2619WIDTH="80%"
2620ALIGN="LEFT"
2621VALIGN="TOP"
2622> the function name</TD
2623></TR
2624><TR
2625><TD
2626WIDTH="20%"
2627ALIGN="RIGHT"
2628VALIGN="TOP"
2629><I
2630CLASS="EMPHASIS"
2631>Returns</I
2632> :</TD
2633><TD
2634WIDTH="80%"
2635ALIGN="LEFT"
2636VALIGN="TOP"
2637>the xmlXPathFunction or NULL if not found</TD
2638></TR
2639></TABLE
2640><P
2641></P
2642></DIV
2643></DIV
2644><HR><DIV
2645CLASS="REFSECT2"
2646><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002647NAME="AEN11732"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002648></A
2649><H3
2650><A
2651NAME="XMLXPATHFUNCTIONLOOKUPNS"
2652></A
2653>xmlXPathFunctionLookupNS ()</H3
2654><TABLE
2655BORDER="0"
2656BGCOLOR="#D6E8FF"
2657WIDTH="100%"
2658CELLPADDING="6"
2659><TR
2660><TD
2661><PRE
2662CLASS="PROGRAMLISTING"
2663><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002664HREF="libxml-xpath.html#XMLXPATHFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002665>xmlXPathFunction</A
2666> xmlXPathFunctionLookupNS (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002667HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002668>xmlXPathContextPtr</A
2669> ctxt,
2670 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002671HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002672>xmlChar</A
2673> *name,
2674 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002675HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002676>xmlChar</A
2677> *ns_uri);</PRE
2678></TD
2679></TR
2680></TABLE
2681><P
2682>Search in the Function array of the context for the given
2683function.</P
2684><P
2685></P
2686><DIV
2687CLASS="INFORMALTABLE"
2688><P
2689></P
2690><TABLE
2691BORDER="0"
2692WIDTH="100%"
2693BGCOLOR="#FFD0D0"
2694CELLSPACING="0"
2695CELLPADDING="4"
2696CLASS="CALSTABLE"
2697><TR
2698><TD
2699WIDTH="20%"
2700ALIGN="RIGHT"
2701VALIGN="TOP"
2702><TT
2703CLASS="PARAMETER"
2704><I
2705>ctxt</I
2706></TT
2707>&nbsp;:</TD
2708><TD
2709WIDTH="80%"
2710ALIGN="LEFT"
2711VALIGN="TOP"
2712> the XPath context</TD
2713></TR
2714><TR
2715><TD
2716WIDTH="20%"
2717ALIGN="RIGHT"
2718VALIGN="TOP"
2719><TT
2720CLASS="PARAMETER"
2721><I
2722>name</I
2723></TT
2724>&nbsp;:</TD
2725><TD
2726WIDTH="80%"
2727ALIGN="LEFT"
2728VALIGN="TOP"
2729> the function name</TD
2730></TR
2731><TR
2732><TD
2733WIDTH="20%"
2734ALIGN="RIGHT"
2735VALIGN="TOP"
2736><TT
2737CLASS="PARAMETER"
2738><I
2739>ns_uri</I
2740></TT
2741>&nbsp;:</TD
2742><TD
2743WIDTH="80%"
2744ALIGN="LEFT"
2745VALIGN="TOP"
2746> the function namespace URI</TD
2747></TR
2748><TR
2749><TD
2750WIDTH="20%"
2751ALIGN="RIGHT"
2752VALIGN="TOP"
2753><I
2754CLASS="EMPHASIS"
2755>Returns</I
2756> :</TD
2757><TD
2758WIDTH="80%"
2759ALIGN="LEFT"
2760VALIGN="TOP"
2761>the xmlXPathFunction or NULL if not found</TD
2762></TR
2763></TABLE
2764><P
2765></P
2766></DIV
2767></DIV
2768><HR><DIV
2769CLASS="REFSECT2"
2770><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002771NAME="AEN11763"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002772></A
2773><H3
2774><A
2775NAME="XMLXPATHREGISTEREDFUNCSCLEANUP"
2776></A
2777>xmlXPathRegisteredFuncsCleanup ()</H3
2778><TABLE
2779BORDER="0"
2780BGCOLOR="#D6E8FF"
2781WIDTH="100%"
2782CELLPADDING="6"
2783><TR
2784><TD
2785><PRE
2786CLASS="PROGRAMLISTING"
2787>void xmlXPathRegisteredFuncsCleanup (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002788HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002789>xmlXPathContextPtr</A
2790> ctxt);</PRE
2791></TD
2792></TR
2793></TABLE
2794><P
2795>Cleanup the XPath context data associated to registered functions</P
2796><P
2797></P
2798><DIV
2799CLASS="INFORMALTABLE"
2800><P
2801></P
2802><TABLE
2803BORDER="0"
2804WIDTH="100%"
2805BGCOLOR="#FFD0D0"
2806CELLSPACING="0"
2807CELLPADDING="4"
2808CLASS="CALSTABLE"
2809><TR
2810><TD
2811WIDTH="20%"
2812ALIGN="RIGHT"
2813VALIGN="TOP"
2814><TT
2815CLASS="PARAMETER"
2816><I
2817>ctxt</I
2818></TT
2819>&nbsp;:</TD
2820><TD
2821WIDTH="80%"
2822ALIGN="LEFT"
2823VALIGN="TOP"
2824> the XPath context</TD
2825></TR
2826></TABLE
2827><P
2828></P
2829></DIV
2830></DIV
2831><HR><DIV
2832CLASS="REFSECT2"
2833><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002834NAME="AEN11779"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002835></A
2836><H3
2837><A
2838NAME="XMLXPATHVARIABLELOOKUP"
2839></A
2840>xmlXPathVariableLookup ()</H3
2841><TABLE
2842BORDER="0"
2843BGCOLOR="#D6E8FF"
2844WIDTH="100%"
2845CELLPADDING="6"
2846><TR
2847><TD
2848><PRE
2849CLASS="PROGRAMLISTING"
2850><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002851HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002852>xmlXPathObjectPtr</A
2853> xmlXPathVariableLookup (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002854HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002855>xmlXPathContextPtr</A
2856> ctxt,
2857 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002858HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002859>xmlChar</A
2860> *name);</PRE
2861></TD
2862></TR
2863></TABLE
2864><P
2865>Search in the Variable array of the context for the given
2866variable value.</P
2867><P
2868></P
2869><DIV
2870CLASS="INFORMALTABLE"
2871><P
2872></P
2873><TABLE
2874BORDER="0"
2875WIDTH="100%"
2876BGCOLOR="#FFD0D0"
2877CELLSPACING="0"
2878CELLPADDING="4"
2879CLASS="CALSTABLE"
2880><TR
2881><TD
2882WIDTH="20%"
2883ALIGN="RIGHT"
2884VALIGN="TOP"
2885><TT
2886CLASS="PARAMETER"
2887><I
2888>ctxt</I
2889></TT
2890>&nbsp;:</TD
2891><TD
2892WIDTH="80%"
2893ALIGN="LEFT"
2894VALIGN="TOP"
2895> the XPath context</TD
2896></TR
2897><TR
2898><TD
2899WIDTH="20%"
2900ALIGN="RIGHT"
2901VALIGN="TOP"
2902><TT
2903CLASS="PARAMETER"
2904><I
2905>name</I
2906></TT
2907>&nbsp;:</TD
2908><TD
2909WIDTH="80%"
2910ALIGN="LEFT"
2911VALIGN="TOP"
2912> the variable name</TD
2913></TR
2914><TR
2915><TD
2916WIDTH="20%"
2917ALIGN="RIGHT"
2918VALIGN="TOP"
2919><I
2920CLASS="EMPHASIS"
2921>Returns</I
2922> :</TD
2923><TD
2924WIDTH="80%"
2925ALIGN="LEFT"
2926VALIGN="TOP"
2927>the value or NULL if not found</TD
2928></TR
2929></TABLE
2930><P
2931></P
2932></DIV
2933></DIV
2934><HR><DIV
2935CLASS="REFSECT2"
2936><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002937NAME="AEN11805"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002938></A
2939><H3
2940><A
2941NAME="XMLXPATHVARIABLELOOKUPNS"
2942></A
2943>xmlXPathVariableLookupNS ()</H3
2944><TABLE
2945BORDER="0"
2946BGCOLOR="#D6E8FF"
2947WIDTH="100%"
2948CELLPADDING="6"
2949><TR
2950><TD
2951><PRE
2952CLASS="PROGRAMLISTING"
2953><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002954HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002955>xmlXPathObjectPtr</A
2956> xmlXPathVariableLookupNS (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002957HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002958>xmlXPathContextPtr</A
2959> ctxt,
2960 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002961HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002962>xmlChar</A
2963> *name,
2964 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002965HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002966>xmlChar</A
2967> *ns_uri);</PRE
2968></TD
2969></TR
2970></TABLE
2971><P
2972>Search in the Variable array of the context for the given
2973variable value.</P
2974><P
2975></P
2976><DIV
2977CLASS="INFORMALTABLE"
2978><P
2979></P
2980><TABLE
2981BORDER="0"
2982WIDTH="100%"
2983BGCOLOR="#FFD0D0"
2984CELLSPACING="0"
2985CELLPADDING="4"
2986CLASS="CALSTABLE"
2987><TR
2988><TD
2989WIDTH="20%"
2990ALIGN="RIGHT"
2991VALIGN="TOP"
2992><TT
2993CLASS="PARAMETER"
2994><I
2995>ctxt</I
2996></TT
2997>&nbsp;:</TD
2998><TD
2999WIDTH="80%"
3000ALIGN="LEFT"
3001VALIGN="TOP"
3002> the XPath context</TD
3003></TR
3004><TR
3005><TD
3006WIDTH="20%"
3007ALIGN="RIGHT"
3008VALIGN="TOP"
3009><TT
3010CLASS="PARAMETER"
3011><I
3012>name</I
3013></TT
3014>&nbsp;:</TD
3015><TD
3016WIDTH="80%"
3017ALIGN="LEFT"
3018VALIGN="TOP"
3019> the variable name</TD
3020></TR
3021><TR
3022><TD
3023WIDTH="20%"
3024ALIGN="RIGHT"
3025VALIGN="TOP"
3026><TT
3027CLASS="PARAMETER"
3028><I
3029>ns_uri</I
3030></TT
3031>&nbsp;:</TD
3032><TD
3033WIDTH="80%"
3034ALIGN="LEFT"
3035VALIGN="TOP"
3036> the variable namespace URI</TD
3037></TR
3038><TR
3039><TD
3040WIDTH="20%"
3041ALIGN="RIGHT"
3042VALIGN="TOP"
3043><I
3044CLASS="EMPHASIS"
3045>Returns</I
3046> :</TD
3047><TD
3048WIDTH="80%"
3049ALIGN="LEFT"
3050VALIGN="TOP"
3051>the value or NULL if not found</TD
3052></TR
3053></TABLE
3054><P
3055></P
3056></DIV
3057></DIV
3058><HR><DIV
3059CLASS="REFSECT2"
3060><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003061NAME="AEN11836"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003062></A
3063><H3
3064><A
3065NAME="XMLXPATHREGISTEREDVARIABLESCLEANUP"
3066></A
3067>xmlXPathRegisteredVariablesCleanup ()</H3
3068><TABLE
3069BORDER="0"
3070BGCOLOR="#D6E8FF"
3071WIDTH="100%"
3072CELLPADDING="6"
3073><TR
3074><TD
3075><PRE
3076CLASS="PROGRAMLISTING"
3077>void xmlXPathRegisteredVariablesCleanup
3078 (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003079HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003080>xmlXPathContextPtr</A
3081> ctxt);</PRE
3082></TD
3083></TR
3084></TABLE
3085><P
3086>Cleanup the XPath context data associated to registered variables</P
3087><P
3088></P
3089><DIV
3090CLASS="INFORMALTABLE"
3091><P
3092></P
3093><TABLE
3094BORDER="0"
3095WIDTH="100%"
3096BGCOLOR="#FFD0D0"
3097CELLSPACING="0"
3098CELLPADDING="4"
3099CLASS="CALSTABLE"
3100><TR
3101><TD
3102WIDTH="20%"
3103ALIGN="RIGHT"
3104VALIGN="TOP"
3105><TT
3106CLASS="PARAMETER"
3107><I
3108>ctxt</I
3109></TT
3110>&nbsp;:</TD
3111><TD
3112WIDTH="80%"
3113ALIGN="LEFT"
3114VALIGN="TOP"
3115> the XPath context</TD
3116></TR
3117></TABLE
3118><P
3119></P
3120></DIV
3121></DIV
3122><HR><DIV
3123CLASS="REFSECT2"
3124><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003125NAME="AEN11852"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003126></A
3127><H3
3128><A
3129NAME="XMLXPATHNEWPARSERCONTEXT"
3130></A
3131>xmlXPathNewParserContext ()</H3
3132><TABLE
3133BORDER="0"
3134BGCOLOR="#D6E8FF"
3135WIDTH="100%"
3136CELLPADDING="6"
3137><TR
3138><TD
3139><PRE
3140CLASS="PROGRAMLISTING"
3141><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003142HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003143>xmlXPathParserContextPtr</A
3144> xmlXPathNewParserContext
3145 (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003146HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003147>xmlChar</A
3148> *str,
3149 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003150HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003151>xmlXPathContextPtr</A
3152> ctxt);</PRE
3153></TD
3154></TR
3155></TABLE
3156><P
3157>Create a new xmlXPathParserContext</P
3158><P
3159></P
3160><DIV
3161CLASS="INFORMALTABLE"
3162><P
3163></P
3164><TABLE
3165BORDER="0"
3166WIDTH="100%"
3167BGCOLOR="#FFD0D0"
3168CELLSPACING="0"
3169CELLPADDING="4"
3170CLASS="CALSTABLE"
3171><TR
3172><TD
3173WIDTH="20%"
3174ALIGN="RIGHT"
3175VALIGN="TOP"
3176><TT
3177CLASS="PARAMETER"
3178><I
3179>str</I
3180></TT
3181>&nbsp;:</TD
3182><TD
3183WIDTH="80%"
3184ALIGN="LEFT"
3185VALIGN="TOP"
3186> the XPath expression</TD
3187></TR
3188><TR
3189><TD
3190WIDTH="20%"
3191ALIGN="RIGHT"
3192VALIGN="TOP"
3193><TT
3194CLASS="PARAMETER"
3195><I
3196>ctxt</I
3197></TT
3198>&nbsp;:</TD
3199><TD
3200WIDTH="80%"
3201ALIGN="LEFT"
3202VALIGN="TOP"
3203> the XPath context</TD
3204></TR
3205><TR
3206><TD
3207WIDTH="20%"
3208ALIGN="RIGHT"
3209VALIGN="TOP"
3210><I
3211CLASS="EMPHASIS"
3212>Returns</I
3213> :</TD
3214><TD
3215WIDTH="80%"
3216ALIGN="LEFT"
3217VALIGN="TOP"
3218>the xmlXPathParserContext just allocated.</TD
3219></TR
3220></TABLE
3221><P
3222></P
3223></DIV
3224></DIV
3225><HR><DIV
3226CLASS="REFSECT2"
3227><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003228NAME="AEN11878"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003229></A
3230><H3
3231><A
3232NAME="XMLXPATHFREEPARSERCONTEXT"
3233></A
3234>xmlXPathFreeParserContext ()</H3
3235><TABLE
3236BORDER="0"
3237BGCOLOR="#D6E8FF"
3238WIDTH="100%"
3239CELLPADDING="6"
3240><TR
3241><TD
3242><PRE
3243CLASS="PROGRAMLISTING"
3244>void xmlXPathFreeParserContext (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003245HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003246>xmlXPathParserContextPtr</A
3247> ctxt);</PRE
3248></TD
3249></TR
3250></TABLE
3251><P
3252>Free up an xmlXPathParserContext</P
3253><P
3254></P
3255><DIV
3256CLASS="INFORMALTABLE"
3257><P
3258></P
3259><TABLE
3260BORDER="0"
3261WIDTH="100%"
3262BGCOLOR="#FFD0D0"
3263CELLSPACING="0"
3264CELLPADDING="4"
3265CLASS="CALSTABLE"
3266><TR
3267><TD
3268WIDTH="20%"
3269ALIGN="RIGHT"
3270VALIGN="TOP"
3271><TT
3272CLASS="PARAMETER"
3273><I
3274>ctxt</I
3275></TT
3276>&nbsp;:</TD
3277><TD
3278WIDTH="80%"
3279ALIGN="LEFT"
3280VALIGN="TOP"
3281> the context to free</TD
3282></TR
3283></TABLE
3284><P
3285></P
3286></DIV
3287></DIV
3288><HR><DIV
3289CLASS="REFSECT2"
3290><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003291NAME="AEN11894"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003292></A
3293><H3
3294><A
3295NAME="VALUEPOP"
3296></A
3297>valuePop ()</H3
3298><TABLE
3299BORDER="0"
3300BGCOLOR="#D6E8FF"
3301WIDTH="100%"
3302CELLPADDING="6"
3303><TR
3304><TD
3305><PRE
3306CLASS="PROGRAMLISTING"
3307><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003308HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003309>xmlXPathObjectPtr</A
3310> valuePop (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003311HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003312>xmlXPathParserContextPtr</A
3313> ctxt);</PRE
3314></TD
3315></TR
3316></TABLE
3317><P
3318></P
3319><DIV
3320CLASS="INFORMALTABLE"
3321><P
3322></P
3323><TABLE
3324BORDER="0"
3325WIDTH="100%"
3326BGCOLOR="#FFD0D0"
3327CELLSPACING="0"
3328CELLPADDING="4"
3329CLASS="CALSTABLE"
3330><TR
3331><TD
3332WIDTH="20%"
3333ALIGN="RIGHT"
3334VALIGN="TOP"
3335><TT
3336CLASS="PARAMETER"
3337><I
3338>ctxt</I
3339></TT
3340>&nbsp;:</TD
3341><TD
3342WIDTH="80%"
3343ALIGN="LEFT"
3344VALIGN="TOP"
3345>&nbsp;</TD
3346></TR
3347><TR
3348><TD
3349WIDTH="20%"
3350ALIGN="RIGHT"
3351VALIGN="TOP"
3352><I
3353CLASS="EMPHASIS"
3354>Returns</I
3355> :</TD
3356><TD
3357WIDTH="80%"
3358ALIGN="LEFT"
3359VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00003360>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003361></TR
3362></TABLE
3363><P
3364></P
3365></DIV
3366></DIV
3367><HR><DIV
3368CLASS="REFSECT2"
3369><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003370NAME="AEN11914"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003371></A
3372><H3
3373><A
3374NAME="VALUEPUSH"
3375></A
3376>valuePush ()</H3
3377><TABLE
3378BORDER="0"
3379BGCOLOR="#D6E8FF"
3380WIDTH="100%"
3381CELLPADDING="6"
3382><TR
3383><TD
3384><PRE
3385CLASS="PROGRAMLISTING"
3386>int valuePush (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003387HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003388>xmlXPathParserContextPtr</A
3389> ctxt,
3390 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003391HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003392>xmlXPathObjectPtr</A
3393> value);</PRE
3394></TD
3395></TR
3396></TABLE
3397><P
3398></P
3399><DIV
3400CLASS="INFORMALTABLE"
3401><P
3402></P
3403><TABLE
3404BORDER="0"
3405WIDTH="100%"
3406BGCOLOR="#FFD0D0"
3407CELLSPACING="0"
3408CELLPADDING="4"
3409CLASS="CALSTABLE"
3410><TR
3411><TD
3412WIDTH="20%"
3413ALIGN="RIGHT"
3414VALIGN="TOP"
3415><TT
3416CLASS="PARAMETER"
3417><I
3418>ctxt</I
3419></TT
3420>&nbsp;:</TD
3421><TD
3422WIDTH="80%"
3423ALIGN="LEFT"
3424VALIGN="TOP"
3425>&nbsp;</TD
3426></TR
3427><TR
3428><TD
3429WIDTH="20%"
3430ALIGN="RIGHT"
3431VALIGN="TOP"
3432><TT
3433CLASS="PARAMETER"
3434><I
3435>value</I
3436></TT
3437>&nbsp;:</TD
3438><TD
3439WIDTH="80%"
3440ALIGN="LEFT"
3441VALIGN="TOP"
3442>&nbsp;</TD
3443></TR
3444><TR
3445><TD
3446WIDTH="20%"
3447ALIGN="RIGHT"
3448VALIGN="TOP"
3449><I
3450CLASS="EMPHASIS"
3451>Returns</I
3452> :</TD
3453><TD
3454WIDTH="80%"
3455ALIGN="LEFT"
3456VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00003457>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003458></TR
3459></TABLE
3460><P
3461></P
3462></DIV
3463></DIV
3464><HR><DIV
3465CLASS="REFSECT2"
3466><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003467NAME="AEN11938"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003468></A
3469><H3
3470><A
3471NAME="XMLXPATHNEWSTRING"
3472></A
3473>xmlXPathNewString ()</H3
3474><TABLE
3475BORDER="0"
3476BGCOLOR="#D6E8FF"
3477WIDTH="100%"
3478CELLPADDING="6"
3479><TR
3480><TD
3481><PRE
3482CLASS="PROGRAMLISTING"
3483><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003484HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003485>xmlXPathObjectPtr</A
3486> xmlXPathNewString (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003487HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003488>xmlChar</A
3489> *val);</PRE
3490></TD
3491></TR
3492></TABLE
3493><P
3494>Create a new xmlXPathObjectPtr of type string and of value <TT
3495CLASS="PARAMETER"
3496><I
3497>val</I
3498></TT
3499></P
3500><P
3501></P
3502><DIV
3503CLASS="INFORMALTABLE"
3504><P
3505></P
3506><TABLE
3507BORDER="0"
3508WIDTH="100%"
3509BGCOLOR="#FFD0D0"
3510CELLSPACING="0"
3511CELLPADDING="4"
3512CLASS="CALSTABLE"
3513><TR
3514><TD
3515WIDTH="20%"
3516ALIGN="RIGHT"
3517VALIGN="TOP"
3518><TT
3519CLASS="PARAMETER"
3520><I
3521>val</I
3522></TT
3523>&nbsp;:</TD
3524><TD
3525WIDTH="80%"
3526ALIGN="LEFT"
3527VALIGN="TOP"
3528> the xmlChar * value</TD
3529></TR
3530><TR
3531><TD
3532WIDTH="20%"
3533ALIGN="RIGHT"
3534VALIGN="TOP"
3535><I
3536CLASS="EMPHASIS"
3537>Returns</I
3538> :</TD
3539><TD
3540WIDTH="80%"
3541ALIGN="LEFT"
3542VALIGN="TOP"
3543>the newly created object.</TD
3544></TR
3545></TABLE
3546><P
3547></P
3548></DIV
3549></DIV
3550><HR><DIV
3551CLASS="REFSECT2"
3552><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003553NAME="AEN11960"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003554></A
3555><H3
3556><A
3557NAME="XMLXPATHNEWCSTRING"
3558></A
3559>xmlXPathNewCString ()</H3
3560><TABLE
3561BORDER="0"
3562BGCOLOR="#D6E8FF"
3563WIDTH="100%"
3564CELLPADDING="6"
3565><TR
3566><TD
3567><PRE
3568CLASS="PROGRAMLISTING"
3569><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003570HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003571>xmlXPathObjectPtr</A
3572> xmlXPathNewCString (const char *val);</PRE
3573></TD
3574></TR
3575></TABLE
3576><P
3577>Create a new xmlXPathObjectPtr of type string and of value <TT
3578CLASS="PARAMETER"
3579><I
3580>val</I
3581></TT
3582></P
3583><P
3584></P
3585><DIV
3586CLASS="INFORMALTABLE"
3587><P
3588></P
3589><TABLE
3590BORDER="0"
3591WIDTH="100%"
3592BGCOLOR="#FFD0D0"
3593CELLSPACING="0"
3594CELLPADDING="4"
3595CLASS="CALSTABLE"
3596><TR
3597><TD
3598WIDTH="20%"
3599ALIGN="RIGHT"
3600VALIGN="TOP"
3601><TT
3602CLASS="PARAMETER"
3603><I
3604>val</I
3605></TT
3606>&nbsp;:</TD
3607><TD
3608WIDTH="80%"
3609ALIGN="LEFT"
3610VALIGN="TOP"
3611> the char * value</TD
3612></TR
3613><TR
3614><TD
3615WIDTH="20%"
3616ALIGN="RIGHT"
3617VALIGN="TOP"
3618><I
3619CLASS="EMPHASIS"
3620>Returns</I
3621> :</TD
3622><TD
3623WIDTH="80%"
3624ALIGN="LEFT"
3625VALIGN="TOP"
3626>the newly created object.</TD
3627></TR
3628></TABLE
3629><P
3630></P
3631></DIV
3632></DIV
3633><HR><DIV
3634CLASS="REFSECT2"
3635><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003636NAME="AEN11981"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003637></A
3638><H3
3639><A
3640NAME="XMLXPATHNEWFLOAT"
3641></A
3642>xmlXPathNewFloat ()</H3
3643><TABLE
3644BORDER="0"
3645BGCOLOR="#D6E8FF"
3646WIDTH="100%"
3647CELLPADDING="6"
3648><TR
3649><TD
3650><PRE
3651CLASS="PROGRAMLISTING"
3652><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003653HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003654>xmlXPathObjectPtr</A
3655> xmlXPathNewFloat (<GTKDOCLINK
3656HREF="DOUBLE"
3657>double</GTKDOCLINK
3658> val);</PRE
3659></TD
3660></TR
3661></TABLE
3662><P
3663>Create a new xmlXPathObjectPtr of type double and of value <TT
3664CLASS="PARAMETER"
3665><I
3666>val</I
3667></TT
3668></P
3669><P
3670></P
3671><DIV
3672CLASS="INFORMALTABLE"
3673><P
3674></P
3675><TABLE
3676BORDER="0"
3677WIDTH="100%"
3678BGCOLOR="#FFD0D0"
3679CELLSPACING="0"
3680CELLPADDING="4"
3681CLASS="CALSTABLE"
3682><TR
3683><TD
3684WIDTH="20%"
3685ALIGN="RIGHT"
3686VALIGN="TOP"
3687><TT
3688CLASS="PARAMETER"
3689><I
3690>val</I
3691></TT
3692>&nbsp;:</TD
3693><TD
3694WIDTH="80%"
3695ALIGN="LEFT"
3696VALIGN="TOP"
3697> the double value</TD
3698></TR
3699><TR
3700><TD
3701WIDTH="20%"
3702ALIGN="RIGHT"
3703VALIGN="TOP"
3704><I
3705CLASS="EMPHASIS"
3706>Returns</I
3707> :</TD
3708><TD
3709WIDTH="80%"
3710ALIGN="LEFT"
3711VALIGN="TOP"
3712>the newly created object.</TD
3713></TR
3714></TABLE
3715><P
3716></P
3717></DIV
3718></DIV
3719><HR><DIV
3720CLASS="REFSECT2"
3721><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003722NAME="AEN12003"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003723></A
3724><H3
3725><A
3726NAME="XMLXPATHNEWBOOLEAN"
3727></A
3728>xmlXPathNewBoolean ()</H3
3729><TABLE
3730BORDER="0"
3731BGCOLOR="#D6E8FF"
3732WIDTH="100%"
3733CELLPADDING="6"
3734><TR
3735><TD
3736><PRE
3737CLASS="PROGRAMLISTING"
3738><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003739HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003740>xmlXPathObjectPtr</A
3741> xmlXPathNewBoolean (int val);</PRE
3742></TD
3743></TR
3744></TABLE
3745><P
3746>Create a new xmlXPathObjectPtr of type boolean and of value <TT
3747CLASS="PARAMETER"
3748><I
3749>val</I
3750></TT
3751></P
3752><P
3753></P
3754><DIV
3755CLASS="INFORMALTABLE"
3756><P
3757></P
3758><TABLE
3759BORDER="0"
3760WIDTH="100%"
3761BGCOLOR="#FFD0D0"
3762CELLSPACING="0"
3763CELLPADDING="4"
3764CLASS="CALSTABLE"
3765><TR
3766><TD
3767WIDTH="20%"
3768ALIGN="RIGHT"
3769VALIGN="TOP"
3770><TT
3771CLASS="PARAMETER"
3772><I
3773>val</I
3774></TT
3775>&nbsp;:</TD
3776><TD
3777WIDTH="80%"
3778ALIGN="LEFT"
3779VALIGN="TOP"
3780> the boolean value</TD
3781></TR
3782><TR
3783><TD
3784WIDTH="20%"
3785ALIGN="RIGHT"
3786VALIGN="TOP"
3787><I
3788CLASS="EMPHASIS"
3789>Returns</I
3790> :</TD
3791><TD
3792WIDTH="80%"
3793ALIGN="LEFT"
3794VALIGN="TOP"
3795>the newly created object.</TD
3796></TR
3797></TABLE
3798><P
3799></P
3800></DIV
3801></DIV
3802><HR><DIV
3803CLASS="REFSECT2"
3804><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003805NAME="AEN12024"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003806></A
3807><H3
3808><A
3809NAME="XMLXPATHNEWNODESET"
3810></A
3811>xmlXPathNewNodeSet ()</H3
3812><TABLE
3813BORDER="0"
3814BGCOLOR="#D6E8FF"
3815WIDTH="100%"
3816CELLPADDING="6"
3817><TR
3818><TD
3819><PRE
3820CLASS="PROGRAMLISTING"
3821><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003822HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003823>xmlXPathObjectPtr</A
3824> xmlXPathNewNodeSet (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003825HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003826>xmlNodePtr</A
3827> val);</PRE
3828></TD
3829></TR
3830></TABLE
3831><P
3832>Create a new xmlXPathObjectPtr of type NodeSet and initialize
3833it with the single Node <TT
3834CLASS="PARAMETER"
3835><I
3836>val</I
3837></TT
3838></P
3839><P
3840></P
3841><DIV
3842CLASS="INFORMALTABLE"
3843><P
3844></P
3845><TABLE
3846BORDER="0"
3847WIDTH="100%"
3848BGCOLOR="#FFD0D0"
3849CELLSPACING="0"
3850CELLPADDING="4"
3851CLASS="CALSTABLE"
3852><TR
3853><TD
3854WIDTH="20%"
3855ALIGN="RIGHT"
3856VALIGN="TOP"
3857><TT
3858CLASS="PARAMETER"
3859><I
3860>val</I
3861></TT
3862>&nbsp;:</TD
3863><TD
3864WIDTH="80%"
3865ALIGN="LEFT"
3866VALIGN="TOP"
3867> the NodePtr value</TD
3868></TR
3869><TR
3870><TD
3871WIDTH="20%"
3872ALIGN="RIGHT"
3873VALIGN="TOP"
3874><I
3875CLASS="EMPHASIS"
3876>Returns</I
3877> :</TD
3878><TD
3879WIDTH="80%"
3880ALIGN="LEFT"
3881VALIGN="TOP"
3882>the newly created object.</TD
3883></TR
3884></TABLE
3885><P
3886></P
3887></DIV
3888></DIV
3889><HR><DIV
3890CLASS="REFSECT2"
3891><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003892NAME="AEN12046"
3893></A
3894><H3
3895><A
3896NAME="XMLXPATHNEWVALUETREE"
3897></A
3898>xmlXPathNewValueTree ()</H3
3899><TABLE
3900BORDER="0"
3901BGCOLOR="#D6E8FF"
3902WIDTH="100%"
3903CELLPADDING="6"
3904><TR
3905><TD
3906><PRE
3907CLASS="PROGRAMLISTING"
3908><A
3909HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
3910>xmlXPathObjectPtr</A
3911> xmlXPathNewValueTree (<A
3912HREF="libxml-tree.html#XMLNODEPTR"
3913>xmlNodePtr</A
3914> val);</PRE
3915></TD
3916></TR
3917></TABLE
3918><P
3919>Create a new xmlXPathObjectPtr of type Value Tree (XSLT) and initialize
3920it with the tree root <TT
3921CLASS="PARAMETER"
3922><I
3923>val</I
3924></TT
3925></P
3926><P
3927></P
3928><DIV
3929CLASS="INFORMALTABLE"
3930><P
3931></P
3932><TABLE
3933BORDER="0"
3934WIDTH="100%"
3935BGCOLOR="#FFD0D0"
3936CELLSPACING="0"
3937CELLPADDING="4"
3938CLASS="CALSTABLE"
3939><TR
3940><TD
3941WIDTH="20%"
3942ALIGN="RIGHT"
3943VALIGN="TOP"
3944><TT
3945CLASS="PARAMETER"
3946><I
3947>val</I
3948></TT
3949>&nbsp;:</TD
3950><TD
3951WIDTH="80%"
3952ALIGN="LEFT"
3953VALIGN="TOP"
3954> the NodePtr value</TD
3955></TR
3956><TR
3957><TD
3958WIDTH="20%"
3959ALIGN="RIGHT"
3960VALIGN="TOP"
3961><I
3962CLASS="EMPHASIS"
3963>Returns</I
3964> :</TD
3965><TD
3966WIDTH="80%"
3967ALIGN="LEFT"
3968VALIGN="TOP"
3969>the newly created object.</TD
3970></TR
3971></TABLE
3972><P
3973></P
3974></DIV
3975></DIV
3976><HR><DIV
3977CLASS="REFSECT2"
3978><A
3979NAME="AEN12068"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003980></A
3981><H3
3982><A
3983NAME="XMLXPATHNODESETADD"
3984></A
3985>xmlXPathNodeSetAdd ()</H3
3986><TABLE
3987BORDER="0"
3988BGCOLOR="#D6E8FF"
3989WIDTH="100%"
3990CELLPADDING="6"
3991><TR
3992><TD
3993><PRE
3994CLASS="PROGRAMLISTING"
3995>void xmlXPathNodeSetAdd (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003996HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003997>xmlNodeSetPtr</A
3998> cur,
3999 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004000HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004001>xmlNodePtr</A
4002> val);</PRE
4003></TD
4004></TR
4005></TABLE
4006><P
4007>add a new xmlNodePtr ot an existing NodeSet</P
4008><P
4009></P
4010><DIV
4011CLASS="INFORMALTABLE"
4012><P
4013></P
4014><TABLE
4015BORDER="0"
4016WIDTH="100%"
4017BGCOLOR="#FFD0D0"
4018CELLSPACING="0"
4019CELLPADDING="4"
4020CLASS="CALSTABLE"
4021><TR
4022><TD
4023WIDTH="20%"
4024ALIGN="RIGHT"
4025VALIGN="TOP"
4026><TT
4027CLASS="PARAMETER"
4028><I
4029>cur</I
4030></TT
4031>&nbsp;:</TD
4032><TD
4033WIDTH="80%"
4034ALIGN="LEFT"
4035VALIGN="TOP"
4036> the initial node set</TD
4037></TR
4038><TR
4039><TD
4040WIDTH="20%"
4041ALIGN="RIGHT"
4042VALIGN="TOP"
4043><TT
4044CLASS="PARAMETER"
4045><I
4046>val</I
4047></TT
4048>&nbsp;:</TD
4049><TD
4050WIDTH="80%"
4051ALIGN="LEFT"
4052VALIGN="TOP"
4053> a new xmlNodePtr</TD
4054></TR
4055></TABLE
4056><P
4057></P
4058></DIV
4059></DIV
4060><HR><DIV
4061CLASS="REFSECT2"
4062><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004063NAME="AEN12089"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004064></A
4065><H3
4066><A
4067NAME="XMLXPATHIDFUNCTION"
4068></A
4069>xmlXPathIdFunction ()</H3
4070><TABLE
4071BORDER="0"
4072BGCOLOR="#D6E8FF"
4073WIDTH="100%"
4074CELLPADDING="6"
4075><TR
4076><TD
4077><PRE
4078CLASS="PROGRAMLISTING"
4079>void xmlXPathIdFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004080HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004081>xmlXPathParserContextPtr</A
4082> ctxt,
4083 int nargs);</PRE
4084></TD
4085></TR
4086></TABLE
4087><P
4088>Implement the <GTKDOCLINK
4089HREF="ID"
4090>id</GTKDOCLINK
4091>() XPath function
4092node-set id(object)
4093The id function selects elements by their unique ID
4094(see [5.2.1 Unique IDs]). When the argument to id is of type node-set,
4095then the result is the union of the result of applying id to the
4096string value of each of the nodes in the argument node-set. When the
4097argument to id is of any other type, the argument is converted to a
4098string as if by a call to the string function; the string is split
4099into a whitespace-separated list of tokens (whitespace is any sequence
4100of characters matching the production S); the result is a node-set
4101containing the elements in the same document as the context node that
4102have a unique ID equal to any of the tokens in the list.</P
4103><P
4104></P
4105><DIV
4106CLASS="INFORMALTABLE"
4107><P
4108></P
4109><TABLE
4110BORDER="0"
4111WIDTH="100%"
4112BGCOLOR="#FFD0D0"
4113CELLSPACING="0"
4114CELLPADDING="4"
4115CLASS="CALSTABLE"
4116><TR
4117><TD
4118WIDTH="20%"
4119ALIGN="RIGHT"
4120VALIGN="TOP"
4121><TT
4122CLASS="PARAMETER"
4123><I
4124>ctxt</I
4125></TT
4126>&nbsp;:</TD
4127><TD
4128WIDTH="80%"
4129ALIGN="LEFT"
4130VALIGN="TOP"
4131> the XPath Parser context</TD
4132></TR
4133><TR
4134><TD
4135WIDTH="20%"
4136ALIGN="RIGHT"
4137VALIGN="TOP"
4138><TT
4139CLASS="PARAMETER"
4140><I
4141>nargs</I
4142></TT
4143>&nbsp;:</TD
4144><TD
4145WIDTH="80%"
4146ALIGN="LEFT"
4147VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004148> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004149></TR
4150></TABLE
4151><P
4152></P
4153></DIV
4154></DIV
4155><HR><DIV
4156CLASS="REFSECT2"
4157><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004158NAME="AEN12110"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004159></A
4160><H3
4161><A
4162NAME="XMLXPATHROOT"
4163></A
4164>xmlXPathRoot ()</H3
4165><TABLE
4166BORDER="0"
4167BGCOLOR="#D6E8FF"
4168WIDTH="100%"
4169CELLPADDING="6"
4170><TR
4171><TD
4172><PRE
4173CLASS="PROGRAMLISTING"
4174>void xmlXPathRoot (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004175HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004176>xmlXPathParserContextPtr</A
4177> ctxt);</PRE
4178></TD
4179></TR
4180></TABLE
4181><P
4182>Initialize the context to the root of the document</P
4183><P
4184></P
4185><DIV
4186CLASS="INFORMALTABLE"
4187><P
4188></P
4189><TABLE
4190BORDER="0"
4191WIDTH="100%"
4192BGCOLOR="#FFD0D0"
4193CELLSPACING="0"
4194CELLPADDING="4"
4195CLASS="CALSTABLE"
4196><TR
4197><TD
4198WIDTH="20%"
4199ALIGN="RIGHT"
4200VALIGN="TOP"
4201><TT
4202CLASS="PARAMETER"
4203><I
4204>ctxt</I
4205></TT
4206>&nbsp;:</TD
4207><TD
4208WIDTH="80%"
4209ALIGN="LEFT"
4210VALIGN="TOP"
4211> the XPath Parser context</TD
4212></TR
4213></TABLE
4214><P
4215></P
4216></DIV
4217></DIV
4218><HR><DIV
4219CLASS="REFSECT2"
4220><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004221NAME="AEN12126"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004222></A
4223><H3
4224><A
4225NAME="XMLXPATHEVALEXPR"
4226></A
4227>xmlXPathEvalExpr ()</H3
4228><TABLE
4229BORDER="0"
4230BGCOLOR="#D6E8FF"
4231WIDTH="100%"
4232CELLPADDING="6"
4233><TR
4234><TD
4235><PRE
4236CLASS="PROGRAMLISTING"
4237>void xmlXPathEvalExpr (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004238HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004239>xmlXPathParserContextPtr</A
4240> ctxt);</PRE
4241></TD
4242></TR
4243></TABLE
4244><P
4245>[14] Expr ::= OrExpr
4246[21] OrExpr ::= AndExpr
4247| OrExpr 'or' AndExpr </P
4248><P
4249>Parse and evaluate an expression, then push the result on the stack</P
4250><P
4251></P
4252><DIV
4253CLASS="INFORMALTABLE"
4254><P
4255></P
4256><TABLE
4257BORDER="0"
4258WIDTH="100%"
4259BGCOLOR="#FFD0D0"
4260CELLSPACING="0"
4261CELLPADDING="4"
4262CLASS="CALSTABLE"
4263><TR
4264><TD
4265WIDTH="20%"
4266ALIGN="RIGHT"
4267VALIGN="TOP"
4268><TT
4269CLASS="PARAMETER"
4270><I
4271>ctxt</I
4272></TT
4273>&nbsp;:</TD
4274><TD
4275WIDTH="80%"
4276ALIGN="LEFT"
4277VALIGN="TOP"
4278> the XPath Parser context</TD
4279></TR
4280></TABLE
4281><P
4282></P
4283></DIV
4284></DIV
4285><HR><DIV
4286CLASS="REFSECT2"
4287><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004288NAME="AEN12143"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004289></A
4290><H3
4291><A
4292NAME="XMLXPATHPARSENAME"
4293></A
4294>xmlXPathParseName ()</H3
4295><TABLE
4296BORDER="0"
4297BGCOLOR="#D6E8FF"
4298WIDTH="100%"
4299CELLPADDING="6"
4300><TR
4301><TD
4302><PRE
4303CLASS="PROGRAMLISTING"
4304><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004305HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004306>xmlChar</A
4307>* xmlXPathParseName (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004308HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004309>xmlXPathParserContextPtr</A
4310> ctxt);</PRE
4311></TD
4312></TR
4313></TABLE
4314><P
4315>parse an XML name</P
4316><P
4317>[4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' |
4318CombiningChar | Extender</P
4319><P
4320>[5] Name ::= (Letter | '_' | ':') (NameChar)*</P
4321><P
4322></P
4323><DIV
4324CLASS="INFORMALTABLE"
4325><P
4326></P
4327><TABLE
4328BORDER="0"
4329WIDTH="100%"
4330BGCOLOR="#FFD0D0"
4331CELLSPACING="0"
4332CELLPADDING="4"
4333CLASS="CALSTABLE"
4334><TR
4335><TD
4336WIDTH="20%"
4337ALIGN="RIGHT"
4338VALIGN="TOP"
4339><TT
4340CLASS="PARAMETER"
4341><I
4342>ctxt</I
4343></TT
4344>&nbsp;:</TD
4345><TD
4346WIDTH="80%"
4347ALIGN="LEFT"
4348VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004349> the XPath Parser context</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004350></TR
4351><TR
4352><TD
4353WIDTH="20%"
4354ALIGN="RIGHT"
4355VALIGN="TOP"
4356><I
4357CLASS="EMPHASIS"
4358>Returns</I
4359> :</TD
4360><TD
4361WIDTH="80%"
4362ALIGN="LEFT"
4363VALIGN="TOP"
4364>the namespace name or NULL</TD
4365></TR
4366></TABLE
4367><P
4368></P
4369></DIV
4370></DIV
4371><HR><DIV
4372CLASS="REFSECT2"
4373><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004374NAME="AEN12166"
Daniel Veillard503b8932001-01-05 06:36:31 +00004375></A
4376><H3
4377><A
4378NAME="XMLXPATHPARSENCNAME"
4379></A
4380>xmlXPathParseNCName ()</H3
4381><TABLE
4382BORDER="0"
4383BGCOLOR="#D6E8FF"
4384WIDTH="100%"
4385CELLPADDING="6"
4386><TR
4387><TD
4388><PRE
4389CLASS="PROGRAMLISTING"
4390><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004391HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard503b8932001-01-05 06:36:31 +00004392>xmlChar</A
4393>* xmlXPathParseNCName (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004394HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard503b8932001-01-05 06:36:31 +00004395>xmlXPathParserContextPtr</A
4396> ctxt);</PRE
4397></TD
4398></TR
4399></TABLE
4400><P
4401>parse an XML namespace non qualified name.</P
4402><P
4403>[NS 3] NCName ::= (Letter | '_') (NCNameChar)*</P
4404><P
4405>[NS 4] NCNameChar ::= Letter | Digit | '.' | '-' | '_' |
4406CombiningChar | Extender</P
4407><P
4408></P
4409><DIV
4410CLASS="INFORMALTABLE"
4411><P
4412></P
4413><TABLE
4414BORDER="0"
4415WIDTH="100%"
4416BGCOLOR="#FFD0D0"
4417CELLSPACING="0"
4418CELLPADDING="4"
4419CLASS="CALSTABLE"
4420><TR
4421><TD
4422WIDTH="20%"
4423ALIGN="RIGHT"
4424VALIGN="TOP"
4425><TT
4426CLASS="PARAMETER"
4427><I
4428>ctxt</I
4429></TT
4430>&nbsp;:</TD
4431><TD
4432WIDTH="80%"
4433ALIGN="LEFT"
4434VALIGN="TOP"
4435> the XPath Parser context</TD
4436></TR
4437><TR
4438><TD
4439WIDTH="20%"
4440ALIGN="RIGHT"
4441VALIGN="TOP"
4442><I
4443CLASS="EMPHASIS"
4444>Returns</I
4445> :</TD
4446><TD
4447WIDTH="80%"
4448ALIGN="LEFT"
4449VALIGN="TOP"
4450>the namespace name or NULL</TD
4451></TR
4452></TABLE
4453><P
4454></P
4455></DIV
4456></DIV
4457><HR><DIV
4458CLASS="REFSECT2"
4459><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004460NAME="AEN12189"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004461></A
4462><H3
4463><A
4464NAME="XMLXPATHSTRINGEVALNUMBER"
4465></A
4466>xmlXPathStringEvalNumber ()</H3
4467><TABLE
4468BORDER="0"
4469BGCOLOR="#D6E8FF"
4470WIDTH="100%"
4471CELLPADDING="6"
4472><TR
4473><TD
4474><PRE
4475CLASS="PROGRAMLISTING"
4476><GTKDOCLINK
4477HREF="DOUBLE"
4478>double</GTKDOCLINK
4479> xmlXPathStringEvalNumber (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004480HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004481>xmlChar</A
4482> *str);</PRE
4483></TD
4484></TR
4485></TABLE
4486><P
4487>[30] Number ::= Digits ('.' Digits?)?
4488| '.' Digits
4489[31] Digits ::= [0-9]+</P
4490><P
4491>Parse and evaluate a Number in the string
4492In complement of the Number expression, this function also handles
4493negative values : '-' Number.</P
4494><P
4495></P
4496><DIV
4497CLASS="INFORMALTABLE"
4498><P
4499></P
4500><TABLE
4501BORDER="0"
4502WIDTH="100%"
4503BGCOLOR="#FFD0D0"
4504CELLSPACING="0"
4505CELLPADDING="4"
4506CLASS="CALSTABLE"
4507><TR
4508><TD
4509WIDTH="20%"
4510ALIGN="RIGHT"
4511VALIGN="TOP"
4512><TT
4513CLASS="PARAMETER"
4514><I
4515>str</I
4516></TT
4517>&nbsp;:</TD
4518><TD
4519WIDTH="80%"
4520ALIGN="LEFT"
4521VALIGN="TOP"
4522> A string to scan</TD
4523></TR
4524><TR
4525><TD
4526WIDTH="20%"
4527ALIGN="RIGHT"
4528VALIGN="TOP"
4529><I
4530CLASS="EMPHASIS"
4531>Returns</I
4532> :</TD
4533><TD
4534WIDTH="80%"
4535ALIGN="LEFT"
4536VALIGN="TOP"
4537>the double value.</TD
4538></TR
4539></TABLE
4540><P
4541></P
4542></DIV
4543></DIV
4544><HR><DIV
4545CLASS="REFSECT2"
4546><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004547NAME="AEN12211"
Daniel Veillarda1fe9102000-11-25 10:49:25 +00004548></A
4549><H3
4550><A
4551NAME="XMLXPATHEVALUATEPREDICATERESULT"
4552></A
4553>xmlXPathEvaluatePredicateResult ()</H3
4554><TABLE
4555BORDER="0"
4556BGCOLOR="#D6E8FF"
4557WIDTH="100%"
4558CELLPADDING="6"
4559><TR
4560><TD
4561><PRE
4562CLASS="PROGRAMLISTING"
4563>int xmlXPathEvaluatePredicateResult (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004564HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +00004565>xmlXPathParserContextPtr</A
4566> ctxt,
4567 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004568HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +00004569>xmlXPathObjectPtr</A
4570> res);</PRE
4571></TD
4572></TR
4573></TABLE
4574><P
4575>Evaluate a predicate result for the current node.
4576A PredicateExpr is evaluated by evaluating the Expr and converting
4577the result to a boolean. If the result is a number, the result will
4578be converted to true if the number is equal to the position of the
4579context node in the context node list (as returned by the position
4580function) and will be converted to false otherwise; if the result
4581is not a number, then the result will be converted as if by a call
4582to the boolean function.</P
4583><P
4584></P
4585><DIV
4586CLASS="INFORMALTABLE"
4587><P
4588></P
4589><TABLE
4590BORDER="0"
4591WIDTH="100%"
4592BGCOLOR="#FFD0D0"
4593CELLSPACING="0"
4594CELLPADDING="4"
4595CLASS="CALSTABLE"
4596><TR
4597><TD
4598WIDTH="20%"
4599ALIGN="RIGHT"
4600VALIGN="TOP"
4601><TT
4602CLASS="PARAMETER"
4603><I
4604>ctxt</I
4605></TT
4606>&nbsp;:</TD
4607><TD
4608WIDTH="80%"
4609ALIGN="LEFT"
4610VALIGN="TOP"
4611> the XPath Parser context</TD
4612></TR
4613><TR
4614><TD
4615WIDTH="20%"
4616ALIGN="RIGHT"
4617VALIGN="TOP"
4618><TT
4619CLASS="PARAMETER"
4620><I
4621>res</I
4622></TT
4623>&nbsp;:</TD
4624><TD
4625WIDTH="80%"
4626ALIGN="LEFT"
4627VALIGN="TOP"
4628> the Predicate Expression evaluation result</TD
4629></TR
4630><TR
4631><TD
4632WIDTH="20%"
4633ALIGN="RIGHT"
4634VALIGN="TOP"
4635><I
4636CLASS="EMPHASIS"
4637>Returns</I
4638> :</TD
4639><TD
4640WIDTH="80%"
4641ALIGN="LEFT"
4642VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00004643>&#13;</TD
Daniel Veillarda1fe9102000-11-25 10:49:25 +00004644></TR
4645></TABLE
4646><P
4647></P
4648></DIV
4649></DIV
4650><HR><DIV
4651CLASS="REFSECT2"
4652><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004653NAME="AEN12236"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004654></A
4655><H3
4656><A
4657NAME="XMLXPATHINIT"
4658></A
4659>xmlXPathInit ()</H3
4660><TABLE
4661BORDER="0"
4662BGCOLOR="#D6E8FF"
4663WIDTH="100%"
4664CELLPADDING="6"
4665><TR
4666><TD
4667><PRE
4668CLASS="PROGRAMLISTING"
4669>void xmlXPathInit (void);</PRE
4670></TD
4671></TR
4672></TABLE
4673><P
4674>Initialize the XPath environment</P
4675><P
4676></P
4677></DIV
4678><HR><DIV
4679CLASS="REFSECT2"
4680><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004681NAME="AEN12242"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004682></A
4683><H3
4684><A
4685NAME="XMLXPATHSTRINGFUNCTION"
4686></A
4687>xmlXPathStringFunction ()</H3
4688><TABLE
4689BORDER="0"
4690BGCOLOR="#D6E8FF"
4691WIDTH="100%"
4692CELLPADDING="6"
4693><TR
4694><TD
4695><PRE
4696CLASS="PROGRAMLISTING"
4697>void xmlXPathStringFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004698HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004699>xmlXPathParserContextPtr</A
4700> ctxt,
4701 int nargs);</PRE
4702></TD
4703></TR
4704></TABLE
4705><P
4706>Implement the <GTKDOCLINK
4707HREF="STRING"
4708>string</GTKDOCLINK
4709>() XPath function
4710string string(object?)
4711he string function converts an object to a string as follows:
4712- A node-set is converted to a string by returning the value of
4713the node in the node-set that is first in document order.
4714If the node-set is empty, an empty string is returned.
4715- A number is converted to a string as follows
4716+ NaN is converted to the string NaN
4717+ positive zero is converted to the string 0
4718+ negative zero is converted to the string 0
4719+ positive infinity is converted to the string Infinity
4720+ negative infinity is converted to the string -Infinity
4721+ if the number is an integer, the number is represented in
4722decimal form as a Number with no decimal point and no leading
4723zeros, preceded by a minus sign (-) if the number is negative
4724+ otherwise, the number is represented in decimal form as a
4725Number including a decimal point with at least one digit
4726before the decimal point and at least one digit after the
4727decimal point, preceded by a minus sign (-) if the number
4728is negative; there must be no leading zeros before the decimal
4729point apart possibly from the one required digit immediatelyi
4730before the decimal point; beyond the one required digit
4731after the decimal point there must be as many, but only as
4732many, more digits as are needed to uniquely distinguish the
4733number from all other IEEE 754 numeric values.
4734- The boolean false value is converted to the string false.
4735The boolean true value is converted to the string true.</P
4736><P
4737>If the argument is omitted, it defaults to a node-set with the
4738context node as its only member.</P
4739><P
4740></P
4741><DIV
4742CLASS="INFORMALTABLE"
4743><P
4744></P
4745><TABLE
4746BORDER="0"
4747WIDTH="100%"
4748BGCOLOR="#FFD0D0"
4749CELLSPACING="0"
4750CELLPADDING="4"
4751CLASS="CALSTABLE"
4752><TR
4753><TD
4754WIDTH="20%"
4755ALIGN="RIGHT"
4756VALIGN="TOP"
4757><TT
4758CLASS="PARAMETER"
4759><I
4760>ctxt</I
4761></TT
4762>&nbsp;:</TD
4763><TD
4764WIDTH="80%"
4765ALIGN="LEFT"
4766VALIGN="TOP"
4767> the XPath Parser context</TD
4768></TR
4769><TR
4770><TD
4771WIDTH="20%"
4772ALIGN="RIGHT"
4773VALIGN="TOP"
4774><TT
4775CLASS="PARAMETER"
4776><I
4777>nargs</I
4778></TT
4779>&nbsp;:</TD
4780><TD
4781WIDTH="80%"
4782ALIGN="LEFT"
4783VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004784> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004785></TR
4786></TABLE
4787><P
4788></P
4789></DIV
4790></DIV
4791><HR><DIV
4792CLASS="REFSECT2"
4793><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004794NAME="AEN12264"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004795></A
4796><H3
4797><A
4798NAME="XMLXPATHREGISTERALLFUNCTIONS"
4799></A
4800>xmlXPathRegisterAllFunctions ()</H3
4801><TABLE
4802BORDER="0"
4803BGCOLOR="#D6E8FF"
4804WIDTH="100%"
4805CELLPADDING="6"
4806><TR
4807><TD
4808><PRE
4809CLASS="PROGRAMLISTING"
4810>void xmlXPathRegisterAllFunctions (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004811HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004812>xmlXPathContextPtr</A
4813> ctxt);</PRE
4814></TD
4815></TR
4816></TABLE
4817><P
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004818>Registers all default XPath functions in this context</P
4819><P
Daniel Veillard9753ad72000-11-13 19:12:23 +00004820></P
4821><DIV
4822CLASS="INFORMALTABLE"
4823><P
4824></P
4825><TABLE
4826BORDER="0"
4827WIDTH="100%"
4828BGCOLOR="#FFD0D0"
4829CELLSPACING="0"
4830CELLPADDING="4"
4831CLASS="CALSTABLE"
4832><TR
4833><TD
4834WIDTH="20%"
4835ALIGN="RIGHT"
4836VALIGN="TOP"
4837><TT
4838CLASS="PARAMETER"
4839><I
4840>ctxt</I
4841></TT
4842>&nbsp;:</TD
4843><TD
4844WIDTH="80%"
4845ALIGN="LEFT"
4846VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004847> the XPath context</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004848></TR
4849></TABLE
4850><P
4851></P
4852></DIV
4853></DIV
4854><HR><DIV
4855CLASS="REFSECT2"
4856><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004857NAME="AEN12280"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004858></A
4859><H3
4860><A
4861NAME="XMLXPATHNODESETCREATE"
4862></A
4863>xmlXPathNodeSetCreate ()</H3
4864><TABLE
4865BORDER="0"
4866BGCOLOR="#D6E8FF"
4867WIDTH="100%"
4868CELLPADDING="6"
4869><TR
4870><TD
4871><PRE
4872CLASS="PROGRAMLISTING"
4873><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004874HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004875>xmlNodeSetPtr</A
4876> xmlXPathNodeSetCreate (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004877HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004878>xmlNodePtr</A
4879> val);</PRE
4880></TD
4881></TR
4882></TABLE
4883><P
4884>Create a new xmlNodeSetPtr of type double and of value <TT
4885CLASS="PARAMETER"
4886><I
4887>val</I
4888></TT
4889></P
4890><P
4891></P
4892><DIV
4893CLASS="INFORMALTABLE"
4894><P
4895></P
4896><TABLE
4897BORDER="0"
4898WIDTH="100%"
4899BGCOLOR="#FFD0D0"
4900CELLSPACING="0"
4901CELLPADDING="4"
4902CLASS="CALSTABLE"
4903><TR
4904><TD
4905WIDTH="20%"
4906ALIGN="RIGHT"
4907VALIGN="TOP"
4908><TT
4909CLASS="PARAMETER"
4910><I
4911>val</I
4912></TT
4913>&nbsp;:</TD
4914><TD
4915WIDTH="80%"
4916ALIGN="LEFT"
4917VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004918>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004919></TR
4920><TR
4921><TD
4922WIDTH="20%"
4923ALIGN="RIGHT"
4924VALIGN="TOP"
4925><I
4926CLASS="EMPHASIS"
4927>Returns</I
4928> :</TD
4929><TD
4930WIDTH="80%"
4931ALIGN="LEFT"
4932VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004933>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004934></TR
4935></TABLE
4936><P
4937></P
4938></DIV
4939></DIV
4940><HR><DIV
4941CLASS="REFSECT2"
4942><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004943NAME="AEN12302"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004944></A
4945><H3
4946><A
4947NAME="XMLXPATHNODESETMERGE"
4948></A
4949>xmlXPathNodeSetMerge ()</H3
4950><TABLE
4951BORDER="0"
4952BGCOLOR="#D6E8FF"
4953WIDTH="100%"
4954CELLPADDING="6"
4955><TR
4956><TD
4957><PRE
4958CLASS="PROGRAMLISTING"
4959><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004960HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004961>xmlNodeSetPtr</A
4962> xmlXPathNodeSetMerge (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004963HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004964>xmlNodeSetPtr</A
4965> val1,
4966 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004967HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004968>xmlNodeSetPtr</A
4969> val2);</PRE
4970></TD
4971></TR
4972></TABLE
4973><P
4974>Merges two nodesets, all nodes from <TT
4975CLASS="PARAMETER"
4976><I
4977>val2</I
4978></TT
4979> are added to <TT
4980CLASS="PARAMETER"
4981><I
4982>val1</I
4983></TT
4984>
4985if <TT
4986CLASS="PARAMETER"
4987><I
4988>val1</I
4989></TT
4990> is NULL, a new set is created and copied from <TT
4991CLASS="PARAMETER"
4992><I
4993>val2</I
4994></TT
4995></P
4996><P
4997></P
4998><DIV
4999CLASS="INFORMALTABLE"
5000><P
5001></P
5002><TABLE
5003BORDER="0"
5004WIDTH="100%"
5005BGCOLOR="#FFD0D0"
5006CELLSPACING="0"
5007CELLPADDING="4"
5008CLASS="CALSTABLE"
5009><TR
5010><TD
5011WIDTH="20%"
5012ALIGN="RIGHT"
5013VALIGN="TOP"
5014><TT
5015CLASS="PARAMETER"
5016><I
5017>val1</I
5018></TT
5019>&nbsp;:</TD
5020><TD
5021WIDTH="80%"
5022ALIGN="LEFT"
5023VALIGN="TOP"
5024> the first NodeSet or NULL</TD
5025></TR
5026><TR
5027><TD
5028WIDTH="20%"
5029ALIGN="RIGHT"
5030VALIGN="TOP"
5031><TT
5032CLASS="PARAMETER"
5033><I
5034>val2</I
5035></TT
5036>&nbsp;:</TD
5037><TD
5038WIDTH="80%"
5039ALIGN="LEFT"
5040VALIGN="TOP"
5041> the second NodeSet</TD
5042></TR
5043><TR
5044><TD
5045WIDTH="20%"
5046ALIGN="RIGHT"
5047VALIGN="TOP"
5048><I
5049CLASS="EMPHASIS"
5050>Returns</I
5051> :</TD
5052><TD
5053WIDTH="80%"
5054ALIGN="LEFT"
5055VALIGN="TOP"
5056>val1 once extended or NULL in case of error.</TD
5057></TR
5058></TABLE
5059><P
5060></P
5061></DIV
5062></DIV
5063><HR><DIV
5064CLASS="REFSECT2"
5065><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005066NAME="AEN12332"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005067></A
5068><H3
5069><A
5070NAME="XMLXPATHNODESETDEL"
5071></A
5072>xmlXPathNodeSetDel ()</H3
5073><TABLE
5074BORDER="0"
5075BGCOLOR="#D6E8FF"
5076WIDTH="100%"
5077CELLPADDING="6"
5078><TR
5079><TD
5080><PRE
5081CLASS="PROGRAMLISTING"
5082>void xmlXPathNodeSetDel (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005083HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005084>xmlNodeSetPtr</A
5085> cur,
5086 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005087HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005088>xmlNodePtr</A
5089> val);</PRE
5090></TD
5091></TR
5092></TABLE
5093><P
5094>Removes an xmlNodePtr from an existing NodeSet</P
5095><P
5096></P
5097><DIV
5098CLASS="INFORMALTABLE"
5099><P
5100></P
5101><TABLE
5102BORDER="0"
5103WIDTH="100%"
5104BGCOLOR="#FFD0D0"
5105CELLSPACING="0"
5106CELLPADDING="4"
5107CLASS="CALSTABLE"
5108><TR
5109><TD
5110WIDTH="20%"
5111ALIGN="RIGHT"
5112VALIGN="TOP"
5113><TT
5114CLASS="PARAMETER"
5115><I
5116>cur</I
5117></TT
5118>&nbsp;:</TD
5119><TD
5120WIDTH="80%"
5121ALIGN="LEFT"
5122VALIGN="TOP"
5123> the initial node set</TD
5124></TR
5125><TR
5126><TD
5127WIDTH="20%"
5128ALIGN="RIGHT"
5129VALIGN="TOP"
5130><TT
5131CLASS="PARAMETER"
5132><I
5133>val</I
5134></TT
5135>&nbsp;:</TD
5136><TD
5137WIDTH="80%"
5138ALIGN="LEFT"
5139VALIGN="TOP"
5140> an xmlNodePtr</TD
5141></TR
5142></TABLE
5143><P
5144></P
5145></DIV
5146></DIV
5147><HR><DIV
5148CLASS="REFSECT2"
5149><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005150NAME="AEN12353"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005151></A
5152><H3
5153><A
5154NAME="XMLXPATHNODESETREMOVE"
5155></A
5156>xmlXPathNodeSetRemove ()</H3
5157><TABLE
5158BORDER="0"
5159BGCOLOR="#D6E8FF"
5160WIDTH="100%"
5161CELLPADDING="6"
5162><TR
5163><TD
5164><PRE
5165CLASS="PROGRAMLISTING"
5166>void xmlXPathNodeSetRemove (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005167HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005168>xmlNodeSetPtr</A
5169> cur,
5170 int val);</PRE
5171></TD
5172></TR
5173></TABLE
5174><P
5175>Removes an entry from an existing NodeSet list.</P
5176><P
5177></P
5178><DIV
5179CLASS="INFORMALTABLE"
5180><P
5181></P
5182><TABLE
5183BORDER="0"
5184WIDTH="100%"
5185BGCOLOR="#FFD0D0"
5186CELLSPACING="0"
5187CELLPADDING="4"
5188CLASS="CALSTABLE"
5189><TR
5190><TD
5191WIDTH="20%"
5192ALIGN="RIGHT"
5193VALIGN="TOP"
5194><TT
5195CLASS="PARAMETER"
5196><I
5197>cur</I
5198></TT
5199>&nbsp;:</TD
5200><TD
5201WIDTH="80%"
5202ALIGN="LEFT"
5203VALIGN="TOP"
5204> the initial node set</TD
5205></TR
5206><TR
5207><TD
5208WIDTH="20%"
5209ALIGN="RIGHT"
5210VALIGN="TOP"
5211><TT
5212CLASS="PARAMETER"
5213><I
5214>val</I
5215></TT
5216>&nbsp;:</TD
5217><TD
5218WIDTH="80%"
5219ALIGN="LEFT"
5220VALIGN="TOP"
5221> the index to remove</TD
5222></TR
5223></TABLE
5224><P
5225></P
5226></DIV
5227></DIV
5228><HR><DIV
5229CLASS="REFSECT2"
5230><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005231NAME="AEN12373"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005232></A
5233><H3
5234><A
5235NAME="XMLXPATHFREENODESET"
5236></A
5237>xmlXPathFreeNodeSet ()</H3
5238><TABLE
5239BORDER="0"
5240BGCOLOR="#D6E8FF"
5241WIDTH="100%"
5242CELLPADDING="6"
5243><TR
5244><TD
5245><PRE
5246CLASS="PROGRAMLISTING"
5247>void xmlXPathFreeNodeSet (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005248HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005249>xmlNodeSetPtr</A
5250> obj);</PRE
5251></TD
5252></TR
5253></TABLE
5254><P
5255>Free the NodeSet compound (not the actual nodes !).</P
5256><P
5257></P
5258><DIV
5259CLASS="INFORMALTABLE"
5260><P
5261></P
5262><TABLE
5263BORDER="0"
5264WIDTH="100%"
5265BGCOLOR="#FFD0D0"
5266CELLSPACING="0"
5267CELLPADDING="4"
5268CLASS="CALSTABLE"
5269><TR
5270><TD
5271WIDTH="20%"
5272ALIGN="RIGHT"
5273VALIGN="TOP"
5274><TT
5275CLASS="PARAMETER"
5276><I
5277>obj</I
5278></TT
5279>&nbsp;:</TD
5280><TD
5281WIDTH="80%"
5282ALIGN="LEFT"
5283VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005284>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005285></TR
5286></TABLE
5287><P
5288></P
5289></DIV
5290></DIV
5291><HR><DIV
5292CLASS="REFSECT2"
5293><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005294NAME="AEN12389"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005295></A
5296><H3
5297><A
5298NAME="XMLXPATHNEWNODESETLIST"
5299></A
5300>xmlXPathNewNodeSetList ()</H3
5301><TABLE
5302BORDER="0"
5303BGCOLOR="#D6E8FF"
5304WIDTH="100%"
5305CELLPADDING="6"
5306><TR
5307><TD
5308><PRE
5309CLASS="PROGRAMLISTING"
5310><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005311HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005312>xmlXPathObjectPtr</A
5313> xmlXPathNewNodeSetList (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005314HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005315>xmlNodeSetPtr</A
5316> val);</PRE
5317></TD
5318></TR
5319></TABLE
5320><P
5321>Create a new xmlXPathObjectPtr of type NodeSet and initialize
5322it with the Nodeset <TT
5323CLASS="PARAMETER"
5324><I
5325>val</I
5326></TT
5327></P
5328><P
5329></P
5330><DIV
5331CLASS="INFORMALTABLE"
5332><P
5333></P
5334><TABLE
5335BORDER="0"
5336WIDTH="100%"
5337BGCOLOR="#FFD0D0"
5338CELLSPACING="0"
5339CELLPADDING="4"
5340CLASS="CALSTABLE"
5341><TR
5342><TD
5343WIDTH="20%"
5344ALIGN="RIGHT"
5345VALIGN="TOP"
5346><TT
5347CLASS="PARAMETER"
5348><I
5349>val</I
5350></TT
5351>&nbsp;:</TD
5352><TD
5353WIDTH="80%"
5354ALIGN="LEFT"
5355VALIGN="TOP"
5356> an existing NodeSet</TD
5357></TR
5358><TR
5359><TD
5360WIDTH="20%"
5361ALIGN="RIGHT"
5362VALIGN="TOP"
5363><I
5364CLASS="EMPHASIS"
5365>Returns</I
5366> :</TD
5367><TD
5368WIDTH="80%"
5369ALIGN="LEFT"
5370VALIGN="TOP"
5371>the newly created object.</TD
5372></TR
5373></TABLE
5374><P
5375></P
5376></DIV
5377></DIV
5378><HR><DIV
5379CLASS="REFSECT2"
5380><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005381NAME="AEN12411"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005382></A
5383><H3
5384><A
5385NAME="XMLXPATHWRAPNODESET"
5386></A
5387>xmlXPathWrapNodeSet ()</H3
5388><TABLE
5389BORDER="0"
5390BGCOLOR="#D6E8FF"
5391WIDTH="100%"
5392CELLPADDING="6"
5393><TR
5394><TD
5395><PRE
5396CLASS="PROGRAMLISTING"
5397><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005398HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005399>xmlXPathObjectPtr</A
5400> xmlXPathWrapNodeSet (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005401HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005402>xmlNodeSetPtr</A
5403> val);</PRE
5404></TD
5405></TR
5406></TABLE
5407><P
5408>Wrap the Nodeset <TT
5409CLASS="PARAMETER"
5410><I
5411>val</I
5412></TT
5413> in a new xmlXPathObjectPtr</P
5414><P
5415></P
5416><DIV
5417CLASS="INFORMALTABLE"
5418><P
5419></P
5420><TABLE
5421BORDER="0"
5422WIDTH="100%"
5423BGCOLOR="#FFD0D0"
5424CELLSPACING="0"
5425CELLPADDING="4"
5426CLASS="CALSTABLE"
5427><TR
5428><TD
5429WIDTH="20%"
5430ALIGN="RIGHT"
5431VALIGN="TOP"
5432><TT
5433CLASS="PARAMETER"
5434><I
5435>val</I
5436></TT
5437>&nbsp;:</TD
5438><TD
5439WIDTH="80%"
5440ALIGN="LEFT"
5441VALIGN="TOP"
5442> the NodePtr value</TD
5443></TR
5444><TR
5445><TD
5446WIDTH="20%"
5447ALIGN="RIGHT"
5448VALIGN="TOP"
5449><I
5450CLASS="EMPHASIS"
5451>Returns</I
5452> :</TD
5453><TD
5454WIDTH="80%"
5455ALIGN="LEFT"
5456VALIGN="TOP"
5457>the newly created object.</TD
5458></TR
5459></TABLE
5460><P
5461></P
5462></DIV
5463></DIV
5464><HR><DIV
5465CLASS="REFSECT2"
5466><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005467NAME="AEN12433"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005468></A
5469><H3
5470><A
5471NAME="XMLXPATHFREENODESETLIST"
5472></A
5473>xmlXPathFreeNodeSetList ()</H3
5474><TABLE
5475BORDER="0"
5476BGCOLOR="#D6E8FF"
5477WIDTH="100%"
5478CELLPADDING="6"
5479><TR
5480><TD
5481><PRE
5482CLASS="PROGRAMLISTING"
5483>void xmlXPathFreeNodeSetList (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005484HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005485>xmlXPathObjectPtr</A
5486> obj);</PRE
5487></TD
5488></TR
5489></TABLE
5490><P
5491>Free up the xmlXPathObjectPtr <TT
5492CLASS="PARAMETER"
5493><I
5494>obj</I
5495></TT
5496> but don't deallocate the objects in
5497the list contrary to <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005498HREF="libxml-xpath.html#XMLXPATHFREEOBJECT"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005499>xmlXPathFreeObject</A
5500>().</P
5501><P
5502></P
5503><DIV
5504CLASS="INFORMALTABLE"
5505><P
5506></P
5507><TABLE
5508BORDER="0"
5509WIDTH="100%"
5510BGCOLOR="#FFD0D0"
5511CELLSPACING="0"
5512CELLPADDING="4"
5513CLASS="CALSTABLE"
5514><TR
5515><TD
5516WIDTH="20%"
5517ALIGN="RIGHT"
5518VALIGN="TOP"
5519><TT
5520CLASS="PARAMETER"
5521><I
5522>obj</I
5523></TT
5524>&nbsp;:</TD
5525><TD
5526WIDTH="80%"
5527ALIGN="LEFT"
5528VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005529>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005530></TR
5531></TABLE
5532><P
5533></P
5534></DIV
5535></DIV
5536><HR><DIV
5537CLASS="REFSECT2"
5538><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005539NAME="AEN12451"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005540></A
5541><H3
5542><A
5543NAME="XMLXPATHFREEOBJECT"
5544></A
5545>xmlXPathFreeObject ()</H3
5546><TABLE
5547BORDER="0"
5548BGCOLOR="#D6E8FF"
5549WIDTH="100%"
5550CELLPADDING="6"
5551><TR
5552><TD
5553><PRE
5554CLASS="PROGRAMLISTING"
5555>void xmlXPathFreeObject (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005556HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005557>xmlXPathObjectPtr</A
5558> obj);</PRE
5559></TD
5560></TR
5561></TABLE
5562><P
5563>Free up an xmlXPathObjectPtr object.</P
5564><P
5565></P
5566><DIV
5567CLASS="INFORMALTABLE"
5568><P
5569></P
5570><TABLE
5571BORDER="0"
5572WIDTH="100%"
5573BGCOLOR="#FFD0D0"
5574CELLSPACING="0"
5575CELLPADDING="4"
5576CLASS="CALSTABLE"
5577><TR
5578><TD
5579WIDTH="20%"
5580ALIGN="RIGHT"
5581VALIGN="TOP"
5582><TT
5583CLASS="PARAMETER"
5584><I
5585>obj</I
5586></TT
5587>&nbsp;:</TD
5588><TD
5589WIDTH="80%"
5590ALIGN="LEFT"
5591VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005592>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005593></TR
5594></TABLE
5595><P
5596></P
5597></DIV
5598></DIV
5599><HR><DIV
5600CLASS="REFSECT2"
5601><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005602NAME="AEN12467"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005603></A
5604><H3
5605><A
5606NAME="XMLXPATHNEWCONTEXT"
5607></A
5608>xmlXPathNewContext ()</H3
5609><TABLE
5610BORDER="0"
5611BGCOLOR="#D6E8FF"
5612WIDTH="100%"
5613CELLPADDING="6"
5614><TR
5615><TD
5616><PRE
5617CLASS="PROGRAMLISTING"
5618><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005619HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005620>xmlXPathContextPtr</A
5621> xmlXPathNewContext (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005622HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005623>xmlDocPtr</A
5624> doc);</PRE
5625></TD
5626></TR
5627></TABLE
5628><P
5629>Create a new xmlXPathContext</P
5630><P
5631></P
5632><DIV
5633CLASS="INFORMALTABLE"
5634><P
5635></P
5636><TABLE
5637BORDER="0"
5638WIDTH="100%"
5639BGCOLOR="#FFD0D0"
5640CELLSPACING="0"
5641CELLPADDING="4"
5642CLASS="CALSTABLE"
5643><TR
5644><TD
5645WIDTH="20%"
5646ALIGN="RIGHT"
5647VALIGN="TOP"
5648><TT
5649CLASS="PARAMETER"
5650><I
5651>doc</I
5652></TT
5653>&nbsp;:</TD
5654><TD
5655WIDTH="80%"
5656ALIGN="LEFT"
5657VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005658>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005659></TR
5660><TR
5661><TD
5662WIDTH="20%"
5663ALIGN="RIGHT"
5664VALIGN="TOP"
5665><I
5666CLASS="EMPHASIS"
5667>Returns</I
5668> :</TD
5669><TD
5670WIDTH="80%"
5671ALIGN="LEFT"
5672VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005673>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005674></TR
5675></TABLE
5676><P
5677></P
5678></DIV
5679></DIV
5680><HR><DIV
5681CLASS="REFSECT2"
5682><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005683NAME="AEN12488"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005684></A
5685><H3
5686><A
5687NAME="XMLXPATHFREECONTEXT"
5688></A
5689>xmlXPathFreeContext ()</H3
5690><TABLE
5691BORDER="0"
5692BGCOLOR="#D6E8FF"
5693WIDTH="100%"
5694CELLPADDING="6"
5695><TR
5696><TD
5697><PRE
5698CLASS="PROGRAMLISTING"
5699>void xmlXPathFreeContext (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005700HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005701>xmlXPathContextPtr</A
5702> ctxt);</PRE
5703></TD
5704></TR
5705></TABLE
5706><P
5707>Free up an xmlXPathContext</P
5708><P
5709></P
5710><DIV
5711CLASS="INFORMALTABLE"
5712><P
5713></P
5714><TABLE
5715BORDER="0"
5716WIDTH="100%"
5717BGCOLOR="#FFD0D0"
5718CELLSPACING="0"
5719CELLPADDING="4"
5720CLASS="CALSTABLE"
5721><TR
5722><TD
5723WIDTH="20%"
5724ALIGN="RIGHT"
5725VALIGN="TOP"
5726><TT
5727CLASS="PARAMETER"
5728><I
5729>ctxt</I
5730></TT
5731>&nbsp;:</TD
5732><TD
5733WIDTH="80%"
5734ALIGN="LEFT"
5735VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005736>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005737></TR
5738></TABLE
5739><P
5740></P
5741></DIV
5742></DIV
5743><HR><DIV
5744CLASS="REFSECT2"
5745><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005746NAME="AEN12504"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005747></A
5748><H3
5749><A
5750NAME="XMLXPATHEQUALVALUES"
5751></A
5752>xmlXPathEqualValues ()</H3
5753><TABLE
5754BORDER="0"
5755BGCOLOR="#D6E8FF"
5756WIDTH="100%"
5757CELLPADDING="6"
5758><TR
5759><TD
5760><PRE
5761CLASS="PROGRAMLISTING"
5762>int xmlXPathEqualValues (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005763HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005764>xmlXPathParserContextPtr</A
5765> ctxt);</PRE
5766></TD
5767></TR
5768></TABLE
5769><P
5770>Implement the equal operation on XPath objects content: <TT
5771CLASS="PARAMETER"
5772><I
5773>arg1</I
5774></TT
5775> == <TT
5776CLASS="PARAMETER"
5777><I
5778>arg2</I
5779></TT
5780></P
5781><P
5782></P
5783><DIV
5784CLASS="INFORMALTABLE"
5785><P
5786></P
5787><TABLE
5788BORDER="0"
5789WIDTH="100%"
5790BGCOLOR="#FFD0D0"
5791CELLSPACING="0"
5792CELLPADDING="4"
5793CLASS="CALSTABLE"
5794><TR
5795><TD
5796WIDTH="20%"
5797ALIGN="RIGHT"
5798VALIGN="TOP"
5799><TT
5800CLASS="PARAMETER"
5801><I
5802>ctxt</I
5803></TT
5804>&nbsp;:</TD
5805><TD
5806WIDTH="80%"
5807ALIGN="LEFT"
5808VALIGN="TOP"
5809> the XPath Parser context</TD
5810></TR
5811><TR
5812><TD
5813WIDTH="20%"
5814ALIGN="RIGHT"
5815VALIGN="TOP"
5816><I
5817CLASS="EMPHASIS"
5818>Returns</I
5819> :</TD
5820><TD
5821WIDTH="80%"
5822ALIGN="LEFT"
5823VALIGN="TOP"
5824>0 or 1 depending on the results of the test.</TD
5825></TR
5826></TABLE
5827><P
5828></P
5829></DIV
5830></DIV
5831><HR><DIV
5832CLASS="REFSECT2"
5833><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005834NAME="AEN12526"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005835></A
5836><H3
5837><A
5838NAME="XMLXPATHCOMPAREVALUES"
5839></A
5840>xmlXPathCompareValues ()</H3
5841><TABLE
5842BORDER="0"
5843BGCOLOR="#D6E8FF"
5844WIDTH="100%"
5845CELLPADDING="6"
5846><TR
5847><TD
5848><PRE
5849CLASS="PROGRAMLISTING"
5850>int xmlXPathCompareValues (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005851HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005852>xmlXPathParserContextPtr</A
5853> ctxt,
5854 int inf,
5855 int strict);</PRE
5856></TD
5857></TR
5858></TABLE
5859><P
5860>Implement the compare operation on XPath objects:
5861<TT
5862CLASS="PARAMETER"
5863><I
5864>arg1</I
5865></TT
5866> &lt; <TT
5867CLASS="PARAMETER"
5868><I
5869>arg2</I
5870></TT
5871> (1, 1, ...
5872<TT
5873CLASS="PARAMETER"
5874><I
5875>arg1</I
5876></TT
5877> &lt;= <TT
5878CLASS="PARAMETER"
5879><I
5880>arg2</I
5881></TT
5882> (1, 0, ...
5883<TT
5884CLASS="PARAMETER"
5885><I
5886>arg1</I
5887></TT
5888> &gt; <TT
5889CLASS="PARAMETER"
5890><I
5891>arg2</I
5892></TT
5893> (0, 1, ...
5894<TT
5895CLASS="PARAMETER"
5896><I
5897>arg1</I
5898></TT
5899> &gt;= <TT
5900CLASS="PARAMETER"
5901><I
5902>arg2</I
5903></TT
5904> (0, 0, ...</P
5905><P
5906>When neither object to be compared is a node-set and the operator is
5907&lt;=, &lt;, &gt;=, &gt;, then the objects are compared by converted both objects
5908to numbers and comparing the numbers according to IEEE 754. The &lt;
5909comparison will be true if and only if the first number is less than the
5910second number. The &lt;= comparison will be true if and only if the first
5911number is less than or equal to the second number. The &gt; comparison
5912will be true if and only if the first number is greater than the second
5913number. The &gt;= comparison will be true if and only if the first number
5914is greater than or equal to the second number.</P
5915><P
5916></P
5917><DIV
5918CLASS="INFORMALTABLE"
5919><P
5920></P
5921><TABLE
5922BORDER="0"
5923WIDTH="100%"
5924BGCOLOR="#FFD0D0"
5925CELLSPACING="0"
5926CELLPADDING="4"
5927CLASS="CALSTABLE"
5928><TR
5929><TD
5930WIDTH="20%"
5931ALIGN="RIGHT"
5932VALIGN="TOP"
5933><TT
5934CLASS="PARAMETER"
5935><I
5936>ctxt</I
5937></TT
5938>&nbsp;:</TD
5939><TD
5940WIDTH="80%"
5941ALIGN="LEFT"
5942VALIGN="TOP"
5943> the XPath Parser context</TD
5944></TR
5945><TR
5946><TD
5947WIDTH="20%"
5948ALIGN="RIGHT"
5949VALIGN="TOP"
5950><TT
5951CLASS="PARAMETER"
5952><I
5953>inf</I
5954></TT
5955>&nbsp;:</TD
5956><TD
5957WIDTH="80%"
5958ALIGN="LEFT"
5959VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005960> less than (1) or greater than (0)</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005961></TR
5962><TR
5963><TD
5964WIDTH="20%"
5965ALIGN="RIGHT"
5966VALIGN="TOP"
5967><TT
5968CLASS="PARAMETER"
5969><I
5970>strict</I
5971></TT
5972>&nbsp;:</TD
5973><TD
5974WIDTH="80%"
5975ALIGN="LEFT"
5976VALIGN="TOP"
5977> is the comparison strict</TD
5978></TR
5979><TR
5980><TD
5981WIDTH="20%"
5982ALIGN="RIGHT"
5983VALIGN="TOP"
5984><I
5985CLASS="EMPHASIS"
5986>Returns</I
5987> :</TD
5988><TD
5989WIDTH="80%"
5990ALIGN="LEFT"
5991VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005992>1 if the comparaison succeeded, 0 if it failed</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005993></TR
5994></TABLE
5995><P
5996></P
5997></DIV
5998></DIV
5999><HR><DIV
6000CLASS="REFSECT2"
6001><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006002NAME="AEN12563"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006003></A
6004><H3
6005><A
6006NAME="XMLXPATHVALUEFLIPSIGN"
6007></A
6008>xmlXPathValueFlipSign ()</H3
6009><TABLE
6010BORDER="0"
6011BGCOLOR="#D6E8FF"
6012WIDTH="100%"
6013CELLPADDING="6"
6014><TR
6015><TD
6016><PRE
6017CLASS="PROGRAMLISTING"
6018>void xmlXPathValueFlipSign (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006019HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006020>xmlXPathParserContextPtr</A
6021> ctxt);</PRE
6022></TD
6023></TR
6024></TABLE
6025><P
6026>Implement the unary - operation on an XPath object
6027The numeric operators convert their operands to numbers as if
6028by calling the number function.</P
6029><P
6030></P
6031><DIV
6032CLASS="INFORMALTABLE"
6033><P
6034></P
6035><TABLE
6036BORDER="0"
6037WIDTH="100%"
6038BGCOLOR="#FFD0D0"
6039CELLSPACING="0"
6040CELLPADDING="4"
6041CLASS="CALSTABLE"
6042><TR
6043><TD
6044WIDTH="20%"
6045ALIGN="RIGHT"
6046VALIGN="TOP"
6047><TT
6048CLASS="PARAMETER"
6049><I
6050>ctxt</I
6051></TT
6052>&nbsp;:</TD
6053><TD
6054WIDTH="80%"
6055ALIGN="LEFT"
6056VALIGN="TOP"
6057> the XPath Parser context</TD
6058></TR
6059></TABLE
6060><P
6061></P
6062></DIV
6063></DIV
6064><HR><DIV
6065CLASS="REFSECT2"
6066><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006067NAME="AEN12579"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006068></A
6069><H3
6070><A
6071NAME="XMLXPATHADDVALUES"
6072></A
6073>xmlXPathAddValues ()</H3
6074><TABLE
6075BORDER="0"
6076BGCOLOR="#D6E8FF"
6077WIDTH="100%"
6078CELLPADDING="6"
6079><TR
6080><TD
6081><PRE
6082CLASS="PROGRAMLISTING"
6083>void xmlXPathAddValues (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006084HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006085>xmlXPathParserContextPtr</A
6086> ctxt);</PRE
6087></TD
6088></TR
6089></TABLE
6090><P
6091>Implement the add operation on XPath objects:
6092The numeric operators convert their operands to numbers as if
6093by calling the number function.</P
6094><P
6095></P
6096><DIV
6097CLASS="INFORMALTABLE"
6098><P
6099></P
6100><TABLE
6101BORDER="0"
6102WIDTH="100%"
6103BGCOLOR="#FFD0D0"
6104CELLSPACING="0"
6105CELLPADDING="4"
6106CLASS="CALSTABLE"
6107><TR
6108><TD
6109WIDTH="20%"
6110ALIGN="RIGHT"
6111VALIGN="TOP"
6112><TT
6113CLASS="PARAMETER"
6114><I
6115>ctxt</I
6116></TT
6117>&nbsp;:</TD
6118><TD
6119WIDTH="80%"
6120ALIGN="LEFT"
6121VALIGN="TOP"
6122> the XPath Parser context</TD
6123></TR
6124></TABLE
6125><P
6126></P
6127></DIV
6128></DIV
6129><HR><DIV
6130CLASS="REFSECT2"
6131><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006132NAME="AEN12595"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006133></A
6134><H3
6135><A
6136NAME="XMLXPATHSUBVALUES"
6137></A
6138>xmlXPathSubValues ()</H3
6139><TABLE
6140BORDER="0"
6141BGCOLOR="#D6E8FF"
6142WIDTH="100%"
6143CELLPADDING="6"
6144><TR
6145><TD
6146><PRE
6147CLASS="PROGRAMLISTING"
6148>void xmlXPathSubValues (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006149HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006150>xmlXPathParserContextPtr</A
6151> ctxt);</PRE
6152></TD
6153></TR
6154></TABLE
6155><P
6156>Implement the substraction operation on XPath objects:
6157The numeric operators convert their operands to numbers as if
6158by calling the number function.</P
6159><P
6160></P
6161><DIV
6162CLASS="INFORMALTABLE"
6163><P
6164></P
6165><TABLE
6166BORDER="0"
6167WIDTH="100%"
6168BGCOLOR="#FFD0D0"
6169CELLSPACING="0"
6170CELLPADDING="4"
6171CLASS="CALSTABLE"
6172><TR
6173><TD
6174WIDTH="20%"
6175ALIGN="RIGHT"
6176VALIGN="TOP"
6177><TT
6178CLASS="PARAMETER"
6179><I
6180>ctxt</I
6181></TT
6182>&nbsp;:</TD
6183><TD
6184WIDTH="80%"
6185ALIGN="LEFT"
6186VALIGN="TOP"
6187> the XPath Parser context</TD
6188></TR
6189></TABLE
6190><P
6191></P
6192></DIV
6193></DIV
6194><HR><DIV
6195CLASS="REFSECT2"
6196><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006197NAME="AEN12611"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006198></A
6199><H3
6200><A
6201NAME="XMLXPATHMULTVALUES"
6202></A
6203>xmlXPathMultValues ()</H3
6204><TABLE
6205BORDER="0"
6206BGCOLOR="#D6E8FF"
6207WIDTH="100%"
6208CELLPADDING="6"
6209><TR
6210><TD
6211><PRE
6212CLASS="PROGRAMLISTING"
6213>void xmlXPathMultValues (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006214HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006215>xmlXPathParserContextPtr</A
6216> ctxt);</PRE
6217></TD
6218></TR
6219></TABLE
6220><P
6221>Implement the multiply operation on XPath objects:
6222The numeric operators convert their operands to numbers as if
6223by calling the number function.</P
6224><P
6225></P
6226><DIV
6227CLASS="INFORMALTABLE"
6228><P
6229></P
6230><TABLE
6231BORDER="0"
6232WIDTH="100%"
6233BGCOLOR="#FFD0D0"
6234CELLSPACING="0"
6235CELLPADDING="4"
6236CLASS="CALSTABLE"
6237><TR
6238><TD
6239WIDTH="20%"
6240ALIGN="RIGHT"
6241VALIGN="TOP"
6242><TT
6243CLASS="PARAMETER"
6244><I
6245>ctxt</I
6246></TT
6247>&nbsp;:</TD
6248><TD
6249WIDTH="80%"
6250ALIGN="LEFT"
6251VALIGN="TOP"
6252> the XPath Parser context</TD
6253></TR
6254></TABLE
6255><P
6256></P
6257></DIV
6258></DIV
6259><HR><DIV
6260CLASS="REFSECT2"
6261><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006262NAME="AEN12627"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006263></A
6264><H3
6265><A
6266NAME="XMLXPATHDIVVALUES"
6267></A
6268>xmlXPathDivValues ()</H3
6269><TABLE
6270BORDER="0"
6271BGCOLOR="#D6E8FF"
6272WIDTH="100%"
6273CELLPADDING="6"
6274><TR
6275><TD
6276><PRE
6277CLASS="PROGRAMLISTING"
6278>void xmlXPathDivValues (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006279HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006280>xmlXPathParserContextPtr</A
6281> ctxt);</PRE
6282></TD
6283></TR
6284></TABLE
6285><P
6286>Implement the div operation on XPath objects:
6287The numeric operators convert their operands to numbers as if
6288by calling the number function.</P
6289><P
6290></P
6291><DIV
6292CLASS="INFORMALTABLE"
6293><P
6294></P
6295><TABLE
6296BORDER="0"
6297WIDTH="100%"
6298BGCOLOR="#FFD0D0"
6299CELLSPACING="0"
6300CELLPADDING="4"
6301CLASS="CALSTABLE"
6302><TR
6303><TD
6304WIDTH="20%"
6305ALIGN="RIGHT"
6306VALIGN="TOP"
6307><TT
6308CLASS="PARAMETER"
6309><I
6310>ctxt</I
6311></TT
6312>&nbsp;:</TD
6313><TD
6314WIDTH="80%"
6315ALIGN="LEFT"
6316VALIGN="TOP"
6317> the XPath Parser context</TD
6318></TR
6319></TABLE
6320><P
6321></P
6322></DIV
6323></DIV
6324><HR><DIV
6325CLASS="REFSECT2"
6326><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006327NAME="AEN12643"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006328></A
6329><H3
6330><A
6331NAME="XMLXPATHMODVALUES"
6332></A
6333>xmlXPathModValues ()</H3
6334><TABLE
6335BORDER="0"
6336BGCOLOR="#D6E8FF"
6337WIDTH="100%"
6338CELLPADDING="6"
6339><TR
6340><TD
6341><PRE
6342CLASS="PROGRAMLISTING"
6343>void xmlXPathModValues (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006344HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006345>xmlXPathParserContextPtr</A
6346> ctxt);</PRE
6347></TD
6348></TR
6349></TABLE
6350><P
6351>Implement the div operation on XPath objects: <TT
6352CLASS="PARAMETER"
6353><I
6354>arg1</I
6355></TT
6356> / <TT
6357CLASS="PARAMETER"
6358><I
6359>arg2</I
6360></TT
6361>
6362The numeric operators convert their operands to numbers as if
6363by calling the number function.</P
6364><P
6365></P
6366><DIV
6367CLASS="INFORMALTABLE"
6368><P
6369></P
6370><TABLE
6371BORDER="0"
6372WIDTH="100%"
6373BGCOLOR="#FFD0D0"
6374CELLSPACING="0"
6375CELLPADDING="4"
6376CLASS="CALSTABLE"
6377><TR
6378><TD
6379WIDTH="20%"
6380ALIGN="RIGHT"
6381VALIGN="TOP"
6382><TT
6383CLASS="PARAMETER"
6384><I
6385>ctxt</I
6386></TT
6387>&nbsp;:</TD
6388><TD
6389WIDTH="80%"
6390ALIGN="LEFT"
6391VALIGN="TOP"
6392> the XPath Parser context</TD
6393></TR
6394></TABLE
6395><P
6396></P
6397></DIV
6398></DIV
6399><HR><DIV
6400CLASS="REFSECT2"
6401><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006402NAME="AEN12661"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006403></A
6404><H3
6405><A
6406NAME="XMLXPATHLASTFUNCTION"
6407></A
6408>xmlXPathLastFunction ()</H3
6409><TABLE
6410BORDER="0"
6411BGCOLOR="#D6E8FF"
6412WIDTH="100%"
6413CELLPADDING="6"
6414><TR
6415><TD
6416><PRE
6417CLASS="PROGRAMLISTING"
6418>void xmlXPathLastFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006419HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006420>xmlXPathParserContextPtr</A
6421> ctxt,
6422 int nargs);</PRE
6423></TD
6424></TR
6425></TABLE
6426><P
6427>Implement the <GTKDOCLINK
6428HREF="LAST"
6429>last</GTKDOCLINK
6430>() XPath function
6431number <GTKDOCLINK
6432HREF="LAST"
6433>last</GTKDOCLINK
6434>()
6435The last function returns the number of nodes in the context node list.</P
6436><P
6437></P
6438><DIV
6439CLASS="INFORMALTABLE"
6440><P
6441></P
6442><TABLE
6443BORDER="0"
6444WIDTH="100%"
6445BGCOLOR="#FFD0D0"
6446CELLSPACING="0"
6447CELLPADDING="4"
6448CLASS="CALSTABLE"
6449><TR
6450><TD
6451WIDTH="20%"
6452ALIGN="RIGHT"
6453VALIGN="TOP"
6454><TT
6455CLASS="PARAMETER"
6456><I
6457>ctxt</I
6458></TT
6459>&nbsp;:</TD
6460><TD
6461WIDTH="80%"
6462ALIGN="LEFT"
6463VALIGN="TOP"
6464> the XPath Parser context</TD
6465></TR
6466><TR
6467><TD
6468WIDTH="20%"
6469ALIGN="RIGHT"
6470VALIGN="TOP"
6471><TT
6472CLASS="PARAMETER"
6473><I
6474>nargs</I
6475></TT
6476>&nbsp;:</TD
6477><TD
6478WIDTH="80%"
6479ALIGN="LEFT"
6480VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006481> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006482></TR
6483></TABLE
6484><P
6485></P
6486></DIV
6487></DIV
6488><HR><DIV
6489CLASS="REFSECT2"
6490><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006491NAME="AEN12683"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006492></A
6493><H3
6494><A
6495NAME="XMLXPATHPOSITIONFUNCTION"
6496></A
6497>xmlXPathPositionFunction ()</H3
6498><TABLE
6499BORDER="0"
6500BGCOLOR="#D6E8FF"
6501WIDTH="100%"
6502CELLPADDING="6"
6503><TR
6504><TD
6505><PRE
6506CLASS="PROGRAMLISTING"
6507>void xmlXPathPositionFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006508HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006509>xmlXPathParserContextPtr</A
6510> ctxt,
6511 int nargs);</PRE
6512></TD
6513></TR
6514></TABLE
6515><P
6516>Implement the <GTKDOCLINK
6517HREF="POSITION"
6518>position</GTKDOCLINK
6519>() XPath function
6520number <GTKDOCLINK
6521HREF="POSITION"
6522>position</GTKDOCLINK
6523>()
6524The position function returns the position of the context node in the
6525context node list. The first position is 1, and so the last positionr
6526will be equal to <GTKDOCLINK
6527HREF="LAST"
6528>last</GTKDOCLINK
6529>().</P
6530><P
6531></P
6532><DIV
6533CLASS="INFORMALTABLE"
6534><P
6535></P
6536><TABLE
6537BORDER="0"
6538WIDTH="100%"
6539BGCOLOR="#FFD0D0"
6540CELLSPACING="0"
6541CELLPADDING="4"
6542CLASS="CALSTABLE"
6543><TR
6544><TD
6545WIDTH="20%"
6546ALIGN="RIGHT"
6547VALIGN="TOP"
6548><TT
6549CLASS="PARAMETER"
6550><I
6551>ctxt</I
6552></TT
6553>&nbsp;:</TD
6554><TD
6555WIDTH="80%"
6556ALIGN="LEFT"
6557VALIGN="TOP"
6558> the XPath Parser context</TD
6559></TR
6560><TR
6561><TD
6562WIDTH="20%"
6563ALIGN="RIGHT"
6564VALIGN="TOP"
6565><TT
6566CLASS="PARAMETER"
6567><I
6568>nargs</I
6569></TT
6570>&nbsp;:</TD
6571><TD
6572WIDTH="80%"
6573ALIGN="LEFT"
6574VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006575> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006576></TR
6577></TABLE
6578><P
6579></P
6580></DIV
6581></DIV
6582><HR><DIV
6583CLASS="REFSECT2"
6584><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006585NAME="AEN12706"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006586></A
6587><H3
6588><A
6589NAME="XMLXPATHCOUNTFUNCTION"
6590></A
6591>xmlXPathCountFunction ()</H3
6592><TABLE
6593BORDER="0"
6594BGCOLOR="#D6E8FF"
6595WIDTH="100%"
6596CELLPADDING="6"
6597><TR
6598><TD
6599><PRE
6600CLASS="PROGRAMLISTING"
6601>void xmlXPathCountFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006602HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006603>xmlXPathParserContextPtr</A
6604> ctxt,
6605 int nargs);</PRE
6606></TD
6607></TR
6608></TABLE
6609><P
6610>Implement the <GTKDOCLINK
6611HREF="COUNT"
6612>count</GTKDOCLINK
6613>() XPath function
6614number count(node-set)</P
6615><P
6616></P
6617><DIV
6618CLASS="INFORMALTABLE"
6619><P
6620></P
6621><TABLE
6622BORDER="0"
6623WIDTH="100%"
6624BGCOLOR="#FFD0D0"
6625CELLSPACING="0"
6626CELLPADDING="4"
6627CLASS="CALSTABLE"
6628><TR
6629><TD
6630WIDTH="20%"
6631ALIGN="RIGHT"
6632VALIGN="TOP"
6633><TT
6634CLASS="PARAMETER"
6635><I
6636>ctxt</I
6637></TT
6638>&nbsp;:</TD
6639><TD
6640WIDTH="80%"
6641ALIGN="LEFT"
6642VALIGN="TOP"
6643> the XPath Parser context</TD
6644></TR
6645><TR
6646><TD
6647WIDTH="20%"
6648ALIGN="RIGHT"
6649VALIGN="TOP"
6650><TT
6651CLASS="PARAMETER"
6652><I
6653>nargs</I
6654></TT
6655>&nbsp;:</TD
6656><TD
6657WIDTH="80%"
6658ALIGN="LEFT"
6659VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006660> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006661></TR
6662></TABLE
6663><P
6664></P
6665></DIV
6666></DIV
6667><HR><DIV
6668CLASS="REFSECT2"
6669><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006670NAME="AEN12727"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006671></A
6672><H3
6673><A
6674NAME="XMLXPATHLOCALNAMEFUNCTION"
6675></A
6676>xmlXPathLocalNameFunction ()</H3
6677><TABLE
6678BORDER="0"
6679BGCOLOR="#D6E8FF"
6680WIDTH="100%"
6681CELLPADDING="6"
6682><TR
6683><TD
6684><PRE
6685CLASS="PROGRAMLISTING"
6686>void xmlXPathLocalNameFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006687HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006688>xmlXPathParserContextPtr</A
6689> ctxt,
6690 int nargs);</PRE
6691></TD
6692></TR
6693></TABLE
6694><P
6695>Implement the local-<GTKDOCLINK
6696HREF="NAME"
6697>name</GTKDOCLINK
6698>() XPath function
6699string local-name(node-set?)
6700The local-name function returns a string containing the local part
6701of the name of the node in the argument node-set that is first in
6702document order. If the node-set is empty or the first node has no
6703name, an empty string is returned. If the argument is omitted it
6704defaults to the context node.</P
6705><P
6706></P
6707><DIV
6708CLASS="INFORMALTABLE"
6709><P
6710></P
6711><TABLE
6712BORDER="0"
6713WIDTH="100%"
6714BGCOLOR="#FFD0D0"
6715CELLSPACING="0"
6716CELLPADDING="4"
6717CLASS="CALSTABLE"
6718><TR
6719><TD
6720WIDTH="20%"
6721ALIGN="RIGHT"
6722VALIGN="TOP"
6723><TT
6724CLASS="PARAMETER"
6725><I
6726>ctxt</I
6727></TT
6728>&nbsp;:</TD
6729><TD
6730WIDTH="80%"
6731ALIGN="LEFT"
6732VALIGN="TOP"
6733> the XPath Parser context</TD
6734></TR
6735><TR
6736><TD
6737WIDTH="20%"
6738ALIGN="RIGHT"
6739VALIGN="TOP"
6740><TT
6741CLASS="PARAMETER"
6742><I
6743>nargs</I
6744></TT
6745>&nbsp;:</TD
6746><TD
6747WIDTH="80%"
6748ALIGN="LEFT"
6749VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006750> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006751></TR
6752></TABLE
6753><P
6754></P
6755></DIV
6756></DIV
6757><HR><DIV
6758CLASS="REFSECT2"
6759><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006760NAME="AEN12748"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006761></A
6762><H3
6763><A
6764NAME="XMLXPATHNAMESPACEURIFUNCTION"
6765></A
6766>xmlXPathNamespaceURIFunction ()</H3
6767><TABLE
6768BORDER="0"
6769BGCOLOR="#D6E8FF"
6770WIDTH="100%"
6771CELLPADDING="6"
6772><TR
6773><TD
6774><PRE
6775CLASS="PROGRAMLISTING"
6776>void xmlXPathNamespaceURIFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006777HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006778>xmlXPathParserContextPtr</A
6779> ctxt,
6780 int nargs);</PRE
6781></TD
6782></TR
6783></TABLE
6784><P
6785>Implement the namespace-<GTKDOCLINK
6786HREF="URI"
6787>uri</GTKDOCLINK
6788>() XPath function
6789string namespace-uri(node-set?)
6790The namespace-uri function returns a string containing the
6791namespace URI of the expanded name of the node in the argument
6792node-set that is first in document order. If the node-set is empty,
6793the first node has no name, or the expanded name has no namespace
6794URI, an empty string is returned. If the argument is omitted it
6795defaults to the context node.</P
6796><P
6797></P
6798><DIV
6799CLASS="INFORMALTABLE"
6800><P
6801></P
6802><TABLE
6803BORDER="0"
6804WIDTH="100%"
6805BGCOLOR="#FFD0D0"
6806CELLSPACING="0"
6807CELLPADDING="4"
6808CLASS="CALSTABLE"
6809><TR
6810><TD
6811WIDTH="20%"
6812ALIGN="RIGHT"
6813VALIGN="TOP"
6814><TT
6815CLASS="PARAMETER"
6816><I
6817>ctxt</I
6818></TT
6819>&nbsp;:</TD
6820><TD
6821WIDTH="80%"
6822ALIGN="LEFT"
6823VALIGN="TOP"
6824> the XPath Parser context</TD
6825></TR
6826><TR
6827><TD
6828WIDTH="20%"
6829ALIGN="RIGHT"
6830VALIGN="TOP"
6831><TT
6832CLASS="PARAMETER"
6833><I
6834>nargs</I
6835></TT
6836>&nbsp;:</TD
6837><TD
6838WIDTH="80%"
6839ALIGN="LEFT"
6840VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006841> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006842></TR
6843></TABLE
6844><P
6845></P
6846></DIV
6847></DIV
6848><HR><DIV
6849CLASS="REFSECT2"
6850><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006851NAME="AEN12769"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006852></A
6853><H3
6854><A
6855NAME="XMLXPATHSTRINGLENGTHFUNCTION"
6856></A
6857>xmlXPathStringLengthFunction ()</H3
6858><TABLE
6859BORDER="0"
6860BGCOLOR="#D6E8FF"
6861WIDTH="100%"
6862CELLPADDING="6"
6863><TR
6864><TD
6865><PRE
6866CLASS="PROGRAMLISTING"
6867>void xmlXPathStringLengthFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006868HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006869>xmlXPathParserContextPtr</A
6870> ctxt,
6871 int nargs);</PRE
6872></TD
6873></TR
6874></TABLE
6875><P
6876>Implement the string-<GTKDOCLINK
6877HREF="LENGTH"
6878>length</GTKDOCLINK
6879>() XPath function
6880number string-length(string?)
6881The string-length returns the number of characters in the string
6882(see [3.6 Strings]). If the argument is omitted, it defaults to
6883the context node converted to a string, in other words the value
6884of the context node.</P
6885><P
6886></P
6887><DIV
6888CLASS="INFORMALTABLE"
6889><P
6890></P
6891><TABLE
6892BORDER="0"
6893WIDTH="100%"
6894BGCOLOR="#FFD0D0"
6895CELLSPACING="0"
6896CELLPADDING="4"
6897CLASS="CALSTABLE"
6898><TR
6899><TD
6900WIDTH="20%"
6901ALIGN="RIGHT"
6902VALIGN="TOP"
6903><TT
6904CLASS="PARAMETER"
6905><I
6906>ctxt</I
6907></TT
6908>&nbsp;:</TD
6909><TD
6910WIDTH="80%"
6911ALIGN="LEFT"
6912VALIGN="TOP"
6913> the XPath Parser context</TD
6914></TR
6915><TR
6916><TD
6917WIDTH="20%"
6918ALIGN="RIGHT"
6919VALIGN="TOP"
6920><TT
6921CLASS="PARAMETER"
6922><I
6923>nargs</I
6924></TT
6925>&nbsp;:</TD
6926><TD
6927WIDTH="80%"
6928ALIGN="LEFT"
6929VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006930> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006931></TR
6932></TABLE
6933><P
6934></P
6935></DIV
6936></DIV
6937><HR><DIV
6938CLASS="REFSECT2"
6939><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006940NAME="AEN12790"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006941></A
6942><H3
6943><A
6944NAME="XMLXPATHCONCATFUNCTION"
6945></A
6946>xmlXPathConcatFunction ()</H3
6947><TABLE
6948BORDER="0"
6949BGCOLOR="#D6E8FF"
6950WIDTH="100%"
6951CELLPADDING="6"
6952><TR
6953><TD
6954><PRE
6955CLASS="PROGRAMLISTING"
6956>void xmlXPathConcatFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006957HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006958>xmlXPathParserContextPtr</A
6959> ctxt,
6960 int nargs);</PRE
6961></TD
6962></TR
6963></TABLE
6964><P
6965>Implement the <GTKDOCLINK
6966HREF="CONCAT"
6967>concat</GTKDOCLINK
6968>() XPath function
6969string concat(string, string, string*)
6970The concat function returns the concatenation of its arguments.</P
6971><P
6972></P
6973><DIV
6974CLASS="INFORMALTABLE"
6975><P
6976></P
6977><TABLE
6978BORDER="0"
6979WIDTH="100%"
6980BGCOLOR="#FFD0D0"
6981CELLSPACING="0"
6982CELLPADDING="4"
6983CLASS="CALSTABLE"
6984><TR
6985><TD
6986WIDTH="20%"
6987ALIGN="RIGHT"
6988VALIGN="TOP"
6989><TT
6990CLASS="PARAMETER"
6991><I
6992>ctxt</I
6993></TT
6994>&nbsp;:</TD
6995><TD
6996WIDTH="80%"
6997ALIGN="LEFT"
6998VALIGN="TOP"
6999> the XPath Parser context</TD
7000></TR
7001><TR
7002><TD
7003WIDTH="20%"
7004ALIGN="RIGHT"
7005VALIGN="TOP"
7006><TT
7007CLASS="PARAMETER"
7008><I
7009>nargs</I
7010></TT
7011>&nbsp;:</TD
7012><TD
7013WIDTH="80%"
7014ALIGN="LEFT"
7015VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007016> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007017></TR
7018></TABLE
7019><P
7020></P
7021></DIV
7022></DIV
7023><HR><DIV
7024CLASS="REFSECT2"
7025><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007026NAME="AEN12811"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007027></A
7028><H3
7029><A
7030NAME="XMLXPATHCONTAINSFUNCTION"
7031></A
7032>xmlXPathContainsFunction ()</H3
7033><TABLE
7034BORDER="0"
7035BGCOLOR="#D6E8FF"
7036WIDTH="100%"
7037CELLPADDING="6"
7038><TR
7039><TD
7040><PRE
7041CLASS="PROGRAMLISTING"
7042>void xmlXPathContainsFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007043HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007044>xmlXPathParserContextPtr</A
7045> ctxt,
7046 int nargs);</PRE
7047></TD
7048></TR
7049></TABLE
7050><P
7051>Implement the <GTKDOCLINK
7052HREF="CONTAINS"
7053>contains</GTKDOCLINK
7054>() XPath function
7055boolean contains(string, string)
7056The contains function returns true if the first argument string
7057contains the second argument string, and otherwise returns false.</P
7058><P
7059></P
7060><DIV
7061CLASS="INFORMALTABLE"
7062><P
7063></P
7064><TABLE
7065BORDER="0"
7066WIDTH="100%"
7067BGCOLOR="#FFD0D0"
7068CELLSPACING="0"
7069CELLPADDING="4"
7070CLASS="CALSTABLE"
7071><TR
7072><TD
7073WIDTH="20%"
7074ALIGN="RIGHT"
7075VALIGN="TOP"
7076><TT
7077CLASS="PARAMETER"
7078><I
7079>ctxt</I
7080></TT
7081>&nbsp;:</TD
7082><TD
7083WIDTH="80%"
7084ALIGN="LEFT"
7085VALIGN="TOP"
7086> the XPath Parser context</TD
7087></TR
7088><TR
7089><TD
7090WIDTH="20%"
7091ALIGN="RIGHT"
7092VALIGN="TOP"
7093><TT
7094CLASS="PARAMETER"
7095><I
7096>nargs</I
7097></TT
7098>&nbsp;:</TD
7099><TD
7100WIDTH="80%"
7101ALIGN="LEFT"
7102VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007103> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007104></TR
7105></TABLE
7106><P
7107></P
7108></DIV
7109></DIV
7110><HR><DIV
7111CLASS="REFSECT2"
7112><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007113NAME="AEN12832"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007114></A
7115><H3
7116><A
7117NAME="XMLXPATHSTARTSWITHFUNCTION"
7118></A
7119>xmlXPathStartsWithFunction ()</H3
7120><TABLE
7121BORDER="0"
7122BGCOLOR="#D6E8FF"
7123WIDTH="100%"
7124CELLPADDING="6"
7125><TR
7126><TD
7127><PRE
7128CLASS="PROGRAMLISTING"
7129>void xmlXPathStartsWithFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007130HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007131>xmlXPathParserContextPtr</A
7132> ctxt,
7133 int nargs);</PRE
7134></TD
7135></TR
7136></TABLE
7137><P
7138>Implement the starts-<GTKDOCLINK
7139HREF="WITH"
7140>with</GTKDOCLINK
7141>() XPath function
7142boolean starts-with(string, string)
7143The starts-with function returns true if the first argument string
7144starts with the second argument string, and otherwise returns false.</P
7145><P
7146></P
7147><DIV
7148CLASS="INFORMALTABLE"
7149><P
7150></P
7151><TABLE
7152BORDER="0"
7153WIDTH="100%"
7154BGCOLOR="#FFD0D0"
7155CELLSPACING="0"
7156CELLPADDING="4"
7157CLASS="CALSTABLE"
7158><TR
7159><TD
7160WIDTH="20%"
7161ALIGN="RIGHT"
7162VALIGN="TOP"
7163><TT
7164CLASS="PARAMETER"
7165><I
7166>ctxt</I
7167></TT
7168>&nbsp;:</TD
7169><TD
7170WIDTH="80%"
7171ALIGN="LEFT"
7172VALIGN="TOP"
7173> the XPath Parser context</TD
7174></TR
7175><TR
7176><TD
7177WIDTH="20%"
7178ALIGN="RIGHT"
7179VALIGN="TOP"
7180><TT
7181CLASS="PARAMETER"
7182><I
7183>nargs</I
7184></TT
7185>&nbsp;:</TD
7186><TD
7187WIDTH="80%"
7188ALIGN="LEFT"
7189VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007190> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007191></TR
7192></TABLE
7193><P
7194></P
7195></DIV
7196></DIV
7197><HR><DIV
7198CLASS="REFSECT2"
7199><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007200NAME="AEN12853"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007201></A
7202><H3
7203><A
7204NAME="XMLXPATHSUBSTRINGFUNCTION"
7205></A
7206>xmlXPathSubstringFunction ()</H3
7207><TABLE
7208BORDER="0"
7209BGCOLOR="#D6E8FF"
7210WIDTH="100%"
7211CELLPADDING="6"
7212><TR
7213><TD
7214><PRE
7215CLASS="PROGRAMLISTING"
7216>void xmlXPathSubstringFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007217HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007218>xmlXPathParserContextPtr</A
7219> ctxt,
7220 int nargs);</PRE
7221></TD
7222></TR
7223></TABLE
7224><P
7225>Implement the <GTKDOCLINK
7226HREF="SUBSTRING"
7227>substring</GTKDOCLINK
7228>() XPath function
7229string substring(string, number, number?)
7230The substring function returns the substring of the first argument
7231starting at the position specified in the second argument with
7232length specified in the third argument. For example,
7233substring("12345",2,3) returns "234". If the third argument is not
7234specified, it returns the substring starting at the position specified
7235in the second argument and continuing to the end of the string. For
7236example, substring("12345",2) returns "2345". More precisely, each
7237character in the string (see [3.6 Strings]) is considered to have a
7238numeric position: the position of the first character is 1, the position
7239of the second character is 2 and so on. The returned substring contains
7240those characters for which the position of the character is greater than
7241or equal to the second argument and, if the third argument is specified,
7242less than the sum of the second and third arguments; the comparisons
7243and addition used for the above follow the standard IEEE 754 rules. Thus:
7244- substring("12345", 1.5, 2.6) returns "234"
7245- substring("12345", 0, 3) returns "12"
7246- substring("12345", 0 div 0, 3) returns ""
7247- substring("12345", 1, 0 div 0) returns ""
7248- substring("12345", -42, 1 div 0) returns "12345"
7249- substring("12345", -1 div 0, 1 div 0) returns ""</P
7250><P
7251></P
7252><DIV
7253CLASS="INFORMALTABLE"
7254><P
7255></P
7256><TABLE
7257BORDER="0"
7258WIDTH="100%"
7259BGCOLOR="#FFD0D0"
7260CELLSPACING="0"
7261CELLPADDING="4"
7262CLASS="CALSTABLE"
7263><TR
7264><TD
7265WIDTH="20%"
7266ALIGN="RIGHT"
7267VALIGN="TOP"
7268><TT
7269CLASS="PARAMETER"
7270><I
7271>ctxt</I
7272></TT
7273>&nbsp;:</TD
7274><TD
7275WIDTH="80%"
7276ALIGN="LEFT"
7277VALIGN="TOP"
7278> the XPath Parser context</TD
7279></TR
7280><TR
7281><TD
7282WIDTH="20%"
7283ALIGN="RIGHT"
7284VALIGN="TOP"
7285><TT
7286CLASS="PARAMETER"
7287><I
7288>nargs</I
7289></TT
7290>&nbsp;:</TD
7291><TD
7292WIDTH="80%"
7293ALIGN="LEFT"
7294VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007295> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007296></TR
7297></TABLE
7298><P
7299></P
7300></DIV
7301></DIV
7302><HR><DIV
7303CLASS="REFSECT2"
7304><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007305NAME="AEN12874"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007306></A
7307><H3
7308><A
7309NAME="XMLXPATHSUBSTRINGBEFOREFUNCTION"
7310></A
7311>xmlXPathSubstringBeforeFunction ()</H3
7312><TABLE
7313BORDER="0"
7314BGCOLOR="#D6E8FF"
7315WIDTH="100%"
7316CELLPADDING="6"
7317><TR
7318><TD
7319><PRE
7320CLASS="PROGRAMLISTING"
7321>void xmlXPathSubstringBeforeFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007322HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007323>xmlXPathParserContextPtr</A
7324> ctxt,
7325 int nargs);</PRE
7326></TD
7327></TR
7328></TABLE
7329><P
7330>Implement the substring-<GTKDOCLINK
7331HREF="BEFORE"
7332>before</GTKDOCLINK
7333>() XPath function
7334string substring-before(string, string)
7335The substring-before function returns the substring of the first
7336argument string that precedes the first occurrence of the second
7337argument string in the first argument string, or the empty string
7338if the first argument string does not contain the second argument
7339string. For example, substring-before("1999/04/01","/") returns 1999.</P
7340><P
7341></P
7342><DIV
7343CLASS="INFORMALTABLE"
7344><P
7345></P
7346><TABLE
7347BORDER="0"
7348WIDTH="100%"
7349BGCOLOR="#FFD0D0"
7350CELLSPACING="0"
7351CELLPADDING="4"
7352CLASS="CALSTABLE"
7353><TR
7354><TD
7355WIDTH="20%"
7356ALIGN="RIGHT"
7357VALIGN="TOP"
7358><TT
7359CLASS="PARAMETER"
7360><I
7361>ctxt</I
7362></TT
7363>&nbsp;:</TD
7364><TD
7365WIDTH="80%"
7366ALIGN="LEFT"
7367VALIGN="TOP"
7368> the XPath Parser context</TD
7369></TR
7370><TR
7371><TD
7372WIDTH="20%"
7373ALIGN="RIGHT"
7374VALIGN="TOP"
7375><TT
7376CLASS="PARAMETER"
7377><I
7378>nargs</I
7379></TT
7380>&nbsp;:</TD
7381><TD
7382WIDTH="80%"
7383ALIGN="LEFT"
7384VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007385> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007386></TR
7387></TABLE
7388><P
7389></P
7390></DIV
7391></DIV
7392><HR><DIV
7393CLASS="REFSECT2"
7394><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007395NAME="AEN12895"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007396></A
7397><H3
7398><A
7399NAME="XMLXPATHSUBSTRINGAFTERFUNCTION"
7400></A
7401>xmlXPathSubstringAfterFunction ()</H3
7402><TABLE
7403BORDER="0"
7404BGCOLOR="#D6E8FF"
7405WIDTH="100%"
7406CELLPADDING="6"
7407><TR
7408><TD
7409><PRE
7410CLASS="PROGRAMLISTING"
7411>void xmlXPathSubstringAfterFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007412HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007413>xmlXPathParserContextPtr</A
7414> ctxt,
7415 int nargs);</PRE
7416></TD
7417></TR
7418></TABLE
7419><P
7420>Implement the substring-<GTKDOCLINK
7421HREF="AFTER"
7422>after</GTKDOCLINK
7423>() XPath function
7424string substring-after(string, string)
7425The substring-after function returns the substring of the first
7426argument string that follows the first occurrence of the second
7427argument string in the first argument string, or the empty stringi
7428if the first argument string does not contain the second argument
7429string. For example, substring-after("1999/04/01","/") returns 04/01,
7430and substring-after("1999/04/01","19") returns 99/04/01.</P
7431><P
7432></P
7433><DIV
7434CLASS="INFORMALTABLE"
7435><P
7436></P
7437><TABLE
7438BORDER="0"
7439WIDTH="100%"
7440BGCOLOR="#FFD0D0"
7441CELLSPACING="0"
7442CELLPADDING="4"
7443CLASS="CALSTABLE"
7444><TR
7445><TD
7446WIDTH="20%"
7447ALIGN="RIGHT"
7448VALIGN="TOP"
7449><TT
7450CLASS="PARAMETER"
7451><I
7452>ctxt</I
7453></TT
7454>&nbsp;:</TD
7455><TD
7456WIDTH="80%"
7457ALIGN="LEFT"
7458VALIGN="TOP"
7459> the XPath Parser context</TD
7460></TR
7461><TR
7462><TD
7463WIDTH="20%"
7464ALIGN="RIGHT"
7465VALIGN="TOP"
7466><TT
7467CLASS="PARAMETER"
7468><I
7469>nargs</I
7470></TT
7471>&nbsp;:</TD
7472><TD
7473WIDTH="80%"
7474ALIGN="LEFT"
7475VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007476> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007477></TR
7478></TABLE
7479><P
7480></P
7481></DIV
7482></DIV
7483><HR><DIV
7484CLASS="REFSECT2"
7485><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007486NAME="AEN12916"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007487></A
7488><H3
7489><A
7490NAME="XMLXPATHNORMALIZEFUNCTION"
7491></A
7492>xmlXPathNormalizeFunction ()</H3
7493><TABLE
7494BORDER="0"
7495BGCOLOR="#D6E8FF"
7496WIDTH="100%"
7497CELLPADDING="6"
7498><TR
7499><TD
7500><PRE
7501CLASS="PROGRAMLISTING"
7502>void xmlXPathNormalizeFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007503HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007504>xmlXPathParserContextPtr</A
7505> ctxt,
7506 int nargs);</PRE
7507></TD
7508></TR
7509></TABLE
7510><P
7511>Implement the normalize-<GTKDOCLINK
7512HREF="SPACE"
7513>space</GTKDOCLINK
7514>() XPath function
7515string normalize-space(string?)
7516The normalize-space function returns the argument string with white
7517space normalized by stripping leading and trailing whitespace
7518and replacing sequences of whitespace characters by a single
7519space. Whitespace characters are the same allowed by the S production
7520in XML. If the argument is omitted, it defaults to the context
7521node converted to a string, in other words the value of the context node.</P
7522><P
7523></P
7524><DIV
7525CLASS="INFORMALTABLE"
7526><P
7527></P
7528><TABLE
7529BORDER="0"
7530WIDTH="100%"
7531BGCOLOR="#FFD0D0"
7532CELLSPACING="0"
7533CELLPADDING="4"
7534CLASS="CALSTABLE"
7535><TR
7536><TD
7537WIDTH="20%"
7538ALIGN="RIGHT"
7539VALIGN="TOP"
7540><TT
7541CLASS="PARAMETER"
7542><I
7543>ctxt</I
7544></TT
7545>&nbsp;:</TD
7546><TD
7547WIDTH="80%"
7548ALIGN="LEFT"
7549VALIGN="TOP"
7550> the XPath Parser context</TD
7551></TR
7552><TR
7553><TD
7554WIDTH="20%"
7555ALIGN="RIGHT"
7556VALIGN="TOP"
7557><TT
7558CLASS="PARAMETER"
7559><I
7560>nargs</I
7561></TT
7562>&nbsp;:</TD
7563><TD
7564WIDTH="80%"
7565ALIGN="LEFT"
7566VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007567> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007568></TR
7569></TABLE
7570><P
7571></P
7572></DIV
7573></DIV
7574><HR><DIV
7575CLASS="REFSECT2"
7576><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007577NAME="AEN12937"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007578></A
7579><H3
7580><A
7581NAME="XMLXPATHTRANSLATEFUNCTION"
7582></A
7583>xmlXPathTranslateFunction ()</H3
7584><TABLE
7585BORDER="0"
7586BGCOLOR="#D6E8FF"
7587WIDTH="100%"
7588CELLPADDING="6"
7589><TR
7590><TD
7591><PRE
7592CLASS="PROGRAMLISTING"
7593>void xmlXPathTranslateFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007594HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007595>xmlXPathParserContextPtr</A
7596> ctxt,
7597 int nargs);</PRE
7598></TD
7599></TR
7600></TABLE
7601><P
7602>Implement the <GTKDOCLINK
7603HREF="TRANSLATE"
7604>translate</GTKDOCLINK
7605>() XPath function
7606string translate(string, string, string)
7607The translate function returns the first argument string with
7608occurrences of characters in the second argument string replaced
7609by the character at the corresponding position in the third argument
7610string. For example, translate("bar","abc","ABC") returns the string
7611BAr. If there is a character in the second argument string with no
7612character at a corresponding position in the third argument string
7613(because the second argument string is longer than the third argument
7614string), then occurrences of that character in the first argument
7615string are removed. For example, translate("--aaa--","abc-","ABC")</P
7616><P
7617></P
7618><DIV
7619CLASS="INFORMALTABLE"
7620><P
7621></P
7622><TABLE
7623BORDER="0"
7624WIDTH="100%"
7625BGCOLOR="#FFD0D0"
7626CELLSPACING="0"
7627CELLPADDING="4"
7628CLASS="CALSTABLE"
7629><TR
7630><TD
7631WIDTH="20%"
7632ALIGN="RIGHT"
7633VALIGN="TOP"
7634><TT
7635CLASS="PARAMETER"
7636><I
7637>ctxt</I
7638></TT
7639>&nbsp;:</TD
7640><TD
7641WIDTH="80%"
7642ALIGN="LEFT"
7643VALIGN="TOP"
7644> the XPath Parser context</TD
7645></TR
7646><TR
7647><TD
7648WIDTH="20%"
7649ALIGN="RIGHT"
7650VALIGN="TOP"
7651><TT
7652CLASS="PARAMETER"
7653><I
7654>nargs</I
7655></TT
7656>&nbsp;:</TD
7657><TD
7658WIDTH="80%"
7659ALIGN="LEFT"
7660VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007661> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007662></TR
7663></TABLE
7664><P
7665></P
7666></DIV
7667></DIV
7668><HR><DIV
7669CLASS="REFSECT2"
7670><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007671NAME="AEN12958"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007672></A
7673><H3
7674><A
7675NAME="XMLXPATHNOTFUNCTION"
7676></A
7677>xmlXPathNotFunction ()</H3
7678><TABLE
7679BORDER="0"
7680BGCOLOR="#D6E8FF"
7681WIDTH="100%"
7682CELLPADDING="6"
7683><TR
7684><TD
7685><PRE
7686CLASS="PROGRAMLISTING"
7687>void xmlXPathNotFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007688HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007689>xmlXPathParserContextPtr</A
7690> ctxt,
7691 int nargs);</PRE
7692></TD
7693></TR
7694></TABLE
7695><P
7696>Implement the <GTKDOCLINK
7697HREF="NOT"
7698>not</GTKDOCLINK
7699>() XPath function
7700boolean not(boolean)
7701The not function returns true if its argument is false,
7702and false otherwise.</P
7703><P
7704></P
7705><DIV
7706CLASS="INFORMALTABLE"
7707><P
7708></P
7709><TABLE
7710BORDER="0"
7711WIDTH="100%"
7712BGCOLOR="#FFD0D0"
7713CELLSPACING="0"
7714CELLPADDING="4"
7715CLASS="CALSTABLE"
7716><TR
7717><TD
7718WIDTH="20%"
7719ALIGN="RIGHT"
7720VALIGN="TOP"
7721><TT
7722CLASS="PARAMETER"
7723><I
7724>ctxt</I
7725></TT
7726>&nbsp;:</TD
7727><TD
7728WIDTH="80%"
7729ALIGN="LEFT"
7730VALIGN="TOP"
7731> the XPath Parser context</TD
7732></TR
7733><TR
7734><TD
7735WIDTH="20%"
7736ALIGN="RIGHT"
7737VALIGN="TOP"
7738><TT
7739CLASS="PARAMETER"
7740><I
7741>nargs</I
7742></TT
7743>&nbsp;:</TD
7744><TD
7745WIDTH="80%"
7746ALIGN="LEFT"
7747VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007748> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007749></TR
7750></TABLE
7751><P
7752></P
7753></DIV
7754></DIV
7755><HR><DIV
7756CLASS="REFSECT2"
7757><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007758NAME="AEN12979"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007759></A
7760><H3
7761><A
7762NAME="XMLXPATHTRUEFUNCTION"
7763></A
7764>xmlXPathTrueFunction ()</H3
7765><TABLE
7766BORDER="0"
7767BGCOLOR="#D6E8FF"
7768WIDTH="100%"
7769CELLPADDING="6"
7770><TR
7771><TD
7772><PRE
7773CLASS="PROGRAMLISTING"
7774>void xmlXPathTrueFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007775HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007776>xmlXPathParserContextPtr</A
7777> ctxt,
7778 int nargs);</PRE
7779></TD
7780></TR
7781></TABLE
7782><P
7783>Implement the <GTKDOCLINK
7784HREF="TRUE"
7785>true</GTKDOCLINK
7786>() XPath function
7787boolean <GTKDOCLINK
7788HREF="TRUE"
7789>true</GTKDOCLINK
7790>()</P
7791><P
7792></P
7793><DIV
7794CLASS="INFORMALTABLE"
7795><P
7796></P
7797><TABLE
7798BORDER="0"
7799WIDTH="100%"
7800BGCOLOR="#FFD0D0"
7801CELLSPACING="0"
7802CELLPADDING="4"
7803CLASS="CALSTABLE"
7804><TR
7805><TD
7806WIDTH="20%"
7807ALIGN="RIGHT"
7808VALIGN="TOP"
7809><TT
7810CLASS="PARAMETER"
7811><I
7812>ctxt</I
7813></TT
7814>&nbsp;:</TD
7815><TD
7816WIDTH="80%"
7817ALIGN="LEFT"
7818VALIGN="TOP"
7819> the XPath Parser context</TD
7820></TR
7821><TR
7822><TD
7823WIDTH="20%"
7824ALIGN="RIGHT"
7825VALIGN="TOP"
7826><TT
7827CLASS="PARAMETER"
7828><I
7829>nargs</I
7830></TT
7831>&nbsp;:</TD
7832><TD
7833WIDTH="80%"
7834ALIGN="LEFT"
7835VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007836> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007837></TR
7838></TABLE
7839><P
7840></P
7841></DIV
7842></DIV
7843><HR><DIV
7844CLASS="REFSECT2"
7845><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007846NAME="AEN13001"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007847></A
7848><H3
7849><A
7850NAME="XMLXPATHFALSEFUNCTION"
7851></A
7852>xmlXPathFalseFunction ()</H3
7853><TABLE
7854BORDER="0"
7855BGCOLOR="#D6E8FF"
7856WIDTH="100%"
7857CELLPADDING="6"
7858><TR
7859><TD
7860><PRE
7861CLASS="PROGRAMLISTING"
7862>void xmlXPathFalseFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007863HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007864>xmlXPathParserContextPtr</A
7865> ctxt,
7866 int nargs);</PRE
7867></TD
7868></TR
7869></TABLE
7870><P
7871>Implement the <GTKDOCLINK
7872HREF="FALSE"
7873>false</GTKDOCLINK
7874>() XPath function
7875boolean <GTKDOCLINK
7876HREF="FALSE"
7877>false</GTKDOCLINK
7878>()</P
7879><P
7880></P
7881><DIV
7882CLASS="INFORMALTABLE"
7883><P
7884></P
7885><TABLE
7886BORDER="0"
7887WIDTH="100%"
7888BGCOLOR="#FFD0D0"
7889CELLSPACING="0"
7890CELLPADDING="4"
7891CLASS="CALSTABLE"
7892><TR
7893><TD
7894WIDTH="20%"
7895ALIGN="RIGHT"
7896VALIGN="TOP"
7897><TT
7898CLASS="PARAMETER"
7899><I
7900>ctxt</I
7901></TT
7902>&nbsp;:</TD
7903><TD
7904WIDTH="80%"
7905ALIGN="LEFT"
7906VALIGN="TOP"
7907> the XPath Parser context</TD
7908></TR
7909><TR
7910><TD
7911WIDTH="20%"
7912ALIGN="RIGHT"
7913VALIGN="TOP"
7914><TT
7915CLASS="PARAMETER"
7916><I
7917>nargs</I
7918></TT
7919>&nbsp;:</TD
7920><TD
7921WIDTH="80%"
7922ALIGN="LEFT"
7923VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007924> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007925></TR
7926></TABLE
7927><P
7928></P
7929></DIV
7930></DIV
7931><HR><DIV
7932CLASS="REFSECT2"
7933><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007934NAME="AEN13023"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007935></A
7936><H3
7937><A
7938NAME="XMLXPATHLANGFUNCTION"
7939></A
7940>xmlXPathLangFunction ()</H3
7941><TABLE
7942BORDER="0"
7943BGCOLOR="#D6E8FF"
7944WIDTH="100%"
7945CELLPADDING="6"
7946><TR
7947><TD
7948><PRE
7949CLASS="PROGRAMLISTING"
7950>void xmlXPathLangFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007951HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007952>xmlXPathParserContextPtr</A
7953> ctxt,
7954 int nargs);</PRE
7955></TD
7956></TR
7957></TABLE
7958><P
7959>Implement the <GTKDOCLINK
7960HREF="LANG"
7961>lang</GTKDOCLINK
7962>() XPath function
7963boolean lang(string)
7964The lang function returns true or false depending on whether the
7965language of the context node as specified by xml:lang attributes
7966is the same as or is a sublanguage of the language specified by
7967the argument string. The language of the context node is determined
7968by the value of the xml:lang attribute on the context node, or, if
7969the context node has no xml:lang attribute, by the value of the
7970xml:lang attribute on the nearest ancestor of the context node that
7971has an xml:lang attribute. If there is no such attribute, then lang</P
7972><P
7973></P
7974><DIV
7975CLASS="INFORMALTABLE"
7976><P
7977></P
7978><TABLE
7979BORDER="0"
7980WIDTH="100%"
7981BGCOLOR="#FFD0D0"
7982CELLSPACING="0"
7983CELLPADDING="4"
7984CLASS="CALSTABLE"
7985><TR
7986><TD
7987WIDTH="20%"
7988ALIGN="RIGHT"
7989VALIGN="TOP"
7990><TT
7991CLASS="PARAMETER"
7992><I
7993>ctxt</I
7994></TT
7995>&nbsp;:</TD
7996><TD
7997WIDTH="80%"
7998ALIGN="LEFT"
7999VALIGN="TOP"
8000> the XPath Parser context</TD
8001></TR
8002><TR
8003><TD
8004WIDTH="20%"
8005ALIGN="RIGHT"
8006VALIGN="TOP"
8007><TT
8008CLASS="PARAMETER"
8009><I
8010>nargs</I
8011></TT
8012>&nbsp;:</TD
8013><TD
8014WIDTH="80%"
8015ALIGN="LEFT"
8016VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008017> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00008018></TR
8019></TABLE
8020><P
8021></P
8022></DIV
8023></DIV
8024><HR><DIV
8025CLASS="REFSECT2"
8026><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008027NAME="AEN13044"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008028></A
8029><H3
8030><A
8031NAME="XMLXPATHNUMBERFUNCTION"
8032></A
8033>xmlXPathNumberFunction ()</H3
8034><TABLE
8035BORDER="0"
8036BGCOLOR="#D6E8FF"
8037WIDTH="100%"
8038CELLPADDING="6"
8039><TR
8040><TD
8041><PRE
8042CLASS="PROGRAMLISTING"
8043>void xmlXPathNumberFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008044HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008045>xmlXPathParserContextPtr</A
8046> ctxt,
8047 int nargs);</PRE
8048></TD
8049></TR
8050></TABLE
8051><P
8052>Implement the <GTKDOCLINK
8053HREF="NUMBER"
8054>number</GTKDOCLINK
8055>() XPath function
8056number number(object?)</P
8057><P
8058></P
8059><DIV
8060CLASS="INFORMALTABLE"
8061><P
8062></P
8063><TABLE
8064BORDER="0"
8065WIDTH="100%"
8066BGCOLOR="#FFD0D0"
8067CELLSPACING="0"
8068CELLPADDING="4"
8069CLASS="CALSTABLE"
8070><TR
8071><TD
8072WIDTH="20%"
8073ALIGN="RIGHT"
8074VALIGN="TOP"
8075><TT
8076CLASS="PARAMETER"
8077><I
8078>ctxt</I
8079></TT
8080>&nbsp;:</TD
8081><TD
8082WIDTH="80%"
8083ALIGN="LEFT"
8084VALIGN="TOP"
8085> the XPath Parser context</TD
8086></TR
8087><TR
8088><TD
8089WIDTH="20%"
8090ALIGN="RIGHT"
8091VALIGN="TOP"
8092><TT
8093CLASS="PARAMETER"
8094><I
8095>nargs</I
8096></TT
8097>&nbsp;:</TD
8098><TD
8099WIDTH="80%"
8100ALIGN="LEFT"
8101VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008102> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00008103></TR
8104></TABLE
8105><P
8106></P
8107></DIV
8108></DIV
8109><HR><DIV
8110CLASS="REFSECT2"
8111><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008112NAME="AEN13065"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008113></A
8114><H3
8115><A
8116NAME="XMLXPATHSUMFUNCTION"
8117></A
8118>xmlXPathSumFunction ()</H3
8119><TABLE
8120BORDER="0"
8121BGCOLOR="#D6E8FF"
8122WIDTH="100%"
8123CELLPADDING="6"
8124><TR
8125><TD
8126><PRE
8127CLASS="PROGRAMLISTING"
8128>void xmlXPathSumFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008129HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008130>xmlXPathParserContextPtr</A
8131> ctxt,
8132 int nargs);</PRE
8133></TD
8134></TR
8135></TABLE
8136><P
8137>Implement the <GTKDOCLINK
8138HREF="SUM"
8139>sum</GTKDOCLINK
8140>() XPath function
8141number sum(node-set)
8142The sum function returns the sum of the values of the nodes in
8143the argument node-set.</P
8144><P
8145></P
8146><DIV
8147CLASS="INFORMALTABLE"
8148><P
8149></P
8150><TABLE
8151BORDER="0"
8152WIDTH="100%"
8153BGCOLOR="#FFD0D0"
8154CELLSPACING="0"
8155CELLPADDING="4"
8156CLASS="CALSTABLE"
8157><TR
8158><TD
8159WIDTH="20%"
8160ALIGN="RIGHT"
8161VALIGN="TOP"
8162><TT
8163CLASS="PARAMETER"
8164><I
8165>ctxt</I
8166></TT
8167>&nbsp;:</TD
8168><TD
8169WIDTH="80%"
8170ALIGN="LEFT"
8171VALIGN="TOP"
8172> the XPath Parser context</TD
8173></TR
8174><TR
8175><TD
8176WIDTH="20%"
8177ALIGN="RIGHT"
8178VALIGN="TOP"
8179><TT
8180CLASS="PARAMETER"
8181><I
8182>nargs</I
8183></TT
8184>&nbsp;:</TD
8185><TD
8186WIDTH="80%"
8187ALIGN="LEFT"
8188VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008189> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00008190></TR
8191></TABLE
8192><P
8193></P
8194></DIV
8195></DIV
8196><HR><DIV
8197CLASS="REFSECT2"
8198><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008199NAME="AEN13086"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008200></A
8201><H3
8202><A
8203NAME="XMLXPATHFLOORFUNCTION"
8204></A
8205>xmlXPathFloorFunction ()</H3
8206><TABLE
8207BORDER="0"
8208BGCOLOR="#D6E8FF"
8209WIDTH="100%"
8210CELLPADDING="6"
8211><TR
8212><TD
8213><PRE
8214CLASS="PROGRAMLISTING"
8215>void xmlXPathFloorFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008216HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008217>xmlXPathParserContextPtr</A
8218> ctxt,
8219 int nargs);</PRE
8220></TD
8221></TR
8222></TABLE
8223><P
8224>Implement the <GTKDOCLINK
8225HREF="FLOOR"
8226>floor</GTKDOCLINK
8227>() XPath function
8228number floor(number)
8229The floor function returns the largest (closest to positive infinity)
8230number that is not greater than the argument and that is an integer.</P
8231><P
8232></P
8233><DIV
8234CLASS="INFORMALTABLE"
8235><P
8236></P
8237><TABLE
8238BORDER="0"
8239WIDTH="100%"
8240BGCOLOR="#FFD0D0"
8241CELLSPACING="0"
8242CELLPADDING="4"
8243CLASS="CALSTABLE"
8244><TR
8245><TD
8246WIDTH="20%"
8247ALIGN="RIGHT"
8248VALIGN="TOP"
8249><TT
8250CLASS="PARAMETER"
8251><I
8252>ctxt</I
8253></TT
8254>&nbsp;:</TD
8255><TD
8256WIDTH="80%"
8257ALIGN="LEFT"
8258VALIGN="TOP"
8259> the XPath Parser context</TD
8260></TR
8261><TR
8262><TD
8263WIDTH="20%"
8264ALIGN="RIGHT"
8265VALIGN="TOP"
8266><TT
8267CLASS="PARAMETER"
8268><I
8269>nargs</I
8270></TT
8271>&nbsp;:</TD
8272><TD
8273WIDTH="80%"
8274ALIGN="LEFT"
8275VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008276> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00008277></TR
8278></TABLE
8279><P
8280></P
8281></DIV
8282></DIV
8283><HR><DIV
8284CLASS="REFSECT2"
8285><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008286NAME="AEN13107"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008287></A
8288><H3
8289><A
8290NAME="XMLXPATHCEILINGFUNCTION"
8291></A
8292>xmlXPathCeilingFunction ()</H3
8293><TABLE
8294BORDER="0"
8295BGCOLOR="#D6E8FF"
8296WIDTH="100%"
8297CELLPADDING="6"
8298><TR
8299><TD
8300><PRE
8301CLASS="PROGRAMLISTING"
8302>void xmlXPathCeilingFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008303HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008304>xmlXPathParserContextPtr</A
8305> ctxt,
8306 int nargs);</PRE
8307></TD
8308></TR
8309></TABLE
8310><P
8311>Implement the <GTKDOCLINK
8312HREF="CEILING"
8313>ceiling</GTKDOCLINK
8314>() XPath function
8315number ceiling(number)
8316The ceiling function returns the smallest (closest to negative infinity)
8317number that is not less than the argument and that is an integer.</P
8318><P
8319></P
8320><DIV
8321CLASS="INFORMALTABLE"
8322><P
8323></P
8324><TABLE
8325BORDER="0"
8326WIDTH="100%"
8327BGCOLOR="#FFD0D0"
8328CELLSPACING="0"
8329CELLPADDING="4"
8330CLASS="CALSTABLE"
8331><TR
8332><TD
8333WIDTH="20%"
8334ALIGN="RIGHT"
8335VALIGN="TOP"
8336><TT
8337CLASS="PARAMETER"
8338><I
8339>ctxt</I
8340></TT
8341>&nbsp;:</TD
8342><TD
8343WIDTH="80%"
8344ALIGN="LEFT"
8345VALIGN="TOP"
8346> the XPath Parser context</TD
8347></TR
8348><TR
8349><TD
8350WIDTH="20%"
8351ALIGN="RIGHT"
8352VALIGN="TOP"
8353><TT
8354CLASS="PARAMETER"
8355><I
8356>nargs</I
8357></TT
8358>&nbsp;:</TD
8359><TD
8360WIDTH="80%"
8361ALIGN="LEFT"
8362VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008363> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00008364></TR
8365></TABLE
8366><P
8367></P
8368></DIV
8369></DIV
8370><HR><DIV
8371CLASS="REFSECT2"
8372><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008373NAME="AEN13128"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008374></A
8375><H3
8376><A
8377NAME="XMLXPATHROUNDFUNCTION"
8378></A
8379>xmlXPathRoundFunction ()</H3
8380><TABLE
8381BORDER="0"
8382BGCOLOR="#D6E8FF"
8383WIDTH="100%"
8384CELLPADDING="6"
8385><TR
8386><TD
8387><PRE
8388CLASS="PROGRAMLISTING"
8389>void xmlXPathRoundFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008390HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008391>xmlXPathParserContextPtr</A
8392> ctxt,
8393 int nargs);</PRE
8394></TD
8395></TR
8396></TABLE
8397><P
8398>Implement the <GTKDOCLINK
8399HREF="ROUND"
8400>round</GTKDOCLINK
8401>() XPath function
8402number round(number)
8403The round function returns the number that is closest to the
8404argument and that is an integer. If there are two such numbers,
8405then the one that is even is returned.</P
8406><P
8407></P
8408><DIV
8409CLASS="INFORMALTABLE"
8410><P
8411></P
8412><TABLE
8413BORDER="0"
8414WIDTH="100%"
8415BGCOLOR="#FFD0D0"
8416CELLSPACING="0"
8417CELLPADDING="4"
8418CLASS="CALSTABLE"
8419><TR
8420><TD
8421WIDTH="20%"
8422ALIGN="RIGHT"
8423VALIGN="TOP"
8424><TT
8425CLASS="PARAMETER"
8426><I
8427>ctxt</I
8428></TT
8429>&nbsp;:</TD
8430><TD
8431WIDTH="80%"
8432ALIGN="LEFT"
8433VALIGN="TOP"
8434> the XPath Parser context</TD
8435></TR
8436><TR
8437><TD
8438WIDTH="20%"
8439ALIGN="RIGHT"
8440VALIGN="TOP"
8441><TT
8442CLASS="PARAMETER"
8443><I
8444>nargs</I
8445></TT
8446>&nbsp;:</TD
8447><TD
8448WIDTH="80%"
8449ALIGN="LEFT"
8450VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008451> the number of arguments</TD
8452></TR
8453></TABLE
8454><P
8455></P
8456></DIV
8457></DIV
8458><HR><DIV
8459CLASS="REFSECT2"
8460><A
8461NAME="AEN13149"
8462></A
8463><H3
8464><A
8465NAME="XMLXPATHBOOLEANFUNCTION"
8466></A
8467>xmlXPathBooleanFunction ()</H3
8468><TABLE
8469BORDER="0"
8470BGCOLOR="#D6E8FF"
8471WIDTH="100%"
8472CELLPADDING="6"
8473><TR
8474><TD
8475><PRE
8476CLASS="PROGRAMLISTING"
8477>void xmlXPathBooleanFunction (<A
8478HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
8479>xmlXPathParserContextPtr</A
8480> ctxt,
8481 int nargs);</PRE
8482></TD
8483></TR
8484></TABLE
8485><P
8486>Implement the <GTKDOCLINK
8487HREF="BOOLEAN"
8488>boolean</GTKDOCLINK
8489>() XPath function
8490boolean boolean(object)
8491he boolean function converts its argument to a boolean as follows:
8492- a number is true if and only if it is neither positive or
8493negative zero nor NaN
8494- a node-set is true if and only if it is non-empty
8495- a string is true if and only if its length is non-zero</P
8496><P
8497></P
8498><DIV
8499CLASS="INFORMALTABLE"
8500><P
8501></P
8502><TABLE
8503BORDER="0"
8504WIDTH="100%"
8505BGCOLOR="#FFD0D0"
8506CELLSPACING="0"
8507CELLPADDING="4"
8508CLASS="CALSTABLE"
8509><TR
8510><TD
8511WIDTH="20%"
8512ALIGN="RIGHT"
8513VALIGN="TOP"
8514><TT
8515CLASS="PARAMETER"
8516><I
8517>ctxt</I
8518></TT
8519>&nbsp;:</TD
8520><TD
8521WIDTH="80%"
8522ALIGN="LEFT"
8523VALIGN="TOP"
8524> the XPath Parser context</TD
8525></TR
8526><TR
8527><TD
8528WIDTH="20%"
8529ALIGN="RIGHT"
8530VALIGN="TOP"
8531><TT
8532CLASS="PARAMETER"
8533><I
8534>nargs</I
8535></TT
8536>&nbsp;:</TD
8537><TD
8538WIDTH="80%"
8539ALIGN="LEFT"
8540VALIGN="TOP"
8541> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00008542></TR
8543></TABLE
8544><P
8545></P
8546></DIV
8547></DIV
8548></DIV
8549><DIV
8550CLASS="NAVFOOTER"
8551><BR
8552CLEAR="all"><BR><TABLE
8553WIDTH="100%"
8554BORDER="0"
8555BGCOLOR="#000000"
8556CELLPADDING="1"
8557CELLSPACING="0"
8558><TR
8559><TD
8560WIDTH="25%"
8561BGCOLOR="#C00000"
8562ALIGN="left"
8563><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008564HREF="libxml-xpath.html"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008565><FONT
8566COLOR="#FFFFFF"
8567SIZE="3"
8568><B
8569>&#60;&#60;&#60; Previous Page</B
8570></FONT
8571></A
8572></TD
8573><TD
8574WIDTH="25%"
8575BGCOLOR="#0000C0"
8576ALIGN="center"
8577><FONT
8578COLOR="#FFFFFF"
8579SIZE="3"
8580><B
8581><A
8582HREF="book1.html"
8583><FONT
8584COLOR="#FFFFFF"
8585SIZE="3"
8586><B
8587>Home</B
8588></FONT
8589></A
8590></B
8591></FONT
8592></TD
8593><TD
8594WIDTH="25%"
8595BGCOLOR="#00C000"
8596ALIGN="center"
8597><FONT
8598COLOR="#FFFFFF"
8599SIZE="3"
8600><B
8601><A
8602HREF="libxml-lib.html"
8603><FONT
8604COLOR="#FFFFFF"
8605SIZE="3"
8606><B
8607>Up</B
8608></FONT
8609></A
8610></B
8611></FONT
8612></TD
8613><TD
8614WIDTH="25%"
8615BGCOLOR="#C00000"
8616ALIGN="right"
8617><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008618HREF="libxml-xpointer.html"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008619><FONT
8620COLOR="#FFFFFF"
8621SIZE="3"
8622><B
8623>Next Page &#62;&#62;&#62;</B
8624></FONT
8625></A
8626></TD
8627></TR
8628><TR
8629><TD
8630COLSPAN="2"
8631ALIGN="left"
8632><FONT
8633COLOR="#FFFFFF"
8634SIZE="3"
8635><B
8636>xpath</B
8637></FONT
8638></TD
8639><TD
8640COLSPAN="2"
8641ALIGN="right"
8642><FONT
8643COLOR="#FFFFFF"
8644SIZE="3"
8645><B
8646>xpointer</B
8647></FONT
8648></TD
8649></TR
8650></TABLE
8651></DIV
8652></BODY
8653></HTML
8654>