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