blob: 2a430ba143d7c8c7a76a3705ac7702a96cef0c3e [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 Veillardd194dd22001-02-14 10:37:43 +0000124NAME="AEN11104"
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 Veillardd194dd22001-02-14 10:37:43 +0000132NAME="AEN11107"
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 Veillardd194dd22001-02-14 10:37:43 +0000955NAME="AEN11326"
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 Veillardd194dd22001-02-14 10:37:43 +0000965NAME="AEN11329"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000966></A
967><H2
968>Details</H2
969><DIV
970CLASS="REFSECT2"
971><A
Daniel Veillardd194dd22001-02-14 10:37:43 +0000972NAME="AEN11331"
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 Veillardd194dd22001-02-14 10:37:43 +0000998NAME="AEN11336"
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 Veillardd194dd22001-02-14 10:37:43 +00001024NAME="AEN11341"
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 Veillardd194dd22001-02-14 10:37:43 +00001082NAME="AEN11355"
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 Veillardd194dd22001-02-14 10:37:43 +00001140NAME="AEN11369"
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 Veillardd194dd22001-02-14 10:37:43 +00001198NAME="AEN11383"
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 Veillardd194dd22001-02-14 10:37:43 +00001256NAME="AEN11397"
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 Veillardd194dd22001-02-14 10:37:43 +00001282NAME="AEN11402"
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 Veillardd194dd22001-02-14 10:37:43 +00001308NAME="AEN11407"
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 Veillardd194dd22001-02-14 10:37:43 +00001334NAME="AEN11412"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001335></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
Daniel Veillardd194dd22001-02-14 10:37:43 +00001393NAME="AEN11427"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001394></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
Daniel Veillardd194dd22001-02-14 10:37:43 +00001495NAME="AEN11452"
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 Veillardd194dd22001-02-14 10:37:43 +00001610NAME="AEN11479"
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 Veillardd194dd22001-02-14 10:37:43 +00001710NAME="AEN11503"
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 Veillardd194dd22001-02-14 10:37:43 +00001836NAME="AEN11534"
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 Veillardd194dd22001-02-14 10:37:43 +00001939NAME="AEN11560"
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 Veillardd194dd22001-02-14 10:37:43 +00002000NAME="AEN11575"
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 Veillardd194dd22001-02-14 10:37:43 +00002125NAME="AEN11606"
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 Veillardd194dd22001-02-14 10:37:43 +00002271NAME="AEN11642"
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 Veillardd194dd22001-02-14 10:37:43 +00002397NAME="AEN11673"
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 Veillardd194dd22001-02-14 10:37:43 +00002544NAME="AEN11709"
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 Veillardd194dd22001-02-14 10:37:43 +00002647NAME="AEN11735"
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 Veillardd194dd22001-02-14 10:37:43 +00002771NAME="AEN11766"
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 Veillardd194dd22001-02-14 10:37:43 +00002834NAME="AEN11782"
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 Veillardd194dd22001-02-14 10:37:43 +00002937NAME="AEN11808"
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 Veillardd194dd22001-02-14 10:37:43 +00003061NAME="AEN11839"
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 Veillardd194dd22001-02-14 10:37:43 +00003125NAME="AEN11855"
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 Veillardd194dd22001-02-14 10:37:43 +00003228NAME="AEN11881"
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 Veillardd194dd22001-02-14 10:37:43 +00003291NAME="AEN11897"
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 Veillardd194dd22001-02-14 10:37:43 +00003370NAME="AEN11917"
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 Veillardd194dd22001-02-14 10:37:43 +00003467NAME="AEN11941"
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 Veillardd194dd22001-02-14 10:37:43 +00003553NAME="AEN11963"
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 Veillardd194dd22001-02-14 10:37:43 +00003636NAME="AEN11984"
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 Veillardd194dd22001-02-14 10:37:43 +00003722NAME="AEN12006"
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 Veillardd194dd22001-02-14 10:37:43 +00003805NAME="AEN12027"
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 Veillardd194dd22001-02-14 10:37:43 +00003892NAME="AEN12049"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003893></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
Daniel Veillardd194dd22001-02-14 10:37:43 +00003979NAME="AEN12071"
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 Veillardd194dd22001-02-14 10:37:43 +00004063NAME="AEN12092"
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 Veillardd194dd22001-02-14 10:37:43 +00004158NAME="AEN12113"
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 Veillardd194dd22001-02-14 10:37:43 +00004221NAME="AEN12129"
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 Veillardd194dd22001-02-14 10:37:43 +00004288NAME="AEN12146"
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 Veillardd194dd22001-02-14 10:37:43 +00004374NAME="AEN12169"
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 Veillardd194dd22001-02-14 10:37:43 +00004460NAME="AEN12192"
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 Veillardd194dd22001-02-14 10:37:43 +00004547NAME="AEN12214"
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
Daniel Veillardd194dd22001-02-14 10:37:43 +00004582to the boolean function. </P
4583><P
4584>Return 1 if predicate is true, 0 otherwise</P
Daniel Veillarda1fe9102000-11-25 10:49:25 +00004585><P
4586></P
4587><DIV
4588CLASS="INFORMALTABLE"
4589><P
4590></P
4591><TABLE
4592BORDER="0"
4593WIDTH="100%"
4594BGCOLOR="#FFD0D0"
4595CELLSPACING="0"
4596CELLPADDING="4"
4597CLASS="CALSTABLE"
4598><TR
4599><TD
4600WIDTH="20%"
4601ALIGN="RIGHT"
4602VALIGN="TOP"
4603><TT
4604CLASS="PARAMETER"
4605><I
4606>ctxt</I
4607></TT
4608>&nbsp;:</TD
4609><TD
4610WIDTH="80%"
4611ALIGN="LEFT"
4612VALIGN="TOP"
4613> the XPath Parser context</TD
4614></TR
4615><TR
4616><TD
4617WIDTH="20%"
4618ALIGN="RIGHT"
4619VALIGN="TOP"
4620><TT
4621CLASS="PARAMETER"
4622><I
4623>res</I
4624></TT
4625>&nbsp;:</TD
4626><TD
4627WIDTH="80%"
4628ALIGN="LEFT"
4629VALIGN="TOP"
4630> the Predicate Expression evaluation result</TD
4631></TR
4632><TR
4633><TD
4634WIDTH="20%"
4635ALIGN="RIGHT"
4636VALIGN="TOP"
4637><I
4638CLASS="EMPHASIS"
4639>Returns</I
4640> :</TD
4641><TD
4642WIDTH="80%"
4643ALIGN="LEFT"
4644VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00004645>&#13;</TD
Daniel Veillarda1fe9102000-11-25 10:49:25 +00004646></TR
4647></TABLE
4648><P
4649></P
4650></DIV
4651></DIV
4652><HR><DIV
4653CLASS="REFSECT2"
4654><A
Daniel Veillardd194dd22001-02-14 10:37:43 +00004655NAME="AEN12240"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004656></A
4657><H3
4658><A
4659NAME="XMLXPATHINIT"
4660></A
4661>xmlXPathInit ()</H3
4662><TABLE
4663BORDER="0"
4664BGCOLOR="#D6E8FF"
4665WIDTH="100%"
4666CELLPADDING="6"
4667><TR
4668><TD
4669><PRE
4670CLASS="PROGRAMLISTING"
4671>void xmlXPathInit (void);</PRE
4672></TD
4673></TR
4674></TABLE
4675><P
4676>Initialize the XPath environment</P
4677><P
4678></P
4679></DIV
4680><HR><DIV
4681CLASS="REFSECT2"
4682><A
Daniel Veillardd194dd22001-02-14 10:37:43 +00004683NAME="AEN12246"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004684></A
4685><H3
4686><A
4687NAME="XMLXPATHSTRINGFUNCTION"
4688></A
4689>xmlXPathStringFunction ()</H3
4690><TABLE
4691BORDER="0"
4692BGCOLOR="#D6E8FF"
4693WIDTH="100%"
4694CELLPADDING="6"
4695><TR
4696><TD
4697><PRE
4698CLASS="PROGRAMLISTING"
4699>void xmlXPathStringFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004700HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004701>xmlXPathParserContextPtr</A
4702> ctxt,
4703 int nargs);</PRE
4704></TD
4705></TR
4706></TABLE
4707><P
4708>Implement the <GTKDOCLINK
4709HREF="STRING"
4710>string</GTKDOCLINK
4711>() XPath function
4712string string(object?)
4713he string function converts an object to a string as follows:
4714- A node-set is converted to a string by returning the value of
4715the node in the node-set that is first in document order.
4716If the node-set is empty, an empty string is returned.
4717- A number is converted to a string as follows
4718+ NaN is converted to the string NaN
4719+ positive zero is converted to the string 0
4720+ negative zero is converted to the string 0
4721+ positive infinity is converted to the string Infinity
4722+ negative infinity is converted to the string -Infinity
4723+ if the number is an integer, the number is represented in
4724decimal form as a Number with no decimal point and no leading
4725zeros, preceded by a minus sign (-) if the number is negative
4726+ otherwise, the number is represented in decimal form as a
4727Number including a decimal point with at least one digit
4728before the decimal point and at least one digit after the
4729decimal point, preceded by a minus sign (-) if the number
4730is negative; there must be no leading zeros before the decimal
4731point apart possibly from the one required digit immediatelyi
4732before the decimal point; beyond the one required digit
4733after the decimal point there must be as many, but only as
4734many, more digits as are needed to uniquely distinguish the
4735number from all other IEEE 754 numeric values.
4736- The boolean false value is converted to the string false.
4737The boolean true value is converted to the string true.</P
4738><P
4739>If the argument is omitted, it defaults to a node-set with the
4740context node as its only member.</P
4741><P
4742></P
4743><DIV
4744CLASS="INFORMALTABLE"
4745><P
4746></P
4747><TABLE
4748BORDER="0"
4749WIDTH="100%"
4750BGCOLOR="#FFD0D0"
4751CELLSPACING="0"
4752CELLPADDING="4"
4753CLASS="CALSTABLE"
4754><TR
4755><TD
4756WIDTH="20%"
4757ALIGN="RIGHT"
4758VALIGN="TOP"
4759><TT
4760CLASS="PARAMETER"
4761><I
4762>ctxt</I
4763></TT
4764>&nbsp;:</TD
4765><TD
4766WIDTH="80%"
4767ALIGN="LEFT"
4768VALIGN="TOP"
4769> the XPath Parser context</TD
4770></TR
4771><TR
4772><TD
4773WIDTH="20%"
4774ALIGN="RIGHT"
4775VALIGN="TOP"
4776><TT
4777CLASS="PARAMETER"
4778><I
4779>nargs</I
4780></TT
4781>&nbsp;:</TD
4782><TD
4783WIDTH="80%"
4784ALIGN="LEFT"
4785VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004786> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004787></TR
4788></TABLE
4789><P
4790></P
4791></DIV
4792></DIV
4793><HR><DIV
4794CLASS="REFSECT2"
4795><A
Daniel Veillardd194dd22001-02-14 10:37:43 +00004796NAME="AEN12268"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004797></A
4798><H3
4799><A
4800NAME="XMLXPATHREGISTERALLFUNCTIONS"
4801></A
4802>xmlXPathRegisterAllFunctions ()</H3
4803><TABLE
4804BORDER="0"
4805BGCOLOR="#D6E8FF"
4806WIDTH="100%"
4807CELLPADDING="6"
4808><TR
4809><TD
4810><PRE
4811CLASS="PROGRAMLISTING"
4812>void xmlXPathRegisterAllFunctions (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004813HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004814>xmlXPathContextPtr</A
4815> ctxt);</PRE
4816></TD
4817></TR
4818></TABLE
4819><P
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004820>Registers all default XPath functions in this context</P
4821><P
Daniel Veillard9753ad72000-11-13 19:12:23 +00004822></P
4823><DIV
4824CLASS="INFORMALTABLE"
4825><P
4826></P
4827><TABLE
4828BORDER="0"
4829WIDTH="100%"
4830BGCOLOR="#FFD0D0"
4831CELLSPACING="0"
4832CELLPADDING="4"
4833CLASS="CALSTABLE"
4834><TR
4835><TD
4836WIDTH="20%"
4837ALIGN="RIGHT"
4838VALIGN="TOP"
4839><TT
4840CLASS="PARAMETER"
4841><I
4842>ctxt</I
4843></TT
4844>&nbsp;:</TD
4845><TD
4846WIDTH="80%"
4847ALIGN="LEFT"
4848VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004849> the XPath context</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004850></TR
4851></TABLE
4852><P
4853></P
4854></DIV
4855></DIV
4856><HR><DIV
4857CLASS="REFSECT2"
4858><A
Daniel Veillardd194dd22001-02-14 10:37:43 +00004859NAME="AEN12284"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004860></A
4861><H3
4862><A
4863NAME="XMLXPATHNODESETCREATE"
4864></A
4865>xmlXPathNodeSetCreate ()</H3
4866><TABLE
4867BORDER="0"
4868BGCOLOR="#D6E8FF"
4869WIDTH="100%"
4870CELLPADDING="6"
4871><TR
4872><TD
4873><PRE
4874CLASS="PROGRAMLISTING"
4875><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004876HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004877>xmlNodeSetPtr</A
4878> xmlXPathNodeSetCreate (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004879HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004880>xmlNodePtr</A
4881> val);</PRE
4882></TD
4883></TR
4884></TABLE
4885><P
4886>Create a new xmlNodeSetPtr of type double and of value <TT
4887CLASS="PARAMETER"
4888><I
4889>val</I
4890></TT
4891></P
4892><P
4893></P
4894><DIV
4895CLASS="INFORMALTABLE"
4896><P
4897></P
4898><TABLE
4899BORDER="0"
4900WIDTH="100%"
4901BGCOLOR="#FFD0D0"
4902CELLSPACING="0"
4903CELLPADDING="4"
4904CLASS="CALSTABLE"
4905><TR
4906><TD
4907WIDTH="20%"
4908ALIGN="RIGHT"
4909VALIGN="TOP"
4910><TT
4911CLASS="PARAMETER"
4912><I
4913>val</I
4914></TT
4915>&nbsp;:</TD
4916><TD
4917WIDTH="80%"
4918ALIGN="LEFT"
4919VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004920>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004921></TR
4922><TR
4923><TD
4924WIDTH="20%"
4925ALIGN="RIGHT"
4926VALIGN="TOP"
4927><I
4928CLASS="EMPHASIS"
4929>Returns</I
4930> :</TD
4931><TD
4932WIDTH="80%"
4933ALIGN="LEFT"
4934VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004935>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004936></TR
4937></TABLE
4938><P
4939></P
4940></DIV
4941></DIV
4942><HR><DIV
4943CLASS="REFSECT2"
4944><A
Daniel Veillardd194dd22001-02-14 10:37:43 +00004945NAME="AEN12306"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004946></A
4947><H3
4948><A
4949NAME="XMLXPATHNODESETMERGE"
4950></A
4951>xmlXPathNodeSetMerge ()</H3
4952><TABLE
4953BORDER="0"
4954BGCOLOR="#D6E8FF"
4955WIDTH="100%"
4956CELLPADDING="6"
4957><TR
4958><TD
4959><PRE
4960CLASS="PROGRAMLISTING"
4961><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004962HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004963>xmlNodeSetPtr</A
4964> xmlXPathNodeSetMerge (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004965HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004966>xmlNodeSetPtr</A
4967> val1,
4968 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004969HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004970>xmlNodeSetPtr</A
4971> val2);</PRE
4972></TD
4973></TR
4974></TABLE
4975><P
4976>Merges two nodesets, all nodes from <TT
4977CLASS="PARAMETER"
4978><I
4979>val2</I
4980></TT
4981> are added to <TT
4982CLASS="PARAMETER"
4983><I
4984>val1</I
4985></TT
4986>
4987if <TT
4988CLASS="PARAMETER"
4989><I
4990>val1</I
4991></TT
4992> is NULL, a new set is created and copied from <TT
4993CLASS="PARAMETER"
4994><I
4995>val2</I
4996></TT
4997></P
4998><P
4999></P
5000><DIV
5001CLASS="INFORMALTABLE"
5002><P
5003></P
5004><TABLE
5005BORDER="0"
5006WIDTH="100%"
5007BGCOLOR="#FFD0D0"
5008CELLSPACING="0"
5009CELLPADDING="4"
5010CLASS="CALSTABLE"
5011><TR
5012><TD
5013WIDTH="20%"
5014ALIGN="RIGHT"
5015VALIGN="TOP"
5016><TT
5017CLASS="PARAMETER"
5018><I
5019>val1</I
5020></TT
5021>&nbsp;:</TD
5022><TD
5023WIDTH="80%"
5024ALIGN="LEFT"
5025VALIGN="TOP"
5026> the first NodeSet or NULL</TD
5027></TR
5028><TR
5029><TD
5030WIDTH="20%"
5031ALIGN="RIGHT"
5032VALIGN="TOP"
5033><TT
5034CLASS="PARAMETER"
5035><I
5036>val2</I
5037></TT
5038>&nbsp;:</TD
5039><TD
5040WIDTH="80%"
5041ALIGN="LEFT"
5042VALIGN="TOP"
5043> the second NodeSet</TD
5044></TR
5045><TR
5046><TD
5047WIDTH="20%"
5048ALIGN="RIGHT"
5049VALIGN="TOP"
5050><I
5051CLASS="EMPHASIS"
5052>Returns</I
5053> :</TD
5054><TD
5055WIDTH="80%"
5056ALIGN="LEFT"
5057VALIGN="TOP"
5058>val1 once extended or NULL in case of error.</TD
5059></TR
5060></TABLE
5061><P
5062></P
5063></DIV
5064></DIV
5065><HR><DIV
5066CLASS="REFSECT2"
5067><A
Daniel Veillardd194dd22001-02-14 10:37:43 +00005068NAME="AEN12336"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005069></A
5070><H3
5071><A
5072NAME="XMLXPATHNODESETDEL"
5073></A
5074>xmlXPathNodeSetDel ()</H3
5075><TABLE
5076BORDER="0"
5077BGCOLOR="#D6E8FF"
5078WIDTH="100%"
5079CELLPADDING="6"
5080><TR
5081><TD
5082><PRE
5083CLASS="PROGRAMLISTING"
5084>void xmlXPathNodeSetDel (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005085HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005086>xmlNodeSetPtr</A
5087> cur,
5088 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005089HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005090>xmlNodePtr</A
5091> val);</PRE
5092></TD
5093></TR
5094></TABLE
5095><P
5096>Removes an xmlNodePtr from an existing NodeSet</P
5097><P
5098></P
5099><DIV
5100CLASS="INFORMALTABLE"
5101><P
5102></P
5103><TABLE
5104BORDER="0"
5105WIDTH="100%"
5106BGCOLOR="#FFD0D0"
5107CELLSPACING="0"
5108CELLPADDING="4"
5109CLASS="CALSTABLE"
5110><TR
5111><TD
5112WIDTH="20%"
5113ALIGN="RIGHT"
5114VALIGN="TOP"
5115><TT
5116CLASS="PARAMETER"
5117><I
5118>cur</I
5119></TT
5120>&nbsp;:</TD
5121><TD
5122WIDTH="80%"
5123ALIGN="LEFT"
5124VALIGN="TOP"
5125> the initial node set</TD
5126></TR
5127><TR
5128><TD
5129WIDTH="20%"
5130ALIGN="RIGHT"
5131VALIGN="TOP"
5132><TT
5133CLASS="PARAMETER"
5134><I
5135>val</I
5136></TT
5137>&nbsp;:</TD
5138><TD
5139WIDTH="80%"
5140ALIGN="LEFT"
5141VALIGN="TOP"
5142> an xmlNodePtr</TD
5143></TR
5144></TABLE
5145><P
5146></P
5147></DIV
5148></DIV
5149><HR><DIV
5150CLASS="REFSECT2"
5151><A
Daniel Veillardd194dd22001-02-14 10:37:43 +00005152NAME="AEN12357"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005153></A
5154><H3
5155><A
5156NAME="XMLXPATHNODESETREMOVE"
5157></A
5158>xmlXPathNodeSetRemove ()</H3
5159><TABLE
5160BORDER="0"
5161BGCOLOR="#D6E8FF"
5162WIDTH="100%"
5163CELLPADDING="6"
5164><TR
5165><TD
5166><PRE
5167CLASS="PROGRAMLISTING"
5168>void xmlXPathNodeSetRemove (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005169HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005170>xmlNodeSetPtr</A
5171> cur,
5172 int val);</PRE
5173></TD
5174></TR
5175></TABLE
5176><P
5177>Removes an entry from an existing NodeSet list.</P
5178><P
5179></P
5180><DIV
5181CLASS="INFORMALTABLE"
5182><P
5183></P
5184><TABLE
5185BORDER="0"
5186WIDTH="100%"
5187BGCOLOR="#FFD0D0"
5188CELLSPACING="0"
5189CELLPADDING="4"
5190CLASS="CALSTABLE"
5191><TR
5192><TD
5193WIDTH="20%"
5194ALIGN="RIGHT"
5195VALIGN="TOP"
5196><TT
5197CLASS="PARAMETER"
5198><I
5199>cur</I
5200></TT
5201>&nbsp;:</TD
5202><TD
5203WIDTH="80%"
5204ALIGN="LEFT"
5205VALIGN="TOP"
5206> the initial node set</TD
5207></TR
5208><TR
5209><TD
5210WIDTH="20%"
5211ALIGN="RIGHT"
5212VALIGN="TOP"
5213><TT
5214CLASS="PARAMETER"
5215><I
5216>val</I
5217></TT
5218>&nbsp;:</TD
5219><TD
5220WIDTH="80%"
5221ALIGN="LEFT"
5222VALIGN="TOP"
5223> the index to remove</TD
5224></TR
5225></TABLE
5226><P
5227></P
5228></DIV
5229></DIV
5230><HR><DIV
5231CLASS="REFSECT2"
5232><A
Daniel Veillardd194dd22001-02-14 10:37:43 +00005233NAME="AEN12377"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005234></A
5235><H3
5236><A
5237NAME="XMLXPATHFREENODESET"
5238></A
5239>xmlXPathFreeNodeSet ()</H3
5240><TABLE
5241BORDER="0"
5242BGCOLOR="#D6E8FF"
5243WIDTH="100%"
5244CELLPADDING="6"
5245><TR
5246><TD
5247><PRE
5248CLASS="PROGRAMLISTING"
5249>void xmlXPathFreeNodeSet (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005250HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005251>xmlNodeSetPtr</A
5252> obj);</PRE
5253></TD
5254></TR
5255></TABLE
5256><P
5257>Free the NodeSet compound (not the actual nodes !).</P
5258><P
5259></P
5260><DIV
5261CLASS="INFORMALTABLE"
5262><P
5263></P
5264><TABLE
5265BORDER="0"
5266WIDTH="100%"
5267BGCOLOR="#FFD0D0"
5268CELLSPACING="0"
5269CELLPADDING="4"
5270CLASS="CALSTABLE"
5271><TR
5272><TD
5273WIDTH="20%"
5274ALIGN="RIGHT"
5275VALIGN="TOP"
5276><TT
5277CLASS="PARAMETER"
5278><I
5279>obj</I
5280></TT
5281>&nbsp;:</TD
5282><TD
5283WIDTH="80%"
5284ALIGN="LEFT"
5285VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005286>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005287></TR
5288></TABLE
5289><P
5290></P
5291></DIV
5292></DIV
5293><HR><DIV
5294CLASS="REFSECT2"
5295><A
Daniel Veillardd194dd22001-02-14 10:37:43 +00005296NAME="AEN12393"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005297></A
5298><H3
5299><A
5300NAME="XMLXPATHNEWNODESETLIST"
5301></A
5302>xmlXPathNewNodeSetList ()</H3
5303><TABLE
5304BORDER="0"
5305BGCOLOR="#D6E8FF"
5306WIDTH="100%"
5307CELLPADDING="6"
5308><TR
5309><TD
5310><PRE
5311CLASS="PROGRAMLISTING"
5312><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005313HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005314>xmlXPathObjectPtr</A
5315> xmlXPathNewNodeSetList (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005316HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005317>xmlNodeSetPtr</A
5318> val);</PRE
5319></TD
5320></TR
5321></TABLE
5322><P
5323>Create a new xmlXPathObjectPtr of type NodeSet and initialize
5324it with the Nodeset <TT
5325CLASS="PARAMETER"
5326><I
5327>val</I
5328></TT
5329></P
5330><P
5331></P
5332><DIV
5333CLASS="INFORMALTABLE"
5334><P
5335></P
5336><TABLE
5337BORDER="0"
5338WIDTH="100%"
5339BGCOLOR="#FFD0D0"
5340CELLSPACING="0"
5341CELLPADDING="4"
5342CLASS="CALSTABLE"
5343><TR
5344><TD
5345WIDTH="20%"
5346ALIGN="RIGHT"
5347VALIGN="TOP"
5348><TT
5349CLASS="PARAMETER"
5350><I
5351>val</I
5352></TT
5353>&nbsp;:</TD
5354><TD
5355WIDTH="80%"
5356ALIGN="LEFT"
5357VALIGN="TOP"
5358> an existing NodeSet</TD
5359></TR
5360><TR
5361><TD
5362WIDTH="20%"
5363ALIGN="RIGHT"
5364VALIGN="TOP"
5365><I
5366CLASS="EMPHASIS"
5367>Returns</I
5368> :</TD
5369><TD
5370WIDTH="80%"
5371ALIGN="LEFT"
5372VALIGN="TOP"
5373>the newly created object.</TD
5374></TR
5375></TABLE
5376><P
5377></P
5378></DIV
5379></DIV
5380><HR><DIV
5381CLASS="REFSECT2"
5382><A
Daniel Veillardd194dd22001-02-14 10:37:43 +00005383NAME="AEN12415"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005384></A
5385><H3
5386><A
5387NAME="XMLXPATHWRAPNODESET"
5388></A
5389>xmlXPathWrapNodeSet ()</H3
5390><TABLE
5391BORDER="0"
5392BGCOLOR="#D6E8FF"
5393WIDTH="100%"
5394CELLPADDING="6"
5395><TR
5396><TD
5397><PRE
5398CLASS="PROGRAMLISTING"
5399><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005400HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005401>xmlXPathObjectPtr</A
5402> xmlXPathWrapNodeSet (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005403HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005404>xmlNodeSetPtr</A
5405> val);</PRE
5406></TD
5407></TR
5408></TABLE
5409><P
5410>Wrap the Nodeset <TT
5411CLASS="PARAMETER"
5412><I
5413>val</I
5414></TT
5415> in a new xmlXPathObjectPtr</P
5416><P
5417></P
5418><DIV
5419CLASS="INFORMALTABLE"
5420><P
5421></P
5422><TABLE
5423BORDER="0"
5424WIDTH="100%"
5425BGCOLOR="#FFD0D0"
5426CELLSPACING="0"
5427CELLPADDING="4"
5428CLASS="CALSTABLE"
5429><TR
5430><TD
5431WIDTH="20%"
5432ALIGN="RIGHT"
5433VALIGN="TOP"
5434><TT
5435CLASS="PARAMETER"
5436><I
5437>val</I
5438></TT
5439>&nbsp;:</TD
5440><TD
5441WIDTH="80%"
5442ALIGN="LEFT"
5443VALIGN="TOP"
5444> the NodePtr value</TD
5445></TR
5446><TR
5447><TD
5448WIDTH="20%"
5449ALIGN="RIGHT"
5450VALIGN="TOP"
5451><I
5452CLASS="EMPHASIS"
5453>Returns</I
5454> :</TD
5455><TD
5456WIDTH="80%"
5457ALIGN="LEFT"
5458VALIGN="TOP"
5459>the newly created object.</TD
5460></TR
5461></TABLE
5462><P
5463></P
5464></DIV
5465></DIV
5466><HR><DIV
5467CLASS="REFSECT2"
5468><A
Daniel Veillardd194dd22001-02-14 10:37:43 +00005469NAME="AEN12437"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005470></A
5471><H3
5472><A
5473NAME="XMLXPATHFREENODESETLIST"
5474></A
5475>xmlXPathFreeNodeSetList ()</H3
5476><TABLE
5477BORDER="0"
5478BGCOLOR="#D6E8FF"
5479WIDTH="100%"
5480CELLPADDING="6"
5481><TR
5482><TD
5483><PRE
5484CLASS="PROGRAMLISTING"
5485>void xmlXPathFreeNodeSetList (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005486HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005487>xmlXPathObjectPtr</A
5488> obj);</PRE
5489></TD
5490></TR
5491></TABLE
5492><P
5493>Free up the xmlXPathObjectPtr <TT
5494CLASS="PARAMETER"
5495><I
5496>obj</I
5497></TT
5498> but don't deallocate the objects in
5499the list contrary to <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005500HREF="libxml-xpath.html#XMLXPATHFREEOBJECT"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005501>xmlXPathFreeObject</A
5502>().</P
5503><P
5504></P
5505><DIV
5506CLASS="INFORMALTABLE"
5507><P
5508></P
5509><TABLE
5510BORDER="0"
5511WIDTH="100%"
5512BGCOLOR="#FFD0D0"
5513CELLSPACING="0"
5514CELLPADDING="4"
5515CLASS="CALSTABLE"
5516><TR
5517><TD
5518WIDTH="20%"
5519ALIGN="RIGHT"
5520VALIGN="TOP"
5521><TT
5522CLASS="PARAMETER"
5523><I
5524>obj</I
5525></TT
5526>&nbsp;:</TD
5527><TD
5528WIDTH="80%"
5529ALIGN="LEFT"
5530VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005531>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005532></TR
5533></TABLE
5534><P
5535></P
5536></DIV
5537></DIV
5538><HR><DIV
5539CLASS="REFSECT2"
5540><A
Daniel Veillardd194dd22001-02-14 10:37:43 +00005541NAME="AEN12455"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005542></A
5543><H3
5544><A
5545NAME="XMLXPATHFREEOBJECT"
5546></A
5547>xmlXPathFreeObject ()</H3
5548><TABLE
5549BORDER="0"
5550BGCOLOR="#D6E8FF"
5551WIDTH="100%"
5552CELLPADDING="6"
5553><TR
5554><TD
5555><PRE
5556CLASS="PROGRAMLISTING"
5557>void xmlXPathFreeObject (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005558HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005559>xmlXPathObjectPtr</A
5560> obj);</PRE
5561></TD
5562></TR
5563></TABLE
5564><P
5565>Free up an xmlXPathObjectPtr object.</P
5566><P
5567></P
5568><DIV
5569CLASS="INFORMALTABLE"
5570><P
5571></P
5572><TABLE
5573BORDER="0"
5574WIDTH="100%"
5575BGCOLOR="#FFD0D0"
5576CELLSPACING="0"
5577CELLPADDING="4"
5578CLASS="CALSTABLE"
5579><TR
5580><TD
5581WIDTH="20%"
5582ALIGN="RIGHT"
5583VALIGN="TOP"
5584><TT
5585CLASS="PARAMETER"
5586><I
5587>obj</I
5588></TT
5589>&nbsp;:</TD
5590><TD
5591WIDTH="80%"
5592ALIGN="LEFT"
5593VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005594>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005595></TR
5596></TABLE
5597><P
5598></P
5599></DIV
5600></DIV
5601><HR><DIV
5602CLASS="REFSECT2"
5603><A
Daniel Veillardd194dd22001-02-14 10:37:43 +00005604NAME="AEN12471"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005605></A
5606><H3
5607><A
5608NAME="XMLXPATHNEWCONTEXT"
5609></A
5610>xmlXPathNewContext ()</H3
5611><TABLE
5612BORDER="0"
5613BGCOLOR="#D6E8FF"
5614WIDTH="100%"
5615CELLPADDING="6"
5616><TR
5617><TD
5618><PRE
5619CLASS="PROGRAMLISTING"
5620><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005621HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005622>xmlXPathContextPtr</A
5623> xmlXPathNewContext (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005624HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005625>xmlDocPtr</A
5626> doc);</PRE
5627></TD
5628></TR
5629></TABLE
5630><P
5631>Create a new xmlXPathContext</P
5632><P
5633></P
5634><DIV
5635CLASS="INFORMALTABLE"
5636><P
5637></P
5638><TABLE
5639BORDER="0"
5640WIDTH="100%"
5641BGCOLOR="#FFD0D0"
5642CELLSPACING="0"
5643CELLPADDING="4"
5644CLASS="CALSTABLE"
5645><TR
5646><TD
5647WIDTH="20%"
5648ALIGN="RIGHT"
5649VALIGN="TOP"
5650><TT
5651CLASS="PARAMETER"
5652><I
5653>doc</I
5654></TT
5655>&nbsp;:</TD
5656><TD
5657WIDTH="80%"
5658ALIGN="LEFT"
5659VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005660>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005661></TR
5662><TR
5663><TD
5664WIDTH="20%"
5665ALIGN="RIGHT"
5666VALIGN="TOP"
5667><I
5668CLASS="EMPHASIS"
5669>Returns</I
5670> :</TD
5671><TD
5672WIDTH="80%"
5673ALIGN="LEFT"
5674VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005675>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005676></TR
5677></TABLE
5678><P
5679></P
5680></DIV
5681></DIV
5682><HR><DIV
5683CLASS="REFSECT2"
5684><A
Daniel Veillardd194dd22001-02-14 10:37:43 +00005685NAME="AEN12492"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005686></A
5687><H3
5688><A
5689NAME="XMLXPATHFREECONTEXT"
5690></A
5691>xmlXPathFreeContext ()</H3
5692><TABLE
5693BORDER="0"
5694BGCOLOR="#D6E8FF"
5695WIDTH="100%"
5696CELLPADDING="6"
5697><TR
5698><TD
5699><PRE
5700CLASS="PROGRAMLISTING"
5701>void xmlXPathFreeContext (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005702HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005703>xmlXPathContextPtr</A
5704> ctxt);</PRE
5705></TD
5706></TR
5707></TABLE
5708><P
5709>Free up an xmlXPathContext</P
5710><P
5711></P
5712><DIV
5713CLASS="INFORMALTABLE"
5714><P
5715></P
5716><TABLE
5717BORDER="0"
5718WIDTH="100%"
5719BGCOLOR="#FFD0D0"
5720CELLSPACING="0"
5721CELLPADDING="4"
5722CLASS="CALSTABLE"
5723><TR
5724><TD
5725WIDTH="20%"
5726ALIGN="RIGHT"
5727VALIGN="TOP"
5728><TT
5729CLASS="PARAMETER"
5730><I
5731>ctxt</I
5732></TT
5733>&nbsp;:</TD
5734><TD
5735WIDTH="80%"
5736ALIGN="LEFT"
5737VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005738>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005739></TR
5740></TABLE
5741><P
5742></P
5743></DIV
5744></DIV
5745><HR><DIV
5746CLASS="REFSECT2"
5747><A
Daniel Veillardd194dd22001-02-14 10:37:43 +00005748NAME="AEN12508"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005749></A
5750><H3
5751><A
5752NAME="XMLXPATHEQUALVALUES"
5753></A
5754>xmlXPathEqualValues ()</H3
5755><TABLE
5756BORDER="0"
5757BGCOLOR="#D6E8FF"
5758WIDTH="100%"
5759CELLPADDING="6"
5760><TR
5761><TD
5762><PRE
5763CLASS="PROGRAMLISTING"
5764>int xmlXPathEqualValues (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005765HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005766>xmlXPathParserContextPtr</A
5767> ctxt);</PRE
5768></TD
5769></TR
5770></TABLE
5771><P
5772>Implement the equal operation on XPath objects content: <TT
5773CLASS="PARAMETER"
5774><I
5775>arg1</I
5776></TT
5777> == <TT
5778CLASS="PARAMETER"
5779><I
5780>arg2</I
5781></TT
5782></P
5783><P
5784></P
5785><DIV
5786CLASS="INFORMALTABLE"
5787><P
5788></P
5789><TABLE
5790BORDER="0"
5791WIDTH="100%"
5792BGCOLOR="#FFD0D0"
5793CELLSPACING="0"
5794CELLPADDING="4"
5795CLASS="CALSTABLE"
5796><TR
5797><TD
5798WIDTH="20%"
5799ALIGN="RIGHT"
5800VALIGN="TOP"
5801><TT
5802CLASS="PARAMETER"
5803><I
5804>ctxt</I
5805></TT
5806>&nbsp;:</TD
5807><TD
5808WIDTH="80%"
5809ALIGN="LEFT"
5810VALIGN="TOP"
5811> the XPath Parser context</TD
5812></TR
5813><TR
5814><TD
5815WIDTH="20%"
5816ALIGN="RIGHT"
5817VALIGN="TOP"
5818><I
5819CLASS="EMPHASIS"
5820>Returns</I
5821> :</TD
5822><TD
5823WIDTH="80%"
5824ALIGN="LEFT"
5825VALIGN="TOP"
5826>0 or 1 depending on the results of the test.</TD
5827></TR
5828></TABLE
5829><P
5830></P
5831></DIV
5832></DIV
5833><HR><DIV
5834CLASS="REFSECT2"
5835><A
Daniel Veillardd194dd22001-02-14 10:37:43 +00005836NAME="AEN12530"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005837></A
5838><H3
5839><A
5840NAME="XMLXPATHCOMPAREVALUES"
5841></A
5842>xmlXPathCompareValues ()</H3
5843><TABLE
5844BORDER="0"
5845BGCOLOR="#D6E8FF"
5846WIDTH="100%"
5847CELLPADDING="6"
5848><TR
5849><TD
5850><PRE
5851CLASS="PROGRAMLISTING"
5852>int xmlXPathCompareValues (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005853HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005854>xmlXPathParserContextPtr</A
5855> ctxt,
5856 int inf,
5857 int strict);</PRE
5858></TD
5859></TR
5860></TABLE
5861><P
5862>Implement the compare operation on XPath objects:
5863<TT
5864CLASS="PARAMETER"
5865><I
5866>arg1</I
5867></TT
5868> &lt; <TT
5869CLASS="PARAMETER"
5870><I
5871>arg2</I
5872></TT
5873> (1, 1, ...
5874<TT
5875CLASS="PARAMETER"
5876><I
5877>arg1</I
5878></TT
5879> &lt;= <TT
5880CLASS="PARAMETER"
5881><I
5882>arg2</I
5883></TT
5884> (1, 0, ...
5885<TT
5886CLASS="PARAMETER"
5887><I
5888>arg1</I
5889></TT
5890> &gt; <TT
5891CLASS="PARAMETER"
5892><I
5893>arg2</I
5894></TT
5895> (0, 1, ...
5896<TT
5897CLASS="PARAMETER"
5898><I
5899>arg1</I
5900></TT
5901> &gt;= <TT
5902CLASS="PARAMETER"
5903><I
5904>arg2</I
5905></TT
5906> (0, 0, ...</P
5907><P
5908>When neither object to be compared is a node-set and the operator is
5909&lt;=, &lt;, &gt;=, &gt;, then the objects are compared by converted both objects
5910to numbers and comparing the numbers according to IEEE 754. The &lt;
5911comparison will be true if and only if the first number is less than the
5912second number. The &lt;= comparison will be true if and only if the first
5913number is less than or equal to the second number. The &gt; comparison
5914will be true if and only if the first number is greater than the second
5915number. The &gt;= comparison will be true if and only if the first number
5916is greater than or equal to the second number.</P
5917><P
5918></P
5919><DIV
5920CLASS="INFORMALTABLE"
5921><P
5922></P
5923><TABLE
5924BORDER="0"
5925WIDTH="100%"
5926BGCOLOR="#FFD0D0"
5927CELLSPACING="0"
5928CELLPADDING="4"
5929CLASS="CALSTABLE"
5930><TR
5931><TD
5932WIDTH="20%"
5933ALIGN="RIGHT"
5934VALIGN="TOP"
5935><TT
5936CLASS="PARAMETER"
5937><I
5938>ctxt</I
5939></TT
5940>&nbsp;:</TD
5941><TD
5942WIDTH="80%"
5943ALIGN="LEFT"
5944VALIGN="TOP"
5945> the XPath Parser context</TD
5946></TR
5947><TR
5948><TD
5949WIDTH="20%"
5950ALIGN="RIGHT"
5951VALIGN="TOP"
5952><TT
5953CLASS="PARAMETER"
5954><I
5955>inf</I
5956></TT
5957>&nbsp;:</TD
5958><TD
5959WIDTH="80%"
5960ALIGN="LEFT"
5961VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005962> less than (1) or greater than (0)</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005963></TR
5964><TR
5965><TD
5966WIDTH="20%"
5967ALIGN="RIGHT"
5968VALIGN="TOP"
5969><TT
5970CLASS="PARAMETER"
5971><I
5972>strict</I
5973></TT
5974>&nbsp;:</TD
5975><TD
5976WIDTH="80%"
5977ALIGN="LEFT"
5978VALIGN="TOP"
5979> is the comparison strict</TD
5980></TR
5981><TR
5982><TD
5983WIDTH="20%"
5984ALIGN="RIGHT"
5985VALIGN="TOP"
5986><I
5987CLASS="EMPHASIS"
5988>Returns</I
5989> :</TD
5990><TD
5991WIDTH="80%"
5992ALIGN="LEFT"
5993VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005994>1 if the comparaison succeeded, 0 if it failed</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005995></TR
5996></TABLE
5997><P
5998></P
5999></DIV
6000></DIV
6001><HR><DIV
6002CLASS="REFSECT2"
6003><A
Daniel Veillardd194dd22001-02-14 10:37:43 +00006004NAME="AEN12567"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006005></A
6006><H3
6007><A
6008NAME="XMLXPATHVALUEFLIPSIGN"
6009></A
6010>xmlXPathValueFlipSign ()</H3
6011><TABLE
6012BORDER="0"
6013BGCOLOR="#D6E8FF"
6014WIDTH="100%"
6015CELLPADDING="6"
6016><TR
6017><TD
6018><PRE
6019CLASS="PROGRAMLISTING"
6020>void xmlXPathValueFlipSign (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006021HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006022>xmlXPathParserContextPtr</A
6023> ctxt);</PRE
6024></TD
6025></TR
6026></TABLE
6027><P
6028>Implement the unary - operation on an XPath object
6029The numeric operators convert their operands to numbers as if
6030by calling the number function.</P
6031><P
6032></P
6033><DIV
6034CLASS="INFORMALTABLE"
6035><P
6036></P
6037><TABLE
6038BORDER="0"
6039WIDTH="100%"
6040BGCOLOR="#FFD0D0"
6041CELLSPACING="0"
6042CELLPADDING="4"
6043CLASS="CALSTABLE"
6044><TR
6045><TD
6046WIDTH="20%"
6047ALIGN="RIGHT"
6048VALIGN="TOP"
6049><TT
6050CLASS="PARAMETER"
6051><I
6052>ctxt</I
6053></TT
6054>&nbsp;:</TD
6055><TD
6056WIDTH="80%"
6057ALIGN="LEFT"
6058VALIGN="TOP"
6059> the XPath Parser context</TD
6060></TR
6061></TABLE
6062><P
6063></P
6064></DIV
6065></DIV
6066><HR><DIV
6067CLASS="REFSECT2"
6068><A
Daniel Veillardd194dd22001-02-14 10:37:43 +00006069NAME="AEN12583"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006070></A
6071><H3
6072><A
6073NAME="XMLXPATHADDVALUES"
6074></A
6075>xmlXPathAddValues ()</H3
6076><TABLE
6077BORDER="0"
6078BGCOLOR="#D6E8FF"
6079WIDTH="100%"
6080CELLPADDING="6"
6081><TR
6082><TD
6083><PRE
6084CLASS="PROGRAMLISTING"
6085>void xmlXPathAddValues (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006086HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006087>xmlXPathParserContextPtr</A
6088> ctxt);</PRE
6089></TD
6090></TR
6091></TABLE
6092><P
6093>Implement the add operation on XPath objects:
6094The numeric operators convert their operands to numbers as if
6095by calling the number function.</P
6096><P
6097></P
6098><DIV
6099CLASS="INFORMALTABLE"
6100><P
6101></P
6102><TABLE
6103BORDER="0"
6104WIDTH="100%"
6105BGCOLOR="#FFD0D0"
6106CELLSPACING="0"
6107CELLPADDING="4"
6108CLASS="CALSTABLE"
6109><TR
6110><TD
6111WIDTH="20%"
6112ALIGN="RIGHT"
6113VALIGN="TOP"
6114><TT
6115CLASS="PARAMETER"
6116><I
6117>ctxt</I
6118></TT
6119>&nbsp;:</TD
6120><TD
6121WIDTH="80%"
6122ALIGN="LEFT"
6123VALIGN="TOP"
6124> the XPath Parser context</TD
6125></TR
6126></TABLE
6127><P
6128></P
6129></DIV
6130></DIV
6131><HR><DIV
6132CLASS="REFSECT2"
6133><A
Daniel Veillardd194dd22001-02-14 10:37:43 +00006134NAME="AEN12599"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006135></A
6136><H3
6137><A
6138NAME="XMLXPATHSUBVALUES"
6139></A
6140>xmlXPathSubValues ()</H3
6141><TABLE
6142BORDER="0"
6143BGCOLOR="#D6E8FF"
6144WIDTH="100%"
6145CELLPADDING="6"
6146><TR
6147><TD
6148><PRE
6149CLASS="PROGRAMLISTING"
6150>void xmlXPathSubValues (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006151HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006152>xmlXPathParserContextPtr</A
6153> ctxt);</PRE
6154></TD
6155></TR
6156></TABLE
6157><P
6158>Implement the substraction operation on XPath objects:
6159The numeric operators convert their operands to numbers as if
6160by calling the number function.</P
6161><P
6162></P
6163><DIV
6164CLASS="INFORMALTABLE"
6165><P
6166></P
6167><TABLE
6168BORDER="0"
6169WIDTH="100%"
6170BGCOLOR="#FFD0D0"
6171CELLSPACING="0"
6172CELLPADDING="4"
6173CLASS="CALSTABLE"
6174><TR
6175><TD
6176WIDTH="20%"
6177ALIGN="RIGHT"
6178VALIGN="TOP"
6179><TT
6180CLASS="PARAMETER"
6181><I
6182>ctxt</I
6183></TT
6184>&nbsp;:</TD
6185><TD
6186WIDTH="80%"
6187ALIGN="LEFT"
6188VALIGN="TOP"
6189> the XPath Parser context</TD
6190></TR
6191></TABLE
6192><P
6193></P
6194></DIV
6195></DIV
6196><HR><DIV
6197CLASS="REFSECT2"
6198><A
Daniel Veillardd194dd22001-02-14 10:37:43 +00006199NAME="AEN12615"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006200></A
6201><H3
6202><A
6203NAME="XMLXPATHMULTVALUES"
6204></A
6205>xmlXPathMultValues ()</H3
6206><TABLE
6207BORDER="0"
6208BGCOLOR="#D6E8FF"
6209WIDTH="100%"
6210CELLPADDING="6"
6211><TR
6212><TD
6213><PRE
6214CLASS="PROGRAMLISTING"
6215>void xmlXPathMultValues (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006216HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006217>xmlXPathParserContextPtr</A
6218> ctxt);</PRE
6219></TD
6220></TR
6221></TABLE
6222><P
6223>Implement the multiply operation on XPath objects:
6224The numeric operators convert their operands to numbers as if
6225by calling the number function.</P
6226><P
6227></P
6228><DIV
6229CLASS="INFORMALTABLE"
6230><P
6231></P
6232><TABLE
6233BORDER="0"
6234WIDTH="100%"
6235BGCOLOR="#FFD0D0"
6236CELLSPACING="0"
6237CELLPADDING="4"
6238CLASS="CALSTABLE"
6239><TR
6240><TD
6241WIDTH="20%"
6242ALIGN="RIGHT"
6243VALIGN="TOP"
6244><TT
6245CLASS="PARAMETER"
6246><I
6247>ctxt</I
6248></TT
6249>&nbsp;:</TD
6250><TD
6251WIDTH="80%"
6252ALIGN="LEFT"
6253VALIGN="TOP"
6254> the XPath Parser context</TD
6255></TR
6256></TABLE
6257><P
6258></P
6259></DIV
6260></DIV
6261><HR><DIV
6262CLASS="REFSECT2"
6263><A
Daniel Veillardd194dd22001-02-14 10:37:43 +00006264NAME="AEN12631"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006265></A
6266><H3
6267><A
6268NAME="XMLXPATHDIVVALUES"
6269></A
6270>xmlXPathDivValues ()</H3
6271><TABLE
6272BORDER="0"
6273BGCOLOR="#D6E8FF"
6274WIDTH="100%"
6275CELLPADDING="6"
6276><TR
6277><TD
6278><PRE
6279CLASS="PROGRAMLISTING"
6280>void xmlXPathDivValues (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006281HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006282>xmlXPathParserContextPtr</A
6283> ctxt);</PRE
6284></TD
6285></TR
6286></TABLE
6287><P
Daniel Veillardd194dd22001-02-14 10:37:43 +00006288>Implement the div operation on XPath objects <TT
6289CLASS="PARAMETER"
6290><I
6291>arg1</I
6292></TT
6293> / <TT
6294CLASS="PARAMETER"
6295><I
6296>arg2</I
6297></TT
6298>:
Daniel Veillard9753ad72000-11-13 19:12:23 +00006299The numeric operators convert their operands to numbers as if
6300by calling the number function.</P
6301><P
6302></P
6303><DIV
6304CLASS="INFORMALTABLE"
6305><P
6306></P
6307><TABLE
6308BORDER="0"
6309WIDTH="100%"
6310BGCOLOR="#FFD0D0"
6311CELLSPACING="0"
6312CELLPADDING="4"
6313CLASS="CALSTABLE"
6314><TR
6315><TD
6316WIDTH="20%"
6317ALIGN="RIGHT"
6318VALIGN="TOP"
6319><TT
6320CLASS="PARAMETER"
6321><I
6322>ctxt</I
6323></TT
6324>&nbsp;:</TD
6325><TD
6326WIDTH="80%"
6327ALIGN="LEFT"
6328VALIGN="TOP"
6329> the XPath Parser context</TD
6330></TR
6331></TABLE
6332><P
6333></P
6334></DIV
6335></DIV
6336><HR><DIV
6337CLASS="REFSECT2"
6338><A
Daniel Veillardd194dd22001-02-14 10:37:43 +00006339NAME="AEN12649"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006340></A
6341><H3
6342><A
6343NAME="XMLXPATHMODVALUES"
6344></A
6345>xmlXPathModValues ()</H3
6346><TABLE
6347BORDER="0"
6348BGCOLOR="#D6E8FF"
6349WIDTH="100%"
6350CELLPADDING="6"
6351><TR
6352><TD
6353><PRE
6354CLASS="PROGRAMLISTING"
6355>void xmlXPathModValues (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006356HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006357>xmlXPathParserContextPtr</A
6358> ctxt);</PRE
6359></TD
6360></TR
6361></TABLE
6362><P
Daniel Veillardd194dd22001-02-14 10:37:43 +00006363>Implement the mod operation on XPath objects: <TT
Daniel Veillard9753ad72000-11-13 19:12:23 +00006364CLASS="PARAMETER"
6365><I
6366>arg1</I
6367></TT
6368> / <TT
6369CLASS="PARAMETER"
6370><I
6371>arg2</I
6372></TT
6373>
6374The numeric operators convert their operands to numbers as if
6375by calling the number function.</P
6376><P
6377></P
6378><DIV
6379CLASS="INFORMALTABLE"
6380><P
6381></P
6382><TABLE
6383BORDER="0"
6384WIDTH="100%"
6385BGCOLOR="#FFD0D0"
6386CELLSPACING="0"
6387CELLPADDING="4"
6388CLASS="CALSTABLE"
6389><TR
6390><TD
6391WIDTH="20%"
6392ALIGN="RIGHT"
6393VALIGN="TOP"
6394><TT
6395CLASS="PARAMETER"
6396><I
6397>ctxt</I
6398></TT
6399>&nbsp;:</TD
6400><TD
6401WIDTH="80%"
6402ALIGN="LEFT"
6403VALIGN="TOP"
6404> the XPath Parser context</TD
6405></TR
6406></TABLE
6407><P
6408></P
6409></DIV
6410></DIV
6411><HR><DIV
6412CLASS="REFSECT2"
6413><A
Daniel Veillardd194dd22001-02-14 10:37:43 +00006414NAME="AEN12667"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006415></A
6416><H3
6417><A
6418NAME="XMLXPATHLASTFUNCTION"
6419></A
6420>xmlXPathLastFunction ()</H3
6421><TABLE
6422BORDER="0"
6423BGCOLOR="#D6E8FF"
6424WIDTH="100%"
6425CELLPADDING="6"
6426><TR
6427><TD
6428><PRE
6429CLASS="PROGRAMLISTING"
6430>void xmlXPathLastFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006431HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006432>xmlXPathParserContextPtr</A
6433> ctxt,
6434 int nargs);</PRE
6435></TD
6436></TR
6437></TABLE
6438><P
6439>Implement the <GTKDOCLINK
6440HREF="LAST"
6441>last</GTKDOCLINK
6442>() XPath function
6443number <GTKDOCLINK
6444HREF="LAST"
6445>last</GTKDOCLINK
6446>()
6447The last function returns the number of nodes in the context node list.</P
6448><P
6449></P
6450><DIV
6451CLASS="INFORMALTABLE"
6452><P
6453></P
6454><TABLE
6455BORDER="0"
6456WIDTH="100%"
6457BGCOLOR="#FFD0D0"
6458CELLSPACING="0"
6459CELLPADDING="4"
6460CLASS="CALSTABLE"
6461><TR
6462><TD
6463WIDTH="20%"
6464ALIGN="RIGHT"
6465VALIGN="TOP"
6466><TT
6467CLASS="PARAMETER"
6468><I
6469>ctxt</I
6470></TT
6471>&nbsp;:</TD
6472><TD
6473WIDTH="80%"
6474ALIGN="LEFT"
6475VALIGN="TOP"
6476> the XPath Parser context</TD
6477></TR
6478><TR
6479><TD
6480WIDTH="20%"
6481ALIGN="RIGHT"
6482VALIGN="TOP"
6483><TT
6484CLASS="PARAMETER"
6485><I
6486>nargs</I
6487></TT
6488>&nbsp;:</TD
6489><TD
6490WIDTH="80%"
6491ALIGN="LEFT"
6492VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006493> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006494></TR
6495></TABLE
6496><P
6497></P
6498></DIV
6499></DIV
6500><HR><DIV
6501CLASS="REFSECT2"
6502><A
Daniel Veillardd194dd22001-02-14 10:37:43 +00006503NAME="AEN12689"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006504></A
6505><H3
6506><A
6507NAME="XMLXPATHPOSITIONFUNCTION"
6508></A
6509>xmlXPathPositionFunction ()</H3
6510><TABLE
6511BORDER="0"
6512BGCOLOR="#D6E8FF"
6513WIDTH="100%"
6514CELLPADDING="6"
6515><TR
6516><TD
6517><PRE
6518CLASS="PROGRAMLISTING"
6519>void xmlXPathPositionFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006520HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006521>xmlXPathParserContextPtr</A
6522> ctxt,
6523 int nargs);</PRE
6524></TD
6525></TR
6526></TABLE
6527><P
6528>Implement the <GTKDOCLINK
6529HREF="POSITION"
6530>position</GTKDOCLINK
6531>() XPath function
6532number <GTKDOCLINK
6533HREF="POSITION"
6534>position</GTKDOCLINK
6535>()
6536The position function returns the position of the context node in the
6537context node list. The first position is 1, and so the last positionr
6538will be equal to <GTKDOCLINK
6539HREF="LAST"
6540>last</GTKDOCLINK
6541>().</P
6542><P
6543></P
6544><DIV
6545CLASS="INFORMALTABLE"
6546><P
6547></P
6548><TABLE
6549BORDER="0"
6550WIDTH="100%"
6551BGCOLOR="#FFD0D0"
6552CELLSPACING="0"
6553CELLPADDING="4"
6554CLASS="CALSTABLE"
6555><TR
6556><TD
6557WIDTH="20%"
6558ALIGN="RIGHT"
6559VALIGN="TOP"
6560><TT
6561CLASS="PARAMETER"
6562><I
6563>ctxt</I
6564></TT
6565>&nbsp;:</TD
6566><TD
6567WIDTH="80%"
6568ALIGN="LEFT"
6569VALIGN="TOP"
6570> the XPath Parser context</TD
6571></TR
6572><TR
6573><TD
6574WIDTH="20%"
6575ALIGN="RIGHT"
6576VALIGN="TOP"
6577><TT
6578CLASS="PARAMETER"
6579><I
6580>nargs</I
6581></TT
6582>&nbsp;:</TD
6583><TD
6584WIDTH="80%"
6585ALIGN="LEFT"
6586VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006587> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006588></TR
6589></TABLE
6590><P
6591></P
6592></DIV
6593></DIV
6594><HR><DIV
6595CLASS="REFSECT2"
6596><A
Daniel Veillardd194dd22001-02-14 10:37:43 +00006597NAME="AEN12712"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006598></A
6599><H3
6600><A
6601NAME="XMLXPATHCOUNTFUNCTION"
6602></A
6603>xmlXPathCountFunction ()</H3
6604><TABLE
6605BORDER="0"
6606BGCOLOR="#D6E8FF"
6607WIDTH="100%"
6608CELLPADDING="6"
6609><TR
6610><TD
6611><PRE
6612CLASS="PROGRAMLISTING"
6613>void xmlXPathCountFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006614HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006615>xmlXPathParserContextPtr</A
6616> ctxt,
6617 int nargs);</PRE
6618></TD
6619></TR
6620></TABLE
6621><P
6622>Implement the <GTKDOCLINK
6623HREF="COUNT"
6624>count</GTKDOCLINK
6625>() XPath function
6626number count(node-set)</P
6627><P
6628></P
6629><DIV
6630CLASS="INFORMALTABLE"
6631><P
6632></P
6633><TABLE
6634BORDER="0"
6635WIDTH="100%"
6636BGCOLOR="#FFD0D0"
6637CELLSPACING="0"
6638CELLPADDING="4"
6639CLASS="CALSTABLE"
6640><TR
6641><TD
6642WIDTH="20%"
6643ALIGN="RIGHT"
6644VALIGN="TOP"
6645><TT
6646CLASS="PARAMETER"
6647><I
6648>ctxt</I
6649></TT
6650>&nbsp;:</TD
6651><TD
6652WIDTH="80%"
6653ALIGN="LEFT"
6654VALIGN="TOP"
6655> the XPath Parser context</TD
6656></TR
6657><TR
6658><TD
6659WIDTH="20%"
6660ALIGN="RIGHT"
6661VALIGN="TOP"
6662><TT
6663CLASS="PARAMETER"
6664><I
6665>nargs</I
6666></TT
6667>&nbsp;:</TD
6668><TD
6669WIDTH="80%"
6670ALIGN="LEFT"
6671VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006672> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006673></TR
6674></TABLE
6675><P
6676></P
6677></DIV
6678></DIV
6679><HR><DIV
6680CLASS="REFSECT2"
6681><A
Daniel Veillardd194dd22001-02-14 10:37:43 +00006682NAME="AEN12733"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006683></A
6684><H3
6685><A
6686NAME="XMLXPATHLOCALNAMEFUNCTION"
6687></A
6688>xmlXPathLocalNameFunction ()</H3
6689><TABLE
6690BORDER="0"
6691BGCOLOR="#D6E8FF"
6692WIDTH="100%"
6693CELLPADDING="6"
6694><TR
6695><TD
6696><PRE
6697CLASS="PROGRAMLISTING"
6698>void xmlXPathLocalNameFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006699HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006700>xmlXPathParserContextPtr</A
6701> ctxt,
6702 int nargs);</PRE
6703></TD
6704></TR
6705></TABLE
6706><P
6707>Implement the local-<GTKDOCLINK
6708HREF="NAME"
6709>name</GTKDOCLINK
6710>() XPath function
6711string local-name(node-set?)
6712The local-name function returns a string containing the local part
6713of the name of the node in the argument node-set that is first in
6714document order. If the node-set is empty or the first node has no
6715name, an empty string is returned. If the argument is omitted it
6716defaults to the context node.</P
6717><P
6718></P
6719><DIV
6720CLASS="INFORMALTABLE"
6721><P
6722></P
6723><TABLE
6724BORDER="0"
6725WIDTH="100%"
6726BGCOLOR="#FFD0D0"
6727CELLSPACING="0"
6728CELLPADDING="4"
6729CLASS="CALSTABLE"
6730><TR
6731><TD
6732WIDTH="20%"
6733ALIGN="RIGHT"
6734VALIGN="TOP"
6735><TT
6736CLASS="PARAMETER"
6737><I
6738>ctxt</I
6739></TT
6740>&nbsp;:</TD
6741><TD
6742WIDTH="80%"
6743ALIGN="LEFT"
6744VALIGN="TOP"
6745> the XPath Parser context</TD
6746></TR
6747><TR
6748><TD
6749WIDTH="20%"
6750ALIGN="RIGHT"
6751VALIGN="TOP"
6752><TT
6753CLASS="PARAMETER"
6754><I
6755>nargs</I
6756></TT
6757>&nbsp;:</TD
6758><TD
6759WIDTH="80%"
6760ALIGN="LEFT"
6761VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006762> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006763></TR
6764></TABLE
6765><P
6766></P
6767></DIV
6768></DIV
6769><HR><DIV
6770CLASS="REFSECT2"
6771><A
Daniel Veillardd194dd22001-02-14 10:37:43 +00006772NAME="AEN12754"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006773></A
6774><H3
6775><A
6776NAME="XMLXPATHNAMESPACEURIFUNCTION"
6777></A
6778>xmlXPathNamespaceURIFunction ()</H3
6779><TABLE
6780BORDER="0"
6781BGCOLOR="#D6E8FF"
6782WIDTH="100%"
6783CELLPADDING="6"
6784><TR
6785><TD
6786><PRE
6787CLASS="PROGRAMLISTING"
6788>void xmlXPathNamespaceURIFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006789HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006790>xmlXPathParserContextPtr</A
6791> ctxt,
6792 int nargs);</PRE
6793></TD
6794></TR
6795></TABLE
6796><P
6797>Implement the namespace-<GTKDOCLINK
6798HREF="URI"
6799>uri</GTKDOCLINK
6800>() XPath function
6801string namespace-uri(node-set?)
6802The namespace-uri function returns a string containing the
6803namespace URI of the expanded name of the node in the argument
6804node-set that is first in document order. If the node-set is empty,
6805the first node has no name, or the expanded name has no namespace
6806URI, an empty string is returned. If the argument is omitted it
6807defaults to the context node.</P
6808><P
6809></P
6810><DIV
6811CLASS="INFORMALTABLE"
6812><P
6813></P
6814><TABLE
6815BORDER="0"
6816WIDTH="100%"
6817BGCOLOR="#FFD0D0"
6818CELLSPACING="0"
6819CELLPADDING="4"
6820CLASS="CALSTABLE"
6821><TR
6822><TD
6823WIDTH="20%"
6824ALIGN="RIGHT"
6825VALIGN="TOP"
6826><TT
6827CLASS="PARAMETER"
6828><I
6829>ctxt</I
6830></TT
6831>&nbsp;:</TD
6832><TD
6833WIDTH="80%"
6834ALIGN="LEFT"
6835VALIGN="TOP"
6836> the XPath Parser context</TD
6837></TR
6838><TR
6839><TD
6840WIDTH="20%"
6841ALIGN="RIGHT"
6842VALIGN="TOP"
6843><TT
6844CLASS="PARAMETER"
6845><I
6846>nargs</I
6847></TT
6848>&nbsp;:</TD
6849><TD
6850WIDTH="80%"
6851ALIGN="LEFT"
6852VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006853> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006854></TR
6855></TABLE
6856><P
6857></P
6858></DIV
6859></DIV
6860><HR><DIV
6861CLASS="REFSECT2"
6862><A
Daniel Veillardd194dd22001-02-14 10:37:43 +00006863NAME="AEN12775"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006864></A
6865><H3
6866><A
6867NAME="XMLXPATHSTRINGLENGTHFUNCTION"
6868></A
6869>xmlXPathStringLengthFunction ()</H3
6870><TABLE
6871BORDER="0"
6872BGCOLOR="#D6E8FF"
6873WIDTH="100%"
6874CELLPADDING="6"
6875><TR
6876><TD
6877><PRE
6878CLASS="PROGRAMLISTING"
6879>void xmlXPathStringLengthFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006880HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006881>xmlXPathParserContextPtr</A
6882> ctxt,
6883 int nargs);</PRE
6884></TD
6885></TR
6886></TABLE
6887><P
6888>Implement the string-<GTKDOCLINK
6889HREF="LENGTH"
6890>length</GTKDOCLINK
6891>() XPath function
6892number string-length(string?)
6893The string-length returns the number of characters in the string
6894(see [3.6 Strings]). If the argument is omitted, it defaults to
6895the context node converted to a string, in other words the value
6896of the context node.</P
6897><P
6898></P
6899><DIV
6900CLASS="INFORMALTABLE"
6901><P
6902></P
6903><TABLE
6904BORDER="0"
6905WIDTH="100%"
6906BGCOLOR="#FFD0D0"
6907CELLSPACING="0"
6908CELLPADDING="4"
6909CLASS="CALSTABLE"
6910><TR
6911><TD
6912WIDTH="20%"
6913ALIGN="RIGHT"
6914VALIGN="TOP"
6915><TT
6916CLASS="PARAMETER"
6917><I
6918>ctxt</I
6919></TT
6920>&nbsp;:</TD
6921><TD
6922WIDTH="80%"
6923ALIGN="LEFT"
6924VALIGN="TOP"
6925> the XPath Parser context</TD
6926></TR
6927><TR
6928><TD
6929WIDTH="20%"
6930ALIGN="RIGHT"
6931VALIGN="TOP"
6932><TT
6933CLASS="PARAMETER"
6934><I
6935>nargs</I
6936></TT
6937>&nbsp;:</TD
6938><TD
6939WIDTH="80%"
6940ALIGN="LEFT"
6941VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006942> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006943></TR
6944></TABLE
6945><P
6946></P
6947></DIV
6948></DIV
6949><HR><DIV
6950CLASS="REFSECT2"
6951><A
Daniel Veillardd194dd22001-02-14 10:37:43 +00006952NAME="AEN12796"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006953></A
6954><H3
6955><A
6956NAME="XMLXPATHCONCATFUNCTION"
6957></A
6958>xmlXPathConcatFunction ()</H3
6959><TABLE
6960BORDER="0"
6961BGCOLOR="#D6E8FF"
6962WIDTH="100%"
6963CELLPADDING="6"
6964><TR
6965><TD
6966><PRE
6967CLASS="PROGRAMLISTING"
6968>void xmlXPathConcatFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006969HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006970>xmlXPathParserContextPtr</A
6971> ctxt,
6972 int nargs);</PRE
6973></TD
6974></TR
6975></TABLE
6976><P
6977>Implement the <GTKDOCLINK
6978HREF="CONCAT"
6979>concat</GTKDOCLINK
6980>() XPath function
6981string concat(string, string, string*)
6982The concat function returns the concatenation of its arguments.</P
6983><P
6984></P
6985><DIV
6986CLASS="INFORMALTABLE"
6987><P
6988></P
6989><TABLE
6990BORDER="0"
6991WIDTH="100%"
6992BGCOLOR="#FFD0D0"
6993CELLSPACING="0"
6994CELLPADDING="4"
6995CLASS="CALSTABLE"
6996><TR
6997><TD
6998WIDTH="20%"
6999ALIGN="RIGHT"
7000VALIGN="TOP"
7001><TT
7002CLASS="PARAMETER"
7003><I
7004>ctxt</I
7005></TT
7006>&nbsp;:</TD
7007><TD
7008WIDTH="80%"
7009ALIGN="LEFT"
7010VALIGN="TOP"
7011> the XPath Parser context</TD
7012></TR
7013><TR
7014><TD
7015WIDTH="20%"
7016ALIGN="RIGHT"
7017VALIGN="TOP"
7018><TT
7019CLASS="PARAMETER"
7020><I
7021>nargs</I
7022></TT
7023>&nbsp;:</TD
7024><TD
7025WIDTH="80%"
7026ALIGN="LEFT"
7027VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007028> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007029></TR
7030></TABLE
7031><P
7032></P
7033></DIV
7034></DIV
7035><HR><DIV
7036CLASS="REFSECT2"
7037><A
Daniel Veillardd194dd22001-02-14 10:37:43 +00007038NAME="AEN12817"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007039></A
7040><H3
7041><A
7042NAME="XMLXPATHCONTAINSFUNCTION"
7043></A
7044>xmlXPathContainsFunction ()</H3
7045><TABLE
7046BORDER="0"
7047BGCOLOR="#D6E8FF"
7048WIDTH="100%"
7049CELLPADDING="6"
7050><TR
7051><TD
7052><PRE
7053CLASS="PROGRAMLISTING"
7054>void xmlXPathContainsFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007055HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007056>xmlXPathParserContextPtr</A
7057> ctxt,
7058 int nargs);</PRE
7059></TD
7060></TR
7061></TABLE
7062><P
7063>Implement the <GTKDOCLINK
7064HREF="CONTAINS"
7065>contains</GTKDOCLINK
7066>() XPath function
7067boolean contains(string, string)
7068The contains function returns true if the first argument string
7069contains the second argument string, and otherwise returns false.</P
7070><P
7071></P
7072><DIV
7073CLASS="INFORMALTABLE"
7074><P
7075></P
7076><TABLE
7077BORDER="0"
7078WIDTH="100%"
7079BGCOLOR="#FFD0D0"
7080CELLSPACING="0"
7081CELLPADDING="4"
7082CLASS="CALSTABLE"
7083><TR
7084><TD
7085WIDTH="20%"
7086ALIGN="RIGHT"
7087VALIGN="TOP"
7088><TT
7089CLASS="PARAMETER"
7090><I
7091>ctxt</I
7092></TT
7093>&nbsp;:</TD
7094><TD
7095WIDTH="80%"
7096ALIGN="LEFT"
7097VALIGN="TOP"
7098> the XPath Parser context</TD
7099></TR
7100><TR
7101><TD
7102WIDTH="20%"
7103ALIGN="RIGHT"
7104VALIGN="TOP"
7105><TT
7106CLASS="PARAMETER"
7107><I
7108>nargs</I
7109></TT
7110>&nbsp;:</TD
7111><TD
7112WIDTH="80%"
7113ALIGN="LEFT"
7114VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007115> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007116></TR
7117></TABLE
7118><P
7119></P
7120></DIV
7121></DIV
7122><HR><DIV
7123CLASS="REFSECT2"
7124><A
Daniel Veillardd194dd22001-02-14 10:37:43 +00007125NAME="AEN12838"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007126></A
7127><H3
7128><A
7129NAME="XMLXPATHSTARTSWITHFUNCTION"
7130></A
7131>xmlXPathStartsWithFunction ()</H3
7132><TABLE
7133BORDER="0"
7134BGCOLOR="#D6E8FF"
7135WIDTH="100%"
7136CELLPADDING="6"
7137><TR
7138><TD
7139><PRE
7140CLASS="PROGRAMLISTING"
7141>void xmlXPathStartsWithFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007142HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007143>xmlXPathParserContextPtr</A
7144> ctxt,
7145 int nargs);</PRE
7146></TD
7147></TR
7148></TABLE
7149><P
7150>Implement the starts-<GTKDOCLINK
7151HREF="WITH"
7152>with</GTKDOCLINK
7153>() XPath function
7154boolean starts-with(string, string)
7155The starts-with function returns true if the first argument string
7156starts with the second argument string, and otherwise returns false.</P
7157><P
7158></P
7159><DIV
7160CLASS="INFORMALTABLE"
7161><P
7162></P
7163><TABLE
7164BORDER="0"
7165WIDTH="100%"
7166BGCOLOR="#FFD0D0"
7167CELLSPACING="0"
7168CELLPADDING="4"
7169CLASS="CALSTABLE"
7170><TR
7171><TD
7172WIDTH="20%"
7173ALIGN="RIGHT"
7174VALIGN="TOP"
7175><TT
7176CLASS="PARAMETER"
7177><I
7178>ctxt</I
7179></TT
7180>&nbsp;:</TD
7181><TD
7182WIDTH="80%"
7183ALIGN="LEFT"
7184VALIGN="TOP"
7185> the XPath Parser context</TD
7186></TR
7187><TR
7188><TD
7189WIDTH="20%"
7190ALIGN="RIGHT"
7191VALIGN="TOP"
7192><TT
7193CLASS="PARAMETER"
7194><I
7195>nargs</I
7196></TT
7197>&nbsp;:</TD
7198><TD
7199WIDTH="80%"
7200ALIGN="LEFT"
7201VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007202> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007203></TR
7204></TABLE
7205><P
7206></P
7207></DIV
7208></DIV
7209><HR><DIV
7210CLASS="REFSECT2"
7211><A
Daniel Veillardd194dd22001-02-14 10:37:43 +00007212NAME="AEN12859"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007213></A
7214><H3
7215><A
7216NAME="XMLXPATHSUBSTRINGFUNCTION"
7217></A
7218>xmlXPathSubstringFunction ()</H3
7219><TABLE
7220BORDER="0"
7221BGCOLOR="#D6E8FF"
7222WIDTH="100%"
7223CELLPADDING="6"
7224><TR
7225><TD
7226><PRE
7227CLASS="PROGRAMLISTING"
7228>void xmlXPathSubstringFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007229HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007230>xmlXPathParserContextPtr</A
7231> ctxt,
7232 int nargs);</PRE
7233></TD
7234></TR
7235></TABLE
7236><P
7237>Implement the <GTKDOCLINK
7238HREF="SUBSTRING"
7239>substring</GTKDOCLINK
7240>() XPath function
7241string substring(string, number, number?)
7242The substring function returns the substring of the first argument
7243starting at the position specified in the second argument with
7244length specified in the third argument. For example,
7245substring("12345",2,3) returns "234". If the third argument is not
7246specified, it returns the substring starting at the position specified
7247in the second argument and continuing to the end of the string. For
7248example, substring("12345",2) returns "2345". More precisely, each
7249character in the string (see [3.6 Strings]) is considered to have a
7250numeric position: the position of the first character is 1, the position
7251of the second character is 2 and so on. The returned substring contains
7252those characters for which the position of the character is greater than
7253or equal to the second argument and, if the third argument is specified,
7254less than the sum of the second and third arguments; the comparisons
7255and addition used for the above follow the standard IEEE 754 rules. Thus:
7256- substring("12345", 1.5, 2.6) returns "234"
7257- substring("12345", 0, 3) returns "12"
7258- substring("12345", 0 div 0, 3) returns ""
7259- substring("12345", 1, 0 div 0) returns ""
7260- substring("12345", -42, 1 div 0) returns "12345"
7261- substring("12345", -1 div 0, 1 div 0) returns ""</P
7262><P
7263></P
7264><DIV
7265CLASS="INFORMALTABLE"
7266><P
7267></P
7268><TABLE
7269BORDER="0"
7270WIDTH="100%"
7271BGCOLOR="#FFD0D0"
7272CELLSPACING="0"
7273CELLPADDING="4"
7274CLASS="CALSTABLE"
7275><TR
7276><TD
7277WIDTH="20%"
7278ALIGN="RIGHT"
7279VALIGN="TOP"
7280><TT
7281CLASS="PARAMETER"
7282><I
7283>ctxt</I
7284></TT
7285>&nbsp;:</TD
7286><TD
7287WIDTH="80%"
7288ALIGN="LEFT"
7289VALIGN="TOP"
7290> the XPath Parser context</TD
7291></TR
7292><TR
7293><TD
7294WIDTH="20%"
7295ALIGN="RIGHT"
7296VALIGN="TOP"
7297><TT
7298CLASS="PARAMETER"
7299><I
7300>nargs</I
7301></TT
7302>&nbsp;:</TD
7303><TD
7304WIDTH="80%"
7305ALIGN="LEFT"
7306VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007307> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007308></TR
7309></TABLE
7310><P
7311></P
7312></DIV
7313></DIV
7314><HR><DIV
7315CLASS="REFSECT2"
7316><A
Daniel Veillardd194dd22001-02-14 10:37:43 +00007317NAME="AEN12880"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007318></A
7319><H3
7320><A
7321NAME="XMLXPATHSUBSTRINGBEFOREFUNCTION"
7322></A
7323>xmlXPathSubstringBeforeFunction ()</H3
7324><TABLE
7325BORDER="0"
7326BGCOLOR="#D6E8FF"
7327WIDTH="100%"
7328CELLPADDING="6"
7329><TR
7330><TD
7331><PRE
7332CLASS="PROGRAMLISTING"
7333>void xmlXPathSubstringBeforeFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007334HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007335>xmlXPathParserContextPtr</A
7336> ctxt,
7337 int nargs);</PRE
7338></TD
7339></TR
7340></TABLE
7341><P
7342>Implement the substring-<GTKDOCLINK
7343HREF="BEFORE"
7344>before</GTKDOCLINK
7345>() XPath function
7346string substring-before(string, string)
7347The substring-before function returns the substring of the first
7348argument string that precedes the first occurrence of the second
7349argument string in the first argument string, or the empty string
7350if the first argument string does not contain the second argument
7351string. For example, substring-before("1999/04/01","/") returns 1999.</P
7352><P
7353></P
7354><DIV
7355CLASS="INFORMALTABLE"
7356><P
7357></P
7358><TABLE
7359BORDER="0"
7360WIDTH="100%"
7361BGCOLOR="#FFD0D0"
7362CELLSPACING="0"
7363CELLPADDING="4"
7364CLASS="CALSTABLE"
7365><TR
7366><TD
7367WIDTH="20%"
7368ALIGN="RIGHT"
7369VALIGN="TOP"
7370><TT
7371CLASS="PARAMETER"
7372><I
7373>ctxt</I
7374></TT
7375>&nbsp;:</TD
7376><TD
7377WIDTH="80%"
7378ALIGN="LEFT"
7379VALIGN="TOP"
7380> the XPath Parser context</TD
7381></TR
7382><TR
7383><TD
7384WIDTH="20%"
7385ALIGN="RIGHT"
7386VALIGN="TOP"
7387><TT
7388CLASS="PARAMETER"
7389><I
7390>nargs</I
7391></TT
7392>&nbsp;:</TD
7393><TD
7394WIDTH="80%"
7395ALIGN="LEFT"
7396VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007397> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007398></TR
7399></TABLE
7400><P
7401></P
7402></DIV
7403></DIV
7404><HR><DIV
7405CLASS="REFSECT2"
7406><A
Daniel Veillardd194dd22001-02-14 10:37:43 +00007407NAME="AEN12901"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007408></A
7409><H3
7410><A
7411NAME="XMLXPATHSUBSTRINGAFTERFUNCTION"
7412></A
7413>xmlXPathSubstringAfterFunction ()</H3
7414><TABLE
7415BORDER="0"
7416BGCOLOR="#D6E8FF"
7417WIDTH="100%"
7418CELLPADDING="6"
7419><TR
7420><TD
7421><PRE
7422CLASS="PROGRAMLISTING"
7423>void xmlXPathSubstringAfterFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007424HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007425>xmlXPathParserContextPtr</A
7426> ctxt,
7427 int nargs);</PRE
7428></TD
7429></TR
7430></TABLE
7431><P
7432>Implement the substring-<GTKDOCLINK
7433HREF="AFTER"
7434>after</GTKDOCLINK
7435>() XPath function
7436string substring-after(string, string)
7437The substring-after function returns the substring of the first
7438argument string that follows the first occurrence of the second
7439argument string in the first argument string, or the empty stringi
7440if the first argument string does not contain the second argument
7441string. For example, substring-after("1999/04/01","/") returns 04/01,
7442and substring-after("1999/04/01","19") returns 99/04/01.</P
7443><P
7444></P
7445><DIV
7446CLASS="INFORMALTABLE"
7447><P
7448></P
7449><TABLE
7450BORDER="0"
7451WIDTH="100%"
7452BGCOLOR="#FFD0D0"
7453CELLSPACING="0"
7454CELLPADDING="4"
7455CLASS="CALSTABLE"
7456><TR
7457><TD
7458WIDTH="20%"
7459ALIGN="RIGHT"
7460VALIGN="TOP"
7461><TT
7462CLASS="PARAMETER"
7463><I
7464>ctxt</I
7465></TT
7466>&nbsp;:</TD
7467><TD
7468WIDTH="80%"
7469ALIGN="LEFT"
7470VALIGN="TOP"
7471> the XPath Parser context</TD
7472></TR
7473><TR
7474><TD
7475WIDTH="20%"
7476ALIGN="RIGHT"
7477VALIGN="TOP"
7478><TT
7479CLASS="PARAMETER"
7480><I
7481>nargs</I
7482></TT
7483>&nbsp;:</TD
7484><TD
7485WIDTH="80%"
7486ALIGN="LEFT"
7487VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007488> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007489></TR
7490></TABLE
7491><P
7492></P
7493></DIV
7494></DIV
7495><HR><DIV
7496CLASS="REFSECT2"
7497><A
Daniel Veillardd194dd22001-02-14 10:37:43 +00007498NAME="AEN12922"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007499></A
7500><H3
7501><A
7502NAME="XMLXPATHNORMALIZEFUNCTION"
7503></A
7504>xmlXPathNormalizeFunction ()</H3
7505><TABLE
7506BORDER="0"
7507BGCOLOR="#D6E8FF"
7508WIDTH="100%"
7509CELLPADDING="6"
7510><TR
7511><TD
7512><PRE
7513CLASS="PROGRAMLISTING"
7514>void xmlXPathNormalizeFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007515HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007516>xmlXPathParserContextPtr</A
7517> ctxt,
7518 int nargs);</PRE
7519></TD
7520></TR
7521></TABLE
7522><P
7523>Implement the normalize-<GTKDOCLINK
7524HREF="SPACE"
7525>space</GTKDOCLINK
7526>() XPath function
7527string normalize-space(string?)
7528The normalize-space function returns the argument string with white
7529space normalized by stripping leading and trailing whitespace
7530and replacing sequences of whitespace characters by a single
7531space. Whitespace characters are the same allowed by the S production
7532in XML. If the argument is omitted, it defaults to the context
7533node converted to a string, in other words the value of the context node.</P
7534><P
7535></P
7536><DIV
7537CLASS="INFORMALTABLE"
7538><P
7539></P
7540><TABLE
7541BORDER="0"
7542WIDTH="100%"
7543BGCOLOR="#FFD0D0"
7544CELLSPACING="0"
7545CELLPADDING="4"
7546CLASS="CALSTABLE"
7547><TR
7548><TD
7549WIDTH="20%"
7550ALIGN="RIGHT"
7551VALIGN="TOP"
7552><TT
7553CLASS="PARAMETER"
7554><I
7555>ctxt</I
7556></TT
7557>&nbsp;:</TD
7558><TD
7559WIDTH="80%"
7560ALIGN="LEFT"
7561VALIGN="TOP"
7562> the XPath Parser context</TD
7563></TR
7564><TR
7565><TD
7566WIDTH="20%"
7567ALIGN="RIGHT"
7568VALIGN="TOP"
7569><TT
7570CLASS="PARAMETER"
7571><I
7572>nargs</I
7573></TT
7574>&nbsp;:</TD
7575><TD
7576WIDTH="80%"
7577ALIGN="LEFT"
7578VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007579> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007580></TR
7581></TABLE
7582><P
7583></P
7584></DIV
7585></DIV
7586><HR><DIV
7587CLASS="REFSECT2"
7588><A
Daniel Veillardd194dd22001-02-14 10:37:43 +00007589NAME="AEN12943"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007590></A
7591><H3
7592><A
7593NAME="XMLXPATHTRANSLATEFUNCTION"
7594></A
7595>xmlXPathTranslateFunction ()</H3
7596><TABLE
7597BORDER="0"
7598BGCOLOR="#D6E8FF"
7599WIDTH="100%"
7600CELLPADDING="6"
7601><TR
7602><TD
7603><PRE
7604CLASS="PROGRAMLISTING"
7605>void xmlXPathTranslateFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007606HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007607>xmlXPathParserContextPtr</A
7608> ctxt,
7609 int nargs);</PRE
7610></TD
7611></TR
7612></TABLE
7613><P
7614>Implement the <GTKDOCLINK
7615HREF="TRANSLATE"
7616>translate</GTKDOCLINK
7617>() XPath function
7618string translate(string, string, string)
7619The translate function returns the first argument string with
7620occurrences of characters in the second argument string replaced
7621by the character at the corresponding position in the third argument
7622string. For example, translate("bar","abc","ABC") returns the string
7623BAr. If there is a character in the second argument string with no
7624character at a corresponding position in the third argument string
7625(because the second argument string is longer than the third argument
7626string), then occurrences of that character in the first argument
7627string are removed. For example, translate("--aaa--","abc-","ABC")</P
7628><P
7629></P
7630><DIV
7631CLASS="INFORMALTABLE"
7632><P
7633></P
7634><TABLE
7635BORDER="0"
7636WIDTH="100%"
7637BGCOLOR="#FFD0D0"
7638CELLSPACING="0"
7639CELLPADDING="4"
7640CLASS="CALSTABLE"
7641><TR
7642><TD
7643WIDTH="20%"
7644ALIGN="RIGHT"
7645VALIGN="TOP"
7646><TT
7647CLASS="PARAMETER"
7648><I
7649>ctxt</I
7650></TT
7651>&nbsp;:</TD
7652><TD
7653WIDTH="80%"
7654ALIGN="LEFT"
7655VALIGN="TOP"
7656> the XPath Parser context</TD
7657></TR
7658><TR
7659><TD
7660WIDTH="20%"
7661ALIGN="RIGHT"
7662VALIGN="TOP"
7663><TT
7664CLASS="PARAMETER"
7665><I
7666>nargs</I
7667></TT
7668>&nbsp;:</TD
7669><TD
7670WIDTH="80%"
7671ALIGN="LEFT"
7672VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007673> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007674></TR
7675></TABLE
7676><P
7677></P
7678></DIV
7679></DIV
7680><HR><DIV
7681CLASS="REFSECT2"
7682><A
Daniel Veillardd194dd22001-02-14 10:37:43 +00007683NAME="AEN12964"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007684></A
7685><H3
7686><A
7687NAME="XMLXPATHNOTFUNCTION"
7688></A
7689>xmlXPathNotFunction ()</H3
7690><TABLE
7691BORDER="0"
7692BGCOLOR="#D6E8FF"
7693WIDTH="100%"
7694CELLPADDING="6"
7695><TR
7696><TD
7697><PRE
7698CLASS="PROGRAMLISTING"
7699>void xmlXPathNotFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007700HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007701>xmlXPathParserContextPtr</A
7702> ctxt,
7703 int nargs);</PRE
7704></TD
7705></TR
7706></TABLE
7707><P
7708>Implement the <GTKDOCLINK
7709HREF="NOT"
7710>not</GTKDOCLINK
7711>() XPath function
7712boolean not(boolean)
7713The not function returns true if its argument is false,
7714and false otherwise.</P
7715><P
7716></P
7717><DIV
7718CLASS="INFORMALTABLE"
7719><P
7720></P
7721><TABLE
7722BORDER="0"
7723WIDTH="100%"
7724BGCOLOR="#FFD0D0"
7725CELLSPACING="0"
7726CELLPADDING="4"
7727CLASS="CALSTABLE"
7728><TR
7729><TD
7730WIDTH="20%"
7731ALIGN="RIGHT"
7732VALIGN="TOP"
7733><TT
7734CLASS="PARAMETER"
7735><I
7736>ctxt</I
7737></TT
7738>&nbsp;:</TD
7739><TD
7740WIDTH="80%"
7741ALIGN="LEFT"
7742VALIGN="TOP"
7743> the XPath Parser context</TD
7744></TR
7745><TR
7746><TD
7747WIDTH="20%"
7748ALIGN="RIGHT"
7749VALIGN="TOP"
7750><TT
7751CLASS="PARAMETER"
7752><I
7753>nargs</I
7754></TT
7755>&nbsp;:</TD
7756><TD
7757WIDTH="80%"
7758ALIGN="LEFT"
7759VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007760> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007761></TR
7762></TABLE
7763><P
7764></P
7765></DIV
7766></DIV
7767><HR><DIV
7768CLASS="REFSECT2"
7769><A
Daniel Veillardd194dd22001-02-14 10:37:43 +00007770NAME="AEN12985"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007771></A
7772><H3
7773><A
7774NAME="XMLXPATHTRUEFUNCTION"
7775></A
7776>xmlXPathTrueFunction ()</H3
7777><TABLE
7778BORDER="0"
7779BGCOLOR="#D6E8FF"
7780WIDTH="100%"
7781CELLPADDING="6"
7782><TR
7783><TD
7784><PRE
7785CLASS="PROGRAMLISTING"
7786>void xmlXPathTrueFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007787HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007788>xmlXPathParserContextPtr</A
7789> ctxt,
7790 int nargs);</PRE
7791></TD
7792></TR
7793></TABLE
7794><P
7795>Implement the <GTKDOCLINK
7796HREF="TRUE"
7797>true</GTKDOCLINK
7798>() XPath function
7799boolean <GTKDOCLINK
7800HREF="TRUE"
7801>true</GTKDOCLINK
7802>()</P
7803><P
7804></P
7805><DIV
7806CLASS="INFORMALTABLE"
7807><P
7808></P
7809><TABLE
7810BORDER="0"
7811WIDTH="100%"
7812BGCOLOR="#FFD0D0"
7813CELLSPACING="0"
7814CELLPADDING="4"
7815CLASS="CALSTABLE"
7816><TR
7817><TD
7818WIDTH="20%"
7819ALIGN="RIGHT"
7820VALIGN="TOP"
7821><TT
7822CLASS="PARAMETER"
7823><I
7824>ctxt</I
7825></TT
7826>&nbsp;:</TD
7827><TD
7828WIDTH="80%"
7829ALIGN="LEFT"
7830VALIGN="TOP"
7831> the XPath Parser context</TD
7832></TR
7833><TR
7834><TD
7835WIDTH="20%"
7836ALIGN="RIGHT"
7837VALIGN="TOP"
7838><TT
7839CLASS="PARAMETER"
7840><I
7841>nargs</I
7842></TT
7843>&nbsp;:</TD
7844><TD
7845WIDTH="80%"
7846ALIGN="LEFT"
7847VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007848> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007849></TR
7850></TABLE
7851><P
7852></P
7853></DIV
7854></DIV
7855><HR><DIV
7856CLASS="REFSECT2"
7857><A
Daniel Veillardd194dd22001-02-14 10:37:43 +00007858NAME="AEN13007"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007859></A
7860><H3
7861><A
7862NAME="XMLXPATHFALSEFUNCTION"
7863></A
7864>xmlXPathFalseFunction ()</H3
7865><TABLE
7866BORDER="0"
7867BGCOLOR="#D6E8FF"
7868WIDTH="100%"
7869CELLPADDING="6"
7870><TR
7871><TD
7872><PRE
7873CLASS="PROGRAMLISTING"
7874>void xmlXPathFalseFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007875HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007876>xmlXPathParserContextPtr</A
7877> ctxt,
7878 int nargs);</PRE
7879></TD
7880></TR
7881></TABLE
7882><P
7883>Implement the <GTKDOCLINK
7884HREF="FALSE"
7885>false</GTKDOCLINK
7886>() XPath function
7887boolean <GTKDOCLINK
7888HREF="FALSE"
7889>false</GTKDOCLINK
7890>()</P
7891><P
7892></P
7893><DIV
7894CLASS="INFORMALTABLE"
7895><P
7896></P
7897><TABLE
7898BORDER="0"
7899WIDTH="100%"
7900BGCOLOR="#FFD0D0"
7901CELLSPACING="0"
7902CELLPADDING="4"
7903CLASS="CALSTABLE"
7904><TR
7905><TD
7906WIDTH="20%"
7907ALIGN="RIGHT"
7908VALIGN="TOP"
7909><TT
7910CLASS="PARAMETER"
7911><I
7912>ctxt</I
7913></TT
7914>&nbsp;:</TD
7915><TD
7916WIDTH="80%"
7917ALIGN="LEFT"
7918VALIGN="TOP"
7919> the XPath Parser context</TD
7920></TR
7921><TR
7922><TD
7923WIDTH="20%"
7924ALIGN="RIGHT"
7925VALIGN="TOP"
7926><TT
7927CLASS="PARAMETER"
7928><I
7929>nargs</I
7930></TT
7931>&nbsp;:</TD
7932><TD
7933WIDTH="80%"
7934ALIGN="LEFT"
7935VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007936> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007937></TR
7938></TABLE
7939><P
7940></P
7941></DIV
7942></DIV
7943><HR><DIV
7944CLASS="REFSECT2"
7945><A
Daniel Veillardd194dd22001-02-14 10:37:43 +00007946NAME="AEN13029"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007947></A
7948><H3
7949><A
7950NAME="XMLXPATHLANGFUNCTION"
7951></A
7952>xmlXPathLangFunction ()</H3
7953><TABLE
7954BORDER="0"
7955BGCOLOR="#D6E8FF"
7956WIDTH="100%"
7957CELLPADDING="6"
7958><TR
7959><TD
7960><PRE
7961CLASS="PROGRAMLISTING"
7962>void xmlXPathLangFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007963HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007964>xmlXPathParserContextPtr</A
7965> ctxt,
7966 int nargs);</PRE
7967></TD
7968></TR
7969></TABLE
7970><P
7971>Implement the <GTKDOCLINK
7972HREF="LANG"
7973>lang</GTKDOCLINK
7974>() XPath function
7975boolean lang(string)
7976The lang function returns true or false depending on whether the
7977language of the context node as specified by xml:lang attributes
7978is the same as or is a sublanguage of the language specified by
7979the argument string. The language of the context node is determined
7980by the value of the xml:lang attribute on the context node, or, if
7981the context node has no xml:lang attribute, by the value of the
7982xml:lang attribute on the nearest ancestor of the context node that
7983has an xml:lang attribute. If there is no such attribute, then lang</P
7984><P
7985></P
7986><DIV
7987CLASS="INFORMALTABLE"
7988><P
7989></P
7990><TABLE
7991BORDER="0"
7992WIDTH="100%"
7993BGCOLOR="#FFD0D0"
7994CELLSPACING="0"
7995CELLPADDING="4"
7996CLASS="CALSTABLE"
7997><TR
7998><TD
7999WIDTH="20%"
8000ALIGN="RIGHT"
8001VALIGN="TOP"
8002><TT
8003CLASS="PARAMETER"
8004><I
8005>ctxt</I
8006></TT
8007>&nbsp;:</TD
8008><TD
8009WIDTH="80%"
8010ALIGN="LEFT"
8011VALIGN="TOP"
8012> the XPath Parser context</TD
8013></TR
8014><TR
8015><TD
8016WIDTH="20%"
8017ALIGN="RIGHT"
8018VALIGN="TOP"
8019><TT
8020CLASS="PARAMETER"
8021><I
8022>nargs</I
8023></TT
8024>&nbsp;:</TD
8025><TD
8026WIDTH="80%"
8027ALIGN="LEFT"
8028VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008029> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00008030></TR
8031></TABLE
8032><P
8033></P
8034></DIV
8035></DIV
8036><HR><DIV
8037CLASS="REFSECT2"
8038><A
Daniel Veillardd194dd22001-02-14 10:37:43 +00008039NAME="AEN13050"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008040></A
8041><H3
8042><A
8043NAME="XMLXPATHNUMBERFUNCTION"
8044></A
8045>xmlXPathNumberFunction ()</H3
8046><TABLE
8047BORDER="0"
8048BGCOLOR="#D6E8FF"
8049WIDTH="100%"
8050CELLPADDING="6"
8051><TR
8052><TD
8053><PRE
8054CLASS="PROGRAMLISTING"
8055>void xmlXPathNumberFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008056HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008057>xmlXPathParserContextPtr</A
8058> ctxt,
8059 int nargs);</PRE
8060></TD
8061></TR
8062></TABLE
8063><P
8064>Implement the <GTKDOCLINK
8065HREF="NUMBER"
8066>number</GTKDOCLINK
8067>() XPath function
8068number number(object?)</P
8069><P
8070></P
8071><DIV
8072CLASS="INFORMALTABLE"
8073><P
8074></P
8075><TABLE
8076BORDER="0"
8077WIDTH="100%"
8078BGCOLOR="#FFD0D0"
8079CELLSPACING="0"
8080CELLPADDING="4"
8081CLASS="CALSTABLE"
8082><TR
8083><TD
8084WIDTH="20%"
8085ALIGN="RIGHT"
8086VALIGN="TOP"
8087><TT
8088CLASS="PARAMETER"
8089><I
8090>ctxt</I
8091></TT
8092>&nbsp;:</TD
8093><TD
8094WIDTH="80%"
8095ALIGN="LEFT"
8096VALIGN="TOP"
8097> the XPath Parser context</TD
8098></TR
8099><TR
8100><TD
8101WIDTH="20%"
8102ALIGN="RIGHT"
8103VALIGN="TOP"
8104><TT
8105CLASS="PARAMETER"
8106><I
8107>nargs</I
8108></TT
8109>&nbsp;:</TD
8110><TD
8111WIDTH="80%"
8112ALIGN="LEFT"
8113VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008114> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00008115></TR
8116></TABLE
8117><P
8118></P
8119></DIV
8120></DIV
8121><HR><DIV
8122CLASS="REFSECT2"
8123><A
Daniel Veillardd194dd22001-02-14 10:37:43 +00008124NAME="AEN13071"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008125></A
8126><H3
8127><A
8128NAME="XMLXPATHSUMFUNCTION"
8129></A
8130>xmlXPathSumFunction ()</H3
8131><TABLE
8132BORDER="0"
8133BGCOLOR="#D6E8FF"
8134WIDTH="100%"
8135CELLPADDING="6"
8136><TR
8137><TD
8138><PRE
8139CLASS="PROGRAMLISTING"
8140>void xmlXPathSumFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008141HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008142>xmlXPathParserContextPtr</A
8143> ctxt,
8144 int nargs);</PRE
8145></TD
8146></TR
8147></TABLE
8148><P
8149>Implement the <GTKDOCLINK
8150HREF="SUM"
8151>sum</GTKDOCLINK
8152>() XPath function
8153number sum(node-set)
8154The sum function returns the sum of the values of the nodes in
8155the argument node-set.</P
8156><P
8157></P
8158><DIV
8159CLASS="INFORMALTABLE"
8160><P
8161></P
8162><TABLE
8163BORDER="0"
8164WIDTH="100%"
8165BGCOLOR="#FFD0D0"
8166CELLSPACING="0"
8167CELLPADDING="4"
8168CLASS="CALSTABLE"
8169><TR
8170><TD
8171WIDTH="20%"
8172ALIGN="RIGHT"
8173VALIGN="TOP"
8174><TT
8175CLASS="PARAMETER"
8176><I
8177>ctxt</I
8178></TT
8179>&nbsp;:</TD
8180><TD
8181WIDTH="80%"
8182ALIGN="LEFT"
8183VALIGN="TOP"
8184> the XPath Parser context</TD
8185></TR
8186><TR
8187><TD
8188WIDTH="20%"
8189ALIGN="RIGHT"
8190VALIGN="TOP"
8191><TT
8192CLASS="PARAMETER"
8193><I
8194>nargs</I
8195></TT
8196>&nbsp;:</TD
8197><TD
8198WIDTH="80%"
8199ALIGN="LEFT"
8200VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008201> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00008202></TR
8203></TABLE
8204><P
8205></P
8206></DIV
8207></DIV
8208><HR><DIV
8209CLASS="REFSECT2"
8210><A
Daniel Veillardd194dd22001-02-14 10:37:43 +00008211NAME="AEN13092"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008212></A
8213><H3
8214><A
8215NAME="XMLXPATHFLOORFUNCTION"
8216></A
8217>xmlXPathFloorFunction ()</H3
8218><TABLE
8219BORDER="0"
8220BGCOLOR="#D6E8FF"
8221WIDTH="100%"
8222CELLPADDING="6"
8223><TR
8224><TD
8225><PRE
8226CLASS="PROGRAMLISTING"
8227>void xmlXPathFloorFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008228HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008229>xmlXPathParserContextPtr</A
8230> ctxt,
8231 int nargs);</PRE
8232></TD
8233></TR
8234></TABLE
8235><P
8236>Implement the <GTKDOCLINK
8237HREF="FLOOR"
8238>floor</GTKDOCLINK
8239>() XPath function
8240number floor(number)
8241The floor function returns the largest (closest to positive infinity)
8242number that is not greater than the argument and that is an integer.</P
8243><P
8244></P
8245><DIV
8246CLASS="INFORMALTABLE"
8247><P
8248></P
8249><TABLE
8250BORDER="0"
8251WIDTH="100%"
8252BGCOLOR="#FFD0D0"
8253CELLSPACING="0"
8254CELLPADDING="4"
8255CLASS="CALSTABLE"
8256><TR
8257><TD
8258WIDTH="20%"
8259ALIGN="RIGHT"
8260VALIGN="TOP"
8261><TT
8262CLASS="PARAMETER"
8263><I
8264>ctxt</I
8265></TT
8266>&nbsp;:</TD
8267><TD
8268WIDTH="80%"
8269ALIGN="LEFT"
8270VALIGN="TOP"
8271> the XPath Parser context</TD
8272></TR
8273><TR
8274><TD
8275WIDTH="20%"
8276ALIGN="RIGHT"
8277VALIGN="TOP"
8278><TT
8279CLASS="PARAMETER"
8280><I
8281>nargs</I
8282></TT
8283>&nbsp;:</TD
8284><TD
8285WIDTH="80%"
8286ALIGN="LEFT"
8287VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008288> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00008289></TR
8290></TABLE
8291><P
8292></P
8293></DIV
8294></DIV
8295><HR><DIV
8296CLASS="REFSECT2"
8297><A
Daniel Veillardd194dd22001-02-14 10:37:43 +00008298NAME="AEN13113"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008299></A
8300><H3
8301><A
8302NAME="XMLXPATHCEILINGFUNCTION"
8303></A
8304>xmlXPathCeilingFunction ()</H3
8305><TABLE
8306BORDER="0"
8307BGCOLOR="#D6E8FF"
8308WIDTH="100%"
8309CELLPADDING="6"
8310><TR
8311><TD
8312><PRE
8313CLASS="PROGRAMLISTING"
8314>void xmlXPathCeilingFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008315HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008316>xmlXPathParserContextPtr</A
8317> ctxt,
8318 int nargs);</PRE
8319></TD
8320></TR
8321></TABLE
8322><P
8323>Implement the <GTKDOCLINK
8324HREF="CEILING"
8325>ceiling</GTKDOCLINK
8326>() XPath function
8327number ceiling(number)
8328The ceiling function returns the smallest (closest to negative infinity)
8329number that is not less than the argument and that is an integer.</P
8330><P
8331></P
8332><DIV
8333CLASS="INFORMALTABLE"
8334><P
8335></P
8336><TABLE
8337BORDER="0"
8338WIDTH="100%"
8339BGCOLOR="#FFD0D0"
8340CELLSPACING="0"
8341CELLPADDING="4"
8342CLASS="CALSTABLE"
8343><TR
8344><TD
8345WIDTH="20%"
8346ALIGN="RIGHT"
8347VALIGN="TOP"
8348><TT
8349CLASS="PARAMETER"
8350><I
8351>ctxt</I
8352></TT
8353>&nbsp;:</TD
8354><TD
8355WIDTH="80%"
8356ALIGN="LEFT"
8357VALIGN="TOP"
8358> the XPath Parser context</TD
8359></TR
8360><TR
8361><TD
8362WIDTH="20%"
8363ALIGN="RIGHT"
8364VALIGN="TOP"
8365><TT
8366CLASS="PARAMETER"
8367><I
8368>nargs</I
8369></TT
8370>&nbsp;:</TD
8371><TD
8372WIDTH="80%"
8373ALIGN="LEFT"
8374VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008375> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00008376></TR
8377></TABLE
8378><P
8379></P
8380></DIV
8381></DIV
8382><HR><DIV
8383CLASS="REFSECT2"
8384><A
Daniel Veillardd194dd22001-02-14 10:37:43 +00008385NAME="AEN13134"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008386></A
8387><H3
8388><A
8389NAME="XMLXPATHROUNDFUNCTION"
8390></A
8391>xmlXPathRoundFunction ()</H3
8392><TABLE
8393BORDER="0"
8394BGCOLOR="#D6E8FF"
8395WIDTH="100%"
8396CELLPADDING="6"
8397><TR
8398><TD
8399><PRE
8400CLASS="PROGRAMLISTING"
8401>void xmlXPathRoundFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008402HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008403>xmlXPathParserContextPtr</A
8404> ctxt,
8405 int nargs);</PRE
8406></TD
8407></TR
8408></TABLE
8409><P
8410>Implement the <GTKDOCLINK
8411HREF="ROUND"
8412>round</GTKDOCLINK
8413>() XPath function
8414number round(number)
8415The round function returns the number that is closest to the
8416argument and that is an integer. If there are two such numbers,
8417then the one that is even is returned.</P
8418><P
8419></P
8420><DIV
8421CLASS="INFORMALTABLE"
8422><P
8423></P
8424><TABLE
8425BORDER="0"
8426WIDTH="100%"
8427BGCOLOR="#FFD0D0"
8428CELLSPACING="0"
8429CELLPADDING="4"
8430CLASS="CALSTABLE"
8431><TR
8432><TD
8433WIDTH="20%"
8434ALIGN="RIGHT"
8435VALIGN="TOP"
8436><TT
8437CLASS="PARAMETER"
8438><I
8439>ctxt</I
8440></TT
8441>&nbsp;:</TD
8442><TD
8443WIDTH="80%"
8444ALIGN="LEFT"
8445VALIGN="TOP"
8446> the XPath Parser context</TD
8447></TR
8448><TR
8449><TD
8450WIDTH="20%"
8451ALIGN="RIGHT"
8452VALIGN="TOP"
8453><TT
8454CLASS="PARAMETER"
8455><I
8456>nargs</I
8457></TT
8458>&nbsp;:</TD
8459><TD
8460WIDTH="80%"
8461ALIGN="LEFT"
8462VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008463> the number of arguments</TD
8464></TR
8465></TABLE
8466><P
8467></P
8468></DIV
8469></DIV
8470><HR><DIV
8471CLASS="REFSECT2"
8472><A
Daniel Veillardd194dd22001-02-14 10:37:43 +00008473NAME="AEN13155"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008474></A
8475><H3
8476><A
8477NAME="XMLXPATHBOOLEANFUNCTION"
8478></A
8479>xmlXPathBooleanFunction ()</H3
8480><TABLE
8481BORDER="0"
8482BGCOLOR="#D6E8FF"
8483WIDTH="100%"
8484CELLPADDING="6"
8485><TR
8486><TD
8487><PRE
8488CLASS="PROGRAMLISTING"
8489>void xmlXPathBooleanFunction (<A
8490HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
8491>xmlXPathParserContextPtr</A
8492> ctxt,
8493 int nargs);</PRE
8494></TD
8495></TR
8496></TABLE
8497><P
8498>Implement the <GTKDOCLINK
8499HREF="BOOLEAN"
8500>boolean</GTKDOCLINK
8501>() XPath function
8502boolean boolean(object)
8503he boolean function converts its argument to a boolean as follows:
8504- a number is true if and only if it is neither positive or
8505negative zero nor NaN
8506- a node-set is true if and only if it is non-empty
8507- a string is true if and only if its length is non-zero</P
8508><P
8509></P
8510><DIV
8511CLASS="INFORMALTABLE"
8512><P
8513></P
8514><TABLE
8515BORDER="0"
8516WIDTH="100%"
8517BGCOLOR="#FFD0D0"
8518CELLSPACING="0"
8519CELLPADDING="4"
8520CLASS="CALSTABLE"
8521><TR
8522><TD
8523WIDTH="20%"
8524ALIGN="RIGHT"
8525VALIGN="TOP"
8526><TT
8527CLASS="PARAMETER"
8528><I
8529>ctxt</I
8530></TT
8531>&nbsp;:</TD
8532><TD
8533WIDTH="80%"
8534ALIGN="LEFT"
8535VALIGN="TOP"
8536> the XPath Parser context</TD
8537></TR
8538><TR
8539><TD
8540WIDTH="20%"
8541ALIGN="RIGHT"
8542VALIGN="TOP"
8543><TT
8544CLASS="PARAMETER"
8545><I
8546>nargs</I
8547></TT
8548>&nbsp;:</TD
8549><TD
8550WIDTH="80%"
8551ALIGN="LEFT"
8552VALIGN="TOP"
8553> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00008554></TR
8555></TABLE
8556><P
8557></P
8558></DIV
8559></DIV
8560></DIV
8561><DIV
8562CLASS="NAVFOOTER"
8563><BR
8564CLEAR="all"><BR><TABLE
8565WIDTH="100%"
8566BORDER="0"
8567BGCOLOR="#000000"
8568CELLPADDING="1"
8569CELLSPACING="0"
8570><TR
8571><TD
8572WIDTH="25%"
8573BGCOLOR="#C00000"
8574ALIGN="left"
8575><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008576HREF="libxml-xpath.html"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008577><FONT
8578COLOR="#FFFFFF"
8579SIZE="3"
8580><B
8581>&#60;&#60;&#60; Previous Page</B
8582></FONT
8583></A
8584></TD
8585><TD
8586WIDTH="25%"
8587BGCOLOR="#0000C0"
8588ALIGN="center"
8589><FONT
8590COLOR="#FFFFFF"
8591SIZE="3"
8592><B
8593><A
8594HREF="book1.html"
8595><FONT
8596COLOR="#FFFFFF"
8597SIZE="3"
8598><B
8599>Home</B
8600></FONT
8601></A
8602></B
8603></FONT
8604></TD
8605><TD
8606WIDTH="25%"
8607BGCOLOR="#00C000"
8608ALIGN="center"
8609><FONT
8610COLOR="#FFFFFF"
8611SIZE="3"
8612><B
8613><A
8614HREF="libxml-lib.html"
8615><FONT
8616COLOR="#FFFFFF"
8617SIZE="3"
8618><B
8619>Up</B
8620></FONT
8621></A
8622></B
8623></FONT
8624></TD
8625><TD
8626WIDTH="25%"
8627BGCOLOR="#C00000"
8628ALIGN="right"
8629><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008630HREF="libxml-xpointer.html"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008631><FONT
8632COLOR="#FFFFFF"
8633SIZE="3"
8634><B
8635>Next Page &#62;&#62;&#62;</B
8636></FONT
8637></A
8638></TD
8639></TR
8640><TR
8641><TD
8642COLSPAN="2"
8643ALIGN="left"
8644><FONT
8645COLOR="#FFFFFF"
8646SIZE="3"
8647><B
8648>xpath</B
8649></FONT
8650></TD
8651><TD
8652COLSPAN="2"
8653ALIGN="right"
8654><FONT
8655COLOR="#FFFFFF"
8656SIZE="3"
8657><B
8658>xpointer</B
8659></FONT
8660></TD
8661></TR
8662></TABLE
8663></DIV
8664></BODY
8665></HTML
8666>