blob: 3cc3658f9fba83be56e3b0aa361ba143b29b1fee [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 Veillarda41123c2001-04-22 19:31:20 +0000124NAME="AEN11514"
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 Veillarda41123c2001-04-22 19:31:20 +0000132NAME="AEN11517"
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);
Daniel Veillarda41123c2001-04-22 19:31:20 +0000224void <A
225HREF="libxml-xpathinternals.html#XMLXPATHDEBUGDUMPCOMPEXPR"
226>xmlXPathDebugDumpCompExpr</A
227> (<GTKDOCLINK
228HREF="FILE-CAPS"
229>FILE</GTKDOCLINK
230> *output,
231 <A
232HREF="libxml-xpath.html#XMLXPATHCOMPEXPRPTR"
233>xmlXPathCompExprPtr</A
234> comp,
235 int depth);
Daniel Veillard9753ad72000-11-13 19:12:23 +0000236int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000237HREF="libxml-xpathinternals.html#XMLXPATHREGISTERNS"
Daniel Veillard503b8932001-01-05 06:36:31 +0000238>xmlXPathRegisterNs</A
239> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000240HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard503b8932001-01-05 06:36:31 +0000241>xmlXPathContextPtr</A
242> ctxt,
243 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000244HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard503b8932001-01-05 06:36:31 +0000245>xmlChar</A
246> *prefix,
247 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000248HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard503b8932001-01-05 06:36:31 +0000249>xmlChar</A
250> *ns_uri);
251const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000252HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard503b8932001-01-05 06:36:31 +0000253>xmlChar</A
254>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000255HREF="libxml-xpathinternals.html#XMLXPATHNSLOOKUP"
Daniel Veillard503b8932001-01-05 06:36:31 +0000256>xmlXPathNsLookup</A
257> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000258HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard503b8932001-01-05 06:36:31 +0000259>xmlXPathContextPtr</A
260> ctxt,
261 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000262HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard503b8932001-01-05 06:36:31 +0000263>xmlChar</A
264> *ns_uri);
265void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000266HREF="libxml-xpathinternals.html#XMLXPATHREGISTEREDNSCLEANUP"
Daniel Veillard503b8932001-01-05 06:36:31 +0000267>xmlXPathRegisteredNsCleanup</A
268> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000269HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard503b8932001-01-05 06:36:31 +0000270>xmlXPathContextPtr</A
271> ctxt);
272int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000273HREF="libxml-xpathinternals.html#XMLXPATHREGISTERFUNC"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000274>xmlXPathRegisterFunc</A
275> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000276HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000277>xmlXPathContextPtr</A
278> ctxt,
279 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000280HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000281>xmlChar</A
282> *name,
283 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000284HREF="libxml-xpath.html#XMLXPATHFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000285>xmlXPathFunction</A
286> f);
287int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000288HREF="libxml-xpathinternals.html#XMLXPATHREGISTERFUNCNS"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000289>xmlXPathRegisterFuncNS</A
290> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000291HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000292>xmlXPathContextPtr</A
293> ctxt,
294 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000295HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000296>xmlChar</A
297> *name,
298 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000299HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000300>xmlChar</A
301> *ns_uri,
302 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000303HREF="libxml-xpath.html#XMLXPATHFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000304>xmlXPathFunction</A
305> f);
306int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000307HREF="libxml-xpathinternals.html#XMLXPATHREGISTERVARIABLE"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000308>xmlXPathRegisterVariable</A
309> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000310HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000311>xmlXPathContextPtr</A
312> ctxt,
313 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000314HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000315>xmlChar</A
316> *name,
317 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000318HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000319>xmlXPathObjectPtr</A
320> value);
321int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000322HREF="libxml-xpathinternals.html#XMLXPATHREGISTERVARIABLENS"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000323>xmlXPathRegisterVariableNS</A
324> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000325HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000326>xmlXPathContextPtr</A
327> ctxt,
328 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000329HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000330>xmlChar</A
331> *name,
332 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000333HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000334>xmlChar</A
335> *ns_uri,
336 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000337HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000338>xmlXPathObjectPtr</A
339> value);
340<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000341HREF="libxml-xpath.html#XMLXPATHFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000342>xmlXPathFunction</A
343> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000344HREF="libxml-xpathinternals.html#XMLXPATHFUNCTIONLOOKUP"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000345>xmlXPathFunctionLookup</A
346> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000347HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000348>xmlXPathContextPtr</A
349> ctxt,
350 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000351HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000352>xmlChar</A
353> *name);
354<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000355HREF="libxml-xpath.html#XMLXPATHFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000356>xmlXPathFunction</A
357> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000358HREF="libxml-xpathinternals.html#XMLXPATHFUNCTIONLOOKUPNS"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000359>xmlXPathFunctionLookupNS</A
360> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000361HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000362>xmlXPathContextPtr</A
363> ctxt,
364 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000365HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000366>xmlChar</A
367> *name,
368 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000369HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000370>xmlChar</A
371> *ns_uri);
372void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000373HREF="libxml-xpathinternals.html#XMLXPATHREGISTEREDFUNCSCLEANUP"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000374>xmlXPathRegisteredFuncsCleanup</A
375> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000376HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000377>xmlXPathContextPtr</A
378> ctxt);
379<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000380HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000381>xmlXPathObjectPtr</A
382> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000383HREF="libxml-xpathinternals.html#XMLXPATHVARIABLELOOKUP"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000384>xmlXPathVariableLookup</A
385> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000386HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000387>xmlXPathContextPtr</A
388> ctxt,
389 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000390HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000391>xmlChar</A
392> *name);
393<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000394HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000395>xmlXPathObjectPtr</A
396> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000397HREF="libxml-xpathinternals.html#XMLXPATHVARIABLELOOKUPNS"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000398>xmlXPathVariableLookupNS</A
399> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000400HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000401>xmlXPathContextPtr</A
402> ctxt,
403 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000404HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000405>xmlChar</A
406> *name,
407 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000408HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000409>xmlChar</A
410> *ns_uri);
411void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000412HREF="libxml-xpathinternals.html#XMLXPATHREGISTEREDVARIABLESCLEANUP"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000413>xmlXPathRegisteredVariablesCleanup</A
414>
415 (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000416HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000417>xmlXPathContextPtr</A
418> ctxt);
419<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000420HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000421>xmlXPathParserContextPtr</A
422> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000423HREF="libxml-xpathinternals.html#XMLXPATHNEWPARSERCONTEXT"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000424>xmlXPathNewParserContext</A
425>
426 (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000427HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000428>xmlChar</A
429> *str,
430 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000431HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000432>xmlXPathContextPtr</A
433> ctxt);
434void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000435HREF="libxml-xpathinternals.html#XMLXPATHFREEPARSERCONTEXT"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000436>xmlXPathFreeParserContext</A
437> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000438HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000439>xmlXPathParserContextPtr</A
440> ctxt);
441<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000442HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000443>xmlXPathObjectPtr</A
444> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000445HREF="libxml-xpathinternals.html#VALUEPOP"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000446>valuePop</A
447> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000448HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000449>xmlXPathParserContextPtr</A
450> ctxt);
451int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000452HREF="libxml-xpathinternals.html#VALUEPUSH"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000453>valuePush</A
454> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000455HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000456>xmlXPathParserContextPtr</A
457> ctxt,
458 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000459HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000460>xmlXPathObjectPtr</A
461> value);
462<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000463HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000464>xmlXPathObjectPtr</A
465> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000466HREF="libxml-xpathinternals.html#XMLXPATHNEWSTRING"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000467>xmlXPathNewString</A
468> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000469HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000470>xmlChar</A
471> *val);
472<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000473HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000474>xmlXPathObjectPtr</A
475> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000476HREF="libxml-xpathinternals.html#XMLXPATHNEWCSTRING"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000477>xmlXPathNewCString</A
478> (const char *val);
479<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000480HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000481>xmlXPathObjectPtr</A
482> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000483HREF="libxml-xpathinternals.html#XMLXPATHNEWFLOAT"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000484>xmlXPathNewFloat</A
485> (<GTKDOCLINK
486HREF="DOUBLE"
487>double</GTKDOCLINK
488> val);
489<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000490HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000491>xmlXPathObjectPtr</A
492> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000493HREF="libxml-xpathinternals.html#XMLXPATHNEWBOOLEAN"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000494>xmlXPathNewBoolean</A
495> (int val);
496<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000497HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000498>xmlXPathObjectPtr</A
499> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000500HREF="libxml-xpathinternals.html#XMLXPATHNEWNODESET"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000501>xmlXPathNewNodeSet</A
502> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000503HREF="libxml-tree.html#XMLNODEPTR"
504>xmlNodePtr</A
505> val);
506<A
507HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
508>xmlXPathObjectPtr</A
509> <A
510HREF="libxml-xpathinternals.html#XMLXPATHNEWVALUETREE"
511>xmlXPathNewValueTree</A
512> (<A
513HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000514>xmlNodePtr</A
515> val);
516void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000517HREF="libxml-xpathinternals.html#XMLXPATHNODESETADD"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000518>xmlXPathNodeSetAdd</A
519> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000520HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000521>xmlNodeSetPtr</A
522> cur,
523 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000524HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000525>xmlNodePtr</A
526> val);
527void <A
Daniel Veillarda41123c2001-04-22 19:31:20 +0000528HREF="libxml-xpathinternals.html#XMLXPATHNODESETADDUNIQUE"
529>xmlXPathNodeSetAddUnique</A
530> (<A
531HREF="libxml-xpath.html#XMLNODESETPTR"
532>xmlNodeSetPtr</A
533> cur,
534 <A
535HREF="libxml-tree.html#XMLNODEPTR"
536>xmlNodePtr</A
537> val);
538void <A
539HREF="libxml-xpathinternals.html#XMLXPATHNODESETSORT"
540>xmlXPathNodeSetSort</A
541> (<A
542HREF="libxml-xpath.html#XMLNODESETPTR"
543>xmlNodeSetPtr</A
544> set);
545void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000546HREF="libxml-xpathinternals.html#XMLXPATHIDFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000547>xmlXPathIdFunction</A
548> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000549HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000550>xmlXPathParserContextPtr</A
551> ctxt,
552 int nargs);
553void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000554HREF="libxml-xpathinternals.html#XMLXPATHROOT"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000555>xmlXPathRoot</A
556> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000557HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000558>xmlXPathParserContextPtr</A
559> ctxt);
560void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000561HREF="libxml-xpathinternals.html#XMLXPATHEVALEXPR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000562>xmlXPathEvalExpr</A
563> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000564HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000565>xmlXPathParserContextPtr</A
566> ctxt);
567<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000568HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000569>xmlChar</A
570>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000571HREF="libxml-xpathinternals.html#XMLXPATHPARSENAME"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000572>xmlXPathParseName</A
573> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000574HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000575>xmlXPathParserContextPtr</A
576> ctxt);
Daniel Veillard503b8932001-01-05 06:36:31 +0000577<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000578HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard503b8932001-01-05 06:36:31 +0000579>xmlChar</A
580>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000581HREF="libxml-xpathinternals.html#XMLXPATHPARSENCNAME"
Daniel Veillard503b8932001-01-05 06:36:31 +0000582>xmlXPathParseNCName</A
583> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000584HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard503b8932001-01-05 06:36:31 +0000585>xmlXPathParserContextPtr</A
586> ctxt);
Daniel Veillard9753ad72000-11-13 19:12:23 +0000587<GTKDOCLINK
588HREF="DOUBLE"
589>double</GTKDOCLINK
590> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000591HREF="libxml-xpathinternals.html#XMLXPATHSTRINGEVALNUMBER"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000592>xmlXPathStringEvalNumber</A
593> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000594HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000595>xmlChar</A
596> *str);
Daniel Veillarda1fe9102000-11-25 10:49:25 +0000597int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000598HREF="libxml-xpathinternals.html#XMLXPATHEVALUATEPREDICATERESULT"
Daniel Veillarda1fe9102000-11-25 10:49:25 +0000599>xmlXPathEvaluatePredicateResult</A
600> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000601HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +0000602>xmlXPathParserContextPtr</A
603> ctxt,
604 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000605HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +0000606>xmlXPathObjectPtr</A
607> res);
Daniel Veillard9753ad72000-11-13 19:12:23 +0000608void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000609HREF="libxml-xpath.html#XMLXPATHINIT"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000610>xmlXPathInit</A
611> (void);
612void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000613HREF="libxml-xpathinternals.html#XMLXPATHSTRINGFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000614>xmlXPathStringFunction</A
615> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000616HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000617>xmlXPathParserContextPtr</A
618> ctxt,
619 int nargs);
620void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000621HREF="libxml-xpathinternals.html#XMLXPATHREGISTERALLFUNCTIONS"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000622>xmlXPathRegisterAllFunctions</A
623> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000624HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000625>xmlXPathContextPtr</A
626> ctxt);
627<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000628HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000629>xmlNodeSetPtr</A
630> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000631HREF="libxml-xpath.html#XMLXPATHNODESETCREATE"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000632>xmlXPathNodeSetCreate</A
633> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000634HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000635>xmlNodePtr</A
636> val);
637<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000638HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000639>xmlNodeSetPtr</A
640> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000641HREF="libxml-xpathinternals.html#XMLXPATHNODESETMERGE"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000642>xmlXPathNodeSetMerge</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> val1,
647 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000648HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000649>xmlNodeSetPtr</A
650> val2);
651void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000652HREF="libxml-xpathinternals.html#XMLXPATHNODESETDEL"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000653>xmlXPathNodeSetDel</A
654> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000655HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000656>xmlNodeSetPtr</A
657> cur,
658 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000659HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000660>xmlNodePtr</A
661> val);
662void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000663HREF="libxml-xpathinternals.html#XMLXPATHNODESETREMOVE"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000664>xmlXPathNodeSetRemove</A
665> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000666HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000667>xmlNodeSetPtr</A
668> cur,
669 int val);
670void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000671HREF="libxml-xpath.html#XMLXPATHFREENODESET"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000672>xmlXPathFreeNodeSet</A
673> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000674HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000675>xmlNodeSetPtr</A
676> obj);
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> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000681HREF="libxml-xpathinternals.html#XMLXPATHNEWNODESETLIST"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000682>xmlXPathNewNodeSetList</A
683> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000684HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000685>xmlNodeSetPtr</A
686> val);
687<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000688HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000689>xmlXPathObjectPtr</A
690> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000691HREF="libxml-xpathinternals.html#XMLXPATHWRAPNODESET"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000692>xmlXPathWrapNodeSet</A
693> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000694HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000695>xmlNodeSetPtr</A
696> val);
697void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000698HREF="libxml-xpath.html#XMLXPATHFREENODESETLIST"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000699>xmlXPathFreeNodeSetList</A
700> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000701HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000702>xmlXPathObjectPtr</A
703> obj);
704void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000705HREF="libxml-xpath.html#XMLXPATHFREEOBJECT"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000706>xmlXPathFreeObject</A
707> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000708HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000709>xmlXPathObjectPtr</A
710> obj);
711<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000712HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000713>xmlXPathContextPtr</A
714> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000715HREF="libxml-xpath.html#XMLXPATHNEWCONTEXT"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000716>xmlXPathNewContext</A
717> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000718HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000719>xmlDocPtr</A
720> doc);
721void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000722HREF="libxml-xpath.html#XMLXPATHFREECONTEXT"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000723>xmlXPathFreeContext</A
724> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000725HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000726>xmlXPathContextPtr</A
727> ctxt);
728int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000729HREF="libxml-xpathinternals.html#XMLXPATHEQUALVALUES"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000730>xmlXPathEqualValues</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);
735int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000736HREF="libxml-xpathinternals.html#XMLXPATHCOMPAREVALUES"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000737>xmlXPathCompareValues</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,
742 int inf,
743 int strict);
744void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000745HREF="libxml-xpathinternals.html#XMLXPATHVALUEFLIPSIGN"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000746>xmlXPathValueFlipSign</A
747> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000748HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000749>xmlXPathParserContextPtr</A
750> ctxt);
751void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000752HREF="libxml-xpathinternals.html#XMLXPATHADDVALUES"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000753>xmlXPathAddValues</A
754> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000755HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000756>xmlXPathParserContextPtr</A
757> ctxt);
758void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000759HREF="libxml-xpathinternals.html#XMLXPATHSUBVALUES"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000760>xmlXPathSubValues</A
761> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000762HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000763>xmlXPathParserContextPtr</A
764> ctxt);
765void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000766HREF="libxml-xpathinternals.html#XMLXPATHMULTVALUES"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000767>xmlXPathMultValues</A
768> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000769HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000770>xmlXPathParserContextPtr</A
771> ctxt);
772void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000773HREF="libxml-xpathinternals.html#XMLXPATHDIVVALUES"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000774>xmlXPathDivValues</A
775> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000776HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000777>xmlXPathParserContextPtr</A
778> ctxt);
779void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000780HREF="libxml-xpathinternals.html#XMLXPATHMODVALUES"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000781>xmlXPathModValues</A
782> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000783HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000784>xmlXPathParserContextPtr</A
785> ctxt);
Daniel Veillarda41123c2001-04-22 19:31:20 +0000786int <A
787HREF="libxml-xpathinternals.html#XMLXPATHISNODETYPE"
788>xmlXPathIsNodeType</A
789> (const <A
790HREF="libxml-tree.html#XMLCHAR"
791>xmlChar</A
792> *name);
793<A
794HREF="libxml-tree.html#XMLNODEPTR"
795>xmlNodePtr</A
796> <A
797HREF="libxml-xpathinternals.html#XMLXPATHNEXTSELF"
798>xmlXPathNextSelf</A
799> (<A
800HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
801>xmlXPathParserContextPtr</A
802> ctxt,
803 <A
804HREF="libxml-tree.html#XMLNODEPTR"
805>xmlNodePtr</A
806> cur);
807<A
808HREF="libxml-tree.html#XMLNODEPTR"
809>xmlNodePtr</A
810> <A
811HREF="libxml-xpathinternals.html#XMLXPATHNEXTCHILD"
812>xmlXPathNextChild</A
813> (<A
814HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
815>xmlXPathParserContextPtr</A
816> ctxt,
817 <A
818HREF="libxml-tree.html#XMLNODEPTR"
819>xmlNodePtr</A
820> cur);
821<A
822HREF="libxml-tree.html#XMLNODEPTR"
823>xmlNodePtr</A
824> <A
825HREF="libxml-xpathinternals.html#XMLXPATHNEXTDESCENDANT"
826>xmlXPathNextDescendant</A
827> (<A
828HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
829>xmlXPathParserContextPtr</A
830> ctxt,
831 <A
832HREF="libxml-tree.html#XMLNODEPTR"
833>xmlNodePtr</A
834> cur);
835<A
836HREF="libxml-tree.html#XMLNODEPTR"
837>xmlNodePtr</A
838> <A
839HREF="libxml-xpathinternals.html#XMLXPATHNEXTDESCENDANTORSELF"
840>xmlXPathNextDescendantOrSelf</A
841> (<A
842HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
843>xmlXPathParserContextPtr</A
844> ctxt,
845 <A
846HREF="libxml-tree.html#XMLNODEPTR"
847>xmlNodePtr</A
848> cur);
849<A
850HREF="libxml-tree.html#XMLNODEPTR"
851>xmlNodePtr</A
852> <A
853HREF="libxml-xpathinternals.html#XMLXPATHNEXTPARENT"
854>xmlXPathNextParent</A
855> (<A
856HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
857>xmlXPathParserContextPtr</A
858> ctxt,
859 <A
860HREF="libxml-tree.html#XMLNODEPTR"
861>xmlNodePtr</A
862> cur);
863<A
864HREF="libxml-tree.html#XMLNODEPTR"
865>xmlNodePtr</A
866> <A
867HREF="libxml-xpathinternals.html#XMLXPATHNEXTANCESTORORSELF"
868>xmlXPathNextAncestorOrSelf</A
869> (<A
870HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
871>xmlXPathParserContextPtr</A
872> ctxt,
873 <A
874HREF="libxml-tree.html#XMLNODEPTR"
875>xmlNodePtr</A
876> cur);
877<A
878HREF="libxml-tree.html#XMLNODEPTR"
879>xmlNodePtr</A
880> <A
881HREF="libxml-xpathinternals.html#XMLXPATHNEXTFOLLOWINGSIBLING"
882>xmlXPathNextFollowingSibling</A
883> (<A
884HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
885>xmlXPathParserContextPtr</A
886> ctxt,
887 <A
888HREF="libxml-tree.html#XMLNODEPTR"
889>xmlNodePtr</A
890> cur);
891<A
892HREF="libxml-tree.html#XMLNODEPTR"
893>xmlNodePtr</A
894> <A
895HREF="libxml-xpathinternals.html#XMLXPATHNEXTFOLLOWING"
896>xmlXPathNextFollowing</A
897> (<A
898HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
899>xmlXPathParserContextPtr</A
900> ctxt,
901 <A
902HREF="libxml-tree.html#XMLNODEPTR"
903>xmlNodePtr</A
904> cur);
905<A
906HREF="libxml-tree.html#XMLNODEPTR"
907>xmlNodePtr</A
908> <A
909HREF="libxml-xpathinternals.html#XMLXPATHNEXTNAMESPACE"
910>xmlXPathNextNamespace</A
911> (<A
912HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
913>xmlXPathParserContextPtr</A
914> ctxt,
915 <A
916HREF="libxml-tree.html#XMLNODEPTR"
917>xmlNodePtr</A
918> cur);
919<A
920HREF="libxml-tree.html#XMLNODEPTR"
921>xmlNodePtr</A
922> <A
923HREF="libxml-xpathinternals.html#XMLXPATHNEXTATTRIBUTE"
924>xmlXPathNextAttribute</A
925> (<A
926HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
927>xmlXPathParserContextPtr</A
928> ctxt,
929 <A
930HREF="libxml-tree.html#XMLNODEPTR"
931>xmlNodePtr</A
932> cur);
Daniel Veillarde356c282001-03-10 12:32:04 +0000933<A
934HREF="libxml-tree.html#XMLNODEPTR"
935>xmlNodePtr</A
936> <A
937HREF="libxml-xpathinternals.html#XMLXPATHNEXTPRECEDING"
938>xmlXPathNextPreceding</A
939> (<A
940HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
941>xmlXPathParserContextPtr</A
942> ctxt,
943 <A
944HREF="libxml-tree.html#XMLNODEPTR"
945>xmlNodePtr</A
946> cur);
947<A
948HREF="libxml-tree.html#XMLNODEPTR"
949>xmlNodePtr</A
950> <A
951HREF="libxml-xpathinternals.html#XMLXPATHNEXTANCESTOR"
952>xmlXPathNextAncestor</A
953> (<A
954HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
955>xmlXPathParserContextPtr</A
956> ctxt,
957 <A
958HREF="libxml-tree.html#XMLNODEPTR"
959>xmlNodePtr</A
960> cur);
961<A
962HREF="libxml-tree.html#XMLNODEPTR"
963>xmlNodePtr</A
964> <A
965HREF="libxml-xpathinternals.html#XMLXPATHNEXTPRECEDINGSIBLING"
966>xmlXPathNextPrecedingSibling</A
967> (<A
968HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
969>xmlXPathParserContextPtr</A
970> ctxt,
971 <A
972HREF="libxml-tree.html#XMLNODEPTR"
973>xmlNodePtr</A
974> cur);
Daniel Veillard9753ad72000-11-13 19:12:23 +0000975void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000976HREF="libxml-xpathinternals.html#XMLXPATHLASTFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000977>xmlXPathLastFunction</A
978> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000979HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000980>xmlXPathParserContextPtr</A
981> ctxt,
982 int nargs);
983void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000984HREF="libxml-xpathinternals.html#XMLXPATHPOSITIONFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000985>xmlXPathPositionFunction</A
986> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000987HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000988>xmlXPathParserContextPtr</A
989> ctxt,
990 int nargs);
991void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000992HREF="libxml-xpathinternals.html#XMLXPATHCOUNTFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000993>xmlXPathCountFunction</A
994> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000995HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000996>xmlXPathParserContextPtr</A
997> ctxt,
998 int nargs);
999void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001000HREF="libxml-xpathinternals.html#XMLXPATHLOCALNAMEFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001001>xmlXPathLocalNameFunction</A
1002> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001003HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001004>xmlXPathParserContextPtr</A
1005> ctxt,
1006 int nargs);
1007void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001008HREF="libxml-xpathinternals.html#XMLXPATHNAMESPACEURIFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001009>xmlXPathNamespaceURIFunction</A
1010> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001011HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001012>xmlXPathParserContextPtr</A
1013> ctxt,
1014 int nargs);
1015void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001016HREF="libxml-xpathinternals.html#XMLXPATHSTRINGLENGTHFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001017>xmlXPathStringLengthFunction</A
1018> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001019HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001020>xmlXPathParserContextPtr</A
1021> ctxt,
1022 int nargs);
1023void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001024HREF="libxml-xpathinternals.html#XMLXPATHCONCATFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001025>xmlXPathConcatFunction</A
1026> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001027HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001028>xmlXPathParserContextPtr</A
1029> ctxt,
1030 int nargs);
1031void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001032HREF="libxml-xpathinternals.html#XMLXPATHCONTAINSFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001033>xmlXPathContainsFunction</A
1034> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001035HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001036>xmlXPathParserContextPtr</A
1037> ctxt,
1038 int nargs);
1039void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001040HREF="libxml-xpathinternals.html#XMLXPATHSTARTSWITHFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001041>xmlXPathStartsWithFunction</A
1042> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001043HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001044>xmlXPathParserContextPtr</A
1045> ctxt,
1046 int nargs);
1047void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001048HREF="libxml-xpathinternals.html#XMLXPATHSUBSTRINGFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001049>xmlXPathSubstringFunction</A
1050> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001051HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001052>xmlXPathParserContextPtr</A
1053> ctxt,
1054 int nargs);
1055void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001056HREF="libxml-xpathinternals.html#XMLXPATHSUBSTRINGBEFOREFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001057>xmlXPathSubstringBeforeFunction</A
1058> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001059HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001060>xmlXPathParserContextPtr</A
1061> ctxt,
1062 int nargs);
1063void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001064HREF="libxml-xpathinternals.html#XMLXPATHSUBSTRINGAFTERFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001065>xmlXPathSubstringAfterFunction</A
1066> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001067HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001068>xmlXPathParserContextPtr</A
1069> ctxt,
1070 int nargs);
1071void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001072HREF="libxml-xpathinternals.html#XMLXPATHNORMALIZEFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001073>xmlXPathNormalizeFunction</A
1074> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001075HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001076>xmlXPathParserContextPtr</A
1077> ctxt,
1078 int nargs);
1079void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001080HREF="libxml-xpathinternals.html#XMLXPATHTRANSLATEFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001081>xmlXPathTranslateFunction</A
1082> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001083HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001084>xmlXPathParserContextPtr</A
1085> ctxt,
1086 int nargs);
1087void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001088HREF="libxml-xpathinternals.html#XMLXPATHNOTFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001089>xmlXPathNotFunction</A
1090> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001091HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001092>xmlXPathParserContextPtr</A
1093> ctxt,
1094 int nargs);
1095void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001096HREF="libxml-xpathinternals.html#XMLXPATHTRUEFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001097>xmlXPathTrueFunction</A
1098> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001099HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001100>xmlXPathParserContextPtr</A
1101> ctxt,
1102 int nargs);
1103void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001104HREF="libxml-xpathinternals.html#XMLXPATHFALSEFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001105>xmlXPathFalseFunction</A
1106> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001107HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001108>xmlXPathParserContextPtr</A
1109> ctxt,
1110 int nargs);
1111void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001112HREF="libxml-xpathinternals.html#XMLXPATHLANGFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001113>xmlXPathLangFunction</A
1114> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001115HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001116>xmlXPathParserContextPtr</A
1117> ctxt,
1118 int nargs);
1119void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001120HREF="libxml-xpathinternals.html#XMLXPATHNUMBERFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001121>xmlXPathNumberFunction</A
1122> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001123HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001124>xmlXPathParserContextPtr</A
1125> ctxt,
1126 int nargs);
1127void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001128HREF="libxml-xpathinternals.html#XMLXPATHSUMFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001129>xmlXPathSumFunction</A
1130> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001131HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001132>xmlXPathParserContextPtr</A
1133> ctxt,
1134 int nargs);
1135void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001136HREF="libxml-xpathinternals.html#XMLXPATHFLOORFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001137>xmlXPathFloorFunction</A
1138> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001139HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001140>xmlXPathParserContextPtr</A
1141> ctxt,
1142 int nargs);
1143void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001144HREF="libxml-xpathinternals.html#XMLXPATHCEILINGFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001145>xmlXPathCeilingFunction</A
1146> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001147HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001148>xmlXPathParserContextPtr</A
1149> ctxt,
1150 int nargs);
1151void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001152HREF="libxml-xpathinternals.html#XMLXPATHROUNDFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001153>xmlXPathRoundFunction</A
1154> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001155HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
1156>xmlXPathParserContextPtr</A
1157> ctxt,
1158 int nargs);
1159void <A
1160HREF="libxml-xpathinternals.html#XMLXPATHBOOLEANFUNCTION"
1161>xmlXPathBooleanFunction</A
1162> (<A
1163HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001164>xmlXPathParserContextPtr</A
1165> ctxt,
1166 int nargs);</PRE
1167></TD
1168></TR
1169></TABLE
1170></DIV
1171><DIV
1172CLASS="REFSECT1"
1173><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00001174NAME="AEN11798"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001175></A
1176><H2
1177>Description</H2
1178><P
1179></P
1180></DIV
1181><DIV
1182CLASS="REFSECT1"
1183><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00001184NAME="AEN11801"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001185></A
1186><H2
1187>Details</H2
1188><DIV
1189CLASS="REFSECT2"
1190><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00001191NAME="AEN11803"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001192></A
1193><H3
1194><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001195NAME="CHECK-ERROR-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001196></A
1197>CHECK_ERROR</H3
1198><TABLE
1199BORDER="0"
1200BGCOLOR="#D6E8FF"
1201WIDTH="100%"
1202CELLPADDING="6"
1203><TR
1204><TD
1205><PRE
1206CLASS="PROGRAMLISTING"
1207>#define CHECK_ERROR</PRE
1208></TD
1209></TR
1210></TABLE
1211><P
1212></P
1213></DIV
1214><HR><DIV
1215CLASS="REFSECT2"
1216><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00001217NAME="AEN11808"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001218></A
1219><H3
1220><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001221NAME="CHECK-ERROR0-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001222></A
1223>CHECK_ERROR0</H3
1224><TABLE
1225BORDER="0"
1226BGCOLOR="#D6E8FF"
1227WIDTH="100%"
1228CELLPADDING="6"
1229><TR
1230><TD
1231><PRE
1232CLASS="PROGRAMLISTING"
1233>#define CHECK_ERROR0</PRE
1234></TD
1235></TR
1236></TABLE
1237><P
1238></P
1239></DIV
1240><HR><DIV
1241CLASS="REFSECT2"
1242><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00001243NAME="AEN11813"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001244></A
1245><H3
1246><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001247NAME="XP-ERROR-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001248></A
1249>XP_ERROR()</H3
1250><TABLE
1251BORDER="0"
1252BGCOLOR="#D6E8FF"
1253WIDTH="100%"
1254CELLPADDING="6"
1255><TR
1256><TD
1257><PRE
1258CLASS="PROGRAMLISTING"
1259>#define XP_ERROR(X)</PRE
1260></TD
1261></TR
1262></TABLE
1263><P
1264></P
1265><DIV
1266CLASS="INFORMALTABLE"
1267><P
1268></P
1269><TABLE
1270BORDER="0"
1271WIDTH="100%"
1272BGCOLOR="#FFD0D0"
1273CELLSPACING="0"
1274CELLPADDING="4"
1275CLASS="CALSTABLE"
1276><TR
1277><TD
1278WIDTH="20%"
1279ALIGN="RIGHT"
1280VALIGN="TOP"
1281><TT
1282CLASS="PARAMETER"
1283><I
1284>X</I
1285></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00001286>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001287><TD
1288WIDTH="80%"
1289ALIGN="LEFT"
1290VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001291>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001292></TR
1293></TABLE
1294><P
1295></P
1296></DIV
1297></DIV
1298><HR><DIV
1299CLASS="REFSECT2"
1300><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00001301NAME="AEN11827"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001302></A
1303><H3
1304><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001305NAME="XP-ERROR0-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001306></A
1307>XP_ERROR0()</H3
1308><TABLE
1309BORDER="0"
1310BGCOLOR="#D6E8FF"
1311WIDTH="100%"
1312CELLPADDING="6"
1313><TR
1314><TD
1315><PRE
1316CLASS="PROGRAMLISTING"
1317>#define XP_ERROR0(X)</PRE
1318></TD
1319></TR
1320></TABLE
1321><P
1322></P
1323><DIV
1324CLASS="INFORMALTABLE"
1325><P
1326></P
1327><TABLE
1328BORDER="0"
1329WIDTH="100%"
1330BGCOLOR="#FFD0D0"
1331CELLSPACING="0"
1332CELLPADDING="4"
1333CLASS="CALSTABLE"
1334><TR
1335><TD
1336WIDTH="20%"
1337ALIGN="RIGHT"
1338VALIGN="TOP"
1339><TT
1340CLASS="PARAMETER"
1341><I
1342>X</I
1343></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00001344>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001345><TD
1346WIDTH="80%"
1347ALIGN="LEFT"
1348VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001349>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001350></TR
1351></TABLE
1352><P
1353></P
1354></DIV
1355></DIV
1356><HR><DIV
1357CLASS="REFSECT2"
1358><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00001359NAME="AEN11841"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001360></A
1361><H3
1362><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001363NAME="CHECK-TYPE-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001364></A
1365>CHECK_TYPE()</H3
1366><TABLE
1367BORDER="0"
1368BGCOLOR="#D6E8FF"
1369WIDTH="100%"
1370CELLPADDING="6"
1371><TR
1372><TD
1373><PRE
1374CLASS="PROGRAMLISTING"
1375>#define CHECK_TYPE(typeval)</PRE
1376></TD
1377></TR
1378></TABLE
1379><P
1380></P
1381><DIV
1382CLASS="INFORMALTABLE"
1383><P
1384></P
1385><TABLE
1386BORDER="0"
1387WIDTH="100%"
1388BGCOLOR="#FFD0D0"
1389CELLSPACING="0"
1390CELLPADDING="4"
1391CLASS="CALSTABLE"
1392><TR
1393><TD
1394WIDTH="20%"
1395ALIGN="RIGHT"
1396VALIGN="TOP"
1397><TT
1398CLASS="PARAMETER"
1399><I
1400>typeval</I
1401></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00001402>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001403><TD
1404WIDTH="80%"
1405ALIGN="LEFT"
1406VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001407>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001408></TR
1409></TABLE
1410><P
1411></P
1412></DIV
1413></DIV
1414><HR><DIV
1415CLASS="REFSECT2"
1416><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00001417NAME="AEN11855"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001418></A
1419><H3
1420><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001421NAME="CHECK-ARITY-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001422></A
1423>CHECK_ARITY()</H3
1424><TABLE
1425BORDER="0"
1426BGCOLOR="#D6E8FF"
1427WIDTH="100%"
1428CELLPADDING="6"
1429><TR
1430><TD
1431><PRE
1432CLASS="PROGRAMLISTING"
1433>#define CHECK_ARITY(x)</PRE
1434></TD
1435></TR
1436></TABLE
1437><P
1438></P
1439><DIV
1440CLASS="INFORMALTABLE"
1441><P
1442></P
1443><TABLE
1444BORDER="0"
1445WIDTH="100%"
1446BGCOLOR="#FFD0D0"
1447CELLSPACING="0"
1448CELLPADDING="4"
1449CLASS="CALSTABLE"
1450><TR
1451><TD
1452WIDTH="20%"
1453ALIGN="RIGHT"
1454VALIGN="TOP"
1455><TT
1456CLASS="PARAMETER"
1457><I
1458>x</I
1459></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00001460>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001461><TD
1462WIDTH="80%"
1463ALIGN="LEFT"
1464VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001465>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001466></TR
1467></TABLE
1468><P
1469></P
1470></DIV
1471></DIV
1472><HR><DIV
1473CLASS="REFSECT2"
1474><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00001475NAME="AEN11869"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001476></A
1477><H3
1478><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001479NAME="CAST-TO-STRING-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001480></A
1481>CAST_TO_STRING</H3
1482><TABLE
1483BORDER="0"
1484BGCOLOR="#D6E8FF"
1485WIDTH="100%"
1486CELLPADDING="6"
1487><TR
1488><TD
1489><PRE
1490CLASS="PROGRAMLISTING"
1491>#define CAST_TO_STRING</PRE
1492></TD
1493></TR
1494></TABLE
1495><P
1496></P
1497></DIV
1498><HR><DIV
1499CLASS="REFSECT2"
1500><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00001501NAME="AEN11874"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001502></A
1503><H3
1504><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001505NAME="CAST-TO-NUMBER-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001506></A
1507>CAST_TO_NUMBER</H3
1508><TABLE
1509BORDER="0"
1510BGCOLOR="#D6E8FF"
1511WIDTH="100%"
1512CELLPADDING="6"
1513><TR
1514><TD
1515><PRE
1516CLASS="PROGRAMLISTING"
1517>#define CAST_TO_NUMBER</PRE
1518></TD
1519></TR
1520></TABLE
1521><P
1522></P
1523></DIV
1524><HR><DIV
1525CLASS="REFSECT2"
1526><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00001527NAME="AEN11879"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001528></A
1529><H3
1530><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001531NAME="CAST-TO-BOOLEAN-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001532></A
1533>CAST_TO_BOOLEAN</H3
1534><TABLE
1535BORDER="0"
1536BGCOLOR="#D6E8FF"
1537WIDTH="100%"
1538CELLPADDING="6"
1539><TR
1540><TD
1541><PRE
1542CLASS="PROGRAMLISTING"
1543>#define CAST_TO_BOOLEAN</PRE
1544></TD
1545></TR
1546></TABLE
1547><P
1548></P
1549></DIV
1550><HR><DIV
1551CLASS="REFSECT2"
1552><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00001553NAME="AEN11884"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001554></A
1555><H3
1556><A
1557NAME="XMLXPATHOBJECTPTR"
1558></A
1559>xmlXPathObjectPtr ()</H3
1560><TABLE
1561BORDER="0"
1562BGCOLOR="#D6E8FF"
1563WIDTH="100%"
1564CELLPADDING="6"
1565><TR
1566><TD
1567><PRE
1568CLASS="PROGRAMLISTING"
1569><GTKDOCLINK
1570HREF="TYPEDEF"
1571>typedef</GTKDOCLINK
1572> xmlXPathObjectPtr ();</PRE
1573></TD
1574></TR
1575></TABLE
1576><P
1577></P
1578><DIV
1579CLASS="INFORMALTABLE"
1580><P
1581></P
1582><TABLE
1583BORDER="0"
1584WIDTH="100%"
1585BGCOLOR="#FFD0D0"
1586CELLSPACING="0"
1587CELLPADDING="4"
1588CLASS="CALSTABLE"
1589><TR
1590><TD
1591WIDTH="20%"
1592ALIGN="RIGHT"
1593VALIGN="TOP"
1594><I
1595CLASS="EMPHASIS"
1596>Returns</I
1597> :</TD
1598><TD
1599WIDTH="80%"
1600ALIGN="LEFT"
1601VALIGN="TOP"
1602>&#13;</TD
1603></TR
1604></TABLE
1605><P
1606></P
1607></DIV
1608></DIV
1609><HR><DIV
1610CLASS="REFSECT2"
1611><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00001612NAME="AEN11899"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001613></A
1614><H3
1615><A
1616NAME="XMLXPATHREGISTERVARIABLELOOKUP"
1617></A
1618>xmlXPathRegisterVariableLookup ()</H3
1619><TABLE
1620BORDER="0"
1621BGCOLOR="#D6E8FF"
1622WIDTH="100%"
1623CELLPADDING="6"
1624><TR
1625><TD
1626><PRE
1627CLASS="PROGRAMLISTING"
1628>void xmlXPathRegisterVariableLookup (<A
1629HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
1630>xmlXPathContextPtr</A
1631> ctxt,
1632 <GTKDOCLINK
1633HREF="XMLXPATHVARIABLELOOKUPFUNC"
1634>xmlXPathVariableLookupFunc</GTKDOCLINK
1635> f,
1636 void *varCtxt);</PRE
1637></TD
1638></TR
1639></TABLE
1640><P
1641>register an external mechanism to do variable lookup</P
1642><P
1643></P
1644><DIV
1645CLASS="INFORMALTABLE"
1646><P
1647></P
1648><TABLE
1649BORDER="0"
1650WIDTH="100%"
1651BGCOLOR="#FFD0D0"
1652CELLSPACING="0"
1653CELLPADDING="4"
1654CLASS="CALSTABLE"
1655><TR
1656><TD
1657WIDTH="20%"
1658ALIGN="RIGHT"
1659VALIGN="TOP"
1660><TT
1661CLASS="PARAMETER"
1662><I
1663>ctxt</I
1664></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00001665>:</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001666><TD
1667WIDTH="80%"
1668ALIGN="LEFT"
1669VALIGN="TOP"
1670> the XPath context</TD
1671></TR
1672><TR
1673><TD
1674WIDTH="20%"
1675ALIGN="RIGHT"
1676VALIGN="TOP"
1677><TT
1678CLASS="PARAMETER"
1679><I
1680>f</I
1681></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00001682>:</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001683><TD
1684WIDTH="80%"
1685ALIGN="LEFT"
1686VALIGN="TOP"
1687> the lookup function</TD
1688></TR
1689><TR
1690><TD
1691WIDTH="20%"
1692ALIGN="RIGHT"
1693VALIGN="TOP"
1694><TT
1695CLASS="PARAMETER"
1696><I
1697>varCtxt</I
1698></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00001699>:</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001700><TD
1701WIDTH="80%"
1702ALIGN="LEFT"
1703VALIGN="TOP"
1704>&#13;</TD
1705></TR
1706></TABLE
1707><P
1708></P
1709></DIV
1710></DIV
1711><HR><DIV
1712CLASS="REFSECT2"
1713><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00001714NAME="AEN11924"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001715></A
1716><H3
1717><A
1718NAME="XMLXPATHERROR"
1719></A
1720>xmlXPatherror ()</H3
1721><TABLE
1722BORDER="0"
1723BGCOLOR="#D6E8FF"
1724WIDTH="100%"
1725CELLPADDING="6"
1726><TR
1727><TD
1728><PRE
1729CLASS="PROGRAMLISTING"
1730>void xmlXPatherror (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001731HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001732>xmlXPathParserContextPtr</A
1733> ctxt,
1734 const char *file,
1735 int line,
1736 int no);</PRE
1737></TD
1738></TR
1739></TABLE
1740><P
1741></P
1742><DIV
1743CLASS="INFORMALTABLE"
1744><P
1745></P
1746><TABLE
1747BORDER="0"
1748WIDTH="100%"
1749BGCOLOR="#FFD0D0"
1750CELLSPACING="0"
1751CELLPADDING="4"
1752CLASS="CALSTABLE"
1753><TR
1754><TD
1755WIDTH="20%"
1756ALIGN="RIGHT"
1757VALIGN="TOP"
1758><TT
1759CLASS="PARAMETER"
1760><I
1761>ctxt</I
1762></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00001763>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001764><TD
1765WIDTH="80%"
1766ALIGN="LEFT"
1767VALIGN="TOP"
1768>&nbsp;</TD
1769></TR
1770><TR
1771><TD
1772WIDTH="20%"
1773ALIGN="RIGHT"
1774VALIGN="TOP"
1775><TT
1776CLASS="PARAMETER"
1777><I
1778>file</I
1779></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00001780>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001781><TD
1782WIDTH="80%"
1783ALIGN="LEFT"
1784VALIGN="TOP"
1785>&nbsp;</TD
1786></TR
1787><TR
1788><TD
1789WIDTH="20%"
1790ALIGN="RIGHT"
1791VALIGN="TOP"
1792><TT
1793CLASS="PARAMETER"
1794><I
1795>line</I
1796></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00001797>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001798><TD
1799WIDTH="80%"
1800ALIGN="LEFT"
1801VALIGN="TOP"
1802>&nbsp;</TD
1803></TR
1804><TR
1805><TD
1806WIDTH="20%"
1807ALIGN="RIGHT"
1808VALIGN="TOP"
1809><TT
1810CLASS="PARAMETER"
1811><I
1812>no</I
1813></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00001814>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001815><TD
1816WIDTH="80%"
1817ALIGN="LEFT"
1818VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001819>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001820></TR
1821></TABLE
1822><P
1823></P
1824></DIV
1825></DIV
1826><HR><DIV
1827CLASS="REFSECT2"
1828><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00001829NAME="AEN11951"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001830></A
1831><H3
1832><A
1833NAME="XMLXPATHDEBUGDUMPOBJECT"
1834></A
1835>xmlXPathDebugDumpObject ()</H3
1836><TABLE
1837BORDER="0"
1838BGCOLOR="#D6E8FF"
1839WIDTH="100%"
1840CELLPADDING="6"
1841><TR
1842><TD
1843><PRE
1844CLASS="PROGRAMLISTING"
1845>void xmlXPathDebugDumpObject (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00001846HREF="FILE-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001847>FILE</GTKDOCLINK
1848> *output,
1849 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001850HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001851>xmlXPathObjectPtr</A
1852> cur,
1853 int depth);</PRE
1854></TD
1855></TR
1856></TABLE
1857><P
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00001858>Dump the content of the object for debugging purposes</P
1859><P
Daniel Veillard9753ad72000-11-13 19:12:23 +00001860></P
1861><DIV
1862CLASS="INFORMALTABLE"
1863><P
1864></P
1865><TABLE
1866BORDER="0"
1867WIDTH="100%"
1868BGCOLOR="#FFD0D0"
1869CELLSPACING="0"
1870CELLPADDING="4"
1871CLASS="CALSTABLE"
1872><TR
1873><TD
1874WIDTH="20%"
1875ALIGN="RIGHT"
1876VALIGN="TOP"
1877><TT
1878CLASS="PARAMETER"
1879><I
1880>output</I
1881></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00001882>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001883><TD
1884WIDTH="80%"
1885ALIGN="LEFT"
1886VALIGN="TOP"
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00001887> the FILE * to dump the output</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001888></TR
1889><TR
1890><TD
1891WIDTH="20%"
1892ALIGN="RIGHT"
1893VALIGN="TOP"
1894><TT
1895CLASS="PARAMETER"
1896><I
1897>cur</I
1898></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00001899>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001900><TD
1901WIDTH="80%"
1902ALIGN="LEFT"
1903VALIGN="TOP"
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00001904> the object to inspect</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001905></TR
1906><TR
1907><TD
1908WIDTH="20%"
1909ALIGN="RIGHT"
1910VALIGN="TOP"
1911><TT
1912CLASS="PARAMETER"
1913><I
1914>depth</I
1915></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00001916>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001917><TD
1918WIDTH="80%"
1919ALIGN="LEFT"
1920VALIGN="TOP"
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00001921> indentation level</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001922></TR
1923></TABLE
1924><P
1925></P
1926></DIV
1927></DIV
1928><HR><DIV
1929CLASS="REFSECT2"
1930><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00001931NAME="AEN11976"
1932></A
1933><H3
1934><A
1935NAME="XMLXPATHDEBUGDUMPCOMPEXPR"
1936></A
1937>xmlXPathDebugDumpCompExpr ()</H3
1938><TABLE
1939BORDER="0"
1940BGCOLOR="#D6E8FF"
1941WIDTH="100%"
1942CELLPADDING="6"
1943><TR
1944><TD
1945><PRE
1946CLASS="PROGRAMLISTING"
1947>void xmlXPathDebugDumpCompExpr (<GTKDOCLINK
1948HREF="FILE-CAPS"
1949>FILE</GTKDOCLINK
1950> *output,
1951 <A
1952HREF="libxml-xpath.html#XMLXPATHCOMPEXPRPTR"
1953>xmlXPathCompExprPtr</A
1954> comp,
1955 int depth);</PRE
1956></TD
1957></TR
1958></TABLE
1959><P
1960></P
1961><DIV
1962CLASS="INFORMALTABLE"
1963><P
1964></P
1965><TABLE
1966BORDER="0"
1967WIDTH="100%"
1968BGCOLOR="#FFD0D0"
1969CELLSPACING="0"
1970CELLPADDING="4"
1971CLASS="CALSTABLE"
1972><TR
1973><TD
1974WIDTH="20%"
1975ALIGN="RIGHT"
1976VALIGN="TOP"
1977><TT
1978CLASS="PARAMETER"
1979><I
1980>output</I
1981></TT
1982>:</TD
1983><TD
1984WIDTH="80%"
1985ALIGN="LEFT"
1986VALIGN="TOP"
1987>&nbsp;</TD
1988></TR
1989><TR
1990><TD
1991WIDTH="20%"
1992ALIGN="RIGHT"
1993VALIGN="TOP"
1994><TT
1995CLASS="PARAMETER"
1996><I
1997>comp</I
1998></TT
1999>:</TD
2000><TD
2001WIDTH="80%"
2002ALIGN="LEFT"
2003VALIGN="TOP"
2004>&nbsp;</TD
2005></TR
2006><TR
2007><TD
2008WIDTH="20%"
2009ALIGN="RIGHT"
2010VALIGN="TOP"
2011><TT
2012CLASS="PARAMETER"
2013><I
2014>depth</I
2015></TT
2016>:</TD
2017><TD
2018WIDTH="80%"
2019ALIGN="LEFT"
2020VALIGN="TOP"
2021>&#13;</TD
2022></TR
2023></TABLE
2024><P
2025></P
2026></DIV
2027></DIV
2028><HR><DIV
2029CLASS="REFSECT2"
2030><A
2031NAME="AEN12000"
Daniel Veillard503b8932001-01-05 06:36:31 +00002032></A
2033><H3
2034><A
2035NAME="XMLXPATHREGISTERNS"
2036></A
2037>xmlXPathRegisterNs ()</H3
2038><TABLE
2039BORDER="0"
2040BGCOLOR="#D6E8FF"
2041WIDTH="100%"
2042CELLPADDING="6"
2043><TR
2044><TD
2045><PRE
2046CLASS="PROGRAMLISTING"
2047>int xmlXPathRegisterNs (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002048HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard503b8932001-01-05 06:36:31 +00002049>xmlXPathContextPtr</A
2050> ctxt,
2051 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002052HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard503b8932001-01-05 06:36:31 +00002053>xmlChar</A
2054> *prefix,
2055 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002056HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard503b8932001-01-05 06:36:31 +00002057>xmlChar</A
2058> *ns_uri);</PRE
2059></TD
2060></TR
2061></TABLE
2062><P
2063>Register a new namespace. If <TT
2064CLASS="PARAMETER"
2065><I
2066>ns_uri</I
2067></TT
2068> is NULL it unregisters
2069the namespace</P
2070><P
2071></P
2072><DIV
2073CLASS="INFORMALTABLE"
2074><P
2075></P
2076><TABLE
2077BORDER="0"
2078WIDTH="100%"
2079BGCOLOR="#FFD0D0"
2080CELLSPACING="0"
2081CELLPADDING="4"
2082CLASS="CALSTABLE"
2083><TR
2084><TD
2085WIDTH="20%"
2086ALIGN="RIGHT"
2087VALIGN="TOP"
2088><TT
2089CLASS="PARAMETER"
2090><I
2091>ctxt</I
2092></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00002093>:</TD
Daniel Veillard503b8932001-01-05 06:36:31 +00002094><TD
2095WIDTH="80%"
2096ALIGN="LEFT"
2097VALIGN="TOP"
2098> the XPath context</TD
2099></TR
2100><TR
2101><TD
2102WIDTH="20%"
2103ALIGN="RIGHT"
2104VALIGN="TOP"
2105><TT
2106CLASS="PARAMETER"
2107><I
2108>prefix</I
2109></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00002110>:</TD
Daniel Veillard503b8932001-01-05 06:36:31 +00002111><TD
2112WIDTH="80%"
2113ALIGN="LEFT"
2114VALIGN="TOP"
2115> the namespace prefix</TD
2116></TR
2117><TR
2118><TD
2119WIDTH="20%"
2120ALIGN="RIGHT"
2121VALIGN="TOP"
2122><TT
2123CLASS="PARAMETER"
2124><I
2125>ns_uri</I
2126></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00002127>:</TD
Daniel Veillard503b8932001-01-05 06:36:31 +00002128><TD
2129WIDTH="80%"
2130ALIGN="LEFT"
2131VALIGN="TOP"
2132> the namespace name</TD
2133></TR
2134><TR
2135><TD
2136WIDTH="20%"
2137ALIGN="RIGHT"
2138VALIGN="TOP"
2139><I
2140CLASS="EMPHASIS"
2141>Returns</I
2142> :</TD
2143><TD
2144WIDTH="80%"
2145ALIGN="LEFT"
2146VALIGN="TOP"
2147>0 in case of success, -1 in case of error</TD
2148></TR
2149></TABLE
2150><P
2151></P
2152></DIV
2153></DIV
2154><HR><DIV
2155CLASS="REFSECT2"
2156><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00002157NAME="AEN12031"
Daniel Veillard503b8932001-01-05 06:36:31 +00002158></A
2159><H3
2160><A
2161NAME="XMLXPATHNSLOOKUP"
2162></A
2163>xmlXPathNsLookup ()</H3
2164><TABLE
2165BORDER="0"
2166BGCOLOR="#D6E8FF"
2167WIDTH="100%"
2168CELLPADDING="6"
2169><TR
2170><TD
2171><PRE
2172CLASS="PROGRAMLISTING"
2173>const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002174HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard503b8932001-01-05 06:36:31 +00002175>xmlChar</A
2176>* xmlXPathNsLookup (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002177HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard503b8932001-01-05 06:36:31 +00002178>xmlXPathContextPtr</A
2179> ctxt,
2180 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002181HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard503b8932001-01-05 06:36:31 +00002182>xmlChar</A
2183> *ns_uri);</PRE
2184></TD
2185></TR
2186></TABLE
2187><P
2188>Search in the namespace declaration array of the context for the given
2189namespace name associated to the given prefix</P
2190><P
2191></P
2192><DIV
2193CLASS="INFORMALTABLE"
2194><P
2195></P
2196><TABLE
2197BORDER="0"
2198WIDTH="100%"
2199BGCOLOR="#FFD0D0"
2200CELLSPACING="0"
2201CELLPADDING="4"
2202CLASS="CALSTABLE"
2203><TR
2204><TD
2205WIDTH="20%"
2206ALIGN="RIGHT"
2207VALIGN="TOP"
2208><TT
2209CLASS="PARAMETER"
2210><I
2211>ctxt</I
2212></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00002213>:</TD
Daniel Veillard503b8932001-01-05 06:36:31 +00002214><TD
2215WIDTH="80%"
2216ALIGN="LEFT"
2217VALIGN="TOP"
2218> the XPath context</TD
2219></TR
2220><TR
2221><TD
2222WIDTH="20%"
2223ALIGN="RIGHT"
2224VALIGN="TOP"
2225><TT
2226CLASS="PARAMETER"
2227><I
2228>ns_uri</I
2229></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00002230>:</TD
Daniel Veillard503b8932001-01-05 06:36:31 +00002231><TD
2232WIDTH="80%"
2233ALIGN="LEFT"
2234VALIGN="TOP"
2235>&nbsp;</TD
2236></TR
2237><TR
2238><TD
2239WIDTH="20%"
2240ALIGN="RIGHT"
2241VALIGN="TOP"
2242><I
2243CLASS="EMPHASIS"
2244>Returns</I
2245> :</TD
2246><TD
2247WIDTH="80%"
2248ALIGN="LEFT"
2249VALIGN="TOP"
2250>the value or NULL if not found</TD
2251></TR
2252></TABLE
2253><P
2254></P
2255></DIV
2256></DIV
2257><HR><DIV
2258CLASS="REFSECT2"
2259><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00002260NAME="AEN12057"
Daniel Veillard503b8932001-01-05 06:36:31 +00002261></A
2262><H3
2263><A
2264NAME="XMLXPATHREGISTEREDNSCLEANUP"
2265></A
2266>xmlXPathRegisteredNsCleanup ()</H3
2267><TABLE
2268BORDER="0"
2269BGCOLOR="#D6E8FF"
2270WIDTH="100%"
2271CELLPADDING="6"
2272><TR
2273><TD
2274><PRE
2275CLASS="PROGRAMLISTING"
2276>void xmlXPathRegisteredNsCleanup (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002277HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard503b8932001-01-05 06:36:31 +00002278>xmlXPathContextPtr</A
2279> ctxt);</PRE
2280></TD
2281></TR
2282></TABLE
2283><P
2284></P
2285><DIV
2286CLASS="INFORMALTABLE"
2287><P
2288></P
2289><TABLE
2290BORDER="0"
2291WIDTH="100%"
2292BGCOLOR="#FFD0D0"
2293CELLSPACING="0"
2294CELLPADDING="4"
2295CLASS="CALSTABLE"
2296><TR
2297><TD
2298WIDTH="20%"
2299ALIGN="RIGHT"
2300VALIGN="TOP"
2301><TT
2302CLASS="PARAMETER"
2303><I
2304>ctxt</I
2305></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00002306>:</TD
Daniel Veillard503b8932001-01-05 06:36:31 +00002307><TD
2308WIDTH="80%"
2309ALIGN="LEFT"
2310VALIGN="TOP"
2311>&#13;</TD
2312></TR
2313></TABLE
2314><P
2315></P
2316></DIV
2317></DIV
2318><HR><DIV
2319CLASS="REFSECT2"
2320><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00002321NAME="AEN12072"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002322></A
2323><H3
2324><A
2325NAME="XMLXPATHREGISTERFUNC"
2326></A
2327>xmlXPathRegisterFunc ()</H3
2328><TABLE
2329BORDER="0"
2330BGCOLOR="#D6E8FF"
2331WIDTH="100%"
2332CELLPADDING="6"
2333><TR
2334><TD
2335><PRE
2336CLASS="PROGRAMLISTING"
2337>int xmlXPathRegisterFunc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002338HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002339>xmlXPathContextPtr</A
2340> ctxt,
2341 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002342HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002343>xmlChar</A
2344> *name,
2345 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002346HREF="libxml-xpath.html#XMLXPATHFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002347>xmlXPathFunction</A
2348> f);</PRE
2349></TD
2350></TR
2351></TABLE
2352><P
2353>Register a new function. If <TT
2354CLASS="PARAMETER"
2355><I
2356>f</I
2357></TT
2358> is NULL it unregisters the function</P
2359><P
2360></P
2361><DIV
2362CLASS="INFORMALTABLE"
2363><P
2364></P
2365><TABLE
2366BORDER="0"
2367WIDTH="100%"
2368BGCOLOR="#FFD0D0"
2369CELLSPACING="0"
2370CELLPADDING="4"
2371CLASS="CALSTABLE"
2372><TR
2373><TD
2374WIDTH="20%"
2375ALIGN="RIGHT"
2376VALIGN="TOP"
2377><TT
2378CLASS="PARAMETER"
2379><I
2380>ctxt</I
2381></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00002382>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00002383><TD
2384WIDTH="80%"
2385ALIGN="LEFT"
2386VALIGN="TOP"
2387> the XPath context</TD
2388></TR
2389><TR
2390><TD
2391WIDTH="20%"
2392ALIGN="RIGHT"
2393VALIGN="TOP"
2394><TT
2395CLASS="PARAMETER"
2396><I
2397>name</I
2398></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00002399>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00002400><TD
2401WIDTH="80%"
2402ALIGN="LEFT"
2403VALIGN="TOP"
2404> the function name</TD
2405></TR
2406><TR
2407><TD
2408WIDTH="20%"
2409ALIGN="RIGHT"
2410VALIGN="TOP"
2411><TT
2412CLASS="PARAMETER"
2413><I
2414>f</I
2415></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00002416>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00002417><TD
2418WIDTH="80%"
2419ALIGN="LEFT"
2420VALIGN="TOP"
2421> the function implementation or NULL</TD
2422></TR
2423><TR
2424><TD
2425WIDTH="20%"
2426ALIGN="RIGHT"
2427VALIGN="TOP"
2428><I
2429CLASS="EMPHASIS"
2430>Returns</I
2431> :</TD
2432><TD
2433WIDTH="80%"
2434ALIGN="LEFT"
2435VALIGN="TOP"
2436>0 in case of success, -1 in case of error</TD
2437></TR
2438></TABLE
2439><P
2440></P
2441></DIV
2442></DIV
2443><HR><DIV
2444CLASS="REFSECT2"
2445><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00002446NAME="AEN12103"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002447></A
2448><H3
2449><A
2450NAME="XMLXPATHREGISTERFUNCNS"
2451></A
2452>xmlXPathRegisterFuncNS ()</H3
2453><TABLE
2454BORDER="0"
2455BGCOLOR="#D6E8FF"
2456WIDTH="100%"
2457CELLPADDING="6"
2458><TR
2459><TD
2460><PRE
2461CLASS="PROGRAMLISTING"
2462>int xmlXPathRegisterFuncNS (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002463HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002464>xmlXPathContextPtr</A
2465> ctxt,
2466 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002467HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002468>xmlChar</A
2469> *name,
2470 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002471HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002472>xmlChar</A
2473> *ns_uri,
2474 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002475HREF="libxml-xpath.html#XMLXPATHFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002476>xmlXPathFunction</A
2477> f);</PRE
2478></TD
2479></TR
2480></TABLE
2481><P
2482>Register a new function. If <TT
2483CLASS="PARAMETER"
2484><I
2485>f</I
2486></TT
2487> is NULL it unregisters the function</P
2488><P
2489></P
2490><DIV
2491CLASS="INFORMALTABLE"
2492><P
2493></P
2494><TABLE
2495BORDER="0"
2496WIDTH="100%"
2497BGCOLOR="#FFD0D0"
2498CELLSPACING="0"
2499CELLPADDING="4"
2500CLASS="CALSTABLE"
2501><TR
2502><TD
2503WIDTH="20%"
2504ALIGN="RIGHT"
2505VALIGN="TOP"
2506><TT
2507CLASS="PARAMETER"
2508><I
2509>ctxt</I
2510></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00002511>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00002512><TD
2513WIDTH="80%"
2514ALIGN="LEFT"
2515VALIGN="TOP"
2516> the XPath context</TD
2517></TR
2518><TR
2519><TD
2520WIDTH="20%"
2521ALIGN="RIGHT"
2522VALIGN="TOP"
2523><TT
2524CLASS="PARAMETER"
2525><I
2526>name</I
2527></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00002528>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00002529><TD
2530WIDTH="80%"
2531ALIGN="LEFT"
2532VALIGN="TOP"
2533> the function name</TD
2534></TR
2535><TR
2536><TD
2537WIDTH="20%"
2538ALIGN="RIGHT"
2539VALIGN="TOP"
2540><TT
2541CLASS="PARAMETER"
2542><I
2543>ns_uri</I
2544></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00002545>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00002546><TD
2547WIDTH="80%"
2548ALIGN="LEFT"
2549VALIGN="TOP"
2550> the function namespace URI</TD
2551></TR
2552><TR
2553><TD
2554WIDTH="20%"
2555ALIGN="RIGHT"
2556VALIGN="TOP"
2557><TT
2558CLASS="PARAMETER"
2559><I
2560>f</I
2561></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00002562>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00002563><TD
2564WIDTH="80%"
2565ALIGN="LEFT"
2566VALIGN="TOP"
2567> the function implementation or NULL</TD
2568></TR
2569><TR
2570><TD
2571WIDTH="20%"
2572ALIGN="RIGHT"
2573VALIGN="TOP"
2574><I
2575CLASS="EMPHASIS"
2576>Returns</I
2577> :</TD
2578><TD
2579WIDTH="80%"
2580ALIGN="LEFT"
2581VALIGN="TOP"
2582>0 in case of success, -1 in case of error</TD
2583></TR
2584></TABLE
2585><P
2586></P
2587></DIV
2588></DIV
2589><HR><DIV
2590CLASS="REFSECT2"
2591><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00002592NAME="AEN12139"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002593></A
2594><H3
2595><A
2596NAME="XMLXPATHREGISTERVARIABLE"
2597></A
2598>xmlXPathRegisterVariable ()</H3
2599><TABLE
2600BORDER="0"
2601BGCOLOR="#D6E8FF"
2602WIDTH="100%"
2603CELLPADDING="6"
2604><TR
2605><TD
2606><PRE
2607CLASS="PROGRAMLISTING"
2608>int xmlXPathRegisterVariable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002609HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002610>xmlXPathContextPtr</A
2611> ctxt,
2612 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002613HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002614>xmlChar</A
2615> *name,
2616 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002617HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002618>xmlXPathObjectPtr</A
2619> value);</PRE
2620></TD
2621></TR
2622></TABLE
2623><P
2624>Register a new variable value. If <TT
2625CLASS="PARAMETER"
2626><I
2627>value</I
2628></TT
2629> is NULL it unregisters
2630the variable</P
2631><P
2632></P
2633><DIV
2634CLASS="INFORMALTABLE"
2635><P
2636></P
2637><TABLE
2638BORDER="0"
2639WIDTH="100%"
2640BGCOLOR="#FFD0D0"
2641CELLSPACING="0"
2642CELLPADDING="4"
2643CLASS="CALSTABLE"
2644><TR
2645><TD
2646WIDTH="20%"
2647ALIGN="RIGHT"
2648VALIGN="TOP"
2649><TT
2650CLASS="PARAMETER"
2651><I
2652>ctxt</I
2653></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00002654>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00002655><TD
2656WIDTH="80%"
2657ALIGN="LEFT"
2658VALIGN="TOP"
2659> the XPath context</TD
2660></TR
2661><TR
2662><TD
2663WIDTH="20%"
2664ALIGN="RIGHT"
2665VALIGN="TOP"
2666><TT
2667CLASS="PARAMETER"
2668><I
2669>name</I
2670></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00002671>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00002672><TD
2673WIDTH="80%"
2674ALIGN="LEFT"
2675VALIGN="TOP"
2676> the variable name</TD
2677></TR
2678><TR
2679><TD
2680WIDTH="20%"
2681ALIGN="RIGHT"
2682VALIGN="TOP"
2683><TT
2684CLASS="PARAMETER"
2685><I
2686>value</I
2687></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00002688>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00002689><TD
2690WIDTH="80%"
2691ALIGN="LEFT"
2692VALIGN="TOP"
2693> the variable value or NULL</TD
2694></TR
2695><TR
2696><TD
2697WIDTH="20%"
2698ALIGN="RIGHT"
2699VALIGN="TOP"
2700><I
2701CLASS="EMPHASIS"
2702>Returns</I
2703> :</TD
2704><TD
2705WIDTH="80%"
2706ALIGN="LEFT"
2707VALIGN="TOP"
2708>0 in case of success, -1 in case of error</TD
2709></TR
2710></TABLE
2711><P
2712></P
2713></DIV
2714></DIV
2715><HR><DIV
2716CLASS="REFSECT2"
2717><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00002718NAME="AEN12170"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002719></A
2720><H3
2721><A
2722NAME="XMLXPATHREGISTERVARIABLENS"
2723></A
2724>xmlXPathRegisterVariableNS ()</H3
2725><TABLE
2726BORDER="0"
2727BGCOLOR="#D6E8FF"
2728WIDTH="100%"
2729CELLPADDING="6"
2730><TR
2731><TD
2732><PRE
2733CLASS="PROGRAMLISTING"
2734>int xmlXPathRegisterVariableNS (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002735HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002736>xmlXPathContextPtr</A
2737> ctxt,
2738 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002739HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002740>xmlChar</A
2741> *name,
2742 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002743HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002744>xmlChar</A
2745> *ns_uri,
2746 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002747HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002748>xmlXPathObjectPtr</A
2749> value);</PRE
2750></TD
2751></TR
2752></TABLE
2753><P
2754>Register a new variable value. If <TT
2755CLASS="PARAMETER"
2756><I
2757>value</I
2758></TT
2759> is NULL it unregisters
2760the variable</P
2761><P
2762></P
2763><DIV
2764CLASS="INFORMALTABLE"
2765><P
2766></P
2767><TABLE
2768BORDER="0"
2769WIDTH="100%"
2770BGCOLOR="#FFD0D0"
2771CELLSPACING="0"
2772CELLPADDING="4"
2773CLASS="CALSTABLE"
2774><TR
2775><TD
2776WIDTH="20%"
2777ALIGN="RIGHT"
2778VALIGN="TOP"
2779><TT
2780CLASS="PARAMETER"
2781><I
2782>ctxt</I
2783></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00002784>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00002785><TD
2786WIDTH="80%"
2787ALIGN="LEFT"
2788VALIGN="TOP"
2789> the XPath context</TD
2790></TR
2791><TR
2792><TD
2793WIDTH="20%"
2794ALIGN="RIGHT"
2795VALIGN="TOP"
2796><TT
2797CLASS="PARAMETER"
2798><I
2799>name</I
2800></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00002801>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00002802><TD
2803WIDTH="80%"
2804ALIGN="LEFT"
2805VALIGN="TOP"
2806> the variable name</TD
2807></TR
2808><TR
2809><TD
2810WIDTH="20%"
2811ALIGN="RIGHT"
2812VALIGN="TOP"
2813><TT
2814CLASS="PARAMETER"
2815><I
2816>ns_uri</I
2817></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00002818>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00002819><TD
2820WIDTH="80%"
2821ALIGN="LEFT"
2822VALIGN="TOP"
2823> the variable namespace URI</TD
2824></TR
2825><TR
2826><TD
2827WIDTH="20%"
2828ALIGN="RIGHT"
2829VALIGN="TOP"
2830><TT
2831CLASS="PARAMETER"
2832><I
2833>value</I
2834></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00002835>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00002836><TD
2837WIDTH="80%"
2838ALIGN="LEFT"
2839VALIGN="TOP"
2840> the variable value or NULL</TD
2841></TR
2842><TR
2843><TD
2844WIDTH="20%"
2845ALIGN="RIGHT"
2846VALIGN="TOP"
2847><I
2848CLASS="EMPHASIS"
2849>Returns</I
2850> :</TD
2851><TD
2852WIDTH="80%"
2853ALIGN="LEFT"
2854VALIGN="TOP"
2855>0 in case of success, -1 in case of error</TD
2856></TR
2857></TABLE
2858><P
2859></P
2860></DIV
2861></DIV
2862><HR><DIV
2863CLASS="REFSECT2"
2864><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00002865NAME="AEN12206"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002866></A
2867><H3
2868><A
2869NAME="XMLXPATHFUNCTIONLOOKUP"
2870></A
2871>xmlXPathFunctionLookup ()</H3
2872><TABLE
2873BORDER="0"
2874BGCOLOR="#D6E8FF"
2875WIDTH="100%"
2876CELLPADDING="6"
2877><TR
2878><TD
2879><PRE
2880CLASS="PROGRAMLISTING"
2881><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002882HREF="libxml-xpath.html#XMLXPATHFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002883>xmlXPathFunction</A
2884> xmlXPathFunctionLookup (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002885HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002886>xmlXPathContextPtr</A
2887> ctxt,
2888 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002889HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002890>xmlChar</A
2891> *name);</PRE
2892></TD
2893></TR
2894></TABLE
2895><P
2896>Search in the Function array of the context for the given
2897function.</P
2898><P
2899></P
2900><DIV
2901CLASS="INFORMALTABLE"
2902><P
2903></P
2904><TABLE
2905BORDER="0"
2906WIDTH="100%"
2907BGCOLOR="#FFD0D0"
2908CELLSPACING="0"
2909CELLPADDING="4"
2910CLASS="CALSTABLE"
2911><TR
2912><TD
2913WIDTH="20%"
2914ALIGN="RIGHT"
2915VALIGN="TOP"
2916><TT
2917CLASS="PARAMETER"
2918><I
2919>ctxt</I
2920></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00002921>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00002922><TD
2923WIDTH="80%"
2924ALIGN="LEFT"
2925VALIGN="TOP"
2926> the XPath context</TD
2927></TR
2928><TR
2929><TD
2930WIDTH="20%"
2931ALIGN="RIGHT"
2932VALIGN="TOP"
2933><TT
2934CLASS="PARAMETER"
2935><I
2936>name</I
2937></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00002938>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00002939><TD
2940WIDTH="80%"
2941ALIGN="LEFT"
2942VALIGN="TOP"
2943> the function name</TD
2944></TR
2945><TR
2946><TD
2947WIDTH="20%"
2948ALIGN="RIGHT"
2949VALIGN="TOP"
2950><I
2951CLASS="EMPHASIS"
2952>Returns</I
2953> :</TD
2954><TD
2955WIDTH="80%"
2956ALIGN="LEFT"
2957VALIGN="TOP"
2958>the xmlXPathFunction or NULL if not found</TD
2959></TR
2960></TABLE
2961><P
2962></P
2963></DIV
2964></DIV
2965><HR><DIV
2966CLASS="REFSECT2"
2967><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00002968NAME="AEN12232"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002969></A
2970><H3
2971><A
2972NAME="XMLXPATHFUNCTIONLOOKUPNS"
2973></A
2974>xmlXPathFunctionLookupNS ()</H3
2975><TABLE
2976BORDER="0"
2977BGCOLOR="#D6E8FF"
2978WIDTH="100%"
2979CELLPADDING="6"
2980><TR
2981><TD
2982><PRE
2983CLASS="PROGRAMLISTING"
2984><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002985HREF="libxml-xpath.html#XMLXPATHFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002986>xmlXPathFunction</A
2987> xmlXPathFunctionLookupNS (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002988HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002989>xmlXPathContextPtr</A
2990> ctxt,
2991 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002992HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002993>xmlChar</A
2994> *name,
2995 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002996HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002997>xmlChar</A
2998> *ns_uri);</PRE
2999></TD
3000></TR
3001></TABLE
3002><P
3003>Search in the Function array of the context for the given
3004function.</P
3005><P
3006></P
3007><DIV
3008CLASS="INFORMALTABLE"
3009><P
3010></P
3011><TABLE
3012BORDER="0"
3013WIDTH="100%"
3014BGCOLOR="#FFD0D0"
3015CELLSPACING="0"
3016CELLPADDING="4"
3017CLASS="CALSTABLE"
3018><TR
3019><TD
3020WIDTH="20%"
3021ALIGN="RIGHT"
3022VALIGN="TOP"
3023><TT
3024CLASS="PARAMETER"
3025><I
3026>ctxt</I
3027></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00003028>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003029><TD
3030WIDTH="80%"
3031ALIGN="LEFT"
3032VALIGN="TOP"
3033> the XPath context</TD
3034></TR
3035><TR
3036><TD
3037WIDTH="20%"
3038ALIGN="RIGHT"
3039VALIGN="TOP"
3040><TT
3041CLASS="PARAMETER"
3042><I
3043>name</I
3044></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00003045>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003046><TD
3047WIDTH="80%"
3048ALIGN="LEFT"
3049VALIGN="TOP"
3050> the function name</TD
3051></TR
3052><TR
3053><TD
3054WIDTH="20%"
3055ALIGN="RIGHT"
3056VALIGN="TOP"
3057><TT
3058CLASS="PARAMETER"
3059><I
3060>ns_uri</I
3061></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00003062>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003063><TD
3064WIDTH="80%"
3065ALIGN="LEFT"
3066VALIGN="TOP"
3067> the function namespace URI</TD
3068></TR
3069><TR
3070><TD
3071WIDTH="20%"
3072ALIGN="RIGHT"
3073VALIGN="TOP"
3074><I
3075CLASS="EMPHASIS"
3076>Returns</I
3077> :</TD
3078><TD
3079WIDTH="80%"
3080ALIGN="LEFT"
3081VALIGN="TOP"
3082>the xmlXPathFunction or NULL if not found</TD
3083></TR
3084></TABLE
3085><P
3086></P
3087></DIV
3088></DIV
3089><HR><DIV
3090CLASS="REFSECT2"
3091><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00003092NAME="AEN12263"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003093></A
3094><H3
3095><A
3096NAME="XMLXPATHREGISTEREDFUNCSCLEANUP"
3097></A
3098>xmlXPathRegisteredFuncsCleanup ()</H3
3099><TABLE
3100BORDER="0"
3101BGCOLOR="#D6E8FF"
3102WIDTH="100%"
3103CELLPADDING="6"
3104><TR
3105><TD
3106><PRE
3107CLASS="PROGRAMLISTING"
3108>void xmlXPathRegisteredFuncsCleanup (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003109HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003110>xmlXPathContextPtr</A
3111> ctxt);</PRE
3112></TD
3113></TR
3114></TABLE
3115><P
3116>Cleanup the XPath context data associated to registered functions</P
3117><P
3118></P
3119><DIV
3120CLASS="INFORMALTABLE"
3121><P
3122></P
3123><TABLE
3124BORDER="0"
3125WIDTH="100%"
3126BGCOLOR="#FFD0D0"
3127CELLSPACING="0"
3128CELLPADDING="4"
3129CLASS="CALSTABLE"
3130><TR
3131><TD
3132WIDTH="20%"
3133ALIGN="RIGHT"
3134VALIGN="TOP"
3135><TT
3136CLASS="PARAMETER"
3137><I
3138>ctxt</I
3139></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00003140>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003141><TD
3142WIDTH="80%"
3143ALIGN="LEFT"
3144VALIGN="TOP"
3145> the XPath context</TD
3146></TR
3147></TABLE
3148><P
3149></P
3150></DIV
3151></DIV
3152><HR><DIV
3153CLASS="REFSECT2"
3154><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00003155NAME="AEN12279"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003156></A
3157><H3
3158><A
3159NAME="XMLXPATHVARIABLELOOKUP"
3160></A
3161>xmlXPathVariableLookup ()</H3
3162><TABLE
3163BORDER="0"
3164BGCOLOR="#D6E8FF"
3165WIDTH="100%"
3166CELLPADDING="6"
3167><TR
3168><TD
3169><PRE
3170CLASS="PROGRAMLISTING"
3171><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003172HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003173>xmlXPathObjectPtr</A
3174> xmlXPathVariableLookup (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003175HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003176>xmlXPathContextPtr</A
3177> ctxt,
3178 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003179HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003180>xmlChar</A
3181> *name);</PRE
3182></TD
3183></TR
3184></TABLE
3185><P
3186>Search in the Variable array of the context for the given
3187variable value.</P
3188><P
3189></P
3190><DIV
3191CLASS="INFORMALTABLE"
3192><P
3193></P
3194><TABLE
3195BORDER="0"
3196WIDTH="100%"
3197BGCOLOR="#FFD0D0"
3198CELLSPACING="0"
3199CELLPADDING="4"
3200CLASS="CALSTABLE"
3201><TR
3202><TD
3203WIDTH="20%"
3204ALIGN="RIGHT"
3205VALIGN="TOP"
3206><TT
3207CLASS="PARAMETER"
3208><I
3209>ctxt</I
3210></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00003211>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003212><TD
3213WIDTH="80%"
3214ALIGN="LEFT"
3215VALIGN="TOP"
3216> the XPath context</TD
3217></TR
3218><TR
3219><TD
3220WIDTH="20%"
3221ALIGN="RIGHT"
3222VALIGN="TOP"
3223><TT
3224CLASS="PARAMETER"
3225><I
3226>name</I
3227></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00003228>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003229><TD
3230WIDTH="80%"
3231ALIGN="LEFT"
3232VALIGN="TOP"
3233> the variable name</TD
3234></TR
3235><TR
3236><TD
3237WIDTH="20%"
3238ALIGN="RIGHT"
3239VALIGN="TOP"
3240><I
3241CLASS="EMPHASIS"
3242>Returns</I
3243> :</TD
3244><TD
3245WIDTH="80%"
3246ALIGN="LEFT"
3247VALIGN="TOP"
3248>the value or NULL if not found</TD
3249></TR
3250></TABLE
3251><P
3252></P
3253></DIV
3254></DIV
3255><HR><DIV
3256CLASS="REFSECT2"
3257><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00003258NAME="AEN12305"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003259></A
3260><H3
3261><A
3262NAME="XMLXPATHVARIABLELOOKUPNS"
3263></A
3264>xmlXPathVariableLookupNS ()</H3
3265><TABLE
3266BORDER="0"
3267BGCOLOR="#D6E8FF"
3268WIDTH="100%"
3269CELLPADDING="6"
3270><TR
3271><TD
3272><PRE
3273CLASS="PROGRAMLISTING"
3274><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003275HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003276>xmlXPathObjectPtr</A
3277> xmlXPathVariableLookupNS (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003278HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003279>xmlXPathContextPtr</A
3280> ctxt,
3281 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003282HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003283>xmlChar</A
3284> *name,
3285 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003286HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003287>xmlChar</A
3288> *ns_uri);</PRE
3289></TD
3290></TR
3291></TABLE
3292><P
3293>Search in the Variable array of the context for the given
3294variable value.</P
3295><P
3296></P
3297><DIV
3298CLASS="INFORMALTABLE"
3299><P
3300></P
3301><TABLE
3302BORDER="0"
3303WIDTH="100%"
3304BGCOLOR="#FFD0D0"
3305CELLSPACING="0"
3306CELLPADDING="4"
3307CLASS="CALSTABLE"
3308><TR
3309><TD
3310WIDTH="20%"
3311ALIGN="RIGHT"
3312VALIGN="TOP"
3313><TT
3314CLASS="PARAMETER"
3315><I
3316>ctxt</I
3317></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00003318>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003319><TD
3320WIDTH="80%"
3321ALIGN="LEFT"
3322VALIGN="TOP"
3323> the XPath context</TD
3324></TR
3325><TR
3326><TD
3327WIDTH="20%"
3328ALIGN="RIGHT"
3329VALIGN="TOP"
3330><TT
3331CLASS="PARAMETER"
3332><I
3333>name</I
3334></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00003335>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003336><TD
3337WIDTH="80%"
3338ALIGN="LEFT"
3339VALIGN="TOP"
3340> the variable name</TD
3341></TR
3342><TR
3343><TD
3344WIDTH="20%"
3345ALIGN="RIGHT"
3346VALIGN="TOP"
3347><TT
3348CLASS="PARAMETER"
3349><I
3350>ns_uri</I
3351></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00003352>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003353><TD
3354WIDTH="80%"
3355ALIGN="LEFT"
3356VALIGN="TOP"
3357> the variable namespace URI</TD
3358></TR
3359><TR
3360><TD
3361WIDTH="20%"
3362ALIGN="RIGHT"
3363VALIGN="TOP"
3364><I
3365CLASS="EMPHASIS"
3366>Returns</I
3367> :</TD
3368><TD
3369WIDTH="80%"
3370ALIGN="LEFT"
3371VALIGN="TOP"
3372>the value or NULL if not found</TD
3373></TR
3374></TABLE
3375><P
3376></P
3377></DIV
3378></DIV
3379><HR><DIV
3380CLASS="REFSECT2"
3381><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00003382NAME="AEN12336"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003383></A
3384><H3
3385><A
3386NAME="XMLXPATHREGISTEREDVARIABLESCLEANUP"
3387></A
3388>xmlXPathRegisteredVariablesCleanup ()</H3
3389><TABLE
3390BORDER="0"
3391BGCOLOR="#D6E8FF"
3392WIDTH="100%"
3393CELLPADDING="6"
3394><TR
3395><TD
3396><PRE
3397CLASS="PROGRAMLISTING"
3398>void xmlXPathRegisteredVariablesCleanup
3399 (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003400HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003401>xmlXPathContextPtr</A
3402> ctxt);</PRE
3403></TD
3404></TR
3405></TABLE
3406><P
3407>Cleanup the XPath context data associated to registered variables</P
3408><P
3409></P
3410><DIV
3411CLASS="INFORMALTABLE"
3412><P
3413></P
3414><TABLE
3415BORDER="0"
3416WIDTH="100%"
3417BGCOLOR="#FFD0D0"
3418CELLSPACING="0"
3419CELLPADDING="4"
3420CLASS="CALSTABLE"
3421><TR
3422><TD
3423WIDTH="20%"
3424ALIGN="RIGHT"
3425VALIGN="TOP"
3426><TT
3427CLASS="PARAMETER"
3428><I
3429>ctxt</I
3430></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00003431>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003432><TD
3433WIDTH="80%"
3434ALIGN="LEFT"
3435VALIGN="TOP"
3436> the XPath context</TD
3437></TR
3438></TABLE
3439><P
3440></P
3441></DIV
3442></DIV
3443><HR><DIV
3444CLASS="REFSECT2"
3445><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00003446NAME="AEN12352"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003447></A
3448><H3
3449><A
3450NAME="XMLXPATHNEWPARSERCONTEXT"
3451></A
3452>xmlXPathNewParserContext ()</H3
3453><TABLE
3454BORDER="0"
3455BGCOLOR="#D6E8FF"
3456WIDTH="100%"
3457CELLPADDING="6"
3458><TR
3459><TD
3460><PRE
3461CLASS="PROGRAMLISTING"
3462><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003463HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003464>xmlXPathParserContextPtr</A
3465> xmlXPathNewParserContext
3466 (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003467HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003468>xmlChar</A
3469> *str,
3470 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003471HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003472>xmlXPathContextPtr</A
3473> ctxt);</PRE
3474></TD
3475></TR
3476></TABLE
3477><P
3478>Create a new xmlXPathParserContext</P
3479><P
3480></P
3481><DIV
3482CLASS="INFORMALTABLE"
3483><P
3484></P
3485><TABLE
3486BORDER="0"
3487WIDTH="100%"
3488BGCOLOR="#FFD0D0"
3489CELLSPACING="0"
3490CELLPADDING="4"
3491CLASS="CALSTABLE"
3492><TR
3493><TD
3494WIDTH="20%"
3495ALIGN="RIGHT"
3496VALIGN="TOP"
3497><TT
3498CLASS="PARAMETER"
3499><I
3500>str</I
3501></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00003502>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003503><TD
3504WIDTH="80%"
3505ALIGN="LEFT"
3506VALIGN="TOP"
3507> the XPath expression</TD
3508></TR
3509><TR
3510><TD
3511WIDTH="20%"
3512ALIGN="RIGHT"
3513VALIGN="TOP"
3514><TT
3515CLASS="PARAMETER"
3516><I
3517>ctxt</I
3518></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00003519>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003520><TD
3521WIDTH="80%"
3522ALIGN="LEFT"
3523VALIGN="TOP"
3524> the XPath context</TD
3525></TR
3526><TR
3527><TD
3528WIDTH="20%"
3529ALIGN="RIGHT"
3530VALIGN="TOP"
3531><I
3532CLASS="EMPHASIS"
3533>Returns</I
3534> :</TD
3535><TD
3536WIDTH="80%"
3537ALIGN="LEFT"
3538VALIGN="TOP"
3539>the xmlXPathParserContext just allocated.</TD
3540></TR
3541></TABLE
3542><P
3543></P
3544></DIV
3545></DIV
3546><HR><DIV
3547CLASS="REFSECT2"
3548><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00003549NAME="AEN12378"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003550></A
3551><H3
3552><A
3553NAME="XMLXPATHFREEPARSERCONTEXT"
3554></A
3555>xmlXPathFreeParserContext ()</H3
3556><TABLE
3557BORDER="0"
3558BGCOLOR="#D6E8FF"
3559WIDTH="100%"
3560CELLPADDING="6"
3561><TR
3562><TD
3563><PRE
3564CLASS="PROGRAMLISTING"
3565>void xmlXPathFreeParserContext (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003566HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003567>xmlXPathParserContextPtr</A
3568> ctxt);</PRE
3569></TD
3570></TR
3571></TABLE
3572><P
3573>Free up an xmlXPathParserContext</P
3574><P
3575></P
3576><DIV
3577CLASS="INFORMALTABLE"
3578><P
3579></P
3580><TABLE
3581BORDER="0"
3582WIDTH="100%"
3583BGCOLOR="#FFD0D0"
3584CELLSPACING="0"
3585CELLPADDING="4"
3586CLASS="CALSTABLE"
3587><TR
3588><TD
3589WIDTH="20%"
3590ALIGN="RIGHT"
3591VALIGN="TOP"
3592><TT
3593CLASS="PARAMETER"
3594><I
3595>ctxt</I
3596></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00003597>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003598><TD
3599WIDTH="80%"
3600ALIGN="LEFT"
3601VALIGN="TOP"
3602> the context to free</TD
3603></TR
3604></TABLE
3605><P
3606></P
3607></DIV
3608></DIV
3609><HR><DIV
3610CLASS="REFSECT2"
3611><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00003612NAME="AEN12394"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003613></A
3614><H3
3615><A
3616NAME="VALUEPOP"
3617></A
3618>valuePop ()</H3
3619><TABLE
3620BORDER="0"
3621BGCOLOR="#D6E8FF"
3622WIDTH="100%"
3623CELLPADDING="6"
3624><TR
3625><TD
3626><PRE
3627CLASS="PROGRAMLISTING"
3628><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003629HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003630>xmlXPathObjectPtr</A
3631> valuePop (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003632HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003633>xmlXPathParserContextPtr</A
3634> ctxt);</PRE
3635></TD
3636></TR
3637></TABLE
3638><P
3639></P
3640><DIV
3641CLASS="INFORMALTABLE"
3642><P
3643></P
3644><TABLE
3645BORDER="0"
3646WIDTH="100%"
3647BGCOLOR="#FFD0D0"
3648CELLSPACING="0"
3649CELLPADDING="4"
3650CLASS="CALSTABLE"
3651><TR
3652><TD
3653WIDTH="20%"
3654ALIGN="RIGHT"
3655VALIGN="TOP"
3656><TT
3657CLASS="PARAMETER"
3658><I
3659>ctxt</I
3660></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00003661>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003662><TD
3663WIDTH="80%"
3664ALIGN="LEFT"
3665VALIGN="TOP"
3666>&nbsp;</TD
3667></TR
3668><TR
3669><TD
3670WIDTH="20%"
3671ALIGN="RIGHT"
3672VALIGN="TOP"
3673><I
3674CLASS="EMPHASIS"
3675>Returns</I
3676> :</TD
3677><TD
3678WIDTH="80%"
3679ALIGN="LEFT"
3680VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00003681>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003682></TR
3683></TABLE
3684><P
3685></P
3686></DIV
3687></DIV
3688><HR><DIV
3689CLASS="REFSECT2"
3690><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00003691NAME="AEN12414"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003692></A
3693><H3
3694><A
3695NAME="VALUEPUSH"
3696></A
3697>valuePush ()</H3
3698><TABLE
3699BORDER="0"
3700BGCOLOR="#D6E8FF"
3701WIDTH="100%"
3702CELLPADDING="6"
3703><TR
3704><TD
3705><PRE
3706CLASS="PROGRAMLISTING"
3707>int valuePush (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003708HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003709>xmlXPathParserContextPtr</A
3710> ctxt,
3711 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003712HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003713>xmlXPathObjectPtr</A
3714> value);</PRE
3715></TD
3716></TR
3717></TABLE
3718><P
3719></P
3720><DIV
3721CLASS="INFORMALTABLE"
3722><P
3723></P
3724><TABLE
3725BORDER="0"
3726WIDTH="100%"
3727BGCOLOR="#FFD0D0"
3728CELLSPACING="0"
3729CELLPADDING="4"
3730CLASS="CALSTABLE"
3731><TR
3732><TD
3733WIDTH="20%"
3734ALIGN="RIGHT"
3735VALIGN="TOP"
3736><TT
3737CLASS="PARAMETER"
3738><I
3739>ctxt</I
3740></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00003741>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003742><TD
3743WIDTH="80%"
3744ALIGN="LEFT"
3745VALIGN="TOP"
3746>&nbsp;</TD
3747></TR
3748><TR
3749><TD
3750WIDTH="20%"
3751ALIGN="RIGHT"
3752VALIGN="TOP"
3753><TT
3754CLASS="PARAMETER"
3755><I
3756>value</I
3757></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00003758>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003759><TD
3760WIDTH="80%"
3761ALIGN="LEFT"
3762VALIGN="TOP"
3763>&nbsp;</TD
3764></TR
3765><TR
3766><TD
3767WIDTH="20%"
3768ALIGN="RIGHT"
3769VALIGN="TOP"
3770><I
3771CLASS="EMPHASIS"
3772>Returns</I
3773> :</TD
3774><TD
3775WIDTH="80%"
3776ALIGN="LEFT"
3777VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00003778>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003779></TR
3780></TABLE
3781><P
3782></P
3783></DIV
3784></DIV
3785><HR><DIV
3786CLASS="REFSECT2"
3787><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00003788NAME="AEN12438"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003789></A
3790><H3
3791><A
3792NAME="XMLXPATHNEWSTRING"
3793></A
3794>xmlXPathNewString ()</H3
3795><TABLE
3796BORDER="0"
3797BGCOLOR="#D6E8FF"
3798WIDTH="100%"
3799CELLPADDING="6"
3800><TR
3801><TD
3802><PRE
3803CLASS="PROGRAMLISTING"
3804><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003805HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003806>xmlXPathObjectPtr</A
3807> xmlXPathNewString (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003808HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003809>xmlChar</A
3810> *val);</PRE
3811></TD
3812></TR
3813></TABLE
3814><P
3815>Create a new xmlXPathObjectPtr of type string and of value <TT
3816CLASS="PARAMETER"
3817><I
3818>val</I
3819></TT
3820></P
3821><P
3822></P
3823><DIV
3824CLASS="INFORMALTABLE"
3825><P
3826></P
3827><TABLE
3828BORDER="0"
3829WIDTH="100%"
3830BGCOLOR="#FFD0D0"
3831CELLSPACING="0"
3832CELLPADDING="4"
3833CLASS="CALSTABLE"
3834><TR
3835><TD
3836WIDTH="20%"
3837ALIGN="RIGHT"
3838VALIGN="TOP"
3839><TT
3840CLASS="PARAMETER"
3841><I
3842>val</I
3843></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00003844>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003845><TD
3846WIDTH="80%"
3847ALIGN="LEFT"
3848VALIGN="TOP"
3849> the xmlChar * value</TD
3850></TR
3851><TR
3852><TD
3853WIDTH="20%"
3854ALIGN="RIGHT"
3855VALIGN="TOP"
3856><I
3857CLASS="EMPHASIS"
3858>Returns</I
3859> :</TD
3860><TD
3861WIDTH="80%"
3862ALIGN="LEFT"
3863VALIGN="TOP"
3864>the newly created object.</TD
3865></TR
3866></TABLE
3867><P
3868></P
3869></DIV
3870></DIV
3871><HR><DIV
3872CLASS="REFSECT2"
3873><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00003874NAME="AEN12460"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003875></A
3876><H3
3877><A
3878NAME="XMLXPATHNEWCSTRING"
3879></A
3880>xmlXPathNewCString ()</H3
3881><TABLE
3882BORDER="0"
3883BGCOLOR="#D6E8FF"
3884WIDTH="100%"
3885CELLPADDING="6"
3886><TR
3887><TD
3888><PRE
3889CLASS="PROGRAMLISTING"
3890><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003891HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003892>xmlXPathObjectPtr</A
3893> xmlXPathNewCString (const char *val);</PRE
3894></TD
3895></TR
3896></TABLE
3897><P
3898>Create a new xmlXPathObjectPtr of type string and of value <TT
3899CLASS="PARAMETER"
3900><I
3901>val</I
3902></TT
3903></P
3904><P
3905></P
3906><DIV
3907CLASS="INFORMALTABLE"
3908><P
3909></P
3910><TABLE
3911BORDER="0"
3912WIDTH="100%"
3913BGCOLOR="#FFD0D0"
3914CELLSPACING="0"
3915CELLPADDING="4"
3916CLASS="CALSTABLE"
3917><TR
3918><TD
3919WIDTH="20%"
3920ALIGN="RIGHT"
3921VALIGN="TOP"
3922><TT
3923CLASS="PARAMETER"
3924><I
3925>val</I
3926></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00003927>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003928><TD
3929WIDTH="80%"
3930ALIGN="LEFT"
3931VALIGN="TOP"
3932> the char * value</TD
3933></TR
3934><TR
3935><TD
3936WIDTH="20%"
3937ALIGN="RIGHT"
3938VALIGN="TOP"
3939><I
3940CLASS="EMPHASIS"
3941>Returns</I
3942> :</TD
3943><TD
3944WIDTH="80%"
3945ALIGN="LEFT"
3946VALIGN="TOP"
3947>the newly created object.</TD
3948></TR
3949></TABLE
3950><P
3951></P
3952></DIV
3953></DIV
3954><HR><DIV
3955CLASS="REFSECT2"
3956><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00003957NAME="AEN12481"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003958></A
3959><H3
3960><A
3961NAME="XMLXPATHNEWFLOAT"
3962></A
3963>xmlXPathNewFloat ()</H3
3964><TABLE
3965BORDER="0"
3966BGCOLOR="#D6E8FF"
3967WIDTH="100%"
3968CELLPADDING="6"
3969><TR
3970><TD
3971><PRE
3972CLASS="PROGRAMLISTING"
3973><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003974HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003975>xmlXPathObjectPtr</A
3976> xmlXPathNewFloat (<GTKDOCLINK
3977HREF="DOUBLE"
3978>double</GTKDOCLINK
3979> val);</PRE
3980></TD
3981></TR
3982></TABLE
3983><P
3984>Create a new xmlXPathObjectPtr of type double and of value <TT
3985CLASS="PARAMETER"
3986><I
3987>val</I
3988></TT
3989></P
3990><P
3991></P
3992><DIV
3993CLASS="INFORMALTABLE"
3994><P
3995></P
3996><TABLE
3997BORDER="0"
3998WIDTH="100%"
3999BGCOLOR="#FFD0D0"
4000CELLSPACING="0"
4001CELLPADDING="4"
4002CLASS="CALSTABLE"
4003><TR
4004><TD
4005WIDTH="20%"
4006ALIGN="RIGHT"
4007VALIGN="TOP"
4008><TT
4009CLASS="PARAMETER"
4010><I
4011>val</I
4012></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00004013>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004014><TD
4015WIDTH="80%"
4016ALIGN="LEFT"
4017VALIGN="TOP"
4018> the double value</TD
4019></TR
4020><TR
4021><TD
4022WIDTH="20%"
4023ALIGN="RIGHT"
4024VALIGN="TOP"
4025><I
4026CLASS="EMPHASIS"
4027>Returns</I
4028> :</TD
4029><TD
4030WIDTH="80%"
4031ALIGN="LEFT"
4032VALIGN="TOP"
4033>the newly created object.</TD
4034></TR
4035></TABLE
4036><P
4037></P
4038></DIV
4039></DIV
4040><HR><DIV
4041CLASS="REFSECT2"
4042><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00004043NAME="AEN12503"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004044></A
4045><H3
4046><A
4047NAME="XMLXPATHNEWBOOLEAN"
4048></A
4049>xmlXPathNewBoolean ()</H3
4050><TABLE
4051BORDER="0"
4052BGCOLOR="#D6E8FF"
4053WIDTH="100%"
4054CELLPADDING="6"
4055><TR
4056><TD
4057><PRE
4058CLASS="PROGRAMLISTING"
4059><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004060HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004061>xmlXPathObjectPtr</A
4062> xmlXPathNewBoolean (int val);</PRE
4063></TD
4064></TR
4065></TABLE
4066><P
4067>Create a new xmlXPathObjectPtr of type boolean and of value <TT
4068CLASS="PARAMETER"
4069><I
4070>val</I
4071></TT
4072></P
4073><P
4074></P
4075><DIV
4076CLASS="INFORMALTABLE"
4077><P
4078></P
4079><TABLE
4080BORDER="0"
4081WIDTH="100%"
4082BGCOLOR="#FFD0D0"
4083CELLSPACING="0"
4084CELLPADDING="4"
4085CLASS="CALSTABLE"
4086><TR
4087><TD
4088WIDTH="20%"
4089ALIGN="RIGHT"
4090VALIGN="TOP"
4091><TT
4092CLASS="PARAMETER"
4093><I
4094>val</I
4095></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00004096>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004097><TD
4098WIDTH="80%"
4099ALIGN="LEFT"
4100VALIGN="TOP"
4101> the boolean value</TD
4102></TR
4103><TR
4104><TD
4105WIDTH="20%"
4106ALIGN="RIGHT"
4107VALIGN="TOP"
4108><I
4109CLASS="EMPHASIS"
4110>Returns</I
4111> :</TD
4112><TD
4113WIDTH="80%"
4114ALIGN="LEFT"
4115VALIGN="TOP"
4116>the newly created object.</TD
4117></TR
4118></TABLE
4119><P
4120></P
4121></DIV
4122></DIV
4123><HR><DIV
4124CLASS="REFSECT2"
4125><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00004126NAME="AEN12524"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004127></A
4128><H3
4129><A
4130NAME="XMLXPATHNEWNODESET"
4131></A
4132>xmlXPathNewNodeSet ()</H3
4133><TABLE
4134BORDER="0"
4135BGCOLOR="#D6E8FF"
4136WIDTH="100%"
4137CELLPADDING="6"
4138><TR
4139><TD
4140><PRE
4141CLASS="PROGRAMLISTING"
4142><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004143HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004144>xmlXPathObjectPtr</A
4145> xmlXPathNewNodeSet (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004146HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004147>xmlNodePtr</A
4148> val);</PRE
4149></TD
4150></TR
4151></TABLE
4152><P
4153>Create a new xmlXPathObjectPtr of type NodeSet and initialize
4154it with the single Node <TT
4155CLASS="PARAMETER"
4156><I
4157>val</I
4158></TT
4159></P
4160><P
4161></P
4162><DIV
4163CLASS="INFORMALTABLE"
4164><P
4165></P
4166><TABLE
4167BORDER="0"
4168WIDTH="100%"
4169BGCOLOR="#FFD0D0"
4170CELLSPACING="0"
4171CELLPADDING="4"
4172CLASS="CALSTABLE"
4173><TR
4174><TD
4175WIDTH="20%"
4176ALIGN="RIGHT"
4177VALIGN="TOP"
4178><TT
4179CLASS="PARAMETER"
4180><I
4181>val</I
4182></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00004183>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004184><TD
4185WIDTH="80%"
4186ALIGN="LEFT"
4187VALIGN="TOP"
4188> the NodePtr value</TD
4189></TR
4190><TR
4191><TD
4192WIDTH="20%"
4193ALIGN="RIGHT"
4194VALIGN="TOP"
4195><I
4196CLASS="EMPHASIS"
4197>Returns</I
4198> :</TD
4199><TD
4200WIDTH="80%"
4201ALIGN="LEFT"
4202VALIGN="TOP"
4203>the newly created object.</TD
4204></TR
4205></TABLE
4206><P
4207></P
4208></DIV
4209></DIV
4210><HR><DIV
4211CLASS="REFSECT2"
4212><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00004213NAME="AEN12546"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004214></A
4215><H3
4216><A
4217NAME="XMLXPATHNEWVALUETREE"
4218></A
4219>xmlXPathNewValueTree ()</H3
4220><TABLE
4221BORDER="0"
4222BGCOLOR="#D6E8FF"
4223WIDTH="100%"
4224CELLPADDING="6"
4225><TR
4226><TD
4227><PRE
4228CLASS="PROGRAMLISTING"
4229><A
4230HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
4231>xmlXPathObjectPtr</A
4232> xmlXPathNewValueTree (<A
4233HREF="libxml-tree.html#XMLNODEPTR"
4234>xmlNodePtr</A
4235> val);</PRE
4236></TD
4237></TR
4238></TABLE
4239><P
4240>Create a new xmlXPathObjectPtr of type Value Tree (XSLT) and initialize
4241it with the tree root <TT
4242CLASS="PARAMETER"
4243><I
4244>val</I
4245></TT
4246></P
4247><P
4248></P
4249><DIV
4250CLASS="INFORMALTABLE"
4251><P
4252></P
4253><TABLE
4254BORDER="0"
4255WIDTH="100%"
4256BGCOLOR="#FFD0D0"
4257CELLSPACING="0"
4258CELLPADDING="4"
4259CLASS="CALSTABLE"
4260><TR
4261><TD
4262WIDTH="20%"
4263ALIGN="RIGHT"
4264VALIGN="TOP"
4265><TT
4266CLASS="PARAMETER"
4267><I
4268>val</I
4269></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00004270>:</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004271><TD
4272WIDTH="80%"
4273ALIGN="LEFT"
4274VALIGN="TOP"
4275> the NodePtr value</TD
4276></TR
4277><TR
4278><TD
4279WIDTH="20%"
4280ALIGN="RIGHT"
4281VALIGN="TOP"
4282><I
4283CLASS="EMPHASIS"
4284>Returns</I
4285> :</TD
4286><TD
4287WIDTH="80%"
4288ALIGN="LEFT"
4289VALIGN="TOP"
4290>the newly created object.</TD
4291></TR
4292></TABLE
4293><P
4294></P
4295></DIV
4296></DIV
4297><HR><DIV
4298CLASS="REFSECT2"
4299><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00004300NAME="AEN12568"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004301></A
4302><H3
4303><A
4304NAME="XMLXPATHNODESETADD"
4305></A
4306>xmlXPathNodeSetAdd ()</H3
4307><TABLE
4308BORDER="0"
4309BGCOLOR="#D6E8FF"
4310WIDTH="100%"
4311CELLPADDING="6"
4312><TR
4313><TD
4314><PRE
4315CLASS="PROGRAMLISTING"
4316>void xmlXPathNodeSetAdd (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004317HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004318>xmlNodeSetPtr</A
4319> cur,
4320 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004321HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004322>xmlNodePtr</A
4323> val);</PRE
4324></TD
4325></TR
4326></TABLE
4327><P
4328>add a new xmlNodePtr ot an existing NodeSet</P
4329><P
4330></P
4331><DIV
4332CLASS="INFORMALTABLE"
4333><P
4334></P
4335><TABLE
4336BORDER="0"
4337WIDTH="100%"
4338BGCOLOR="#FFD0D0"
4339CELLSPACING="0"
4340CELLPADDING="4"
4341CLASS="CALSTABLE"
4342><TR
4343><TD
4344WIDTH="20%"
4345ALIGN="RIGHT"
4346VALIGN="TOP"
4347><TT
4348CLASS="PARAMETER"
4349><I
4350>cur</I
4351></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00004352>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004353><TD
4354WIDTH="80%"
4355ALIGN="LEFT"
4356VALIGN="TOP"
4357> the initial node set</TD
4358></TR
4359><TR
4360><TD
4361WIDTH="20%"
4362ALIGN="RIGHT"
4363VALIGN="TOP"
4364><TT
4365CLASS="PARAMETER"
4366><I
4367>val</I
4368></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00004369>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004370><TD
4371WIDTH="80%"
4372ALIGN="LEFT"
4373VALIGN="TOP"
4374> a new xmlNodePtr</TD
4375></TR
4376></TABLE
4377><P
4378></P
4379></DIV
4380></DIV
4381><HR><DIV
4382CLASS="REFSECT2"
4383><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00004384NAME="AEN12589"
4385></A
4386><H3
4387><A
4388NAME="XMLXPATHNODESETADDUNIQUE"
4389></A
4390>xmlXPathNodeSetAddUnique ()</H3
4391><TABLE
4392BORDER="0"
4393BGCOLOR="#D6E8FF"
4394WIDTH="100%"
4395CELLPADDING="6"
4396><TR
4397><TD
4398><PRE
4399CLASS="PROGRAMLISTING"
4400>void xmlXPathNodeSetAddUnique (<A
4401HREF="libxml-xpath.html#XMLNODESETPTR"
4402>xmlNodeSetPtr</A
4403> cur,
4404 <A
4405HREF="libxml-tree.html#XMLNODEPTR"
4406>xmlNodePtr</A
4407> val);</PRE
4408></TD
4409></TR
4410></TABLE
4411><P
4412>add a new xmlNodePtr ot an existing NodeSet, optimized version
4413when we are sure the node is not already in the set.</P
4414><P
4415></P
4416><DIV
4417CLASS="INFORMALTABLE"
4418><P
4419></P
4420><TABLE
4421BORDER="0"
4422WIDTH="100%"
4423BGCOLOR="#FFD0D0"
4424CELLSPACING="0"
4425CELLPADDING="4"
4426CLASS="CALSTABLE"
4427><TR
4428><TD
4429WIDTH="20%"
4430ALIGN="RIGHT"
4431VALIGN="TOP"
4432><TT
4433CLASS="PARAMETER"
4434><I
4435>cur</I
4436></TT
4437>:</TD
4438><TD
4439WIDTH="80%"
4440ALIGN="LEFT"
4441VALIGN="TOP"
4442> the initial node set</TD
4443></TR
4444><TR
4445><TD
4446WIDTH="20%"
4447ALIGN="RIGHT"
4448VALIGN="TOP"
4449><TT
4450CLASS="PARAMETER"
4451><I
4452>val</I
4453></TT
4454>:</TD
4455><TD
4456WIDTH="80%"
4457ALIGN="LEFT"
4458VALIGN="TOP"
4459> a new xmlNodePtr</TD
4460></TR
4461></TABLE
4462><P
4463></P
4464></DIV
4465></DIV
4466><HR><DIV
4467CLASS="REFSECT2"
4468><A
4469NAME="AEN12610"
4470></A
4471><H3
4472><A
4473NAME="XMLXPATHNODESETSORT"
4474></A
4475>xmlXPathNodeSetSort ()</H3
4476><TABLE
4477BORDER="0"
4478BGCOLOR="#D6E8FF"
4479WIDTH="100%"
4480CELLPADDING="6"
4481><TR
4482><TD
4483><PRE
4484CLASS="PROGRAMLISTING"
4485>void xmlXPathNodeSetSort (<A
4486HREF="libxml-xpath.html#XMLNODESETPTR"
4487>xmlNodeSetPtr</A
4488> set);</PRE
4489></TD
4490></TR
4491></TABLE
4492><P
4493>Sort the node set in document order</P
4494><P
4495></P
4496><DIV
4497CLASS="INFORMALTABLE"
4498><P
4499></P
4500><TABLE
4501BORDER="0"
4502WIDTH="100%"
4503BGCOLOR="#FFD0D0"
4504CELLSPACING="0"
4505CELLPADDING="4"
4506CLASS="CALSTABLE"
4507><TR
4508><TD
4509WIDTH="20%"
4510ALIGN="RIGHT"
4511VALIGN="TOP"
4512><TT
4513CLASS="PARAMETER"
4514><I
4515>set</I
4516></TT
4517>:</TD
4518><TD
4519WIDTH="80%"
4520ALIGN="LEFT"
4521VALIGN="TOP"
4522> the node set</TD
4523></TR
4524></TABLE
4525><P
4526></P
4527></DIV
4528></DIV
4529><HR><DIV
4530CLASS="REFSECT2"
4531><A
4532NAME="AEN12626"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004533></A
4534><H3
4535><A
4536NAME="XMLXPATHIDFUNCTION"
4537></A
4538>xmlXPathIdFunction ()</H3
4539><TABLE
4540BORDER="0"
4541BGCOLOR="#D6E8FF"
4542WIDTH="100%"
4543CELLPADDING="6"
4544><TR
4545><TD
4546><PRE
4547CLASS="PROGRAMLISTING"
4548>void xmlXPathIdFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004549HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004550>xmlXPathParserContextPtr</A
4551> ctxt,
4552 int nargs);</PRE
4553></TD
4554></TR
4555></TABLE
4556><P
4557>Implement the <GTKDOCLINK
4558HREF="ID"
4559>id</GTKDOCLINK
4560>() XPath function
4561node-set id(object)
4562The id function selects elements by their unique ID
4563(see [5.2.1 Unique IDs]). When the argument to id is of type node-set,
4564then the result is the union of the result of applying id to the
4565string value of each of the nodes in the argument node-set. When the
4566argument to id is of any other type, the argument is converted to a
4567string as if by a call to the string function; the string is split
4568into a whitespace-separated list of tokens (whitespace is any sequence
4569of characters matching the production S); the result is a node-set
4570containing the elements in the same document as the context node that
4571have a unique ID equal to any of the tokens in the list.</P
4572><P
4573></P
4574><DIV
4575CLASS="INFORMALTABLE"
4576><P
4577></P
4578><TABLE
4579BORDER="0"
4580WIDTH="100%"
4581BGCOLOR="#FFD0D0"
4582CELLSPACING="0"
4583CELLPADDING="4"
4584CLASS="CALSTABLE"
4585><TR
4586><TD
4587WIDTH="20%"
4588ALIGN="RIGHT"
4589VALIGN="TOP"
4590><TT
4591CLASS="PARAMETER"
4592><I
4593>ctxt</I
4594></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00004595>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004596><TD
4597WIDTH="80%"
4598ALIGN="LEFT"
4599VALIGN="TOP"
4600> the XPath Parser context</TD
4601></TR
4602><TR
4603><TD
4604WIDTH="20%"
4605ALIGN="RIGHT"
4606VALIGN="TOP"
4607><TT
4608CLASS="PARAMETER"
4609><I
4610>nargs</I
4611></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00004612>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004613><TD
4614WIDTH="80%"
4615ALIGN="LEFT"
4616VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004617> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004618></TR
4619></TABLE
4620><P
4621></P
4622></DIV
4623></DIV
4624><HR><DIV
4625CLASS="REFSECT2"
4626><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00004627NAME="AEN12647"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004628></A
4629><H3
4630><A
4631NAME="XMLXPATHROOT"
4632></A
4633>xmlXPathRoot ()</H3
4634><TABLE
4635BORDER="0"
4636BGCOLOR="#D6E8FF"
4637WIDTH="100%"
4638CELLPADDING="6"
4639><TR
4640><TD
4641><PRE
4642CLASS="PROGRAMLISTING"
4643>void xmlXPathRoot (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004644HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004645>xmlXPathParserContextPtr</A
4646> ctxt);</PRE
4647></TD
4648></TR
4649></TABLE
4650><P
4651>Initialize the context to the root of the document</P
4652><P
4653></P
4654><DIV
4655CLASS="INFORMALTABLE"
4656><P
4657></P
4658><TABLE
4659BORDER="0"
4660WIDTH="100%"
4661BGCOLOR="#FFD0D0"
4662CELLSPACING="0"
4663CELLPADDING="4"
4664CLASS="CALSTABLE"
4665><TR
4666><TD
4667WIDTH="20%"
4668ALIGN="RIGHT"
4669VALIGN="TOP"
4670><TT
4671CLASS="PARAMETER"
4672><I
4673>ctxt</I
4674></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00004675>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004676><TD
4677WIDTH="80%"
4678ALIGN="LEFT"
4679VALIGN="TOP"
4680> the XPath Parser context</TD
4681></TR
4682></TABLE
4683><P
4684></P
4685></DIV
4686></DIV
4687><HR><DIV
4688CLASS="REFSECT2"
4689><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00004690NAME="AEN12663"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004691></A
4692><H3
4693><A
4694NAME="XMLXPATHEVALEXPR"
4695></A
4696>xmlXPathEvalExpr ()</H3
4697><TABLE
4698BORDER="0"
4699BGCOLOR="#D6E8FF"
4700WIDTH="100%"
4701CELLPADDING="6"
4702><TR
4703><TD
4704><PRE
4705CLASS="PROGRAMLISTING"
4706>void xmlXPathEvalExpr (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004707HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004708>xmlXPathParserContextPtr</A
4709> ctxt);</PRE
4710></TD
4711></TR
4712></TABLE
4713><P
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00004714>Parse and evaluate an XPath expression in the given context,
4715then push the result on the context stack</P
Daniel Veillard9753ad72000-11-13 19:12:23 +00004716><P
4717></P
4718><DIV
4719CLASS="INFORMALTABLE"
4720><P
4721></P
4722><TABLE
4723BORDER="0"
4724WIDTH="100%"
4725BGCOLOR="#FFD0D0"
4726CELLSPACING="0"
4727CELLPADDING="4"
4728CLASS="CALSTABLE"
4729><TR
4730><TD
4731WIDTH="20%"
4732ALIGN="RIGHT"
4733VALIGN="TOP"
4734><TT
4735CLASS="PARAMETER"
4736><I
4737>ctxt</I
4738></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00004739>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004740><TD
4741WIDTH="80%"
4742ALIGN="LEFT"
4743VALIGN="TOP"
4744> the XPath Parser context</TD
4745></TR
4746></TABLE
4747><P
4748></P
4749></DIV
4750></DIV
4751><HR><DIV
4752CLASS="REFSECT2"
4753><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00004754NAME="AEN12679"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004755></A
4756><H3
4757><A
4758NAME="XMLXPATHPARSENAME"
4759></A
4760>xmlXPathParseName ()</H3
4761><TABLE
4762BORDER="0"
4763BGCOLOR="#D6E8FF"
4764WIDTH="100%"
4765CELLPADDING="6"
4766><TR
4767><TD
4768><PRE
4769CLASS="PROGRAMLISTING"
4770><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004771HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004772>xmlChar</A
4773>* xmlXPathParseName (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004774HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004775>xmlXPathParserContextPtr</A
4776> ctxt);</PRE
4777></TD
4778></TR
4779></TABLE
4780><P
4781>parse an XML name</P
4782><P
4783>[4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' |
4784CombiningChar | Extender</P
4785><P
4786>[5] Name ::= (Letter | '_' | ':') (NameChar)*</P
4787><P
4788></P
4789><DIV
4790CLASS="INFORMALTABLE"
4791><P
4792></P
4793><TABLE
4794BORDER="0"
4795WIDTH="100%"
4796BGCOLOR="#FFD0D0"
4797CELLSPACING="0"
4798CELLPADDING="4"
4799CLASS="CALSTABLE"
4800><TR
4801><TD
4802WIDTH="20%"
4803ALIGN="RIGHT"
4804VALIGN="TOP"
4805><TT
4806CLASS="PARAMETER"
4807><I
4808>ctxt</I
4809></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00004810>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004811><TD
4812WIDTH="80%"
4813ALIGN="LEFT"
4814VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004815> the XPath Parser context</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004816></TR
4817><TR
4818><TD
4819WIDTH="20%"
4820ALIGN="RIGHT"
4821VALIGN="TOP"
4822><I
4823CLASS="EMPHASIS"
4824>Returns</I
4825> :</TD
4826><TD
4827WIDTH="80%"
4828ALIGN="LEFT"
4829VALIGN="TOP"
4830>the namespace name or NULL</TD
4831></TR
4832></TABLE
4833><P
4834></P
4835></DIV
4836></DIV
4837><HR><DIV
4838CLASS="REFSECT2"
4839><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00004840NAME="AEN12702"
Daniel Veillard503b8932001-01-05 06:36:31 +00004841></A
4842><H3
4843><A
4844NAME="XMLXPATHPARSENCNAME"
4845></A
4846>xmlXPathParseNCName ()</H3
4847><TABLE
4848BORDER="0"
4849BGCOLOR="#D6E8FF"
4850WIDTH="100%"
4851CELLPADDING="6"
4852><TR
4853><TD
4854><PRE
4855CLASS="PROGRAMLISTING"
4856><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004857HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard503b8932001-01-05 06:36:31 +00004858>xmlChar</A
4859>* xmlXPathParseNCName (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004860HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard503b8932001-01-05 06:36:31 +00004861>xmlXPathParserContextPtr</A
4862> ctxt);</PRE
4863></TD
4864></TR
4865></TABLE
4866><P
4867>parse an XML namespace non qualified name.</P
4868><P
4869>[NS 3] NCName ::= (Letter | '_') (NCNameChar)*</P
4870><P
4871>[NS 4] NCNameChar ::= Letter | Digit | '.' | '-' | '_' |
4872CombiningChar | Extender</P
4873><P
4874></P
4875><DIV
4876CLASS="INFORMALTABLE"
4877><P
4878></P
4879><TABLE
4880BORDER="0"
4881WIDTH="100%"
4882BGCOLOR="#FFD0D0"
4883CELLSPACING="0"
4884CELLPADDING="4"
4885CLASS="CALSTABLE"
4886><TR
4887><TD
4888WIDTH="20%"
4889ALIGN="RIGHT"
4890VALIGN="TOP"
4891><TT
4892CLASS="PARAMETER"
4893><I
4894>ctxt</I
4895></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00004896>:</TD
Daniel Veillard503b8932001-01-05 06:36:31 +00004897><TD
4898WIDTH="80%"
4899ALIGN="LEFT"
4900VALIGN="TOP"
4901> the XPath Parser context</TD
4902></TR
4903><TR
4904><TD
4905WIDTH="20%"
4906ALIGN="RIGHT"
4907VALIGN="TOP"
4908><I
4909CLASS="EMPHASIS"
4910>Returns</I
4911> :</TD
4912><TD
4913WIDTH="80%"
4914ALIGN="LEFT"
4915VALIGN="TOP"
4916>the namespace name or NULL</TD
4917></TR
4918></TABLE
4919><P
4920></P
4921></DIV
4922></DIV
4923><HR><DIV
4924CLASS="REFSECT2"
4925><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00004926NAME="AEN12725"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004927></A
4928><H3
4929><A
4930NAME="XMLXPATHSTRINGEVALNUMBER"
4931></A
4932>xmlXPathStringEvalNumber ()</H3
4933><TABLE
4934BORDER="0"
4935BGCOLOR="#D6E8FF"
4936WIDTH="100%"
4937CELLPADDING="6"
4938><TR
4939><TD
4940><PRE
4941CLASS="PROGRAMLISTING"
4942><GTKDOCLINK
4943HREF="DOUBLE"
4944>double</GTKDOCLINK
4945> xmlXPathStringEvalNumber (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004946HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004947>xmlChar</A
4948> *str);</PRE
4949></TD
4950></TR
4951></TABLE
4952><P
Daniel Veillarda41123c2001-04-22 19:31:20 +00004953>[30a] Float ::= Number ('e' Digits?)?</P
4954><P
Daniel Veillard9753ad72000-11-13 19:12:23 +00004955>[30] Number ::= Digits ('.' Digits?)?
4956| '.' Digits
4957[31] Digits ::= [0-9]+</P
4958><P
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00004959>Compile a Number in the string
Daniel Veillard9753ad72000-11-13 19:12:23 +00004960In complement of the Number expression, this function also handles
4961negative values : '-' Number.</P
4962><P
4963></P
4964><DIV
4965CLASS="INFORMALTABLE"
4966><P
4967></P
4968><TABLE
4969BORDER="0"
4970WIDTH="100%"
4971BGCOLOR="#FFD0D0"
4972CELLSPACING="0"
4973CELLPADDING="4"
4974CLASS="CALSTABLE"
4975><TR
4976><TD
4977WIDTH="20%"
4978ALIGN="RIGHT"
4979VALIGN="TOP"
4980><TT
4981CLASS="PARAMETER"
4982><I
4983>str</I
4984></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00004985>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004986><TD
4987WIDTH="80%"
4988ALIGN="LEFT"
4989VALIGN="TOP"
4990> A string to scan</TD
4991></TR
4992><TR
4993><TD
4994WIDTH="20%"
4995ALIGN="RIGHT"
4996VALIGN="TOP"
4997><I
4998CLASS="EMPHASIS"
4999>Returns</I
5000> :</TD
5001><TD
5002WIDTH="80%"
5003ALIGN="LEFT"
5004VALIGN="TOP"
5005>the double value.</TD
5006></TR
5007></TABLE
5008><P
5009></P
5010></DIV
5011></DIV
5012><HR><DIV
5013CLASS="REFSECT2"
5014><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00005015NAME="AEN12748"
Daniel Veillarda1fe9102000-11-25 10:49:25 +00005016></A
5017><H3
5018><A
5019NAME="XMLXPATHEVALUATEPREDICATERESULT"
5020></A
5021>xmlXPathEvaluatePredicateResult ()</H3
5022><TABLE
5023BORDER="0"
5024BGCOLOR="#D6E8FF"
5025WIDTH="100%"
5026CELLPADDING="6"
5027><TR
5028><TD
5029><PRE
5030CLASS="PROGRAMLISTING"
5031>int xmlXPathEvaluatePredicateResult (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005032HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +00005033>xmlXPathParserContextPtr</A
5034> ctxt,
5035 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005036HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +00005037>xmlXPathObjectPtr</A
5038> res);</PRE
5039></TD
5040></TR
5041></TABLE
5042><P
5043>Evaluate a predicate result for the current node.
5044A PredicateExpr is evaluated by evaluating the Expr and converting
5045the result to a boolean. If the result is a number, the result will
5046be converted to true if the number is equal to the position of the
5047context node in the context node list (as returned by the position
5048function) and will be converted to false otherwise; if the result
5049is not a number, then the result will be converted as if by a call
Daniel Veillardd194dd22001-02-14 10:37:43 +00005050to the boolean function. </P
5051><P
5052>Return 1 if predicate is true, 0 otherwise</P
Daniel Veillarda1fe9102000-11-25 10:49:25 +00005053><P
5054></P
5055><DIV
5056CLASS="INFORMALTABLE"
5057><P
5058></P
5059><TABLE
5060BORDER="0"
5061WIDTH="100%"
5062BGCOLOR="#FFD0D0"
5063CELLSPACING="0"
5064CELLPADDING="4"
5065CLASS="CALSTABLE"
5066><TR
5067><TD
5068WIDTH="20%"
5069ALIGN="RIGHT"
5070VALIGN="TOP"
5071><TT
5072CLASS="PARAMETER"
5073><I
5074>ctxt</I
5075></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00005076>:</TD
Daniel Veillarda1fe9102000-11-25 10:49:25 +00005077><TD
5078WIDTH="80%"
5079ALIGN="LEFT"
5080VALIGN="TOP"
5081> the XPath Parser context</TD
5082></TR
5083><TR
5084><TD
5085WIDTH="20%"
5086ALIGN="RIGHT"
5087VALIGN="TOP"
5088><TT
5089CLASS="PARAMETER"
5090><I
5091>res</I
5092></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00005093>:</TD
Daniel Veillarda1fe9102000-11-25 10:49:25 +00005094><TD
5095WIDTH="80%"
5096ALIGN="LEFT"
5097VALIGN="TOP"
5098> the Predicate Expression evaluation result</TD
5099></TR
5100><TR
5101><TD
5102WIDTH="20%"
5103ALIGN="RIGHT"
5104VALIGN="TOP"
5105><I
5106CLASS="EMPHASIS"
5107>Returns</I
5108> :</TD
5109><TD
5110WIDTH="80%"
5111ALIGN="LEFT"
5112VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00005113>&#13;</TD
Daniel Veillarda1fe9102000-11-25 10:49:25 +00005114></TR
5115></TABLE
5116><P
5117></P
5118></DIV
5119></DIV
5120><HR><DIV
5121CLASS="REFSECT2"
5122><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00005123NAME="AEN12774"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005124></A
5125><H3
5126><A
5127NAME="XMLXPATHINIT"
5128></A
5129>xmlXPathInit ()</H3
5130><TABLE
5131BORDER="0"
5132BGCOLOR="#D6E8FF"
5133WIDTH="100%"
5134CELLPADDING="6"
5135><TR
5136><TD
5137><PRE
5138CLASS="PROGRAMLISTING"
5139>void xmlXPathInit (void);</PRE
5140></TD
5141></TR
5142></TABLE
5143><P
5144>Initialize the XPath environment</P
5145><P
5146></P
5147></DIV
5148><HR><DIV
5149CLASS="REFSECT2"
5150><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00005151NAME="AEN12780"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005152></A
5153><H3
5154><A
5155NAME="XMLXPATHSTRINGFUNCTION"
5156></A
5157>xmlXPathStringFunction ()</H3
5158><TABLE
5159BORDER="0"
5160BGCOLOR="#D6E8FF"
5161WIDTH="100%"
5162CELLPADDING="6"
5163><TR
5164><TD
5165><PRE
5166CLASS="PROGRAMLISTING"
5167>void xmlXPathStringFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005168HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005169>xmlXPathParserContextPtr</A
5170> ctxt,
5171 int nargs);</PRE
5172></TD
5173></TR
5174></TABLE
5175><P
5176>Implement the <GTKDOCLINK
5177HREF="STRING"
5178>string</GTKDOCLINK
5179>() XPath function
5180string string(object?)
5181he string function converts an object to a string as follows:
5182- A node-set is converted to a string by returning the value of
5183the node in the node-set that is first in document order.
5184If the node-set is empty, an empty string is returned.
5185- A number is converted to a string as follows
5186+ NaN is converted to the string NaN
5187+ positive zero is converted to the string 0
5188+ negative zero is converted to the string 0
5189+ positive infinity is converted to the string Infinity
5190+ negative infinity is converted to the string -Infinity
5191+ if the number is an integer, the number is represented in
5192decimal form as a Number with no decimal point and no leading
5193zeros, preceded by a minus sign (-) if the number is negative
5194+ otherwise, the number is represented in decimal form as a
5195Number including a decimal point with at least one digit
5196before the decimal point and at least one digit after the
5197decimal point, preceded by a minus sign (-) if the number
5198is negative; there must be no leading zeros before the decimal
5199point apart possibly from the one required digit immediatelyi
5200before the decimal point; beyond the one required digit
5201after the decimal point there must be as many, but only as
5202many, more digits as are needed to uniquely distinguish the
5203number from all other IEEE 754 numeric values.
5204- The boolean false value is converted to the string false.
5205The boolean true value is converted to the string true.</P
5206><P
5207>If the argument is omitted, it defaults to a node-set with the
5208context node as its only member.</P
5209><P
5210></P
5211><DIV
5212CLASS="INFORMALTABLE"
5213><P
5214></P
5215><TABLE
5216BORDER="0"
5217WIDTH="100%"
5218BGCOLOR="#FFD0D0"
5219CELLSPACING="0"
5220CELLPADDING="4"
5221CLASS="CALSTABLE"
5222><TR
5223><TD
5224WIDTH="20%"
5225ALIGN="RIGHT"
5226VALIGN="TOP"
5227><TT
5228CLASS="PARAMETER"
5229><I
5230>ctxt</I
5231></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00005232>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005233><TD
5234WIDTH="80%"
5235ALIGN="LEFT"
5236VALIGN="TOP"
5237> the XPath Parser context</TD
5238></TR
5239><TR
5240><TD
5241WIDTH="20%"
5242ALIGN="RIGHT"
5243VALIGN="TOP"
5244><TT
5245CLASS="PARAMETER"
5246><I
5247>nargs</I
5248></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00005249>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005250><TD
5251WIDTH="80%"
5252ALIGN="LEFT"
5253VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005254> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005255></TR
5256></TABLE
5257><P
5258></P
5259></DIV
5260></DIV
5261><HR><DIV
5262CLASS="REFSECT2"
5263><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00005264NAME="AEN12802"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005265></A
5266><H3
5267><A
5268NAME="XMLXPATHREGISTERALLFUNCTIONS"
5269></A
5270>xmlXPathRegisterAllFunctions ()</H3
5271><TABLE
5272BORDER="0"
5273BGCOLOR="#D6E8FF"
5274WIDTH="100%"
5275CELLPADDING="6"
5276><TR
5277><TD
5278><PRE
5279CLASS="PROGRAMLISTING"
5280>void xmlXPathRegisterAllFunctions (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005281HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005282>xmlXPathContextPtr</A
5283> ctxt);</PRE
5284></TD
5285></TR
5286></TABLE
5287><P
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005288>Registers all default XPath functions in this context</P
5289><P
Daniel Veillard9753ad72000-11-13 19:12:23 +00005290></P
5291><DIV
5292CLASS="INFORMALTABLE"
5293><P
5294></P
5295><TABLE
5296BORDER="0"
5297WIDTH="100%"
5298BGCOLOR="#FFD0D0"
5299CELLSPACING="0"
5300CELLPADDING="4"
5301CLASS="CALSTABLE"
5302><TR
5303><TD
5304WIDTH="20%"
5305ALIGN="RIGHT"
5306VALIGN="TOP"
5307><TT
5308CLASS="PARAMETER"
5309><I
5310>ctxt</I
5311></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00005312>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005313><TD
5314WIDTH="80%"
5315ALIGN="LEFT"
5316VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005317> the XPath context</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005318></TR
5319></TABLE
5320><P
5321></P
5322></DIV
5323></DIV
5324><HR><DIV
5325CLASS="REFSECT2"
5326><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00005327NAME="AEN12818"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005328></A
5329><H3
5330><A
5331NAME="XMLXPATHNODESETCREATE"
5332></A
5333>xmlXPathNodeSetCreate ()</H3
5334><TABLE
5335BORDER="0"
5336BGCOLOR="#D6E8FF"
5337WIDTH="100%"
5338CELLPADDING="6"
5339><TR
5340><TD
5341><PRE
5342CLASS="PROGRAMLISTING"
5343><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005344HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005345>xmlNodeSetPtr</A
5346> xmlXPathNodeSetCreate (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005347HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005348>xmlNodePtr</A
5349> val);</PRE
5350></TD
5351></TR
5352></TABLE
5353><P
5354>Create a new xmlNodeSetPtr of type double and of value <TT
5355CLASS="PARAMETER"
5356><I
5357>val</I
5358></TT
5359></P
5360><P
5361></P
5362><DIV
5363CLASS="INFORMALTABLE"
5364><P
5365></P
5366><TABLE
5367BORDER="0"
5368WIDTH="100%"
5369BGCOLOR="#FFD0D0"
5370CELLSPACING="0"
5371CELLPADDING="4"
5372CLASS="CALSTABLE"
5373><TR
5374><TD
5375WIDTH="20%"
5376ALIGN="RIGHT"
5377VALIGN="TOP"
5378><TT
5379CLASS="PARAMETER"
5380><I
5381>val</I
5382></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00005383>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005384><TD
5385WIDTH="80%"
5386ALIGN="LEFT"
5387VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005388>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005389></TR
5390><TR
5391><TD
5392WIDTH="20%"
5393ALIGN="RIGHT"
5394VALIGN="TOP"
5395><I
5396CLASS="EMPHASIS"
5397>Returns</I
5398> :</TD
5399><TD
5400WIDTH="80%"
5401ALIGN="LEFT"
5402VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005403>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005404></TR
5405></TABLE
5406><P
5407></P
5408></DIV
5409></DIV
5410><HR><DIV
5411CLASS="REFSECT2"
5412><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00005413NAME="AEN12840"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005414></A
5415><H3
5416><A
5417NAME="XMLXPATHNODESETMERGE"
5418></A
5419>xmlXPathNodeSetMerge ()</H3
5420><TABLE
5421BORDER="0"
5422BGCOLOR="#D6E8FF"
5423WIDTH="100%"
5424CELLPADDING="6"
5425><TR
5426><TD
5427><PRE
5428CLASS="PROGRAMLISTING"
5429><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005430HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005431>xmlNodeSetPtr</A
5432> xmlXPathNodeSetMerge (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005433HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005434>xmlNodeSetPtr</A
5435> val1,
5436 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005437HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005438>xmlNodeSetPtr</A
5439> val2);</PRE
5440></TD
5441></TR
5442></TABLE
5443><P
5444>Merges two nodesets, all nodes from <TT
5445CLASS="PARAMETER"
5446><I
5447>val2</I
5448></TT
5449> are added to <TT
5450CLASS="PARAMETER"
5451><I
5452>val1</I
5453></TT
5454>
5455if <TT
5456CLASS="PARAMETER"
5457><I
5458>val1</I
5459></TT
5460> is NULL, a new set is created and copied from <TT
5461CLASS="PARAMETER"
5462><I
5463>val2</I
5464></TT
5465></P
5466><P
5467></P
5468><DIV
5469CLASS="INFORMALTABLE"
5470><P
5471></P
5472><TABLE
5473BORDER="0"
5474WIDTH="100%"
5475BGCOLOR="#FFD0D0"
5476CELLSPACING="0"
5477CELLPADDING="4"
5478CLASS="CALSTABLE"
5479><TR
5480><TD
5481WIDTH="20%"
5482ALIGN="RIGHT"
5483VALIGN="TOP"
5484><TT
5485CLASS="PARAMETER"
5486><I
5487>val1</I
5488></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00005489>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005490><TD
5491WIDTH="80%"
5492ALIGN="LEFT"
5493VALIGN="TOP"
5494> the first NodeSet or NULL</TD
5495></TR
5496><TR
5497><TD
5498WIDTH="20%"
5499ALIGN="RIGHT"
5500VALIGN="TOP"
5501><TT
5502CLASS="PARAMETER"
5503><I
5504>val2</I
5505></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00005506>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005507><TD
5508WIDTH="80%"
5509ALIGN="LEFT"
5510VALIGN="TOP"
5511> the second NodeSet</TD
5512></TR
5513><TR
5514><TD
5515WIDTH="20%"
5516ALIGN="RIGHT"
5517VALIGN="TOP"
5518><I
5519CLASS="EMPHASIS"
5520>Returns</I
5521> :</TD
5522><TD
5523WIDTH="80%"
5524ALIGN="LEFT"
5525VALIGN="TOP"
5526>val1 once extended or NULL in case of error.</TD
5527></TR
5528></TABLE
5529><P
5530></P
5531></DIV
5532></DIV
5533><HR><DIV
5534CLASS="REFSECT2"
5535><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00005536NAME="AEN12870"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005537></A
5538><H3
5539><A
5540NAME="XMLXPATHNODESETDEL"
5541></A
5542>xmlXPathNodeSetDel ()</H3
5543><TABLE
5544BORDER="0"
5545BGCOLOR="#D6E8FF"
5546WIDTH="100%"
5547CELLPADDING="6"
5548><TR
5549><TD
5550><PRE
5551CLASS="PROGRAMLISTING"
5552>void xmlXPathNodeSetDel (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005553HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005554>xmlNodeSetPtr</A
5555> cur,
5556 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005557HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005558>xmlNodePtr</A
5559> val);</PRE
5560></TD
5561></TR
5562></TABLE
5563><P
5564>Removes an xmlNodePtr from an existing NodeSet</P
5565><P
5566></P
5567><DIV
5568CLASS="INFORMALTABLE"
5569><P
5570></P
5571><TABLE
5572BORDER="0"
5573WIDTH="100%"
5574BGCOLOR="#FFD0D0"
5575CELLSPACING="0"
5576CELLPADDING="4"
5577CLASS="CALSTABLE"
5578><TR
5579><TD
5580WIDTH="20%"
5581ALIGN="RIGHT"
5582VALIGN="TOP"
5583><TT
5584CLASS="PARAMETER"
5585><I
5586>cur</I
5587></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00005588>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005589><TD
5590WIDTH="80%"
5591ALIGN="LEFT"
5592VALIGN="TOP"
5593> the initial node set</TD
5594></TR
5595><TR
5596><TD
5597WIDTH="20%"
5598ALIGN="RIGHT"
5599VALIGN="TOP"
5600><TT
5601CLASS="PARAMETER"
5602><I
5603>val</I
5604></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00005605>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005606><TD
5607WIDTH="80%"
5608ALIGN="LEFT"
5609VALIGN="TOP"
5610> an xmlNodePtr</TD
5611></TR
5612></TABLE
5613><P
5614></P
5615></DIV
5616></DIV
5617><HR><DIV
5618CLASS="REFSECT2"
5619><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00005620NAME="AEN12891"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005621></A
5622><H3
5623><A
5624NAME="XMLXPATHNODESETREMOVE"
5625></A
5626>xmlXPathNodeSetRemove ()</H3
5627><TABLE
5628BORDER="0"
5629BGCOLOR="#D6E8FF"
5630WIDTH="100%"
5631CELLPADDING="6"
5632><TR
5633><TD
5634><PRE
5635CLASS="PROGRAMLISTING"
5636>void xmlXPathNodeSetRemove (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005637HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005638>xmlNodeSetPtr</A
5639> cur,
5640 int val);</PRE
5641></TD
5642></TR
5643></TABLE
5644><P
5645>Removes an entry from an existing NodeSet list.</P
5646><P
5647></P
5648><DIV
5649CLASS="INFORMALTABLE"
5650><P
5651></P
5652><TABLE
5653BORDER="0"
5654WIDTH="100%"
5655BGCOLOR="#FFD0D0"
5656CELLSPACING="0"
5657CELLPADDING="4"
5658CLASS="CALSTABLE"
5659><TR
5660><TD
5661WIDTH="20%"
5662ALIGN="RIGHT"
5663VALIGN="TOP"
5664><TT
5665CLASS="PARAMETER"
5666><I
5667>cur</I
5668></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00005669>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005670><TD
5671WIDTH="80%"
5672ALIGN="LEFT"
5673VALIGN="TOP"
5674> the initial node set</TD
5675></TR
5676><TR
5677><TD
5678WIDTH="20%"
5679ALIGN="RIGHT"
5680VALIGN="TOP"
5681><TT
5682CLASS="PARAMETER"
5683><I
5684>val</I
5685></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00005686>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005687><TD
5688WIDTH="80%"
5689ALIGN="LEFT"
5690VALIGN="TOP"
5691> the index to remove</TD
5692></TR
5693></TABLE
5694><P
5695></P
5696></DIV
5697></DIV
5698><HR><DIV
5699CLASS="REFSECT2"
5700><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00005701NAME="AEN12911"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005702></A
5703><H3
5704><A
5705NAME="XMLXPATHFREENODESET"
5706></A
5707>xmlXPathFreeNodeSet ()</H3
5708><TABLE
5709BORDER="0"
5710BGCOLOR="#D6E8FF"
5711WIDTH="100%"
5712CELLPADDING="6"
5713><TR
5714><TD
5715><PRE
5716CLASS="PROGRAMLISTING"
5717>void xmlXPathFreeNodeSet (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005718HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005719>xmlNodeSetPtr</A
5720> obj);</PRE
5721></TD
5722></TR
5723></TABLE
5724><P
5725>Free the NodeSet compound (not the actual nodes !).</P
5726><P
5727></P
5728><DIV
5729CLASS="INFORMALTABLE"
5730><P
5731></P
5732><TABLE
5733BORDER="0"
5734WIDTH="100%"
5735BGCOLOR="#FFD0D0"
5736CELLSPACING="0"
5737CELLPADDING="4"
5738CLASS="CALSTABLE"
5739><TR
5740><TD
5741WIDTH="20%"
5742ALIGN="RIGHT"
5743VALIGN="TOP"
5744><TT
5745CLASS="PARAMETER"
5746><I
5747>obj</I
5748></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00005749>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005750><TD
5751WIDTH="80%"
5752ALIGN="LEFT"
5753VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005754>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005755></TR
5756></TABLE
5757><P
5758></P
5759></DIV
5760></DIV
5761><HR><DIV
5762CLASS="REFSECT2"
5763><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00005764NAME="AEN12927"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005765></A
5766><H3
5767><A
5768NAME="XMLXPATHNEWNODESETLIST"
5769></A
5770>xmlXPathNewNodeSetList ()</H3
5771><TABLE
5772BORDER="0"
5773BGCOLOR="#D6E8FF"
5774WIDTH="100%"
5775CELLPADDING="6"
5776><TR
5777><TD
5778><PRE
5779CLASS="PROGRAMLISTING"
5780><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005781HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005782>xmlXPathObjectPtr</A
5783> xmlXPathNewNodeSetList (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005784HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005785>xmlNodeSetPtr</A
5786> val);</PRE
5787></TD
5788></TR
5789></TABLE
5790><P
5791>Create a new xmlXPathObjectPtr of type NodeSet and initialize
5792it with the Nodeset <TT
5793CLASS="PARAMETER"
5794><I
5795>val</I
5796></TT
5797></P
5798><P
5799></P
5800><DIV
5801CLASS="INFORMALTABLE"
5802><P
5803></P
5804><TABLE
5805BORDER="0"
5806WIDTH="100%"
5807BGCOLOR="#FFD0D0"
5808CELLSPACING="0"
5809CELLPADDING="4"
5810CLASS="CALSTABLE"
5811><TR
5812><TD
5813WIDTH="20%"
5814ALIGN="RIGHT"
5815VALIGN="TOP"
5816><TT
5817CLASS="PARAMETER"
5818><I
5819>val</I
5820></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00005821>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005822><TD
5823WIDTH="80%"
5824ALIGN="LEFT"
5825VALIGN="TOP"
5826> an existing NodeSet</TD
5827></TR
5828><TR
5829><TD
5830WIDTH="20%"
5831ALIGN="RIGHT"
5832VALIGN="TOP"
5833><I
5834CLASS="EMPHASIS"
5835>Returns</I
5836> :</TD
5837><TD
5838WIDTH="80%"
5839ALIGN="LEFT"
5840VALIGN="TOP"
5841>the newly created object.</TD
5842></TR
5843></TABLE
5844><P
5845></P
5846></DIV
5847></DIV
5848><HR><DIV
5849CLASS="REFSECT2"
5850><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00005851NAME="AEN12949"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005852></A
5853><H3
5854><A
5855NAME="XMLXPATHWRAPNODESET"
5856></A
5857>xmlXPathWrapNodeSet ()</H3
5858><TABLE
5859BORDER="0"
5860BGCOLOR="#D6E8FF"
5861WIDTH="100%"
5862CELLPADDING="6"
5863><TR
5864><TD
5865><PRE
5866CLASS="PROGRAMLISTING"
5867><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005868HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005869>xmlXPathObjectPtr</A
5870> xmlXPathWrapNodeSet (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005871HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005872>xmlNodeSetPtr</A
5873> val);</PRE
5874></TD
5875></TR
5876></TABLE
5877><P
5878>Wrap the Nodeset <TT
5879CLASS="PARAMETER"
5880><I
5881>val</I
5882></TT
5883> in a new xmlXPathObjectPtr</P
5884><P
5885></P
5886><DIV
5887CLASS="INFORMALTABLE"
5888><P
5889></P
5890><TABLE
5891BORDER="0"
5892WIDTH="100%"
5893BGCOLOR="#FFD0D0"
5894CELLSPACING="0"
5895CELLPADDING="4"
5896CLASS="CALSTABLE"
5897><TR
5898><TD
5899WIDTH="20%"
5900ALIGN="RIGHT"
5901VALIGN="TOP"
5902><TT
5903CLASS="PARAMETER"
5904><I
5905>val</I
5906></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00005907>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005908><TD
5909WIDTH="80%"
5910ALIGN="LEFT"
5911VALIGN="TOP"
5912> the NodePtr value</TD
5913></TR
5914><TR
5915><TD
5916WIDTH="20%"
5917ALIGN="RIGHT"
5918VALIGN="TOP"
5919><I
5920CLASS="EMPHASIS"
5921>Returns</I
5922> :</TD
5923><TD
5924WIDTH="80%"
5925ALIGN="LEFT"
5926VALIGN="TOP"
5927>the newly created object.</TD
5928></TR
5929></TABLE
5930><P
5931></P
5932></DIV
5933></DIV
5934><HR><DIV
5935CLASS="REFSECT2"
5936><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00005937NAME="AEN12971"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005938></A
5939><H3
5940><A
5941NAME="XMLXPATHFREENODESETLIST"
5942></A
5943>xmlXPathFreeNodeSetList ()</H3
5944><TABLE
5945BORDER="0"
5946BGCOLOR="#D6E8FF"
5947WIDTH="100%"
5948CELLPADDING="6"
5949><TR
5950><TD
5951><PRE
5952CLASS="PROGRAMLISTING"
5953>void xmlXPathFreeNodeSetList (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005954HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005955>xmlXPathObjectPtr</A
5956> obj);</PRE
5957></TD
5958></TR
5959></TABLE
5960><P
5961>Free up the xmlXPathObjectPtr <TT
5962CLASS="PARAMETER"
5963><I
5964>obj</I
5965></TT
5966> but don't deallocate the objects in
5967the list contrary to <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005968HREF="libxml-xpath.html#XMLXPATHFREEOBJECT"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005969>xmlXPathFreeObject</A
5970>().</P
5971><P
5972></P
5973><DIV
5974CLASS="INFORMALTABLE"
5975><P
5976></P
5977><TABLE
5978BORDER="0"
5979WIDTH="100%"
5980BGCOLOR="#FFD0D0"
5981CELLSPACING="0"
5982CELLPADDING="4"
5983CLASS="CALSTABLE"
5984><TR
5985><TD
5986WIDTH="20%"
5987ALIGN="RIGHT"
5988VALIGN="TOP"
5989><TT
5990CLASS="PARAMETER"
5991><I
5992>obj</I
5993></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00005994>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005995><TD
5996WIDTH="80%"
5997ALIGN="LEFT"
5998VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005999>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006000></TR
6001></TABLE
6002><P
6003></P
6004></DIV
6005></DIV
6006><HR><DIV
6007CLASS="REFSECT2"
6008><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00006009NAME="AEN12989"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006010></A
6011><H3
6012><A
6013NAME="XMLXPATHFREEOBJECT"
6014></A
6015>xmlXPathFreeObject ()</H3
6016><TABLE
6017BORDER="0"
6018BGCOLOR="#D6E8FF"
6019WIDTH="100%"
6020CELLPADDING="6"
6021><TR
6022><TD
6023><PRE
6024CLASS="PROGRAMLISTING"
6025>void xmlXPathFreeObject (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006026HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006027>xmlXPathObjectPtr</A
6028> obj);</PRE
6029></TD
6030></TR
6031></TABLE
6032><P
6033>Free up an xmlXPathObjectPtr object.</P
6034><P
6035></P
6036><DIV
6037CLASS="INFORMALTABLE"
6038><P
6039></P
6040><TABLE
6041BORDER="0"
6042WIDTH="100%"
6043BGCOLOR="#FFD0D0"
6044CELLSPACING="0"
6045CELLPADDING="4"
6046CLASS="CALSTABLE"
6047><TR
6048><TD
6049WIDTH="20%"
6050ALIGN="RIGHT"
6051VALIGN="TOP"
6052><TT
6053CLASS="PARAMETER"
6054><I
6055>obj</I
6056></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00006057>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006058><TD
6059WIDTH="80%"
6060ALIGN="LEFT"
6061VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006062>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006063></TR
6064></TABLE
6065><P
6066></P
6067></DIV
6068></DIV
6069><HR><DIV
6070CLASS="REFSECT2"
6071><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00006072NAME="AEN13005"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006073></A
6074><H3
6075><A
6076NAME="XMLXPATHNEWCONTEXT"
6077></A
6078>xmlXPathNewContext ()</H3
6079><TABLE
6080BORDER="0"
6081BGCOLOR="#D6E8FF"
6082WIDTH="100%"
6083CELLPADDING="6"
6084><TR
6085><TD
6086><PRE
6087CLASS="PROGRAMLISTING"
6088><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006089HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006090>xmlXPathContextPtr</A
6091> xmlXPathNewContext (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006092HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006093>xmlDocPtr</A
6094> doc);</PRE
6095></TD
6096></TR
6097></TABLE
6098><P
6099>Create a new xmlXPathContext</P
6100><P
6101></P
6102><DIV
6103CLASS="INFORMALTABLE"
6104><P
6105></P
6106><TABLE
6107BORDER="0"
6108WIDTH="100%"
6109BGCOLOR="#FFD0D0"
6110CELLSPACING="0"
6111CELLPADDING="4"
6112CLASS="CALSTABLE"
6113><TR
6114><TD
6115WIDTH="20%"
6116ALIGN="RIGHT"
6117VALIGN="TOP"
6118><TT
6119CLASS="PARAMETER"
6120><I
6121>doc</I
6122></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00006123>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006124><TD
6125WIDTH="80%"
6126ALIGN="LEFT"
6127VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006128>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006129></TR
6130><TR
6131><TD
6132WIDTH="20%"
6133ALIGN="RIGHT"
6134VALIGN="TOP"
6135><I
6136CLASS="EMPHASIS"
6137>Returns</I
6138> :</TD
6139><TD
6140WIDTH="80%"
6141ALIGN="LEFT"
6142VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006143>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006144></TR
6145></TABLE
6146><P
6147></P
6148></DIV
6149></DIV
6150><HR><DIV
6151CLASS="REFSECT2"
6152><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00006153NAME="AEN13026"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006154></A
6155><H3
6156><A
6157NAME="XMLXPATHFREECONTEXT"
6158></A
6159>xmlXPathFreeContext ()</H3
6160><TABLE
6161BORDER="0"
6162BGCOLOR="#D6E8FF"
6163WIDTH="100%"
6164CELLPADDING="6"
6165><TR
6166><TD
6167><PRE
6168CLASS="PROGRAMLISTING"
6169>void xmlXPathFreeContext (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006170HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006171>xmlXPathContextPtr</A
6172> ctxt);</PRE
6173></TD
6174></TR
6175></TABLE
6176><P
6177>Free up an xmlXPathContext</P
6178><P
6179></P
6180><DIV
6181CLASS="INFORMALTABLE"
6182><P
6183></P
6184><TABLE
6185BORDER="0"
6186WIDTH="100%"
6187BGCOLOR="#FFD0D0"
6188CELLSPACING="0"
6189CELLPADDING="4"
6190CLASS="CALSTABLE"
6191><TR
6192><TD
6193WIDTH="20%"
6194ALIGN="RIGHT"
6195VALIGN="TOP"
6196><TT
6197CLASS="PARAMETER"
6198><I
6199>ctxt</I
6200></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00006201>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006202><TD
6203WIDTH="80%"
6204ALIGN="LEFT"
6205VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006206>&#13;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006207></TR
6208></TABLE
6209><P
6210></P
6211></DIV
6212></DIV
6213><HR><DIV
6214CLASS="REFSECT2"
6215><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00006216NAME="AEN13042"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006217></A
6218><H3
6219><A
6220NAME="XMLXPATHEQUALVALUES"
6221></A
6222>xmlXPathEqualValues ()</H3
6223><TABLE
6224BORDER="0"
6225BGCOLOR="#D6E8FF"
6226WIDTH="100%"
6227CELLPADDING="6"
6228><TR
6229><TD
6230><PRE
6231CLASS="PROGRAMLISTING"
6232>int xmlXPathEqualValues (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006233HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006234>xmlXPathParserContextPtr</A
6235> ctxt);</PRE
6236></TD
6237></TR
6238></TABLE
6239><P
6240>Implement the equal operation on XPath objects content: <TT
6241CLASS="PARAMETER"
6242><I
6243>arg1</I
6244></TT
6245> == <TT
6246CLASS="PARAMETER"
6247><I
6248>arg2</I
6249></TT
6250></P
6251><P
6252></P
6253><DIV
6254CLASS="INFORMALTABLE"
6255><P
6256></P
6257><TABLE
6258BORDER="0"
6259WIDTH="100%"
6260BGCOLOR="#FFD0D0"
6261CELLSPACING="0"
6262CELLPADDING="4"
6263CLASS="CALSTABLE"
6264><TR
6265><TD
6266WIDTH="20%"
6267ALIGN="RIGHT"
6268VALIGN="TOP"
6269><TT
6270CLASS="PARAMETER"
6271><I
6272>ctxt</I
6273></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00006274>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006275><TD
6276WIDTH="80%"
6277ALIGN="LEFT"
6278VALIGN="TOP"
6279> the XPath Parser context</TD
6280></TR
6281><TR
6282><TD
6283WIDTH="20%"
6284ALIGN="RIGHT"
6285VALIGN="TOP"
6286><I
6287CLASS="EMPHASIS"
6288>Returns</I
6289> :</TD
6290><TD
6291WIDTH="80%"
6292ALIGN="LEFT"
6293VALIGN="TOP"
6294>0 or 1 depending on the results of the test.</TD
6295></TR
6296></TABLE
6297><P
6298></P
6299></DIV
6300></DIV
6301><HR><DIV
6302CLASS="REFSECT2"
6303><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00006304NAME="AEN13064"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006305></A
6306><H3
6307><A
6308NAME="XMLXPATHCOMPAREVALUES"
6309></A
6310>xmlXPathCompareValues ()</H3
6311><TABLE
6312BORDER="0"
6313BGCOLOR="#D6E8FF"
6314WIDTH="100%"
6315CELLPADDING="6"
6316><TR
6317><TD
6318><PRE
6319CLASS="PROGRAMLISTING"
6320>int xmlXPathCompareValues (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006321HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006322>xmlXPathParserContextPtr</A
6323> ctxt,
6324 int inf,
6325 int strict);</PRE
6326></TD
6327></TR
6328></TABLE
6329><P
6330>Implement the compare operation on XPath objects:
6331<TT
6332CLASS="PARAMETER"
6333><I
6334>arg1</I
6335></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00006336> <TT
Daniel Veillard9753ad72000-11-13 19:12:23 +00006337CLASS="PARAMETER"
6338><I
6339>arg2</I
6340></TT
6341> (1, 1, ...
6342<TT
6343CLASS="PARAMETER"
6344><I
6345>arg1</I
6346></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00006347> = <TT
Daniel Veillard9753ad72000-11-13 19:12:23 +00006348CLASS="PARAMETER"
6349><I
6350>arg2</I
6351></TT
6352> (1, 0, ...
6353<TT
6354CLASS="PARAMETER"
6355><I
6356>arg1</I
6357></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00006358> <TT
Daniel Veillard9753ad72000-11-13 19:12:23 +00006359CLASS="PARAMETER"
6360><I
6361>arg2</I
6362></TT
6363> (0, 1, ...
6364<TT
6365CLASS="PARAMETER"
6366><I
6367>arg1</I
6368></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00006369> = <TT
Daniel Veillard9753ad72000-11-13 19:12:23 +00006370CLASS="PARAMETER"
6371><I
6372>arg2</I
6373></TT
6374> (0, 0, ...</P
6375><P
6376>When neither object to be compared is a node-set and the operator is
Daniel Veillarda41123c2001-04-22 19:31:20 +00006377=, , =, , then the objects are compared by converted both objects
6378to numbers and comparing the numbers according to IEEE 754. The
Daniel Veillard9753ad72000-11-13 19:12:23 +00006379comparison will be true if and only if the first number is less than the
Daniel Veillarda41123c2001-04-22 19:31:20 +00006380second number. The = comparison will be true if and only if the first
6381number is less than or equal to the second number. The comparison
Daniel Veillard9753ad72000-11-13 19:12:23 +00006382will be true if and only if the first number is greater than the second
Daniel Veillarda41123c2001-04-22 19:31:20 +00006383number. The = comparison will be true if and only if the first number
Daniel Veillard9753ad72000-11-13 19:12:23 +00006384is greater than or equal to the second number.</P
6385><P
6386></P
6387><DIV
6388CLASS="INFORMALTABLE"
6389><P
6390></P
6391><TABLE
6392BORDER="0"
6393WIDTH="100%"
6394BGCOLOR="#FFD0D0"
6395CELLSPACING="0"
6396CELLPADDING="4"
6397CLASS="CALSTABLE"
6398><TR
6399><TD
6400WIDTH="20%"
6401ALIGN="RIGHT"
6402VALIGN="TOP"
6403><TT
6404CLASS="PARAMETER"
6405><I
6406>ctxt</I
6407></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00006408>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006409><TD
6410WIDTH="80%"
6411ALIGN="LEFT"
6412VALIGN="TOP"
6413> the XPath Parser context</TD
6414></TR
6415><TR
6416><TD
6417WIDTH="20%"
6418ALIGN="RIGHT"
6419VALIGN="TOP"
6420><TT
6421CLASS="PARAMETER"
6422><I
6423>inf</I
6424></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00006425>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006426><TD
6427WIDTH="80%"
6428ALIGN="LEFT"
6429VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006430> less than (1) or greater than (0)</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006431></TR
6432><TR
6433><TD
6434WIDTH="20%"
6435ALIGN="RIGHT"
6436VALIGN="TOP"
6437><TT
6438CLASS="PARAMETER"
6439><I
6440>strict</I
6441></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00006442>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006443><TD
6444WIDTH="80%"
6445ALIGN="LEFT"
6446VALIGN="TOP"
6447> is the comparison strict</TD
6448></TR
6449><TR
6450><TD
6451WIDTH="20%"
6452ALIGN="RIGHT"
6453VALIGN="TOP"
6454><I
6455CLASS="EMPHASIS"
6456>Returns</I
6457> :</TD
6458><TD
6459WIDTH="80%"
6460ALIGN="LEFT"
6461VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006462>1 if the comparaison succeeded, 0 if it failed</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006463></TR
6464></TABLE
6465><P
6466></P
6467></DIV
6468></DIV
6469><HR><DIV
6470CLASS="REFSECT2"
6471><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00006472NAME="AEN13101"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006473></A
6474><H3
6475><A
6476NAME="XMLXPATHVALUEFLIPSIGN"
6477></A
6478>xmlXPathValueFlipSign ()</H3
6479><TABLE
6480BORDER="0"
6481BGCOLOR="#D6E8FF"
6482WIDTH="100%"
6483CELLPADDING="6"
6484><TR
6485><TD
6486><PRE
6487CLASS="PROGRAMLISTING"
6488>void xmlXPathValueFlipSign (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006489HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006490>xmlXPathParserContextPtr</A
6491> ctxt);</PRE
6492></TD
6493></TR
6494></TABLE
6495><P
6496>Implement the unary - operation on an XPath object
6497The numeric operators convert their operands to numbers as if
6498by calling the number function.</P
6499><P
6500></P
6501><DIV
6502CLASS="INFORMALTABLE"
6503><P
6504></P
6505><TABLE
6506BORDER="0"
6507WIDTH="100%"
6508BGCOLOR="#FFD0D0"
6509CELLSPACING="0"
6510CELLPADDING="4"
6511CLASS="CALSTABLE"
6512><TR
6513><TD
6514WIDTH="20%"
6515ALIGN="RIGHT"
6516VALIGN="TOP"
6517><TT
6518CLASS="PARAMETER"
6519><I
6520>ctxt</I
6521></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00006522>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006523><TD
6524WIDTH="80%"
6525ALIGN="LEFT"
6526VALIGN="TOP"
6527> the XPath Parser context</TD
6528></TR
6529></TABLE
6530><P
6531></P
6532></DIV
6533></DIV
6534><HR><DIV
6535CLASS="REFSECT2"
6536><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00006537NAME="AEN13117"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006538></A
6539><H3
6540><A
6541NAME="XMLXPATHADDVALUES"
6542></A
6543>xmlXPathAddValues ()</H3
6544><TABLE
6545BORDER="0"
6546BGCOLOR="#D6E8FF"
6547WIDTH="100%"
6548CELLPADDING="6"
6549><TR
6550><TD
6551><PRE
6552CLASS="PROGRAMLISTING"
6553>void xmlXPathAddValues (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006554HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006555>xmlXPathParserContextPtr</A
6556> ctxt);</PRE
6557></TD
6558></TR
6559></TABLE
6560><P
6561>Implement the add operation on XPath objects:
6562The numeric operators convert their operands to numbers as if
6563by calling the number function.</P
6564><P
6565></P
6566><DIV
6567CLASS="INFORMALTABLE"
6568><P
6569></P
6570><TABLE
6571BORDER="0"
6572WIDTH="100%"
6573BGCOLOR="#FFD0D0"
6574CELLSPACING="0"
6575CELLPADDING="4"
6576CLASS="CALSTABLE"
6577><TR
6578><TD
6579WIDTH="20%"
6580ALIGN="RIGHT"
6581VALIGN="TOP"
6582><TT
6583CLASS="PARAMETER"
6584><I
6585>ctxt</I
6586></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00006587>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006588><TD
6589WIDTH="80%"
6590ALIGN="LEFT"
6591VALIGN="TOP"
6592> the XPath Parser context</TD
6593></TR
6594></TABLE
6595><P
6596></P
6597></DIV
6598></DIV
6599><HR><DIV
6600CLASS="REFSECT2"
6601><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00006602NAME="AEN13133"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006603></A
6604><H3
6605><A
6606NAME="XMLXPATHSUBVALUES"
6607></A
6608>xmlXPathSubValues ()</H3
6609><TABLE
6610BORDER="0"
6611BGCOLOR="#D6E8FF"
6612WIDTH="100%"
6613CELLPADDING="6"
6614><TR
6615><TD
6616><PRE
6617CLASS="PROGRAMLISTING"
6618>void xmlXPathSubValues (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006619HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006620>xmlXPathParserContextPtr</A
6621> ctxt);</PRE
6622></TD
6623></TR
6624></TABLE
6625><P
6626>Implement the substraction operation on XPath objects:
6627The numeric operators convert their operands to numbers as if
6628by calling the number function.</P
6629><P
6630></P
6631><DIV
6632CLASS="INFORMALTABLE"
6633><P
6634></P
6635><TABLE
6636BORDER="0"
6637WIDTH="100%"
6638BGCOLOR="#FFD0D0"
6639CELLSPACING="0"
6640CELLPADDING="4"
6641CLASS="CALSTABLE"
6642><TR
6643><TD
6644WIDTH="20%"
6645ALIGN="RIGHT"
6646VALIGN="TOP"
6647><TT
6648CLASS="PARAMETER"
6649><I
6650>ctxt</I
6651></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00006652>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006653><TD
6654WIDTH="80%"
6655ALIGN="LEFT"
6656VALIGN="TOP"
6657> the XPath Parser context</TD
6658></TR
6659></TABLE
6660><P
6661></P
6662></DIV
6663></DIV
6664><HR><DIV
6665CLASS="REFSECT2"
6666><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00006667NAME="AEN13149"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006668></A
6669><H3
6670><A
6671NAME="XMLXPATHMULTVALUES"
6672></A
6673>xmlXPathMultValues ()</H3
6674><TABLE
6675BORDER="0"
6676BGCOLOR="#D6E8FF"
6677WIDTH="100%"
6678CELLPADDING="6"
6679><TR
6680><TD
6681><PRE
6682CLASS="PROGRAMLISTING"
6683>void xmlXPathMultValues (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006684HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006685>xmlXPathParserContextPtr</A
6686> ctxt);</PRE
6687></TD
6688></TR
6689></TABLE
6690><P
6691>Implement the multiply operation on XPath objects:
6692The numeric operators convert their operands to numbers as if
6693by calling the number function.</P
6694><P
6695></P
6696><DIV
6697CLASS="INFORMALTABLE"
6698><P
6699></P
6700><TABLE
6701BORDER="0"
6702WIDTH="100%"
6703BGCOLOR="#FFD0D0"
6704CELLSPACING="0"
6705CELLPADDING="4"
6706CLASS="CALSTABLE"
6707><TR
6708><TD
6709WIDTH="20%"
6710ALIGN="RIGHT"
6711VALIGN="TOP"
6712><TT
6713CLASS="PARAMETER"
6714><I
6715>ctxt</I
6716></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00006717>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006718><TD
6719WIDTH="80%"
6720ALIGN="LEFT"
6721VALIGN="TOP"
6722> the XPath Parser context</TD
6723></TR
6724></TABLE
6725><P
6726></P
6727></DIV
6728></DIV
6729><HR><DIV
6730CLASS="REFSECT2"
6731><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00006732NAME="AEN13165"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006733></A
6734><H3
6735><A
6736NAME="XMLXPATHDIVVALUES"
6737></A
6738>xmlXPathDivValues ()</H3
6739><TABLE
6740BORDER="0"
6741BGCOLOR="#D6E8FF"
6742WIDTH="100%"
6743CELLPADDING="6"
6744><TR
6745><TD
6746><PRE
6747CLASS="PROGRAMLISTING"
6748>void xmlXPathDivValues (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006749HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006750>xmlXPathParserContextPtr</A
6751> ctxt);</PRE
6752></TD
6753></TR
6754></TABLE
6755><P
Daniel Veillardd194dd22001-02-14 10:37:43 +00006756>Implement the div operation on XPath objects <TT
6757CLASS="PARAMETER"
6758><I
6759>arg1</I
6760></TT
6761> / <TT
6762CLASS="PARAMETER"
6763><I
6764>arg2</I
6765></TT
6766>:
Daniel Veillard9753ad72000-11-13 19:12:23 +00006767The numeric operators convert their operands to numbers as if
6768by calling the number function.</P
6769><P
6770></P
6771><DIV
6772CLASS="INFORMALTABLE"
6773><P
6774></P
6775><TABLE
6776BORDER="0"
6777WIDTH="100%"
6778BGCOLOR="#FFD0D0"
6779CELLSPACING="0"
6780CELLPADDING="4"
6781CLASS="CALSTABLE"
6782><TR
6783><TD
6784WIDTH="20%"
6785ALIGN="RIGHT"
6786VALIGN="TOP"
6787><TT
6788CLASS="PARAMETER"
6789><I
6790>ctxt</I
6791></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00006792>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006793><TD
6794WIDTH="80%"
6795ALIGN="LEFT"
6796VALIGN="TOP"
6797> the XPath Parser context</TD
6798></TR
6799></TABLE
6800><P
6801></P
6802></DIV
6803></DIV
6804><HR><DIV
6805CLASS="REFSECT2"
6806><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00006807NAME="AEN13183"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006808></A
6809><H3
6810><A
6811NAME="XMLXPATHMODVALUES"
6812></A
6813>xmlXPathModValues ()</H3
6814><TABLE
6815BORDER="0"
6816BGCOLOR="#D6E8FF"
6817WIDTH="100%"
6818CELLPADDING="6"
6819><TR
6820><TD
6821><PRE
6822CLASS="PROGRAMLISTING"
6823>void xmlXPathModValues (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006824HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006825>xmlXPathParserContextPtr</A
6826> ctxt);</PRE
6827></TD
6828></TR
6829></TABLE
6830><P
Daniel Veillardd194dd22001-02-14 10:37:43 +00006831>Implement the mod operation on XPath objects: <TT
Daniel Veillard9753ad72000-11-13 19:12:23 +00006832CLASS="PARAMETER"
6833><I
6834>arg1</I
6835></TT
6836> / <TT
6837CLASS="PARAMETER"
6838><I
6839>arg2</I
6840></TT
6841>
6842The numeric operators convert their operands to numbers as if
6843by calling the number function.</P
6844><P
6845></P
6846><DIV
6847CLASS="INFORMALTABLE"
6848><P
6849></P
6850><TABLE
6851BORDER="0"
6852WIDTH="100%"
6853BGCOLOR="#FFD0D0"
6854CELLSPACING="0"
6855CELLPADDING="4"
6856CLASS="CALSTABLE"
6857><TR
6858><TD
6859WIDTH="20%"
6860ALIGN="RIGHT"
6861VALIGN="TOP"
6862><TT
6863CLASS="PARAMETER"
6864><I
6865>ctxt</I
6866></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00006867>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006868><TD
6869WIDTH="80%"
6870ALIGN="LEFT"
6871VALIGN="TOP"
6872> the XPath Parser context</TD
6873></TR
6874></TABLE
6875><P
6876></P
6877></DIV
6878></DIV
6879><HR><DIV
6880CLASS="REFSECT2"
6881><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00006882NAME="AEN13201"
6883></A
6884><H3
6885><A
6886NAME="XMLXPATHISNODETYPE"
6887></A
6888>xmlXPathIsNodeType ()</H3
6889><TABLE
6890BORDER="0"
6891BGCOLOR="#D6E8FF"
6892WIDTH="100%"
6893CELLPADDING="6"
6894><TR
6895><TD
6896><PRE
6897CLASS="PROGRAMLISTING"
6898>int xmlXPathIsNodeType (const <A
6899HREF="libxml-tree.html#XMLCHAR"
6900>xmlChar</A
6901> *name);</PRE
6902></TD
6903></TR
6904></TABLE
6905><P
6906>Is the name given a NodeType one.</P
6907><P
6908>[38] NodeType ::= 'comment'
6909| 'text'
6910| 'processing-instruction'
6911| 'node'</P
6912><P
6913></P
6914><DIV
6915CLASS="INFORMALTABLE"
6916><P
6917></P
6918><TABLE
6919BORDER="0"
6920WIDTH="100%"
6921BGCOLOR="#FFD0D0"
6922CELLSPACING="0"
6923CELLPADDING="4"
6924CLASS="CALSTABLE"
6925><TR
6926><TD
6927WIDTH="20%"
6928ALIGN="RIGHT"
6929VALIGN="TOP"
6930><TT
6931CLASS="PARAMETER"
6932><I
6933>name</I
6934></TT
6935>:</TD
6936><TD
6937WIDTH="80%"
6938ALIGN="LEFT"
6939VALIGN="TOP"
6940> a name string</TD
6941></TR
6942><TR
6943><TD
6944WIDTH="20%"
6945ALIGN="RIGHT"
6946VALIGN="TOP"
6947><I
6948CLASS="EMPHASIS"
6949>Returns</I
6950> :</TD
6951><TD
6952WIDTH="80%"
6953ALIGN="LEFT"
6954VALIGN="TOP"
6955>1 if true 0 otherwise</TD
6956></TR
6957></TABLE
6958><P
6959></P
6960></DIV
6961></DIV
6962><HR><DIV
6963CLASS="REFSECT2"
6964><A
6965NAME="AEN13222"
6966></A
6967><H3
6968><A
6969NAME="XMLXPATHNEXTSELF"
6970></A
6971>xmlXPathNextSelf ()</H3
6972><TABLE
6973BORDER="0"
6974BGCOLOR="#D6E8FF"
6975WIDTH="100%"
6976CELLPADDING="6"
6977><TR
6978><TD
6979><PRE
6980CLASS="PROGRAMLISTING"
6981><A
6982HREF="libxml-tree.html#XMLNODEPTR"
6983>xmlNodePtr</A
6984> xmlXPathNextSelf (<A
6985HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
6986>xmlXPathParserContextPtr</A
6987> ctxt,
6988 <A
6989HREF="libxml-tree.html#XMLNODEPTR"
6990>xmlNodePtr</A
6991> cur);</PRE
6992></TD
6993></TR
6994></TABLE
6995><P
6996>Traversal function for the "self" direction
6997The self axis contains just the context node itself</P
6998><P
6999></P
7000><DIV
7001CLASS="INFORMALTABLE"
7002><P
7003></P
7004><TABLE
7005BORDER="0"
7006WIDTH="100%"
7007BGCOLOR="#FFD0D0"
7008CELLSPACING="0"
7009CELLPADDING="4"
7010CLASS="CALSTABLE"
7011><TR
7012><TD
7013WIDTH="20%"
7014ALIGN="RIGHT"
7015VALIGN="TOP"
7016><TT
7017CLASS="PARAMETER"
7018><I
7019>ctxt</I
7020></TT
7021>:</TD
7022><TD
7023WIDTH="80%"
7024ALIGN="LEFT"
7025VALIGN="TOP"
7026> the XPath Parser context</TD
7027></TR
7028><TR
7029><TD
7030WIDTH="20%"
7031ALIGN="RIGHT"
7032VALIGN="TOP"
7033><TT
7034CLASS="PARAMETER"
7035><I
7036>cur</I
7037></TT
7038>:</TD
7039><TD
7040WIDTH="80%"
7041ALIGN="LEFT"
7042VALIGN="TOP"
7043> the current node in the traversal</TD
7044></TR
7045><TR
7046><TD
7047WIDTH="20%"
7048ALIGN="RIGHT"
7049VALIGN="TOP"
7050><I
7051CLASS="EMPHASIS"
7052>Returns</I
7053> :</TD
7054><TD
7055WIDTH="80%"
7056ALIGN="LEFT"
7057VALIGN="TOP"
7058>the next element following that axis</TD
7059></TR
7060></TABLE
7061><P
7062></P
7063></DIV
7064></DIV
7065><HR><DIV
7066CLASS="REFSECT2"
7067><A
7068NAME="AEN13248"
7069></A
7070><H3
7071><A
7072NAME="XMLXPATHNEXTCHILD"
7073></A
7074>xmlXPathNextChild ()</H3
7075><TABLE
7076BORDER="0"
7077BGCOLOR="#D6E8FF"
7078WIDTH="100%"
7079CELLPADDING="6"
7080><TR
7081><TD
7082><PRE
7083CLASS="PROGRAMLISTING"
7084><A
7085HREF="libxml-tree.html#XMLNODEPTR"
7086>xmlNodePtr</A
7087> xmlXPathNextChild (<A
7088HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
7089>xmlXPathParserContextPtr</A
7090> ctxt,
7091 <A
7092HREF="libxml-tree.html#XMLNODEPTR"
7093>xmlNodePtr</A
7094> cur);</PRE
7095></TD
7096></TR
7097></TABLE
7098><P
7099>Traversal function for the "child" direction
7100The child axis contains the children of the context node in document order.</P
7101><P
7102></P
7103><DIV
7104CLASS="INFORMALTABLE"
7105><P
7106></P
7107><TABLE
7108BORDER="0"
7109WIDTH="100%"
7110BGCOLOR="#FFD0D0"
7111CELLSPACING="0"
7112CELLPADDING="4"
7113CLASS="CALSTABLE"
7114><TR
7115><TD
7116WIDTH="20%"
7117ALIGN="RIGHT"
7118VALIGN="TOP"
7119><TT
7120CLASS="PARAMETER"
7121><I
7122>ctxt</I
7123></TT
7124>:</TD
7125><TD
7126WIDTH="80%"
7127ALIGN="LEFT"
7128VALIGN="TOP"
7129> the XPath Parser context</TD
7130></TR
7131><TR
7132><TD
7133WIDTH="20%"
7134ALIGN="RIGHT"
7135VALIGN="TOP"
7136><TT
7137CLASS="PARAMETER"
7138><I
7139>cur</I
7140></TT
7141>:</TD
7142><TD
7143WIDTH="80%"
7144ALIGN="LEFT"
7145VALIGN="TOP"
7146> the current node in the traversal</TD
7147></TR
7148><TR
7149><TD
7150WIDTH="20%"
7151ALIGN="RIGHT"
7152VALIGN="TOP"
7153><I
7154CLASS="EMPHASIS"
7155>Returns</I
7156> :</TD
7157><TD
7158WIDTH="80%"
7159ALIGN="LEFT"
7160VALIGN="TOP"
7161>the next element following that axis</TD
7162></TR
7163></TABLE
7164><P
7165></P
7166></DIV
7167></DIV
7168><HR><DIV
7169CLASS="REFSECT2"
7170><A
7171NAME="AEN13274"
7172></A
7173><H3
7174><A
7175NAME="XMLXPATHNEXTDESCENDANT"
7176></A
7177>xmlXPathNextDescendant ()</H3
7178><TABLE
7179BORDER="0"
7180BGCOLOR="#D6E8FF"
7181WIDTH="100%"
7182CELLPADDING="6"
7183><TR
7184><TD
7185><PRE
7186CLASS="PROGRAMLISTING"
7187><A
7188HREF="libxml-tree.html#XMLNODEPTR"
7189>xmlNodePtr</A
7190> xmlXPathNextDescendant (<A
7191HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
7192>xmlXPathParserContextPtr</A
7193> ctxt,
7194 <A
7195HREF="libxml-tree.html#XMLNODEPTR"
7196>xmlNodePtr</A
7197> cur);</PRE
7198></TD
7199></TR
7200></TABLE
7201><P
7202>Traversal function for the "descendant" direction
7203the descendant axis contains the descendants of the context node in document
7204order; a descendant is a child or a child of a child and so on.</P
7205><P
7206></P
7207><DIV
7208CLASS="INFORMALTABLE"
7209><P
7210></P
7211><TABLE
7212BORDER="0"
7213WIDTH="100%"
7214BGCOLOR="#FFD0D0"
7215CELLSPACING="0"
7216CELLPADDING="4"
7217CLASS="CALSTABLE"
7218><TR
7219><TD
7220WIDTH="20%"
7221ALIGN="RIGHT"
7222VALIGN="TOP"
7223><TT
7224CLASS="PARAMETER"
7225><I
7226>ctxt</I
7227></TT
7228>:</TD
7229><TD
7230WIDTH="80%"
7231ALIGN="LEFT"
7232VALIGN="TOP"
7233> the XPath Parser context</TD
7234></TR
7235><TR
7236><TD
7237WIDTH="20%"
7238ALIGN="RIGHT"
7239VALIGN="TOP"
7240><TT
7241CLASS="PARAMETER"
7242><I
7243>cur</I
7244></TT
7245>:</TD
7246><TD
7247WIDTH="80%"
7248ALIGN="LEFT"
7249VALIGN="TOP"
7250> the current node in the traversal</TD
7251></TR
7252><TR
7253><TD
7254WIDTH="20%"
7255ALIGN="RIGHT"
7256VALIGN="TOP"
7257><I
7258CLASS="EMPHASIS"
7259>Returns</I
7260> :</TD
7261><TD
7262WIDTH="80%"
7263ALIGN="LEFT"
7264VALIGN="TOP"
7265>the next element following that axis</TD
7266></TR
7267></TABLE
7268><P
7269></P
7270></DIV
7271></DIV
7272><HR><DIV
7273CLASS="REFSECT2"
7274><A
7275NAME="AEN13300"
7276></A
7277><H3
7278><A
7279NAME="XMLXPATHNEXTDESCENDANTORSELF"
7280></A
7281>xmlXPathNextDescendantOrSelf ()</H3
7282><TABLE
7283BORDER="0"
7284BGCOLOR="#D6E8FF"
7285WIDTH="100%"
7286CELLPADDING="6"
7287><TR
7288><TD
7289><PRE
7290CLASS="PROGRAMLISTING"
7291><A
7292HREF="libxml-tree.html#XMLNODEPTR"
7293>xmlNodePtr</A
7294> xmlXPathNextDescendantOrSelf (<A
7295HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
7296>xmlXPathParserContextPtr</A
7297> ctxt,
7298 <A
7299HREF="libxml-tree.html#XMLNODEPTR"
7300>xmlNodePtr</A
7301> cur);</PRE
7302></TD
7303></TR
7304></TABLE
7305><P
7306>Traversal function for the "descendant-or-self" direction
7307the descendant-or-self axis contains the context node and the descendants
7308of the context node in document order; thus the context node is the first
7309node on the axis, and the first child of the context node is the second node
7310on the axis</P
7311><P
7312></P
7313><DIV
7314CLASS="INFORMALTABLE"
7315><P
7316></P
7317><TABLE
7318BORDER="0"
7319WIDTH="100%"
7320BGCOLOR="#FFD0D0"
7321CELLSPACING="0"
7322CELLPADDING="4"
7323CLASS="CALSTABLE"
7324><TR
7325><TD
7326WIDTH="20%"
7327ALIGN="RIGHT"
7328VALIGN="TOP"
7329><TT
7330CLASS="PARAMETER"
7331><I
7332>ctxt</I
7333></TT
7334>:</TD
7335><TD
7336WIDTH="80%"
7337ALIGN="LEFT"
7338VALIGN="TOP"
7339> the XPath Parser context</TD
7340></TR
7341><TR
7342><TD
7343WIDTH="20%"
7344ALIGN="RIGHT"
7345VALIGN="TOP"
7346><TT
7347CLASS="PARAMETER"
7348><I
7349>cur</I
7350></TT
7351>:</TD
7352><TD
7353WIDTH="80%"
7354ALIGN="LEFT"
7355VALIGN="TOP"
7356> the current node in the traversal</TD
7357></TR
7358><TR
7359><TD
7360WIDTH="20%"
7361ALIGN="RIGHT"
7362VALIGN="TOP"
7363><I
7364CLASS="EMPHASIS"
7365>Returns</I
7366> :</TD
7367><TD
7368WIDTH="80%"
7369ALIGN="LEFT"
7370VALIGN="TOP"
7371>the next element following that axis</TD
7372></TR
7373></TABLE
7374><P
7375></P
7376></DIV
7377></DIV
7378><HR><DIV
7379CLASS="REFSECT2"
7380><A
7381NAME="AEN13326"
7382></A
7383><H3
7384><A
7385NAME="XMLXPATHNEXTPARENT"
7386></A
7387>xmlXPathNextParent ()</H3
7388><TABLE
7389BORDER="0"
7390BGCOLOR="#D6E8FF"
7391WIDTH="100%"
7392CELLPADDING="6"
7393><TR
7394><TD
7395><PRE
7396CLASS="PROGRAMLISTING"
7397><A
7398HREF="libxml-tree.html#XMLNODEPTR"
7399>xmlNodePtr</A
7400> xmlXPathNextParent (<A
7401HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
7402>xmlXPathParserContextPtr</A
7403> ctxt,
7404 <A
7405HREF="libxml-tree.html#XMLNODEPTR"
7406>xmlNodePtr</A
7407> cur);</PRE
7408></TD
7409></TR
7410></TABLE
7411><P
7412>Traversal function for the "parent" direction
7413The parent axis contains the parent of the context node, if there is one.</P
7414><P
7415></P
7416><DIV
7417CLASS="INFORMALTABLE"
7418><P
7419></P
7420><TABLE
7421BORDER="0"
7422WIDTH="100%"
7423BGCOLOR="#FFD0D0"
7424CELLSPACING="0"
7425CELLPADDING="4"
7426CLASS="CALSTABLE"
7427><TR
7428><TD
7429WIDTH="20%"
7430ALIGN="RIGHT"
7431VALIGN="TOP"
7432><TT
7433CLASS="PARAMETER"
7434><I
7435>ctxt</I
7436></TT
7437>:</TD
7438><TD
7439WIDTH="80%"
7440ALIGN="LEFT"
7441VALIGN="TOP"
7442> the XPath Parser context</TD
7443></TR
7444><TR
7445><TD
7446WIDTH="20%"
7447ALIGN="RIGHT"
7448VALIGN="TOP"
7449><TT
7450CLASS="PARAMETER"
7451><I
7452>cur</I
7453></TT
7454>:</TD
7455><TD
7456WIDTH="80%"
7457ALIGN="LEFT"
7458VALIGN="TOP"
7459> the current node in the traversal</TD
7460></TR
7461><TR
7462><TD
7463WIDTH="20%"
7464ALIGN="RIGHT"
7465VALIGN="TOP"
7466><I
7467CLASS="EMPHASIS"
7468>Returns</I
7469> :</TD
7470><TD
7471WIDTH="80%"
7472ALIGN="LEFT"
7473VALIGN="TOP"
7474>the next element following that axis</TD
7475></TR
7476></TABLE
7477><P
7478></P
7479></DIV
7480></DIV
7481><HR><DIV
7482CLASS="REFSECT2"
7483><A
7484NAME="AEN13352"
7485></A
7486><H3
7487><A
7488NAME="XMLXPATHNEXTANCESTORORSELF"
7489></A
7490>xmlXPathNextAncestorOrSelf ()</H3
7491><TABLE
7492BORDER="0"
7493BGCOLOR="#D6E8FF"
7494WIDTH="100%"
7495CELLPADDING="6"
7496><TR
7497><TD
7498><PRE
7499CLASS="PROGRAMLISTING"
7500><A
7501HREF="libxml-tree.html#XMLNODEPTR"
7502>xmlNodePtr</A
7503> xmlXPathNextAncestorOrSelf (<A
7504HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
7505>xmlXPathParserContextPtr</A
7506> ctxt,
7507 <A
7508HREF="libxml-tree.html#XMLNODEPTR"
7509>xmlNodePtr</A
7510> cur);</PRE
7511></TD
7512></TR
7513></TABLE
7514><P
7515>Traversal function for the "ancestor-or-self" direction
7516he ancestor-or-self axis contains the context node and ancestors of
7517the context node in reverse document order; thus the context node is
7518the first node on the axis, and the context node's parent the second;
7519parent here is defined the same as with the parent axis.</P
7520><P
7521></P
7522><DIV
7523CLASS="INFORMALTABLE"
7524><P
7525></P
7526><TABLE
7527BORDER="0"
7528WIDTH="100%"
7529BGCOLOR="#FFD0D0"
7530CELLSPACING="0"
7531CELLPADDING="4"
7532CLASS="CALSTABLE"
7533><TR
7534><TD
7535WIDTH="20%"
7536ALIGN="RIGHT"
7537VALIGN="TOP"
7538><TT
7539CLASS="PARAMETER"
7540><I
7541>ctxt</I
7542></TT
7543>:</TD
7544><TD
7545WIDTH="80%"
7546ALIGN="LEFT"
7547VALIGN="TOP"
7548> the XPath Parser context</TD
7549></TR
7550><TR
7551><TD
7552WIDTH="20%"
7553ALIGN="RIGHT"
7554VALIGN="TOP"
7555><TT
7556CLASS="PARAMETER"
7557><I
7558>cur</I
7559></TT
7560>:</TD
7561><TD
7562WIDTH="80%"
7563ALIGN="LEFT"
7564VALIGN="TOP"
7565> the current node in the traversal</TD
7566></TR
7567><TR
7568><TD
7569WIDTH="20%"
7570ALIGN="RIGHT"
7571VALIGN="TOP"
7572><I
7573CLASS="EMPHASIS"
7574>Returns</I
7575> :</TD
7576><TD
7577WIDTH="80%"
7578ALIGN="LEFT"
7579VALIGN="TOP"
7580>the next element following that axis</TD
7581></TR
7582></TABLE
7583><P
7584></P
7585></DIV
7586></DIV
7587><HR><DIV
7588CLASS="REFSECT2"
7589><A
7590NAME="AEN13378"
7591></A
7592><H3
7593><A
7594NAME="XMLXPATHNEXTFOLLOWINGSIBLING"
7595></A
7596>xmlXPathNextFollowingSibling ()</H3
7597><TABLE
7598BORDER="0"
7599BGCOLOR="#D6E8FF"
7600WIDTH="100%"
7601CELLPADDING="6"
7602><TR
7603><TD
7604><PRE
7605CLASS="PROGRAMLISTING"
7606><A
7607HREF="libxml-tree.html#XMLNODEPTR"
7608>xmlNodePtr</A
7609> xmlXPathNextFollowingSibling (<A
7610HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
7611>xmlXPathParserContextPtr</A
7612> ctxt,
7613 <A
7614HREF="libxml-tree.html#XMLNODEPTR"
7615>xmlNodePtr</A
7616> cur);</PRE
7617></TD
7618></TR
7619></TABLE
7620><P
7621>Traversal function for the "following-sibling" direction
7622The following-sibling axis contains the following siblings of the context
7623node in document order.</P
7624><P
7625></P
7626><DIV
7627CLASS="INFORMALTABLE"
7628><P
7629></P
7630><TABLE
7631BORDER="0"
7632WIDTH="100%"
7633BGCOLOR="#FFD0D0"
7634CELLSPACING="0"
7635CELLPADDING="4"
7636CLASS="CALSTABLE"
7637><TR
7638><TD
7639WIDTH="20%"
7640ALIGN="RIGHT"
7641VALIGN="TOP"
7642><TT
7643CLASS="PARAMETER"
7644><I
7645>ctxt</I
7646></TT
7647>:</TD
7648><TD
7649WIDTH="80%"
7650ALIGN="LEFT"
7651VALIGN="TOP"
7652> the XPath Parser context</TD
7653></TR
7654><TR
7655><TD
7656WIDTH="20%"
7657ALIGN="RIGHT"
7658VALIGN="TOP"
7659><TT
7660CLASS="PARAMETER"
7661><I
7662>cur</I
7663></TT
7664>:</TD
7665><TD
7666WIDTH="80%"
7667ALIGN="LEFT"
7668VALIGN="TOP"
7669> the current node in the traversal</TD
7670></TR
7671><TR
7672><TD
7673WIDTH="20%"
7674ALIGN="RIGHT"
7675VALIGN="TOP"
7676><I
7677CLASS="EMPHASIS"
7678>Returns</I
7679> :</TD
7680><TD
7681WIDTH="80%"
7682ALIGN="LEFT"
7683VALIGN="TOP"
7684>the next element following that axis</TD
7685></TR
7686></TABLE
7687><P
7688></P
7689></DIV
7690></DIV
7691><HR><DIV
7692CLASS="REFSECT2"
7693><A
7694NAME="AEN13404"
7695></A
7696><H3
7697><A
7698NAME="XMLXPATHNEXTFOLLOWING"
7699></A
7700>xmlXPathNextFollowing ()</H3
7701><TABLE
7702BORDER="0"
7703BGCOLOR="#D6E8FF"
7704WIDTH="100%"
7705CELLPADDING="6"
7706><TR
7707><TD
7708><PRE
7709CLASS="PROGRAMLISTING"
7710><A
7711HREF="libxml-tree.html#XMLNODEPTR"
7712>xmlNodePtr</A
7713> xmlXPathNextFollowing (<A
7714HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
7715>xmlXPathParserContextPtr</A
7716> ctxt,
7717 <A
7718HREF="libxml-tree.html#XMLNODEPTR"
7719>xmlNodePtr</A
7720> cur);</PRE
7721></TD
7722></TR
7723></TABLE
7724><P
7725>Traversal function for the "following" direction
7726The following axis contains all nodes in the same document as the context
7727node that are after the context node in document order, excluding any
7728descendants and excluding attribute nodes and namespace nodes; the nodes
7729are ordered in document order</P
7730><P
7731></P
7732><DIV
7733CLASS="INFORMALTABLE"
7734><P
7735></P
7736><TABLE
7737BORDER="0"
7738WIDTH="100%"
7739BGCOLOR="#FFD0D0"
7740CELLSPACING="0"
7741CELLPADDING="4"
7742CLASS="CALSTABLE"
7743><TR
7744><TD
7745WIDTH="20%"
7746ALIGN="RIGHT"
7747VALIGN="TOP"
7748><TT
7749CLASS="PARAMETER"
7750><I
7751>ctxt</I
7752></TT
7753>:</TD
7754><TD
7755WIDTH="80%"
7756ALIGN="LEFT"
7757VALIGN="TOP"
7758> the XPath Parser context</TD
7759></TR
7760><TR
7761><TD
7762WIDTH="20%"
7763ALIGN="RIGHT"
7764VALIGN="TOP"
7765><TT
7766CLASS="PARAMETER"
7767><I
7768>cur</I
7769></TT
7770>:</TD
7771><TD
7772WIDTH="80%"
7773ALIGN="LEFT"
7774VALIGN="TOP"
7775> the current node in the traversal</TD
7776></TR
7777><TR
7778><TD
7779WIDTH="20%"
7780ALIGN="RIGHT"
7781VALIGN="TOP"
7782><I
7783CLASS="EMPHASIS"
7784>Returns</I
7785> :</TD
7786><TD
7787WIDTH="80%"
7788ALIGN="LEFT"
7789VALIGN="TOP"
7790>the next element following that axis</TD
7791></TR
7792></TABLE
7793><P
7794></P
7795></DIV
7796></DIV
7797><HR><DIV
7798CLASS="REFSECT2"
7799><A
7800NAME="AEN13430"
7801></A
7802><H3
7803><A
7804NAME="XMLXPATHNEXTNAMESPACE"
7805></A
7806>xmlXPathNextNamespace ()</H3
7807><TABLE
7808BORDER="0"
7809BGCOLOR="#D6E8FF"
7810WIDTH="100%"
7811CELLPADDING="6"
7812><TR
7813><TD
7814><PRE
7815CLASS="PROGRAMLISTING"
7816><A
7817HREF="libxml-tree.html#XMLNODEPTR"
7818>xmlNodePtr</A
7819> xmlXPathNextNamespace (<A
7820HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
7821>xmlXPathParserContextPtr</A
7822> ctxt,
7823 <A
7824HREF="libxml-tree.html#XMLNODEPTR"
7825>xmlNodePtr</A
7826> cur);</PRE
7827></TD
7828></TR
7829></TABLE
7830><P
7831>Traversal function for the "namespace" direction
7832the namespace axis contains the namespace nodes of the context node;
7833the order of nodes on this axis is implementation-defined; the axis will
7834be empty unless the context node is an element</P
7835><P
7836></P
7837><DIV
7838CLASS="INFORMALTABLE"
7839><P
7840></P
7841><TABLE
7842BORDER="0"
7843WIDTH="100%"
7844BGCOLOR="#FFD0D0"
7845CELLSPACING="0"
7846CELLPADDING="4"
7847CLASS="CALSTABLE"
7848><TR
7849><TD
7850WIDTH="20%"
7851ALIGN="RIGHT"
7852VALIGN="TOP"
7853><TT
7854CLASS="PARAMETER"
7855><I
7856>ctxt</I
7857></TT
7858>:</TD
7859><TD
7860WIDTH="80%"
7861ALIGN="LEFT"
7862VALIGN="TOP"
7863> the XPath Parser context</TD
7864></TR
7865><TR
7866><TD
7867WIDTH="20%"
7868ALIGN="RIGHT"
7869VALIGN="TOP"
7870><TT
7871CLASS="PARAMETER"
7872><I
7873>cur</I
7874></TT
7875>:</TD
7876><TD
7877WIDTH="80%"
7878ALIGN="LEFT"
7879VALIGN="TOP"
7880> the current attribute in the traversal</TD
7881></TR
7882><TR
7883><TD
7884WIDTH="20%"
7885ALIGN="RIGHT"
7886VALIGN="TOP"
7887><I
7888CLASS="EMPHASIS"
7889>Returns</I
7890> :</TD
7891><TD
7892WIDTH="80%"
7893ALIGN="LEFT"
7894VALIGN="TOP"
7895>the next element following that axis</TD
7896></TR
7897></TABLE
7898><P
7899></P
7900></DIV
7901></DIV
7902><HR><DIV
7903CLASS="REFSECT2"
7904><A
7905NAME="AEN13456"
7906></A
7907><H3
7908><A
7909NAME="XMLXPATHNEXTATTRIBUTE"
7910></A
7911>xmlXPathNextAttribute ()</H3
7912><TABLE
7913BORDER="0"
7914BGCOLOR="#D6E8FF"
7915WIDTH="100%"
7916CELLPADDING="6"
7917><TR
7918><TD
7919><PRE
7920CLASS="PROGRAMLISTING"
7921><A
7922HREF="libxml-tree.html#XMLNODEPTR"
7923>xmlNodePtr</A
7924> xmlXPathNextAttribute (<A
7925HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
7926>xmlXPathParserContextPtr</A
7927> ctxt,
7928 <A
7929HREF="libxml-tree.html#XMLNODEPTR"
7930>xmlNodePtr</A
7931> cur);</PRE
7932></TD
7933></TR
7934></TABLE
7935><P
7936>Traversal function for the "attribute" direction
7937TODO: support DTD inherited default attributes</P
7938><P
7939></P
7940><DIV
7941CLASS="INFORMALTABLE"
7942><P
7943></P
7944><TABLE
7945BORDER="0"
7946WIDTH="100%"
7947BGCOLOR="#FFD0D0"
7948CELLSPACING="0"
7949CELLPADDING="4"
7950CLASS="CALSTABLE"
7951><TR
7952><TD
7953WIDTH="20%"
7954ALIGN="RIGHT"
7955VALIGN="TOP"
7956><TT
7957CLASS="PARAMETER"
7958><I
7959>ctxt</I
7960></TT
7961>:</TD
7962><TD
7963WIDTH="80%"
7964ALIGN="LEFT"
7965VALIGN="TOP"
7966> the XPath Parser context</TD
7967></TR
7968><TR
7969><TD
7970WIDTH="20%"
7971ALIGN="RIGHT"
7972VALIGN="TOP"
7973><TT
7974CLASS="PARAMETER"
7975><I
7976>cur</I
7977></TT
7978>:</TD
7979><TD
7980WIDTH="80%"
7981ALIGN="LEFT"
7982VALIGN="TOP"
7983> the current attribute in the traversal</TD
7984></TR
7985><TR
7986><TD
7987WIDTH="20%"
7988ALIGN="RIGHT"
7989VALIGN="TOP"
7990><I
7991CLASS="EMPHASIS"
7992>Returns</I
7993> :</TD
7994><TD
7995WIDTH="80%"
7996ALIGN="LEFT"
7997VALIGN="TOP"
7998>the next element following that axis</TD
7999></TR
8000></TABLE
8001><P
8002></P
8003></DIV
8004></DIV
8005><HR><DIV
8006CLASS="REFSECT2"
8007><A
8008NAME="AEN13482"
Daniel Veillarde356c282001-03-10 12:32:04 +00008009></A
8010><H3
8011><A
8012NAME="XMLXPATHNEXTPRECEDING"
8013></A
8014>xmlXPathNextPreceding ()</H3
8015><TABLE
8016BORDER="0"
8017BGCOLOR="#D6E8FF"
8018WIDTH="100%"
8019CELLPADDING="6"
8020><TR
8021><TD
8022><PRE
8023CLASS="PROGRAMLISTING"
8024><A
8025HREF="libxml-tree.html#XMLNODEPTR"
8026>xmlNodePtr</A
8027> xmlXPathNextPreceding (<A
8028HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
8029>xmlXPathParserContextPtr</A
8030> ctxt,
8031 <A
8032HREF="libxml-tree.html#XMLNODEPTR"
8033>xmlNodePtr</A
8034> cur);</PRE
8035></TD
8036></TR
8037></TABLE
8038><P
8039>Traversal function for the "preceding" direction
8040the preceding axis contains all nodes in the same document as the context
8041node that are before the context node in document order, excluding any
8042ancestors and excluding attribute nodes and namespace nodes; the nodes are
8043ordered in reverse document order</P
8044><P
8045></P
8046><DIV
8047CLASS="INFORMALTABLE"
8048><P
8049></P
8050><TABLE
8051BORDER="0"
8052WIDTH="100%"
8053BGCOLOR="#FFD0D0"
8054CELLSPACING="0"
8055CELLPADDING="4"
8056CLASS="CALSTABLE"
8057><TR
8058><TD
8059WIDTH="20%"
8060ALIGN="RIGHT"
8061VALIGN="TOP"
8062><TT
8063CLASS="PARAMETER"
8064><I
8065>ctxt</I
8066></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00008067>:</TD
Daniel Veillarde356c282001-03-10 12:32:04 +00008068><TD
8069WIDTH="80%"
8070ALIGN="LEFT"
8071VALIGN="TOP"
8072> the XPath Parser context</TD
8073></TR
8074><TR
8075><TD
8076WIDTH="20%"
8077ALIGN="RIGHT"
8078VALIGN="TOP"
8079><TT
8080CLASS="PARAMETER"
8081><I
8082>cur</I
8083></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00008084>:</TD
Daniel Veillarde356c282001-03-10 12:32:04 +00008085><TD
8086WIDTH="80%"
8087ALIGN="LEFT"
8088VALIGN="TOP"
8089> the current node in the traversal</TD
8090></TR
8091><TR
8092><TD
8093WIDTH="20%"
8094ALIGN="RIGHT"
8095VALIGN="TOP"
8096><I
8097CLASS="EMPHASIS"
8098>Returns</I
8099> :</TD
8100><TD
8101WIDTH="80%"
8102ALIGN="LEFT"
8103VALIGN="TOP"
8104>the next element following that axis</TD
8105></TR
8106></TABLE
8107><P
8108></P
8109></DIV
8110></DIV
8111><HR><DIV
8112CLASS="REFSECT2"
8113><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00008114NAME="AEN13508"
Daniel Veillarde356c282001-03-10 12:32:04 +00008115></A
8116><H3
8117><A
8118NAME="XMLXPATHNEXTANCESTOR"
8119></A
8120>xmlXPathNextAncestor ()</H3
8121><TABLE
8122BORDER="0"
8123BGCOLOR="#D6E8FF"
8124WIDTH="100%"
8125CELLPADDING="6"
8126><TR
8127><TD
8128><PRE
8129CLASS="PROGRAMLISTING"
8130><A
8131HREF="libxml-tree.html#XMLNODEPTR"
8132>xmlNodePtr</A
8133> xmlXPathNextAncestor (<A
8134HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
8135>xmlXPathParserContextPtr</A
8136> ctxt,
8137 <A
8138HREF="libxml-tree.html#XMLNODEPTR"
8139>xmlNodePtr</A
8140> cur);</PRE
8141></TD
8142></TR
8143></TABLE
8144><P
8145>Traversal function for the "ancestor" direction
8146the ancestor axis contains the ancestors of the context node; the ancestors
8147of the context node consist of the parent of context node and the parent's
8148parent and so on; the nodes are ordered in reverse document order; thus the
8149parent is the first node on the axis, and the parent's parent is the second
8150node on the axis</P
8151><P
8152></P
8153><DIV
8154CLASS="INFORMALTABLE"
8155><P
8156></P
8157><TABLE
8158BORDER="0"
8159WIDTH="100%"
8160BGCOLOR="#FFD0D0"
8161CELLSPACING="0"
8162CELLPADDING="4"
8163CLASS="CALSTABLE"
8164><TR
8165><TD
8166WIDTH="20%"
8167ALIGN="RIGHT"
8168VALIGN="TOP"
8169><TT
8170CLASS="PARAMETER"
8171><I
8172>ctxt</I
8173></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00008174>:</TD
Daniel Veillarde356c282001-03-10 12:32:04 +00008175><TD
8176WIDTH="80%"
8177ALIGN="LEFT"
8178VALIGN="TOP"
8179> the XPath Parser context</TD
8180></TR
8181><TR
8182><TD
8183WIDTH="20%"
8184ALIGN="RIGHT"
8185VALIGN="TOP"
8186><TT
8187CLASS="PARAMETER"
8188><I
8189>cur</I
8190></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00008191>:</TD
Daniel Veillarde356c282001-03-10 12:32:04 +00008192><TD
8193WIDTH="80%"
8194ALIGN="LEFT"
8195VALIGN="TOP"
8196> the current node in the traversal</TD
8197></TR
8198><TR
8199><TD
8200WIDTH="20%"
8201ALIGN="RIGHT"
8202VALIGN="TOP"
8203><I
8204CLASS="EMPHASIS"
8205>Returns</I
8206> :</TD
8207><TD
8208WIDTH="80%"
8209ALIGN="LEFT"
8210VALIGN="TOP"
8211>the next element following that axis</TD
8212></TR
8213></TABLE
8214><P
8215></P
8216></DIV
8217></DIV
8218><HR><DIV
8219CLASS="REFSECT2"
8220><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00008221NAME="AEN13534"
Daniel Veillarde356c282001-03-10 12:32:04 +00008222></A
8223><H3
8224><A
8225NAME="XMLXPATHNEXTPRECEDINGSIBLING"
8226></A
8227>xmlXPathNextPrecedingSibling ()</H3
8228><TABLE
8229BORDER="0"
8230BGCOLOR="#D6E8FF"
8231WIDTH="100%"
8232CELLPADDING="6"
8233><TR
8234><TD
8235><PRE
8236CLASS="PROGRAMLISTING"
8237><A
8238HREF="libxml-tree.html#XMLNODEPTR"
8239>xmlNodePtr</A
8240> xmlXPathNextPrecedingSibling (<A
8241HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
8242>xmlXPathParserContextPtr</A
8243> ctxt,
8244 <A
8245HREF="libxml-tree.html#XMLNODEPTR"
8246>xmlNodePtr</A
8247> cur);</PRE
8248></TD
8249></TR
8250></TABLE
8251><P
8252>Traversal function for the "preceding-sibling" direction
8253The preceding-sibling axis contains the preceding siblings of the context
8254node in reverse document order; the first preceding sibling is first on the
8255axis; the sibling preceding that node is the second on the axis and so on.</P
8256><P
8257></P
8258><DIV
8259CLASS="INFORMALTABLE"
8260><P
8261></P
8262><TABLE
8263BORDER="0"
8264WIDTH="100%"
8265BGCOLOR="#FFD0D0"
8266CELLSPACING="0"
8267CELLPADDING="4"
8268CLASS="CALSTABLE"
8269><TR
8270><TD
8271WIDTH="20%"
8272ALIGN="RIGHT"
8273VALIGN="TOP"
8274><TT
8275CLASS="PARAMETER"
8276><I
8277>ctxt</I
8278></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00008279>:</TD
Daniel Veillarde356c282001-03-10 12:32:04 +00008280><TD
8281WIDTH="80%"
8282ALIGN="LEFT"
8283VALIGN="TOP"
8284> the XPath Parser context</TD
8285></TR
8286><TR
8287><TD
8288WIDTH="20%"
8289ALIGN="RIGHT"
8290VALIGN="TOP"
8291><TT
8292CLASS="PARAMETER"
8293><I
8294>cur</I
8295></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00008296>:</TD
Daniel Veillarde356c282001-03-10 12:32:04 +00008297><TD
8298WIDTH="80%"
8299ALIGN="LEFT"
8300VALIGN="TOP"
8301> the current node in the traversal</TD
8302></TR
8303><TR
8304><TD
8305WIDTH="20%"
8306ALIGN="RIGHT"
8307VALIGN="TOP"
8308><I
8309CLASS="EMPHASIS"
8310>Returns</I
8311> :</TD
8312><TD
8313WIDTH="80%"
8314ALIGN="LEFT"
8315VALIGN="TOP"
8316>the next element following that axis</TD
8317></TR
8318></TABLE
8319><P
8320></P
8321></DIV
8322></DIV
8323><HR><DIV
8324CLASS="REFSECT2"
8325><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00008326NAME="AEN13560"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008327></A
8328><H3
8329><A
8330NAME="XMLXPATHLASTFUNCTION"
8331></A
8332>xmlXPathLastFunction ()</H3
8333><TABLE
8334BORDER="0"
8335BGCOLOR="#D6E8FF"
8336WIDTH="100%"
8337CELLPADDING="6"
8338><TR
8339><TD
8340><PRE
8341CLASS="PROGRAMLISTING"
8342>void xmlXPathLastFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008343HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008344>xmlXPathParserContextPtr</A
8345> ctxt,
8346 int nargs);</PRE
8347></TD
8348></TR
8349></TABLE
8350><P
8351>Implement the <GTKDOCLINK
8352HREF="LAST"
8353>last</GTKDOCLINK
8354>() XPath function
8355number <GTKDOCLINK
8356HREF="LAST"
8357>last</GTKDOCLINK
8358>()
8359The last function returns the number of nodes in the context node list.</P
8360><P
8361></P
8362><DIV
8363CLASS="INFORMALTABLE"
8364><P
8365></P
8366><TABLE
8367BORDER="0"
8368WIDTH="100%"
8369BGCOLOR="#FFD0D0"
8370CELLSPACING="0"
8371CELLPADDING="4"
8372CLASS="CALSTABLE"
8373><TR
8374><TD
8375WIDTH="20%"
8376ALIGN="RIGHT"
8377VALIGN="TOP"
8378><TT
8379CLASS="PARAMETER"
8380><I
8381>ctxt</I
8382></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00008383>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00008384><TD
8385WIDTH="80%"
8386ALIGN="LEFT"
8387VALIGN="TOP"
8388> the XPath Parser context</TD
8389></TR
8390><TR
8391><TD
8392WIDTH="20%"
8393ALIGN="RIGHT"
8394VALIGN="TOP"
8395><TT
8396CLASS="PARAMETER"
8397><I
8398>nargs</I
8399></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00008400>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00008401><TD
8402WIDTH="80%"
8403ALIGN="LEFT"
8404VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008405> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00008406></TR
8407></TABLE
8408><P
8409></P
8410></DIV
8411></DIV
8412><HR><DIV
8413CLASS="REFSECT2"
8414><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00008415NAME="AEN13582"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008416></A
8417><H3
8418><A
8419NAME="XMLXPATHPOSITIONFUNCTION"
8420></A
8421>xmlXPathPositionFunction ()</H3
8422><TABLE
8423BORDER="0"
8424BGCOLOR="#D6E8FF"
8425WIDTH="100%"
8426CELLPADDING="6"
8427><TR
8428><TD
8429><PRE
8430CLASS="PROGRAMLISTING"
8431>void xmlXPathPositionFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008432HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008433>xmlXPathParserContextPtr</A
8434> ctxt,
8435 int nargs);</PRE
8436></TD
8437></TR
8438></TABLE
8439><P
8440>Implement the <GTKDOCLINK
8441HREF="POSITION"
8442>position</GTKDOCLINK
8443>() XPath function
8444number <GTKDOCLINK
8445HREF="POSITION"
8446>position</GTKDOCLINK
8447>()
8448The position function returns the position of the context node in the
8449context node list. The first position is 1, and so the last positionr
8450will be equal to <GTKDOCLINK
8451HREF="LAST"
8452>last</GTKDOCLINK
8453>().</P
8454><P
8455></P
8456><DIV
8457CLASS="INFORMALTABLE"
8458><P
8459></P
8460><TABLE
8461BORDER="0"
8462WIDTH="100%"
8463BGCOLOR="#FFD0D0"
8464CELLSPACING="0"
8465CELLPADDING="4"
8466CLASS="CALSTABLE"
8467><TR
8468><TD
8469WIDTH="20%"
8470ALIGN="RIGHT"
8471VALIGN="TOP"
8472><TT
8473CLASS="PARAMETER"
8474><I
8475>ctxt</I
8476></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00008477>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00008478><TD
8479WIDTH="80%"
8480ALIGN="LEFT"
8481VALIGN="TOP"
8482> the XPath Parser context</TD
8483></TR
8484><TR
8485><TD
8486WIDTH="20%"
8487ALIGN="RIGHT"
8488VALIGN="TOP"
8489><TT
8490CLASS="PARAMETER"
8491><I
8492>nargs</I
8493></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00008494>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00008495><TD
8496WIDTH="80%"
8497ALIGN="LEFT"
8498VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008499> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00008500></TR
8501></TABLE
8502><P
8503></P
8504></DIV
8505></DIV
8506><HR><DIV
8507CLASS="REFSECT2"
8508><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00008509NAME="AEN13605"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008510></A
8511><H3
8512><A
8513NAME="XMLXPATHCOUNTFUNCTION"
8514></A
8515>xmlXPathCountFunction ()</H3
8516><TABLE
8517BORDER="0"
8518BGCOLOR="#D6E8FF"
8519WIDTH="100%"
8520CELLPADDING="6"
8521><TR
8522><TD
8523><PRE
8524CLASS="PROGRAMLISTING"
8525>void xmlXPathCountFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008526HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008527>xmlXPathParserContextPtr</A
8528> ctxt,
8529 int nargs);</PRE
8530></TD
8531></TR
8532></TABLE
8533><P
8534>Implement the <GTKDOCLINK
8535HREF="COUNT"
8536>count</GTKDOCLINK
8537>() XPath function
8538number count(node-set)</P
8539><P
8540></P
8541><DIV
8542CLASS="INFORMALTABLE"
8543><P
8544></P
8545><TABLE
8546BORDER="0"
8547WIDTH="100%"
8548BGCOLOR="#FFD0D0"
8549CELLSPACING="0"
8550CELLPADDING="4"
8551CLASS="CALSTABLE"
8552><TR
8553><TD
8554WIDTH="20%"
8555ALIGN="RIGHT"
8556VALIGN="TOP"
8557><TT
8558CLASS="PARAMETER"
8559><I
8560>ctxt</I
8561></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00008562>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00008563><TD
8564WIDTH="80%"
8565ALIGN="LEFT"
8566VALIGN="TOP"
8567> the XPath Parser context</TD
8568></TR
8569><TR
8570><TD
8571WIDTH="20%"
8572ALIGN="RIGHT"
8573VALIGN="TOP"
8574><TT
8575CLASS="PARAMETER"
8576><I
8577>nargs</I
8578></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00008579>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00008580><TD
8581WIDTH="80%"
8582ALIGN="LEFT"
8583VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008584> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00008585></TR
8586></TABLE
8587><P
8588></P
8589></DIV
8590></DIV
8591><HR><DIV
8592CLASS="REFSECT2"
8593><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00008594NAME="AEN13626"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008595></A
8596><H3
8597><A
8598NAME="XMLXPATHLOCALNAMEFUNCTION"
8599></A
8600>xmlXPathLocalNameFunction ()</H3
8601><TABLE
8602BORDER="0"
8603BGCOLOR="#D6E8FF"
8604WIDTH="100%"
8605CELLPADDING="6"
8606><TR
8607><TD
8608><PRE
8609CLASS="PROGRAMLISTING"
8610>void xmlXPathLocalNameFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008611HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008612>xmlXPathParserContextPtr</A
8613> ctxt,
8614 int nargs);</PRE
8615></TD
8616></TR
8617></TABLE
8618><P
8619>Implement the local-<GTKDOCLINK
8620HREF="NAME"
8621>name</GTKDOCLINK
8622>() XPath function
8623string local-name(node-set?)
8624The local-name function returns a string containing the local part
8625of the name of the node in the argument node-set that is first in
8626document order. If the node-set is empty or the first node has no
8627name, an empty string is returned. If the argument is omitted it
8628defaults to the context node.</P
8629><P
8630></P
8631><DIV
8632CLASS="INFORMALTABLE"
8633><P
8634></P
8635><TABLE
8636BORDER="0"
8637WIDTH="100%"
8638BGCOLOR="#FFD0D0"
8639CELLSPACING="0"
8640CELLPADDING="4"
8641CLASS="CALSTABLE"
8642><TR
8643><TD
8644WIDTH="20%"
8645ALIGN="RIGHT"
8646VALIGN="TOP"
8647><TT
8648CLASS="PARAMETER"
8649><I
8650>ctxt</I
8651></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00008652>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00008653><TD
8654WIDTH="80%"
8655ALIGN="LEFT"
8656VALIGN="TOP"
8657> the XPath Parser context</TD
8658></TR
8659><TR
8660><TD
8661WIDTH="20%"
8662ALIGN="RIGHT"
8663VALIGN="TOP"
8664><TT
8665CLASS="PARAMETER"
8666><I
8667>nargs</I
8668></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00008669>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00008670><TD
8671WIDTH="80%"
8672ALIGN="LEFT"
8673VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008674> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00008675></TR
8676></TABLE
8677><P
8678></P
8679></DIV
8680></DIV
8681><HR><DIV
8682CLASS="REFSECT2"
8683><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00008684NAME="AEN13647"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008685></A
8686><H3
8687><A
8688NAME="XMLXPATHNAMESPACEURIFUNCTION"
8689></A
8690>xmlXPathNamespaceURIFunction ()</H3
8691><TABLE
8692BORDER="0"
8693BGCOLOR="#D6E8FF"
8694WIDTH="100%"
8695CELLPADDING="6"
8696><TR
8697><TD
8698><PRE
8699CLASS="PROGRAMLISTING"
8700>void xmlXPathNamespaceURIFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008701HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008702>xmlXPathParserContextPtr</A
8703> ctxt,
8704 int nargs);</PRE
8705></TD
8706></TR
8707></TABLE
8708><P
8709>Implement the namespace-<GTKDOCLINK
8710HREF="URI"
8711>uri</GTKDOCLINK
8712>() XPath function
8713string namespace-uri(node-set?)
8714The namespace-uri function returns a string containing the
8715namespace URI of the expanded name of the node in the argument
8716node-set that is first in document order. If the node-set is empty,
8717the first node has no name, or the expanded name has no namespace
8718URI, an empty string is returned. If the argument is omitted it
8719defaults to the context node.</P
8720><P
8721></P
8722><DIV
8723CLASS="INFORMALTABLE"
8724><P
8725></P
8726><TABLE
8727BORDER="0"
8728WIDTH="100%"
8729BGCOLOR="#FFD0D0"
8730CELLSPACING="0"
8731CELLPADDING="4"
8732CLASS="CALSTABLE"
8733><TR
8734><TD
8735WIDTH="20%"
8736ALIGN="RIGHT"
8737VALIGN="TOP"
8738><TT
8739CLASS="PARAMETER"
8740><I
8741>ctxt</I
8742></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00008743>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00008744><TD
8745WIDTH="80%"
8746ALIGN="LEFT"
8747VALIGN="TOP"
8748> the XPath Parser context</TD
8749></TR
8750><TR
8751><TD
8752WIDTH="20%"
8753ALIGN="RIGHT"
8754VALIGN="TOP"
8755><TT
8756CLASS="PARAMETER"
8757><I
8758>nargs</I
8759></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00008760>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00008761><TD
8762WIDTH="80%"
8763ALIGN="LEFT"
8764VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008765> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00008766></TR
8767></TABLE
8768><P
8769></P
8770></DIV
8771></DIV
8772><HR><DIV
8773CLASS="REFSECT2"
8774><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00008775NAME="AEN13668"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008776></A
8777><H3
8778><A
8779NAME="XMLXPATHSTRINGLENGTHFUNCTION"
8780></A
8781>xmlXPathStringLengthFunction ()</H3
8782><TABLE
8783BORDER="0"
8784BGCOLOR="#D6E8FF"
8785WIDTH="100%"
8786CELLPADDING="6"
8787><TR
8788><TD
8789><PRE
8790CLASS="PROGRAMLISTING"
8791>void xmlXPathStringLengthFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008792HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008793>xmlXPathParserContextPtr</A
8794> ctxt,
8795 int nargs);</PRE
8796></TD
8797></TR
8798></TABLE
8799><P
8800>Implement the string-<GTKDOCLINK
8801HREF="LENGTH"
8802>length</GTKDOCLINK
8803>() XPath function
8804number string-length(string?)
8805The string-length returns the number of characters in the string
8806(see [3.6 Strings]). If the argument is omitted, it defaults to
8807the context node converted to a string, in other words the value
8808of the context node.</P
8809><P
8810></P
8811><DIV
8812CLASS="INFORMALTABLE"
8813><P
8814></P
8815><TABLE
8816BORDER="0"
8817WIDTH="100%"
8818BGCOLOR="#FFD0D0"
8819CELLSPACING="0"
8820CELLPADDING="4"
8821CLASS="CALSTABLE"
8822><TR
8823><TD
8824WIDTH="20%"
8825ALIGN="RIGHT"
8826VALIGN="TOP"
8827><TT
8828CLASS="PARAMETER"
8829><I
8830>ctxt</I
8831></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00008832>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00008833><TD
8834WIDTH="80%"
8835ALIGN="LEFT"
8836VALIGN="TOP"
8837> the XPath Parser context</TD
8838></TR
8839><TR
8840><TD
8841WIDTH="20%"
8842ALIGN="RIGHT"
8843VALIGN="TOP"
8844><TT
8845CLASS="PARAMETER"
8846><I
8847>nargs</I
8848></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00008849>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00008850><TD
8851WIDTH="80%"
8852ALIGN="LEFT"
8853VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008854> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00008855></TR
8856></TABLE
8857><P
8858></P
8859></DIV
8860></DIV
8861><HR><DIV
8862CLASS="REFSECT2"
8863><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00008864NAME="AEN13689"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008865></A
8866><H3
8867><A
8868NAME="XMLXPATHCONCATFUNCTION"
8869></A
8870>xmlXPathConcatFunction ()</H3
8871><TABLE
8872BORDER="0"
8873BGCOLOR="#D6E8FF"
8874WIDTH="100%"
8875CELLPADDING="6"
8876><TR
8877><TD
8878><PRE
8879CLASS="PROGRAMLISTING"
8880>void xmlXPathConcatFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008881HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008882>xmlXPathParserContextPtr</A
8883> ctxt,
8884 int nargs);</PRE
8885></TD
8886></TR
8887></TABLE
8888><P
8889>Implement the <GTKDOCLINK
8890HREF="CONCAT"
8891>concat</GTKDOCLINK
8892>() XPath function
8893string concat(string, string, string*)
8894The concat function returns the concatenation of its arguments.</P
8895><P
8896></P
8897><DIV
8898CLASS="INFORMALTABLE"
8899><P
8900></P
8901><TABLE
8902BORDER="0"
8903WIDTH="100%"
8904BGCOLOR="#FFD0D0"
8905CELLSPACING="0"
8906CELLPADDING="4"
8907CLASS="CALSTABLE"
8908><TR
8909><TD
8910WIDTH="20%"
8911ALIGN="RIGHT"
8912VALIGN="TOP"
8913><TT
8914CLASS="PARAMETER"
8915><I
8916>ctxt</I
8917></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00008918>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00008919><TD
8920WIDTH="80%"
8921ALIGN="LEFT"
8922VALIGN="TOP"
8923> the XPath Parser context</TD
8924></TR
8925><TR
8926><TD
8927WIDTH="20%"
8928ALIGN="RIGHT"
8929VALIGN="TOP"
8930><TT
8931CLASS="PARAMETER"
8932><I
8933>nargs</I
8934></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00008935>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00008936><TD
8937WIDTH="80%"
8938ALIGN="LEFT"
8939VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008940> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00008941></TR
8942></TABLE
8943><P
8944></P
8945></DIV
8946></DIV
8947><HR><DIV
8948CLASS="REFSECT2"
8949><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00008950NAME="AEN13710"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008951></A
8952><H3
8953><A
8954NAME="XMLXPATHCONTAINSFUNCTION"
8955></A
8956>xmlXPathContainsFunction ()</H3
8957><TABLE
8958BORDER="0"
8959BGCOLOR="#D6E8FF"
8960WIDTH="100%"
8961CELLPADDING="6"
8962><TR
8963><TD
8964><PRE
8965CLASS="PROGRAMLISTING"
8966>void xmlXPathContainsFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008967HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008968>xmlXPathParserContextPtr</A
8969> ctxt,
8970 int nargs);</PRE
8971></TD
8972></TR
8973></TABLE
8974><P
8975>Implement the <GTKDOCLINK
8976HREF="CONTAINS"
8977>contains</GTKDOCLINK
8978>() XPath function
8979boolean contains(string, string)
8980The contains function returns true if the first argument string
8981contains the second argument string, and otherwise returns false.</P
8982><P
8983></P
8984><DIV
8985CLASS="INFORMALTABLE"
8986><P
8987></P
8988><TABLE
8989BORDER="0"
8990WIDTH="100%"
8991BGCOLOR="#FFD0D0"
8992CELLSPACING="0"
8993CELLPADDING="4"
8994CLASS="CALSTABLE"
8995><TR
8996><TD
8997WIDTH="20%"
8998ALIGN="RIGHT"
8999VALIGN="TOP"
9000><TT
9001CLASS="PARAMETER"
9002><I
9003>ctxt</I
9004></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00009005>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009006><TD
9007WIDTH="80%"
9008ALIGN="LEFT"
9009VALIGN="TOP"
9010> the XPath Parser context</TD
9011></TR
9012><TR
9013><TD
9014WIDTH="20%"
9015ALIGN="RIGHT"
9016VALIGN="TOP"
9017><TT
9018CLASS="PARAMETER"
9019><I
9020>nargs</I
9021></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00009022>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009023><TD
9024WIDTH="80%"
9025ALIGN="LEFT"
9026VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009027> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009028></TR
9029></TABLE
9030><P
9031></P
9032></DIV
9033></DIV
9034><HR><DIV
9035CLASS="REFSECT2"
9036><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00009037NAME="AEN13731"
Daniel Veillard9753ad72000-11-13 19:12:23 +00009038></A
9039><H3
9040><A
9041NAME="XMLXPATHSTARTSWITHFUNCTION"
9042></A
9043>xmlXPathStartsWithFunction ()</H3
9044><TABLE
9045BORDER="0"
9046BGCOLOR="#D6E8FF"
9047WIDTH="100%"
9048CELLPADDING="6"
9049><TR
9050><TD
9051><PRE
9052CLASS="PROGRAMLISTING"
9053>void xmlXPathStartsWithFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009054HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00009055>xmlXPathParserContextPtr</A
9056> ctxt,
9057 int nargs);</PRE
9058></TD
9059></TR
9060></TABLE
9061><P
9062>Implement the starts-<GTKDOCLINK
9063HREF="WITH"
9064>with</GTKDOCLINK
9065>() XPath function
9066boolean starts-with(string, string)
9067The starts-with function returns true if the first argument string
9068starts with the second argument string, and otherwise returns false.</P
9069><P
9070></P
9071><DIV
9072CLASS="INFORMALTABLE"
9073><P
9074></P
9075><TABLE
9076BORDER="0"
9077WIDTH="100%"
9078BGCOLOR="#FFD0D0"
9079CELLSPACING="0"
9080CELLPADDING="4"
9081CLASS="CALSTABLE"
9082><TR
9083><TD
9084WIDTH="20%"
9085ALIGN="RIGHT"
9086VALIGN="TOP"
9087><TT
9088CLASS="PARAMETER"
9089><I
9090>ctxt</I
9091></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00009092>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009093><TD
9094WIDTH="80%"
9095ALIGN="LEFT"
9096VALIGN="TOP"
9097> the XPath Parser context</TD
9098></TR
9099><TR
9100><TD
9101WIDTH="20%"
9102ALIGN="RIGHT"
9103VALIGN="TOP"
9104><TT
9105CLASS="PARAMETER"
9106><I
9107>nargs</I
9108></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00009109>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009110><TD
9111WIDTH="80%"
9112ALIGN="LEFT"
9113VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009114> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009115></TR
9116></TABLE
9117><P
9118></P
9119></DIV
9120></DIV
9121><HR><DIV
9122CLASS="REFSECT2"
9123><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00009124NAME="AEN13752"
Daniel Veillard9753ad72000-11-13 19:12:23 +00009125></A
9126><H3
9127><A
9128NAME="XMLXPATHSUBSTRINGFUNCTION"
9129></A
9130>xmlXPathSubstringFunction ()</H3
9131><TABLE
9132BORDER="0"
9133BGCOLOR="#D6E8FF"
9134WIDTH="100%"
9135CELLPADDING="6"
9136><TR
9137><TD
9138><PRE
9139CLASS="PROGRAMLISTING"
9140>void xmlXPathSubstringFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009141HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00009142>xmlXPathParserContextPtr</A
9143> ctxt,
9144 int nargs);</PRE
9145></TD
9146></TR
9147></TABLE
9148><P
9149>Implement the <GTKDOCLINK
9150HREF="SUBSTRING"
9151>substring</GTKDOCLINK
9152>() XPath function
9153string substring(string, number, number?)
9154The substring function returns the substring of the first argument
9155starting at the position specified in the second argument with
9156length specified in the third argument. For example,
9157substring("12345",2,3) returns "234". If the third argument is not
9158specified, it returns the substring starting at the position specified
9159in the second argument and continuing to the end of the string. For
9160example, substring("12345",2) returns "2345". More precisely, each
9161character in the string (see [3.6 Strings]) is considered to have a
9162numeric position: the position of the first character is 1, the position
9163of the second character is 2 and so on. The returned substring contains
9164those characters for which the position of the character is greater than
9165or equal to the second argument and, if the third argument is specified,
9166less than the sum of the second and third arguments; the comparisons
9167and addition used for the above follow the standard IEEE 754 rules. Thus:
9168- substring("12345", 1.5, 2.6) returns "234"
9169- substring("12345", 0, 3) returns "12"
9170- substring("12345", 0 div 0, 3) returns ""
9171- substring("12345", 1, 0 div 0) returns ""
9172- substring("12345", -42, 1 div 0) returns "12345"
9173- substring("12345", -1 div 0, 1 div 0) returns ""</P
9174><P
9175></P
9176><DIV
9177CLASS="INFORMALTABLE"
9178><P
9179></P
9180><TABLE
9181BORDER="0"
9182WIDTH="100%"
9183BGCOLOR="#FFD0D0"
9184CELLSPACING="0"
9185CELLPADDING="4"
9186CLASS="CALSTABLE"
9187><TR
9188><TD
9189WIDTH="20%"
9190ALIGN="RIGHT"
9191VALIGN="TOP"
9192><TT
9193CLASS="PARAMETER"
9194><I
9195>ctxt</I
9196></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00009197>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009198><TD
9199WIDTH="80%"
9200ALIGN="LEFT"
9201VALIGN="TOP"
9202> the XPath Parser context</TD
9203></TR
9204><TR
9205><TD
9206WIDTH="20%"
9207ALIGN="RIGHT"
9208VALIGN="TOP"
9209><TT
9210CLASS="PARAMETER"
9211><I
9212>nargs</I
9213></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00009214>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009215><TD
9216WIDTH="80%"
9217ALIGN="LEFT"
9218VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009219> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009220></TR
9221></TABLE
9222><P
9223></P
9224></DIV
9225></DIV
9226><HR><DIV
9227CLASS="REFSECT2"
9228><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00009229NAME="AEN13773"
Daniel Veillard9753ad72000-11-13 19:12:23 +00009230></A
9231><H3
9232><A
9233NAME="XMLXPATHSUBSTRINGBEFOREFUNCTION"
9234></A
9235>xmlXPathSubstringBeforeFunction ()</H3
9236><TABLE
9237BORDER="0"
9238BGCOLOR="#D6E8FF"
9239WIDTH="100%"
9240CELLPADDING="6"
9241><TR
9242><TD
9243><PRE
9244CLASS="PROGRAMLISTING"
9245>void xmlXPathSubstringBeforeFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009246HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00009247>xmlXPathParserContextPtr</A
9248> ctxt,
9249 int nargs);</PRE
9250></TD
9251></TR
9252></TABLE
9253><P
9254>Implement the substring-<GTKDOCLINK
9255HREF="BEFORE"
9256>before</GTKDOCLINK
9257>() XPath function
9258string substring-before(string, string)
9259The substring-before function returns the substring of the first
9260argument string that precedes the first occurrence of the second
9261argument string in the first argument string, or the empty string
9262if the first argument string does not contain the second argument
9263string. For example, substring-before("1999/04/01","/") returns 1999.</P
9264><P
9265></P
9266><DIV
9267CLASS="INFORMALTABLE"
9268><P
9269></P
9270><TABLE
9271BORDER="0"
9272WIDTH="100%"
9273BGCOLOR="#FFD0D0"
9274CELLSPACING="0"
9275CELLPADDING="4"
9276CLASS="CALSTABLE"
9277><TR
9278><TD
9279WIDTH="20%"
9280ALIGN="RIGHT"
9281VALIGN="TOP"
9282><TT
9283CLASS="PARAMETER"
9284><I
9285>ctxt</I
9286></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00009287>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009288><TD
9289WIDTH="80%"
9290ALIGN="LEFT"
9291VALIGN="TOP"
9292> the XPath Parser context</TD
9293></TR
9294><TR
9295><TD
9296WIDTH="20%"
9297ALIGN="RIGHT"
9298VALIGN="TOP"
9299><TT
9300CLASS="PARAMETER"
9301><I
9302>nargs</I
9303></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00009304>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009305><TD
9306WIDTH="80%"
9307ALIGN="LEFT"
9308VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009309> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009310></TR
9311></TABLE
9312><P
9313></P
9314></DIV
9315></DIV
9316><HR><DIV
9317CLASS="REFSECT2"
9318><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00009319NAME="AEN13794"
Daniel Veillard9753ad72000-11-13 19:12:23 +00009320></A
9321><H3
9322><A
9323NAME="XMLXPATHSUBSTRINGAFTERFUNCTION"
9324></A
9325>xmlXPathSubstringAfterFunction ()</H3
9326><TABLE
9327BORDER="0"
9328BGCOLOR="#D6E8FF"
9329WIDTH="100%"
9330CELLPADDING="6"
9331><TR
9332><TD
9333><PRE
9334CLASS="PROGRAMLISTING"
9335>void xmlXPathSubstringAfterFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009336HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00009337>xmlXPathParserContextPtr</A
9338> ctxt,
9339 int nargs);</PRE
9340></TD
9341></TR
9342></TABLE
9343><P
9344>Implement the substring-<GTKDOCLINK
9345HREF="AFTER"
9346>after</GTKDOCLINK
9347>() XPath function
9348string substring-after(string, string)
9349The substring-after function returns the substring of the first
9350argument string that follows the first occurrence of the second
9351argument string in the first argument string, or the empty stringi
9352if the first argument string does not contain the second argument
9353string. For example, substring-after("1999/04/01","/") returns 04/01,
9354and substring-after("1999/04/01","19") returns 99/04/01.</P
9355><P
9356></P
9357><DIV
9358CLASS="INFORMALTABLE"
9359><P
9360></P
9361><TABLE
9362BORDER="0"
9363WIDTH="100%"
9364BGCOLOR="#FFD0D0"
9365CELLSPACING="0"
9366CELLPADDING="4"
9367CLASS="CALSTABLE"
9368><TR
9369><TD
9370WIDTH="20%"
9371ALIGN="RIGHT"
9372VALIGN="TOP"
9373><TT
9374CLASS="PARAMETER"
9375><I
9376>ctxt</I
9377></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00009378>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009379><TD
9380WIDTH="80%"
9381ALIGN="LEFT"
9382VALIGN="TOP"
9383> the XPath Parser context</TD
9384></TR
9385><TR
9386><TD
9387WIDTH="20%"
9388ALIGN="RIGHT"
9389VALIGN="TOP"
9390><TT
9391CLASS="PARAMETER"
9392><I
9393>nargs</I
9394></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00009395>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009396><TD
9397WIDTH="80%"
9398ALIGN="LEFT"
9399VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009400> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009401></TR
9402></TABLE
9403><P
9404></P
9405></DIV
9406></DIV
9407><HR><DIV
9408CLASS="REFSECT2"
9409><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00009410NAME="AEN13815"
Daniel Veillard9753ad72000-11-13 19:12:23 +00009411></A
9412><H3
9413><A
9414NAME="XMLXPATHNORMALIZEFUNCTION"
9415></A
9416>xmlXPathNormalizeFunction ()</H3
9417><TABLE
9418BORDER="0"
9419BGCOLOR="#D6E8FF"
9420WIDTH="100%"
9421CELLPADDING="6"
9422><TR
9423><TD
9424><PRE
9425CLASS="PROGRAMLISTING"
9426>void xmlXPathNormalizeFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009427HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00009428>xmlXPathParserContextPtr</A
9429> ctxt,
9430 int nargs);</PRE
9431></TD
9432></TR
9433></TABLE
9434><P
9435>Implement the normalize-<GTKDOCLINK
9436HREF="SPACE"
9437>space</GTKDOCLINK
9438>() XPath function
9439string normalize-space(string?)
9440The normalize-space function returns the argument string with white
9441space normalized by stripping leading and trailing whitespace
9442and replacing sequences of whitespace characters by a single
9443space. Whitespace characters are the same allowed by the S production
9444in XML. If the argument is omitted, it defaults to the context
9445node converted to a string, in other words the value of the context node.</P
9446><P
9447></P
9448><DIV
9449CLASS="INFORMALTABLE"
9450><P
9451></P
9452><TABLE
9453BORDER="0"
9454WIDTH="100%"
9455BGCOLOR="#FFD0D0"
9456CELLSPACING="0"
9457CELLPADDING="4"
9458CLASS="CALSTABLE"
9459><TR
9460><TD
9461WIDTH="20%"
9462ALIGN="RIGHT"
9463VALIGN="TOP"
9464><TT
9465CLASS="PARAMETER"
9466><I
9467>ctxt</I
9468></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00009469>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009470><TD
9471WIDTH="80%"
9472ALIGN="LEFT"
9473VALIGN="TOP"
9474> the XPath Parser context</TD
9475></TR
9476><TR
9477><TD
9478WIDTH="20%"
9479ALIGN="RIGHT"
9480VALIGN="TOP"
9481><TT
9482CLASS="PARAMETER"
9483><I
9484>nargs</I
9485></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00009486>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009487><TD
9488WIDTH="80%"
9489ALIGN="LEFT"
9490VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009491> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009492></TR
9493></TABLE
9494><P
9495></P
9496></DIV
9497></DIV
9498><HR><DIV
9499CLASS="REFSECT2"
9500><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00009501NAME="AEN13836"
Daniel Veillard9753ad72000-11-13 19:12:23 +00009502></A
9503><H3
9504><A
9505NAME="XMLXPATHTRANSLATEFUNCTION"
9506></A
9507>xmlXPathTranslateFunction ()</H3
9508><TABLE
9509BORDER="0"
9510BGCOLOR="#D6E8FF"
9511WIDTH="100%"
9512CELLPADDING="6"
9513><TR
9514><TD
9515><PRE
9516CLASS="PROGRAMLISTING"
9517>void xmlXPathTranslateFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009518HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00009519>xmlXPathParserContextPtr</A
9520> ctxt,
9521 int nargs);</PRE
9522></TD
9523></TR
9524></TABLE
9525><P
9526>Implement the <GTKDOCLINK
9527HREF="TRANSLATE"
9528>translate</GTKDOCLINK
9529>() XPath function
9530string translate(string, string, string)
9531The translate function returns the first argument string with
9532occurrences of characters in the second argument string replaced
9533by the character at the corresponding position in the third argument
9534string. For example, translate("bar","abc","ABC") returns the string
9535BAr. If there is a character in the second argument string with no
9536character at a corresponding position in the third argument string
9537(because the second argument string is longer than the third argument
9538string), then occurrences of that character in the first argument
9539string are removed. For example, translate("--aaa--","abc-","ABC")</P
9540><P
9541></P
9542><DIV
9543CLASS="INFORMALTABLE"
9544><P
9545></P
9546><TABLE
9547BORDER="0"
9548WIDTH="100%"
9549BGCOLOR="#FFD0D0"
9550CELLSPACING="0"
9551CELLPADDING="4"
9552CLASS="CALSTABLE"
9553><TR
9554><TD
9555WIDTH="20%"
9556ALIGN="RIGHT"
9557VALIGN="TOP"
9558><TT
9559CLASS="PARAMETER"
9560><I
9561>ctxt</I
9562></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00009563>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009564><TD
9565WIDTH="80%"
9566ALIGN="LEFT"
9567VALIGN="TOP"
9568> the XPath Parser context</TD
9569></TR
9570><TR
9571><TD
9572WIDTH="20%"
9573ALIGN="RIGHT"
9574VALIGN="TOP"
9575><TT
9576CLASS="PARAMETER"
9577><I
9578>nargs</I
9579></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00009580>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009581><TD
9582WIDTH="80%"
9583ALIGN="LEFT"
9584VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009585> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009586></TR
9587></TABLE
9588><P
9589></P
9590></DIV
9591></DIV
9592><HR><DIV
9593CLASS="REFSECT2"
9594><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00009595NAME="AEN13857"
Daniel Veillard9753ad72000-11-13 19:12:23 +00009596></A
9597><H3
9598><A
9599NAME="XMLXPATHNOTFUNCTION"
9600></A
9601>xmlXPathNotFunction ()</H3
9602><TABLE
9603BORDER="0"
9604BGCOLOR="#D6E8FF"
9605WIDTH="100%"
9606CELLPADDING="6"
9607><TR
9608><TD
9609><PRE
9610CLASS="PROGRAMLISTING"
9611>void xmlXPathNotFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009612HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00009613>xmlXPathParserContextPtr</A
9614> ctxt,
9615 int nargs);</PRE
9616></TD
9617></TR
9618></TABLE
9619><P
9620>Implement the <GTKDOCLINK
9621HREF="NOT"
9622>not</GTKDOCLINK
9623>() XPath function
9624boolean not(boolean)
9625The not function returns true if its argument is false,
9626and false otherwise.</P
9627><P
9628></P
9629><DIV
9630CLASS="INFORMALTABLE"
9631><P
9632></P
9633><TABLE
9634BORDER="0"
9635WIDTH="100%"
9636BGCOLOR="#FFD0D0"
9637CELLSPACING="0"
9638CELLPADDING="4"
9639CLASS="CALSTABLE"
9640><TR
9641><TD
9642WIDTH="20%"
9643ALIGN="RIGHT"
9644VALIGN="TOP"
9645><TT
9646CLASS="PARAMETER"
9647><I
9648>ctxt</I
9649></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00009650>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009651><TD
9652WIDTH="80%"
9653ALIGN="LEFT"
9654VALIGN="TOP"
9655> the XPath Parser context</TD
9656></TR
9657><TR
9658><TD
9659WIDTH="20%"
9660ALIGN="RIGHT"
9661VALIGN="TOP"
9662><TT
9663CLASS="PARAMETER"
9664><I
9665>nargs</I
9666></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00009667>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009668><TD
9669WIDTH="80%"
9670ALIGN="LEFT"
9671VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009672> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009673></TR
9674></TABLE
9675><P
9676></P
9677></DIV
9678></DIV
9679><HR><DIV
9680CLASS="REFSECT2"
9681><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00009682NAME="AEN13878"
Daniel Veillard9753ad72000-11-13 19:12:23 +00009683></A
9684><H3
9685><A
9686NAME="XMLXPATHTRUEFUNCTION"
9687></A
9688>xmlXPathTrueFunction ()</H3
9689><TABLE
9690BORDER="0"
9691BGCOLOR="#D6E8FF"
9692WIDTH="100%"
9693CELLPADDING="6"
9694><TR
9695><TD
9696><PRE
9697CLASS="PROGRAMLISTING"
9698>void xmlXPathTrueFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009699HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00009700>xmlXPathParserContextPtr</A
9701> ctxt,
9702 int nargs);</PRE
9703></TD
9704></TR
9705></TABLE
9706><P
9707>Implement the <GTKDOCLINK
9708HREF="TRUE"
9709>true</GTKDOCLINK
9710>() XPath function
9711boolean <GTKDOCLINK
9712HREF="TRUE"
9713>true</GTKDOCLINK
9714>()</P
9715><P
9716></P
9717><DIV
9718CLASS="INFORMALTABLE"
9719><P
9720></P
9721><TABLE
9722BORDER="0"
9723WIDTH="100%"
9724BGCOLOR="#FFD0D0"
9725CELLSPACING="0"
9726CELLPADDING="4"
9727CLASS="CALSTABLE"
9728><TR
9729><TD
9730WIDTH="20%"
9731ALIGN="RIGHT"
9732VALIGN="TOP"
9733><TT
9734CLASS="PARAMETER"
9735><I
9736>ctxt</I
9737></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00009738>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009739><TD
9740WIDTH="80%"
9741ALIGN="LEFT"
9742VALIGN="TOP"
9743> the XPath Parser context</TD
9744></TR
9745><TR
9746><TD
9747WIDTH="20%"
9748ALIGN="RIGHT"
9749VALIGN="TOP"
9750><TT
9751CLASS="PARAMETER"
9752><I
9753>nargs</I
9754></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00009755>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009756><TD
9757WIDTH="80%"
9758ALIGN="LEFT"
9759VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009760> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009761></TR
9762></TABLE
9763><P
9764></P
9765></DIV
9766></DIV
9767><HR><DIV
9768CLASS="REFSECT2"
9769><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00009770NAME="AEN13900"
Daniel Veillard9753ad72000-11-13 19:12:23 +00009771></A
9772><H3
9773><A
9774NAME="XMLXPATHFALSEFUNCTION"
9775></A
9776>xmlXPathFalseFunction ()</H3
9777><TABLE
9778BORDER="0"
9779BGCOLOR="#D6E8FF"
9780WIDTH="100%"
9781CELLPADDING="6"
9782><TR
9783><TD
9784><PRE
9785CLASS="PROGRAMLISTING"
9786>void xmlXPathFalseFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009787HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00009788>xmlXPathParserContextPtr</A
9789> ctxt,
9790 int nargs);</PRE
9791></TD
9792></TR
9793></TABLE
9794><P
9795>Implement the <GTKDOCLINK
9796HREF="FALSE"
9797>false</GTKDOCLINK
9798>() XPath function
9799boolean <GTKDOCLINK
9800HREF="FALSE"
9801>false</GTKDOCLINK
9802>()</P
9803><P
9804></P
9805><DIV
9806CLASS="INFORMALTABLE"
9807><P
9808></P
9809><TABLE
9810BORDER="0"
9811WIDTH="100%"
9812BGCOLOR="#FFD0D0"
9813CELLSPACING="0"
9814CELLPADDING="4"
9815CLASS="CALSTABLE"
9816><TR
9817><TD
9818WIDTH="20%"
9819ALIGN="RIGHT"
9820VALIGN="TOP"
9821><TT
9822CLASS="PARAMETER"
9823><I
9824>ctxt</I
9825></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00009826>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009827><TD
9828WIDTH="80%"
9829ALIGN="LEFT"
9830VALIGN="TOP"
9831> the XPath Parser context</TD
9832></TR
9833><TR
9834><TD
9835WIDTH="20%"
9836ALIGN="RIGHT"
9837VALIGN="TOP"
9838><TT
9839CLASS="PARAMETER"
9840><I
9841>nargs</I
9842></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00009843>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009844><TD
9845WIDTH="80%"
9846ALIGN="LEFT"
9847VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009848> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009849></TR
9850></TABLE
9851><P
9852></P
9853></DIV
9854></DIV
9855><HR><DIV
9856CLASS="REFSECT2"
9857><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00009858NAME="AEN13922"
Daniel Veillard9753ad72000-11-13 19:12:23 +00009859></A
9860><H3
9861><A
9862NAME="XMLXPATHLANGFUNCTION"
9863></A
9864>xmlXPathLangFunction ()</H3
9865><TABLE
9866BORDER="0"
9867BGCOLOR="#D6E8FF"
9868WIDTH="100%"
9869CELLPADDING="6"
9870><TR
9871><TD
9872><PRE
9873CLASS="PROGRAMLISTING"
9874>void xmlXPathLangFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009875HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00009876>xmlXPathParserContextPtr</A
9877> ctxt,
9878 int nargs);</PRE
9879></TD
9880></TR
9881></TABLE
9882><P
9883>Implement the <GTKDOCLINK
9884HREF="LANG"
9885>lang</GTKDOCLINK
9886>() XPath function
9887boolean lang(string)
9888The lang function returns true or false depending on whether the
9889language of the context node as specified by xml:lang attributes
9890is the same as or is a sublanguage of the language specified by
9891the argument string. The language of the context node is determined
9892by the value of the xml:lang attribute on the context node, or, if
9893the context node has no xml:lang attribute, by the value of the
9894xml:lang attribute on the nearest ancestor of the context node that
9895has an xml:lang attribute. If there is no such attribute, then lang</P
9896><P
9897></P
9898><DIV
9899CLASS="INFORMALTABLE"
9900><P
9901></P
9902><TABLE
9903BORDER="0"
9904WIDTH="100%"
9905BGCOLOR="#FFD0D0"
9906CELLSPACING="0"
9907CELLPADDING="4"
9908CLASS="CALSTABLE"
9909><TR
9910><TD
9911WIDTH="20%"
9912ALIGN="RIGHT"
9913VALIGN="TOP"
9914><TT
9915CLASS="PARAMETER"
9916><I
9917>ctxt</I
9918></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00009919>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009920><TD
9921WIDTH="80%"
9922ALIGN="LEFT"
9923VALIGN="TOP"
9924> the XPath Parser context</TD
9925></TR
9926><TR
9927><TD
9928WIDTH="20%"
9929ALIGN="RIGHT"
9930VALIGN="TOP"
9931><TT
9932CLASS="PARAMETER"
9933><I
9934>nargs</I
9935></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00009936>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009937><TD
9938WIDTH="80%"
9939ALIGN="LEFT"
9940VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009941> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009942></TR
9943></TABLE
9944><P
9945></P
9946></DIV
9947></DIV
9948><HR><DIV
9949CLASS="REFSECT2"
9950><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00009951NAME="AEN13943"
Daniel Veillard9753ad72000-11-13 19:12:23 +00009952></A
9953><H3
9954><A
9955NAME="XMLXPATHNUMBERFUNCTION"
9956></A
9957>xmlXPathNumberFunction ()</H3
9958><TABLE
9959BORDER="0"
9960BGCOLOR="#D6E8FF"
9961WIDTH="100%"
9962CELLPADDING="6"
9963><TR
9964><TD
9965><PRE
9966CLASS="PROGRAMLISTING"
9967>void xmlXPathNumberFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009968HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00009969>xmlXPathParserContextPtr</A
9970> ctxt,
9971 int nargs);</PRE
9972></TD
9973></TR
9974></TABLE
9975><P
9976>Implement the <GTKDOCLINK
9977HREF="NUMBER"
9978>number</GTKDOCLINK
9979>() XPath function
9980number number(object?)</P
9981><P
9982></P
9983><DIV
9984CLASS="INFORMALTABLE"
9985><P
9986></P
9987><TABLE
9988BORDER="0"
9989WIDTH="100%"
9990BGCOLOR="#FFD0D0"
9991CELLSPACING="0"
9992CELLPADDING="4"
9993CLASS="CALSTABLE"
9994><TR
9995><TD
9996WIDTH="20%"
9997ALIGN="RIGHT"
9998VALIGN="TOP"
9999><TT
10000CLASS="PARAMETER"
10001><I
10002>ctxt</I
10003></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +000010004>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010005><TD
10006WIDTH="80%"
10007ALIGN="LEFT"
10008VALIGN="TOP"
10009> the XPath Parser context</TD
10010></TR
10011><TR
10012><TD
10013WIDTH="20%"
10014ALIGN="RIGHT"
10015VALIGN="TOP"
10016><TT
10017CLASS="PARAMETER"
10018><I
10019>nargs</I
10020></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +000010021>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010022><TD
10023WIDTH="80%"
10024ALIGN="LEFT"
10025VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010026> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010027></TR
10028></TABLE
10029><P
10030></P
10031></DIV
10032></DIV
10033><HR><DIV
10034CLASS="REFSECT2"
10035><A
Daniel Veillarda41123c2001-04-22 19:31:20 +000010036NAME="AEN13964"
Daniel Veillard9753ad72000-11-13 19:12:23 +000010037></A
10038><H3
10039><A
10040NAME="XMLXPATHSUMFUNCTION"
10041></A
10042>xmlXPathSumFunction ()</H3
10043><TABLE
10044BORDER="0"
10045BGCOLOR="#D6E8FF"
10046WIDTH="100%"
10047CELLPADDING="6"
10048><TR
10049><TD
10050><PRE
10051CLASS="PROGRAMLISTING"
10052>void xmlXPathSumFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010053HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +000010054>xmlXPathParserContextPtr</A
10055> ctxt,
10056 int nargs);</PRE
10057></TD
10058></TR
10059></TABLE
10060><P
10061>Implement the <GTKDOCLINK
10062HREF="SUM"
10063>sum</GTKDOCLINK
10064>() XPath function
10065number sum(node-set)
10066The sum function returns the sum of the values of the nodes in
10067the argument node-set.</P
10068><P
10069></P
10070><DIV
10071CLASS="INFORMALTABLE"
10072><P
10073></P
10074><TABLE
10075BORDER="0"
10076WIDTH="100%"
10077BGCOLOR="#FFD0D0"
10078CELLSPACING="0"
10079CELLPADDING="4"
10080CLASS="CALSTABLE"
10081><TR
10082><TD
10083WIDTH="20%"
10084ALIGN="RIGHT"
10085VALIGN="TOP"
10086><TT
10087CLASS="PARAMETER"
10088><I
10089>ctxt</I
10090></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +000010091>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010092><TD
10093WIDTH="80%"
10094ALIGN="LEFT"
10095VALIGN="TOP"
10096> the XPath Parser context</TD
10097></TR
10098><TR
10099><TD
10100WIDTH="20%"
10101ALIGN="RIGHT"
10102VALIGN="TOP"
10103><TT
10104CLASS="PARAMETER"
10105><I
10106>nargs</I
10107></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +000010108>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010109><TD
10110WIDTH="80%"
10111ALIGN="LEFT"
10112VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010113> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010114></TR
10115></TABLE
10116><P
10117></P
10118></DIV
10119></DIV
10120><HR><DIV
10121CLASS="REFSECT2"
10122><A
Daniel Veillarda41123c2001-04-22 19:31:20 +000010123NAME="AEN13985"
Daniel Veillard9753ad72000-11-13 19:12:23 +000010124></A
10125><H3
10126><A
10127NAME="XMLXPATHFLOORFUNCTION"
10128></A
10129>xmlXPathFloorFunction ()</H3
10130><TABLE
10131BORDER="0"
10132BGCOLOR="#D6E8FF"
10133WIDTH="100%"
10134CELLPADDING="6"
10135><TR
10136><TD
10137><PRE
10138CLASS="PROGRAMLISTING"
10139>void xmlXPathFloorFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010140HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +000010141>xmlXPathParserContextPtr</A
10142> ctxt,
10143 int nargs);</PRE
10144></TD
10145></TR
10146></TABLE
10147><P
10148>Implement the <GTKDOCLINK
10149HREF="FLOOR"
10150>floor</GTKDOCLINK
10151>() XPath function
10152number floor(number)
10153The floor function returns the largest (closest to positive infinity)
10154number that is not greater than the argument and that is an integer.</P
10155><P
10156></P
10157><DIV
10158CLASS="INFORMALTABLE"
10159><P
10160></P
10161><TABLE
10162BORDER="0"
10163WIDTH="100%"
10164BGCOLOR="#FFD0D0"
10165CELLSPACING="0"
10166CELLPADDING="4"
10167CLASS="CALSTABLE"
10168><TR
10169><TD
10170WIDTH="20%"
10171ALIGN="RIGHT"
10172VALIGN="TOP"
10173><TT
10174CLASS="PARAMETER"
10175><I
10176>ctxt</I
10177></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +000010178>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010179><TD
10180WIDTH="80%"
10181ALIGN="LEFT"
10182VALIGN="TOP"
10183> the XPath Parser context</TD
10184></TR
10185><TR
10186><TD
10187WIDTH="20%"
10188ALIGN="RIGHT"
10189VALIGN="TOP"
10190><TT
10191CLASS="PARAMETER"
10192><I
10193>nargs</I
10194></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +000010195>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010196><TD
10197WIDTH="80%"
10198ALIGN="LEFT"
10199VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010200> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010201></TR
10202></TABLE
10203><P
10204></P
10205></DIV
10206></DIV
10207><HR><DIV
10208CLASS="REFSECT2"
10209><A
Daniel Veillarda41123c2001-04-22 19:31:20 +000010210NAME="AEN14006"
Daniel Veillard9753ad72000-11-13 19:12:23 +000010211></A
10212><H3
10213><A
10214NAME="XMLXPATHCEILINGFUNCTION"
10215></A
10216>xmlXPathCeilingFunction ()</H3
10217><TABLE
10218BORDER="0"
10219BGCOLOR="#D6E8FF"
10220WIDTH="100%"
10221CELLPADDING="6"
10222><TR
10223><TD
10224><PRE
10225CLASS="PROGRAMLISTING"
10226>void xmlXPathCeilingFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010227HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +000010228>xmlXPathParserContextPtr</A
10229> ctxt,
10230 int nargs);</PRE
10231></TD
10232></TR
10233></TABLE
10234><P
10235>Implement the <GTKDOCLINK
10236HREF="CEILING"
10237>ceiling</GTKDOCLINK
10238>() XPath function
10239number ceiling(number)
10240The ceiling function returns the smallest (closest to negative infinity)
10241number that is not less than the argument and that is an integer.</P
10242><P
10243></P
10244><DIV
10245CLASS="INFORMALTABLE"
10246><P
10247></P
10248><TABLE
10249BORDER="0"
10250WIDTH="100%"
10251BGCOLOR="#FFD0D0"
10252CELLSPACING="0"
10253CELLPADDING="4"
10254CLASS="CALSTABLE"
10255><TR
10256><TD
10257WIDTH="20%"
10258ALIGN="RIGHT"
10259VALIGN="TOP"
10260><TT
10261CLASS="PARAMETER"
10262><I
10263>ctxt</I
10264></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +000010265>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010266><TD
10267WIDTH="80%"
10268ALIGN="LEFT"
10269VALIGN="TOP"
10270> the XPath Parser context</TD
10271></TR
10272><TR
10273><TD
10274WIDTH="20%"
10275ALIGN="RIGHT"
10276VALIGN="TOP"
10277><TT
10278CLASS="PARAMETER"
10279><I
10280>nargs</I
10281></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +000010282>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010283><TD
10284WIDTH="80%"
10285ALIGN="LEFT"
10286VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010287> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010288></TR
10289></TABLE
10290><P
10291></P
10292></DIV
10293></DIV
10294><HR><DIV
10295CLASS="REFSECT2"
10296><A
Daniel Veillarda41123c2001-04-22 19:31:20 +000010297NAME="AEN14027"
Daniel Veillard9753ad72000-11-13 19:12:23 +000010298></A
10299><H3
10300><A
10301NAME="XMLXPATHROUNDFUNCTION"
10302></A
10303>xmlXPathRoundFunction ()</H3
10304><TABLE
10305BORDER="0"
10306BGCOLOR="#D6E8FF"
10307WIDTH="100%"
10308CELLPADDING="6"
10309><TR
10310><TD
10311><PRE
10312CLASS="PROGRAMLISTING"
10313>void xmlXPathRoundFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010314HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +000010315>xmlXPathParserContextPtr</A
10316> ctxt,
10317 int nargs);</PRE
10318></TD
10319></TR
10320></TABLE
10321><P
10322>Implement the <GTKDOCLINK
10323HREF="ROUND"
10324>round</GTKDOCLINK
10325>() XPath function
10326number round(number)
10327The round function returns the number that is closest to the
10328argument and that is an integer. If there are two such numbers,
10329then the one that is even is returned.</P
10330><P
10331></P
10332><DIV
10333CLASS="INFORMALTABLE"
10334><P
10335></P
10336><TABLE
10337BORDER="0"
10338WIDTH="100%"
10339BGCOLOR="#FFD0D0"
10340CELLSPACING="0"
10341CELLPADDING="4"
10342CLASS="CALSTABLE"
10343><TR
10344><TD
10345WIDTH="20%"
10346ALIGN="RIGHT"
10347VALIGN="TOP"
10348><TT
10349CLASS="PARAMETER"
10350><I
10351>ctxt</I
10352></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +000010353>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010354><TD
10355WIDTH="80%"
10356ALIGN="LEFT"
10357VALIGN="TOP"
10358> the XPath Parser context</TD
10359></TR
10360><TR
10361><TD
10362WIDTH="20%"
10363ALIGN="RIGHT"
10364VALIGN="TOP"
10365><TT
10366CLASS="PARAMETER"
10367><I
10368>nargs</I
10369></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +000010370>:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010371><TD
10372WIDTH="80%"
10373ALIGN="LEFT"
10374VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010375> the number of arguments</TD
10376></TR
10377></TABLE
10378><P
10379></P
10380></DIV
10381></DIV
10382><HR><DIV
10383CLASS="REFSECT2"
10384><A
Daniel Veillarda41123c2001-04-22 19:31:20 +000010385NAME="AEN14048"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010386></A
10387><H3
10388><A
10389NAME="XMLXPATHBOOLEANFUNCTION"
10390></A
10391>xmlXPathBooleanFunction ()</H3
10392><TABLE
10393BORDER="0"
10394BGCOLOR="#D6E8FF"
10395WIDTH="100%"
10396CELLPADDING="6"
10397><TR
10398><TD
10399><PRE
10400CLASS="PROGRAMLISTING"
10401>void xmlXPathBooleanFunction (<A
10402HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
10403>xmlXPathParserContextPtr</A
10404> ctxt,
10405 int nargs);</PRE
10406></TD
10407></TR
10408></TABLE
10409><P
10410>Implement the <GTKDOCLINK
10411HREF="BOOLEAN"
10412>boolean</GTKDOCLINK
10413>() XPath function
10414boolean boolean(object)
10415he boolean function converts its argument to a boolean as follows:
10416- a number is true if and only if it is neither positive or
10417negative zero nor NaN
10418- a node-set is true if and only if it is non-empty
10419- a string is true if and only if its length is non-zero</P
10420><P
10421></P
10422><DIV
10423CLASS="INFORMALTABLE"
10424><P
10425></P
10426><TABLE
10427BORDER="0"
10428WIDTH="100%"
10429BGCOLOR="#FFD0D0"
10430CELLSPACING="0"
10431CELLPADDING="4"
10432CLASS="CALSTABLE"
10433><TR
10434><TD
10435WIDTH="20%"
10436ALIGN="RIGHT"
10437VALIGN="TOP"
10438><TT
10439CLASS="PARAMETER"
10440><I
10441>ctxt</I
10442></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +000010443>:</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010444><TD
10445WIDTH="80%"
10446ALIGN="LEFT"
10447VALIGN="TOP"
10448> the XPath Parser context</TD
10449></TR
10450><TR
10451><TD
10452WIDTH="20%"
10453ALIGN="RIGHT"
10454VALIGN="TOP"
10455><TT
10456CLASS="PARAMETER"
10457><I
10458>nargs</I
10459></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +000010460>:</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010461><TD
10462WIDTH="80%"
10463ALIGN="LEFT"
10464VALIGN="TOP"
10465> the number of arguments</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010466></TR
10467></TABLE
10468><P
10469></P
10470></DIV
10471></DIV
10472></DIV
10473><DIV
10474CLASS="NAVFOOTER"
10475><BR
10476CLEAR="all"><BR><TABLE
10477WIDTH="100%"
10478BORDER="0"
10479BGCOLOR="#000000"
10480CELLPADDING="1"
10481CELLSPACING="0"
10482><TR
10483><TD
10484WIDTH="25%"
10485BGCOLOR="#C00000"
10486ALIGN="left"
10487><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010488HREF="libxml-xpath.html"
Daniel Veillard9753ad72000-11-13 19:12:23 +000010489><FONT
10490COLOR="#FFFFFF"
10491SIZE="3"
10492><B
10493>&#60;&#60;&#60; Previous Page</B
10494></FONT
10495></A
10496></TD
10497><TD
10498WIDTH="25%"
10499BGCOLOR="#0000C0"
10500ALIGN="center"
10501><FONT
10502COLOR="#FFFFFF"
10503SIZE="3"
10504><B
10505><A
10506HREF="book1.html"
10507><FONT
10508COLOR="#FFFFFF"
10509SIZE="3"
10510><B
10511>Home</B
10512></FONT
10513></A
10514></B
10515></FONT
10516></TD
10517><TD
10518WIDTH="25%"
10519BGCOLOR="#00C000"
10520ALIGN="center"
10521><FONT
10522COLOR="#FFFFFF"
10523SIZE="3"
10524><B
10525><A
10526HREF="libxml-lib.html"
10527><FONT
10528COLOR="#FFFFFF"
10529SIZE="3"
10530><B
10531>Up</B
10532></FONT
10533></A
10534></B
10535></FONT
10536></TD
10537><TD
10538WIDTH="25%"
10539BGCOLOR="#C00000"
10540ALIGN="right"
10541><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010542HREF="libxml-xpointer.html"
Daniel Veillard9753ad72000-11-13 19:12:23 +000010543><FONT
10544COLOR="#FFFFFF"
10545SIZE="3"
10546><B
10547>Next Page &#62;&#62;&#62;</B
10548></FONT
10549></A
10550></TD
10551></TR
10552><TR
10553><TD
10554COLSPAN="2"
10555ALIGN="left"
10556><FONT
10557COLOR="#FFFFFF"
10558SIZE="3"
10559><B
10560>xpath</B
10561></FONT
10562></TD
10563><TD
10564COLSPAN="2"
10565ALIGN="right"
10566><FONT
10567COLOR="#FFFFFF"
10568SIZE="3"
10569><B
10570>xpointer</B
10571></FONT
10572></TD
10573></TR
10574></TABLE
10575></DIV
10576></BODY
10577></HTML
10578>