blob: 60324d01f0a315b6a399210d5da115352082a814 [file] [log] [blame]
Daniel Veillard9753ad72000-11-13 19:12:23 +00001<HTML
2><HEAD
3><TITLE
4>xpathInternals</TITLE
5><META
6NAME="GENERATOR"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007CONTENT="Modular DocBook HTML Stylesheet Version 1.59"><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
Daniel Veillardbed7b052001-05-19 14:59:49 +000021CLASS="REFENTRY"
Daniel Veillard9753ad72000-11-13 19:12:23 +000022BGCOLOR="#FFFFFF"
23TEXT="#000000"
Daniel Veillard503b8932001-01-05 06:36:31 +000024LINK="#0000FF"
25VLINK="#840084"
26ALINK="#0000FF"
Daniel Veillard9753ad72000-11-13 19:12:23 +000027><DIV
28CLASS="NAVHEADER"
29><TABLE
30WIDTH="100%"
31BORDER="0"
32BGCOLOR="#000000"
33CELLPADDING="1"
34CELLSPACING="0"
35><TR
36><TH
37COLSPAN="4"
38ALIGN="center"
39><FONT
40COLOR="#FFFFFF"
41SIZE="5"
42>Gnome XML Library Reference Manual</FONT
43></TH
44></TR
45><TR
46><TD
47WIDTH="25%"
48BGCOLOR="#C00000"
49ALIGN="left"
50><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000051HREF="libxml-xpath.html"
Daniel Veillard9753ad72000-11-13 19:12:23 +000052><FONT
53COLOR="#FFFFFF"
54SIZE="3"
55><B
56>&#60;&#60;&#60; Previous Page</B
57></FONT
58></A
59></TD
60><TD
61WIDTH="25%"
62BGCOLOR="#0000C0"
63ALIGN="center"
64><FONT
65COLOR="#FFFFFF"
66SIZE="3"
67><B
68><A
69HREF="book1.html"
70><FONT
71COLOR="#FFFFFF"
72SIZE="3"
73><B
74>Home</B
75></FONT
76></A
77></B
78></FONT
79></TD
80><TD
81WIDTH="25%"
82BGCOLOR="#00C000"
83ALIGN="center"
84><FONT
85COLOR="#FFFFFF"
86SIZE="3"
87><B
88><A
89HREF="libxml-lib.html"
90><FONT
91COLOR="#FFFFFF"
92SIZE="3"
93><B
94>Up</B
95></FONT
96></A
97></B
98></FONT
99></TD
100><TD
101WIDTH="25%"
102BGCOLOR="#C00000"
103ALIGN="right"
104><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000105HREF="libxml-xpointer.html"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000106><FONT
107COLOR="#FFFFFF"
108SIZE="3"
109><B
110>Next Page &#62;&#62;&#62;</B
111></FONT
112></A
113></TD
114></TR
115></TABLE
116></DIV
117><H1
Daniel Veillard503b8932001-01-05 06:36:31 +0000118><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000119NAME="LIBXML-XPATHINTERNALS"
Daniel Veillard503b8932001-01-05 06:36:31 +0000120>xpathInternals</A
121></H1
Daniel Veillard9753ad72000-11-13 19:12:23 +0000122><DIV
123CLASS="REFNAMEDIV"
124><A
Daniel Veillardc5d64342001-06-24 12:13:24 +0000125NAME="AEN12295"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000126></A
127><H2
128>Name</H2
Daniel Veillard503b8932001-01-05 06:36:31 +0000129>xpathInternals&nbsp;--&nbsp;</DIV
Daniel Veillard9753ad72000-11-13 19:12:23 +0000130><DIV
131CLASS="REFSYNOPSISDIV"
132><A
Daniel Veillardc5d64342001-06-24 12:13:24 +0000133NAME="AEN12298"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000134></A
135><H2
136>Synopsis</H2
137><TABLE
138BORDER="0"
139BGCOLOR="#D6E8FF"
140WIDTH="100%"
141CELLPADDING="6"
142><TR
143><TD
144><PRE
145CLASS="SYNOPSIS"
146>&#13;
147
148#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000149HREF="libxml-xpathinternals.html#CHECK-ERROR-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000150>CHECK_ERROR</A
151>
152#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000153HREF="libxml-xpathinternals.html#CHECK-ERROR0-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000154>CHECK_ERROR0</A
155>
156#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000157HREF="libxml-xpathinternals.html#XP-ERROR-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000158>XP_ERROR</A
159> (X)
160#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000161HREF="libxml-xpathinternals.html#XP-ERROR0-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000162>XP_ERROR0</A
163> (X)
164#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000165HREF="libxml-xpathinternals.html#CHECK-TYPE-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000166>CHECK_TYPE</A
167> (typeval)
168#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000169HREF="libxml-xpathinternals.html#CHECK-ARITY-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000170>CHECK_ARITY</A
171> (x)
172#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000173HREF="libxml-xpathinternals.html#CAST-TO-STRING-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000174>CAST_TO_STRING</A
175>
176#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000177HREF="libxml-xpathinternals.html#CAST-TO-NUMBER-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000178>CAST_TO_NUMBER</A
179>
180#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000181HREF="libxml-xpathinternals.html#CAST-TO-BOOLEAN-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000182>CAST_TO_BOOLEAN</A
183>
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000184<GTKDOCLINK
185HREF="TYPEDEF"
186>typedef</GTKDOCLINK
187> <A
188HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
189>xmlXPathObjectPtr</A
190> ();
Daniel Veillard9753ad72000-11-13 19:12:23 +0000191void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000192HREF="libxml-xpathinternals.html#XMLXPATHREGISTERVARIABLELOOKUP"
193>xmlXPathRegisterVariableLookup</A
194> (<A
195HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
196>xmlXPathContextPtr</A
197> ctxt,
198 <GTKDOCLINK
199HREF="XMLXPATHVARIABLELOOKUPFUNC"
200>xmlXPathVariableLookupFunc</GTKDOCLINK
201> f,
202 void *varCtxt);
203void <A
204HREF="libxml-xpath.html#XMLXPATHERROR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000205>xmlXPatherror</A
206> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000207HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000208>xmlXPathParserContextPtr</A
209> ctxt,
210 const char *file,
211 int line,
212 int no);
213void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000214HREF="libxml-xpathinternals.html#XMLXPATHDEBUGDUMPOBJECT"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000215>xmlXPathDebugDumpObject</A
216> (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000217HREF="FILE-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000218>FILE</GTKDOCLINK
219> *output,
220 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000221HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000222>xmlXPathObjectPtr</A
223> cur,
224 int depth);
Daniel Veillarda41123c2001-04-22 19:31:20 +0000225void <A
226HREF="libxml-xpathinternals.html#XMLXPATHDEBUGDUMPCOMPEXPR"
227>xmlXPathDebugDumpCompExpr</A
228> (<GTKDOCLINK
229HREF="FILE-CAPS"
230>FILE</GTKDOCLINK
231> *output,
232 <A
233HREF="libxml-xpath.html#XMLXPATHCOMPEXPRPTR"
234>xmlXPathCompExprPtr</A
235> comp,
236 int depth);
Daniel Veillard9753ad72000-11-13 19:12:23 +0000237int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000238HREF="libxml-xpathinternals.html#XMLXPATHREGISTERNS"
Daniel Veillard503b8932001-01-05 06:36:31 +0000239>xmlXPathRegisterNs</A
240> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000241HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard503b8932001-01-05 06:36:31 +0000242>xmlXPathContextPtr</A
243> ctxt,
244 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000245HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard503b8932001-01-05 06:36:31 +0000246>xmlChar</A
247> *prefix,
248 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000249HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard503b8932001-01-05 06:36:31 +0000250>xmlChar</A
251> *ns_uri);
252const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000253HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard503b8932001-01-05 06:36:31 +0000254>xmlChar</A
255>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000256HREF="libxml-xpathinternals.html#XMLXPATHNSLOOKUP"
Daniel Veillard503b8932001-01-05 06:36:31 +0000257>xmlXPathNsLookup</A
258> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000259HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard503b8932001-01-05 06:36:31 +0000260>xmlXPathContextPtr</A
261> ctxt,
262 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000263HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard503b8932001-01-05 06:36:31 +0000264>xmlChar</A
265> *ns_uri);
266void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000267HREF="libxml-xpathinternals.html#XMLXPATHREGISTEREDNSCLEANUP"
Daniel Veillard503b8932001-01-05 06:36:31 +0000268>xmlXPathRegisteredNsCleanup</A
269> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000270HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard503b8932001-01-05 06:36:31 +0000271>xmlXPathContextPtr</A
272> ctxt);
273int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000274HREF="libxml-xpathinternals.html#XMLXPATHREGISTERFUNC"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000275>xmlXPathRegisterFunc</A
276> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000277HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000278>xmlXPathContextPtr</A
279> ctxt,
280 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000281HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000282>xmlChar</A
283> *name,
284 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000285HREF="libxml-xpath.html#XMLXPATHFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000286>xmlXPathFunction</A
287> f);
288int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000289HREF="libxml-xpathinternals.html#XMLXPATHREGISTERFUNCNS"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000290>xmlXPathRegisterFuncNS</A
291> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000292HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000293>xmlXPathContextPtr</A
294> ctxt,
295 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000296HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000297>xmlChar</A
298> *name,
299 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000300HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000301>xmlChar</A
302> *ns_uri,
303 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000304HREF="libxml-xpath.html#XMLXPATHFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000305>xmlXPathFunction</A
306> f);
307int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000308HREF="libxml-xpathinternals.html#XMLXPATHREGISTERVARIABLE"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000309>xmlXPathRegisterVariable</A
310> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000311HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000312>xmlXPathContextPtr</A
313> ctxt,
314 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000315HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000316>xmlChar</A
317> *name,
318 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000319HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000320>xmlXPathObjectPtr</A
321> value);
322int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000323HREF="libxml-xpathinternals.html#XMLXPATHREGISTERVARIABLENS"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000324>xmlXPathRegisterVariableNS</A
325> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000326HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000327>xmlXPathContextPtr</A
328> ctxt,
329 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000330HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000331>xmlChar</A
332> *name,
333 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000334HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000335>xmlChar</A
336> *ns_uri,
337 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000338HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000339>xmlXPathObjectPtr</A
340> value);
341<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000342HREF="libxml-xpath.html#XMLXPATHFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000343>xmlXPathFunction</A
344> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000345HREF="libxml-xpathinternals.html#XMLXPATHFUNCTIONLOOKUP"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000346>xmlXPathFunctionLookup</A
347> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000348HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000349>xmlXPathContextPtr</A
350> ctxt,
351 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000352HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000353>xmlChar</A
354> *name);
355<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000356HREF="libxml-xpath.html#XMLXPATHFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000357>xmlXPathFunction</A
358> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000359HREF="libxml-xpathinternals.html#XMLXPATHFUNCTIONLOOKUPNS"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000360>xmlXPathFunctionLookupNS</A
361> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000362HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000363>xmlXPathContextPtr</A
364> ctxt,
365 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000366HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000367>xmlChar</A
368> *name,
369 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000370HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000371>xmlChar</A
372> *ns_uri);
373void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000374HREF="libxml-xpathinternals.html#XMLXPATHREGISTEREDFUNCSCLEANUP"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000375>xmlXPathRegisteredFuncsCleanup</A
376> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000377HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000378>xmlXPathContextPtr</A
379> ctxt);
380<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000381HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000382>xmlXPathObjectPtr</A
383> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000384HREF="libxml-xpathinternals.html#XMLXPATHVARIABLELOOKUP"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000385>xmlXPathVariableLookup</A
386> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000387HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000388>xmlXPathContextPtr</A
389> ctxt,
390 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000391HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000392>xmlChar</A
393> *name);
394<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000395HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000396>xmlXPathObjectPtr</A
397> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000398HREF="libxml-xpathinternals.html#XMLXPATHVARIABLELOOKUPNS"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000399>xmlXPathVariableLookupNS</A
400> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000401HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000402>xmlXPathContextPtr</A
403> ctxt,
404 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000405HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000406>xmlChar</A
407> *name,
408 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000409HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000410>xmlChar</A
411> *ns_uri);
412void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000413HREF="libxml-xpathinternals.html#XMLXPATHREGISTEREDVARIABLESCLEANUP"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000414>xmlXPathRegisteredVariablesCleanup</A
415>
416 (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000417HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000418>xmlXPathContextPtr</A
419> ctxt);
420<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000421HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000422>xmlXPathParserContextPtr</A
423> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000424HREF="libxml-xpathinternals.html#XMLXPATHNEWPARSERCONTEXT"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000425>xmlXPathNewParserContext</A
426>
427 (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000428HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000429>xmlChar</A
430> *str,
431 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000432HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000433>xmlXPathContextPtr</A
434> ctxt);
435void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000436HREF="libxml-xpathinternals.html#XMLXPATHFREEPARSERCONTEXT"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000437>xmlXPathFreeParserContext</A
438> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000439HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000440>xmlXPathParserContextPtr</A
441> ctxt);
442<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000443HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000444>xmlXPathObjectPtr</A
445> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000446HREF="libxml-xpathinternals.html#VALUEPOP"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000447>valuePop</A
448> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000449HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000450>xmlXPathParserContextPtr</A
451> ctxt);
452int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000453HREF="libxml-xpathinternals.html#VALUEPUSH"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000454>valuePush</A
455> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000456HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000457>xmlXPathParserContextPtr</A
458> ctxt,
459 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000460HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000461>xmlXPathObjectPtr</A
462> value);
463<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000464HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000465>xmlXPathObjectPtr</A
466> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000467HREF="libxml-xpathinternals.html#XMLXPATHNEWSTRING"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000468>xmlXPathNewString</A
469> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000470HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000471>xmlChar</A
472> *val);
473<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000474HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000475>xmlXPathObjectPtr</A
476> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000477HREF="libxml-xpathinternals.html#XMLXPATHNEWCSTRING"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000478>xmlXPathNewCString</A
479> (const char *val);
480<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000481HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000482>xmlXPathObjectPtr</A
483> <A
Daniel Veillardbed7b052001-05-19 14:59:49 +0000484HREF="libxml-xpathinternals.html#XMLXPATHWRAPSTRING"
485>xmlXPathWrapString</A
486> (<A
487HREF="libxml-tree.html#XMLCHAR"
488>xmlChar</A
489> *val);
490<A
491HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
492>xmlXPathObjectPtr</A
493> <A
494HREF="libxml-xpathinternals.html#XMLXPATHWRAPCSTRING"
495>xmlXPathWrapCString</A
496> (char *val);
497<A
498HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
499>xmlXPathObjectPtr</A
500> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000501HREF="libxml-xpathinternals.html#XMLXPATHNEWFLOAT"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000502>xmlXPathNewFloat</A
503> (<GTKDOCLINK
504HREF="DOUBLE"
505>double</GTKDOCLINK
506> val);
507<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000508HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000509>xmlXPathObjectPtr</A
510> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000511HREF="libxml-xpathinternals.html#XMLXPATHNEWBOOLEAN"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000512>xmlXPathNewBoolean</A
513> (int val);
514<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000515HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000516>xmlXPathObjectPtr</A
517> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000518HREF="libxml-xpathinternals.html#XMLXPATHNEWNODESET"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000519>xmlXPathNewNodeSet</A
520> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000521HREF="libxml-tree.html#XMLNODEPTR"
522>xmlNodePtr</A
523> val);
524<A
525HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
526>xmlXPathObjectPtr</A
527> <A
528HREF="libxml-xpathinternals.html#XMLXPATHNEWVALUETREE"
529>xmlXPathNewValueTree</A
530> (<A
531HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000532>xmlNodePtr</A
533> val);
534void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000535HREF="libxml-xpathinternals.html#XMLXPATHNODESETADD"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000536>xmlXPathNodeSetAdd</A
537> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000538HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000539>xmlNodeSetPtr</A
540> cur,
541 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000542HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000543>xmlNodePtr</A
544> val);
545void <A
Daniel Veillarda41123c2001-04-22 19:31:20 +0000546HREF="libxml-xpathinternals.html#XMLXPATHNODESETADDUNIQUE"
547>xmlXPathNodeSetAddUnique</A
548> (<A
549HREF="libxml-xpath.html#XMLNODESETPTR"
550>xmlNodeSetPtr</A
551> cur,
552 <A
553HREF="libxml-tree.html#XMLNODEPTR"
554>xmlNodePtr</A
555> val);
556void <A
557HREF="libxml-xpathinternals.html#XMLXPATHNODESETSORT"
558>xmlXPathNodeSetSort</A
559> (<A
560HREF="libxml-xpath.html#XMLNODESETPTR"
561>xmlNodeSetPtr</A
562> set);
563void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000564HREF="libxml-xpathinternals.html#XMLXPATHIDFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000565>xmlXPathIdFunction</A
566> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000567HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000568>xmlXPathParserContextPtr</A
569> ctxt,
570 int nargs);
571void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000572HREF="libxml-xpathinternals.html#XMLXPATHROOT"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000573>xmlXPathRoot</A
574> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000575HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000576>xmlXPathParserContextPtr</A
577> ctxt);
578void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000579HREF="libxml-xpathinternals.html#XMLXPATHEVALEXPR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000580>xmlXPathEvalExpr</A
581> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000582HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000583>xmlXPathParserContextPtr</A
584> ctxt);
585<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000586HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000587>xmlChar</A
588>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000589HREF="libxml-xpathinternals.html#XMLXPATHPARSENAME"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000590>xmlXPathParseName</A
591> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000592HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000593>xmlXPathParserContextPtr</A
594> ctxt);
Daniel Veillard503b8932001-01-05 06:36:31 +0000595<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000596HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard503b8932001-01-05 06:36:31 +0000597>xmlChar</A
598>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000599HREF="libxml-xpathinternals.html#XMLXPATHPARSENCNAME"
Daniel Veillard503b8932001-01-05 06:36:31 +0000600>xmlXPathParseNCName</A
601> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000602HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard503b8932001-01-05 06:36:31 +0000603>xmlXPathParserContextPtr</A
604> ctxt);
Daniel Veillard9753ad72000-11-13 19:12:23 +0000605<GTKDOCLINK
606HREF="DOUBLE"
607>double</GTKDOCLINK
608> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000609HREF="libxml-xpathinternals.html#XMLXPATHSTRINGEVALNUMBER"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000610>xmlXPathStringEvalNumber</A
611> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000612HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000613>xmlChar</A
614> *str);
Daniel Veillarda1fe9102000-11-25 10:49:25 +0000615int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000616HREF="libxml-xpathinternals.html#XMLXPATHEVALUATEPREDICATERESULT"
Daniel Veillarda1fe9102000-11-25 10:49:25 +0000617>xmlXPathEvaluatePredicateResult</A
618> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000619HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +0000620>xmlXPathParserContextPtr</A
621> ctxt,
622 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000623HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +0000624>xmlXPathObjectPtr</A
625> res);
Daniel Veillard9753ad72000-11-13 19:12:23 +0000626void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000627HREF="libxml-xpath.html#XMLXPATHINIT"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000628>xmlXPathInit</A
629> (void);
630void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000631HREF="libxml-xpathinternals.html#XMLXPATHSTRINGFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000632>xmlXPathStringFunction</A
633> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000634HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000635>xmlXPathParserContextPtr</A
636> ctxt,
637 int nargs);
638void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000639HREF="libxml-xpathinternals.html#XMLXPATHREGISTERALLFUNCTIONS"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000640>xmlXPathRegisterAllFunctions</A
641> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000642HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000643>xmlXPathContextPtr</A
644> ctxt);
645<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000646HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000647>xmlNodeSetPtr</A
648> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000649HREF="libxml-xpath.html#XMLXPATHNODESETCREATE"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000650>xmlXPathNodeSetCreate</A
651> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000652HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000653>xmlNodePtr</A
654> val);
655<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000656HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000657>xmlNodeSetPtr</A
658> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000659HREF="libxml-xpathinternals.html#XMLXPATHNODESETMERGE"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000660>xmlXPathNodeSetMerge</A
661> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000662HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000663>xmlNodeSetPtr</A
664> val1,
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> val2);
669void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000670HREF="libxml-xpathinternals.html#XMLXPATHNODESETDEL"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000671>xmlXPathNodeSetDel</A
672> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000673HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000674>xmlNodeSetPtr</A
675> cur,
676 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000677HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000678>xmlNodePtr</A
679> val);
680void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000681HREF="libxml-xpathinternals.html#XMLXPATHNODESETREMOVE"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000682>xmlXPathNodeSetRemove</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> cur,
687 int val);
688void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000689HREF="libxml-xpath.html#XMLXPATHFREENODESET"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000690>xmlXPathFreeNodeSet</A
691> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000692HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000693>xmlNodeSetPtr</A
694> obj);
695<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000696HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000697>xmlXPathObjectPtr</A
698> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000699HREF="libxml-xpathinternals.html#XMLXPATHNEWNODESETLIST"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000700>xmlXPathNewNodeSetList</A
701> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000702HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000703>xmlNodeSetPtr</A
704> val);
705<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000706HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000707>xmlXPathObjectPtr</A
708> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000709HREF="libxml-xpathinternals.html#XMLXPATHWRAPNODESET"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000710>xmlXPathWrapNodeSet</A
711> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000712HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000713>xmlNodeSetPtr</A
714> val);
715void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000716HREF="libxml-xpath.html#XMLXPATHFREENODESETLIST"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000717>xmlXPathFreeNodeSetList</A
718> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000719HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000720>xmlXPathObjectPtr</A
721> obj);
722void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000723HREF="libxml-xpath.html#XMLXPATHFREEOBJECT"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000724>xmlXPathFreeObject</A
725> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000726HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000727>xmlXPathObjectPtr</A
728> obj);
729<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000730HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000731>xmlXPathContextPtr</A
732> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000733HREF="libxml-xpath.html#XMLXPATHNEWCONTEXT"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000734>xmlXPathNewContext</A
735> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000736HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000737>xmlDocPtr</A
738> doc);
739void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000740HREF="libxml-xpath.html#XMLXPATHFREECONTEXT"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000741>xmlXPathFreeContext</A
742> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000743HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000744>xmlXPathContextPtr</A
745> ctxt);
746int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000747HREF="libxml-xpathinternals.html#XMLXPATHEQUALVALUES"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000748>xmlXPathEqualValues</A
749> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000750HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000751>xmlXPathParserContextPtr</A
752> ctxt);
753int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000754HREF="libxml-xpathinternals.html#XMLXPATHCOMPAREVALUES"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000755>xmlXPathCompareValues</A
756> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000757HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000758>xmlXPathParserContextPtr</A
759> ctxt,
760 int inf,
761 int strict);
762void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000763HREF="libxml-xpathinternals.html#XMLXPATHVALUEFLIPSIGN"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000764>xmlXPathValueFlipSign</A
765> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000766HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000767>xmlXPathParserContextPtr</A
768> ctxt);
769void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000770HREF="libxml-xpathinternals.html#XMLXPATHADDVALUES"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000771>xmlXPathAddValues</A
772> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000773HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000774>xmlXPathParserContextPtr</A
775> ctxt);
776void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000777HREF="libxml-xpathinternals.html#XMLXPATHSUBVALUES"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000778>xmlXPathSubValues</A
779> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000780HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000781>xmlXPathParserContextPtr</A
782> ctxt);
783void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000784HREF="libxml-xpathinternals.html#XMLXPATHMULTVALUES"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000785>xmlXPathMultValues</A
786> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000787HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000788>xmlXPathParserContextPtr</A
789> ctxt);
790void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000791HREF="libxml-xpathinternals.html#XMLXPATHDIVVALUES"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000792>xmlXPathDivValues</A
793> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000794HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000795>xmlXPathParserContextPtr</A
796> ctxt);
797void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000798HREF="libxml-xpathinternals.html#XMLXPATHMODVALUES"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000799>xmlXPathModValues</A
800> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000801HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000802>xmlXPathParserContextPtr</A
803> ctxt);
Daniel Veillarda41123c2001-04-22 19:31:20 +0000804int <A
805HREF="libxml-xpathinternals.html#XMLXPATHISNODETYPE"
806>xmlXPathIsNodeType</A
807> (const <A
808HREF="libxml-tree.html#XMLCHAR"
809>xmlChar</A
810> *name);
811<A
812HREF="libxml-tree.html#XMLNODEPTR"
813>xmlNodePtr</A
814> <A
815HREF="libxml-xpathinternals.html#XMLXPATHNEXTSELF"
816>xmlXPathNextSelf</A
817> (<A
818HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
819>xmlXPathParserContextPtr</A
820> ctxt,
821 <A
822HREF="libxml-tree.html#XMLNODEPTR"
823>xmlNodePtr</A
824> cur);
825<A
826HREF="libxml-tree.html#XMLNODEPTR"
827>xmlNodePtr</A
828> <A
829HREF="libxml-xpathinternals.html#XMLXPATHNEXTCHILD"
830>xmlXPathNextChild</A
831> (<A
832HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
833>xmlXPathParserContextPtr</A
834> ctxt,
835 <A
836HREF="libxml-tree.html#XMLNODEPTR"
837>xmlNodePtr</A
838> cur);
839<A
840HREF="libxml-tree.html#XMLNODEPTR"
841>xmlNodePtr</A
842> <A
843HREF="libxml-xpathinternals.html#XMLXPATHNEXTDESCENDANT"
844>xmlXPathNextDescendant</A
845> (<A
846HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
847>xmlXPathParserContextPtr</A
848> ctxt,
849 <A
850HREF="libxml-tree.html#XMLNODEPTR"
851>xmlNodePtr</A
852> cur);
853<A
854HREF="libxml-tree.html#XMLNODEPTR"
855>xmlNodePtr</A
856> <A
857HREF="libxml-xpathinternals.html#XMLXPATHNEXTDESCENDANTORSELF"
858>xmlXPathNextDescendantOrSelf</A
859> (<A
860HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
861>xmlXPathParserContextPtr</A
862> ctxt,
863 <A
864HREF="libxml-tree.html#XMLNODEPTR"
865>xmlNodePtr</A
866> cur);
867<A
868HREF="libxml-tree.html#XMLNODEPTR"
869>xmlNodePtr</A
870> <A
871HREF="libxml-xpathinternals.html#XMLXPATHNEXTPARENT"
872>xmlXPathNextParent</A
873> (<A
874HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
875>xmlXPathParserContextPtr</A
876> ctxt,
877 <A
878HREF="libxml-tree.html#XMLNODEPTR"
879>xmlNodePtr</A
880> cur);
881<A
882HREF="libxml-tree.html#XMLNODEPTR"
883>xmlNodePtr</A
884> <A
885HREF="libxml-xpathinternals.html#XMLXPATHNEXTANCESTORORSELF"
886>xmlXPathNextAncestorOrSelf</A
887> (<A
888HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
889>xmlXPathParserContextPtr</A
890> ctxt,
891 <A
892HREF="libxml-tree.html#XMLNODEPTR"
893>xmlNodePtr</A
894> cur);
895<A
896HREF="libxml-tree.html#XMLNODEPTR"
897>xmlNodePtr</A
898> <A
899HREF="libxml-xpathinternals.html#XMLXPATHNEXTFOLLOWINGSIBLING"
900>xmlXPathNextFollowingSibling</A
901> (<A
902HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
903>xmlXPathParserContextPtr</A
904> ctxt,
905 <A
906HREF="libxml-tree.html#XMLNODEPTR"
907>xmlNodePtr</A
908> cur);
909<A
910HREF="libxml-tree.html#XMLNODEPTR"
911>xmlNodePtr</A
912> <A
913HREF="libxml-xpathinternals.html#XMLXPATHNEXTFOLLOWING"
914>xmlXPathNextFollowing</A
915> (<A
916HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
917>xmlXPathParserContextPtr</A
918> ctxt,
919 <A
920HREF="libxml-tree.html#XMLNODEPTR"
921>xmlNodePtr</A
922> cur);
923<A
924HREF="libxml-tree.html#XMLNODEPTR"
925>xmlNodePtr</A
926> <A
927HREF="libxml-xpathinternals.html#XMLXPATHNEXTNAMESPACE"
928>xmlXPathNextNamespace</A
929> (<A
930HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
931>xmlXPathParserContextPtr</A
932> ctxt,
933 <A
934HREF="libxml-tree.html#XMLNODEPTR"
935>xmlNodePtr</A
936> cur);
937<A
938HREF="libxml-tree.html#XMLNODEPTR"
939>xmlNodePtr</A
940> <A
941HREF="libxml-xpathinternals.html#XMLXPATHNEXTATTRIBUTE"
942>xmlXPathNextAttribute</A
943> (<A
944HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
945>xmlXPathParserContextPtr</A
946> ctxt,
947 <A
948HREF="libxml-tree.html#XMLNODEPTR"
949>xmlNodePtr</A
950> cur);
Daniel Veillarde356c282001-03-10 12:32:04 +0000951<A
952HREF="libxml-tree.html#XMLNODEPTR"
953>xmlNodePtr</A
954> <A
955HREF="libxml-xpathinternals.html#XMLXPATHNEXTPRECEDING"
956>xmlXPathNextPreceding</A
957> (<A
958HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
959>xmlXPathParserContextPtr</A
960> ctxt,
961 <A
962HREF="libxml-tree.html#XMLNODEPTR"
963>xmlNodePtr</A
964> cur);
965<A
966HREF="libxml-tree.html#XMLNODEPTR"
967>xmlNodePtr</A
968> <A
969HREF="libxml-xpathinternals.html#XMLXPATHNEXTANCESTOR"
970>xmlXPathNextAncestor</A
971> (<A
972HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
973>xmlXPathParserContextPtr</A
974> ctxt,
975 <A
976HREF="libxml-tree.html#XMLNODEPTR"
977>xmlNodePtr</A
978> cur);
979<A
980HREF="libxml-tree.html#XMLNODEPTR"
981>xmlNodePtr</A
982> <A
983HREF="libxml-xpathinternals.html#XMLXPATHNEXTPRECEDINGSIBLING"
984>xmlXPathNextPrecedingSibling</A
985> (<A
986HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
987>xmlXPathParserContextPtr</A
988> ctxt,
989 <A
990HREF="libxml-tree.html#XMLNODEPTR"
991>xmlNodePtr</A
992> cur);
Daniel Veillard9753ad72000-11-13 19:12:23 +0000993void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000994HREF="libxml-xpathinternals.html#XMLXPATHLASTFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000995>xmlXPathLastFunction</A
996> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000997HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +0000998>xmlXPathParserContextPtr</A
999> ctxt,
1000 int nargs);
1001void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001002HREF="libxml-xpathinternals.html#XMLXPATHPOSITIONFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001003>xmlXPathPositionFunction</A
1004> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001005HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001006>xmlXPathParserContextPtr</A
1007> ctxt,
1008 int nargs);
1009void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001010HREF="libxml-xpathinternals.html#XMLXPATHCOUNTFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001011>xmlXPathCountFunction</A
1012> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001013HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001014>xmlXPathParserContextPtr</A
1015> ctxt,
1016 int nargs);
1017void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001018HREF="libxml-xpathinternals.html#XMLXPATHLOCALNAMEFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001019>xmlXPathLocalNameFunction</A
1020> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001021HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001022>xmlXPathParserContextPtr</A
1023> ctxt,
1024 int nargs);
1025void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001026HREF="libxml-xpathinternals.html#XMLXPATHNAMESPACEURIFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001027>xmlXPathNamespaceURIFunction</A
1028> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001029HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001030>xmlXPathParserContextPtr</A
1031> ctxt,
1032 int nargs);
1033void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001034HREF="libxml-xpathinternals.html#XMLXPATHSTRINGLENGTHFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001035>xmlXPathStringLengthFunction</A
1036> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001037HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001038>xmlXPathParserContextPtr</A
1039> ctxt,
1040 int nargs);
1041void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001042HREF="libxml-xpathinternals.html#XMLXPATHCONCATFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001043>xmlXPathConcatFunction</A
1044> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001045HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001046>xmlXPathParserContextPtr</A
1047> ctxt,
1048 int nargs);
1049void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001050HREF="libxml-xpathinternals.html#XMLXPATHCONTAINSFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001051>xmlXPathContainsFunction</A
1052> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001053HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001054>xmlXPathParserContextPtr</A
1055> ctxt,
1056 int nargs);
1057void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001058HREF="libxml-xpathinternals.html#XMLXPATHSTARTSWITHFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001059>xmlXPathStartsWithFunction</A
1060> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001061HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001062>xmlXPathParserContextPtr</A
1063> ctxt,
1064 int nargs);
1065void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001066HREF="libxml-xpathinternals.html#XMLXPATHSUBSTRINGFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001067>xmlXPathSubstringFunction</A
1068> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001069HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001070>xmlXPathParserContextPtr</A
1071> ctxt,
1072 int nargs);
1073void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001074HREF="libxml-xpathinternals.html#XMLXPATHSUBSTRINGBEFOREFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001075>xmlXPathSubstringBeforeFunction</A
1076> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001077HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001078>xmlXPathParserContextPtr</A
1079> ctxt,
1080 int nargs);
1081void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001082HREF="libxml-xpathinternals.html#XMLXPATHSUBSTRINGAFTERFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001083>xmlXPathSubstringAfterFunction</A
1084> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001085HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001086>xmlXPathParserContextPtr</A
1087> ctxt,
1088 int nargs);
1089void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001090HREF="libxml-xpathinternals.html#XMLXPATHNORMALIZEFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001091>xmlXPathNormalizeFunction</A
1092> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001093HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001094>xmlXPathParserContextPtr</A
1095> ctxt,
1096 int nargs);
1097void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001098HREF="libxml-xpathinternals.html#XMLXPATHTRANSLATEFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001099>xmlXPathTranslateFunction</A
1100> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001101HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001102>xmlXPathParserContextPtr</A
1103> ctxt,
1104 int nargs);
1105void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001106HREF="libxml-xpathinternals.html#XMLXPATHNOTFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001107>xmlXPathNotFunction</A
1108> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001109HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001110>xmlXPathParserContextPtr</A
1111> ctxt,
1112 int nargs);
1113void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001114HREF="libxml-xpathinternals.html#XMLXPATHTRUEFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001115>xmlXPathTrueFunction</A
1116> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001117HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001118>xmlXPathParserContextPtr</A
1119> ctxt,
1120 int nargs);
1121void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001122HREF="libxml-xpathinternals.html#XMLXPATHFALSEFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001123>xmlXPathFalseFunction</A
1124> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001125HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001126>xmlXPathParserContextPtr</A
1127> ctxt,
1128 int nargs);
1129void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001130HREF="libxml-xpathinternals.html#XMLXPATHLANGFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001131>xmlXPathLangFunction</A
1132> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001133HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001134>xmlXPathParserContextPtr</A
1135> ctxt,
1136 int nargs);
1137void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001138HREF="libxml-xpathinternals.html#XMLXPATHNUMBERFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001139>xmlXPathNumberFunction</A
1140> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001141HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001142>xmlXPathParserContextPtr</A
1143> ctxt,
1144 int nargs);
1145void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001146HREF="libxml-xpathinternals.html#XMLXPATHSUMFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001147>xmlXPathSumFunction</A
1148> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001149HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001150>xmlXPathParserContextPtr</A
1151> ctxt,
1152 int nargs);
1153void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001154HREF="libxml-xpathinternals.html#XMLXPATHFLOORFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001155>xmlXPathFloorFunction</A
1156> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001157HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001158>xmlXPathParserContextPtr</A
1159> ctxt,
1160 int nargs);
1161void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001162HREF="libxml-xpathinternals.html#XMLXPATHCEILINGFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001163>xmlXPathCeilingFunction</A
1164> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001165HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001166>xmlXPathParserContextPtr</A
1167> ctxt,
1168 int nargs);
1169void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001170HREF="libxml-xpathinternals.html#XMLXPATHROUNDFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001171>xmlXPathRoundFunction</A
1172> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001173HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
1174>xmlXPathParserContextPtr</A
1175> ctxt,
1176 int nargs);
1177void <A
1178HREF="libxml-xpathinternals.html#XMLXPATHBOOLEANFUNCTION"
1179>xmlXPathBooleanFunction</A
1180> (<A
1181HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001182>xmlXPathParserContextPtr</A
1183> ctxt,
1184 int nargs);</PRE
1185></TD
1186></TR
1187></TABLE
1188></DIV
1189><DIV
1190CLASS="REFSECT1"
1191><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00001192NAME="AEN12584"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001193></A
1194><H2
1195>Description</H2
1196><P
1197></P
1198></DIV
1199><DIV
1200CLASS="REFSECT1"
1201><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00001202NAME="AEN12587"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001203></A
1204><H2
1205>Details</H2
1206><DIV
1207CLASS="REFSECT2"
1208><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00001209NAME="AEN12589"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001210></A
1211><H3
1212><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001213NAME="CHECK-ERROR-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001214></A
1215>CHECK_ERROR</H3
1216><TABLE
1217BORDER="0"
1218BGCOLOR="#D6E8FF"
1219WIDTH="100%"
1220CELLPADDING="6"
1221><TR
1222><TD
1223><PRE
1224CLASS="PROGRAMLISTING"
1225>#define CHECK_ERROR</PRE
1226></TD
1227></TR
1228></TABLE
1229><P
Daniel Veillardbed7b052001-05-19 14:59:49 +00001230>macro to return from the function if an XPath error was detected</P
1231><P
Daniel Veillard9753ad72000-11-13 19:12:23 +00001232></P
1233></DIV
1234><HR><DIV
1235CLASS="REFSECT2"
1236><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00001237NAME="AEN12595"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001238></A
1239><H3
1240><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001241NAME="CHECK-ERROR0-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001242></A
1243>CHECK_ERROR0</H3
1244><TABLE
1245BORDER="0"
1246BGCOLOR="#D6E8FF"
1247WIDTH="100%"
1248CELLPADDING="6"
1249><TR
1250><TD
1251><PRE
1252CLASS="PROGRAMLISTING"
1253>#define CHECK_ERROR0</PRE
1254></TD
1255></TR
1256></TABLE
1257><P
Daniel Veillardbed7b052001-05-19 14:59:49 +00001258>macro to return 0 from the function if an XPath error was detected</P
1259><P
Daniel Veillard9753ad72000-11-13 19:12:23 +00001260></P
1261></DIV
1262><HR><DIV
1263CLASS="REFSECT2"
1264><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00001265NAME="AEN12601"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001266></A
1267><H3
1268><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001269NAME="XP-ERROR-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001270></A
1271>XP_ERROR()</H3
1272><TABLE
1273BORDER="0"
1274BGCOLOR="#D6E8FF"
1275WIDTH="100%"
1276CELLPADDING="6"
1277><TR
1278><TD
1279><PRE
1280CLASS="PROGRAMLISTING"
1281>#define XP_ERROR(X)</PRE
1282></TD
1283></TR
1284></TABLE
1285><P
Daniel Veillardbed7b052001-05-19 14:59:49 +00001286>Macro to raise an XPath error and return</P
1287><P
Daniel Veillard9753ad72000-11-13 19:12:23 +00001288></P
1289><DIV
1290CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001291><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00001292NAME="AEN12607"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001293></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00001294><P
1295></P
1296><TABLE
1297BORDER="0"
1298WIDTH="100%"
1299BGCOLOR="#FFD0D0"
1300CELLSPACING="0"
1301CELLPADDING="4"
1302CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001303><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00001304><TR
1305><TD
1306WIDTH="20%"
1307ALIGN="RIGHT"
1308VALIGN="TOP"
1309><TT
1310CLASS="PARAMETER"
1311><I
1312>X</I
1313></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001314>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001315><TD
1316WIDTH="80%"
1317ALIGN="LEFT"
1318VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00001319>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001320></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001321></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00001322></TABLE
1323><P
1324></P
1325></DIV
1326></DIV
1327><HR><DIV
1328CLASS="REFSECT2"
1329><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00001330NAME="AEN12616"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001331></A
1332><H3
1333><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001334NAME="XP-ERROR0-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001335></A
1336>XP_ERROR0()</H3
1337><TABLE
1338BORDER="0"
1339BGCOLOR="#D6E8FF"
1340WIDTH="100%"
1341CELLPADDING="6"
1342><TR
1343><TD
1344><PRE
1345CLASS="PROGRAMLISTING"
1346>#define XP_ERROR0(X)</PRE
1347></TD
1348></TR
1349></TABLE
1350><P
Daniel Veillardbed7b052001-05-19 14:59:49 +00001351>Macro to raise an XPath error and return 0</P
1352><P
Daniel Veillard9753ad72000-11-13 19:12:23 +00001353></P
1354><DIV
1355CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001356><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00001357NAME="AEN12622"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001358></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00001359><P
1360></P
1361><TABLE
1362BORDER="0"
1363WIDTH="100%"
1364BGCOLOR="#FFD0D0"
1365CELLSPACING="0"
1366CELLPADDING="4"
1367CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001368><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00001369><TR
1370><TD
1371WIDTH="20%"
1372ALIGN="RIGHT"
1373VALIGN="TOP"
1374><TT
1375CLASS="PARAMETER"
1376><I
1377>X</I
1378></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001379>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001380><TD
1381WIDTH="80%"
1382ALIGN="LEFT"
1383VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00001384>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001385></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001386></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00001387></TABLE
1388><P
1389></P
1390></DIV
1391></DIV
1392><HR><DIV
1393CLASS="REFSECT2"
1394><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00001395NAME="AEN12631"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001396></A
1397><H3
1398><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001399NAME="CHECK-TYPE-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001400></A
1401>CHECK_TYPE()</H3
1402><TABLE
1403BORDER="0"
1404BGCOLOR="#D6E8FF"
1405WIDTH="100%"
1406CELLPADDING="6"
1407><TR
1408><TD
1409><PRE
1410CLASS="PROGRAMLISTING"
1411>#define CHECK_TYPE(typeval)</PRE
1412></TD
1413></TR
1414></TABLE
1415><P
Daniel Veillardbed7b052001-05-19 14:59:49 +00001416>Macro to check that the value on top of the XPath stack is of a given
1417type.</P
1418><P
Daniel Veillard9753ad72000-11-13 19:12:23 +00001419></P
1420><DIV
1421CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001422><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00001423NAME="AEN12637"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001424></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00001425><P
1426></P
1427><TABLE
1428BORDER="0"
1429WIDTH="100%"
1430BGCOLOR="#FFD0D0"
1431CELLSPACING="0"
1432CELLPADDING="4"
1433CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001434><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00001435><TR
1436><TD
1437WIDTH="20%"
1438ALIGN="RIGHT"
1439VALIGN="TOP"
1440><TT
1441CLASS="PARAMETER"
1442><I
1443>typeval</I
1444></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001445>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001446><TD
1447WIDTH="80%"
1448ALIGN="LEFT"
1449VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00001450>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001451></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001452></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00001453></TABLE
1454><P
1455></P
1456></DIV
1457></DIV
1458><HR><DIV
1459CLASS="REFSECT2"
1460><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00001461NAME="AEN12646"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001462></A
1463><H3
1464><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001465NAME="CHECK-ARITY-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001466></A
1467>CHECK_ARITY()</H3
1468><TABLE
1469BORDER="0"
1470BGCOLOR="#D6E8FF"
1471WIDTH="100%"
1472CELLPADDING="6"
1473><TR
1474><TD
1475><PRE
1476CLASS="PROGRAMLISTING"
1477>#define CHECK_ARITY(x)</PRE
1478></TD
1479></TR
1480></TABLE
1481><P
Daniel Veillardbed7b052001-05-19 14:59:49 +00001482>Macro to check that the number of args passed to an XPath function matches</P
1483><P
Daniel Veillard9753ad72000-11-13 19:12:23 +00001484></P
1485><DIV
1486CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001487><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00001488NAME="AEN12652"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001489></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00001490><P
1491></P
1492><TABLE
1493BORDER="0"
1494WIDTH="100%"
1495BGCOLOR="#FFD0D0"
1496CELLSPACING="0"
1497CELLPADDING="4"
1498CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001499><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00001500><TR
1501><TD
1502WIDTH="20%"
1503ALIGN="RIGHT"
1504VALIGN="TOP"
1505><TT
1506CLASS="PARAMETER"
1507><I
1508>x</I
1509></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001510>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001511><TD
1512WIDTH="80%"
1513ALIGN="LEFT"
1514VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00001515>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001516></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001517></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00001518></TABLE
1519><P
1520></P
1521></DIV
1522></DIV
1523><HR><DIV
1524CLASS="REFSECT2"
1525><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00001526NAME="AEN12661"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001527></A
1528><H3
1529><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001530NAME="CAST-TO-STRING-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001531></A
1532>CAST_TO_STRING</H3
1533><TABLE
1534BORDER="0"
1535BGCOLOR="#D6E8FF"
1536WIDTH="100%"
1537CELLPADDING="6"
1538><TR
1539><TD
1540><PRE
1541CLASS="PROGRAMLISTING"
1542>#define CAST_TO_STRING</PRE
1543></TD
1544></TR
1545></TABLE
1546><P
Daniel Veillardbed7b052001-05-19 14:59:49 +00001547>Macro to try to cast the value on the top of the XPath stack to a string</P
1548><P
Daniel Veillard9753ad72000-11-13 19:12:23 +00001549></P
1550></DIV
1551><HR><DIV
1552CLASS="REFSECT2"
1553><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00001554NAME="AEN12667"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001555></A
1556><H3
1557><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001558NAME="CAST-TO-NUMBER-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001559></A
1560>CAST_TO_NUMBER</H3
1561><TABLE
1562BORDER="0"
1563BGCOLOR="#D6E8FF"
1564WIDTH="100%"
1565CELLPADDING="6"
1566><TR
1567><TD
1568><PRE
1569CLASS="PROGRAMLISTING"
1570>#define CAST_TO_NUMBER</PRE
1571></TD
1572></TR
1573></TABLE
1574><P
Daniel Veillardbed7b052001-05-19 14:59:49 +00001575>Macro to try to cast the value on the top of the XPath stack to a number</P
1576><P
Daniel Veillard9753ad72000-11-13 19:12:23 +00001577></P
1578></DIV
1579><HR><DIV
1580CLASS="REFSECT2"
1581><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00001582NAME="AEN12673"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001583></A
1584><H3
1585><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001586NAME="CAST-TO-BOOLEAN-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001587></A
1588>CAST_TO_BOOLEAN</H3
1589><TABLE
1590BORDER="0"
1591BGCOLOR="#D6E8FF"
1592WIDTH="100%"
1593CELLPADDING="6"
1594><TR
1595><TD
1596><PRE
1597CLASS="PROGRAMLISTING"
1598>#define CAST_TO_BOOLEAN</PRE
1599></TD
1600></TR
1601></TABLE
1602><P
Daniel Veillardbed7b052001-05-19 14:59:49 +00001603>Macro to try to cast the value on the top of the XPath stack to a boolean</P
1604><P
Daniel Veillard9753ad72000-11-13 19:12:23 +00001605></P
1606></DIV
1607><HR><DIV
1608CLASS="REFSECT2"
1609><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00001610NAME="AEN12679"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001611></A
1612><H3
1613><A
1614NAME="XMLXPATHOBJECTPTR"
1615></A
1616>xmlXPathObjectPtr ()</H3
1617><TABLE
1618BORDER="0"
1619BGCOLOR="#D6E8FF"
1620WIDTH="100%"
1621CELLPADDING="6"
1622><TR
1623><TD
1624><PRE
1625CLASS="PROGRAMLISTING"
1626><GTKDOCLINK
1627HREF="TYPEDEF"
1628>typedef</GTKDOCLINK
1629> xmlXPathObjectPtr ();</PRE
1630></TD
1631></TR
1632></TABLE
1633><P
1634></P
1635><DIV
1636CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001637><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00001638NAME="AEN12685"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001639></A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001640><P
1641></P
1642><TABLE
1643BORDER="0"
1644WIDTH="100%"
1645BGCOLOR="#FFD0D0"
1646CELLSPACING="0"
1647CELLPADDING="4"
1648CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001649><TBODY
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001650><TR
1651><TD
1652WIDTH="20%"
1653ALIGN="RIGHT"
1654VALIGN="TOP"
1655><I
1656CLASS="EMPHASIS"
1657>Returns</I
1658> :</TD
1659><TD
1660WIDTH="80%"
1661ALIGN="LEFT"
1662VALIGN="TOP"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001663>&nbsp;</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001664></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001665></TBODY
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001666></TABLE
1667><P
1668></P
1669></DIV
1670></DIV
1671><HR><DIV
1672CLASS="REFSECT2"
1673><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00001674NAME="AEN12694"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001675></A
1676><H3
1677><A
1678NAME="XMLXPATHREGISTERVARIABLELOOKUP"
1679></A
1680>xmlXPathRegisterVariableLookup ()</H3
1681><TABLE
1682BORDER="0"
1683BGCOLOR="#D6E8FF"
1684WIDTH="100%"
1685CELLPADDING="6"
1686><TR
1687><TD
1688><PRE
1689CLASS="PROGRAMLISTING"
1690>void xmlXPathRegisterVariableLookup (<A
1691HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
1692>xmlXPathContextPtr</A
1693> ctxt,
1694 <GTKDOCLINK
1695HREF="XMLXPATHVARIABLELOOKUPFUNC"
1696>xmlXPathVariableLookupFunc</GTKDOCLINK
1697> f,
1698 void *varCtxt);</PRE
1699></TD
1700></TR
1701></TABLE
1702><P
1703>register an external mechanism to do variable lookup</P
1704><P
1705></P
1706><DIV
1707CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001708><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00001709NAME="AEN12702"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001710></A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001711><P
1712></P
1713><TABLE
1714BORDER="0"
1715WIDTH="100%"
1716BGCOLOR="#FFD0D0"
1717CELLSPACING="0"
1718CELLPADDING="4"
1719CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001720><TBODY
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001721><TR
1722><TD
1723WIDTH="20%"
1724ALIGN="RIGHT"
1725VALIGN="TOP"
1726><TT
1727CLASS="PARAMETER"
1728><I
1729>ctxt</I
1730></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001731>&nbsp;:</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001732><TD
1733WIDTH="80%"
1734ALIGN="LEFT"
1735VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00001736>&nbsp;</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001737></TR
1738><TR
1739><TD
1740WIDTH="20%"
1741ALIGN="RIGHT"
1742VALIGN="TOP"
1743><TT
1744CLASS="PARAMETER"
1745><I
1746>f</I
1747></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001748>&nbsp;:</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001749><TD
1750WIDTH="80%"
1751ALIGN="LEFT"
1752VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00001753>&nbsp;</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001754></TR
1755><TR
1756><TD
1757WIDTH="20%"
1758ALIGN="RIGHT"
1759VALIGN="TOP"
1760><TT
1761CLASS="PARAMETER"
1762><I
1763>varCtxt</I
1764></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001765>&nbsp;:</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001766><TD
1767WIDTH="80%"
1768ALIGN="LEFT"
1769VALIGN="TOP"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001770>&nbsp;</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001771></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001772></TBODY
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001773></TABLE
1774><P
1775></P
1776></DIV
1777></DIV
1778><HR><DIV
1779CLASS="REFSECT2"
1780><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00001781NAME="AEN12719"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001782></A
1783><H3
1784><A
1785NAME="XMLXPATHERROR"
1786></A
1787>xmlXPatherror ()</H3
1788><TABLE
1789BORDER="0"
1790BGCOLOR="#D6E8FF"
1791WIDTH="100%"
1792CELLPADDING="6"
1793><TR
1794><TD
1795><PRE
1796CLASS="PROGRAMLISTING"
1797>void xmlXPatherror (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001798HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001799>xmlXPathParserContextPtr</A
1800> ctxt,
1801 const char *file,
1802 int line,
1803 int no);</PRE
1804></TD
1805></TR
1806></TABLE
1807><P
1808></P
1809><DIV
1810CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001811><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00001812NAME="AEN12725"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001813></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00001814><P
1815></P
1816><TABLE
1817BORDER="0"
1818WIDTH="100%"
1819BGCOLOR="#FFD0D0"
1820CELLSPACING="0"
1821CELLPADDING="4"
1822CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001823><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00001824><TR
1825><TD
1826WIDTH="20%"
1827ALIGN="RIGHT"
1828VALIGN="TOP"
1829><TT
1830CLASS="PARAMETER"
1831><I
1832>ctxt</I
1833></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001834>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001835><TD
1836WIDTH="80%"
1837ALIGN="LEFT"
1838VALIGN="TOP"
1839>&nbsp;</TD
1840></TR
1841><TR
1842><TD
1843WIDTH="20%"
1844ALIGN="RIGHT"
1845VALIGN="TOP"
1846><TT
1847CLASS="PARAMETER"
1848><I
1849>file</I
1850></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001851>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001852><TD
1853WIDTH="80%"
1854ALIGN="LEFT"
1855VALIGN="TOP"
1856>&nbsp;</TD
1857></TR
1858><TR
1859><TD
1860WIDTH="20%"
1861ALIGN="RIGHT"
1862VALIGN="TOP"
1863><TT
1864CLASS="PARAMETER"
1865><I
1866>line</I
1867></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001868>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001869><TD
1870WIDTH="80%"
1871ALIGN="LEFT"
1872VALIGN="TOP"
1873>&nbsp;</TD
1874></TR
1875><TR
1876><TD
1877WIDTH="20%"
1878ALIGN="RIGHT"
1879VALIGN="TOP"
1880><TT
1881CLASS="PARAMETER"
1882><I
1883>no</I
1884></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001885>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001886><TD
1887WIDTH="80%"
1888ALIGN="LEFT"
1889VALIGN="TOP"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001890>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001891></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001892></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00001893></TABLE
1894><P
1895></P
1896></DIV
1897></DIV
1898><HR><DIV
1899CLASS="REFSECT2"
1900><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00001901NAME="AEN12746"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001902></A
1903><H3
1904><A
1905NAME="XMLXPATHDEBUGDUMPOBJECT"
1906></A
1907>xmlXPathDebugDumpObject ()</H3
1908><TABLE
1909BORDER="0"
1910BGCOLOR="#D6E8FF"
1911WIDTH="100%"
1912CELLPADDING="6"
1913><TR
1914><TD
1915><PRE
1916CLASS="PROGRAMLISTING"
1917>void xmlXPathDebugDumpObject (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00001918HREF="FILE-CAPS"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001919>FILE</GTKDOCLINK
1920> *output,
1921 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001922HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00001923>xmlXPathObjectPtr</A
1924> cur,
1925 int depth);</PRE
1926></TD
1927></TR
1928></TABLE
1929><P
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00001930>Dump the content of the object for debugging purposes</P
1931><P
Daniel Veillard9753ad72000-11-13 19:12:23 +00001932></P
1933><DIV
1934CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001935><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00001936NAME="AEN12754"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001937></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00001938><P
1939></P
1940><TABLE
1941BORDER="0"
1942WIDTH="100%"
1943BGCOLOR="#FFD0D0"
1944CELLSPACING="0"
1945CELLPADDING="4"
1946CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001947><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00001948><TR
1949><TD
1950WIDTH="20%"
1951ALIGN="RIGHT"
1952VALIGN="TOP"
1953><TT
1954CLASS="PARAMETER"
1955><I
1956>output</I
1957></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001958>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001959><TD
1960WIDTH="80%"
1961ALIGN="LEFT"
1962VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00001963>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001964></TR
1965><TR
1966><TD
1967WIDTH="20%"
1968ALIGN="RIGHT"
1969VALIGN="TOP"
1970><TT
1971CLASS="PARAMETER"
1972><I
1973>cur</I
1974></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001975>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001976><TD
1977WIDTH="80%"
1978ALIGN="LEFT"
1979VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00001980>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001981></TR
1982><TR
1983><TD
1984WIDTH="20%"
1985ALIGN="RIGHT"
1986VALIGN="TOP"
1987><TT
1988CLASS="PARAMETER"
1989><I
1990>depth</I
1991></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001992>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001993><TD
1994WIDTH="80%"
1995ALIGN="LEFT"
1996VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00001997>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00001998></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001999></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00002000></TABLE
2001><P
2002></P
2003></DIV
2004></DIV
2005><HR><DIV
2006CLASS="REFSECT2"
2007><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00002008NAME="AEN12771"
Daniel Veillarda41123c2001-04-22 19:31:20 +00002009></A
2010><H3
2011><A
2012NAME="XMLXPATHDEBUGDUMPCOMPEXPR"
2013></A
2014>xmlXPathDebugDumpCompExpr ()</H3
2015><TABLE
2016BORDER="0"
2017BGCOLOR="#D6E8FF"
2018WIDTH="100%"
2019CELLPADDING="6"
2020><TR
2021><TD
2022><PRE
2023CLASS="PROGRAMLISTING"
2024>void xmlXPathDebugDumpCompExpr (<GTKDOCLINK
2025HREF="FILE-CAPS"
2026>FILE</GTKDOCLINK
2027> *output,
2028 <A
2029HREF="libxml-xpath.html#XMLXPATHCOMPEXPRPTR"
2030>xmlXPathCompExprPtr</A
2031> comp,
2032 int depth);</PRE
2033></TD
2034></TR
2035></TABLE
2036><P
2037></P
2038><DIV
2039CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002040><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00002041NAME="AEN12778"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002042></A
Daniel Veillarda41123c2001-04-22 19:31:20 +00002043><P
2044></P
2045><TABLE
2046BORDER="0"
2047WIDTH="100%"
2048BGCOLOR="#FFD0D0"
2049CELLSPACING="0"
2050CELLPADDING="4"
2051CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002052><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00002053><TR
2054><TD
2055WIDTH="20%"
2056ALIGN="RIGHT"
2057VALIGN="TOP"
2058><TT
2059CLASS="PARAMETER"
2060><I
2061>output</I
2062></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002063>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00002064><TD
2065WIDTH="80%"
2066ALIGN="LEFT"
2067VALIGN="TOP"
2068>&nbsp;</TD
2069></TR
2070><TR
2071><TD
2072WIDTH="20%"
2073ALIGN="RIGHT"
2074VALIGN="TOP"
2075><TT
2076CLASS="PARAMETER"
2077><I
2078>comp</I
2079></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002080>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00002081><TD
2082WIDTH="80%"
2083ALIGN="LEFT"
2084VALIGN="TOP"
2085>&nbsp;</TD
2086></TR
2087><TR
2088><TD
2089WIDTH="20%"
2090ALIGN="RIGHT"
2091VALIGN="TOP"
2092><TT
2093CLASS="PARAMETER"
2094><I
2095>depth</I
2096></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002097>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00002098><TD
2099WIDTH="80%"
2100ALIGN="LEFT"
2101VALIGN="TOP"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002102>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00002103></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002104></TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00002105></TABLE
2106><P
2107></P
2108></DIV
2109></DIV
2110><HR><DIV
2111CLASS="REFSECT2"
2112><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00002113NAME="AEN12795"
Daniel Veillard503b8932001-01-05 06:36:31 +00002114></A
2115><H3
2116><A
2117NAME="XMLXPATHREGISTERNS"
2118></A
2119>xmlXPathRegisterNs ()</H3
2120><TABLE
2121BORDER="0"
2122BGCOLOR="#D6E8FF"
2123WIDTH="100%"
2124CELLPADDING="6"
2125><TR
2126><TD
2127><PRE
2128CLASS="PROGRAMLISTING"
2129>int xmlXPathRegisterNs (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002130HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard503b8932001-01-05 06:36:31 +00002131>xmlXPathContextPtr</A
2132> ctxt,
2133 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002134HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard503b8932001-01-05 06:36:31 +00002135>xmlChar</A
2136> *prefix,
2137 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002138HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard503b8932001-01-05 06:36:31 +00002139>xmlChar</A
2140> *ns_uri);</PRE
2141></TD
2142></TR
2143></TABLE
2144><P
2145>Register a new namespace. If <TT
2146CLASS="PARAMETER"
2147><I
2148>ns_uri</I
2149></TT
2150> is NULL it unregisters
2151the namespace</P
2152><P
2153></P
2154><DIV
2155CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002156><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00002157NAME="AEN12805"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002158></A
Daniel Veillard503b8932001-01-05 06:36:31 +00002159><P
2160></P
2161><TABLE
2162BORDER="0"
2163WIDTH="100%"
2164BGCOLOR="#FFD0D0"
2165CELLSPACING="0"
2166CELLPADDING="4"
2167CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002168><TBODY
Daniel Veillard503b8932001-01-05 06:36:31 +00002169><TR
2170><TD
2171WIDTH="20%"
2172ALIGN="RIGHT"
2173VALIGN="TOP"
2174><TT
2175CLASS="PARAMETER"
2176><I
2177>ctxt</I
2178></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002179>&nbsp;:</TD
Daniel Veillard503b8932001-01-05 06:36:31 +00002180><TD
2181WIDTH="80%"
2182ALIGN="LEFT"
2183VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002184>&nbsp;</TD
Daniel Veillard503b8932001-01-05 06:36:31 +00002185></TR
2186><TR
2187><TD
2188WIDTH="20%"
2189ALIGN="RIGHT"
2190VALIGN="TOP"
2191><TT
2192CLASS="PARAMETER"
2193><I
2194>prefix</I
2195></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002196>&nbsp;:</TD
Daniel Veillard503b8932001-01-05 06:36:31 +00002197><TD
2198WIDTH="80%"
2199ALIGN="LEFT"
2200VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002201>&nbsp;</TD
Daniel Veillard503b8932001-01-05 06:36:31 +00002202></TR
2203><TR
2204><TD
2205WIDTH="20%"
2206ALIGN="RIGHT"
2207VALIGN="TOP"
2208><TT
2209CLASS="PARAMETER"
2210><I
2211>ns_uri</I
2212></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002213>&nbsp;:</TD
Daniel Veillard503b8932001-01-05 06:36:31 +00002214><TD
2215WIDTH="80%"
2216ALIGN="LEFT"
2217VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002218>&nbsp;</TD
Daniel Veillard503b8932001-01-05 06:36:31 +00002219></TR
2220><TR
2221><TD
2222WIDTH="20%"
2223ALIGN="RIGHT"
2224VALIGN="TOP"
2225><I
2226CLASS="EMPHASIS"
2227>Returns</I
2228> :</TD
2229><TD
2230WIDTH="80%"
2231ALIGN="LEFT"
2232VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002233>&nbsp;</TD
Daniel Veillard503b8932001-01-05 06:36:31 +00002234></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002235></TBODY
Daniel Veillard503b8932001-01-05 06:36:31 +00002236></TABLE
2237><P
2238></P
2239></DIV
2240></DIV
2241><HR><DIV
2242CLASS="REFSECT2"
2243><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00002244NAME="AEN12826"
Daniel Veillard503b8932001-01-05 06:36:31 +00002245></A
2246><H3
2247><A
2248NAME="XMLXPATHNSLOOKUP"
2249></A
2250>xmlXPathNsLookup ()</H3
2251><TABLE
2252BORDER="0"
2253BGCOLOR="#D6E8FF"
2254WIDTH="100%"
2255CELLPADDING="6"
2256><TR
2257><TD
2258><PRE
2259CLASS="PROGRAMLISTING"
2260>const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002261HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard503b8932001-01-05 06:36:31 +00002262>xmlChar</A
2263>* xmlXPathNsLookup (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002264HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard503b8932001-01-05 06:36:31 +00002265>xmlXPathContextPtr</A
2266> ctxt,
2267 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002268HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard503b8932001-01-05 06:36:31 +00002269>xmlChar</A
2270> *ns_uri);</PRE
2271></TD
2272></TR
2273></TABLE
2274><P
2275>Search in the namespace declaration array of the context for the given
2276namespace name associated to the given prefix</P
2277><P
2278></P
2279><DIV
2280CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002281><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00002282NAME="AEN12835"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002283></A
Daniel Veillard503b8932001-01-05 06:36:31 +00002284><P
2285></P
2286><TABLE
2287BORDER="0"
2288WIDTH="100%"
2289BGCOLOR="#FFD0D0"
2290CELLSPACING="0"
2291CELLPADDING="4"
2292CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002293><TBODY
Daniel Veillard503b8932001-01-05 06:36:31 +00002294><TR
2295><TD
2296WIDTH="20%"
2297ALIGN="RIGHT"
2298VALIGN="TOP"
2299><TT
2300CLASS="PARAMETER"
2301><I
2302>ctxt</I
2303></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002304>&nbsp;:</TD
Daniel Veillard503b8932001-01-05 06:36:31 +00002305><TD
2306WIDTH="80%"
2307ALIGN="LEFT"
2308VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002309>&nbsp;</TD
Daniel Veillard503b8932001-01-05 06:36:31 +00002310></TR
2311><TR
2312><TD
2313WIDTH="20%"
2314ALIGN="RIGHT"
2315VALIGN="TOP"
2316><TT
2317CLASS="PARAMETER"
2318><I
2319>ns_uri</I
2320></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002321>&nbsp;:</TD
Daniel Veillard503b8932001-01-05 06:36:31 +00002322><TD
2323WIDTH="80%"
2324ALIGN="LEFT"
2325VALIGN="TOP"
2326>&nbsp;</TD
2327></TR
2328><TR
2329><TD
2330WIDTH="20%"
2331ALIGN="RIGHT"
2332VALIGN="TOP"
2333><I
2334CLASS="EMPHASIS"
2335>Returns</I
2336> :</TD
2337><TD
2338WIDTH="80%"
2339ALIGN="LEFT"
2340VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002341>&nbsp;</TD
Daniel Veillard503b8932001-01-05 06:36:31 +00002342></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002343></TBODY
Daniel Veillard503b8932001-01-05 06:36:31 +00002344></TABLE
2345><P
2346></P
2347></DIV
2348></DIV
2349><HR><DIV
2350CLASS="REFSECT2"
2351><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00002352NAME="AEN12852"
Daniel Veillard503b8932001-01-05 06:36:31 +00002353></A
2354><H3
2355><A
2356NAME="XMLXPATHREGISTEREDNSCLEANUP"
2357></A
2358>xmlXPathRegisteredNsCleanup ()</H3
2359><TABLE
2360BORDER="0"
2361BGCOLOR="#D6E8FF"
2362WIDTH="100%"
2363CELLPADDING="6"
2364><TR
2365><TD
2366><PRE
2367CLASS="PROGRAMLISTING"
2368>void xmlXPathRegisteredNsCleanup (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002369HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard503b8932001-01-05 06:36:31 +00002370>xmlXPathContextPtr</A
2371> ctxt);</PRE
2372></TD
2373></TR
2374></TABLE
2375><P
2376></P
2377><DIV
2378CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002379><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00002380NAME="AEN12858"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002381></A
Daniel Veillard503b8932001-01-05 06:36:31 +00002382><P
2383></P
2384><TABLE
2385BORDER="0"
2386WIDTH="100%"
2387BGCOLOR="#FFD0D0"
2388CELLSPACING="0"
2389CELLPADDING="4"
2390CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002391><TBODY
Daniel Veillard503b8932001-01-05 06:36:31 +00002392><TR
2393><TD
2394WIDTH="20%"
2395ALIGN="RIGHT"
2396VALIGN="TOP"
2397><TT
2398CLASS="PARAMETER"
2399><I
2400>ctxt</I
2401></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002402>&nbsp;:</TD
Daniel Veillard503b8932001-01-05 06:36:31 +00002403><TD
2404WIDTH="80%"
2405ALIGN="LEFT"
2406VALIGN="TOP"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002407>&nbsp;</TD
Daniel Veillard503b8932001-01-05 06:36:31 +00002408></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002409></TBODY
Daniel Veillard503b8932001-01-05 06:36:31 +00002410></TABLE
2411><P
2412></P
2413></DIV
2414></DIV
2415><HR><DIV
2416CLASS="REFSECT2"
2417><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00002418NAME="AEN12867"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002419></A
2420><H3
2421><A
2422NAME="XMLXPATHREGISTERFUNC"
2423></A
2424>xmlXPathRegisterFunc ()</H3
2425><TABLE
2426BORDER="0"
2427BGCOLOR="#D6E8FF"
2428WIDTH="100%"
2429CELLPADDING="6"
2430><TR
2431><TD
2432><PRE
2433CLASS="PROGRAMLISTING"
2434>int xmlXPathRegisterFunc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002435HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002436>xmlXPathContextPtr</A
2437> ctxt,
2438 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002439HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002440>xmlChar</A
2441> *name,
2442 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002443HREF="libxml-xpath.html#XMLXPATHFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002444>xmlXPathFunction</A
2445> f);</PRE
2446></TD
2447></TR
2448></TABLE
2449><P
2450>Register a new function. If <TT
2451CLASS="PARAMETER"
2452><I
2453>f</I
2454></TT
2455> is NULL it unregisters the function</P
2456><P
2457></P
2458><DIV
2459CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002460><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00002461NAME="AEN12877"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002462></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00002463><P
2464></P
2465><TABLE
2466BORDER="0"
2467WIDTH="100%"
2468BGCOLOR="#FFD0D0"
2469CELLSPACING="0"
2470CELLPADDING="4"
2471CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002472><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00002473><TR
2474><TD
2475WIDTH="20%"
2476ALIGN="RIGHT"
2477VALIGN="TOP"
2478><TT
2479CLASS="PARAMETER"
2480><I
2481>ctxt</I
2482></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002483>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00002484><TD
2485WIDTH="80%"
2486ALIGN="LEFT"
2487VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002488>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00002489></TR
2490><TR
2491><TD
2492WIDTH="20%"
2493ALIGN="RIGHT"
2494VALIGN="TOP"
2495><TT
2496CLASS="PARAMETER"
2497><I
2498>name</I
2499></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002500>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00002501><TD
2502WIDTH="80%"
2503ALIGN="LEFT"
2504VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002505>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00002506></TR
2507><TR
2508><TD
2509WIDTH="20%"
2510ALIGN="RIGHT"
2511VALIGN="TOP"
2512><TT
2513CLASS="PARAMETER"
2514><I
2515>f</I
2516></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002517>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00002518><TD
2519WIDTH="80%"
2520ALIGN="LEFT"
2521VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002522>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00002523></TR
2524><TR
2525><TD
2526WIDTH="20%"
2527ALIGN="RIGHT"
2528VALIGN="TOP"
2529><I
2530CLASS="EMPHASIS"
2531>Returns</I
2532> :</TD
2533><TD
2534WIDTH="80%"
2535ALIGN="LEFT"
2536VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002537>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00002538></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002539></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00002540></TABLE
2541><P
2542></P
2543></DIV
2544></DIV
2545><HR><DIV
2546CLASS="REFSECT2"
2547><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00002548NAME="AEN12898"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002549></A
2550><H3
2551><A
2552NAME="XMLXPATHREGISTERFUNCNS"
2553></A
2554>xmlXPathRegisterFuncNS ()</H3
2555><TABLE
2556BORDER="0"
2557BGCOLOR="#D6E8FF"
2558WIDTH="100%"
2559CELLPADDING="6"
2560><TR
2561><TD
2562><PRE
2563CLASS="PROGRAMLISTING"
2564>int xmlXPathRegisterFuncNS (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002565HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002566>xmlXPathContextPtr</A
2567> ctxt,
2568 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002569HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002570>xmlChar</A
2571> *name,
2572 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002573HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002574>xmlChar</A
2575> *ns_uri,
2576 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002577HREF="libxml-xpath.html#XMLXPATHFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002578>xmlXPathFunction</A
2579> f);</PRE
2580></TD
2581></TR
2582></TABLE
2583><P
2584>Register a new function. If <TT
2585CLASS="PARAMETER"
2586><I
2587>f</I
2588></TT
2589> is NULL it unregisters the function</P
2590><P
2591></P
2592><DIV
2593CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002594><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00002595NAME="AEN12909"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002596></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00002597><P
2598></P
2599><TABLE
2600BORDER="0"
2601WIDTH="100%"
2602BGCOLOR="#FFD0D0"
2603CELLSPACING="0"
2604CELLPADDING="4"
2605CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002606><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00002607><TR
2608><TD
2609WIDTH="20%"
2610ALIGN="RIGHT"
2611VALIGN="TOP"
2612><TT
2613CLASS="PARAMETER"
2614><I
2615>ctxt</I
2616></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002617>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00002618><TD
2619WIDTH="80%"
2620ALIGN="LEFT"
2621VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002622>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00002623></TR
2624><TR
2625><TD
2626WIDTH="20%"
2627ALIGN="RIGHT"
2628VALIGN="TOP"
2629><TT
2630CLASS="PARAMETER"
2631><I
2632>name</I
2633></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002634>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00002635><TD
2636WIDTH="80%"
2637ALIGN="LEFT"
2638VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002639>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00002640></TR
2641><TR
2642><TD
2643WIDTH="20%"
2644ALIGN="RIGHT"
2645VALIGN="TOP"
2646><TT
2647CLASS="PARAMETER"
2648><I
2649>ns_uri</I
2650></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002651>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00002652><TD
2653WIDTH="80%"
2654ALIGN="LEFT"
2655VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002656>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00002657></TR
2658><TR
2659><TD
2660WIDTH="20%"
2661ALIGN="RIGHT"
2662VALIGN="TOP"
2663><TT
2664CLASS="PARAMETER"
2665><I
2666>f</I
2667></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002668>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00002669><TD
2670WIDTH="80%"
2671ALIGN="LEFT"
2672VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002673>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00002674></TR
2675><TR
2676><TD
2677WIDTH="20%"
2678ALIGN="RIGHT"
2679VALIGN="TOP"
2680><I
2681CLASS="EMPHASIS"
2682>Returns</I
2683> :</TD
2684><TD
2685WIDTH="80%"
2686ALIGN="LEFT"
2687VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002688>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00002689></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002690></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00002691></TABLE
2692><P
2693></P
2694></DIV
2695></DIV
2696><HR><DIV
2697CLASS="REFSECT2"
2698><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00002699NAME="AEN12934"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002700></A
2701><H3
2702><A
2703NAME="XMLXPATHREGISTERVARIABLE"
2704></A
2705>xmlXPathRegisterVariable ()</H3
2706><TABLE
2707BORDER="0"
2708BGCOLOR="#D6E8FF"
2709WIDTH="100%"
2710CELLPADDING="6"
2711><TR
2712><TD
2713><PRE
2714CLASS="PROGRAMLISTING"
2715>int xmlXPathRegisterVariable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002716HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002717>xmlXPathContextPtr</A
2718> ctxt,
2719 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002720HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002721>xmlChar</A
2722> *name,
2723 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002724HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002725>xmlXPathObjectPtr</A
2726> value);</PRE
2727></TD
2728></TR
2729></TABLE
2730><P
2731>Register a new variable value. If <TT
2732CLASS="PARAMETER"
2733><I
2734>value</I
2735></TT
2736> is NULL it unregisters
2737the variable</P
2738><P
2739></P
2740><DIV
2741CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002742><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00002743NAME="AEN12944"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002744></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00002745><P
2746></P
2747><TABLE
2748BORDER="0"
2749WIDTH="100%"
2750BGCOLOR="#FFD0D0"
2751CELLSPACING="0"
2752CELLPADDING="4"
2753CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002754><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00002755><TR
2756><TD
2757WIDTH="20%"
2758ALIGN="RIGHT"
2759VALIGN="TOP"
2760><TT
2761CLASS="PARAMETER"
2762><I
2763>ctxt</I
2764></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002765>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00002766><TD
2767WIDTH="80%"
2768ALIGN="LEFT"
2769VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002770>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00002771></TR
2772><TR
2773><TD
2774WIDTH="20%"
2775ALIGN="RIGHT"
2776VALIGN="TOP"
2777><TT
2778CLASS="PARAMETER"
2779><I
2780>name</I
2781></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002782>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00002783><TD
2784WIDTH="80%"
2785ALIGN="LEFT"
2786VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002787>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00002788></TR
2789><TR
2790><TD
2791WIDTH="20%"
2792ALIGN="RIGHT"
2793VALIGN="TOP"
2794><TT
2795CLASS="PARAMETER"
2796><I
2797>value</I
2798></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002799>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00002800><TD
2801WIDTH="80%"
2802ALIGN="LEFT"
2803VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002804>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00002805></TR
2806><TR
2807><TD
2808WIDTH="20%"
2809ALIGN="RIGHT"
2810VALIGN="TOP"
2811><I
2812CLASS="EMPHASIS"
2813>Returns</I
2814> :</TD
2815><TD
2816WIDTH="80%"
2817ALIGN="LEFT"
2818VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002819>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00002820></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002821></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00002822></TABLE
2823><P
2824></P
2825></DIV
2826></DIV
2827><HR><DIV
2828CLASS="REFSECT2"
2829><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00002830NAME="AEN12965"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002831></A
2832><H3
2833><A
2834NAME="XMLXPATHREGISTERVARIABLENS"
2835></A
2836>xmlXPathRegisterVariableNS ()</H3
2837><TABLE
2838BORDER="0"
2839BGCOLOR="#D6E8FF"
2840WIDTH="100%"
2841CELLPADDING="6"
2842><TR
2843><TD
2844><PRE
2845CLASS="PROGRAMLISTING"
2846>int xmlXPathRegisterVariableNS (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002847HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002848>xmlXPathContextPtr</A
2849> ctxt,
2850 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002851HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002852>xmlChar</A
2853> *name,
2854 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002855HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002856>xmlChar</A
2857> *ns_uri,
2858 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002859HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002860>xmlXPathObjectPtr</A
2861> value);</PRE
2862></TD
2863></TR
2864></TABLE
2865><P
2866>Register a new variable value. If <TT
2867CLASS="PARAMETER"
2868><I
2869>value</I
2870></TT
2871> is NULL it unregisters
2872the variable</P
2873><P
2874></P
2875><DIV
2876CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002877><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00002878NAME="AEN12976"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002879></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00002880><P
2881></P
2882><TABLE
2883BORDER="0"
2884WIDTH="100%"
2885BGCOLOR="#FFD0D0"
2886CELLSPACING="0"
2887CELLPADDING="4"
2888CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002889><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00002890><TR
2891><TD
2892WIDTH="20%"
2893ALIGN="RIGHT"
2894VALIGN="TOP"
2895><TT
2896CLASS="PARAMETER"
2897><I
2898>ctxt</I
2899></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002900>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00002901><TD
2902WIDTH="80%"
2903ALIGN="LEFT"
2904VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002905>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00002906></TR
2907><TR
2908><TD
2909WIDTH="20%"
2910ALIGN="RIGHT"
2911VALIGN="TOP"
2912><TT
2913CLASS="PARAMETER"
2914><I
2915>name</I
2916></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002917>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00002918><TD
2919WIDTH="80%"
2920ALIGN="LEFT"
2921VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002922>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00002923></TR
2924><TR
2925><TD
2926WIDTH="20%"
2927ALIGN="RIGHT"
2928VALIGN="TOP"
2929><TT
2930CLASS="PARAMETER"
2931><I
2932>ns_uri</I
2933></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002934>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00002935><TD
2936WIDTH="80%"
2937ALIGN="LEFT"
2938VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002939>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00002940></TR
2941><TR
2942><TD
2943WIDTH="20%"
2944ALIGN="RIGHT"
2945VALIGN="TOP"
2946><TT
2947CLASS="PARAMETER"
2948><I
2949>value</I
2950></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002951>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00002952><TD
2953WIDTH="80%"
2954ALIGN="LEFT"
2955VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002956>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00002957></TR
2958><TR
2959><TD
2960WIDTH="20%"
2961ALIGN="RIGHT"
2962VALIGN="TOP"
2963><I
2964CLASS="EMPHASIS"
2965>Returns</I
2966> :</TD
2967><TD
2968WIDTH="80%"
2969ALIGN="LEFT"
2970VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002971>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00002972></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002973></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00002974></TABLE
2975><P
2976></P
2977></DIV
2978></DIV
2979><HR><DIV
2980CLASS="REFSECT2"
2981><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00002982NAME="AEN13001"
Daniel Veillard9753ad72000-11-13 19:12:23 +00002983></A
2984><H3
2985><A
2986NAME="XMLXPATHFUNCTIONLOOKUP"
2987></A
2988>xmlXPathFunctionLookup ()</H3
2989><TABLE
2990BORDER="0"
2991BGCOLOR="#D6E8FF"
2992WIDTH="100%"
2993CELLPADDING="6"
2994><TR
2995><TD
2996><PRE
2997CLASS="PROGRAMLISTING"
2998><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002999HREF="libxml-xpath.html#XMLXPATHFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003000>xmlXPathFunction</A
3001> xmlXPathFunctionLookup (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003002HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003003>xmlXPathContextPtr</A
3004> ctxt,
3005 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003006HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003007>xmlChar</A
3008> *name);</PRE
3009></TD
3010></TR
3011></TABLE
3012><P
3013>Search in the Function array of the context for the given
3014function.</P
3015><P
3016></P
3017><DIV
3018CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003019><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00003020NAME="AEN13010"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003021></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00003022><P
3023></P
3024><TABLE
3025BORDER="0"
3026WIDTH="100%"
3027BGCOLOR="#FFD0D0"
3028CELLSPACING="0"
3029CELLPADDING="4"
3030CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003031><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00003032><TR
3033><TD
3034WIDTH="20%"
3035ALIGN="RIGHT"
3036VALIGN="TOP"
3037><TT
3038CLASS="PARAMETER"
3039><I
3040>ctxt</I
3041></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003042>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003043><TD
3044WIDTH="80%"
3045ALIGN="LEFT"
3046VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00003047>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003048></TR
3049><TR
3050><TD
3051WIDTH="20%"
3052ALIGN="RIGHT"
3053VALIGN="TOP"
3054><TT
3055CLASS="PARAMETER"
3056><I
3057>name</I
3058></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003059>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003060><TD
3061WIDTH="80%"
3062ALIGN="LEFT"
3063VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00003064>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003065></TR
3066><TR
3067><TD
3068WIDTH="20%"
3069ALIGN="RIGHT"
3070VALIGN="TOP"
3071><I
3072CLASS="EMPHASIS"
3073>Returns</I
3074> :</TD
3075><TD
3076WIDTH="80%"
3077ALIGN="LEFT"
3078VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00003079>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003080></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003081></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00003082></TABLE
3083><P
3084></P
3085></DIV
3086></DIV
3087><HR><DIV
3088CLASS="REFSECT2"
3089><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00003090NAME="AEN13027"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003091></A
3092><H3
3093><A
3094NAME="XMLXPATHFUNCTIONLOOKUPNS"
3095></A
3096>xmlXPathFunctionLookupNS ()</H3
3097><TABLE
3098BORDER="0"
3099BGCOLOR="#D6E8FF"
3100WIDTH="100%"
3101CELLPADDING="6"
3102><TR
3103><TD
3104><PRE
3105CLASS="PROGRAMLISTING"
3106><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003107HREF="libxml-xpath.html#XMLXPATHFUNCTION"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003108>xmlXPathFunction</A
3109> xmlXPathFunctionLookupNS (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003110HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003111>xmlXPathContextPtr</A
3112> ctxt,
3113 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003114HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003115>xmlChar</A
3116> *name,
3117 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003118HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003119>xmlChar</A
3120> *ns_uri);</PRE
3121></TD
3122></TR
3123></TABLE
3124><P
3125>Search in the Function array of the context for the given
3126function.</P
3127><P
3128></P
3129><DIV
3130CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003131><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00003132NAME="AEN13037"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003133></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00003134><P
3135></P
3136><TABLE
3137BORDER="0"
3138WIDTH="100%"
3139BGCOLOR="#FFD0D0"
3140CELLSPACING="0"
3141CELLPADDING="4"
3142CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003143><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00003144><TR
3145><TD
3146WIDTH="20%"
3147ALIGN="RIGHT"
3148VALIGN="TOP"
3149><TT
3150CLASS="PARAMETER"
3151><I
3152>ctxt</I
3153></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003154>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003155><TD
3156WIDTH="80%"
3157ALIGN="LEFT"
3158VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00003159>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003160></TR
3161><TR
3162><TD
3163WIDTH="20%"
3164ALIGN="RIGHT"
3165VALIGN="TOP"
3166><TT
3167CLASS="PARAMETER"
3168><I
3169>name</I
3170></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003171>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003172><TD
3173WIDTH="80%"
3174ALIGN="LEFT"
3175VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00003176>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003177></TR
3178><TR
3179><TD
3180WIDTH="20%"
3181ALIGN="RIGHT"
3182VALIGN="TOP"
3183><TT
3184CLASS="PARAMETER"
3185><I
3186>ns_uri</I
3187></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003188>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003189><TD
3190WIDTH="80%"
3191ALIGN="LEFT"
3192VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00003193>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003194></TR
3195><TR
3196><TD
3197WIDTH="20%"
3198ALIGN="RIGHT"
3199VALIGN="TOP"
3200><I
3201CLASS="EMPHASIS"
3202>Returns</I
3203> :</TD
3204><TD
3205WIDTH="80%"
3206ALIGN="LEFT"
3207VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00003208>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003209></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003210></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00003211></TABLE
3212><P
3213></P
3214></DIV
3215></DIV
3216><HR><DIV
3217CLASS="REFSECT2"
3218><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00003219NAME="AEN13058"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003220></A
3221><H3
3222><A
3223NAME="XMLXPATHREGISTEREDFUNCSCLEANUP"
3224></A
3225>xmlXPathRegisteredFuncsCleanup ()</H3
3226><TABLE
3227BORDER="0"
3228BGCOLOR="#D6E8FF"
3229WIDTH="100%"
3230CELLPADDING="6"
3231><TR
3232><TD
3233><PRE
3234CLASS="PROGRAMLISTING"
3235>void xmlXPathRegisteredFuncsCleanup (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003236HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003237>xmlXPathContextPtr</A
3238> ctxt);</PRE
3239></TD
3240></TR
3241></TABLE
3242><P
3243>Cleanup the XPath context data associated to registered functions</P
3244><P
3245></P
3246><DIV
3247CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003248><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00003249NAME="AEN13065"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003250></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00003251><P
3252></P
3253><TABLE
3254BORDER="0"
3255WIDTH="100%"
3256BGCOLOR="#FFD0D0"
3257CELLSPACING="0"
3258CELLPADDING="4"
3259CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003260><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00003261><TR
3262><TD
3263WIDTH="20%"
3264ALIGN="RIGHT"
3265VALIGN="TOP"
3266><TT
3267CLASS="PARAMETER"
3268><I
3269>ctxt</I
3270></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003271>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003272><TD
3273WIDTH="80%"
3274ALIGN="LEFT"
3275VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00003276>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003277></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003278></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00003279></TABLE
3280><P
3281></P
3282></DIV
3283></DIV
3284><HR><DIV
3285CLASS="REFSECT2"
3286><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00003287NAME="AEN13074"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003288></A
3289><H3
3290><A
3291NAME="XMLXPATHVARIABLELOOKUP"
3292></A
3293>xmlXPathVariableLookup ()</H3
3294><TABLE
3295BORDER="0"
3296BGCOLOR="#D6E8FF"
3297WIDTH="100%"
3298CELLPADDING="6"
3299><TR
3300><TD
3301><PRE
3302CLASS="PROGRAMLISTING"
3303><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003304HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003305>xmlXPathObjectPtr</A
3306> xmlXPathVariableLookup (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003307HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003308>xmlXPathContextPtr</A
3309> ctxt,
3310 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003311HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003312>xmlChar</A
3313> *name);</PRE
3314></TD
3315></TR
3316></TABLE
3317><P
3318>Search in the Variable array of the context for the given
3319variable value.</P
3320><P
3321></P
3322><DIV
3323CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003324><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00003325NAME="AEN13083"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003326></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00003327><P
3328></P
3329><TABLE
3330BORDER="0"
3331WIDTH="100%"
3332BGCOLOR="#FFD0D0"
3333CELLSPACING="0"
3334CELLPADDING="4"
3335CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003336><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00003337><TR
3338><TD
3339WIDTH="20%"
3340ALIGN="RIGHT"
3341VALIGN="TOP"
3342><TT
3343CLASS="PARAMETER"
3344><I
3345>ctxt</I
3346></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003347>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003348><TD
3349WIDTH="80%"
3350ALIGN="LEFT"
3351VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00003352>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003353></TR
3354><TR
3355><TD
3356WIDTH="20%"
3357ALIGN="RIGHT"
3358VALIGN="TOP"
3359><TT
3360CLASS="PARAMETER"
3361><I
3362>name</I
3363></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003364>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003365><TD
3366WIDTH="80%"
3367ALIGN="LEFT"
3368VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00003369>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003370></TR
3371><TR
3372><TD
3373WIDTH="20%"
3374ALIGN="RIGHT"
3375VALIGN="TOP"
3376><I
3377CLASS="EMPHASIS"
3378>Returns</I
3379> :</TD
3380><TD
3381WIDTH="80%"
3382ALIGN="LEFT"
3383VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00003384>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003385></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003386></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00003387></TABLE
3388><P
3389></P
3390></DIV
3391></DIV
3392><HR><DIV
3393CLASS="REFSECT2"
3394><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00003395NAME="AEN13100"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003396></A
3397><H3
3398><A
3399NAME="XMLXPATHVARIABLELOOKUPNS"
3400></A
3401>xmlXPathVariableLookupNS ()</H3
3402><TABLE
3403BORDER="0"
3404BGCOLOR="#D6E8FF"
3405WIDTH="100%"
3406CELLPADDING="6"
3407><TR
3408><TD
3409><PRE
3410CLASS="PROGRAMLISTING"
3411><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003412HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003413>xmlXPathObjectPtr</A
3414> xmlXPathVariableLookupNS (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003415HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003416>xmlXPathContextPtr</A
3417> ctxt,
3418 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003419HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003420>xmlChar</A
3421> *name,
3422 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003423HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003424>xmlChar</A
3425> *ns_uri);</PRE
3426></TD
3427></TR
3428></TABLE
3429><P
3430>Search in the Variable array of the context for the given
3431variable value.</P
3432><P
3433></P
3434><DIV
3435CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003436><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00003437NAME="AEN13110"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003438></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00003439><P
3440></P
3441><TABLE
3442BORDER="0"
3443WIDTH="100%"
3444BGCOLOR="#FFD0D0"
3445CELLSPACING="0"
3446CELLPADDING="4"
3447CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003448><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00003449><TR
3450><TD
3451WIDTH="20%"
3452ALIGN="RIGHT"
3453VALIGN="TOP"
3454><TT
3455CLASS="PARAMETER"
3456><I
3457>ctxt</I
3458></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003459>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003460><TD
3461WIDTH="80%"
3462ALIGN="LEFT"
3463VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00003464>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003465></TR
3466><TR
3467><TD
3468WIDTH="20%"
3469ALIGN="RIGHT"
3470VALIGN="TOP"
3471><TT
3472CLASS="PARAMETER"
3473><I
3474>name</I
3475></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003476>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003477><TD
3478WIDTH="80%"
3479ALIGN="LEFT"
3480VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00003481>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003482></TR
3483><TR
3484><TD
3485WIDTH="20%"
3486ALIGN="RIGHT"
3487VALIGN="TOP"
3488><TT
3489CLASS="PARAMETER"
3490><I
3491>ns_uri</I
3492></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003493>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003494><TD
3495WIDTH="80%"
3496ALIGN="LEFT"
3497VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00003498>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003499></TR
3500><TR
3501><TD
3502WIDTH="20%"
3503ALIGN="RIGHT"
3504VALIGN="TOP"
3505><I
3506CLASS="EMPHASIS"
3507>Returns</I
3508> :</TD
3509><TD
3510WIDTH="80%"
3511ALIGN="LEFT"
3512VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00003513>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003514></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003515></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00003516></TABLE
3517><P
3518></P
3519></DIV
3520></DIV
3521><HR><DIV
3522CLASS="REFSECT2"
3523><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00003524NAME="AEN13131"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003525></A
3526><H3
3527><A
3528NAME="XMLXPATHREGISTEREDVARIABLESCLEANUP"
3529></A
3530>xmlXPathRegisteredVariablesCleanup ()</H3
3531><TABLE
3532BORDER="0"
3533BGCOLOR="#D6E8FF"
3534WIDTH="100%"
3535CELLPADDING="6"
3536><TR
3537><TD
3538><PRE
3539CLASS="PROGRAMLISTING"
3540>void xmlXPathRegisteredVariablesCleanup
3541 (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003542HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003543>xmlXPathContextPtr</A
3544> ctxt);</PRE
3545></TD
3546></TR
3547></TABLE
3548><P
3549>Cleanup the XPath context data associated to registered variables</P
3550><P
3551></P
3552><DIV
3553CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003554><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00003555NAME="AEN13138"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003556></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00003557><P
3558></P
3559><TABLE
3560BORDER="0"
3561WIDTH="100%"
3562BGCOLOR="#FFD0D0"
3563CELLSPACING="0"
3564CELLPADDING="4"
3565CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003566><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00003567><TR
3568><TD
3569WIDTH="20%"
3570ALIGN="RIGHT"
3571VALIGN="TOP"
3572><TT
3573CLASS="PARAMETER"
3574><I
3575>ctxt</I
3576></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003577>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003578><TD
3579WIDTH="80%"
3580ALIGN="LEFT"
3581VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00003582>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003583></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003584></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00003585></TABLE
3586><P
3587></P
3588></DIV
3589></DIV
3590><HR><DIV
3591CLASS="REFSECT2"
3592><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00003593NAME="AEN13147"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003594></A
3595><H3
3596><A
3597NAME="XMLXPATHNEWPARSERCONTEXT"
3598></A
3599>xmlXPathNewParserContext ()</H3
3600><TABLE
3601BORDER="0"
3602BGCOLOR="#D6E8FF"
3603WIDTH="100%"
3604CELLPADDING="6"
3605><TR
3606><TD
3607><PRE
3608CLASS="PROGRAMLISTING"
3609><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003610HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003611>xmlXPathParserContextPtr</A
3612> xmlXPathNewParserContext
3613 (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003614HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003615>xmlChar</A
3616> *str,
3617 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003618HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003619>xmlXPathContextPtr</A
3620> ctxt);</PRE
3621></TD
3622></TR
3623></TABLE
3624><P
3625>Create a new xmlXPathParserContext</P
3626><P
3627></P
3628><DIV
3629CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003630><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00003631NAME="AEN13156"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003632></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00003633><P
3634></P
3635><TABLE
3636BORDER="0"
3637WIDTH="100%"
3638BGCOLOR="#FFD0D0"
3639CELLSPACING="0"
3640CELLPADDING="4"
3641CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003642><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00003643><TR
3644><TD
3645WIDTH="20%"
3646ALIGN="RIGHT"
3647VALIGN="TOP"
3648><TT
3649CLASS="PARAMETER"
3650><I
3651>str</I
3652></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003653>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003654><TD
3655WIDTH="80%"
3656ALIGN="LEFT"
3657VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00003658>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003659></TR
3660><TR
3661><TD
3662WIDTH="20%"
3663ALIGN="RIGHT"
3664VALIGN="TOP"
3665><TT
3666CLASS="PARAMETER"
3667><I
3668>ctxt</I
3669></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003670>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003671><TD
3672WIDTH="80%"
3673ALIGN="LEFT"
3674VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00003675>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003676></TR
3677><TR
3678><TD
3679WIDTH="20%"
3680ALIGN="RIGHT"
3681VALIGN="TOP"
3682><I
3683CLASS="EMPHASIS"
3684>Returns</I
3685> :</TD
3686><TD
3687WIDTH="80%"
3688ALIGN="LEFT"
3689VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00003690>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003691></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003692></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00003693></TABLE
3694><P
3695></P
3696></DIV
3697></DIV
3698><HR><DIV
3699CLASS="REFSECT2"
3700><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00003701NAME="AEN13173"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003702></A
3703><H3
3704><A
3705NAME="XMLXPATHFREEPARSERCONTEXT"
3706></A
3707>xmlXPathFreeParserContext ()</H3
3708><TABLE
3709BORDER="0"
3710BGCOLOR="#D6E8FF"
3711WIDTH="100%"
3712CELLPADDING="6"
3713><TR
3714><TD
3715><PRE
3716CLASS="PROGRAMLISTING"
3717>void xmlXPathFreeParserContext (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003718HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003719>xmlXPathParserContextPtr</A
3720> ctxt);</PRE
3721></TD
3722></TR
3723></TABLE
3724><P
3725>Free up an xmlXPathParserContext</P
3726><P
3727></P
3728><DIV
3729CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003730><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00003731NAME="AEN13180"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003732></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00003733><P
3734></P
3735><TABLE
3736BORDER="0"
3737WIDTH="100%"
3738BGCOLOR="#FFD0D0"
3739CELLSPACING="0"
3740CELLPADDING="4"
3741CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003742><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00003743><TR
3744><TD
3745WIDTH="20%"
3746ALIGN="RIGHT"
3747VALIGN="TOP"
3748><TT
3749CLASS="PARAMETER"
3750><I
3751>ctxt</I
3752></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003753>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003754><TD
3755WIDTH="80%"
3756ALIGN="LEFT"
3757VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00003758>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003759></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003760></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00003761></TABLE
3762><P
3763></P
3764></DIV
3765></DIV
3766><HR><DIV
3767CLASS="REFSECT2"
3768><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00003769NAME="AEN13189"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003770></A
3771><H3
3772><A
3773NAME="VALUEPOP"
3774></A
3775>valuePop ()</H3
3776><TABLE
3777BORDER="0"
3778BGCOLOR="#D6E8FF"
3779WIDTH="100%"
3780CELLPADDING="6"
3781><TR
3782><TD
3783><PRE
3784CLASS="PROGRAMLISTING"
3785><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003786HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003787>xmlXPathObjectPtr</A
3788> valuePop (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003789HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003790>xmlXPathParserContextPtr</A
3791> ctxt);</PRE
3792></TD
3793></TR
3794></TABLE
3795><P
3796></P
3797><DIV
3798CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003799><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00003800NAME="AEN13196"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003801></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00003802><P
3803></P
3804><TABLE
3805BORDER="0"
3806WIDTH="100%"
3807BGCOLOR="#FFD0D0"
3808CELLSPACING="0"
3809CELLPADDING="4"
3810CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003811><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00003812><TR
3813><TD
3814WIDTH="20%"
3815ALIGN="RIGHT"
3816VALIGN="TOP"
3817><TT
3818CLASS="PARAMETER"
3819><I
3820>ctxt</I
3821></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003822>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003823><TD
3824WIDTH="80%"
3825ALIGN="LEFT"
3826VALIGN="TOP"
3827>&nbsp;</TD
3828></TR
3829><TR
3830><TD
3831WIDTH="20%"
3832ALIGN="RIGHT"
3833VALIGN="TOP"
3834><I
3835CLASS="EMPHASIS"
3836>Returns</I
3837> :</TD
3838><TD
3839WIDTH="80%"
3840ALIGN="LEFT"
3841VALIGN="TOP"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003842>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003843></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003844></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00003845></TABLE
3846><P
3847></P
3848></DIV
3849></DIV
3850><HR><DIV
3851CLASS="REFSECT2"
3852><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00003853NAME="AEN13209"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003854></A
3855><H3
3856><A
3857NAME="VALUEPUSH"
3858></A
3859>valuePush ()</H3
3860><TABLE
3861BORDER="0"
3862BGCOLOR="#D6E8FF"
3863WIDTH="100%"
3864CELLPADDING="6"
3865><TR
3866><TD
3867><PRE
3868CLASS="PROGRAMLISTING"
3869>int valuePush (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003870HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003871>xmlXPathParserContextPtr</A
3872> ctxt,
3873 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003874HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003875>xmlXPathObjectPtr</A
3876> value);</PRE
3877></TD
3878></TR
3879></TABLE
3880><P
3881></P
3882><DIV
3883CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003884><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00003885NAME="AEN13216"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003886></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00003887><P
3888></P
3889><TABLE
3890BORDER="0"
3891WIDTH="100%"
3892BGCOLOR="#FFD0D0"
3893CELLSPACING="0"
3894CELLPADDING="4"
3895CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003896><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00003897><TR
3898><TD
3899WIDTH="20%"
3900ALIGN="RIGHT"
3901VALIGN="TOP"
3902><TT
3903CLASS="PARAMETER"
3904><I
3905>ctxt</I
3906></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003907>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003908><TD
3909WIDTH="80%"
3910ALIGN="LEFT"
3911VALIGN="TOP"
3912>&nbsp;</TD
3913></TR
3914><TR
3915><TD
3916WIDTH="20%"
3917ALIGN="RIGHT"
3918VALIGN="TOP"
3919><TT
3920CLASS="PARAMETER"
3921><I
3922>value</I
3923></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003924>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003925><TD
3926WIDTH="80%"
3927ALIGN="LEFT"
3928VALIGN="TOP"
3929>&nbsp;</TD
3930></TR
3931><TR
3932><TD
3933WIDTH="20%"
3934ALIGN="RIGHT"
3935VALIGN="TOP"
3936><I
3937CLASS="EMPHASIS"
3938>Returns</I
3939> :</TD
3940><TD
3941WIDTH="80%"
3942ALIGN="LEFT"
3943VALIGN="TOP"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003944>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00003945></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003946></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00003947></TABLE
3948><P
3949></P
3950></DIV
3951></DIV
3952><HR><DIV
3953CLASS="REFSECT2"
3954><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00003955NAME="AEN13233"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003956></A
3957><H3
3958><A
3959NAME="XMLXPATHNEWSTRING"
3960></A
3961>xmlXPathNewString ()</H3
3962><TABLE
3963BORDER="0"
3964BGCOLOR="#D6E8FF"
3965WIDTH="100%"
3966CELLPADDING="6"
3967><TR
3968><TD
3969><PRE
3970CLASS="PROGRAMLISTING"
3971><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003972HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003973>xmlXPathObjectPtr</A
3974> xmlXPathNewString (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003975HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00003976>xmlChar</A
3977> *val);</PRE
3978></TD
3979></TR
3980></TABLE
3981><P
3982>Create a new xmlXPathObjectPtr of type string and of value <TT
3983CLASS="PARAMETER"
3984><I
3985>val</I
3986></TT
3987></P
3988><P
3989></P
3990><DIV
3991CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003992><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00003993NAME="AEN13242"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003994></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00003995><P
3996></P
3997><TABLE
3998BORDER="0"
3999WIDTH="100%"
4000BGCOLOR="#FFD0D0"
4001CELLSPACING="0"
4002CELLPADDING="4"
4003CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004004><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00004005><TR
4006><TD
4007WIDTH="20%"
4008ALIGN="RIGHT"
4009VALIGN="TOP"
4010><TT
4011CLASS="PARAMETER"
4012><I
4013>val</I
4014></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004015>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004016><TD
4017WIDTH="80%"
4018ALIGN="LEFT"
4019VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00004020>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004021></TR
4022><TR
4023><TD
4024WIDTH="20%"
4025ALIGN="RIGHT"
4026VALIGN="TOP"
4027><I
4028CLASS="EMPHASIS"
4029>Returns</I
4030> :</TD
4031><TD
4032WIDTH="80%"
4033ALIGN="LEFT"
4034VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00004035>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004036></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004037></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00004038></TABLE
4039><P
4040></P
4041></DIV
4042></DIV
4043><HR><DIV
4044CLASS="REFSECT2"
4045><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00004046NAME="AEN13255"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004047></A
4048><H3
4049><A
4050NAME="XMLXPATHNEWCSTRING"
4051></A
4052>xmlXPathNewCString ()</H3
4053><TABLE
4054BORDER="0"
4055BGCOLOR="#D6E8FF"
4056WIDTH="100%"
4057CELLPADDING="6"
4058><TR
4059><TD
4060><PRE
4061CLASS="PROGRAMLISTING"
4062><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004063HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004064>xmlXPathObjectPtr</A
4065> xmlXPathNewCString (const char *val);</PRE
4066></TD
4067></TR
4068></TABLE
4069><P
4070>Create a new xmlXPathObjectPtr of type string and of value <TT
4071CLASS="PARAMETER"
4072><I
4073>val</I
4074></TT
4075></P
4076><P
4077></P
4078><DIV
4079CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004080><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00004081NAME="AEN13263"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004082></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00004083><P
4084></P
4085><TABLE
4086BORDER="0"
4087WIDTH="100%"
4088BGCOLOR="#FFD0D0"
4089CELLSPACING="0"
4090CELLPADDING="4"
4091CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004092><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00004093><TR
4094><TD
4095WIDTH="20%"
4096ALIGN="RIGHT"
4097VALIGN="TOP"
4098><TT
4099CLASS="PARAMETER"
4100><I
4101>val</I
4102></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004103>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004104><TD
4105WIDTH="80%"
4106ALIGN="LEFT"
4107VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00004108>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004109></TR
4110><TR
4111><TD
4112WIDTH="20%"
4113ALIGN="RIGHT"
4114VALIGN="TOP"
4115><I
4116CLASS="EMPHASIS"
4117>Returns</I
4118> :</TD
4119><TD
4120WIDTH="80%"
4121ALIGN="LEFT"
4122VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00004123>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004124></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004125></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00004126></TABLE
4127><P
4128></P
4129></DIV
4130></DIV
4131><HR><DIV
4132CLASS="REFSECT2"
4133><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00004134NAME="AEN13276"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004135></A
4136><H3
4137><A
4138NAME="XMLXPATHWRAPSTRING"
4139></A
4140>xmlXPathWrapString ()</H3
4141><TABLE
4142BORDER="0"
4143BGCOLOR="#D6E8FF"
4144WIDTH="100%"
4145CELLPADDING="6"
4146><TR
4147><TD
4148><PRE
4149CLASS="PROGRAMLISTING"
4150><A
4151HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
4152>xmlXPathObjectPtr</A
4153> xmlXPathWrapString (<A
4154HREF="libxml-tree.html#XMLCHAR"
4155>xmlChar</A
4156> *val);</PRE
4157></TD
4158></TR
4159></TABLE
4160><P
4161>Wraps the <TT
4162CLASS="PARAMETER"
4163><I
4164>val</I
4165></TT
4166> string into an XPath object.</P
4167><P
4168></P
4169><DIV
4170CLASS="INFORMALTABLE"
4171><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00004172NAME="AEN13285"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004173></A
4174><P
4175></P
4176><TABLE
4177BORDER="0"
4178WIDTH="100%"
4179BGCOLOR="#FFD0D0"
4180CELLSPACING="0"
4181CELLPADDING="4"
4182CLASS="CALSTABLE"
4183><TBODY
4184><TR
4185><TD
4186WIDTH="20%"
4187ALIGN="RIGHT"
4188VALIGN="TOP"
4189><TT
4190CLASS="PARAMETER"
4191><I
4192>val</I
4193></TT
4194>&nbsp;:</TD
4195><TD
4196WIDTH="80%"
4197ALIGN="LEFT"
4198VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00004199>&nbsp;</TD
Daniel Veillardbed7b052001-05-19 14:59:49 +00004200></TR
4201><TR
4202><TD
4203WIDTH="20%"
4204ALIGN="RIGHT"
4205VALIGN="TOP"
4206><I
4207CLASS="EMPHASIS"
4208>Returns</I
4209> :</TD
4210><TD
4211WIDTH="80%"
4212ALIGN="LEFT"
4213VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00004214>&nbsp;</TD
Daniel Veillardbed7b052001-05-19 14:59:49 +00004215></TR
4216></TBODY
4217></TABLE
4218><P
4219></P
4220></DIV
4221></DIV
4222><HR><DIV
4223CLASS="REFSECT2"
4224><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00004225NAME="AEN13298"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004226></A
4227><H3
4228><A
4229NAME="XMLXPATHWRAPCSTRING"
4230></A
4231>xmlXPathWrapCString ()</H3
4232><TABLE
4233BORDER="0"
4234BGCOLOR="#D6E8FF"
4235WIDTH="100%"
4236CELLPADDING="6"
4237><TR
4238><TD
4239><PRE
4240CLASS="PROGRAMLISTING"
4241><A
4242HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
4243>xmlXPathObjectPtr</A
4244> xmlXPathWrapCString (char *val);</PRE
4245></TD
4246></TR
4247></TABLE
4248><P
4249>Wraps a string into an XPath object.</P
4250><P
4251></P
4252><DIV
4253CLASS="INFORMALTABLE"
4254><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00004255NAME="AEN13305"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004256></A
4257><P
4258></P
4259><TABLE
4260BORDER="0"
4261WIDTH="100%"
4262BGCOLOR="#FFD0D0"
4263CELLSPACING="0"
4264CELLPADDING="4"
4265CLASS="CALSTABLE"
4266><TBODY
4267><TR
4268><TD
4269WIDTH="20%"
4270ALIGN="RIGHT"
4271VALIGN="TOP"
4272><TT
4273CLASS="PARAMETER"
4274><I
4275>val</I
4276></TT
4277>&nbsp;:</TD
4278><TD
4279WIDTH="80%"
4280ALIGN="LEFT"
4281VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00004282>&nbsp;</TD
Daniel Veillardbed7b052001-05-19 14:59:49 +00004283></TR
4284><TR
4285><TD
4286WIDTH="20%"
4287ALIGN="RIGHT"
4288VALIGN="TOP"
4289><I
4290CLASS="EMPHASIS"
4291>Returns</I
4292> :</TD
4293><TD
4294WIDTH="80%"
4295ALIGN="LEFT"
4296VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00004297>&nbsp;</TD
Daniel Veillardbed7b052001-05-19 14:59:49 +00004298></TR
4299></TBODY
4300></TABLE
4301><P
4302></P
4303></DIV
4304></DIV
4305><HR><DIV
4306CLASS="REFSECT2"
4307><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00004308NAME="AEN13318"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004309></A
4310><H3
4311><A
4312NAME="XMLXPATHNEWFLOAT"
4313></A
4314>xmlXPathNewFloat ()</H3
4315><TABLE
4316BORDER="0"
4317BGCOLOR="#D6E8FF"
4318WIDTH="100%"
4319CELLPADDING="6"
4320><TR
4321><TD
4322><PRE
4323CLASS="PROGRAMLISTING"
4324><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004325HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004326>xmlXPathObjectPtr</A
4327> xmlXPathNewFloat (<GTKDOCLINK
4328HREF="DOUBLE"
4329>double</GTKDOCLINK
4330> val);</PRE
4331></TD
4332></TR
4333></TABLE
4334><P
4335>Create a new xmlXPathObjectPtr of type double and of value <TT
4336CLASS="PARAMETER"
4337><I
4338>val</I
4339></TT
4340></P
4341><P
4342></P
4343><DIV
4344CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004345><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00004346NAME="AEN13327"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004347></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00004348><P
4349></P
4350><TABLE
4351BORDER="0"
4352WIDTH="100%"
4353BGCOLOR="#FFD0D0"
4354CELLSPACING="0"
4355CELLPADDING="4"
4356CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004357><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00004358><TR
4359><TD
4360WIDTH="20%"
4361ALIGN="RIGHT"
4362VALIGN="TOP"
4363><TT
4364CLASS="PARAMETER"
4365><I
4366>val</I
4367></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004368>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004369><TD
4370WIDTH="80%"
4371ALIGN="LEFT"
4372VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00004373>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004374></TR
4375><TR
4376><TD
4377WIDTH="20%"
4378ALIGN="RIGHT"
4379VALIGN="TOP"
4380><I
4381CLASS="EMPHASIS"
4382>Returns</I
4383> :</TD
4384><TD
4385WIDTH="80%"
4386ALIGN="LEFT"
4387VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00004388>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004389></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004390></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00004391></TABLE
4392><P
4393></P
4394></DIV
4395></DIV
4396><HR><DIV
4397CLASS="REFSECT2"
4398><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00004399NAME="AEN13340"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004400></A
4401><H3
4402><A
4403NAME="XMLXPATHNEWBOOLEAN"
4404></A
4405>xmlXPathNewBoolean ()</H3
4406><TABLE
4407BORDER="0"
4408BGCOLOR="#D6E8FF"
4409WIDTH="100%"
4410CELLPADDING="6"
4411><TR
4412><TD
4413><PRE
4414CLASS="PROGRAMLISTING"
4415><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004416HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004417>xmlXPathObjectPtr</A
4418> xmlXPathNewBoolean (int val);</PRE
4419></TD
4420></TR
4421></TABLE
4422><P
4423>Create a new xmlXPathObjectPtr of type boolean and of value <TT
4424CLASS="PARAMETER"
4425><I
4426>val</I
4427></TT
4428></P
4429><P
4430></P
4431><DIV
4432CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004433><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00004434NAME="AEN13348"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004435></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00004436><P
4437></P
4438><TABLE
4439BORDER="0"
4440WIDTH="100%"
4441BGCOLOR="#FFD0D0"
4442CELLSPACING="0"
4443CELLPADDING="4"
4444CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004445><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00004446><TR
4447><TD
4448WIDTH="20%"
4449ALIGN="RIGHT"
4450VALIGN="TOP"
4451><TT
4452CLASS="PARAMETER"
4453><I
4454>val</I
4455></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004456>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004457><TD
4458WIDTH="80%"
4459ALIGN="LEFT"
4460VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00004461>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004462></TR
4463><TR
4464><TD
4465WIDTH="20%"
4466ALIGN="RIGHT"
4467VALIGN="TOP"
4468><I
4469CLASS="EMPHASIS"
4470>Returns</I
4471> :</TD
4472><TD
4473WIDTH="80%"
4474ALIGN="LEFT"
4475VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00004476>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004477></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004478></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00004479></TABLE
4480><P
4481></P
4482></DIV
4483></DIV
4484><HR><DIV
4485CLASS="REFSECT2"
4486><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00004487NAME="AEN13361"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004488></A
4489><H3
4490><A
4491NAME="XMLXPATHNEWNODESET"
4492></A
4493>xmlXPathNewNodeSet ()</H3
4494><TABLE
4495BORDER="0"
4496BGCOLOR="#D6E8FF"
4497WIDTH="100%"
4498CELLPADDING="6"
4499><TR
4500><TD
4501><PRE
4502CLASS="PROGRAMLISTING"
4503><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004504HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004505>xmlXPathObjectPtr</A
4506> xmlXPathNewNodeSet (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004507HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004508>xmlNodePtr</A
4509> val);</PRE
4510></TD
4511></TR
4512></TABLE
4513><P
4514>Create a new xmlXPathObjectPtr of type NodeSet and initialize
4515it with the single Node <TT
4516CLASS="PARAMETER"
4517><I
4518>val</I
4519></TT
4520></P
4521><P
4522></P
4523><DIV
4524CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004525><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00004526NAME="AEN13370"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004527></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00004528><P
4529></P
4530><TABLE
4531BORDER="0"
4532WIDTH="100%"
4533BGCOLOR="#FFD0D0"
4534CELLSPACING="0"
4535CELLPADDING="4"
4536CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004537><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00004538><TR
4539><TD
4540WIDTH="20%"
4541ALIGN="RIGHT"
4542VALIGN="TOP"
4543><TT
4544CLASS="PARAMETER"
4545><I
4546>val</I
4547></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004548>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004549><TD
4550WIDTH="80%"
4551ALIGN="LEFT"
4552VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00004553>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004554></TR
4555><TR
4556><TD
4557WIDTH="20%"
4558ALIGN="RIGHT"
4559VALIGN="TOP"
4560><I
4561CLASS="EMPHASIS"
4562>Returns</I
4563> :</TD
4564><TD
4565WIDTH="80%"
4566ALIGN="LEFT"
4567VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00004568>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004569></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004570></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00004571></TABLE
4572><P
4573></P
4574></DIV
4575></DIV
4576><HR><DIV
4577CLASS="REFSECT2"
4578><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00004579NAME="AEN13383"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004580></A
4581><H3
4582><A
4583NAME="XMLXPATHNEWVALUETREE"
4584></A
4585>xmlXPathNewValueTree ()</H3
4586><TABLE
4587BORDER="0"
4588BGCOLOR="#D6E8FF"
4589WIDTH="100%"
4590CELLPADDING="6"
4591><TR
4592><TD
4593><PRE
4594CLASS="PROGRAMLISTING"
4595><A
4596HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
4597>xmlXPathObjectPtr</A
4598> xmlXPathNewValueTree (<A
4599HREF="libxml-tree.html#XMLNODEPTR"
4600>xmlNodePtr</A
4601> val);</PRE
4602></TD
4603></TR
4604></TABLE
4605><P
4606>Create a new xmlXPathObjectPtr of type Value Tree (XSLT) and initialize
4607it with the tree root <TT
4608CLASS="PARAMETER"
4609><I
4610>val</I
4611></TT
4612></P
4613><P
4614></P
4615><DIV
4616CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004617><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00004618NAME="AEN13392"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004619></A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004620><P
4621></P
4622><TABLE
4623BORDER="0"
4624WIDTH="100%"
4625BGCOLOR="#FFD0D0"
4626CELLSPACING="0"
4627CELLPADDING="4"
4628CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004629><TBODY
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004630><TR
4631><TD
4632WIDTH="20%"
4633ALIGN="RIGHT"
4634VALIGN="TOP"
4635><TT
4636CLASS="PARAMETER"
4637><I
4638>val</I
4639></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004640>&nbsp;:</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004641><TD
4642WIDTH="80%"
4643ALIGN="LEFT"
4644VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00004645>&nbsp;</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004646></TR
4647><TR
4648><TD
4649WIDTH="20%"
4650ALIGN="RIGHT"
4651VALIGN="TOP"
4652><I
4653CLASS="EMPHASIS"
4654>Returns</I
4655> :</TD
4656><TD
4657WIDTH="80%"
4658ALIGN="LEFT"
4659VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00004660>&nbsp;</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004661></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004662></TBODY
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004663></TABLE
4664><P
4665></P
4666></DIV
4667></DIV
4668><HR><DIV
4669CLASS="REFSECT2"
4670><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00004671NAME="AEN13405"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004672></A
4673><H3
4674><A
4675NAME="XMLXPATHNODESETADD"
4676></A
4677>xmlXPathNodeSetAdd ()</H3
4678><TABLE
4679BORDER="0"
4680BGCOLOR="#D6E8FF"
4681WIDTH="100%"
4682CELLPADDING="6"
4683><TR
4684><TD
4685><PRE
4686CLASS="PROGRAMLISTING"
4687>void xmlXPathNodeSetAdd (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004688HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004689>xmlNodeSetPtr</A
4690> cur,
4691 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004692HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004693>xmlNodePtr</A
4694> val);</PRE
4695></TD
4696></TR
4697></TABLE
4698><P
4699>add a new xmlNodePtr ot an existing NodeSet</P
4700><P
4701></P
4702><DIV
4703CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004704><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00004705NAME="AEN13413"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004706></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00004707><P
4708></P
4709><TABLE
4710BORDER="0"
4711WIDTH="100%"
4712BGCOLOR="#FFD0D0"
4713CELLSPACING="0"
4714CELLPADDING="4"
4715CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004716><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00004717><TR
4718><TD
4719WIDTH="20%"
4720ALIGN="RIGHT"
4721VALIGN="TOP"
4722><TT
4723CLASS="PARAMETER"
4724><I
4725>cur</I
4726></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004727>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004728><TD
4729WIDTH="80%"
4730ALIGN="LEFT"
4731VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00004732>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004733></TR
4734><TR
4735><TD
4736WIDTH="20%"
4737ALIGN="RIGHT"
4738VALIGN="TOP"
4739><TT
4740CLASS="PARAMETER"
4741><I
4742>val</I
4743></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004744>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004745><TD
4746WIDTH="80%"
4747ALIGN="LEFT"
4748VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00004749>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004750></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004751></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00004752></TABLE
4753><P
4754></P
4755></DIV
4756></DIV
4757><HR><DIV
4758CLASS="REFSECT2"
4759><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00004760NAME="AEN13426"
Daniel Veillarda41123c2001-04-22 19:31:20 +00004761></A
4762><H3
4763><A
4764NAME="XMLXPATHNODESETADDUNIQUE"
4765></A
4766>xmlXPathNodeSetAddUnique ()</H3
4767><TABLE
4768BORDER="0"
4769BGCOLOR="#D6E8FF"
4770WIDTH="100%"
4771CELLPADDING="6"
4772><TR
4773><TD
4774><PRE
4775CLASS="PROGRAMLISTING"
4776>void xmlXPathNodeSetAddUnique (<A
4777HREF="libxml-xpath.html#XMLNODESETPTR"
4778>xmlNodeSetPtr</A
4779> cur,
4780 <A
4781HREF="libxml-tree.html#XMLNODEPTR"
4782>xmlNodePtr</A
4783> val);</PRE
4784></TD
4785></TR
4786></TABLE
4787><P
4788>add a new xmlNodePtr ot an existing NodeSet, optimized version
4789when we are sure the node is not already in the set.</P
4790><P
4791></P
4792><DIV
4793CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004794><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00004795NAME="AEN13434"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004796></A
Daniel Veillarda41123c2001-04-22 19:31:20 +00004797><P
4798></P
4799><TABLE
4800BORDER="0"
4801WIDTH="100%"
4802BGCOLOR="#FFD0D0"
4803CELLSPACING="0"
4804CELLPADDING="4"
4805CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004806><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00004807><TR
4808><TD
4809WIDTH="20%"
4810ALIGN="RIGHT"
4811VALIGN="TOP"
4812><TT
4813CLASS="PARAMETER"
4814><I
4815>cur</I
4816></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004817>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00004818><TD
4819WIDTH="80%"
4820ALIGN="LEFT"
4821VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00004822>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00004823></TR
4824><TR
4825><TD
4826WIDTH="20%"
4827ALIGN="RIGHT"
4828VALIGN="TOP"
4829><TT
4830CLASS="PARAMETER"
4831><I
4832>val</I
4833></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004834>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00004835><TD
4836WIDTH="80%"
4837ALIGN="LEFT"
4838VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00004839>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00004840></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004841></TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00004842></TABLE
4843><P
4844></P
4845></DIV
4846></DIV
4847><HR><DIV
4848CLASS="REFSECT2"
4849><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00004850NAME="AEN13447"
Daniel Veillarda41123c2001-04-22 19:31:20 +00004851></A
4852><H3
4853><A
4854NAME="XMLXPATHNODESETSORT"
4855></A
4856>xmlXPathNodeSetSort ()</H3
4857><TABLE
4858BORDER="0"
4859BGCOLOR="#D6E8FF"
4860WIDTH="100%"
4861CELLPADDING="6"
4862><TR
4863><TD
4864><PRE
4865CLASS="PROGRAMLISTING"
4866>void xmlXPathNodeSetSort (<A
4867HREF="libxml-xpath.html#XMLNODESETPTR"
4868>xmlNodeSetPtr</A
4869> set);</PRE
4870></TD
4871></TR
4872></TABLE
4873><P
4874>Sort the node set in document order</P
4875><P
4876></P
4877><DIV
4878CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004879><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00004880NAME="AEN13454"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004881></A
Daniel Veillarda41123c2001-04-22 19:31:20 +00004882><P
4883></P
4884><TABLE
4885BORDER="0"
4886WIDTH="100%"
4887BGCOLOR="#FFD0D0"
4888CELLSPACING="0"
4889CELLPADDING="4"
4890CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004891><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00004892><TR
4893><TD
4894WIDTH="20%"
4895ALIGN="RIGHT"
4896VALIGN="TOP"
4897><TT
4898CLASS="PARAMETER"
4899><I
4900>set</I
4901></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004902>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00004903><TD
4904WIDTH="80%"
4905ALIGN="LEFT"
4906VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00004907>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00004908></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004909></TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00004910></TABLE
4911><P
4912></P
4913></DIV
4914></DIV
4915><HR><DIV
4916CLASS="REFSECT2"
4917><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00004918NAME="AEN13463"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004919></A
4920><H3
4921><A
4922NAME="XMLXPATHIDFUNCTION"
4923></A
4924>xmlXPathIdFunction ()</H3
4925><TABLE
4926BORDER="0"
4927BGCOLOR="#D6E8FF"
4928WIDTH="100%"
4929CELLPADDING="6"
4930><TR
4931><TD
4932><PRE
4933CLASS="PROGRAMLISTING"
4934>void xmlXPathIdFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004935HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00004936>xmlXPathParserContextPtr</A
4937> ctxt,
4938 int nargs);</PRE
4939></TD
4940></TR
4941></TABLE
4942><P
4943>Implement the <GTKDOCLINK
4944HREF="ID"
4945>id</GTKDOCLINK
4946>() XPath function
4947node-set id(object)
4948The id function selects elements by their unique ID
4949(see [5.2.1 Unique IDs]). When the argument to id is of type node-set,
4950then the result is the union of the result of applying id to the
4951string value of each of the nodes in the argument node-set. When the
4952argument to id is of any other type, the argument is converted to a
4953string as if by a call to the string function; the string is split
4954into a whitespace-separated list of tokens (whitespace is any sequence
4955of characters matching the production S); the result is a node-set
4956containing the elements in the same document as the context node that
4957have a unique ID equal to any of the tokens in the list.</P
4958><P
4959></P
4960><DIV
4961CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004962><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00004963NAME="AEN13471"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004964></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00004965><P
4966></P
4967><TABLE
4968BORDER="0"
4969WIDTH="100%"
4970BGCOLOR="#FFD0D0"
4971CELLSPACING="0"
4972CELLPADDING="4"
4973CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004974><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00004975><TR
4976><TD
4977WIDTH="20%"
4978ALIGN="RIGHT"
4979VALIGN="TOP"
4980><TT
4981CLASS="PARAMETER"
4982><I
4983>ctxt</I
4984></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004985>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004986><TD
4987WIDTH="80%"
4988ALIGN="LEFT"
4989VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00004990>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00004991></TR
4992><TR
4993><TD
4994WIDTH="20%"
4995ALIGN="RIGHT"
4996VALIGN="TOP"
4997><TT
4998CLASS="PARAMETER"
4999><I
5000>nargs</I
5001></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005002>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005003><TD
5004WIDTH="80%"
5005ALIGN="LEFT"
5006VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00005007>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005008></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005009></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00005010></TABLE
5011><P
5012></P
5013></DIV
5014></DIV
5015><HR><DIV
5016CLASS="REFSECT2"
5017><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00005018NAME="AEN13484"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005019></A
5020><H3
5021><A
5022NAME="XMLXPATHROOT"
5023></A
5024>xmlXPathRoot ()</H3
5025><TABLE
5026BORDER="0"
5027BGCOLOR="#D6E8FF"
5028WIDTH="100%"
5029CELLPADDING="6"
5030><TR
5031><TD
5032><PRE
5033CLASS="PROGRAMLISTING"
5034>void xmlXPathRoot (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005035HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005036>xmlXPathParserContextPtr</A
5037> ctxt);</PRE
5038></TD
5039></TR
5040></TABLE
5041><P
5042>Initialize the context to the root of the document</P
5043><P
5044></P
5045><DIV
5046CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005047><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00005048NAME="AEN13491"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005049></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00005050><P
5051></P
5052><TABLE
5053BORDER="0"
5054WIDTH="100%"
5055BGCOLOR="#FFD0D0"
5056CELLSPACING="0"
5057CELLPADDING="4"
5058CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005059><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00005060><TR
5061><TD
5062WIDTH="20%"
5063ALIGN="RIGHT"
5064VALIGN="TOP"
5065><TT
5066CLASS="PARAMETER"
5067><I
5068>ctxt</I
5069></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005070>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005071><TD
5072WIDTH="80%"
5073ALIGN="LEFT"
5074VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00005075>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005076></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005077></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00005078></TABLE
5079><P
5080></P
5081></DIV
5082></DIV
5083><HR><DIV
5084CLASS="REFSECT2"
5085><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00005086NAME="AEN13500"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005087></A
5088><H3
5089><A
5090NAME="XMLXPATHEVALEXPR"
5091></A
5092>xmlXPathEvalExpr ()</H3
5093><TABLE
5094BORDER="0"
5095BGCOLOR="#D6E8FF"
5096WIDTH="100%"
5097CELLPADDING="6"
5098><TR
5099><TD
5100><PRE
5101CLASS="PROGRAMLISTING"
5102>void xmlXPathEvalExpr (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005103HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005104>xmlXPathParserContextPtr</A
5105> ctxt);</PRE
5106></TD
5107></TR
5108></TABLE
5109><P
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00005110>Parse and evaluate an XPath expression in the given context,
5111then push the result on the context stack</P
Daniel Veillard9753ad72000-11-13 19:12:23 +00005112><P
5113></P
5114><DIV
5115CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005116><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00005117NAME="AEN13507"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005118></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00005119><P
5120></P
5121><TABLE
5122BORDER="0"
5123WIDTH="100%"
5124BGCOLOR="#FFD0D0"
5125CELLSPACING="0"
5126CELLPADDING="4"
5127CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005128><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00005129><TR
5130><TD
5131WIDTH="20%"
5132ALIGN="RIGHT"
5133VALIGN="TOP"
5134><TT
5135CLASS="PARAMETER"
5136><I
5137>ctxt</I
5138></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005139>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005140><TD
5141WIDTH="80%"
5142ALIGN="LEFT"
5143VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00005144>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005145></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005146></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00005147></TABLE
5148><P
5149></P
5150></DIV
5151></DIV
5152><HR><DIV
5153CLASS="REFSECT2"
5154><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00005155NAME="AEN13516"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005156></A
5157><H3
5158><A
5159NAME="XMLXPATHPARSENAME"
5160></A
5161>xmlXPathParseName ()</H3
5162><TABLE
5163BORDER="0"
5164BGCOLOR="#D6E8FF"
5165WIDTH="100%"
5166CELLPADDING="6"
5167><TR
5168><TD
5169><PRE
5170CLASS="PROGRAMLISTING"
5171><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005172HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005173>xmlChar</A
5174>* xmlXPathParseName (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005175HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005176>xmlXPathParserContextPtr</A
5177> ctxt);</PRE
5178></TD
5179></TR
5180></TABLE
5181><P
5182>parse an XML name</P
5183><P
5184>[4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' |
5185CombiningChar | Extender</P
5186><P
5187>[5] Name ::= (Letter | '_' | ':') (NameChar)*</P
5188><P
5189></P
5190><DIV
5191CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005192><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00005193NAME="AEN13526"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005194></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00005195><P
5196></P
5197><TABLE
5198BORDER="0"
5199WIDTH="100%"
5200BGCOLOR="#FFD0D0"
5201CELLSPACING="0"
5202CELLPADDING="4"
5203CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005204><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00005205><TR
5206><TD
5207WIDTH="20%"
5208ALIGN="RIGHT"
5209VALIGN="TOP"
5210><TT
5211CLASS="PARAMETER"
5212><I
5213>ctxt</I
5214></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005215>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005216><TD
5217WIDTH="80%"
5218ALIGN="LEFT"
5219VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00005220>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005221></TR
5222><TR
5223><TD
5224WIDTH="20%"
5225ALIGN="RIGHT"
5226VALIGN="TOP"
5227><I
5228CLASS="EMPHASIS"
5229>Returns</I
5230> :</TD
5231><TD
5232WIDTH="80%"
5233ALIGN="LEFT"
5234VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00005235>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005236></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005237></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00005238></TABLE
5239><P
5240></P
5241></DIV
5242></DIV
5243><HR><DIV
5244CLASS="REFSECT2"
5245><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00005246NAME="AEN13539"
Daniel Veillard503b8932001-01-05 06:36:31 +00005247></A
5248><H3
5249><A
5250NAME="XMLXPATHPARSENCNAME"
5251></A
5252>xmlXPathParseNCName ()</H3
5253><TABLE
5254BORDER="0"
5255BGCOLOR="#D6E8FF"
5256WIDTH="100%"
5257CELLPADDING="6"
5258><TR
5259><TD
5260><PRE
5261CLASS="PROGRAMLISTING"
5262><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005263HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard503b8932001-01-05 06:36:31 +00005264>xmlChar</A
5265>* xmlXPathParseNCName (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005266HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard503b8932001-01-05 06:36:31 +00005267>xmlXPathParserContextPtr</A
5268> ctxt);</PRE
5269></TD
5270></TR
5271></TABLE
5272><P
5273>parse an XML namespace non qualified name.</P
5274><P
5275>[NS 3] NCName ::= (Letter | '_') (NCNameChar)*</P
5276><P
5277>[NS 4] NCNameChar ::= Letter | Digit | '.' | '-' | '_' |
5278CombiningChar | Extender</P
5279><P
5280></P
5281><DIV
5282CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005283><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00005284NAME="AEN13549"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005285></A
Daniel Veillard503b8932001-01-05 06:36:31 +00005286><P
5287></P
5288><TABLE
5289BORDER="0"
5290WIDTH="100%"
5291BGCOLOR="#FFD0D0"
5292CELLSPACING="0"
5293CELLPADDING="4"
5294CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005295><TBODY
Daniel Veillard503b8932001-01-05 06:36:31 +00005296><TR
5297><TD
5298WIDTH="20%"
5299ALIGN="RIGHT"
5300VALIGN="TOP"
5301><TT
5302CLASS="PARAMETER"
5303><I
5304>ctxt</I
5305></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005306>&nbsp;:</TD
Daniel Veillard503b8932001-01-05 06:36:31 +00005307><TD
5308WIDTH="80%"
5309ALIGN="LEFT"
5310VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00005311>&nbsp;</TD
Daniel Veillard503b8932001-01-05 06:36:31 +00005312></TR
5313><TR
5314><TD
5315WIDTH="20%"
5316ALIGN="RIGHT"
5317VALIGN="TOP"
5318><I
5319CLASS="EMPHASIS"
5320>Returns</I
5321> :</TD
5322><TD
5323WIDTH="80%"
5324ALIGN="LEFT"
5325VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00005326>&nbsp;</TD
Daniel Veillard503b8932001-01-05 06:36:31 +00005327></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005328></TBODY
Daniel Veillard503b8932001-01-05 06:36:31 +00005329></TABLE
5330><P
5331></P
5332></DIV
5333></DIV
5334><HR><DIV
5335CLASS="REFSECT2"
5336><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00005337NAME="AEN13562"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005338></A
5339><H3
5340><A
5341NAME="XMLXPATHSTRINGEVALNUMBER"
5342></A
5343>xmlXPathStringEvalNumber ()</H3
5344><TABLE
5345BORDER="0"
5346BGCOLOR="#D6E8FF"
5347WIDTH="100%"
5348CELLPADDING="6"
5349><TR
5350><TD
5351><PRE
5352CLASS="PROGRAMLISTING"
5353><GTKDOCLINK
5354HREF="DOUBLE"
5355>double</GTKDOCLINK
5356> xmlXPathStringEvalNumber (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005357HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005358>xmlChar</A
5359> *str);</PRE
5360></TD
5361></TR
5362></TABLE
5363><P
Daniel Veillarda41123c2001-04-22 19:31:20 +00005364>[30a] Float ::= Number ('e' Digits?)?</P
5365><P
Daniel Veillard9753ad72000-11-13 19:12:23 +00005366>[30] Number ::= Digits ('.' Digits?)?
5367| '.' Digits
5368[31] Digits ::= [0-9]+</P
5369><P
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00005370>Compile a Number in the string
Daniel Veillard9753ad72000-11-13 19:12:23 +00005371In complement of the Number expression, this function also handles
5372negative values : '-' Number.</P
5373><P
5374></P
5375><DIV
5376CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005377><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00005378NAME="AEN13572"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005379></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00005380><P
5381></P
5382><TABLE
5383BORDER="0"
5384WIDTH="100%"
5385BGCOLOR="#FFD0D0"
5386CELLSPACING="0"
5387CELLPADDING="4"
5388CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005389><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00005390><TR
5391><TD
5392WIDTH="20%"
5393ALIGN="RIGHT"
5394VALIGN="TOP"
5395><TT
5396CLASS="PARAMETER"
5397><I
5398>str</I
5399></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005400>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005401><TD
5402WIDTH="80%"
5403ALIGN="LEFT"
5404VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00005405>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005406></TR
5407><TR
5408><TD
5409WIDTH="20%"
5410ALIGN="RIGHT"
5411VALIGN="TOP"
5412><I
5413CLASS="EMPHASIS"
5414>Returns</I
5415> :</TD
5416><TD
5417WIDTH="80%"
5418ALIGN="LEFT"
5419VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00005420>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005421></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005422></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00005423></TABLE
5424><P
5425></P
5426></DIV
5427></DIV
5428><HR><DIV
5429CLASS="REFSECT2"
5430><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00005431NAME="AEN13585"
Daniel Veillarda1fe9102000-11-25 10:49:25 +00005432></A
5433><H3
5434><A
5435NAME="XMLXPATHEVALUATEPREDICATERESULT"
5436></A
5437>xmlXPathEvaluatePredicateResult ()</H3
5438><TABLE
5439BORDER="0"
5440BGCOLOR="#D6E8FF"
5441WIDTH="100%"
5442CELLPADDING="6"
5443><TR
5444><TD
5445><PRE
5446CLASS="PROGRAMLISTING"
5447>int xmlXPathEvaluatePredicateResult (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005448HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +00005449>xmlXPathParserContextPtr</A
5450> ctxt,
5451 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005452HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +00005453>xmlXPathObjectPtr</A
5454> res);</PRE
5455></TD
5456></TR
5457></TABLE
5458><P
5459>Evaluate a predicate result for the current node.
5460A PredicateExpr is evaluated by evaluating the Expr and converting
5461the result to a boolean. If the result is a number, the result will
5462be converted to true if the number is equal to the position of the
5463context node in the context node list (as returned by the position
5464function) and will be converted to false otherwise; if the result
5465is not a number, then the result will be converted as if by a call
Daniel Veillardd194dd22001-02-14 10:37:43 +00005466to the boolean function. </P
5467><P
5468>Return 1 if predicate is true, 0 otherwise</P
Daniel Veillarda1fe9102000-11-25 10:49:25 +00005469><P
5470></P
5471><DIV
5472CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005473><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00005474NAME="AEN13594"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005475></A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00005476><P
5477></P
5478><TABLE
5479BORDER="0"
5480WIDTH="100%"
5481BGCOLOR="#FFD0D0"
5482CELLSPACING="0"
5483CELLPADDING="4"
5484CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005485><TBODY
Daniel Veillarda1fe9102000-11-25 10:49:25 +00005486><TR
5487><TD
5488WIDTH="20%"
5489ALIGN="RIGHT"
5490VALIGN="TOP"
5491><TT
5492CLASS="PARAMETER"
5493><I
5494>ctxt</I
5495></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005496>&nbsp;:</TD
Daniel Veillarda1fe9102000-11-25 10:49:25 +00005497><TD
5498WIDTH="80%"
5499ALIGN="LEFT"
5500VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00005501>&nbsp;</TD
Daniel Veillarda1fe9102000-11-25 10:49:25 +00005502></TR
5503><TR
5504><TD
5505WIDTH="20%"
5506ALIGN="RIGHT"
5507VALIGN="TOP"
5508><TT
5509CLASS="PARAMETER"
5510><I
5511>res</I
5512></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005513>&nbsp;:</TD
Daniel Veillarda1fe9102000-11-25 10:49:25 +00005514><TD
5515WIDTH="80%"
5516ALIGN="LEFT"
5517VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00005518>&nbsp;</TD
Daniel Veillarda1fe9102000-11-25 10:49:25 +00005519></TR
5520><TR
5521><TD
5522WIDTH="20%"
5523ALIGN="RIGHT"
5524VALIGN="TOP"
5525><I
5526CLASS="EMPHASIS"
5527>Returns</I
5528> :</TD
5529><TD
5530WIDTH="80%"
5531ALIGN="LEFT"
5532VALIGN="TOP"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005533>&nbsp;</TD
Daniel Veillarda1fe9102000-11-25 10:49:25 +00005534></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005535></TBODY
Daniel Veillarda1fe9102000-11-25 10:49:25 +00005536></TABLE
5537><P
5538></P
5539></DIV
5540></DIV
5541><HR><DIV
5542CLASS="REFSECT2"
5543><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00005544NAME="AEN13611"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005545></A
5546><H3
5547><A
5548NAME="XMLXPATHINIT"
5549></A
5550>xmlXPathInit ()</H3
5551><TABLE
5552BORDER="0"
5553BGCOLOR="#D6E8FF"
5554WIDTH="100%"
5555CELLPADDING="6"
5556><TR
5557><TD
5558><PRE
5559CLASS="PROGRAMLISTING"
5560>void xmlXPathInit (void);</PRE
5561></TD
5562></TR
5563></TABLE
5564><P
5565>Initialize the XPath environment</P
5566><P
5567></P
5568></DIV
5569><HR><DIV
5570CLASS="REFSECT2"
5571><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00005572NAME="AEN13617"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005573></A
5574><H3
5575><A
5576NAME="XMLXPATHSTRINGFUNCTION"
5577></A
5578>xmlXPathStringFunction ()</H3
5579><TABLE
5580BORDER="0"
5581BGCOLOR="#D6E8FF"
5582WIDTH="100%"
5583CELLPADDING="6"
5584><TR
5585><TD
5586><PRE
5587CLASS="PROGRAMLISTING"
5588>void xmlXPathStringFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005589HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005590>xmlXPathParserContextPtr</A
5591> ctxt,
5592 int nargs);</PRE
5593></TD
5594></TR
5595></TABLE
5596><P
5597>Implement the <GTKDOCLINK
5598HREF="STRING"
5599>string</GTKDOCLINK
5600>() XPath function
5601string string(object?)
5602he string function converts an object to a string as follows:
5603- A node-set is converted to a string by returning the value of
5604the node in the node-set that is first in document order.
5605If the node-set is empty, an empty string is returned.
5606- A number is converted to a string as follows
5607+ NaN is converted to the string NaN
5608+ positive zero is converted to the string 0
5609+ negative zero is converted to the string 0
5610+ positive infinity is converted to the string Infinity
5611+ negative infinity is converted to the string -Infinity
5612+ if the number is an integer, the number is represented in
5613decimal form as a Number with no decimal point and no leading
5614zeros, preceded by a minus sign (-) if the number is negative
5615+ otherwise, the number is represented in decimal form as a
5616Number including a decimal point with at least one digit
5617before the decimal point and at least one digit after the
5618decimal point, preceded by a minus sign (-) if the number
5619is negative; there must be no leading zeros before the decimal
5620point apart possibly from the one required digit immediatelyi
5621before the decimal point; beyond the one required digit
5622after the decimal point there must be as many, but only as
5623many, more digits as are needed to uniquely distinguish the
5624number from all other IEEE 754 numeric values.
5625- The boolean false value is converted to the string false.
5626The boolean true value is converted to the string true.</P
5627><P
5628>If the argument is omitted, it defaults to a node-set with the
5629context node as its only member.</P
5630><P
5631></P
5632><DIV
5633CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005634><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00005635NAME="AEN13626"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005636></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00005637><P
5638></P
5639><TABLE
5640BORDER="0"
5641WIDTH="100%"
5642BGCOLOR="#FFD0D0"
5643CELLSPACING="0"
5644CELLPADDING="4"
5645CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005646><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00005647><TR
5648><TD
5649WIDTH="20%"
5650ALIGN="RIGHT"
5651VALIGN="TOP"
5652><TT
5653CLASS="PARAMETER"
5654><I
5655>ctxt</I
5656></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005657>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005658><TD
5659WIDTH="80%"
5660ALIGN="LEFT"
5661VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00005662>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005663></TR
5664><TR
5665><TD
5666WIDTH="20%"
5667ALIGN="RIGHT"
5668VALIGN="TOP"
5669><TT
5670CLASS="PARAMETER"
5671><I
5672>nargs</I
5673></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005674>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005675><TD
5676WIDTH="80%"
5677ALIGN="LEFT"
5678VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00005679>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005680></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005681></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00005682></TABLE
5683><P
5684></P
5685></DIV
5686></DIV
5687><HR><DIV
5688CLASS="REFSECT2"
5689><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00005690NAME="AEN13639"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005691></A
5692><H3
5693><A
5694NAME="XMLXPATHREGISTERALLFUNCTIONS"
5695></A
5696>xmlXPathRegisterAllFunctions ()</H3
5697><TABLE
5698BORDER="0"
5699BGCOLOR="#D6E8FF"
5700WIDTH="100%"
5701CELLPADDING="6"
5702><TR
5703><TD
5704><PRE
5705CLASS="PROGRAMLISTING"
5706>void xmlXPathRegisterAllFunctions (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005707HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005708>xmlXPathContextPtr</A
5709> ctxt);</PRE
5710></TD
5711></TR
5712></TABLE
5713><P
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005714>Registers all default XPath functions in this context</P
5715><P
Daniel Veillard9753ad72000-11-13 19:12:23 +00005716></P
5717><DIV
5718CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005719><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00005720NAME="AEN13646"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005721></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00005722><P
5723></P
5724><TABLE
5725BORDER="0"
5726WIDTH="100%"
5727BGCOLOR="#FFD0D0"
5728CELLSPACING="0"
5729CELLPADDING="4"
5730CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005731><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00005732><TR
5733><TD
5734WIDTH="20%"
5735ALIGN="RIGHT"
5736VALIGN="TOP"
5737><TT
5738CLASS="PARAMETER"
5739><I
5740>ctxt</I
5741></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005742>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005743><TD
5744WIDTH="80%"
5745ALIGN="LEFT"
5746VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00005747>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005748></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005749></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00005750></TABLE
5751><P
5752></P
5753></DIV
5754></DIV
5755><HR><DIV
5756CLASS="REFSECT2"
5757><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00005758NAME="AEN13655"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005759></A
5760><H3
5761><A
5762NAME="XMLXPATHNODESETCREATE"
5763></A
5764>xmlXPathNodeSetCreate ()</H3
5765><TABLE
5766BORDER="0"
5767BGCOLOR="#D6E8FF"
5768WIDTH="100%"
5769CELLPADDING="6"
5770><TR
5771><TD
5772><PRE
5773CLASS="PROGRAMLISTING"
5774><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005775HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005776>xmlNodeSetPtr</A
5777> xmlXPathNodeSetCreate (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005778HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005779>xmlNodePtr</A
5780> val);</PRE
5781></TD
5782></TR
5783></TABLE
5784><P
5785>Create a new xmlNodeSetPtr of type double and of value <TT
5786CLASS="PARAMETER"
5787><I
5788>val</I
5789></TT
5790></P
5791><P
5792></P
5793><DIV
5794CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005795><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00005796NAME="AEN13664"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005797></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00005798><P
5799></P
5800><TABLE
5801BORDER="0"
5802WIDTH="100%"
5803BGCOLOR="#FFD0D0"
5804CELLSPACING="0"
5805CELLPADDING="4"
5806CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005807><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00005808><TR
5809><TD
5810WIDTH="20%"
5811ALIGN="RIGHT"
5812VALIGN="TOP"
5813><TT
5814CLASS="PARAMETER"
5815><I
5816>val</I
5817></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005818>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005819><TD
5820WIDTH="80%"
5821ALIGN="LEFT"
5822VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005823>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005824></TR
5825><TR
5826><TD
5827WIDTH="20%"
5828ALIGN="RIGHT"
5829VALIGN="TOP"
5830><I
5831CLASS="EMPHASIS"
5832>Returns</I
5833> :</TD
5834><TD
5835WIDTH="80%"
5836ALIGN="LEFT"
5837VALIGN="TOP"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005838>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005839></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005840></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00005841></TABLE
5842><P
5843></P
5844></DIV
5845></DIV
5846><HR><DIV
5847CLASS="REFSECT2"
5848><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00005849NAME="AEN13677"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005850></A
5851><H3
5852><A
5853NAME="XMLXPATHNODESETMERGE"
5854></A
5855>xmlXPathNodeSetMerge ()</H3
5856><TABLE
5857BORDER="0"
5858BGCOLOR="#D6E8FF"
5859WIDTH="100%"
5860CELLPADDING="6"
5861><TR
5862><TD
5863><PRE
5864CLASS="PROGRAMLISTING"
5865><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005866HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005867>xmlNodeSetPtr</A
5868> xmlXPathNodeSetMerge (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005869HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005870>xmlNodeSetPtr</A
5871> val1,
5872 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005873HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005874>xmlNodeSetPtr</A
5875> val2);</PRE
5876></TD
5877></TR
5878></TABLE
5879><P
5880>Merges two nodesets, all nodes from <TT
5881CLASS="PARAMETER"
5882><I
5883>val2</I
5884></TT
5885> are added to <TT
5886CLASS="PARAMETER"
5887><I
5888>val1</I
5889></TT
5890>
5891if <TT
5892CLASS="PARAMETER"
5893><I
5894>val1</I
5895></TT
5896> is NULL, a new set is created and copied from <TT
5897CLASS="PARAMETER"
5898><I
5899>val2</I
5900></TT
5901></P
5902><P
5903></P
5904><DIV
5905CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005906><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00005907NAME="AEN13690"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005908></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00005909><P
5910></P
5911><TABLE
5912BORDER="0"
5913WIDTH="100%"
5914BGCOLOR="#FFD0D0"
5915CELLSPACING="0"
5916CELLPADDING="4"
5917CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005918><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00005919><TR
5920><TD
5921WIDTH="20%"
5922ALIGN="RIGHT"
5923VALIGN="TOP"
5924><TT
5925CLASS="PARAMETER"
5926><I
5927>val1</I
5928></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005929>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005930><TD
5931WIDTH="80%"
5932ALIGN="LEFT"
5933VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00005934>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005935></TR
5936><TR
5937><TD
5938WIDTH="20%"
5939ALIGN="RIGHT"
5940VALIGN="TOP"
5941><TT
5942CLASS="PARAMETER"
5943><I
5944>val2</I
5945></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005946>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005947><TD
5948WIDTH="80%"
5949ALIGN="LEFT"
5950VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00005951>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005952></TR
5953><TR
5954><TD
5955WIDTH="20%"
5956ALIGN="RIGHT"
5957VALIGN="TOP"
5958><I
5959CLASS="EMPHASIS"
5960>Returns</I
5961> :</TD
5962><TD
5963WIDTH="80%"
5964ALIGN="LEFT"
5965VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00005966>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00005967></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005968></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00005969></TABLE
5970><P
5971></P
5972></DIV
5973></DIV
5974><HR><DIV
5975CLASS="REFSECT2"
5976><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00005977NAME="AEN13707"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005978></A
5979><H3
5980><A
5981NAME="XMLXPATHNODESETDEL"
5982></A
5983>xmlXPathNodeSetDel ()</H3
5984><TABLE
5985BORDER="0"
5986BGCOLOR="#D6E8FF"
5987WIDTH="100%"
5988CELLPADDING="6"
5989><TR
5990><TD
5991><PRE
5992CLASS="PROGRAMLISTING"
5993>void xmlXPathNodeSetDel (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005994HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005995>xmlNodeSetPtr</A
5996> cur,
5997 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005998HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00005999>xmlNodePtr</A
6000> val);</PRE
6001></TD
6002></TR
6003></TABLE
6004><P
6005>Removes an xmlNodePtr from an existing NodeSet</P
6006><P
6007></P
6008><DIV
6009CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006010><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00006011NAME="AEN13715"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006012></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00006013><P
6014></P
6015><TABLE
6016BORDER="0"
6017WIDTH="100%"
6018BGCOLOR="#FFD0D0"
6019CELLSPACING="0"
6020CELLPADDING="4"
6021CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006022><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00006023><TR
6024><TD
6025WIDTH="20%"
6026ALIGN="RIGHT"
6027VALIGN="TOP"
6028><TT
6029CLASS="PARAMETER"
6030><I
6031>cur</I
6032></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006033>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006034><TD
6035WIDTH="80%"
6036ALIGN="LEFT"
6037VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00006038>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006039></TR
6040><TR
6041><TD
6042WIDTH="20%"
6043ALIGN="RIGHT"
6044VALIGN="TOP"
6045><TT
6046CLASS="PARAMETER"
6047><I
6048>val</I
6049></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006050>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006051><TD
6052WIDTH="80%"
6053ALIGN="LEFT"
6054VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00006055>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006056></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006057></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00006058></TABLE
6059><P
6060></P
6061></DIV
6062></DIV
6063><HR><DIV
6064CLASS="REFSECT2"
6065><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00006066NAME="AEN13728"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006067></A
6068><H3
6069><A
6070NAME="XMLXPATHNODESETREMOVE"
6071></A
6072>xmlXPathNodeSetRemove ()</H3
6073><TABLE
6074BORDER="0"
6075BGCOLOR="#D6E8FF"
6076WIDTH="100%"
6077CELLPADDING="6"
6078><TR
6079><TD
6080><PRE
6081CLASS="PROGRAMLISTING"
6082>void xmlXPathNodeSetRemove (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006083HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006084>xmlNodeSetPtr</A
6085> cur,
6086 int val);</PRE
6087></TD
6088></TR
6089></TABLE
6090><P
6091>Removes an entry from an existing NodeSet list.</P
6092><P
6093></P
6094><DIV
6095CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006096><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00006097NAME="AEN13735"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006098></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00006099><P
6100></P
6101><TABLE
6102BORDER="0"
6103WIDTH="100%"
6104BGCOLOR="#FFD0D0"
6105CELLSPACING="0"
6106CELLPADDING="4"
6107CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006108><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00006109><TR
6110><TD
6111WIDTH="20%"
6112ALIGN="RIGHT"
6113VALIGN="TOP"
6114><TT
6115CLASS="PARAMETER"
6116><I
6117>cur</I
6118></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006119>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006120><TD
6121WIDTH="80%"
6122ALIGN="LEFT"
6123VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00006124>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006125></TR
6126><TR
6127><TD
6128WIDTH="20%"
6129ALIGN="RIGHT"
6130VALIGN="TOP"
6131><TT
6132CLASS="PARAMETER"
6133><I
6134>val</I
6135></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006136>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006137><TD
6138WIDTH="80%"
6139ALIGN="LEFT"
6140VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00006141>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006142></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006143></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00006144></TABLE
6145><P
6146></P
6147></DIV
6148></DIV
6149><HR><DIV
6150CLASS="REFSECT2"
6151><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00006152NAME="AEN13748"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006153></A
6154><H3
6155><A
6156NAME="XMLXPATHFREENODESET"
6157></A
6158>xmlXPathFreeNodeSet ()</H3
6159><TABLE
6160BORDER="0"
6161BGCOLOR="#D6E8FF"
6162WIDTH="100%"
6163CELLPADDING="6"
6164><TR
6165><TD
6166><PRE
6167CLASS="PROGRAMLISTING"
6168>void xmlXPathFreeNodeSet (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006169HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006170>xmlNodeSetPtr</A
6171> obj);</PRE
6172></TD
6173></TR
6174></TABLE
6175><P
6176>Free the NodeSet compound (not the actual nodes !).</P
6177><P
6178></P
6179><DIV
6180CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006181><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00006182NAME="AEN13755"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006183></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00006184><P
6185></P
6186><TABLE
6187BORDER="0"
6188WIDTH="100%"
6189BGCOLOR="#FFD0D0"
6190CELLSPACING="0"
6191CELLPADDING="4"
6192CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006193><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00006194><TR
6195><TD
6196WIDTH="20%"
6197ALIGN="RIGHT"
6198VALIGN="TOP"
6199><TT
6200CLASS="PARAMETER"
6201><I
6202>obj</I
6203></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006204>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006205><TD
6206WIDTH="80%"
6207ALIGN="LEFT"
6208VALIGN="TOP"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006209>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006210></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006211></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00006212></TABLE
6213><P
6214></P
6215></DIV
6216></DIV
6217><HR><DIV
6218CLASS="REFSECT2"
6219><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00006220NAME="AEN13764"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006221></A
6222><H3
6223><A
6224NAME="XMLXPATHNEWNODESETLIST"
6225></A
6226>xmlXPathNewNodeSetList ()</H3
6227><TABLE
6228BORDER="0"
6229BGCOLOR="#D6E8FF"
6230WIDTH="100%"
6231CELLPADDING="6"
6232><TR
6233><TD
6234><PRE
6235CLASS="PROGRAMLISTING"
6236><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006237HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006238>xmlXPathObjectPtr</A
6239> xmlXPathNewNodeSetList (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006240HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006241>xmlNodeSetPtr</A
6242> val);</PRE
6243></TD
6244></TR
6245></TABLE
6246><P
6247>Create a new xmlXPathObjectPtr of type NodeSet and initialize
6248it with the Nodeset <TT
6249CLASS="PARAMETER"
6250><I
6251>val</I
6252></TT
6253></P
6254><P
6255></P
6256><DIV
6257CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006258><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00006259NAME="AEN13773"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006260></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00006261><P
6262></P
6263><TABLE
6264BORDER="0"
6265WIDTH="100%"
6266BGCOLOR="#FFD0D0"
6267CELLSPACING="0"
6268CELLPADDING="4"
6269CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006270><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00006271><TR
6272><TD
6273WIDTH="20%"
6274ALIGN="RIGHT"
6275VALIGN="TOP"
6276><TT
6277CLASS="PARAMETER"
6278><I
6279>val</I
6280></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006281>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006282><TD
6283WIDTH="80%"
6284ALIGN="LEFT"
6285VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00006286>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006287></TR
6288><TR
6289><TD
6290WIDTH="20%"
6291ALIGN="RIGHT"
6292VALIGN="TOP"
6293><I
6294CLASS="EMPHASIS"
6295>Returns</I
6296> :</TD
6297><TD
6298WIDTH="80%"
6299ALIGN="LEFT"
6300VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00006301>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006302></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006303></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00006304></TABLE
6305><P
6306></P
6307></DIV
6308></DIV
6309><HR><DIV
6310CLASS="REFSECT2"
6311><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00006312NAME="AEN13786"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006313></A
6314><H3
6315><A
6316NAME="XMLXPATHWRAPNODESET"
6317></A
6318>xmlXPathWrapNodeSet ()</H3
6319><TABLE
6320BORDER="0"
6321BGCOLOR="#D6E8FF"
6322WIDTH="100%"
6323CELLPADDING="6"
6324><TR
6325><TD
6326><PRE
6327CLASS="PROGRAMLISTING"
6328><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006329HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006330>xmlXPathObjectPtr</A
6331> xmlXPathWrapNodeSet (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006332HREF="libxml-xpath.html#XMLNODESETPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006333>xmlNodeSetPtr</A
6334> val);</PRE
6335></TD
6336></TR
6337></TABLE
6338><P
6339>Wrap the Nodeset <TT
6340CLASS="PARAMETER"
6341><I
6342>val</I
6343></TT
6344> in a new xmlXPathObjectPtr</P
6345><P
6346></P
6347><DIV
6348CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006349><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00006350NAME="AEN13795"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006351></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00006352><P
6353></P
6354><TABLE
6355BORDER="0"
6356WIDTH="100%"
6357BGCOLOR="#FFD0D0"
6358CELLSPACING="0"
6359CELLPADDING="4"
6360CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006361><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00006362><TR
6363><TD
6364WIDTH="20%"
6365ALIGN="RIGHT"
6366VALIGN="TOP"
6367><TT
6368CLASS="PARAMETER"
6369><I
6370>val</I
6371></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006372>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006373><TD
6374WIDTH="80%"
6375ALIGN="LEFT"
6376VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00006377>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006378></TR
6379><TR
6380><TD
6381WIDTH="20%"
6382ALIGN="RIGHT"
6383VALIGN="TOP"
6384><I
6385CLASS="EMPHASIS"
6386>Returns</I
6387> :</TD
6388><TD
6389WIDTH="80%"
6390ALIGN="LEFT"
6391VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00006392>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006393></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006394></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00006395></TABLE
6396><P
6397></P
6398></DIV
6399></DIV
6400><HR><DIV
6401CLASS="REFSECT2"
6402><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00006403NAME="AEN13808"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006404></A
6405><H3
6406><A
6407NAME="XMLXPATHFREENODESETLIST"
6408></A
6409>xmlXPathFreeNodeSetList ()</H3
6410><TABLE
6411BORDER="0"
6412BGCOLOR="#D6E8FF"
6413WIDTH="100%"
6414CELLPADDING="6"
6415><TR
6416><TD
6417><PRE
6418CLASS="PROGRAMLISTING"
6419>void xmlXPathFreeNodeSetList (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006420HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006421>xmlXPathObjectPtr</A
6422> obj);</PRE
6423></TD
6424></TR
6425></TABLE
6426><P
6427>Free up the xmlXPathObjectPtr <TT
6428CLASS="PARAMETER"
6429><I
6430>obj</I
6431></TT
6432> but don't deallocate the objects in
6433the list contrary to <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006434HREF="libxml-xpath.html#XMLXPATHFREEOBJECT"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006435>xmlXPathFreeObject</A
6436>().</P
6437><P
6438></P
6439><DIV
6440CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006441><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00006442NAME="AEN13817"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006443></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00006444><P
6445></P
6446><TABLE
6447BORDER="0"
6448WIDTH="100%"
6449BGCOLOR="#FFD0D0"
6450CELLSPACING="0"
6451CELLPADDING="4"
6452CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006453><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00006454><TR
6455><TD
6456WIDTH="20%"
6457ALIGN="RIGHT"
6458VALIGN="TOP"
6459><TT
6460CLASS="PARAMETER"
6461><I
6462>obj</I
6463></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006464>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006465><TD
6466WIDTH="80%"
6467ALIGN="LEFT"
6468VALIGN="TOP"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006469>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006470></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006471></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00006472></TABLE
6473><P
6474></P
6475></DIV
6476></DIV
6477><HR><DIV
6478CLASS="REFSECT2"
6479><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00006480NAME="AEN13826"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006481></A
6482><H3
6483><A
6484NAME="XMLXPATHFREEOBJECT"
6485></A
6486>xmlXPathFreeObject ()</H3
6487><TABLE
6488BORDER="0"
6489BGCOLOR="#D6E8FF"
6490WIDTH="100%"
6491CELLPADDING="6"
6492><TR
6493><TD
6494><PRE
6495CLASS="PROGRAMLISTING"
6496>void xmlXPathFreeObject (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006497HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006498>xmlXPathObjectPtr</A
6499> obj);</PRE
6500></TD
6501></TR
6502></TABLE
6503><P
6504>Free up an xmlXPathObjectPtr object.</P
6505><P
6506></P
6507><DIV
6508CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006509><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00006510NAME="AEN13833"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006511></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00006512><P
6513></P
6514><TABLE
6515BORDER="0"
6516WIDTH="100%"
6517BGCOLOR="#FFD0D0"
6518CELLSPACING="0"
6519CELLPADDING="4"
6520CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006521><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00006522><TR
6523><TD
6524WIDTH="20%"
6525ALIGN="RIGHT"
6526VALIGN="TOP"
6527><TT
6528CLASS="PARAMETER"
6529><I
6530>obj</I
6531></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006532>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006533><TD
6534WIDTH="80%"
6535ALIGN="LEFT"
6536VALIGN="TOP"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006537>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006538></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006539></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00006540></TABLE
6541><P
6542></P
6543></DIV
6544></DIV
6545><HR><DIV
6546CLASS="REFSECT2"
6547><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00006548NAME="AEN13842"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006549></A
6550><H3
6551><A
6552NAME="XMLXPATHNEWCONTEXT"
6553></A
6554>xmlXPathNewContext ()</H3
6555><TABLE
6556BORDER="0"
6557BGCOLOR="#D6E8FF"
6558WIDTH="100%"
6559CELLPADDING="6"
6560><TR
6561><TD
6562><PRE
6563CLASS="PROGRAMLISTING"
6564><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006565HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006566>xmlXPathContextPtr</A
6567> xmlXPathNewContext (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006568HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006569>xmlDocPtr</A
6570> doc);</PRE
6571></TD
6572></TR
6573></TABLE
6574><P
6575>Create a new xmlXPathContext</P
6576><P
6577></P
6578><DIV
6579CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006580><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00006581NAME="AEN13850"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006582></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00006583><P
6584></P
6585><TABLE
6586BORDER="0"
6587WIDTH="100%"
6588BGCOLOR="#FFD0D0"
6589CELLSPACING="0"
6590CELLPADDING="4"
6591CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006592><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00006593><TR
6594><TD
6595WIDTH="20%"
6596ALIGN="RIGHT"
6597VALIGN="TOP"
6598><TT
6599CLASS="PARAMETER"
6600><I
6601>doc</I
6602></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006603>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006604><TD
6605WIDTH="80%"
6606ALIGN="LEFT"
6607VALIGN="TOP"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006608>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006609></TR
6610><TR
6611><TD
6612WIDTH="20%"
6613ALIGN="RIGHT"
6614VALIGN="TOP"
6615><I
6616CLASS="EMPHASIS"
6617>Returns</I
6618> :</TD
6619><TD
6620WIDTH="80%"
6621ALIGN="LEFT"
6622VALIGN="TOP"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006623>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006624></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006625></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00006626></TABLE
6627><P
6628></P
6629></DIV
6630></DIV
6631><HR><DIV
6632CLASS="REFSECT2"
6633><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00006634NAME="AEN13863"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006635></A
6636><H3
6637><A
6638NAME="XMLXPATHFREECONTEXT"
6639></A
6640>xmlXPathFreeContext ()</H3
6641><TABLE
6642BORDER="0"
6643BGCOLOR="#D6E8FF"
6644WIDTH="100%"
6645CELLPADDING="6"
6646><TR
6647><TD
6648><PRE
6649CLASS="PROGRAMLISTING"
6650>void xmlXPathFreeContext (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006651HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006652>xmlXPathContextPtr</A
6653> ctxt);</PRE
6654></TD
6655></TR
6656></TABLE
6657><P
6658>Free up an xmlXPathContext</P
6659><P
6660></P
6661><DIV
6662CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006663><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00006664NAME="AEN13870"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006665></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00006666><P
6667></P
6668><TABLE
6669BORDER="0"
6670WIDTH="100%"
6671BGCOLOR="#FFD0D0"
6672CELLSPACING="0"
6673CELLPADDING="4"
6674CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006675><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00006676><TR
6677><TD
6678WIDTH="20%"
6679ALIGN="RIGHT"
6680VALIGN="TOP"
6681><TT
6682CLASS="PARAMETER"
6683><I
6684>ctxt</I
6685></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006686>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006687><TD
6688WIDTH="80%"
6689ALIGN="LEFT"
6690VALIGN="TOP"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006691>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006692></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006693></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00006694></TABLE
6695><P
6696></P
6697></DIV
6698></DIV
6699><HR><DIV
6700CLASS="REFSECT2"
6701><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00006702NAME="AEN13879"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006703></A
6704><H3
6705><A
6706NAME="XMLXPATHEQUALVALUES"
6707></A
6708>xmlXPathEqualValues ()</H3
6709><TABLE
6710BORDER="0"
6711BGCOLOR="#D6E8FF"
6712WIDTH="100%"
6713CELLPADDING="6"
6714><TR
6715><TD
6716><PRE
6717CLASS="PROGRAMLISTING"
6718>int xmlXPathEqualValues (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006719HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006720>xmlXPathParserContextPtr</A
6721> ctxt);</PRE
6722></TD
6723></TR
6724></TABLE
6725><P
6726>Implement the equal operation on XPath objects content: <TT
6727CLASS="PARAMETER"
6728><I
6729>arg1</I
6730></TT
6731> == <TT
6732CLASS="PARAMETER"
6733><I
6734>arg2</I
6735></TT
6736></P
6737><P
6738></P
6739><DIV
6740CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006741><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00006742NAME="AEN13888"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006743></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00006744><P
6745></P
6746><TABLE
6747BORDER="0"
6748WIDTH="100%"
6749BGCOLOR="#FFD0D0"
6750CELLSPACING="0"
6751CELLPADDING="4"
6752CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006753><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00006754><TR
6755><TD
6756WIDTH="20%"
6757ALIGN="RIGHT"
6758VALIGN="TOP"
6759><TT
6760CLASS="PARAMETER"
6761><I
6762>ctxt</I
6763></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006764>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006765><TD
6766WIDTH="80%"
6767ALIGN="LEFT"
6768VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00006769>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006770></TR
6771><TR
6772><TD
6773WIDTH="20%"
6774ALIGN="RIGHT"
6775VALIGN="TOP"
6776><I
6777CLASS="EMPHASIS"
6778>Returns</I
6779> :</TD
6780><TD
6781WIDTH="80%"
6782ALIGN="LEFT"
6783VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00006784>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006785></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006786></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00006787></TABLE
6788><P
6789></P
6790></DIV
6791></DIV
6792><HR><DIV
6793CLASS="REFSECT2"
6794><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00006795NAME="AEN13901"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006796></A
6797><H3
6798><A
6799NAME="XMLXPATHCOMPAREVALUES"
6800></A
6801>xmlXPathCompareValues ()</H3
6802><TABLE
6803BORDER="0"
6804BGCOLOR="#D6E8FF"
6805WIDTH="100%"
6806CELLPADDING="6"
6807><TR
6808><TD
6809><PRE
6810CLASS="PROGRAMLISTING"
6811>int xmlXPathCompareValues (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006812HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006813>xmlXPathParserContextPtr</A
6814> ctxt,
6815 int inf,
6816 int strict);</PRE
6817></TD
6818></TR
6819></TABLE
6820><P
6821>Implement the compare operation on XPath objects:
6822<TT
6823CLASS="PARAMETER"
6824><I
6825>arg1</I
6826></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006827> &lt; <TT
Daniel Veillard9753ad72000-11-13 19:12:23 +00006828CLASS="PARAMETER"
6829><I
6830>arg2</I
6831></TT
6832> (1, 1, ...
6833<TT
6834CLASS="PARAMETER"
6835><I
6836>arg1</I
6837></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006838> &lt;= <TT
Daniel Veillard9753ad72000-11-13 19:12:23 +00006839CLASS="PARAMETER"
6840><I
6841>arg2</I
6842></TT
6843> (1, 0, ...
6844<TT
6845CLASS="PARAMETER"
6846><I
6847>arg1</I
6848></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006849> &gt; <TT
Daniel Veillard9753ad72000-11-13 19:12:23 +00006850CLASS="PARAMETER"
6851><I
6852>arg2</I
6853></TT
6854> (0, 1, ...
6855<TT
6856CLASS="PARAMETER"
6857><I
6858>arg1</I
6859></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006860> &gt;= <TT
Daniel Veillard9753ad72000-11-13 19:12:23 +00006861CLASS="PARAMETER"
6862><I
6863>arg2</I
6864></TT
6865> (0, 0, ...</P
6866><P
6867>When neither object to be compared is a node-set and the operator is
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006868&lt;=, &lt;, &gt;=, &gt;, then the objects are compared by converted both objects
6869to numbers and comparing the numbers according to IEEE 754. The &lt;
Daniel Veillard9753ad72000-11-13 19:12:23 +00006870comparison will be true if and only if the first number is less than the
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006871second number. The &lt;= comparison will be true if and only if the first
6872number is less than or equal to the second number. The &gt; comparison
Daniel Veillard9753ad72000-11-13 19:12:23 +00006873will be true if and only if the first number is greater than the second
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006874number. The &gt;= comparison will be true if and only if the first number
Daniel Veillard9753ad72000-11-13 19:12:23 +00006875is greater than or equal to the second number.</P
6876><P
6877></P
6878><DIV
6879CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006880><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00006881NAME="AEN13917"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006882></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00006883><P
6884></P
6885><TABLE
6886BORDER="0"
6887WIDTH="100%"
6888BGCOLOR="#FFD0D0"
6889CELLSPACING="0"
6890CELLPADDING="4"
6891CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006892><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00006893><TR
6894><TD
6895WIDTH="20%"
6896ALIGN="RIGHT"
6897VALIGN="TOP"
6898><TT
6899CLASS="PARAMETER"
6900><I
6901>ctxt</I
6902></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006903>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006904><TD
6905WIDTH="80%"
6906ALIGN="LEFT"
6907VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00006908>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006909></TR
6910><TR
6911><TD
6912WIDTH="20%"
6913ALIGN="RIGHT"
6914VALIGN="TOP"
6915><TT
6916CLASS="PARAMETER"
6917><I
6918>inf</I
6919></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006920>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006921><TD
6922WIDTH="80%"
6923ALIGN="LEFT"
6924VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00006925>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006926></TR
6927><TR
6928><TD
6929WIDTH="20%"
6930ALIGN="RIGHT"
6931VALIGN="TOP"
6932><TT
6933CLASS="PARAMETER"
6934><I
6935>strict</I
6936></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006937>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006938><TD
6939WIDTH="80%"
6940ALIGN="LEFT"
6941VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00006942>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006943></TR
6944><TR
6945><TD
6946WIDTH="20%"
6947ALIGN="RIGHT"
6948VALIGN="TOP"
6949><I
6950CLASS="EMPHASIS"
6951>Returns</I
6952> :</TD
6953><TD
6954WIDTH="80%"
6955ALIGN="LEFT"
6956VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00006957>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00006958></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006959></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00006960></TABLE
6961><P
6962></P
6963></DIV
6964></DIV
6965><HR><DIV
6966CLASS="REFSECT2"
6967><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00006968NAME="AEN13938"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006969></A
6970><H3
6971><A
6972NAME="XMLXPATHVALUEFLIPSIGN"
6973></A
6974>xmlXPathValueFlipSign ()</H3
6975><TABLE
6976BORDER="0"
6977BGCOLOR="#D6E8FF"
6978WIDTH="100%"
6979CELLPADDING="6"
6980><TR
6981><TD
6982><PRE
6983CLASS="PROGRAMLISTING"
6984>void xmlXPathValueFlipSign (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006985HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00006986>xmlXPathParserContextPtr</A
6987> ctxt);</PRE
6988></TD
6989></TR
6990></TABLE
6991><P
6992>Implement the unary - operation on an XPath object
6993The numeric operators convert their operands to numbers as if
6994by calling the number function.</P
6995><P
6996></P
6997><DIV
6998CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006999><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00007000NAME="AEN13945"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007001></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00007002><P
7003></P
7004><TABLE
7005BORDER="0"
7006WIDTH="100%"
7007BGCOLOR="#FFD0D0"
7008CELLSPACING="0"
7009CELLPADDING="4"
7010CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007011><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00007012><TR
7013><TD
7014WIDTH="20%"
7015ALIGN="RIGHT"
7016VALIGN="TOP"
7017><TT
7018CLASS="PARAMETER"
7019><I
7020>ctxt</I
7021></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007022>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007023><TD
7024WIDTH="80%"
7025ALIGN="LEFT"
7026VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00007027>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007028></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007029></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00007030></TABLE
7031><P
7032></P
7033></DIV
7034></DIV
7035><HR><DIV
7036CLASS="REFSECT2"
7037><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00007038NAME="AEN13954"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007039></A
7040><H3
7041><A
7042NAME="XMLXPATHADDVALUES"
7043></A
7044>xmlXPathAddValues ()</H3
7045><TABLE
7046BORDER="0"
7047BGCOLOR="#D6E8FF"
7048WIDTH="100%"
7049CELLPADDING="6"
7050><TR
7051><TD
7052><PRE
7053CLASS="PROGRAMLISTING"
7054>void xmlXPathAddValues (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007055HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007056>xmlXPathParserContextPtr</A
7057> ctxt);</PRE
7058></TD
7059></TR
7060></TABLE
7061><P
7062>Implement the add operation on XPath objects:
7063The numeric operators convert their operands to numbers as if
7064by calling the number function.</P
7065><P
7066></P
7067><DIV
7068CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007069><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00007070NAME="AEN13961"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007071></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00007072><P
7073></P
7074><TABLE
7075BORDER="0"
7076WIDTH="100%"
7077BGCOLOR="#FFD0D0"
7078CELLSPACING="0"
7079CELLPADDING="4"
7080CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007081><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00007082><TR
7083><TD
7084WIDTH="20%"
7085ALIGN="RIGHT"
7086VALIGN="TOP"
7087><TT
7088CLASS="PARAMETER"
7089><I
7090>ctxt</I
7091></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007092>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007093><TD
7094WIDTH="80%"
7095ALIGN="LEFT"
7096VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00007097>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007098></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007099></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00007100></TABLE
7101><P
7102></P
7103></DIV
7104></DIV
7105><HR><DIV
7106CLASS="REFSECT2"
7107><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00007108NAME="AEN13970"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007109></A
7110><H3
7111><A
7112NAME="XMLXPATHSUBVALUES"
7113></A
7114>xmlXPathSubValues ()</H3
7115><TABLE
7116BORDER="0"
7117BGCOLOR="#D6E8FF"
7118WIDTH="100%"
7119CELLPADDING="6"
7120><TR
7121><TD
7122><PRE
7123CLASS="PROGRAMLISTING"
7124>void xmlXPathSubValues (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007125HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007126>xmlXPathParserContextPtr</A
7127> ctxt);</PRE
7128></TD
7129></TR
7130></TABLE
7131><P
7132>Implement the substraction operation on XPath objects:
7133The numeric operators convert their operands to numbers as if
7134by calling the number function.</P
7135><P
7136></P
7137><DIV
7138CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007139><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00007140NAME="AEN13977"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007141></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00007142><P
7143></P
7144><TABLE
7145BORDER="0"
7146WIDTH="100%"
7147BGCOLOR="#FFD0D0"
7148CELLSPACING="0"
7149CELLPADDING="4"
7150CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007151><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00007152><TR
7153><TD
7154WIDTH="20%"
7155ALIGN="RIGHT"
7156VALIGN="TOP"
7157><TT
7158CLASS="PARAMETER"
7159><I
7160>ctxt</I
7161></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007162>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007163><TD
7164WIDTH="80%"
7165ALIGN="LEFT"
7166VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00007167>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007168></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007169></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00007170></TABLE
7171><P
7172></P
7173></DIV
7174></DIV
7175><HR><DIV
7176CLASS="REFSECT2"
7177><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00007178NAME="AEN13986"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007179></A
7180><H3
7181><A
7182NAME="XMLXPATHMULTVALUES"
7183></A
7184>xmlXPathMultValues ()</H3
7185><TABLE
7186BORDER="0"
7187BGCOLOR="#D6E8FF"
7188WIDTH="100%"
7189CELLPADDING="6"
7190><TR
7191><TD
7192><PRE
7193CLASS="PROGRAMLISTING"
7194>void xmlXPathMultValues (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007195HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007196>xmlXPathParserContextPtr</A
7197> ctxt);</PRE
7198></TD
7199></TR
7200></TABLE
7201><P
7202>Implement the multiply operation on XPath objects:
7203The numeric operators convert their operands to numbers as if
7204by calling the number function.</P
7205><P
7206></P
7207><DIV
7208CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007209><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00007210NAME="AEN13993"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007211></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00007212><P
7213></P
7214><TABLE
7215BORDER="0"
7216WIDTH="100%"
7217BGCOLOR="#FFD0D0"
7218CELLSPACING="0"
7219CELLPADDING="4"
7220CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007221><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00007222><TR
7223><TD
7224WIDTH="20%"
7225ALIGN="RIGHT"
7226VALIGN="TOP"
7227><TT
7228CLASS="PARAMETER"
7229><I
7230>ctxt</I
7231></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007232>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007233><TD
7234WIDTH="80%"
7235ALIGN="LEFT"
7236VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00007237>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007238></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007239></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00007240></TABLE
7241><P
7242></P
7243></DIV
7244></DIV
7245><HR><DIV
7246CLASS="REFSECT2"
7247><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00007248NAME="AEN14002"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007249></A
7250><H3
7251><A
7252NAME="XMLXPATHDIVVALUES"
7253></A
7254>xmlXPathDivValues ()</H3
7255><TABLE
7256BORDER="0"
7257BGCOLOR="#D6E8FF"
7258WIDTH="100%"
7259CELLPADDING="6"
7260><TR
7261><TD
7262><PRE
7263CLASS="PROGRAMLISTING"
7264>void xmlXPathDivValues (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007265HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007266>xmlXPathParserContextPtr</A
7267> ctxt);</PRE
7268></TD
7269></TR
7270></TABLE
7271><P
Daniel Veillardd194dd22001-02-14 10:37:43 +00007272>Implement the div operation on XPath objects <TT
7273CLASS="PARAMETER"
7274><I
7275>arg1</I
7276></TT
7277> / <TT
7278CLASS="PARAMETER"
7279><I
7280>arg2</I
7281></TT
7282>:
Daniel Veillard9753ad72000-11-13 19:12:23 +00007283The numeric operators convert their operands to numbers as if
7284by calling the number function.</P
7285><P
7286></P
7287><DIV
7288CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007289><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00007290NAME="AEN14011"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007291></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00007292><P
7293></P
7294><TABLE
7295BORDER="0"
7296WIDTH="100%"
7297BGCOLOR="#FFD0D0"
7298CELLSPACING="0"
7299CELLPADDING="4"
7300CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007301><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00007302><TR
7303><TD
7304WIDTH="20%"
7305ALIGN="RIGHT"
7306VALIGN="TOP"
7307><TT
7308CLASS="PARAMETER"
7309><I
7310>ctxt</I
7311></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007312>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007313><TD
7314WIDTH="80%"
7315ALIGN="LEFT"
7316VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00007317>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007318></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007319></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00007320></TABLE
7321><P
7322></P
7323></DIV
7324></DIV
7325><HR><DIV
7326CLASS="REFSECT2"
7327><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00007328NAME="AEN14020"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007329></A
7330><H3
7331><A
7332NAME="XMLXPATHMODVALUES"
7333></A
7334>xmlXPathModValues ()</H3
7335><TABLE
7336BORDER="0"
7337BGCOLOR="#D6E8FF"
7338WIDTH="100%"
7339CELLPADDING="6"
7340><TR
7341><TD
7342><PRE
7343CLASS="PROGRAMLISTING"
7344>void xmlXPathModValues (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007345HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00007346>xmlXPathParserContextPtr</A
7347> ctxt);</PRE
7348></TD
7349></TR
7350></TABLE
7351><P
Daniel Veillardd194dd22001-02-14 10:37:43 +00007352>Implement the mod operation on XPath objects: <TT
Daniel Veillard9753ad72000-11-13 19:12:23 +00007353CLASS="PARAMETER"
7354><I
7355>arg1</I
7356></TT
7357> / <TT
7358CLASS="PARAMETER"
7359><I
7360>arg2</I
7361></TT
7362>
7363The numeric operators convert their operands to numbers as if
7364by calling the number function.</P
7365><P
7366></P
7367><DIV
7368CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007369><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00007370NAME="AEN14029"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007371></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00007372><P
7373></P
7374><TABLE
7375BORDER="0"
7376WIDTH="100%"
7377BGCOLOR="#FFD0D0"
7378CELLSPACING="0"
7379CELLPADDING="4"
7380CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007381><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00007382><TR
7383><TD
7384WIDTH="20%"
7385ALIGN="RIGHT"
7386VALIGN="TOP"
7387><TT
7388CLASS="PARAMETER"
7389><I
7390>ctxt</I
7391></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007392>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007393><TD
7394WIDTH="80%"
7395ALIGN="LEFT"
7396VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00007397>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00007398></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007399></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00007400></TABLE
7401><P
7402></P
7403></DIV
7404></DIV
7405><HR><DIV
7406CLASS="REFSECT2"
7407><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00007408NAME="AEN14038"
Daniel Veillarda41123c2001-04-22 19:31:20 +00007409></A
7410><H3
7411><A
7412NAME="XMLXPATHISNODETYPE"
7413></A
7414>xmlXPathIsNodeType ()</H3
7415><TABLE
7416BORDER="0"
7417BGCOLOR="#D6E8FF"
7418WIDTH="100%"
7419CELLPADDING="6"
7420><TR
7421><TD
7422><PRE
7423CLASS="PROGRAMLISTING"
7424>int xmlXPathIsNodeType (const <A
7425HREF="libxml-tree.html#XMLCHAR"
7426>xmlChar</A
7427> *name);</PRE
7428></TD
7429></TR
7430></TABLE
7431><P
7432>Is the name given a NodeType one.</P
7433><P
7434>[38] NodeType ::= 'comment'
7435| 'text'
7436| 'processing-instruction'
7437| 'node'</P
7438><P
7439></P
7440><DIV
7441CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007442><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00007443NAME="AEN14046"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007444></A
Daniel Veillarda41123c2001-04-22 19:31:20 +00007445><P
7446></P
7447><TABLE
7448BORDER="0"
7449WIDTH="100%"
7450BGCOLOR="#FFD0D0"
7451CELLSPACING="0"
7452CELLPADDING="4"
7453CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007454><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00007455><TR
7456><TD
7457WIDTH="20%"
7458ALIGN="RIGHT"
7459VALIGN="TOP"
7460><TT
7461CLASS="PARAMETER"
7462><I
7463>name</I
7464></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007465>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00007466><TD
7467WIDTH="80%"
7468ALIGN="LEFT"
7469VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00007470>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00007471></TR
7472><TR
7473><TD
7474WIDTH="20%"
7475ALIGN="RIGHT"
7476VALIGN="TOP"
7477><I
7478CLASS="EMPHASIS"
7479>Returns</I
7480> :</TD
7481><TD
7482WIDTH="80%"
7483ALIGN="LEFT"
7484VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00007485>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00007486></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007487></TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00007488></TABLE
7489><P
7490></P
7491></DIV
7492></DIV
7493><HR><DIV
7494CLASS="REFSECT2"
7495><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00007496NAME="AEN14059"
Daniel Veillarda41123c2001-04-22 19:31:20 +00007497></A
7498><H3
7499><A
7500NAME="XMLXPATHNEXTSELF"
7501></A
7502>xmlXPathNextSelf ()</H3
7503><TABLE
7504BORDER="0"
7505BGCOLOR="#D6E8FF"
7506WIDTH="100%"
7507CELLPADDING="6"
7508><TR
7509><TD
7510><PRE
7511CLASS="PROGRAMLISTING"
7512><A
7513HREF="libxml-tree.html#XMLNODEPTR"
7514>xmlNodePtr</A
7515> xmlXPathNextSelf (<A
7516HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
7517>xmlXPathParserContextPtr</A
7518> ctxt,
7519 <A
7520HREF="libxml-tree.html#XMLNODEPTR"
7521>xmlNodePtr</A
7522> cur);</PRE
7523></TD
7524></TR
7525></TABLE
7526><P
7527>Traversal function for the "self" direction
7528The self axis contains just the context node itself</P
7529><P
7530></P
7531><DIV
7532CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007533><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00007534NAME="AEN14068"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007535></A
Daniel Veillarda41123c2001-04-22 19:31:20 +00007536><P
7537></P
7538><TABLE
7539BORDER="0"
7540WIDTH="100%"
7541BGCOLOR="#FFD0D0"
7542CELLSPACING="0"
7543CELLPADDING="4"
7544CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007545><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00007546><TR
7547><TD
7548WIDTH="20%"
7549ALIGN="RIGHT"
7550VALIGN="TOP"
7551><TT
7552CLASS="PARAMETER"
7553><I
7554>ctxt</I
7555></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007556>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00007557><TD
7558WIDTH="80%"
7559ALIGN="LEFT"
7560VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00007561>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00007562></TR
7563><TR
7564><TD
7565WIDTH="20%"
7566ALIGN="RIGHT"
7567VALIGN="TOP"
7568><TT
7569CLASS="PARAMETER"
7570><I
7571>cur</I
7572></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007573>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00007574><TD
7575WIDTH="80%"
7576ALIGN="LEFT"
7577VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00007578>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00007579></TR
7580><TR
7581><TD
7582WIDTH="20%"
7583ALIGN="RIGHT"
7584VALIGN="TOP"
7585><I
7586CLASS="EMPHASIS"
7587>Returns</I
7588> :</TD
7589><TD
7590WIDTH="80%"
7591ALIGN="LEFT"
7592VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00007593>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00007594></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007595></TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00007596></TABLE
7597><P
7598></P
7599></DIV
7600></DIV
7601><HR><DIV
7602CLASS="REFSECT2"
7603><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00007604NAME="AEN14085"
Daniel Veillarda41123c2001-04-22 19:31:20 +00007605></A
7606><H3
7607><A
7608NAME="XMLXPATHNEXTCHILD"
7609></A
7610>xmlXPathNextChild ()</H3
7611><TABLE
7612BORDER="0"
7613BGCOLOR="#D6E8FF"
7614WIDTH="100%"
7615CELLPADDING="6"
7616><TR
7617><TD
7618><PRE
7619CLASS="PROGRAMLISTING"
7620><A
7621HREF="libxml-tree.html#XMLNODEPTR"
7622>xmlNodePtr</A
7623> xmlXPathNextChild (<A
7624HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
7625>xmlXPathParserContextPtr</A
7626> ctxt,
7627 <A
7628HREF="libxml-tree.html#XMLNODEPTR"
7629>xmlNodePtr</A
7630> cur);</PRE
7631></TD
7632></TR
7633></TABLE
7634><P
7635>Traversal function for the "child" direction
7636The child axis contains the children of the context node in document order.</P
7637><P
7638></P
7639><DIV
7640CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007641><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00007642NAME="AEN14094"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007643></A
Daniel Veillarda41123c2001-04-22 19:31:20 +00007644><P
7645></P
7646><TABLE
7647BORDER="0"
7648WIDTH="100%"
7649BGCOLOR="#FFD0D0"
7650CELLSPACING="0"
7651CELLPADDING="4"
7652CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007653><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00007654><TR
7655><TD
7656WIDTH="20%"
7657ALIGN="RIGHT"
7658VALIGN="TOP"
7659><TT
7660CLASS="PARAMETER"
7661><I
7662>ctxt</I
7663></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007664>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00007665><TD
7666WIDTH="80%"
7667ALIGN="LEFT"
7668VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00007669>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00007670></TR
7671><TR
7672><TD
7673WIDTH="20%"
7674ALIGN="RIGHT"
7675VALIGN="TOP"
7676><TT
7677CLASS="PARAMETER"
7678><I
7679>cur</I
7680></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007681>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00007682><TD
7683WIDTH="80%"
7684ALIGN="LEFT"
7685VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00007686>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00007687></TR
7688><TR
7689><TD
7690WIDTH="20%"
7691ALIGN="RIGHT"
7692VALIGN="TOP"
7693><I
7694CLASS="EMPHASIS"
7695>Returns</I
7696> :</TD
7697><TD
7698WIDTH="80%"
7699ALIGN="LEFT"
7700VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00007701>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00007702></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007703></TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00007704></TABLE
7705><P
7706></P
7707></DIV
7708></DIV
7709><HR><DIV
7710CLASS="REFSECT2"
7711><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00007712NAME="AEN14111"
Daniel Veillarda41123c2001-04-22 19:31:20 +00007713></A
7714><H3
7715><A
7716NAME="XMLXPATHNEXTDESCENDANT"
7717></A
7718>xmlXPathNextDescendant ()</H3
7719><TABLE
7720BORDER="0"
7721BGCOLOR="#D6E8FF"
7722WIDTH="100%"
7723CELLPADDING="6"
7724><TR
7725><TD
7726><PRE
7727CLASS="PROGRAMLISTING"
7728><A
7729HREF="libxml-tree.html#XMLNODEPTR"
7730>xmlNodePtr</A
7731> xmlXPathNextDescendant (<A
7732HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
7733>xmlXPathParserContextPtr</A
7734> ctxt,
7735 <A
7736HREF="libxml-tree.html#XMLNODEPTR"
7737>xmlNodePtr</A
7738> cur);</PRE
7739></TD
7740></TR
7741></TABLE
7742><P
7743>Traversal function for the "descendant" direction
7744the descendant axis contains the descendants of the context node in document
7745order; a descendant is a child or a child of a child and so on.</P
7746><P
7747></P
7748><DIV
7749CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007750><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00007751NAME="AEN14120"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007752></A
Daniel Veillarda41123c2001-04-22 19:31:20 +00007753><P
7754></P
7755><TABLE
7756BORDER="0"
7757WIDTH="100%"
7758BGCOLOR="#FFD0D0"
7759CELLSPACING="0"
7760CELLPADDING="4"
7761CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007762><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00007763><TR
7764><TD
7765WIDTH="20%"
7766ALIGN="RIGHT"
7767VALIGN="TOP"
7768><TT
7769CLASS="PARAMETER"
7770><I
7771>ctxt</I
7772></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007773>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00007774><TD
7775WIDTH="80%"
7776ALIGN="LEFT"
7777VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00007778>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00007779></TR
7780><TR
7781><TD
7782WIDTH="20%"
7783ALIGN="RIGHT"
7784VALIGN="TOP"
7785><TT
7786CLASS="PARAMETER"
7787><I
7788>cur</I
7789></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007790>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00007791><TD
7792WIDTH="80%"
7793ALIGN="LEFT"
7794VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00007795>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00007796></TR
7797><TR
7798><TD
7799WIDTH="20%"
7800ALIGN="RIGHT"
7801VALIGN="TOP"
7802><I
7803CLASS="EMPHASIS"
7804>Returns</I
7805> :</TD
7806><TD
7807WIDTH="80%"
7808ALIGN="LEFT"
7809VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00007810>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00007811></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007812></TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00007813></TABLE
7814><P
7815></P
7816></DIV
7817></DIV
7818><HR><DIV
7819CLASS="REFSECT2"
7820><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00007821NAME="AEN14137"
Daniel Veillarda41123c2001-04-22 19:31:20 +00007822></A
7823><H3
7824><A
7825NAME="XMLXPATHNEXTDESCENDANTORSELF"
7826></A
7827>xmlXPathNextDescendantOrSelf ()</H3
7828><TABLE
7829BORDER="0"
7830BGCOLOR="#D6E8FF"
7831WIDTH="100%"
7832CELLPADDING="6"
7833><TR
7834><TD
7835><PRE
7836CLASS="PROGRAMLISTING"
7837><A
7838HREF="libxml-tree.html#XMLNODEPTR"
7839>xmlNodePtr</A
7840> xmlXPathNextDescendantOrSelf (<A
7841HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
7842>xmlXPathParserContextPtr</A
7843> ctxt,
7844 <A
7845HREF="libxml-tree.html#XMLNODEPTR"
7846>xmlNodePtr</A
7847> cur);</PRE
7848></TD
7849></TR
7850></TABLE
7851><P
7852>Traversal function for the "descendant-or-self" direction
7853the descendant-or-self axis contains the context node and the descendants
7854of the context node in document order; thus the context node is the first
7855node on the axis, and the first child of the context node is the second node
7856on the axis</P
7857><P
7858></P
7859><DIV
7860CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007861><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00007862NAME="AEN14146"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007863></A
Daniel Veillarda41123c2001-04-22 19:31:20 +00007864><P
7865></P
7866><TABLE
7867BORDER="0"
7868WIDTH="100%"
7869BGCOLOR="#FFD0D0"
7870CELLSPACING="0"
7871CELLPADDING="4"
7872CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007873><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00007874><TR
7875><TD
7876WIDTH="20%"
7877ALIGN="RIGHT"
7878VALIGN="TOP"
7879><TT
7880CLASS="PARAMETER"
7881><I
7882>ctxt</I
7883></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007884>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00007885><TD
7886WIDTH="80%"
7887ALIGN="LEFT"
7888VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00007889>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00007890></TR
7891><TR
7892><TD
7893WIDTH="20%"
7894ALIGN="RIGHT"
7895VALIGN="TOP"
7896><TT
7897CLASS="PARAMETER"
7898><I
7899>cur</I
7900></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007901>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00007902><TD
7903WIDTH="80%"
7904ALIGN="LEFT"
7905VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00007906>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00007907></TR
7908><TR
7909><TD
7910WIDTH="20%"
7911ALIGN="RIGHT"
7912VALIGN="TOP"
7913><I
7914CLASS="EMPHASIS"
7915>Returns</I
7916> :</TD
7917><TD
7918WIDTH="80%"
7919ALIGN="LEFT"
7920VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00007921>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00007922></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007923></TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00007924></TABLE
7925><P
7926></P
7927></DIV
7928></DIV
7929><HR><DIV
7930CLASS="REFSECT2"
7931><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00007932NAME="AEN14163"
Daniel Veillarda41123c2001-04-22 19:31:20 +00007933></A
7934><H3
7935><A
7936NAME="XMLXPATHNEXTPARENT"
7937></A
7938>xmlXPathNextParent ()</H3
7939><TABLE
7940BORDER="0"
7941BGCOLOR="#D6E8FF"
7942WIDTH="100%"
7943CELLPADDING="6"
7944><TR
7945><TD
7946><PRE
7947CLASS="PROGRAMLISTING"
7948><A
7949HREF="libxml-tree.html#XMLNODEPTR"
7950>xmlNodePtr</A
7951> xmlXPathNextParent (<A
7952HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
7953>xmlXPathParserContextPtr</A
7954> ctxt,
7955 <A
7956HREF="libxml-tree.html#XMLNODEPTR"
7957>xmlNodePtr</A
7958> cur);</PRE
7959></TD
7960></TR
7961></TABLE
7962><P
7963>Traversal function for the "parent" direction
7964The parent axis contains the parent of the context node, if there is one.</P
7965><P
7966></P
7967><DIV
7968CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007969><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00007970NAME="AEN14172"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007971></A
Daniel Veillarda41123c2001-04-22 19:31:20 +00007972><P
7973></P
7974><TABLE
7975BORDER="0"
7976WIDTH="100%"
7977BGCOLOR="#FFD0D0"
7978CELLSPACING="0"
7979CELLPADDING="4"
7980CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007981><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00007982><TR
7983><TD
7984WIDTH="20%"
7985ALIGN="RIGHT"
7986VALIGN="TOP"
7987><TT
7988CLASS="PARAMETER"
7989><I
7990>ctxt</I
7991></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007992>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00007993><TD
7994WIDTH="80%"
7995ALIGN="LEFT"
7996VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00007997>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00007998></TR
7999><TR
8000><TD
8001WIDTH="20%"
8002ALIGN="RIGHT"
8003VALIGN="TOP"
8004><TT
8005CLASS="PARAMETER"
8006><I
8007>cur</I
8008></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008009>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00008010><TD
8011WIDTH="80%"
8012ALIGN="LEFT"
8013VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00008014>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00008015></TR
8016><TR
8017><TD
8018WIDTH="20%"
8019ALIGN="RIGHT"
8020VALIGN="TOP"
8021><I
8022CLASS="EMPHASIS"
8023>Returns</I
8024> :</TD
8025><TD
8026WIDTH="80%"
8027ALIGN="LEFT"
8028VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00008029>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00008030></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00008031></TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00008032></TABLE
8033><P
8034></P
8035></DIV
8036></DIV
8037><HR><DIV
8038CLASS="REFSECT2"
8039><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00008040NAME="AEN14189"
Daniel Veillarda41123c2001-04-22 19:31:20 +00008041></A
8042><H3
8043><A
8044NAME="XMLXPATHNEXTANCESTORORSELF"
8045></A
8046>xmlXPathNextAncestorOrSelf ()</H3
8047><TABLE
8048BORDER="0"
8049BGCOLOR="#D6E8FF"
8050WIDTH="100%"
8051CELLPADDING="6"
8052><TR
8053><TD
8054><PRE
8055CLASS="PROGRAMLISTING"
8056><A
8057HREF="libxml-tree.html#XMLNODEPTR"
8058>xmlNodePtr</A
8059> xmlXPathNextAncestorOrSelf (<A
8060HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
8061>xmlXPathParserContextPtr</A
8062> ctxt,
8063 <A
8064HREF="libxml-tree.html#XMLNODEPTR"
8065>xmlNodePtr</A
8066> cur);</PRE
8067></TD
8068></TR
8069></TABLE
8070><P
8071>Traversal function for the "ancestor-or-self" direction
8072he ancestor-or-self axis contains the context node and ancestors of
8073the context node in reverse document order; thus the context node is
8074the first node on the axis, and the context node's parent the second;
8075parent here is defined the same as with the parent axis.</P
8076><P
8077></P
8078><DIV
8079CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008080><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00008081NAME="AEN14198"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008082></A
Daniel Veillarda41123c2001-04-22 19:31:20 +00008083><P
8084></P
8085><TABLE
8086BORDER="0"
8087WIDTH="100%"
8088BGCOLOR="#FFD0D0"
8089CELLSPACING="0"
8090CELLPADDING="4"
8091CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008092><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00008093><TR
8094><TD
8095WIDTH="20%"
8096ALIGN="RIGHT"
8097VALIGN="TOP"
8098><TT
8099CLASS="PARAMETER"
8100><I
8101>ctxt</I
8102></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008103>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00008104><TD
8105WIDTH="80%"
8106ALIGN="LEFT"
8107VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00008108>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00008109></TR
8110><TR
8111><TD
8112WIDTH="20%"
8113ALIGN="RIGHT"
8114VALIGN="TOP"
8115><TT
8116CLASS="PARAMETER"
8117><I
8118>cur</I
8119></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008120>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00008121><TD
8122WIDTH="80%"
8123ALIGN="LEFT"
8124VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00008125>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00008126></TR
8127><TR
8128><TD
8129WIDTH="20%"
8130ALIGN="RIGHT"
8131VALIGN="TOP"
8132><I
8133CLASS="EMPHASIS"
8134>Returns</I
8135> :</TD
8136><TD
8137WIDTH="80%"
8138ALIGN="LEFT"
8139VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00008140>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00008141></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00008142></TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00008143></TABLE
8144><P
8145></P
8146></DIV
8147></DIV
8148><HR><DIV
8149CLASS="REFSECT2"
8150><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00008151NAME="AEN14215"
Daniel Veillarda41123c2001-04-22 19:31:20 +00008152></A
8153><H3
8154><A
8155NAME="XMLXPATHNEXTFOLLOWINGSIBLING"
8156></A
8157>xmlXPathNextFollowingSibling ()</H3
8158><TABLE
8159BORDER="0"
8160BGCOLOR="#D6E8FF"
8161WIDTH="100%"
8162CELLPADDING="6"
8163><TR
8164><TD
8165><PRE
8166CLASS="PROGRAMLISTING"
8167><A
8168HREF="libxml-tree.html#XMLNODEPTR"
8169>xmlNodePtr</A
8170> xmlXPathNextFollowingSibling (<A
8171HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
8172>xmlXPathParserContextPtr</A
8173> ctxt,
8174 <A
8175HREF="libxml-tree.html#XMLNODEPTR"
8176>xmlNodePtr</A
8177> cur);</PRE
8178></TD
8179></TR
8180></TABLE
8181><P
8182>Traversal function for the "following-sibling" direction
8183The following-sibling axis contains the following siblings of the context
8184node in document order.</P
8185><P
8186></P
8187><DIV
8188CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008189><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00008190NAME="AEN14224"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008191></A
Daniel Veillarda41123c2001-04-22 19:31:20 +00008192><P
8193></P
8194><TABLE
8195BORDER="0"
8196WIDTH="100%"
8197BGCOLOR="#FFD0D0"
8198CELLSPACING="0"
8199CELLPADDING="4"
8200CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008201><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00008202><TR
8203><TD
8204WIDTH="20%"
8205ALIGN="RIGHT"
8206VALIGN="TOP"
8207><TT
8208CLASS="PARAMETER"
8209><I
8210>ctxt</I
8211></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008212>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00008213><TD
8214WIDTH="80%"
8215ALIGN="LEFT"
8216VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00008217>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00008218></TR
8219><TR
8220><TD
8221WIDTH="20%"
8222ALIGN="RIGHT"
8223VALIGN="TOP"
8224><TT
8225CLASS="PARAMETER"
8226><I
8227>cur</I
8228></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008229>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00008230><TD
8231WIDTH="80%"
8232ALIGN="LEFT"
8233VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00008234>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00008235></TR
8236><TR
8237><TD
8238WIDTH="20%"
8239ALIGN="RIGHT"
8240VALIGN="TOP"
8241><I
8242CLASS="EMPHASIS"
8243>Returns</I
8244> :</TD
8245><TD
8246WIDTH="80%"
8247ALIGN="LEFT"
8248VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00008249>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00008250></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00008251></TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00008252></TABLE
8253><P
8254></P
8255></DIV
8256></DIV
8257><HR><DIV
8258CLASS="REFSECT2"
8259><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00008260NAME="AEN14241"
Daniel Veillarda41123c2001-04-22 19:31:20 +00008261></A
8262><H3
8263><A
8264NAME="XMLXPATHNEXTFOLLOWING"
8265></A
8266>xmlXPathNextFollowing ()</H3
8267><TABLE
8268BORDER="0"
8269BGCOLOR="#D6E8FF"
8270WIDTH="100%"
8271CELLPADDING="6"
8272><TR
8273><TD
8274><PRE
8275CLASS="PROGRAMLISTING"
8276><A
8277HREF="libxml-tree.html#XMLNODEPTR"
8278>xmlNodePtr</A
8279> xmlXPathNextFollowing (<A
8280HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
8281>xmlXPathParserContextPtr</A
8282> ctxt,
8283 <A
8284HREF="libxml-tree.html#XMLNODEPTR"
8285>xmlNodePtr</A
8286> cur);</PRE
8287></TD
8288></TR
8289></TABLE
8290><P
8291>Traversal function for the "following" direction
8292The following axis contains all nodes in the same document as the context
8293node that are after the context node in document order, excluding any
8294descendants and excluding attribute nodes and namespace nodes; the nodes
8295are ordered in document order</P
8296><P
8297></P
8298><DIV
8299CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008300><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00008301NAME="AEN14250"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008302></A
Daniel Veillarda41123c2001-04-22 19:31:20 +00008303><P
8304></P
8305><TABLE
8306BORDER="0"
8307WIDTH="100%"
8308BGCOLOR="#FFD0D0"
8309CELLSPACING="0"
8310CELLPADDING="4"
8311CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008312><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00008313><TR
8314><TD
8315WIDTH="20%"
8316ALIGN="RIGHT"
8317VALIGN="TOP"
8318><TT
8319CLASS="PARAMETER"
8320><I
8321>ctxt</I
8322></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008323>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00008324><TD
8325WIDTH="80%"
8326ALIGN="LEFT"
8327VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00008328>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00008329></TR
8330><TR
8331><TD
8332WIDTH="20%"
8333ALIGN="RIGHT"
8334VALIGN="TOP"
8335><TT
8336CLASS="PARAMETER"
8337><I
8338>cur</I
8339></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008340>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00008341><TD
8342WIDTH="80%"
8343ALIGN="LEFT"
8344VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00008345>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00008346></TR
8347><TR
8348><TD
8349WIDTH="20%"
8350ALIGN="RIGHT"
8351VALIGN="TOP"
8352><I
8353CLASS="EMPHASIS"
8354>Returns</I
8355> :</TD
8356><TD
8357WIDTH="80%"
8358ALIGN="LEFT"
8359VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00008360>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00008361></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00008362></TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00008363></TABLE
8364><P
8365></P
8366></DIV
8367></DIV
8368><HR><DIV
8369CLASS="REFSECT2"
8370><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00008371NAME="AEN14267"
Daniel Veillarda41123c2001-04-22 19:31:20 +00008372></A
8373><H3
8374><A
8375NAME="XMLXPATHNEXTNAMESPACE"
8376></A
8377>xmlXPathNextNamespace ()</H3
8378><TABLE
8379BORDER="0"
8380BGCOLOR="#D6E8FF"
8381WIDTH="100%"
8382CELLPADDING="6"
8383><TR
8384><TD
8385><PRE
8386CLASS="PROGRAMLISTING"
8387><A
8388HREF="libxml-tree.html#XMLNODEPTR"
8389>xmlNodePtr</A
8390> xmlXPathNextNamespace (<A
8391HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
8392>xmlXPathParserContextPtr</A
8393> ctxt,
8394 <A
8395HREF="libxml-tree.html#XMLNODEPTR"
8396>xmlNodePtr</A
8397> cur);</PRE
8398></TD
8399></TR
8400></TABLE
8401><P
8402>Traversal function for the "namespace" direction
8403the namespace axis contains the namespace nodes of the context node;
8404the order of nodes on this axis is implementation-defined; the axis will
8405be empty unless the context node is an element</P
8406><P
8407></P
8408><DIV
8409CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008410><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00008411NAME="AEN14276"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008412></A
Daniel Veillarda41123c2001-04-22 19:31:20 +00008413><P
8414></P
8415><TABLE
8416BORDER="0"
8417WIDTH="100%"
8418BGCOLOR="#FFD0D0"
8419CELLSPACING="0"
8420CELLPADDING="4"
8421CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008422><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00008423><TR
8424><TD
8425WIDTH="20%"
8426ALIGN="RIGHT"
8427VALIGN="TOP"
8428><TT
8429CLASS="PARAMETER"
8430><I
8431>ctxt</I
8432></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008433>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00008434><TD
8435WIDTH="80%"
8436ALIGN="LEFT"
8437VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00008438>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00008439></TR
8440><TR
8441><TD
8442WIDTH="20%"
8443ALIGN="RIGHT"
8444VALIGN="TOP"
8445><TT
8446CLASS="PARAMETER"
8447><I
8448>cur</I
8449></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008450>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00008451><TD
8452WIDTH="80%"
8453ALIGN="LEFT"
8454VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00008455>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00008456></TR
8457><TR
8458><TD
8459WIDTH="20%"
8460ALIGN="RIGHT"
8461VALIGN="TOP"
8462><I
8463CLASS="EMPHASIS"
8464>Returns</I
8465> :</TD
8466><TD
8467WIDTH="80%"
8468ALIGN="LEFT"
8469VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00008470>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00008471></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00008472></TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00008473></TABLE
8474><P
8475></P
8476></DIV
8477></DIV
8478><HR><DIV
8479CLASS="REFSECT2"
8480><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00008481NAME="AEN14293"
Daniel Veillarda41123c2001-04-22 19:31:20 +00008482></A
8483><H3
8484><A
8485NAME="XMLXPATHNEXTATTRIBUTE"
8486></A
8487>xmlXPathNextAttribute ()</H3
8488><TABLE
8489BORDER="0"
8490BGCOLOR="#D6E8FF"
8491WIDTH="100%"
8492CELLPADDING="6"
8493><TR
8494><TD
8495><PRE
8496CLASS="PROGRAMLISTING"
8497><A
8498HREF="libxml-tree.html#XMLNODEPTR"
8499>xmlNodePtr</A
8500> xmlXPathNextAttribute (<A
8501HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
8502>xmlXPathParserContextPtr</A
8503> ctxt,
8504 <A
8505HREF="libxml-tree.html#XMLNODEPTR"
8506>xmlNodePtr</A
8507> cur);</PRE
8508></TD
8509></TR
8510></TABLE
8511><P
8512>Traversal function for the "attribute" direction
8513TODO: support DTD inherited default attributes</P
8514><P
8515></P
8516><DIV
8517CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008518><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00008519NAME="AEN14302"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008520></A
Daniel Veillarda41123c2001-04-22 19:31:20 +00008521><P
8522></P
8523><TABLE
8524BORDER="0"
8525WIDTH="100%"
8526BGCOLOR="#FFD0D0"
8527CELLSPACING="0"
8528CELLPADDING="4"
8529CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008530><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00008531><TR
8532><TD
8533WIDTH="20%"
8534ALIGN="RIGHT"
8535VALIGN="TOP"
8536><TT
8537CLASS="PARAMETER"
8538><I
8539>ctxt</I
8540></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008541>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00008542><TD
8543WIDTH="80%"
8544ALIGN="LEFT"
8545VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00008546>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00008547></TR
8548><TR
8549><TD
8550WIDTH="20%"
8551ALIGN="RIGHT"
8552VALIGN="TOP"
8553><TT
8554CLASS="PARAMETER"
8555><I
8556>cur</I
8557></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008558>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00008559><TD
8560WIDTH="80%"
8561ALIGN="LEFT"
8562VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00008563>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00008564></TR
8565><TR
8566><TD
8567WIDTH="20%"
8568ALIGN="RIGHT"
8569VALIGN="TOP"
8570><I
8571CLASS="EMPHASIS"
8572>Returns</I
8573> :</TD
8574><TD
8575WIDTH="80%"
8576ALIGN="LEFT"
8577VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00008578>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00008579></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00008580></TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00008581></TABLE
8582><P
8583></P
8584></DIV
8585></DIV
8586><HR><DIV
8587CLASS="REFSECT2"
8588><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00008589NAME="AEN14319"
Daniel Veillarde356c282001-03-10 12:32:04 +00008590></A
8591><H3
8592><A
8593NAME="XMLXPATHNEXTPRECEDING"
8594></A
8595>xmlXPathNextPreceding ()</H3
8596><TABLE
8597BORDER="0"
8598BGCOLOR="#D6E8FF"
8599WIDTH="100%"
8600CELLPADDING="6"
8601><TR
8602><TD
8603><PRE
8604CLASS="PROGRAMLISTING"
8605><A
8606HREF="libxml-tree.html#XMLNODEPTR"
8607>xmlNodePtr</A
8608> xmlXPathNextPreceding (<A
8609HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
8610>xmlXPathParserContextPtr</A
8611> ctxt,
8612 <A
8613HREF="libxml-tree.html#XMLNODEPTR"
8614>xmlNodePtr</A
8615> cur);</PRE
8616></TD
8617></TR
8618></TABLE
8619><P
8620>Traversal function for the "preceding" direction
8621the preceding axis contains all nodes in the same document as the context
8622node that are before the context node in document order, excluding any
8623ancestors and excluding attribute nodes and namespace nodes; the nodes are
8624ordered in reverse document order</P
8625><P
8626></P
8627><DIV
8628CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008629><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00008630NAME="AEN14328"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008631></A
Daniel Veillarde356c282001-03-10 12:32:04 +00008632><P
8633></P
8634><TABLE
8635BORDER="0"
8636WIDTH="100%"
8637BGCOLOR="#FFD0D0"
8638CELLSPACING="0"
8639CELLPADDING="4"
8640CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008641><TBODY
Daniel Veillarde356c282001-03-10 12:32:04 +00008642><TR
8643><TD
8644WIDTH="20%"
8645ALIGN="RIGHT"
8646VALIGN="TOP"
8647><TT
8648CLASS="PARAMETER"
8649><I
8650>ctxt</I
8651></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008652>&nbsp;:</TD
Daniel Veillarde356c282001-03-10 12:32:04 +00008653><TD
8654WIDTH="80%"
8655ALIGN="LEFT"
8656VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00008657>&nbsp;</TD
Daniel Veillarde356c282001-03-10 12:32:04 +00008658></TR
8659><TR
8660><TD
8661WIDTH="20%"
8662ALIGN="RIGHT"
8663VALIGN="TOP"
8664><TT
8665CLASS="PARAMETER"
8666><I
8667>cur</I
8668></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008669>&nbsp;:</TD
Daniel Veillarde356c282001-03-10 12:32:04 +00008670><TD
8671WIDTH="80%"
8672ALIGN="LEFT"
8673VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00008674>&nbsp;</TD
Daniel Veillarde356c282001-03-10 12:32:04 +00008675></TR
8676><TR
8677><TD
8678WIDTH="20%"
8679ALIGN="RIGHT"
8680VALIGN="TOP"
8681><I
8682CLASS="EMPHASIS"
8683>Returns</I
8684> :</TD
8685><TD
8686WIDTH="80%"
8687ALIGN="LEFT"
8688VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00008689>&nbsp;</TD
Daniel Veillarde356c282001-03-10 12:32:04 +00008690></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00008691></TBODY
Daniel Veillarde356c282001-03-10 12:32:04 +00008692></TABLE
8693><P
8694></P
8695></DIV
8696></DIV
8697><HR><DIV
8698CLASS="REFSECT2"
8699><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00008700NAME="AEN14345"
Daniel Veillarde356c282001-03-10 12:32:04 +00008701></A
8702><H3
8703><A
8704NAME="XMLXPATHNEXTANCESTOR"
8705></A
8706>xmlXPathNextAncestor ()</H3
8707><TABLE
8708BORDER="0"
8709BGCOLOR="#D6E8FF"
8710WIDTH="100%"
8711CELLPADDING="6"
8712><TR
8713><TD
8714><PRE
8715CLASS="PROGRAMLISTING"
8716><A
8717HREF="libxml-tree.html#XMLNODEPTR"
8718>xmlNodePtr</A
8719> xmlXPathNextAncestor (<A
8720HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
8721>xmlXPathParserContextPtr</A
8722> ctxt,
8723 <A
8724HREF="libxml-tree.html#XMLNODEPTR"
8725>xmlNodePtr</A
8726> cur);</PRE
8727></TD
8728></TR
8729></TABLE
8730><P
8731>Traversal function for the "ancestor" direction
8732the ancestor axis contains the ancestors of the context node; the ancestors
8733of the context node consist of the parent of context node and the parent's
8734parent and so on; the nodes are ordered in reverse document order; thus the
8735parent is the first node on the axis, and the parent's parent is the second
8736node on the axis</P
8737><P
8738></P
8739><DIV
8740CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008741><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00008742NAME="AEN14354"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008743></A
Daniel Veillarde356c282001-03-10 12:32:04 +00008744><P
8745></P
8746><TABLE
8747BORDER="0"
8748WIDTH="100%"
8749BGCOLOR="#FFD0D0"
8750CELLSPACING="0"
8751CELLPADDING="4"
8752CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008753><TBODY
Daniel Veillarde356c282001-03-10 12:32:04 +00008754><TR
8755><TD
8756WIDTH="20%"
8757ALIGN="RIGHT"
8758VALIGN="TOP"
8759><TT
8760CLASS="PARAMETER"
8761><I
8762>ctxt</I
8763></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008764>&nbsp;:</TD
Daniel Veillarde356c282001-03-10 12:32:04 +00008765><TD
8766WIDTH="80%"
8767ALIGN="LEFT"
8768VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00008769>&nbsp;</TD
Daniel Veillarde356c282001-03-10 12:32:04 +00008770></TR
8771><TR
8772><TD
8773WIDTH="20%"
8774ALIGN="RIGHT"
8775VALIGN="TOP"
8776><TT
8777CLASS="PARAMETER"
8778><I
8779>cur</I
8780></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008781>&nbsp;:</TD
Daniel Veillarde356c282001-03-10 12:32:04 +00008782><TD
8783WIDTH="80%"
8784ALIGN="LEFT"
8785VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00008786>&nbsp;</TD
Daniel Veillarde356c282001-03-10 12:32:04 +00008787></TR
8788><TR
8789><TD
8790WIDTH="20%"
8791ALIGN="RIGHT"
8792VALIGN="TOP"
8793><I
8794CLASS="EMPHASIS"
8795>Returns</I
8796> :</TD
8797><TD
8798WIDTH="80%"
8799ALIGN="LEFT"
8800VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00008801>&nbsp;</TD
Daniel Veillarde356c282001-03-10 12:32:04 +00008802></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00008803></TBODY
Daniel Veillarde356c282001-03-10 12:32:04 +00008804></TABLE
8805><P
8806></P
8807></DIV
8808></DIV
8809><HR><DIV
8810CLASS="REFSECT2"
8811><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00008812NAME="AEN14371"
Daniel Veillarde356c282001-03-10 12:32:04 +00008813></A
8814><H3
8815><A
8816NAME="XMLXPATHNEXTPRECEDINGSIBLING"
8817></A
8818>xmlXPathNextPrecedingSibling ()</H3
8819><TABLE
8820BORDER="0"
8821BGCOLOR="#D6E8FF"
8822WIDTH="100%"
8823CELLPADDING="6"
8824><TR
8825><TD
8826><PRE
8827CLASS="PROGRAMLISTING"
8828><A
8829HREF="libxml-tree.html#XMLNODEPTR"
8830>xmlNodePtr</A
8831> xmlXPathNextPrecedingSibling (<A
8832HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
8833>xmlXPathParserContextPtr</A
8834> ctxt,
8835 <A
8836HREF="libxml-tree.html#XMLNODEPTR"
8837>xmlNodePtr</A
8838> cur);</PRE
8839></TD
8840></TR
8841></TABLE
8842><P
8843>Traversal function for the "preceding-sibling" direction
8844The preceding-sibling axis contains the preceding siblings of the context
8845node in reverse document order; the first preceding sibling is first on the
8846axis; the sibling preceding that node is the second on the axis and so on.</P
8847><P
8848></P
8849><DIV
8850CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008851><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00008852NAME="AEN14380"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008853></A
Daniel Veillarde356c282001-03-10 12:32:04 +00008854><P
8855></P
8856><TABLE
8857BORDER="0"
8858WIDTH="100%"
8859BGCOLOR="#FFD0D0"
8860CELLSPACING="0"
8861CELLPADDING="4"
8862CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008863><TBODY
Daniel Veillarde356c282001-03-10 12:32:04 +00008864><TR
8865><TD
8866WIDTH="20%"
8867ALIGN="RIGHT"
8868VALIGN="TOP"
8869><TT
8870CLASS="PARAMETER"
8871><I
8872>ctxt</I
8873></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008874>&nbsp;:</TD
Daniel Veillarde356c282001-03-10 12:32:04 +00008875><TD
8876WIDTH="80%"
8877ALIGN="LEFT"
8878VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00008879>&nbsp;</TD
Daniel Veillarde356c282001-03-10 12:32:04 +00008880></TR
8881><TR
8882><TD
8883WIDTH="20%"
8884ALIGN="RIGHT"
8885VALIGN="TOP"
8886><TT
8887CLASS="PARAMETER"
8888><I
8889>cur</I
8890></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008891>&nbsp;:</TD
Daniel Veillarde356c282001-03-10 12:32:04 +00008892><TD
8893WIDTH="80%"
8894ALIGN="LEFT"
8895VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00008896>&nbsp;</TD
Daniel Veillarde356c282001-03-10 12:32:04 +00008897></TR
8898><TR
8899><TD
8900WIDTH="20%"
8901ALIGN="RIGHT"
8902VALIGN="TOP"
8903><I
8904CLASS="EMPHASIS"
8905>Returns</I
8906> :</TD
8907><TD
8908WIDTH="80%"
8909ALIGN="LEFT"
8910VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00008911>&nbsp;</TD
Daniel Veillarde356c282001-03-10 12:32:04 +00008912></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00008913></TBODY
Daniel Veillarde356c282001-03-10 12:32:04 +00008914></TABLE
8915><P
8916></P
8917></DIV
8918></DIV
8919><HR><DIV
8920CLASS="REFSECT2"
8921><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00008922NAME="AEN14397"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008923></A
8924><H3
8925><A
8926NAME="XMLXPATHLASTFUNCTION"
8927></A
8928>xmlXPathLastFunction ()</H3
8929><TABLE
8930BORDER="0"
8931BGCOLOR="#D6E8FF"
8932WIDTH="100%"
8933CELLPADDING="6"
8934><TR
8935><TD
8936><PRE
8937CLASS="PROGRAMLISTING"
8938>void xmlXPathLastFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008939HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00008940>xmlXPathParserContextPtr</A
8941> ctxt,
8942 int nargs);</PRE
8943></TD
8944></TR
8945></TABLE
8946><P
8947>Implement the <GTKDOCLINK
8948HREF="LAST"
8949>last</GTKDOCLINK
8950>() XPath function
8951number <GTKDOCLINK
8952HREF="LAST"
8953>last</GTKDOCLINK
8954>()
8955The last function returns the number of nodes in the context node list.</P
8956><P
8957></P
8958><DIV
8959CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008960><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00008961NAME="AEN14406"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008962></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00008963><P
8964></P
8965><TABLE
8966BORDER="0"
8967WIDTH="100%"
8968BGCOLOR="#FFD0D0"
8969CELLSPACING="0"
8970CELLPADDING="4"
8971CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008972><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00008973><TR
8974><TD
8975WIDTH="20%"
8976ALIGN="RIGHT"
8977VALIGN="TOP"
8978><TT
8979CLASS="PARAMETER"
8980><I
8981>ctxt</I
8982></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008983>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00008984><TD
8985WIDTH="80%"
8986ALIGN="LEFT"
8987VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00008988>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00008989></TR
8990><TR
8991><TD
8992WIDTH="20%"
8993ALIGN="RIGHT"
8994VALIGN="TOP"
8995><TT
8996CLASS="PARAMETER"
8997><I
8998>nargs</I
8999></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009000>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009001><TD
9002WIDTH="80%"
9003ALIGN="LEFT"
9004VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00009005>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009006></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00009007></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00009008></TABLE
9009><P
9010></P
9011></DIV
9012></DIV
9013><HR><DIV
9014CLASS="REFSECT2"
9015><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00009016NAME="AEN14419"
Daniel Veillard9753ad72000-11-13 19:12:23 +00009017></A
9018><H3
9019><A
9020NAME="XMLXPATHPOSITIONFUNCTION"
9021></A
9022>xmlXPathPositionFunction ()</H3
9023><TABLE
9024BORDER="0"
9025BGCOLOR="#D6E8FF"
9026WIDTH="100%"
9027CELLPADDING="6"
9028><TR
9029><TD
9030><PRE
9031CLASS="PROGRAMLISTING"
9032>void xmlXPathPositionFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009033HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00009034>xmlXPathParserContextPtr</A
9035> ctxt,
9036 int nargs);</PRE
9037></TD
9038></TR
9039></TABLE
9040><P
9041>Implement the <GTKDOCLINK
9042HREF="POSITION"
9043>position</GTKDOCLINK
9044>() XPath function
9045number <GTKDOCLINK
9046HREF="POSITION"
9047>position</GTKDOCLINK
9048>()
9049The position function returns the position of the context node in the
9050context node list. The first position is 1, and so the last positionr
9051will be equal to <GTKDOCLINK
9052HREF="LAST"
9053>last</GTKDOCLINK
9054>().</P
9055><P
9056></P
9057><DIV
9058CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009059><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00009060NAME="AEN14429"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009061></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00009062><P
9063></P
9064><TABLE
9065BORDER="0"
9066WIDTH="100%"
9067BGCOLOR="#FFD0D0"
9068CELLSPACING="0"
9069CELLPADDING="4"
9070CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009071><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00009072><TR
9073><TD
9074WIDTH="20%"
9075ALIGN="RIGHT"
9076VALIGN="TOP"
9077><TT
9078CLASS="PARAMETER"
9079><I
9080>ctxt</I
9081></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009082>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009083><TD
9084WIDTH="80%"
9085ALIGN="LEFT"
9086VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00009087>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009088></TR
9089><TR
9090><TD
9091WIDTH="20%"
9092ALIGN="RIGHT"
9093VALIGN="TOP"
9094><TT
9095CLASS="PARAMETER"
9096><I
9097>nargs</I
9098></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009099>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009100><TD
9101WIDTH="80%"
9102ALIGN="LEFT"
9103VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00009104>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009105></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00009106></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00009107></TABLE
9108><P
9109></P
9110></DIV
9111></DIV
9112><HR><DIV
9113CLASS="REFSECT2"
9114><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00009115NAME="AEN14442"
Daniel Veillard9753ad72000-11-13 19:12:23 +00009116></A
9117><H3
9118><A
9119NAME="XMLXPATHCOUNTFUNCTION"
9120></A
9121>xmlXPathCountFunction ()</H3
9122><TABLE
9123BORDER="0"
9124BGCOLOR="#D6E8FF"
9125WIDTH="100%"
9126CELLPADDING="6"
9127><TR
9128><TD
9129><PRE
9130CLASS="PROGRAMLISTING"
9131>void xmlXPathCountFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009132HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00009133>xmlXPathParserContextPtr</A
9134> ctxt,
9135 int nargs);</PRE
9136></TD
9137></TR
9138></TABLE
9139><P
9140>Implement the <GTKDOCLINK
9141HREF="COUNT"
9142>count</GTKDOCLINK
9143>() XPath function
9144number count(node-set)</P
9145><P
9146></P
9147><DIV
9148CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009149><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00009150NAME="AEN14450"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009151></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00009152><P
9153></P
9154><TABLE
9155BORDER="0"
9156WIDTH="100%"
9157BGCOLOR="#FFD0D0"
9158CELLSPACING="0"
9159CELLPADDING="4"
9160CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009161><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00009162><TR
9163><TD
9164WIDTH="20%"
9165ALIGN="RIGHT"
9166VALIGN="TOP"
9167><TT
9168CLASS="PARAMETER"
9169><I
9170>ctxt</I
9171></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009172>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009173><TD
9174WIDTH="80%"
9175ALIGN="LEFT"
9176VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00009177>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009178></TR
9179><TR
9180><TD
9181WIDTH="20%"
9182ALIGN="RIGHT"
9183VALIGN="TOP"
9184><TT
9185CLASS="PARAMETER"
9186><I
9187>nargs</I
9188></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009189>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009190><TD
9191WIDTH="80%"
9192ALIGN="LEFT"
9193VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00009194>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009195></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00009196></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00009197></TABLE
9198><P
9199></P
9200></DIV
9201></DIV
9202><HR><DIV
9203CLASS="REFSECT2"
9204><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00009205NAME="AEN14463"
Daniel Veillard9753ad72000-11-13 19:12:23 +00009206></A
9207><H3
9208><A
9209NAME="XMLXPATHLOCALNAMEFUNCTION"
9210></A
9211>xmlXPathLocalNameFunction ()</H3
9212><TABLE
9213BORDER="0"
9214BGCOLOR="#D6E8FF"
9215WIDTH="100%"
9216CELLPADDING="6"
9217><TR
9218><TD
9219><PRE
9220CLASS="PROGRAMLISTING"
9221>void xmlXPathLocalNameFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009222HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00009223>xmlXPathParserContextPtr</A
9224> ctxt,
9225 int nargs);</PRE
9226></TD
9227></TR
9228></TABLE
9229><P
9230>Implement the local-<GTKDOCLINK
9231HREF="NAME"
9232>name</GTKDOCLINK
9233>() XPath function
9234string local-name(node-set?)
9235The local-name function returns a string containing the local part
9236of the name of the node in the argument node-set that is first in
9237document order. If the node-set is empty or the first node has no
9238name, an empty string is returned. If the argument is omitted it
9239defaults to the context node.</P
9240><P
9241></P
9242><DIV
9243CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009244><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00009245NAME="AEN14471"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009246></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00009247><P
9248></P
9249><TABLE
9250BORDER="0"
9251WIDTH="100%"
9252BGCOLOR="#FFD0D0"
9253CELLSPACING="0"
9254CELLPADDING="4"
9255CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009256><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00009257><TR
9258><TD
9259WIDTH="20%"
9260ALIGN="RIGHT"
9261VALIGN="TOP"
9262><TT
9263CLASS="PARAMETER"
9264><I
9265>ctxt</I
9266></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009267>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009268><TD
9269WIDTH="80%"
9270ALIGN="LEFT"
9271VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00009272>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009273></TR
9274><TR
9275><TD
9276WIDTH="20%"
9277ALIGN="RIGHT"
9278VALIGN="TOP"
9279><TT
9280CLASS="PARAMETER"
9281><I
9282>nargs</I
9283></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009284>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009285><TD
9286WIDTH="80%"
9287ALIGN="LEFT"
9288VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00009289>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009290></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00009291></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00009292></TABLE
9293><P
9294></P
9295></DIV
9296></DIV
9297><HR><DIV
9298CLASS="REFSECT2"
9299><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00009300NAME="AEN14484"
Daniel Veillard9753ad72000-11-13 19:12:23 +00009301></A
9302><H3
9303><A
9304NAME="XMLXPATHNAMESPACEURIFUNCTION"
9305></A
9306>xmlXPathNamespaceURIFunction ()</H3
9307><TABLE
9308BORDER="0"
9309BGCOLOR="#D6E8FF"
9310WIDTH="100%"
9311CELLPADDING="6"
9312><TR
9313><TD
9314><PRE
9315CLASS="PROGRAMLISTING"
9316>void xmlXPathNamespaceURIFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009317HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00009318>xmlXPathParserContextPtr</A
9319> ctxt,
9320 int nargs);</PRE
9321></TD
9322></TR
9323></TABLE
9324><P
9325>Implement the namespace-<GTKDOCLINK
9326HREF="URI"
9327>uri</GTKDOCLINK
9328>() XPath function
9329string namespace-uri(node-set?)
9330The namespace-uri function returns a string containing the
9331namespace URI of the expanded name of the node in the argument
9332node-set that is first in document order. If the node-set is empty,
9333the first node has no name, or the expanded name has no namespace
9334URI, an empty string is returned. If the argument is omitted it
9335defaults to the context node.</P
9336><P
9337></P
9338><DIV
9339CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009340><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00009341NAME="AEN14492"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009342></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00009343><P
9344></P
9345><TABLE
9346BORDER="0"
9347WIDTH="100%"
9348BGCOLOR="#FFD0D0"
9349CELLSPACING="0"
9350CELLPADDING="4"
9351CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009352><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00009353><TR
9354><TD
9355WIDTH="20%"
9356ALIGN="RIGHT"
9357VALIGN="TOP"
9358><TT
9359CLASS="PARAMETER"
9360><I
9361>ctxt</I
9362></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009363>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009364><TD
9365WIDTH="80%"
9366ALIGN="LEFT"
9367VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00009368>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009369></TR
9370><TR
9371><TD
9372WIDTH="20%"
9373ALIGN="RIGHT"
9374VALIGN="TOP"
9375><TT
9376CLASS="PARAMETER"
9377><I
9378>nargs</I
9379></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009380>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009381><TD
9382WIDTH="80%"
9383ALIGN="LEFT"
9384VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00009385>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009386></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00009387></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00009388></TABLE
9389><P
9390></P
9391></DIV
9392></DIV
9393><HR><DIV
9394CLASS="REFSECT2"
9395><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00009396NAME="AEN14505"
Daniel Veillard9753ad72000-11-13 19:12:23 +00009397></A
9398><H3
9399><A
9400NAME="XMLXPATHSTRINGLENGTHFUNCTION"
9401></A
9402>xmlXPathStringLengthFunction ()</H3
9403><TABLE
9404BORDER="0"
9405BGCOLOR="#D6E8FF"
9406WIDTH="100%"
9407CELLPADDING="6"
9408><TR
9409><TD
9410><PRE
9411CLASS="PROGRAMLISTING"
9412>void xmlXPathStringLengthFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009413HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00009414>xmlXPathParserContextPtr</A
9415> ctxt,
9416 int nargs);</PRE
9417></TD
9418></TR
9419></TABLE
9420><P
9421>Implement the string-<GTKDOCLINK
9422HREF="LENGTH"
9423>length</GTKDOCLINK
9424>() XPath function
9425number string-length(string?)
9426The string-length returns the number of characters in the string
9427(see [3.6 Strings]). If the argument is omitted, it defaults to
9428the context node converted to a string, in other words the value
9429of the context node.</P
9430><P
9431></P
9432><DIV
9433CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009434><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00009435NAME="AEN14513"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009436></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00009437><P
9438></P
9439><TABLE
9440BORDER="0"
9441WIDTH="100%"
9442BGCOLOR="#FFD0D0"
9443CELLSPACING="0"
9444CELLPADDING="4"
9445CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009446><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00009447><TR
9448><TD
9449WIDTH="20%"
9450ALIGN="RIGHT"
9451VALIGN="TOP"
9452><TT
9453CLASS="PARAMETER"
9454><I
9455>ctxt</I
9456></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009457>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009458><TD
9459WIDTH="80%"
9460ALIGN="LEFT"
9461VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00009462>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009463></TR
9464><TR
9465><TD
9466WIDTH="20%"
9467ALIGN="RIGHT"
9468VALIGN="TOP"
9469><TT
9470CLASS="PARAMETER"
9471><I
9472>nargs</I
9473></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009474>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009475><TD
9476WIDTH="80%"
9477ALIGN="LEFT"
9478VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00009479>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009480></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00009481></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00009482></TABLE
9483><P
9484></P
9485></DIV
9486></DIV
9487><HR><DIV
9488CLASS="REFSECT2"
9489><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00009490NAME="AEN14526"
Daniel Veillard9753ad72000-11-13 19:12:23 +00009491></A
9492><H3
9493><A
9494NAME="XMLXPATHCONCATFUNCTION"
9495></A
9496>xmlXPathConcatFunction ()</H3
9497><TABLE
9498BORDER="0"
9499BGCOLOR="#D6E8FF"
9500WIDTH="100%"
9501CELLPADDING="6"
9502><TR
9503><TD
9504><PRE
9505CLASS="PROGRAMLISTING"
9506>void xmlXPathConcatFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009507HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00009508>xmlXPathParserContextPtr</A
9509> ctxt,
9510 int nargs);</PRE
9511></TD
9512></TR
9513></TABLE
9514><P
9515>Implement the <GTKDOCLINK
9516HREF="CONCAT"
9517>concat</GTKDOCLINK
9518>() XPath function
9519string concat(string, string, string*)
9520The concat function returns the concatenation of its arguments.</P
9521><P
9522></P
9523><DIV
9524CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009525><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00009526NAME="AEN14534"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009527></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00009528><P
9529></P
9530><TABLE
9531BORDER="0"
9532WIDTH="100%"
9533BGCOLOR="#FFD0D0"
9534CELLSPACING="0"
9535CELLPADDING="4"
9536CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009537><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00009538><TR
9539><TD
9540WIDTH="20%"
9541ALIGN="RIGHT"
9542VALIGN="TOP"
9543><TT
9544CLASS="PARAMETER"
9545><I
9546>ctxt</I
9547></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009548>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009549><TD
9550WIDTH="80%"
9551ALIGN="LEFT"
9552VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00009553>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009554></TR
9555><TR
9556><TD
9557WIDTH="20%"
9558ALIGN="RIGHT"
9559VALIGN="TOP"
9560><TT
9561CLASS="PARAMETER"
9562><I
9563>nargs</I
9564></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009565>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009566><TD
9567WIDTH="80%"
9568ALIGN="LEFT"
9569VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00009570>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009571></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00009572></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00009573></TABLE
9574><P
9575></P
9576></DIV
9577></DIV
9578><HR><DIV
9579CLASS="REFSECT2"
9580><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00009581NAME="AEN14547"
Daniel Veillard9753ad72000-11-13 19:12:23 +00009582></A
9583><H3
9584><A
9585NAME="XMLXPATHCONTAINSFUNCTION"
9586></A
9587>xmlXPathContainsFunction ()</H3
9588><TABLE
9589BORDER="0"
9590BGCOLOR="#D6E8FF"
9591WIDTH="100%"
9592CELLPADDING="6"
9593><TR
9594><TD
9595><PRE
9596CLASS="PROGRAMLISTING"
9597>void xmlXPathContainsFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009598HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00009599>xmlXPathParserContextPtr</A
9600> ctxt,
9601 int nargs);</PRE
9602></TD
9603></TR
9604></TABLE
9605><P
9606>Implement the <GTKDOCLINK
9607HREF="CONTAINS"
9608>contains</GTKDOCLINK
9609>() XPath function
9610boolean contains(string, string)
9611The contains function returns true if the first argument string
9612contains the second argument string, and otherwise returns false.</P
9613><P
9614></P
9615><DIV
9616CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009617><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00009618NAME="AEN14555"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009619></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00009620><P
9621></P
9622><TABLE
9623BORDER="0"
9624WIDTH="100%"
9625BGCOLOR="#FFD0D0"
9626CELLSPACING="0"
9627CELLPADDING="4"
9628CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009629><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00009630><TR
9631><TD
9632WIDTH="20%"
9633ALIGN="RIGHT"
9634VALIGN="TOP"
9635><TT
9636CLASS="PARAMETER"
9637><I
9638>ctxt</I
9639></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009640>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009641><TD
9642WIDTH="80%"
9643ALIGN="LEFT"
9644VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00009645>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009646></TR
9647><TR
9648><TD
9649WIDTH="20%"
9650ALIGN="RIGHT"
9651VALIGN="TOP"
9652><TT
9653CLASS="PARAMETER"
9654><I
9655>nargs</I
9656></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009657>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009658><TD
9659WIDTH="80%"
9660ALIGN="LEFT"
9661VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00009662>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009663></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00009664></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00009665></TABLE
9666><P
9667></P
9668></DIV
9669></DIV
9670><HR><DIV
9671CLASS="REFSECT2"
9672><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00009673NAME="AEN14568"
Daniel Veillard9753ad72000-11-13 19:12:23 +00009674></A
9675><H3
9676><A
9677NAME="XMLXPATHSTARTSWITHFUNCTION"
9678></A
9679>xmlXPathStartsWithFunction ()</H3
9680><TABLE
9681BORDER="0"
9682BGCOLOR="#D6E8FF"
9683WIDTH="100%"
9684CELLPADDING="6"
9685><TR
9686><TD
9687><PRE
9688CLASS="PROGRAMLISTING"
9689>void xmlXPathStartsWithFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009690HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00009691>xmlXPathParserContextPtr</A
9692> ctxt,
9693 int nargs);</PRE
9694></TD
9695></TR
9696></TABLE
9697><P
9698>Implement the starts-<GTKDOCLINK
9699HREF="WITH"
9700>with</GTKDOCLINK
9701>() XPath function
9702boolean starts-with(string, string)
9703The starts-with function returns true if the first argument string
9704starts with the second argument string, and otherwise returns false.</P
9705><P
9706></P
9707><DIV
9708CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009709><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00009710NAME="AEN14576"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009711></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00009712><P
9713></P
9714><TABLE
9715BORDER="0"
9716WIDTH="100%"
9717BGCOLOR="#FFD0D0"
9718CELLSPACING="0"
9719CELLPADDING="4"
9720CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009721><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00009722><TR
9723><TD
9724WIDTH="20%"
9725ALIGN="RIGHT"
9726VALIGN="TOP"
9727><TT
9728CLASS="PARAMETER"
9729><I
9730>ctxt</I
9731></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009732>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009733><TD
9734WIDTH="80%"
9735ALIGN="LEFT"
9736VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00009737>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009738></TR
9739><TR
9740><TD
9741WIDTH="20%"
9742ALIGN="RIGHT"
9743VALIGN="TOP"
9744><TT
9745CLASS="PARAMETER"
9746><I
9747>nargs</I
9748></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009749>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009750><TD
9751WIDTH="80%"
9752ALIGN="LEFT"
9753VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00009754>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009755></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00009756></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00009757></TABLE
9758><P
9759></P
9760></DIV
9761></DIV
9762><HR><DIV
9763CLASS="REFSECT2"
9764><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00009765NAME="AEN14589"
Daniel Veillard9753ad72000-11-13 19:12:23 +00009766></A
9767><H3
9768><A
9769NAME="XMLXPATHSUBSTRINGFUNCTION"
9770></A
9771>xmlXPathSubstringFunction ()</H3
9772><TABLE
9773BORDER="0"
9774BGCOLOR="#D6E8FF"
9775WIDTH="100%"
9776CELLPADDING="6"
9777><TR
9778><TD
9779><PRE
9780CLASS="PROGRAMLISTING"
9781>void xmlXPathSubstringFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009782HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00009783>xmlXPathParserContextPtr</A
9784> ctxt,
9785 int nargs);</PRE
9786></TD
9787></TR
9788></TABLE
9789><P
9790>Implement the <GTKDOCLINK
9791HREF="SUBSTRING"
9792>substring</GTKDOCLINK
9793>() XPath function
9794string substring(string, number, number?)
9795The substring function returns the substring of the first argument
9796starting at the position specified in the second argument with
9797length specified in the third argument. For example,
9798substring("12345",2,3) returns "234". If the third argument is not
9799specified, it returns the substring starting at the position specified
9800in the second argument and continuing to the end of the string. For
9801example, substring("12345",2) returns "2345". More precisely, each
9802character in the string (see [3.6 Strings]) is considered to have a
9803numeric position: the position of the first character is 1, the position
9804of the second character is 2 and so on. The returned substring contains
9805those characters for which the position of the character is greater than
9806or equal to the second argument and, if the third argument is specified,
9807less than the sum of the second and third arguments; the comparisons
9808and addition used for the above follow the standard IEEE 754 rules. Thus:
9809- substring("12345", 1.5, 2.6) returns "234"
9810- substring("12345", 0, 3) returns "12"
9811- substring("12345", 0 div 0, 3) returns ""
9812- substring("12345", 1, 0 div 0) returns ""
9813- substring("12345", -42, 1 div 0) returns "12345"
9814- substring("12345", -1 div 0, 1 div 0) returns ""</P
9815><P
9816></P
9817><DIV
9818CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009819><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00009820NAME="AEN14597"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009821></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00009822><P
9823></P
9824><TABLE
9825BORDER="0"
9826WIDTH="100%"
9827BGCOLOR="#FFD0D0"
9828CELLSPACING="0"
9829CELLPADDING="4"
9830CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009831><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00009832><TR
9833><TD
9834WIDTH="20%"
9835ALIGN="RIGHT"
9836VALIGN="TOP"
9837><TT
9838CLASS="PARAMETER"
9839><I
9840>ctxt</I
9841></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009842>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009843><TD
9844WIDTH="80%"
9845ALIGN="LEFT"
9846VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00009847>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009848></TR
9849><TR
9850><TD
9851WIDTH="20%"
9852ALIGN="RIGHT"
9853VALIGN="TOP"
9854><TT
9855CLASS="PARAMETER"
9856><I
9857>nargs</I
9858></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009859>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009860><TD
9861WIDTH="80%"
9862ALIGN="LEFT"
9863VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00009864>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009865></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00009866></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00009867></TABLE
9868><P
9869></P
9870></DIV
9871></DIV
9872><HR><DIV
9873CLASS="REFSECT2"
9874><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00009875NAME="AEN14610"
Daniel Veillard9753ad72000-11-13 19:12:23 +00009876></A
9877><H3
9878><A
9879NAME="XMLXPATHSUBSTRINGBEFOREFUNCTION"
9880></A
9881>xmlXPathSubstringBeforeFunction ()</H3
9882><TABLE
9883BORDER="0"
9884BGCOLOR="#D6E8FF"
9885WIDTH="100%"
9886CELLPADDING="6"
9887><TR
9888><TD
9889><PRE
9890CLASS="PROGRAMLISTING"
9891>void xmlXPathSubstringBeforeFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009892HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00009893>xmlXPathParserContextPtr</A
9894> ctxt,
9895 int nargs);</PRE
9896></TD
9897></TR
9898></TABLE
9899><P
9900>Implement the substring-<GTKDOCLINK
9901HREF="BEFORE"
9902>before</GTKDOCLINK
9903>() XPath function
9904string substring-before(string, string)
9905The substring-before function returns the substring of the first
9906argument string that precedes the first occurrence of the second
9907argument string in the first argument string, or the empty string
9908if the first argument string does not contain the second argument
9909string. For example, substring-before("1999/04/01","/") returns 1999.</P
9910><P
9911></P
9912><DIV
9913CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009914><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00009915NAME="AEN14618"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009916></A
Daniel Veillard9753ad72000-11-13 19:12:23 +00009917><P
9918></P
9919><TABLE
9920BORDER="0"
9921WIDTH="100%"
9922BGCOLOR="#FFD0D0"
9923CELLSPACING="0"
9924CELLPADDING="4"
9925CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009926><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00009927><TR
9928><TD
9929WIDTH="20%"
9930ALIGN="RIGHT"
9931VALIGN="TOP"
9932><TT
9933CLASS="PARAMETER"
9934><I
9935>ctxt</I
9936></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009937>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009938><TD
9939WIDTH="80%"
9940ALIGN="LEFT"
9941VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00009942>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009943></TR
9944><TR
9945><TD
9946WIDTH="20%"
9947ALIGN="RIGHT"
9948VALIGN="TOP"
9949><TT
9950CLASS="PARAMETER"
9951><I
9952>nargs</I
9953></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009954>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009955><TD
9956WIDTH="80%"
9957ALIGN="LEFT"
9958VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00009959>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +00009960></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00009961></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +00009962></TABLE
9963><P
9964></P
9965></DIV
9966></DIV
9967><HR><DIV
9968CLASS="REFSECT2"
9969><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00009970NAME="AEN14631"
Daniel Veillard9753ad72000-11-13 19:12:23 +00009971></A
9972><H3
9973><A
9974NAME="XMLXPATHSUBSTRINGAFTERFUNCTION"
9975></A
9976>xmlXPathSubstringAfterFunction ()</H3
9977><TABLE
9978BORDER="0"
9979BGCOLOR="#D6E8FF"
9980WIDTH="100%"
9981CELLPADDING="6"
9982><TR
9983><TD
9984><PRE
9985CLASS="PROGRAMLISTING"
9986>void xmlXPathSubstringAfterFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009987HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +00009988>xmlXPathParserContextPtr</A
9989> ctxt,
9990 int nargs);</PRE
9991></TD
9992></TR
9993></TABLE
9994><P
9995>Implement the substring-<GTKDOCLINK
9996HREF="AFTER"
9997>after</GTKDOCLINK
9998>() XPath function
9999string substring-after(string, string)
10000The substring-after function returns the substring of the first
10001argument string that follows the first occurrence of the second
10002argument string in the first argument string, or the empty stringi
10003if the first argument string does not contain the second argument
10004string. For example, substring-after("1999/04/01","/") returns 04/01,
10005and substring-after("1999/04/01","19") returns 99/04/01.</P
10006><P
10007></P
10008><DIV
10009CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010010><A
Daniel Veillardc5d64342001-06-24 12:13:24 +000010011NAME="AEN14639"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010012></A
Daniel Veillard9753ad72000-11-13 19:12:23 +000010013><P
10014></P
10015><TABLE
10016BORDER="0"
10017WIDTH="100%"
10018BGCOLOR="#FFD0D0"
10019CELLSPACING="0"
10020CELLPADDING="4"
10021CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010022><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +000010023><TR
10024><TD
10025WIDTH="20%"
10026ALIGN="RIGHT"
10027VALIGN="TOP"
10028><TT
10029CLASS="PARAMETER"
10030><I
10031>ctxt</I
10032></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010033>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010034><TD
10035WIDTH="80%"
10036ALIGN="LEFT"
10037VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +000010038>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010039></TR
10040><TR
10041><TD
10042WIDTH="20%"
10043ALIGN="RIGHT"
10044VALIGN="TOP"
10045><TT
10046CLASS="PARAMETER"
10047><I
10048>nargs</I
10049></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010050>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010051><TD
10052WIDTH="80%"
10053ALIGN="LEFT"
10054VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +000010055>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010056></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000010057></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +000010058></TABLE
10059><P
10060></P
10061></DIV
10062></DIV
10063><HR><DIV
10064CLASS="REFSECT2"
10065><A
Daniel Veillardc5d64342001-06-24 12:13:24 +000010066NAME="AEN14652"
Daniel Veillard9753ad72000-11-13 19:12:23 +000010067></A
10068><H3
10069><A
10070NAME="XMLXPATHNORMALIZEFUNCTION"
10071></A
10072>xmlXPathNormalizeFunction ()</H3
10073><TABLE
10074BORDER="0"
10075BGCOLOR="#D6E8FF"
10076WIDTH="100%"
10077CELLPADDING="6"
10078><TR
10079><TD
10080><PRE
10081CLASS="PROGRAMLISTING"
10082>void xmlXPathNormalizeFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010083HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +000010084>xmlXPathParserContextPtr</A
10085> ctxt,
10086 int nargs);</PRE
10087></TD
10088></TR
10089></TABLE
10090><P
10091>Implement the normalize-<GTKDOCLINK
10092HREF="SPACE"
10093>space</GTKDOCLINK
10094>() XPath function
10095string normalize-space(string?)
10096The normalize-space function returns the argument string with white
10097space normalized by stripping leading and trailing whitespace
10098and replacing sequences of whitespace characters by a single
10099space. Whitespace characters are the same allowed by the S production
10100in XML. If the argument is omitted, it defaults to the context
10101node converted to a string, in other words the value of the context node.</P
10102><P
10103></P
10104><DIV
10105CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010106><A
Daniel Veillardc5d64342001-06-24 12:13:24 +000010107NAME="AEN14660"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010108></A
Daniel Veillard9753ad72000-11-13 19:12:23 +000010109><P
10110></P
10111><TABLE
10112BORDER="0"
10113WIDTH="100%"
10114BGCOLOR="#FFD0D0"
10115CELLSPACING="0"
10116CELLPADDING="4"
10117CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010118><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +000010119><TR
10120><TD
10121WIDTH="20%"
10122ALIGN="RIGHT"
10123VALIGN="TOP"
10124><TT
10125CLASS="PARAMETER"
10126><I
10127>ctxt</I
10128></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010129>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010130><TD
10131WIDTH="80%"
10132ALIGN="LEFT"
10133VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +000010134>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010135></TR
10136><TR
10137><TD
10138WIDTH="20%"
10139ALIGN="RIGHT"
10140VALIGN="TOP"
10141><TT
10142CLASS="PARAMETER"
10143><I
10144>nargs</I
10145></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010146>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010147><TD
10148WIDTH="80%"
10149ALIGN="LEFT"
10150VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +000010151>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010152></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000010153></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +000010154></TABLE
10155><P
10156></P
10157></DIV
10158></DIV
10159><HR><DIV
10160CLASS="REFSECT2"
10161><A
Daniel Veillardc5d64342001-06-24 12:13:24 +000010162NAME="AEN14673"
Daniel Veillard9753ad72000-11-13 19:12:23 +000010163></A
10164><H3
10165><A
10166NAME="XMLXPATHTRANSLATEFUNCTION"
10167></A
10168>xmlXPathTranslateFunction ()</H3
10169><TABLE
10170BORDER="0"
10171BGCOLOR="#D6E8FF"
10172WIDTH="100%"
10173CELLPADDING="6"
10174><TR
10175><TD
10176><PRE
10177CLASS="PROGRAMLISTING"
10178>void xmlXPathTranslateFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010179HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +000010180>xmlXPathParserContextPtr</A
10181> ctxt,
10182 int nargs);</PRE
10183></TD
10184></TR
10185></TABLE
10186><P
10187>Implement the <GTKDOCLINK
10188HREF="TRANSLATE"
10189>translate</GTKDOCLINK
10190>() XPath function
10191string translate(string, string, string)
10192The translate function returns the first argument string with
10193occurrences of characters in the second argument string replaced
10194by the character at the corresponding position in the third argument
10195string. For example, translate("bar","abc","ABC") returns the string
10196BAr. If there is a character in the second argument string with no
10197character at a corresponding position in the third argument string
10198(because the second argument string is longer than the third argument
10199string), then occurrences of that character in the first argument
10200string are removed. For example, translate("--aaa--","abc-","ABC")</P
10201><P
10202></P
10203><DIV
10204CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010205><A
Daniel Veillardc5d64342001-06-24 12:13:24 +000010206NAME="AEN14681"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010207></A
Daniel Veillard9753ad72000-11-13 19:12:23 +000010208><P
10209></P
10210><TABLE
10211BORDER="0"
10212WIDTH="100%"
10213BGCOLOR="#FFD0D0"
10214CELLSPACING="0"
10215CELLPADDING="4"
10216CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010217><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +000010218><TR
10219><TD
10220WIDTH="20%"
10221ALIGN="RIGHT"
10222VALIGN="TOP"
10223><TT
10224CLASS="PARAMETER"
10225><I
10226>ctxt</I
10227></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010228>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010229><TD
10230WIDTH="80%"
10231ALIGN="LEFT"
10232VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +000010233>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010234></TR
10235><TR
10236><TD
10237WIDTH="20%"
10238ALIGN="RIGHT"
10239VALIGN="TOP"
10240><TT
10241CLASS="PARAMETER"
10242><I
10243>nargs</I
10244></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010245>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010246><TD
10247WIDTH="80%"
10248ALIGN="LEFT"
10249VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +000010250>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010251></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000010252></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +000010253></TABLE
10254><P
10255></P
10256></DIV
10257></DIV
10258><HR><DIV
10259CLASS="REFSECT2"
10260><A
Daniel Veillardc5d64342001-06-24 12:13:24 +000010261NAME="AEN14694"
Daniel Veillard9753ad72000-11-13 19:12:23 +000010262></A
10263><H3
10264><A
10265NAME="XMLXPATHNOTFUNCTION"
10266></A
10267>xmlXPathNotFunction ()</H3
10268><TABLE
10269BORDER="0"
10270BGCOLOR="#D6E8FF"
10271WIDTH="100%"
10272CELLPADDING="6"
10273><TR
10274><TD
10275><PRE
10276CLASS="PROGRAMLISTING"
10277>void xmlXPathNotFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010278HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +000010279>xmlXPathParserContextPtr</A
10280> ctxt,
10281 int nargs);</PRE
10282></TD
10283></TR
10284></TABLE
10285><P
10286>Implement the <GTKDOCLINK
10287HREF="NOT"
10288>not</GTKDOCLINK
10289>() XPath function
10290boolean not(boolean)
10291The not function returns true if its argument is false,
10292and false otherwise.</P
10293><P
10294></P
10295><DIV
10296CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010297><A
Daniel Veillardc5d64342001-06-24 12:13:24 +000010298NAME="AEN14702"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010299></A
Daniel Veillard9753ad72000-11-13 19:12:23 +000010300><P
10301></P
10302><TABLE
10303BORDER="0"
10304WIDTH="100%"
10305BGCOLOR="#FFD0D0"
10306CELLSPACING="0"
10307CELLPADDING="4"
10308CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010309><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +000010310><TR
10311><TD
10312WIDTH="20%"
10313ALIGN="RIGHT"
10314VALIGN="TOP"
10315><TT
10316CLASS="PARAMETER"
10317><I
10318>ctxt</I
10319></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010320>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010321><TD
10322WIDTH="80%"
10323ALIGN="LEFT"
10324VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +000010325>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010326></TR
10327><TR
10328><TD
10329WIDTH="20%"
10330ALIGN="RIGHT"
10331VALIGN="TOP"
10332><TT
10333CLASS="PARAMETER"
10334><I
10335>nargs</I
10336></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010337>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010338><TD
10339WIDTH="80%"
10340ALIGN="LEFT"
10341VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +000010342>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010343></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000010344></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +000010345></TABLE
10346><P
10347></P
10348></DIV
10349></DIV
10350><HR><DIV
10351CLASS="REFSECT2"
10352><A
Daniel Veillardc5d64342001-06-24 12:13:24 +000010353NAME="AEN14715"
Daniel Veillard9753ad72000-11-13 19:12:23 +000010354></A
10355><H3
10356><A
10357NAME="XMLXPATHTRUEFUNCTION"
10358></A
10359>xmlXPathTrueFunction ()</H3
10360><TABLE
10361BORDER="0"
10362BGCOLOR="#D6E8FF"
10363WIDTH="100%"
10364CELLPADDING="6"
10365><TR
10366><TD
10367><PRE
10368CLASS="PROGRAMLISTING"
10369>void xmlXPathTrueFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010370HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +000010371>xmlXPathParserContextPtr</A
10372> ctxt,
10373 int nargs);</PRE
10374></TD
10375></TR
10376></TABLE
10377><P
10378>Implement the <GTKDOCLINK
10379HREF="TRUE"
10380>true</GTKDOCLINK
10381>() XPath function
10382boolean <GTKDOCLINK
10383HREF="TRUE"
10384>true</GTKDOCLINK
10385>()</P
10386><P
10387></P
10388><DIV
10389CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010390><A
Daniel Veillardc5d64342001-06-24 12:13:24 +000010391NAME="AEN14724"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010392></A
Daniel Veillard9753ad72000-11-13 19:12:23 +000010393><P
10394></P
10395><TABLE
10396BORDER="0"
10397WIDTH="100%"
10398BGCOLOR="#FFD0D0"
10399CELLSPACING="0"
10400CELLPADDING="4"
10401CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010402><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +000010403><TR
10404><TD
10405WIDTH="20%"
10406ALIGN="RIGHT"
10407VALIGN="TOP"
10408><TT
10409CLASS="PARAMETER"
10410><I
10411>ctxt</I
10412></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010413>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010414><TD
10415WIDTH="80%"
10416ALIGN="LEFT"
10417VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +000010418>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010419></TR
10420><TR
10421><TD
10422WIDTH="20%"
10423ALIGN="RIGHT"
10424VALIGN="TOP"
10425><TT
10426CLASS="PARAMETER"
10427><I
10428>nargs</I
10429></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010430>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010431><TD
10432WIDTH="80%"
10433ALIGN="LEFT"
10434VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +000010435>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010436></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000010437></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +000010438></TABLE
10439><P
10440></P
10441></DIV
10442></DIV
10443><HR><DIV
10444CLASS="REFSECT2"
10445><A
Daniel Veillardc5d64342001-06-24 12:13:24 +000010446NAME="AEN14737"
Daniel Veillard9753ad72000-11-13 19:12:23 +000010447></A
10448><H3
10449><A
10450NAME="XMLXPATHFALSEFUNCTION"
10451></A
10452>xmlXPathFalseFunction ()</H3
10453><TABLE
10454BORDER="0"
10455BGCOLOR="#D6E8FF"
10456WIDTH="100%"
10457CELLPADDING="6"
10458><TR
10459><TD
10460><PRE
10461CLASS="PROGRAMLISTING"
10462>void xmlXPathFalseFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010463HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +000010464>xmlXPathParserContextPtr</A
10465> ctxt,
10466 int nargs);</PRE
10467></TD
10468></TR
10469></TABLE
10470><P
10471>Implement the <GTKDOCLINK
10472HREF="FALSE"
10473>false</GTKDOCLINK
10474>() XPath function
10475boolean <GTKDOCLINK
10476HREF="FALSE"
10477>false</GTKDOCLINK
10478>()</P
10479><P
10480></P
10481><DIV
10482CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010483><A
Daniel Veillardc5d64342001-06-24 12:13:24 +000010484NAME="AEN14746"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010485></A
Daniel Veillard9753ad72000-11-13 19:12:23 +000010486><P
10487></P
10488><TABLE
10489BORDER="0"
10490WIDTH="100%"
10491BGCOLOR="#FFD0D0"
10492CELLSPACING="0"
10493CELLPADDING="4"
10494CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010495><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +000010496><TR
10497><TD
10498WIDTH="20%"
10499ALIGN="RIGHT"
10500VALIGN="TOP"
10501><TT
10502CLASS="PARAMETER"
10503><I
10504>ctxt</I
10505></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010506>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010507><TD
10508WIDTH="80%"
10509ALIGN="LEFT"
10510VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +000010511>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010512></TR
10513><TR
10514><TD
10515WIDTH="20%"
10516ALIGN="RIGHT"
10517VALIGN="TOP"
10518><TT
10519CLASS="PARAMETER"
10520><I
10521>nargs</I
10522></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010523>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010524><TD
10525WIDTH="80%"
10526ALIGN="LEFT"
10527VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +000010528>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010529></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000010530></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +000010531></TABLE
10532><P
10533></P
10534></DIV
10535></DIV
10536><HR><DIV
10537CLASS="REFSECT2"
10538><A
Daniel Veillardc5d64342001-06-24 12:13:24 +000010539NAME="AEN14759"
Daniel Veillard9753ad72000-11-13 19:12:23 +000010540></A
10541><H3
10542><A
10543NAME="XMLXPATHLANGFUNCTION"
10544></A
10545>xmlXPathLangFunction ()</H3
10546><TABLE
10547BORDER="0"
10548BGCOLOR="#D6E8FF"
10549WIDTH="100%"
10550CELLPADDING="6"
10551><TR
10552><TD
10553><PRE
10554CLASS="PROGRAMLISTING"
10555>void xmlXPathLangFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010556HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +000010557>xmlXPathParserContextPtr</A
10558> ctxt,
10559 int nargs);</PRE
10560></TD
10561></TR
10562></TABLE
10563><P
10564>Implement the <GTKDOCLINK
10565HREF="LANG"
10566>lang</GTKDOCLINK
10567>() XPath function
10568boolean lang(string)
10569The lang function returns true or false depending on whether the
10570language of the context node as specified by xml:lang attributes
10571is the same as or is a sublanguage of the language specified by
10572the argument string. The language of the context node is determined
10573by the value of the xml:lang attribute on the context node, or, if
10574the context node has no xml:lang attribute, by the value of the
10575xml:lang attribute on the nearest ancestor of the context node that
10576has an xml:lang attribute. If there is no such attribute, then lang</P
10577><P
10578></P
10579><DIV
10580CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010581><A
Daniel Veillardc5d64342001-06-24 12:13:24 +000010582NAME="AEN14767"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010583></A
Daniel Veillard9753ad72000-11-13 19:12:23 +000010584><P
10585></P
10586><TABLE
10587BORDER="0"
10588WIDTH="100%"
10589BGCOLOR="#FFD0D0"
10590CELLSPACING="0"
10591CELLPADDING="4"
10592CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010593><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +000010594><TR
10595><TD
10596WIDTH="20%"
10597ALIGN="RIGHT"
10598VALIGN="TOP"
10599><TT
10600CLASS="PARAMETER"
10601><I
10602>ctxt</I
10603></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010604>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010605><TD
10606WIDTH="80%"
10607ALIGN="LEFT"
10608VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +000010609>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010610></TR
10611><TR
10612><TD
10613WIDTH="20%"
10614ALIGN="RIGHT"
10615VALIGN="TOP"
10616><TT
10617CLASS="PARAMETER"
10618><I
10619>nargs</I
10620></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010621>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010622><TD
10623WIDTH="80%"
10624ALIGN="LEFT"
10625VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +000010626>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010627></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000010628></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +000010629></TABLE
10630><P
10631></P
10632></DIV
10633></DIV
10634><HR><DIV
10635CLASS="REFSECT2"
10636><A
Daniel Veillardc5d64342001-06-24 12:13:24 +000010637NAME="AEN14780"
Daniel Veillard9753ad72000-11-13 19:12:23 +000010638></A
10639><H3
10640><A
10641NAME="XMLXPATHNUMBERFUNCTION"
10642></A
10643>xmlXPathNumberFunction ()</H3
10644><TABLE
10645BORDER="0"
10646BGCOLOR="#D6E8FF"
10647WIDTH="100%"
10648CELLPADDING="6"
10649><TR
10650><TD
10651><PRE
10652CLASS="PROGRAMLISTING"
10653>void xmlXPathNumberFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010654HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +000010655>xmlXPathParserContextPtr</A
10656> ctxt,
10657 int nargs);</PRE
10658></TD
10659></TR
10660></TABLE
10661><P
10662>Implement the <GTKDOCLINK
10663HREF="NUMBER"
10664>number</GTKDOCLINK
10665>() XPath function
10666number number(object?)</P
10667><P
10668></P
10669><DIV
10670CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010671><A
Daniel Veillardc5d64342001-06-24 12:13:24 +000010672NAME="AEN14788"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010673></A
Daniel Veillard9753ad72000-11-13 19:12:23 +000010674><P
10675></P
10676><TABLE
10677BORDER="0"
10678WIDTH="100%"
10679BGCOLOR="#FFD0D0"
10680CELLSPACING="0"
10681CELLPADDING="4"
10682CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010683><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +000010684><TR
10685><TD
10686WIDTH="20%"
10687ALIGN="RIGHT"
10688VALIGN="TOP"
10689><TT
10690CLASS="PARAMETER"
10691><I
10692>ctxt</I
10693></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010694>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010695><TD
10696WIDTH="80%"
10697ALIGN="LEFT"
10698VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +000010699>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010700></TR
10701><TR
10702><TD
10703WIDTH="20%"
10704ALIGN="RIGHT"
10705VALIGN="TOP"
10706><TT
10707CLASS="PARAMETER"
10708><I
10709>nargs</I
10710></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010711>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010712><TD
10713WIDTH="80%"
10714ALIGN="LEFT"
10715VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +000010716>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010717></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000010718></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +000010719></TABLE
10720><P
10721></P
10722></DIV
10723></DIV
10724><HR><DIV
10725CLASS="REFSECT2"
10726><A
Daniel Veillardc5d64342001-06-24 12:13:24 +000010727NAME="AEN14801"
Daniel Veillard9753ad72000-11-13 19:12:23 +000010728></A
10729><H3
10730><A
10731NAME="XMLXPATHSUMFUNCTION"
10732></A
10733>xmlXPathSumFunction ()</H3
10734><TABLE
10735BORDER="0"
10736BGCOLOR="#D6E8FF"
10737WIDTH="100%"
10738CELLPADDING="6"
10739><TR
10740><TD
10741><PRE
10742CLASS="PROGRAMLISTING"
10743>void xmlXPathSumFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010744HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +000010745>xmlXPathParserContextPtr</A
10746> ctxt,
10747 int nargs);</PRE
10748></TD
10749></TR
10750></TABLE
10751><P
10752>Implement the <GTKDOCLINK
10753HREF="SUM"
10754>sum</GTKDOCLINK
10755>() XPath function
10756number sum(node-set)
10757The sum function returns the sum of the values of the nodes in
10758the argument node-set.</P
10759><P
10760></P
10761><DIV
10762CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010763><A
Daniel Veillardc5d64342001-06-24 12:13:24 +000010764NAME="AEN14809"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010765></A
Daniel Veillard9753ad72000-11-13 19:12:23 +000010766><P
10767></P
10768><TABLE
10769BORDER="0"
10770WIDTH="100%"
10771BGCOLOR="#FFD0D0"
10772CELLSPACING="0"
10773CELLPADDING="4"
10774CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010775><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +000010776><TR
10777><TD
10778WIDTH="20%"
10779ALIGN="RIGHT"
10780VALIGN="TOP"
10781><TT
10782CLASS="PARAMETER"
10783><I
10784>ctxt</I
10785></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010786>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010787><TD
10788WIDTH="80%"
10789ALIGN="LEFT"
10790VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +000010791>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010792></TR
10793><TR
10794><TD
10795WIDTH="20%"
10796ALIGN="RIGHT"
10797VALIGN="TOP"
10798><TT
10799CLASS="PARAMETER"
10800><I
10801>nargs</I
10802></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010803>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010804><TD
10805WIDTH="80%"
10806ALIGN="LEFT"
10807VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +000010808>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010809></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000010810></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +000010811></TABLE
10812><P
10813></P
10814></DIV
10815></DIV
10816><HR><DIV
10817CLASS="REFSECT2"
10818><A
Daniel Veillardc5d64342001-06-24 12:13:24 +000010819NAME="AEN14822"
Daniel Veillard9753ad72000-11-13 19:12:23 +000010820></A
10821><H3
10822><A
10823NAME="XMLXPATHFLOORFUNCTION"
10824></A
10825>xmlXPathFloorFunction ()</H3
10826><TABLE
10827BORDER="0"
10828BGCOLOR="#D6E8FF"
10829WIDTH="100%"
10830CELLPADDING="6"
10831><TR
10832><TD
10833><PRE
10834CLASS="PROGRAMLISTING"
10835>void xmlXPathFloorFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010836HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +000010837>xmlXPathParserContextPtr</A
10838> ctxt,
10839 int nargs);</PRE
10840></TD
10841></TR
10842></TABLE
10843><P
10844>Implement the <GTKDOCLINK
10845HREF="FLOOR"
10846>floor</GTKDOCLINK
10847>() XPath function
10848number floor(number)
10849The floor function returns the largest (closest to positive infinity)
10850number that is not greater than the argument and that is an integer.</P
10851><P
10852></P
10853><DIV
10854CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010855><A
Daniel Veillardc5d64342001-06-24 12:13:24 +000010856NAME="AEN14830"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010857></A
Daniel Veillard9753ad72000-11-13 19:12:23 +000010858><P
10859></P
10860><TABLE
10861BORDER="0"
10862WIDTH="100%"
10863BGCOLOR="#FFD0D0"
10864CELLSPACING="0"
10865CELLPADDING="4"
10866CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010867><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +000010868><TR
10869><TD
10870WIDTH="20%"
10871ALIGN="RIGHT"
10872VALIGN="TOP"
10873><TT
10874CLASS="PARAMETER"
10875><I
10876>ctxt</I
10877></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010878>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010879><TD
10880WIDTH="80%"
10881ALIGN="LEFT"
10882VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +000010883>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010884></TR
10885><TR
10886><TD
10887WIDTH="20%"
10888ALIGN="RIGHT"
10889VALIGN="TOP"
10890><TT
10891CLASS="PARAMETER"
10892><I
10893>nargs</I
10894></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010895>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010896><TD
10897WIDTH="80%"
10898ALIGN="LEFT"
10899VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +000010900>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010901></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000010902></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +000010903></TABLE
10904><P
10905></P
10906></DIV
10907></DIV
10908><HR><DIV
10909CLASS="REFSECT2"
10910><A
Daniel Veillardc5d64342001-06-24 12:13:24 +000010911NAME="AEN14843"
Daniel Veillard9753ad72000-11-13 19:12:23 +000010912></A
10913><H3
10914><A
10915NAME="XMLXPATHCEILINGFUNCTION"
10916></A
10917>xmlXPathCeilingFunction ()</H3
10918><TABLE
10919BORDER="0"
10920BGCOLOR="#D6E8FF"
10921WIDTH="100%"
10922CELLPADDING="6"
10923><TR
10924><TD
10925><PRE
10926CLASS="PROGRAMLISTING"
10927>void xmlXPathCeilingFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010928HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +000010929>xmlXPathParserContextPtr</A
10930> ctxt,
10931 int nargs);</PRE
10932></TD
10933></TR
10934></TABLE
10935><P
10936>Implement the <GTKDOCLINK
10937HREF="CEILING"
10938>ceiling</GTKDOCLINK
10939>() XPath function
10940number ceiling(number)
10941The ceiling function returns the smallest (closest to negative infinity)
10942number that is not less than the argument and that is an integer.</P
10943><P
10944></P
10945><DIV
10946CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010947><A
Daniel Veillardc5d64342001-06-24 12:13:24 +000010948NAME="AEN14851"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010949></A
Daniel Veillard9753ad72000-11-13 19:12:23 +000010950><P
10951></P
10952><TABLE
10953BORDER="0"
10954WIDTH="100%"
10955BGCOLOR="#FFD0D0"
10956CELLSPACING="0"
10957CELLPADDING="4"
10958CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010959><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +000010960><TR
10961><TD
10962WIDTH="20%"
10963ALIGN="RIGHT"
10964VALIGN="TOP"
10965><TT
10966CLASS="PARAMETER"
10967><I
10968>ctxt</I
10969></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010970>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010971><TD
10972WIDTH="80%"
10973ALIGN="LEFT"
10974VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +000010975>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010976></TR
10977><TR
10978><TD
10979WIDTH="20%"
10980ALIGN="RIGHT"
10981VALIGN="TOP"
10982><TT
10983CLASS="PARAMETER"
10984><I
10985>nargs</I
10986></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010987>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010988><TD
10989WIDTH="80%"
10990ALIGN="LEFT"
10991VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +000010992>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000010993></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000010994></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +000010995></TABLE
10996><P
10997></P
10998></DIV
10999></DIV
11000><HR><DIV
11001CLASS="REFSECT2"
11002><A
Daniel Veillardc5d64342001-06-24 12:13:24 +000011003NAME="AEN14864"
Daniel Veillard9753ad72000-11-13 19:12:23 +000011004></A
11005><H3
11006><A
11007NAME="XMLXPATHROUNDFUNCTION"
11008></A
11009>xmlXPathRoundFunction ()</H3
11010><TABLE
11011BORDER="0"
11012BGCOLOR="#D6E8FF"
11013WIDTH="100%"
11014CELLPADDING="6"
11015><TR
11016><TD
11017><PRE
11018CLASS="PROGRAMLISTING"
11019>void xmlXPathRoundFunction (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011020HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
Daniel Veillard9753ad72000-11-13 19:12:23 +000011021>xmlXPathParserContextPtr</A
11022> ctxt,
11023 int nargs);</PRE
11024></TD
11025></TR
11026></TABLE
11027><P
11028>Implement the <GTKDOCLINK
11029HREF="ROUND"
11030>round</GTKDOCLINK
11031>() XPath function
11032number round(number)
11033The round function returns the number that is closest to the
11034argument and that is an integer. If there are two such numbers,
11035then the one that is even is returned.</P
11036><P
11037></P
11038><DIV
11039CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011040><A
Daniel Veillardc5d64342001-06-24 12:13:24 +000011041NAME="AEN14872"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011042></A
Daniel Veillard9753ad72000-11-13 19:12:23 +000011043><P
11044></P
11045><TABLE
11046BORDER="0"
11047WIDTH="100%"
11048BGCOLOR="#FFD0D0"
11049CELLSPACING="0"
11050CELLPADDING="4"
11051CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011052><TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +000011053><TR
11054><TD
11055WIDTH="20%"
11056ALIGN="RIGHT"
11057VALIGN="TOP"
11058><TT
11059CLASS="PARAMETER"
11060><I
11061>ctxt</I
11062></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000011063>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000011064><TD
11065WIDTH="80%"
11066ALIGN="LEFT"
11067VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +000011068>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000011069></TR
11070><TR
11071><TD
11072WIDTH="20%"
11073ALIGN="RIGHT"
11074VALIGN="TOP"
11075><TT
11076CLASS="PARAMETER"
11077><I
11078>nargs</I
11079></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000011080>&nbsp;:</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000011081><TD
11082WIDTH="80%"
11083ALIGN="LEFT"
11084VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +000011085>&nbsp;</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011086></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000011087></TBODY
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011088></TABLE
11089><P
11090></P
11091></DIV
11092></DIV
11093><HR><DIV
11094CLASS="REFSECT2"
11095><A
Daniel Veillardc5d64342001-06-24 12:13:24 +000011096NAME="AEN14885"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011097></A
11098><H3
11099><A
11100NAME="XMLXPATHBOOLEANFUNCTION"
11101></A
11102>xmlXPathBooleanFunction ()</H3
11103><TABLE
11104BORDER="0"
11105BGCOLOR="#D6E8FF"
11106WIDTH="100%"
11107CELLPADDING="6"
11108><TR
11109><TD
11110><PRE
11111CLASS="PROGRAMLISTING"
11112>void xmlXPathBooleanFunction (<A
11113HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
11114>xmlXPathParserContextPtr</A
11115> ctxt,
11116 int nargs);</PRE
11117></TD
11118></TR
11119></TABLE
11120><P
11121>Implement the <GTKDOCLINK
11122HREF="BOOLEAN"
11123>boolean</GTKDOCLINK
11124>() XPath function
11125boolean boolean(object)
11126he boolean function converts its argument to a boolean as follows:
11127- a number is true if and only if it is neither positive or
11128negative zero nor NaN
11129- a node-set is true if and only if it is non-empty
11130- a string is true if and only if its length is non-zero</P
11131><P
11132></P
11133><DIV
11134CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011135><A
Daniel Veillardc5d64342001-06-24 12:13:24 +000011136NAME="AEN14893"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011137></A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011138><P
11139></P
11140><TABLE
11141BORDER="0"
11142WIDTH="100%"
11143BGCOLOR="#FFD0D0"
11144CELLSPACING="0"
11145CELLPADDING="4"
11146CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011147><TBODY
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011148><TR
11149><TD
11150WIDTH="20%"
11151ALIGN="RIGHT"
11152VALIGN="TOP"
11153><TT
11154CLASS="PARAMETER"
11155><I
11156>ctxt</I
11157></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000011158>&nbsp;:</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011159><TD
11160WIDTH="80%"
11161ALIGN="LEFT"
11162VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +000011163>&nbsp;</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011164></TR
11165><TR
11166><TD
11167WIDTH="20%"
11168ALIGN="RIGHT"
11169VALIGN="TOP"
11170><TT
11171CLASS="PARAMETER"
11172><I
11173>nargs</I
11174></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000011175>&nbsp;:</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011176><TD
11177WIDTH="80%"
11178ALIGN="LEFT"
11179VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +000011180>&nbsp;</TD
Daniel Veillard9753ad72000-11-13 19:12:23 +000011181></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000011182></TBODY
Daniel Veillard9753ad72000-11-13 19:12:23 +000011183></TABLE
11184><P
11185></P
11186></DIV
11187></DIV
11188></DIV
11189><DIV
11190CLASS="NAVFOOTER"
11191><BR
11192CLEAR="all"><BR><TABLE
11193WIDTH="100%"
11194BORDER="0"
11195BGCOLOR="#000000"
11196CELLPADDING="1"
11197CELLSPACING="0"
11198><TR
11199><TD
11200WIDTH="25%"
11201BGCOLOR="#C00000"
11202ALIGN="left"
11203><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011204HREF="libxml-xpath.html"
Daniel Veillard9753ad72000-11-13 19:12:23 +000011205><FONT
11206COLOR="#FFFFFF"
11207SIZE="3"
11208><B
11209>&#60;&#60;&#60; Previous Page</B
11210></FONT
11211></A
11212></TD
11213><TD
11214WIDTH="25%"
11215BGCOLOR="#0000C0"
11216ALIGN="center"
11217><FONT
11218COLOR="#FFFFFF"
11219SIZE="3"
11220><B
11221><A
11222HREF="book1.html"
11223><FONT
11224COLOR="#FFFFFF"
11225SIZE="3"
11226><B
11227>Home</B
11228></FONT
11229></A
11230></B
11231></FONT
11232></TD
11233><TD
11234WIDTH="25%"
11235BGCOLOR="#00C000"
11236ALIGN="center"
11237><FONT
11238COLOR="#FFFFFF"
11239SIZE="3"
11240><B
11241><A
11242HREF="libxml-lib.html"
11243><FONT
11244COLOR="#FFFFFF"
11245SIZE="3"
11246><B
11247>Up</B
11248></FONT
11249></A
11250></B
11251></FONT
11252></TD
11253><TD
11254WIDTH="25%"
11255BGCOLOR="#C00000"
11256ALIGN="right"
11257><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011258HREF="libxml-xpointer.html"
Daniel Veillard9753ad72000-11-13 19:12:23 +000011259><FONT
11260COLOR="#FFFFFF"
11261SIZE="3"
11262><B
11263>Next Page &#62;&#62;&#62;</B
11264></FONT
11265></A
11266></TD
11267></TR
11268><TR
11269><TD
11270COLSPAN="2"
11271ALIGN="left"
11272><FONT
11273COLOR="#FFFFFF"
11274SIZE="3"
11275><B
11276>xpath</B
11277></FONT
11278></TD
11279><TD
11280COLSPAN="2"
11281ALIGN="right"
11282><FONT
11283COLOR="#FFFFFF"
11284SIZE="3"
11285><B
11286>xpointer</B
11287></FONT
11288></TD
11289></TR
11290></TABLE
11291></DIV
11292></BODY
11293></HTML
11294>