blob: cae66811a659e9fe81d52c5ffe6a2d939f7cc785 [file] [log] [blame]
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001<HTML
2><HEAD
3><TITLE
4>debugXML</TITLE
5><META
6NAME="GENERATOR"
Daniel Veillard60087f32001-10-10 09:45:09 +00007CONTENT="Modular DocBook HTML Stylesheet Version 1.64
8"><LINK
Daniel Veillardaeea04f2000-01-25 19:27:27 +00009REL="HOME"
10TITLE="Gnome XML Library Reference Manual"
11HREF="book1.html"><LINK
12REL="UP"
13TITLE="Libxml Library Reference"
14HREF="libxml-lib.html"><LINK
15REL="PREVIOUS"
Daniel Veillard52dcab32001-10-30 12:51:17 +000016TITLE="hash"
17HREF="libxml-hash.html"><LINK
Daniel Veillardaeea04f2000-01-25 19:27:27 +000018REL="NEXT"
19TITLE="xmlmemory"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000020HREF="libxml-xmlmemory.html"></HEAD
Daniel Veillardaeea04f2000-01-25 19:27:27 +000021><BODY
Daniel Veillardbed7b052001-05-19 14:59:49 +000022CLASS="REFENTRY"
Daniel Veillardaeea04f2000-01-25 19:27:27 +000023BGCOLOR="#FFFFFF"
24TEXT="#000000"
Daniel Veillard503b8932001-01-05 06:36:31 +000025LINK="#0000FF"
26VLINK="#840084"
27ALINK="#0000FF"
Daniel Veillardaeea04f2000-01-25 19:27:27 +000028><DIV
29CLASS="NAVHEADER"
30><TABLE
31WIDTH="100%"
32BORDER="0"
33BGCOLOR="#000000"
34CELLPADDING="1"
35CELLSPACING="0"
36><TR
37><TH
38COLSPAN="4"
39ALIGN="center"
40><FONT
41COLOR="#FFFFFF"
42SIZE="5"
43>Gnome XML Library Reference Manual</FONT
44></TH
45></TR
46><TR
47><TD
48WIDTH="25%"
49BGCOLOR="#C00000"
50ALIGN="left"
51><A
Daniel Veillard52dcab32001-10-30 12:51:17 +000052HREF="libxml-hash.html"
Daniel Veillardaeea04f2000-01-25 19:27:27 +000053><FONT
54COLOR="#FFFFFF"
55SIZE="3"
56><B
57>&#60;&#60;&#60; Previous Page</B
58></FONT
59></A
60></TD
61><TD
62WIDTH="25%"
63BGCOLOR="#0000C0"
64ALIGN="center"
65><FONT
66COLOR="#FFFFFF"
67SIZE="3"
68><B
69><A
70HREF="book1.html"
71><FONT
72COLOR="#FFFFFF"
73SIZE="3"
74><B
75>Home</B
76></FONT
77></A
78></B
79></FONT
80></TD
81><TD
82WIDTH="25%"
83BGCOLOR="#00C000"
84ALIGN="center"
85><FONT
86COLOR="#FFFFFF"
87SIZE="3"
88><B
89><A
90HREF="libxml-lib.html"
91><FONT
92COLOR="#FFFFFF"
93SIZE="3"
94><B
95>Up</B
96></FONT
97></A
98></B
99></FONT
100></TD
101><TD
102WIDTH="25%"
103BGCOLOR="#C00000"
104ALIGN="right"
105><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000106HREF="libxml-xmlmemory.html"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000107><FONT
108COLOR="#FFFFFF"
109SIZE="3"
110><B
111>Next Page &#62;&#62;&#62;</B
112></FONT
113></A
114></TD
115></TR
116></TABLE
117></DIV
118><H1
Daniel Veillard503b8932001-01-05 06:36:31 +0000119><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000120NAME="LIBXML-DEBUGXML"
Daniel Veillard503b8932001-01-05 06:36:31 +0000121>debugXML</A
122></H1
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000123><DIV
124CLASS="REFNAMEDIV"
125><A
Daniel Veillard06622df2002-01-21 17:53:42 +0000126NAME="AEN25312"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000127></A
128><H2
129>Name</H2
Daniel Veillard503b8932001-01-05 06:36:31 +0000130>debugXML&nbsp;--&nbsp;</DIV
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000131><DIV
132CLASS="REFSYNOPSISDIV"
133><A
Daniel Veillard06622df2002-01-21 17:53:42 +0000134NAME="AEN25315"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000135></A
136><H2
137>Synopsis</H2
138><TABLE
139BORDER="0"
140BGCOLOR="#D6E8FF"
141WIDTH="100%"
142CELLPADDING="6"
143><TR
144><TD
145><PRE
146CLASS="SYNOPSIS"
147>&#13;
148
149void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000150HREF="libxml-debugxml.html#XMLDEBUGDUMPSTRING"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000151>xmlDebugDumpString</A
152> (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000153HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000154>FILE</GTKDOCLINK
155> *output,
156 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000157HREF="libxml-tree.html#XMLCHAR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000158>xmlChar</A
159> *str);
160void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000161HREF="libxml-debugxml.html#XMLDEBUGDUMPATTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000162>xmlDebugDumpAttr</A
163> (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000164HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000165>FILE</GTKDOCLINK
166> *output,
167 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000168HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000169>xmlAttrPtr</A
170> attr,
171 int depth);
172void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000173HREF="libxml-debugxml.html#XMLDEBUGDUMPATTRLIST"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000174>xmlDebugDumpAttrList</A
175> (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000176HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000177>FILE</GTKDOCLINK
178> *output,
179 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000180HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000181>xmlAttrPtr</A
182> attr,
183 int depth);
184void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000185HREF="libxml-debugxml.html#XMLDEBUGDUMPONENODE"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000186>xmlDebugDumpOneNode</A
187> (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000188HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000189>FILE</GTKDOCLINK
190> *output,
191 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000192HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000193>xmlNodePtr</A
194> node,
195 int depth);
196void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000197HREF="libxml-debugxml.html#XMLDEBUGDUMPNODE"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000198>xmlDebugDumpNode</A
199> (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000200HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000201>FILE</GTKDOCLINK
202> *output,
203 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000204HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000205>xmlNodePtr</A
206> node,
207 int depth);
208void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000209HREF="libxml-debugxml.html#XMLDEBUGDUMPNODELIST"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000210>xmlDebugDumpNodeList</A
211> (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000212HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000213>FILE</GTKDOCLINK
214> *output,
215 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000216HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000217>xmlNodePtr</A
218> node,
219 int depth);
220void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000221HREF="libxml-debugxml.html#XMLDEBUGDUMPDOCUMENTHEAD"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000222>xmlDebugDumpDocumentHead</A
223> (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000224HREF="FILE-CAPS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000225>FILE</GTKDOCLINK
226> *output,
227 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000228HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000229>xmlDocPtr</A
230> doc);
231void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000232HREF="libxml-debugxml.html#XMLDEBUGDUMPDOCUMENT"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000233>xmlDebugDumpDocument</A
234> (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000235HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000236>FILE</GTKDOCLINK
237> *output,
238 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000239HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000240>xmlDocPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000241> doc);
242void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000243HREF="libxml-debugxml.html#XMLDEBUGDUMPDTD"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000244>xmlDebugDumpDTD</A
245> (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000246HREF="FILE-CAPS"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000247>FILE</GTKDOCLINK
248> *output,
249 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000250HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000251>xmlDtdPtr</A
Daniel Veillardf012a642001-07-23 19:10:52 +0000252> dtd);
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000253void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000254HREF="libxml-debugxml.html#XMLDEBUGDUMPENTITIES"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000255>xmlDebugDumpEntities</A
256> (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000257HREF="FILE-CAPS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000258>FILE</GTKDOCLINK
259> *output,
260 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000261HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000262>xmlDocPtr</A
263> doc);
Daniel Veillard52dcab32001-10-30 12:51:17 +0000264void <A
265HREF="libxml-debugxml.html#XMLLSONENODE"
266>xmlLsOneNode</A
267> (<GTKDOCLINK
268HREF="FILE-CAPS"
269>FILE</GTKDOCLINK
270> *output,
271 <A
272HREF="libxml-tree.html#XMLNODEPTR"
273>xmlNodePtr</A
274> node);
275int <A
276HREF="libxml-debugxml.html#XMLLSCOUNTNODE"
277>xmlLsCountNode</A
278> (<A
279HREF="libxml-tree.html#XMLNODEPTR"
280>xmlNodePtr</A
281> node);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000282char* (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000283HREF="libxml-debugxml.html#XMLSHELLREADLINEFUNC"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000284>*xmlShellReadlineFunc</A
285>) (char *prompt);
286struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000287HREF="libxml-debugxml.html#XMLSHELLCTXT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000288>xmlShellCtxt</A
289>;
290typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000291HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000292>xmlShellCtxtPtr</A
293>;
294int (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000295HREF="libxml-debugxml.html#XMLSHELLCMD"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000296>*xmlShellCmd</A
297>) (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000298HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000299>xmlShellCtxtPtr</A
300> ctxt,
301 char *arg,
302 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000303HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000304>xmlNodePtr</A
305> node,
306 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000307HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000308>xmlNodePtr</A
309> node2);
310void <A
Daniel Veillard52dcab32001-10-30 12:51:17 +0000311HREF="libxml-debugxml.html#XMLSHELLPRINTXPATHERROR"
312>xmlShellPrintXPathError</A
313> (int errorType,
314 const char *arg);
315void <A
316HREF="libxml-debugxml.html#XMLSHELLPRINTNODE"
317>xmlShellPrintNode</A
318> (<A
319HREF="libxml-tree.html#XMLNODEPTR"
320>xmlNodePtr</A
321> node);
322void <A
323HREF="libxml-debugxml.html#XMLSHELLPRINTXPATHRESULT"
324>xmlShellPrintXPathResult</A
325> (<A
326HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
327>xmlXPathObjectPtr</A
328> list);
329int <A
330HREF="libxml-debugxml.html#XMLSHELLLIST"
331>xmlShellList</A
332> (<A
333HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
334>xmlShellCtxtPtr</A
335> ctxt,
336 char *arg,
337 <A
338HREF="libxml-tree.html#XMLNODEPTR"
339>xmlNodePtr</A
340> node,
341 <A
342HREF="libxml-tree.html#XMLNODEPTR"
343>xmlNodePtr</A
344> node2);
345int <A
346HREF="libxml-debugxml.html#XMLSHELLBASE"
347>xmlShellBase</A
348> (<A
349HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
350>xmlShellCtxtPtr</A
351> ctxt,
352 char *arg,
353 <A
354HREF="libxml-tree.html#XMLNODEPTR"
355>xmlNodePtr</A
356> node,
357 <A
358HREF="libxml-tree.html#XMLNODEPTR"
359>xmlNodePtr</A
360> node2);
361int <A
362HREF="libxml-debugxml.html#XMLSHELLDIR"
363>xmlShellDir</A
364> (<A
365HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
366>xmlShellCtxtPtr</A
367> ctxt,
368 char *arg,
369 <A
370HREF="libxml-tree.html#XMLNODEPTR"
371>xmlNodePtr</A
372> node,
373 <A
374HREF="libxml-tree.html#XMLNODEPTR"
375>xmlNodePtr</A
376> node2);
377int <A
378HREF="libxml-debugxml.html#XMLSHELLCAT"
379>xmlShellCat</A
380> (<A
381HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
382>xmlShellCtxtPtr</A
383> ctxt,
384 char *arg,
385 <A
386HREF="libxml-tree.html#XMLNODEPTR"
387>xmlNodePtr</A
388> node,
389 <A
390HREF="libxml-tree.html#XMLNODEPTR"
391>xmlNodePtr</A
392> node2);
393int <A
394HREF="libxml-debugxml.html#XMLSHELLLOAD"
395>xmlShellLoad</A
396> (<A
397HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
398>xmlShellCtxtPtr</A
399> ctxt,
400 char *filename,
401 <A
402HREF="libxml-tree.html#XMLNODEPTR"
403>xmlNodePtr</A
404> node,
405 <A
406HREF="libxml-tree.html#XMLNODEPTR"
407>xmlNodePtr</A
408> node2);
409int <A
410HREF="libxml-debugxml.html#XMLSHELLWRITE"
411>xmlShellWrite</A
412> (<A
413HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
414>xmlShellCtxtPtr</A
415> ctxt,
416 char *filename,
417 <A
418HREF="libxml-tree.html#XMLNODEPTR"
419>xmlNodePtr</A
420> node,
421 <A
422HREF="libxml-tree.html#XMLNODEPTR"
423>xmlNodePtr</A
424> node2);
425int <A
426HREF="libxml-debugxml.html#XMLSHELLSAVE"
427>xmlShellSave</A
428> (<A
429HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
430>xmlShellCtxtPtr</A
431> ctxt,
432 char *filename,
433 <A
434HREF="libxml-tree.html#XMLNODEPTR"
435>xmlNodePtr</A
436> node,
437 <A
438HREF="libxml-tree.html#XMLNODEPTR"
439>xmlNodePtr</A
440> node2);
441int <A
442HREF="libxml-debugxml.html#XMLSHELLVALIDATE"
443>xmlShellValidate</A
444> (<A
445HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
446>xmlShellCtxtPtr</A
447> ctxt,
448 char *dtd,
449 <A
450HREF="libxml-tree.html#XMLNODEPTR"
451>xmlNodePtr</A
452> node,
453 <A
454HREF="libxml-tree.html#XMLNODEPTR"
455>xmlNodePtr</A
456> node2);
457int <A
458HREF="libxml-debugxml.html#XMLSHELLDU"
459>xmlShellDu</A
460> (<A
461HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
462>xmlShellCtxtPtr</A
463> ctxt,
464 char *arg,
465 <A
466HREF="libxml-tree.html#XMLNODEPTR"
467>xmlNodePtr</A
468> tree,
469 <A
470HREF="libxml-tree.html#XMLNODEPTR"
471>xmlNodePtr</A
472> node2);
473int <A
474HREF="libxml-debugxml.html#XMLSHELLPWD"
475>xmlShellPwd</A
476> (<A
477HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
478>xmlShellCtxtPtr</A
479> ctxt,
480 char *buffer,
481 <A
482HREF="libxml-tree.html#XMLNODEPTR"
483>xmlNodePtr</A
484> node,
485 <A
486HREF="libxml-tree.html#XMLNODEPTR"
487>xmlNodePtr</A
488> node2);
489void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000490HREF="libxml-debugxml.html#XMLSHELL"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000491>xmlShell</A
492> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000493HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000494>xmlDocPtr</A
495> doc,
496 char *filename,
497 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000498HREF="libxml-debugxml.html#XMLSHELLREADLINEFUNC"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000499>xmlShellReadlineFunc</A
500> input,
501 <GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000502HREF="FILE-CAPS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000503>FILE</GTKDOCLINK
504> *output);</PRE
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000505></TD
506></TR
507></TABLE
508></DIV
509><DIV
510CLASS="REFSECT1"
511><A
Daniel Veillard06622df2002-01-21 17:53:42 +0000512NAME="AEN25409"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000513></A
514><H2
515>Description</H2
516><P
517></P
518></DIV
519><DIV
520CLASS="REFSECT1"
521><A
Daniel Veillard06622df2002-01-21 17:53:42 +0000522NAME="AEN25412"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000523></A
524><H2
525>Details</H2
526><DIV
527CLASS="REFSECT2"
528><A
Daniel Veillard06622df2002-01-21 17:53:42 +0000529NAME="AEN25414"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000530></A
531><H3
532><A
533NAME="XMLDEBUGDUMPSTRING"
534></A
Daniel Veillard06622df2002-01-21 17:53:42 +0000535>&#62;xmlDebugDumpString ()</H3
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000536><TABLE
537BORDER="0"
538BGCOLOR="#D6E8FF"
539WIDTH="100%"
540CELLPADDING="6"
541><TR
542><TD
543><PRE
544CLASS="PROGRAMLISTING"
545>void xmlDebugDumpString (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000546HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000547>FILE</GTKDOCLINK
548> *output,
549 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000550HREF="libxml-tree.html#XMLCHAR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000551>xmlChar</A
552> *str);</PRE
553></TD
554></TR
555></TABLE
556><P
Daniel Veillardf012a642001-07-23 19:10:52 +0000557>Dumps informations about the string, shorten it if necessary</P
558><P
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000559></P
560><DIV
561CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000562><A
Daniel Veillard06622df2002-01-21 17:53:42 +0000563NAME="AEN25422"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000564></A
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000565><P
566></P
567><TABLE
568BORDER="0"
569WIDTH="100%"
570BGCOLOR="#FFD0D0"
571CELLSPACING="0"
572CELLPADDING="4"
573CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000574><TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000575><TR
576><TD
577WIDTH="20%"
578ALIGN="RIGHT"
579VALIGN="TOP"
580><TT
581CLASS="PARAMETER"
582><I
583>output</I
584></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000585>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000586><TD
587WIDTH="80%"
588ALIGN="LEFT"
589VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000590> the FILE * for the output</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000591></TR
592><TR
593><TD
594WIDTH="20%"
595ALIGN="RIGHT"
596VALIGN="TOP"
597><TT
598CLASS="PARAMETER"
599><I
600>str</I
601></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000602>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000603><TD
604WIDTH="80%"
605ALIGN="LEFT"
606VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000607> the string</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000608></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000609></TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000610></TABLE
611><P
612></P
613></DIV
614></DIV
615><HR><DIV
616CLASS="REFSECT2"
617><A
Daniel Veillard06622df2002-01-21 17:53:42 +0000618NAME="AEN25435"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000619></A
620><H3
621><A
622NAME="XMLDEBUGDUMPATTR"
623></A
Daniel Veillard06622df2002-01-21 17:53:42 +0000624>&#62;xmlDebugDumpAttr ()</H3
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000625><TABLE
626BORDER="0"
627BGCOLOR="#D6E8FF"
628WIDTH="100%"
629CELLPADDING="6"
630><TR
631><TD
632><PRE
633CLASS="PROGRAMLISTING"
634>void xmlDebugDumpAttr (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000635HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000636>FILE</GTKDOCLINK
637> *output,
638 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000639HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000640>xmlAttrPtr</A
641> attr,
642 int depth);</PRE
643></TD
644></TR
645></TABLE
646><P
Daniel Veillardf012a642001-07-23 19:10:52 +0000647>Dumps debug information for the attribute</P
648><P
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000649></P
650><DIV
651CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000652><A
Daniel Veillard06622df2002-01-21 17:53:42 +0000653NAME="AEN25443"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000654></A
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000655><P
656></P
657><TABLE
658BORDER="0"
659WIDTH="100%"
660BGCOLOR="#FFD0D0"
661CELLSPACING="0"
662CELLPADDING="4"
663CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000664><TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000665><TR
666><TD
667WIDTH="20%"
668ALIGN="RIGHT"
669VALIGN="TOP"
670><TT
671CLASS="PARAMETER"
672><I
673>output</I
674></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000675>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000676><TD
677WIDTH="80%"
678ALIGN="LEFT"
679VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000680> the FILE * for the output</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000681></TR
682><TR
683><TD
684WIDTH="20%"
685ALIGN="RIGHT"
686VALIGN="TOP"
687><TT
688CLASS="PARAMETER"
689><I
690>attr</I
691></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000692>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000693><TD
694WIDTH="80%"
695ALIGN="LEFT"
696VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000697> the attribute</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000698></TR
699><TR
700><TD
701WIDTH="20%"
702ALIGN="RIGHT"
703VALIGN="TOP"
704><TT
705CLASS="PARAMETER"
706><I
707>depth</I
708></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000709>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000710><TD
711WIDTH="80%"
712ALIGN="LEFT"
713VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000714> the indentation level.</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000715></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000716></TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000717></TABLE
718><P
719></P
720></DIV
721></DIV
722><HR><DIV
723CLASS="REFSECT2"
724><A
Daniel Veillard06622df2002-01-21 17:53:42 +0000725NAME="AEN25460"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000726></A
727><H3
728><A
729NAME="XMLDEBUGDUMPATTRLIST"
730></A
Daniel Veillard06622df2002-01-21 17:53:42 +0000731>&#62;xmlDebugDumpAttrList ()</H3
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000732><TABLE
733BORDER="0"
734BGCOLOR="#D6E8FF"
735WIDTH="100%"
736CELLPADDING="6"
737><TR
738><TD
739><PRE
740CLASS="PROGRAMLISTING"
741>void xmlDebugDumpAttrList (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000742HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000743>FILE</GTKDOCLINK
744> *output,
745 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000746HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000747>xmlAttrPtr</A
748> attr,
749 int depth);</PRE
750></TD
751></TR
752></TABLE
753><P
Daniel Veillardf012a642001-07-23 19:10:52 +0000754>Dumps debug information for the attribute list</P
755><P
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000756></P
757><DIV
758CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000759><A
Daniel Veillard06622df2002-01-21 17:53:42 +0000760NAME="AEN25468"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000761></A
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000762><P
763></P
764><TABLE
765BORDER="0"
766WIDTH="100%"
767BGCOLOR="#FFD0D0"
768CELLSPACING="0"
769CELLPADDING="4"
770CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000771><TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000772><TR
773><TD
774WIDTH="20%"
775ALIGN="RIGHT"
776VALIGN="TOP"
777><TT
778CLASS="PARAMETER"
779><I
780>output</I
781></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000782>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000783><TD
784WIDTH="80%"
785ALIGN="LEFT"
786VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000787> the FILE * for the output</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000788></TR
789><TR
790><TD
791WIDTH="20%"
792ALIGN="RIGHT"
793VALIGN="TOP"
794><TT
795CLASS="PARAMETER"
796><I
797>attr</I
798></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000799>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000800><TD
801WIDTH="80%"
802ALIGN="LEFT"
803VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000804> the attribute list</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000805></TR
806><TR
807><TD
808WIDTH="20%"
809ALIGN="RIGHT"
810VALIGN="TOP"
811><TT
812CLASS="PARAMETER"
813><I
814>depth</I
815></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000816>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000817><TD
818WIDTH="80%"
819ALIGN="LEFT"
820VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000821> the indentation level.</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000822></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000823></TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000824></TABLE
825><P
826></P
827></DIV
828></DIV
829><HR><DIV
830CLASS="REFSECT2"
831><A
Daniel Veillard06622df2002-01-21 17:53:42 +0000832NAME="AEN25485"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000833></A
834><H3
835><A
836NAME="XMLDEBUGDUMPONENODE"
837></A
Daniel Veillard06622df2002-01-21 17:53:42 +0000838>&#62;xmlDebugDumpOneNode ()</H3
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000839><TABLE
840BORDER="0"
841BGCOLOR="#D6E8FF"
842WIDTH="100%"
843CELLPADDING="6"
844><TR
845><TD
846><PRE
847CLASS="PROGRAMLISTING"
848>void xmlDebugDumpOneNode (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000849HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000850>FILE</GTKDOCLINK
851> *output,
852 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000853HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000854>xmlNodePtr</A
855> node,
856 int depth);</PRE
857></TD
858></TR
859></TABLE
860><P
Daniel Veillardf012a642001-07-23 19:10:52 +0000861>Dumps debug information for the element node, it is not recursive</P
862><P
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000863></P
864><DIV
865CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000866><A
Daniel Veillard06622df2002-01-21 17:53:42 +0000867NAME="AEN25493"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000868></A
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000869><P
870></P
871><TABLE
872BORDER="0"
873WIDTH="100%"
874BGCOLOR="#FFD0D0"
875CELLSPACING="0"
876CELLPADDING="4"
877CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000878><TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000879><TR
880><TD
881WIDTH="20%"
882ALIGN="RIGHT"
883VALIGN="TOP"
884><TT
885CLASS="PARAMETER"
886><I
887>output</I
888></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000889>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000890><TD
891WIDTH="80%"
892ALIGN="LEFT"
893VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000894> the FILE * for the output</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000895></TR
896><TR
897><TD
898WIDTH="20%"
899ALIGN="RIGHT"
900VALIGN="TOP"
901><TT
902CLASS="PARAMETER"
903><I
904>node</I
905></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000906>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000907><TD
908WIDTH="80%"
909ALIGN="LEFT"
910VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000911> the node</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000912></TR
913><TR
914><TD
915WIDTH="20%"
916ALIGN="RIGHT"
917VALIGN="TOP"
918><TT
919CLASS="PARAMETER"
920><I
921>depth</I
922></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000923>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000924><TD
925WIDTH="80%"
926ALIGN="LEFT"
927VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000928> the indentation level.</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000929></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000930></TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000931></TABLE
932><P
933></P
934></DIV
935></DIV
936><HR><DIV
937CLASS="REFSECT2"
938><A
Daniel Veillard06622df2002-01-21 17:53:42 +0000939NAME="AEN25510"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000940></A
941><H3
942><A
943NAME="XMLDEBUGDUMPNODE"
944></A
Daniel Veillard06622df2002-01-21 17:53:42 +0000945>&#62;xmlDebugDumpNode ()</H3
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000946><TABLE
947BORDER="0"
948BGCOLOR="#D6E8FF"
949WIDTH="100%"
950CELLPADDING="6"
951><TR
952><TD
953><PRE
954CLASS="PROGRAMLISTING"
955>void xmlDebugDumpNode (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000956HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000957>FILE</GTKDOCLINK
958> *output,
959 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000960HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000961>xmlNodePtr</A
962> node,
963 int depth);</PRE
964></TD
965></TR
966></TABLE
967><P
Daniel Veillardf012a642001-07-23 19:10:52 +0000968>Dumps debug information for the element node, it is recursive</P
969><P
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000970></P
971><DIV
972CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000973><A
Daniel Veillard06622df2002-01-21 17:53:42 +0000974NAME="AEN25518"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000975></A
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000976><P
977></P
978><TABLE
979BORDER="0"
980WIDTH="100%"
981BGCOLOR="#FFD0D0"
982CELLSPACING="0"
983CELLPADDING="4"
984CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000985><TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000986><TR
987><TD
988WIDTH="20%"
989ALIGN="RIGHT"
990VALIGN="TOP"
991><TT
992CLASS="PARAMETER"
993><I
994>output</I
995></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000996>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000997><TD
998WIDTH="80%"
999ALIGN="LEFT"
1000VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001001> the FILE * for the output</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001002></TR
1003><TR
1004><TD
1005WIDTH="20%"
1006ALIGN="RIGHT"
1007VALIGN="TOP"
1008><TT
1009CLASS="PARAMETER"
1010><I
1011>node</I
1012></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001013>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001014><TD
1015WIDTH="80%"
1016ALIGN="LEFT"
1017VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001018> the node</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001019></TR
1020><TR
1021><TD
1022WIDTH="20%"
1023ALIGN="RIGHT"
1024VALIGN="TOP"
1025><TT
1026CLASS="PARAMETER"
1027><I
1028>depth</I
1029></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001030>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001031><TD
1032WIDTH="80%"
1033ALIGN="LEFT"
1034VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001035> the indentation level.</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001036></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001037></TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001038></TABLE
1039><P
1040></P
1041></DIV
1042></DIV
1043><HR><DIV
1044CLASS="REFSECT2"
1045><A
Daniel Veillard06622df2002-01-21 17:53:42 +00001046NAME="AEN25535"
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001047></A
1048><H3
1049><A
1050NAME="XMLDEBUGDUMPNODELIST"
1051></A
Daniel Veillard06622df2002-01-21 17:53:42 +00001052>&#62;xmlDebugDumpNodeList ()</H3
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001053><TABLE
1054BORDER="0"
1055BGCOLOR="#D6E8FF"
1056WIDTH="100%"
1057CELLPADDING="6"
1058><TR
1059><TD
1060><PRE
1061CLASS="PROGRAMLISTING"
1062>void xmlDebugDumpNodeList (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00001063HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001064>FILE</GTKDOCLINK
1065> *output,
1066 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001067HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001068>xmlNodePtr</A
1069> node,
1070 int depth);</PRE
1071></TD
1072></TR
1073></TABLE
1074><P
Daniel Veillardf012a642001-07-23 19:10:52 +00001075>Dumps debug information for the list of element node, it is recursive</P
1076><P
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001077></P
1078><DIV
1079CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001080><A
Daniel Veillard06622df2002-01-21 17:53:42 +00001081NAME="AEN25543"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001082></A
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001083><P
1084></P
1085><TABLE
1086BORDER="0"
1087WIDTH="100%"
1088BGCOLOR="#FFD0D0"
1089CELLSPACING="0"
1090CELLPADDING="4"
1091CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001092><TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001093><TR
1094><TD
1095WIDTH="20%"
1096ALIGN="RIGHT"
1097VALIGN="TOP"
1098><TT
1099CLASS="PARAMETER"
1100><I
1101>output</I
1102></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001103>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001104><TD
1105WIDTH="80%"
1106ALIGN="LEFT"
1107VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001108> the FILE * for the output</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001109></TR
1110><TR
1111><TD
1112WIDTH="20%"
1113ALIGN="RIGHT"
1114VALIGN="TOP"
1115><TT
1116CLASS="PARAMETER"
1117><I
1118>node</I
1119></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001120>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001121><TD
1122WIDTH="80%"
1123ALIGN="LEFT"
1124VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001125> the node list</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001126></TR
1127><TR
1128><TD
1129WIDTH="20%"
1130ALIGN="RIGHT"
1131VALIGN="TOP"
1132><TT
1133CLASS="PARAMETER"
1134><I
1135>depth</I
1136></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001137>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001138><TD
1139WIDTH="80%"
1140ALIGN="LEFT"
1141VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001142> the indentation level.</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001143></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001144></TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001145></TABLE
1146><P
1147></P
1148></DIV
1149></DIV
1150><HR><DIV
1151CLASS="REFSECT2"
1152><A
Daniel Veillard06622df2002-01-21 17:53:42 +00001153NAME="AEN25560"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001154></A
1155><H3
1156><A
1157NAME="XMLDEBUGDUMPDOCUMENTHEAD"
1158></A
Daniel Veillard06622df2002-01-21 17:53:42 +00001159>&#62;xmlDebugDumpDocumentHead ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001160><TABLE
1161BORDER="0"
1162BGCOLOR="#D6E8FF"
1163WIDTH="100%"
1164CELLPADDING="6"
1165><TR
1166><TD
1167><PRE
1168CLASS="PROGRAMLISTING"
1169>void xmlDebugDumpDocumentHead (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00001170HREF="FILE-CAPS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001171>FILE</GTKDOCLINK
1172> *output,
1173 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001174HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001175>xmlDocPtr</A
1176> doc);</PRE
1177></TD
1178></TR
1179></TABLE
1180><P
Daniel Veillardf012a642001-07-23 19:10:52 +00001181>Dumps debug information cncerning the document, not recursive</P
1182><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001183></P
1184><DIV
1185CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001186><A
Daniel Veillard06622df2002-01-21 17:53:42 +00001187NAME="AEN25568"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001188></A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001189><P
1190></P
1191><TABLE
1192BORDER="0"
1193WIDTH="100%"
1194BGCOLOR="#FFD0D0"
1195CELLSPACING="0"
1196CELLPADDING="4"
1197CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001198><TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001199><TR
1200><TD
1201WIDTH="20%"
1202ALIGN="RIGHT"
1203VALIGN="TOP"
1204><TT
1205CLASS="PARAMETER"
1206><I
1207>output</I
1208></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001209>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001210><TD
1211WIDTH="80%"
1212ALIGN="LEFT"
1213VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001214> the FILE * for the output</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001215></TR
1216><TR
1217><TD
1218WIDTH="20%"
1219ALIGN="RIGHT"
1220VALIGN="TOP"
1221><TT
1222CLASS="PARAMETER"
1223><I
Daniel Veillardef90ba72001-12-07 14:24:22 +00001224>doc</I
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001225></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001226>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001227><TD
1228WIDTH="80%"
1229ALIGN="LEFT"
1230VALIGN="TOP"
Daniel Veillardef90ba72001-12-07 14:24:22 +00001231> the document</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001232></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001233></TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001234></TABLE
1235><P
1236></P
1237></DIV
1238></DIV
1239><HR><DIV
1240CLASS="REFSECT2"
1241><A
Daniel Veillard06622df2002-01-21 17:53:42 +00001242NAME="AEN25581"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001243></A
1244><H3
1245><A
Daniel Veillardef90ba72001-12-07 14:24:22 +00001246NAME="XMLDEBUGDUMPDOCUMENT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001247></A
Daniel Veillard06622df2002-01-21 17:53:42 +00001248>&#62;xmlDebugDumpDocument ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001249><TABLE
1250BORDER="0"
1251BGCOLOR="#D6E8FF"
1252WIDTH="100%"
1253CELLPADDING="6"
1254><TR
1255><TD
1256><PRE
1257CLASS="PROGRAMLISTING"
Daniel Veillardef90ba72001-12-07 14:24:22 +00001258>void xmlDebugDumpDocument (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00001259HREF="FILE-CAPS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001260>FILE</GTKDOCLINK
1261> *output,
1262 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001263HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001264>xmlDocPtr</A
1265> doc);</PRE
1266></TD
1267></TR
1268></TABLE
1269><P
Daniel Veillardef90ba72001-12-07 14:24:22 +00001270>Dumps debug information for the document, it's recursive</P
Daniel Veillardf012a642001-07-23 19:10:52 +00001271><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001272></P
1273><DIV
1274CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001275><A
Daniel Veillard06622df2002-01-21 17:53:42 +00001276NAME="AEN25589"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001277></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001278><P
1279></P
1280><TABLE
1281BORDER="0"
1282WIDTH="100%"
1283BGCOLOR="#FFD0D0"
1284CELLSPACING="0"
1285CELLPADDING="4"
1286CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001287><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001288><TR
1289><TD
1290WIDTH="20%"
1291ALIGN="RIGHT"
1292VALIGN="TOP"
1293><TT
1294CLASS="PARAMETER"
1295><I
1296>output</I
1297></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001298>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001299><TD
1300WIDTH="80%"
1301ALIGN="LEFT"
1302VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001303> the FILE * for the output</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001304></TR
1305><TR
1306><TD
1307WIDTH="20%"
1308ALIGN="RIGHT"
1309VALIGN="TOP"
1310><TT
1311CLASS="PARAMETER"
1312><I
1313>doc</I
1314></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001315>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001316><TD
1317WIDTH="80%"
1318ALIGN="LEFT"
1319VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001320> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001321></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001322></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001323></TABLE
1324><P
1325></P
1326></DIV
1327></DIV
1328><HR><DIV
1329CLASS="REFSECT2"
1330><A
Daniel Veillard06622df2002-01-21 17:53:42 +00001331NAME="AEN25602"
Daniel Veillard52dcab32001-10-30 12:51:17 +00001332></A
1333><H3
1334><A
Daniel Veillardef90ba72001-12-07 14:24:22 +00001335NAME="XMLDEBUGDUMPDTD"
1336></A
Daniel Veillard06622df2002-01-21 17:53:42 +00001337>&#62;xmlDebugDumpDTD ()</H3
Daniel Veillardef90ba72001-12-07 14:24:22 +00001338><TABLE
1339BORDER="0"
1340BGCOLOR="#D6E8FF"
1341WIDTH="100%"
1342CELLPADDING="6"
1343><TR
1344><TD
1345><PRE
1346CLASS="PROGRAMLISTING"
1347>void xmlDebugDumpDTD (<GTKDOCLINK
1348HREF="FILE-CAPS"
1349>FILE</GTKDOCLINK
1350> *output,
1351 <A
1352HREF="libxml-tree.html#XMLDTDPTR"
1353>xmlDtdPtr</A
1354> dtd);</PRE
1355></TD
1356></TR
1357></TABLE
1358><P
1359>Dumps debug information for the DTD</P
1360><P
1361></P
1362><DIV
1363CLASS="INFORMALTABLE"
1364><A
Daniel Veillard06622df2002-01-21 17:53:42 +00001365NAME="AEN25610"
Daniel Veillardef90ba72001-12-07 14:24:22 +00001366></A
1367><P
1368></P
1369><TABLE
1370BORDER="0"
1371WIDTH="100%"
1372BGCOLOR="#FFD0D0"
1373CELLSPACING="0"
1374CELLPADDING="4"
1375CLASS="CALSTABLE"
1376><TBODY
1377><TR
1378><TD
1379WIDTH="20%"
1380ALIGN="RIGHT"
1381VALIGN="TOP"
1382><TT
1383CLASS="PARAMETER"
1384><I
1385>output</I
1386></TT
1387>&nbsp;:</TD
1388><TD
1389WIDTH="80%"
1390ALIGN="LEFT"
1391VALIGN="TOP"
1392> the FILE * for the output</TD
1393></TR
1394><TR
1395><TD
1396WIDTH="20%"
1397ALIGN="RIGHT"
1398VALIGN="TOP"
1399><TT
1400CLASS="PARAMETER"
1401><I
1402>dtd</I
1403></TT
1404>&nbsp;:</TD
1405><TD
1406WIDTH="80%"
1407ALIGN="LEFT"
1408VALIGN="TOP"
1409> the DTD</TD
1410></TR
1411></TBODY
1412></TABLE
1413><P
1414></P
1415></DIV
1416></DIV
1417><HR><DIV
1418CLASS="REFSECT2"
1419><A
Daniel Veillard06622df2002-01-21 17:53:42 +00001420NAME="AEN25623"
Daniel Veillardef90ba72001-12-07 14:24:22 +00001421></A
1422><H3
1423><A
1424NAME="XMLDEBUGDUMPENTITIES"
1425></A
Daniel Veillard06622df2002-01-21 17:53:42 +00001426>&#62;xmlDebugDumpEntities ()</H3
Daniel Veillardef90ba72001-12-07 14:24:22 +00001427><TABLE
1428BORDER="0"
1429BGCOLOR="#D6E8FF"
1430WIDTH="100%"
1431CELLPADDING="6"
1432><TR
1433><TD
1434><PRE
1435CLASS="PROGRAMLISTING"
1436>void xmlDebugDumpEntities (<GTKDOCLINK
1437HREF="FILE-CAPS"
1438>FILE</GTKDOCLINK
1439> *output,
1440 <A
1441HREF="libxml-tree.html#XMLDOCPTR"
1442>xmlDocPtr</A
1443> doc);</PRE
1444></TD
1445></TR
1446></TABLE
1447><P
1448>Dumps debug information for all the entities in use by the document</P
1449><P
1450></P
1451><DIV
1452CLASS="INFORMALTABLE"
1453><A
Daniel Veillard06622df2002-01-21 17:53:42 +00001454NAME="AEN25631"
Daniel Veillardef90ba72001-12-07 14:24:22 +00001455></A
1456><P
1457></P
1458><TABLE
1459BORDER="0"
1460WIDTH="100%"
1461BGCOLOR="#FFD0D0"
1462CELLSPACING="0"
1463CELLPADDING="4"
1464CLASS="CALSTABLE"
1465><TBODY
1466><TR
1467><TD
1468WIDTH="20%"
1469ALIGN="RIGHT"
1470VALIGN="TOP"
1471><TT
1472CLASS="PARAMETER"
1473><I
1474>output</I
1475></TT
1476>&nbsp;:</TD
1477><TD
1478WIDTH="80%"
1479ALIGN="LEFT"
1480VALIGN="TOP"
1481> the FILE * for the output</TD
1482></TR
1483><TR
1484><TD
1485WIDTH="20%"
1486ALIGN="RIGHT"
1487VALIGN="TOP"
1488><TT
1489CLASS="PARAMETER"
1490><I
1491>doc</I
1492></TT
1493>&nbsp;:</TD
1494><TD
1495WIDTH="80%"
1496ALIGN="LEFT"
1497VALIGN="TOP"
1498> the document</TD
1499></TR
1500></TBODY
1501></TABLE
1502><P
1503></P
1504></DIV
1505></DIV
1506><HR><DIV
1507CLASS="REFSECT2"
1508><A
Daniel Veillard06622df2002-01-21 17:53:42 +00001509NAME="AEN25644"
Daniel Veillardef90ba72001-12-07 14:24:22 +00001510></A
1511><H3
1512><A
Daniel Veillard52dcab32001-10-30 12:51:17 +00001513NAME="XMLLSONENODE"
1514></A
Daniel Veillard06622df2002-01-21 17:53:42 +00001515>&#62;xmlLsOneNode ()</H3
Daniel Veillard52dcab32001-10-30 12:51:17 +00001516><TABLE
1517BORDER="0"
1518BGCOLOR="#D6E8FF"
1519WIDTH="100%"
1520CELLPADDING="6"
1521><TR
1522><TD
1523><PRE
1524CLASS="PROGRAMLISTING"
1525>void xmlLsOneNode (<GTKDOCLINK
1526HREF="FILE-CAPS"
1527>FILE</GTKDOCLINK
1528> *output,
1529 <A
1530HREF="libxml-tree.html#XMLNODEPTR"
1531>xmlNodePtr</A
1532> node);</PRE
1533></TD
1534></TR
1535></TABLE
1536><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00001537>Dump to <TT
1538CLASS="PARAMETER"
1539><I
1540>output</I
1541></TT
1542> the type and name of <TT
1543CLASS="PARAMETER"
1544><I
1545>node</I
1546></TT
1547>.</P
1548><P
Daniel Veillard52dcab32001-10-30 12:51:17 +00001549></P
1550><DIV
1551CLASS="INFORMALTABLE"
1552><A
Daniel Veillard06622df2002-01-21 17:53:42 +00001553NAME="AEN25654"
Daniel Veillard52dcab32001-10-30 12:51:17 +00001554></A
1555><P
1556></P
1557><TABLE
1558BORDER="0"
1559WIDTH="100%"
1560BGCOLOR="#FFD0D0"
1561CELLSPACING="0"
1562CELLPADDING="4"
1563CLASS="CALSTABLE"
1564><TBODY
1565><TR
1566><TD
1567WIDTH="20%"
1568ALIGN="RIGHT"
1569VALIGN="TOP"
1570><TT
1571CLASS="PARAMETER"
1572><I
1573>output</I
1574></TT
1575>&nbsp;:</TD
1576><TD
1577WIDTH="80%"
1578ALIGN="LEFT"
1579VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00001580> the FILE * for the output</TD
Daniel Veillard52dcab32001-10-30 12:51:17 +00001581></TR
1582><TR
1583><TD
1584WIDTH="20%"
1585ALIGN="RIGHT"
1586VALIGN="TOP"
1587><TT
1588CLASS="PARAMETER"
1589><I
1590>node</I
1591></TT
1592>&nbsp;:</TD
1593><TD
1594WIDTH="80%"
1595ALIGN="LEFT"
1596VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00001597> the node to dump</TD
Daniel Veillard52dcab32001-10-30 12:51:17 +00001598></TR
1599></TBODY
1600></TABLE
1601><P
1602></P
1603></DIV
1604></DIV
1605><HR><DIV
1606CLASS="REFSECT2"
1607><A
Daniel Veillard06622df2002-01-21 17:53:42 +00001608NAME="AEN25667"
Daniel Veillard52dcab32001-10-30 12:51:17 +00001609></A
1610><H3
1611><A
1612NAME="XMLLSCOUNTNODE"
1613></A
Daniel Veillard06622df2002-01-21 17:53:42 +00001614>&#62;xmlLsCountNode ()</H3
Daniel Veillard52dcab32001-10-30 12:51:17 +00001615><TABLE
1616BORDER="0"
1617BGCOLOR="#D6E8FF"
1618WIDTH="100%"
1619CELLPADDING="6"
1620><TR
1621><TD
1622><PRE
1623CLASS="PROGRAMLISTING"
1624>int xmlLsCountNode (<A
1625HREF="libxml-tree.html#XMLNODEPTR"
1626>xmlNodePtr</A
1627> node);</PRE
1628></TD
1629></TR
1630></TABLE
1631><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00001632>Count the children of <TT
1633CLASS="PARAMETER"
1634><I
1635>node</I
1636></TT
1637>.</P
1638><P
Daniel Veillard52dcab32001-10-30 12:51:17 +00001639></P
1640><DIV
1641CLASS="INFORMALTABLE"
1642><A
Daniel Veillard06622df2002-01-21 17:53:42 +00001643NAME="AEN25675"
Daniel Veillard52dcab32001-10-30 12:51:17 +00001644></A
1645><P
1646></P
1647><TABLE
1648BORDER="0"
1649WIDTH="100%"
1650BGCOLOR="#FFD0D0"
1651CELLSPACING="0"
1652CELLPADDING="4"
1653CLASS="CALSTABLE"
1654><TBODY
1655><TR
1656><TD
1657WIDTH="20%"
1658ALIGN="RIGHT"
1659VALIGN="TOP"
1660><TT
1661CLASS="PARAMETER"
1662><I
1663>node</I
1664></TT
1665>&nbsp;:</TD
1666><TD
1667WIDTH="80%"
1668ALIGN="LEFT"
1669VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00001670> the node to count</TD
Daniel Veillard52dcab32001-10-30 12:51:17 +00001671></TR
1672><TR
1673><TD
1674WIDTH="20%"
1675ALIGN="RIGHT"
1676VALIGN="TOP"
1677><I
1678CLASS="EMPHASIS"
1679>Returns</I
1680> :</TD
1681><TD
1682WIDTH="80%"
1683ALIGN="LEFT"
1684VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00001685>the number of children of <TT
Daniel Veillard52dcab32001-10-30 12:51:17 +00001686CLASS="PARAMETER"
1687><I
Daniel Veillardcbaf3992001-12-31 16:16:02 +00001688>node</I
Daniel Veillard52dcab32001-10-30 12:51:17 +00001689></TT
Daniel Veillardcbaf3992001-12-31 16:16:02 +00001690>.</TD
Daniel Veillard52dcab32001-10-30 12:51:17 +00001691></TR
1692></TBODY
1693></TABLE
1694><P
1695></P
1696></DIV
1697></DIV
1698><HR><DIV
1699CLASS="REFSECT2"
1700><A
Daniel Veillard06622df2002-01-21 17:53:42 +00001701NAME="AEN25689"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001702></A
1703><H3
1704><A
1705NAME="XMLSHELLREADLINEFUNC"
1706></A
Daniel Veillard06622df2002-01-21 17:53:42 +00001707>&#62;xmlShellReadlineFunc ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001708><TABLE
1709BORDER="0"
1710BGCOLOR="#D6E8FF"
1711WIDTH="100%"
1712CELLPADDING="6"
1713><TR
1714><TD
1715><PRE
1716CLASS="PROGRAMLISTING"
1717>char* (*xmlShellReadlineFunc) (char *prompt);</PRE
1718></TD
1719></TR
1720></TABLE
1721><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001722>This is a generic signature for the XML shell input function</P
1723><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001724></P
1725><DIV
1726CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001727><A
Daniel Veillard06622df2002-01-21 17:53:42 +00001728NAME="AEN25695"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001729></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001730><P
1731></P
1732><TABLE
1733BORDER="0"
1734WIDTH="100%"
1735BGCOLOR="#FFD0D0"
1736CELLSPACING="0"
1737CELLPADDING="4"
1738CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001739><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001740><TR
1741><TD
1742WIDTH="20%"
1743ALIGN="RIGHT"
1744VALIGN="TOP"
1745><TT
1746CLASS="PARAMETER"
1747><I
1748>prompt</I
1749></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001750>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001751><TD
1752WIDTH="80%"
1753ALIGN="LEFT"
1754VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001755> a string prompt</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001756></TR
1757><TR
1758><TD
1759WIDTH="20%"
1760ALIGN="RIGHT"
1761VALIGN="TOP"
1762><I
1763CLASS="EMPHASIS"
1764>Returns</I
1765> :</TD
1766><TD
1767WIDTH="80%"
1768ALIGN="LEFT"
1769VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001770>a string which will be freed by the Shell</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001771></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001772></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001773></TABLE
1774><P
1775></P
1776></DIV
1777></DIV
1778><HR><DIV
1779CLASS="REFSECT2"
1780><A
Daniel Veillard06622df2002-01-21 17:53:42 +00001781NAME="AEN25708"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001782></A
1783><H3
1784><A
1785NAME="XMLSHELLCTXT"
1786></A
Daniel Veillard06622df2002-01-21 17:53:42 +00001787>&#62;struct xmlShellCtxt</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001788><TABLE
1789BORDER="0"
1790BGCOLOR="#D6E8FF"
1791WIDTH="100%"
1792CELLPADDING="6"
1793><TR
1794><TD
1795><PRE
1796CLASS="PROGRAMLISTING"
1797>struct xmlShellCtxt {
1798 char *filename;
1799 xmlDocPtr doc;
1800 xmlNodePtr node;
1801 xmlXPathContextPtr pctxt;
1802 int loaded;
1803 FILE *output;
1804 xmlShellReadlineFunc input;
1805};</PRE
1806></TD
1807></TR
1808></TABLE
1809><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001810>A debugging shell context
1811TODO: add the defined function tables.</P
1812><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001813></P
1814></DIV
1815><HR><DIV
1816CLASS="REFSECT2"
1817><A
Daniel Veillard06622df2002-01-21 17:53:42 +00001818NAME="AEN25714"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001819></A
1820><H3
1821><A
1822NAME="XMLSHELLCTXTPTR"
1823></A
Daniel Veillard06622df2002-01-21 17:53:42 +00001824>&#62;xmlShellCtxtPtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001825><TABLE
1826BORDER="0"
1827BGCOLOR="#D6E8FF"
1828WIDTH="100%"
1829CELLPADDING="6"
1830><TR
1831><TD
1832><PRE
1833CLASS="PROGRAMLISTING"
1834>typedef xmlShellCtxt *xmlShellCtxtPtr;</PRE
1835></TD
1836></TR
1837></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001838><P
1839></P
1840></DIV
1841><HR><DIV
1842CLASS="REFSECT2"
1843><A
Daniel Veillard06622df2002-01-21 17:53:42 +00001844NAME="AEN25719"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001845></A
1846><H3
1847><A
1848NAME="XMLSHELLCMD"
1849></A
Daniel Veillard06622df2002-01-21 17:53:42 +00001850>&#62;xmlShellCmd ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001851><TABLE
1852BORDER="0"
1853BGCOLOR="#D6E8FF"
1854WIDTH="100%"
1855CELLPADDING="6"
1856><TR
1857><TD
1858><PRE
1859CLASS="PROGRAMLISTING"
1860>int (*xmlShellCmd) (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001861HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001862>xmlShellCtxtPtr</A
1863> ctxt,
1864 char *arg,
1865 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001866HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001867>xmlNodePtr</A
1868> node,
1869 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001870HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001871>xmlNodePtr</A
1872> node2);</PRE
1873></TD
1874></TR
1875></TABLE
1876><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001877>This is a generic signature for the XML shell functions</P
1878><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001879></P
1880><DIV
1881CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001882><A
Daniel Veillard06622df2002-01-21 17:53:42 +00001883NAME="AEN25728"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001884></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001885><P
1886></P
1887><TABLE
1888BORDER="0"
1889WIDTH="100%"
1890BGCOLOR="#FFD0D0"
1891CELLSPACING="0"
1892CELLPADDING="4"
1893CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001894><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001895><TR
1896><TD
1897WIDTH="20%"
1898ALIGN="RIGHT"
1899VALIGN="TOP"
1900><TT
1901CLASS="PARAMETER"
1902><I
1903>ctxt</I
1904></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001905>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001906><TD
1907WIDTH="80%"
1908ALIGN="LEFT"
1909VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001910> a shell context</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001911></TR
1912><TR
1913><TD
1914WIDTH="20%"
1915ALIGN="RIGHT"
1916VALIGN="TOP"
1917><TT
1918CLASS="PARAMETER"
1919><I
1920>arg</I
1921></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001922>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001923><TD
1924WIDTH="80%"
1925ALIGN="LEFT"
1926VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001927> a string argument</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001928></TR
1929><TR
1930><TD
1931WIDTH="20%"
1932ALIGN="RIGHT"
1933VALIGN="TOP"
1934><TT
1935CLASS="PARAMETER"
1936><I
1937>node</I
1938></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001939>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001940><TD
1941WIDTH="80%"
1942ALIGN="LEFT"
1943VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001944> a first node</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001945></TR
1946><TR
1947><TD
1948WIDTH="20%"
1949ALIGN="RIGHT"
1950VALIGN="TOP"
1951><TT
1952CLASS="PARAMETER"
1953><I
1954>node2</I
1955></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001956>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001957><TD
1958WIDTH="80%"
1959ALIGN="LEFT"
1960VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001961> a second node</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001962></TR
1963><TR
1964><TD
1965WIDTH="20%"
1966ALIGN="RIGHT"
1967VALIGN="TOP"
1968><I
1969CLASS="EMPHASIS"
1970>Returns</I
1971> :</TD
1972><TD
1973WIDTH="80%"
1974ALIGN="LEFT"
1975VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001976>an int, negative returns indicating errors</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001977></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001978></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001979></TABLE
1980><P
1981></P
1982></DIV
1983></DIV
1984><HR><DIV
1985CLASS="REFSECT2"
1986><A
Daniel Veillard06622df2002-01-21 17:53:42 +00001987NAME="AEN25753"
Daniel Veillard52dcab32001-10-30 12:51:17 +00001988></A
1989><H3
1990><A
1991NAME="XMLSHELLPRINTXPATHERROR"
1992></A
Daniel Veillard06622df2002-01-21 17:53:42 +00001993>&#62;xmlShellPrintXPathError ()</H3
Daniel Veillard52dcab32001-10-30 12:51:17 +00001994><TABLE
1995BORDER="0"
1996BGCOLOR="#D6E8FF"
1997WIDTH="100%"
1998CELLPADDING="6"
1999><TR
2000><TD
2001><PRE
2002CLASS="PROGRAMLISTING"
2003>void xmlShellPrintXPathError (int errorType,
2004 const char *arg);</PRE
2005></TD
2006></TR
2007></TABLE
2008><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00002009>Print the xpath error to libxml default error channel</P
2010><P
Daniel Veillard52dcab32001-10-30 12:51:17 +00002011></P
2012><DIV
2013CLASS="INFORMALTABLE"
2014><A
Daniel Veillard06622df2002-01-21 17:53:42 +00002015NAME="AEN25759"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002016></A
2017><P
2018></P
2019><TABLE
2020BORDER="0"
2021WIDTH="100%"
2022BGCOLOR="#FFD0D0"
2023CELLSPACING="0"
2024CELLPADDING="4"
2025CLASS="CALSTABLE"
2026><TBODY
2027><TR
2028><TD
2029WIDTH="20%"
2030ALIGN="RIGHT"
2031VALIGN="TOP"
2032><TT
2033CLASS="PARAMETER"
2034><I
2035>errorType</I
2036></TT
2037>&nbsp;:</TD
2038><TD
2039WIDTH="80%"
2040ALIGN="LEFT"
2041VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00002042> valid xpath error id</TD
Daniel Veillard52dcab32001-10-30 12:51:17 +00002043></TR
2044><TR
2045><TD
2046WIDTH="20%"
2047ALIGN="RIGHT"
2048VALIGN="TOP"
2049><TT
2050CLASS="PARAMETER"
2051><I
2052>arg</I
2053></TT
2054>&nbsp;:</TD
2055><TD
2056WIDTH="80%"
2057ALIGN="LEFT"
2058VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00002059> the argument that cause xpath to fail</TD
Daniel Veillard52dcab32001-10-30 12:51:17 +00002060></TR
2061></TBODY
2062></TABLE
2063><P
2064></P
2065></DIV
2066></DIV
2067><HR><DIV
2068CLASS="REFSECT2"
2069><A
Daniel Veillard06622df2002-01-21 17:53:42 +00002070NAME="AEN25772"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002071></A
2072><H3
2073><A
2074NAME="XMLSHELLPRINTNODE"
2075></A
Daniel Veillard06622df2002-01-21 17:53:42 +00002076>&#62;xmlShellPrintNode ()</H3
Daniel Veillard52dcab32001-10-30 12:51:17 +00002077><TABLE
2078BORDER="0"
2079BGCOLOR="#D6E8FF"
2080WIDTH="100%"
2081CELLPADDING="6"
2082><TR
2083><TD
2084><PRE
2085CLASS="PROGRAMLISTING"
2086>void xmlShellPrintNode (<A
2087HREF="libxml-tree.html#XMLNODEPTR"
2088>xmlNodePtr</A
2089> node);</PRE
2090></TD
2091></TR
2092></TABLE
2093><P
2094>Print node to stdout</P
2095><P
2096></P
2097><DIV
2098CLASS="INFORMALTABLE"
2099><A
Daniel Veillard06622df2002-01-21 17:53:42 +00002100NAME="AEN25779"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002101></A
2102><P
2103></P
2104><TABLE
2105BORDER="0"
2106WIDTH="100%"
2107BGCOLOR="#FFD0D0"
2108CELLSPACING="0"
2109CELLPADDING="4"
2110CLASS="CALSTABLE"
2111><TBODY
2112><TR
2113><TD
2114WIDTH="20%"
2115ALIGN="RIGHT"
2116VALIGN="TOP"
2117><TT
2118CLASS="PARAMETER"
2119><I
2120>node</I
2121></TT
2122>&nbsp;:</TD
2123><TD
2124WIDTH="80%"
2125ALIGN="LEFT"
2126VALIGN="TOP"
2127> a non-null node to print to stdout</TD
2128></TR
2129></TBODY
2130></TABLE
2131><P
2132></P
2133></DIV
2134></DIV
2135><HR><DIV
2136CLASS="REFSECT2"
2137><A
Daniel Veillard06622df2002-01-21 17:53:42 +00002138NAME="AEN25788"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002139></A
2140><H3
2141><A
2142NAME="XMLSHELLPRINTXPATHRESULT"
2143></A
Daniel Veillard06622df2002-01-21 17:53:42 +00002144>&#62;xmlShellPrintXPathResult ()</H3
Daniel Veillard52dcab32001-10-30 12:51:17 +00002145><TABLE
2146BORDER="0"
2147BGCOLOR="#D6E8FF"
2148WIDTH="100%"
2149CELLPADDING="6"
2150><TR
2151><TD
2152><PRE
2153CLASS="PROGRAMLISTING"
2154>void xmlShellPrintXPathResult (<A
2155HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
2156>xmlXPathObjectPtr</A
2157> list);</PRE
2158></TD
2159></TR
2160></TABLE
2161><P
2162>Prints result to stdout</P
2163><P
2164></P
2165><DIV
2166CLASS="INFORMALTABLE"
2167><A
Daniel Veillard06622df2002-01-21 17:53:42 +00002168NAME="AEN25795"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002169></A
2170><P
2171></P
2172><TABLE
2173BORDER="0"
2174WIDTH="100%"
2175BGCOLOR="#FFD0D0"
2176CELLSPACING="0"
2177CELLPADDING="4"
2178CLASS="CALSTABLE"
2179><TBODY
2180><TR
2181><TD
2182WIDTH="20%"
2183ALIGN="RIGHT"
2184VALIGN="TOP"
2185><TT
2186CLASS="PARAMETER"
2187><I
2188>list</I
2189></TT
2190>&nbsp;:</TD
2191><TD
2192WIDTH="80%"
2193ALIGN="LEFT"
2194VALIGN="TOP"
2195>&nbsp;</TD
2196></TR
2197></TBODY
2198></TABLE
2199><P
2200></P
2201></DIV
2202></DIV
2203><HR><DIV
2204CLASS="REFSECT2"
2205><A
Daniel Veillard06622df2002-01-21 17:53:42 +00002206NAME="AEN25804"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002207></A
2208><H3
2209><A
2210NAME="XMLSHELLLIST"
2211></A
Daniel Veillard06622df2002-01-21 17:53:42 +00002212>&#62;xmlShellList ()</H3
Daniel Veillard52dcab32001-10-30 12:51:17 +00002213><TABLE
2214BORDER="0"
2215BGCOLOR="#D6E8FF"
2216WIDTH="100%"
2217CELLPADDING="6"
2218><TR
2219><TD
2220><PRE
2221CLASS="PROGRAMLISTING"
2222>int xmlShellList (<A
2223HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
2224>xmlShellCtxtPtr</A
2225> ctxt,
2226 char *arg,
2227 <A
2228HREF="libxml-tree.html#XMLNODEPTR"
2229>xmlNodePtr</A
2230> node,
2231 <A
2232HREF="libxml-tree.html#XMLNODEPTR"
2233>xmlNodePtr</A
2234> node2);</PRE
2235></TD
2236></TR
2237></TABLE
2238><P
2239>Implements the XML shell function "ls"
2240Does an Unix like listing of the given node (like a directory)</P
2241><P
2242></P
2243><DIV
2244CLASS="INFORMALTABLE"
2245><A
Daniel Veillard06622df2002-01-21 17:53:42 +00002246NAME="AEN25813"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002247></A
2248><P
2249></P
2250><TABLE
2251BORDER="0"
2252WIDTH="100%"
2253BGCOLOR="#FFD0D0"
2254CELLSPACING="0"
2255CELLPADDING="4"
2256CLASS="CALSTABLE"
2257><TBODY
2258><TR
2259><TD
2260WIDTH="20%"
2261ALIGN="RIGHT"
2262VALIGN="TOP"
2263><TT
2264CLASS="PARAMETER"
2265><I
2266>ctxt</I
2267></TT
2268>&nbsp;:</TD
2269><TD
2270WIDTH="80%"
2271ALIGN="LEFT"
2272VALIGN="TOP"
2273> the shell context</TD
2274></TR
2275><TR
2276><TD
2277WIDTH="20%"
2278ALIGN="RIGHT"
2279VALIGN="TOP"
2280><TT
2281CLASS="PARAMETER"
2282><I
2283>arg</I
2284></TT
2285>&nbsp;:</TD
2286><TD
2287WIDTH="80%"
2288ALIGN="LEFT"
2289VALIGN="TOP"
2290> unused</TD
2291></TR
2292><TR
2293><TD
2294WIDTH="20%"
2295ALIGN="RIGHT"
2296VALIGN="TOP"
2297><TT
2298CLASS="PARAMETER"
2299><I
2300>node</I
2301></TT
2302>&nbsp;:</TD
2303><TD
2304WIDTH="80%"
2305ALIGN="LEFT"
2306VALIGN="TOP"
2307> a node</TD
2308></TR
2309><TR
2310><TD
2311WIDTH="20%"
2312ALIGN="RIGHT"
2313VALIGN="TOP"
2314><TT
2315CLASS="PARAMETER"
2316><I
2317>node2</I
2318></TT
2319>&nbsp;:</TD
2320><TD
2321WIDTH="80%"
2322ALIGN="LEFT"
2323VALIGN="TOP"
2324> unused</TD
2325></TR
2326><TR
2327><TD
2328WIDTH="20%"
2329ALIGN="RIGHT"
2330VALIGN="TOP"
2331><I
2332CLASS="EMPHASIS"
2333>Returns</I
2334> :</TD
2335><TD
2336WIDTH="80%"
2337ALIGN="LEFT"
2338VALIGN="TOP"
2339>0</TD
2340></TR
2341></TBODY
2342></TABLE
2343><P
2344></P
2345></DIV
2346></DIV
2347><HR><DIV
2348CLASS="REFSECT2"
2349><A
Daniel Veillard06622df2002-01-21 17:53:42 +00002350NAME="AEN25838"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002351></A
2352><H3
2353><A
2354NAME="XMLSHELLBASE"
2355></A
Daniel Veillard06622df2002-01-21 17:53:42 +00002356>&#62;xmlShellBase ()</H3
Daniel Veillard52dcab32001-10-30 12:51:17 +00002357><TABLE
2358BORDER="0"
2359BGCOLOR="#D6E8FF"
2360WIDTH="100%"
2361CELLPADDING="6"
2362><TR
2363><TD
2364><PRE
2365CLASS="PROGRAMLISTING"
2366>int xmlShellBase (<A
2367HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
2368>xmlShellCtxtPtr</A
2369> ctxt,
2370 char *arg,
2371 <A
2372HREF="libxml-tree.html#XMLNODEPTR"
2373>xmlNodePtr</A
2374> node,
2375 <A
2376HREF="libxml-tree.html#XMLNODEPTR"
2377>xmlNodePtr</A
2378> node2);</PRE
2379></TD
2380></TR
2381></TABLE
2382><P
2383>Implements the XML shell function "base"
2384dumps the current XML base of the node</P
2385><P
2386></P
2387><DIV
2388CLASS="INFORMALTABLE"
2389><A
Daniel Veillard06622df2002-01-21 17:53:42 +00002390NAME="AEN25847"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002391></A
2392><P
2393></P
2394><TABLE
2395BORDER="0"
2396WIDTH="100%"
2397BGCOLOR="#FFD0D0"
2398CELLSPACING="0"
2399CELLPADDING="4"
2400CLASS="CALSTABLE"
2401><TBODY
2402><TR
2403><TD
2404WIDTH="20%"
2405ALIGN="RIGHT"
2406VALIGN="TOP"
2407><TT
2408CLASS="PARAMETER"
2409><I
2410>ctxt</I
2411></TT
2412>&nbsp;:</TD
2413><TD
2414WIDTH="80%"
2415ALIGN="LEFT"
2416VALIGN="TOP"
2417> the shell context</TD
2418></TR
2419><TR
2420><TD
2421WIDTH="20%"
2422ALIGN="RIGHT"
2423VALIGN="TOP"
2424><TT
2425CLASS="PARAMETER"
2426><I
2427>arg</I
2428></TT
2429>&nbsp;:</TD
2430><TD
2431WIDTH="80%"
2432ALIGN="LEFT"
2433VALIGN="TOP"
2434> unused</TD
2435></TR
2436><TR
2437><TD
2438WIDTH="20%"
2439ALIGN="RIGHT"
2440VALIGN="TOP"
2441><TT
2442CLASS="PARAMETER"
2443><I
2444>node</I
2445></TT
2446>&nbsp;:</TD
2447><TD
2448WIDTH="80%"
2449ALIGN="LEFT"
2450VALIGN="TOP"
2451> a node</TD
2452></TR
2453><TR
2454><TD
2455WIDTH="20%"
2456ALIGN="RIGHT"
2457VALIGN="TOP"
2458><TT
2459CLASS="PARAMETER"
2460><I
2461>node2</I
2462></TT
2463>&nbsp;:</TD
2464><TD
2465WIDTH="80%"
2466ALIGN="LEFT"
2467VALIGN="TOP"
2468> unused</TD
2469></TR
2470><TR
2471><TD
2472WIDTH="20%"
2473ALIGN="RIGHT"
2474VALIGN="TOP"
2475><I
2476CLASS="EMPHASIS"
2477>Returns</I
2478> :</TD
2479><TD
2480WIDTH="80%"
2481ALIGN="LEFT"
2482VALIGN="TOP"
2483>0</TD
2484></TR
2485></TBODY
2486></TABLE
2487><P
2488></P
2489></DIV
2490></DIV
2491><HR><DIV
2492CLASS="REFSECT2"
2493><A
Daniel Veillard06622df2002-01-21 17:53:42 +00002494NAME="AEN25872"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002495></A
2496><H3
2497><A
2498NAME="XMLSHELLDIR"
2499></A
Daniel Veillard06622df2002-01-21 17:53:42 +00002500>&#62;xmlShellDir ()</H3
Daniel Veillard52dcab32001-10-30 12:51:17 +00002501><TABLE
2502BORDER="0"
2503BGCOLOR="#D6E8FF"
2504WIDTH="100%"
2505CELLPADDING="6"
2506><TR
2507><TD
2508><PRE
2509CLASS="PROGRAMLISTING"
2510>int xmlShellDir (<A
2511HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
2512>xmlShellCtxtPtr</A
2513> ctxt,
2514 char *arg,
2515 <A
2516HREF="libxml-tree.html#XMLNODEPTR"
2517>xmlNodePtr</A
2518> node,
2519 <A
2520HREF="libxml-tree.html#XMLNODEPTR"
2521>xmlNodePtr</A
2522> node2);</PRE
2523></TD
2524></TR
2525></TABLE
2526><P
2527>Implements the XML shell function "dir"
2528dumps informations about the node (namespace, attributes, content).</P
2529><P
2530></P
2531><DIV
2532CLASS="INFORMALTABLE"
2533><A
Daniel Veillard06622df2002-01-21 17:53:42 +00002534NAME="AEN25881"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002535></A
2536><P
2537></P
2538><TABLE
2539BORDER="0"
2540WIDTH="100%"
2541BGCOLOR="#FFD0D0"
2542CELLSPACING="0"
2543CELLPADDING="4"
2544CLASS="CALSTABLE"
2545><TBODY
2546><TR
2547><TD
2548WIDTH="20%"
2549ALIGN="RIGHT"
2550VALIGN="TOP"
2551><TT
2552CLASS="PARAMETER"
2553><I
2554>ctxt</I
2555></TT
2556>&nbsp;:</TD
2557><TD
2558WIDTH="80%"
2559ALIGN="LEFT"
2560VALIGN="TOP"
2561> the shell context</TD
2562></TR
2563><TR
2564><TD
2565WIDTH="20%"
2566ALIGN="RIGHT"
2567VALIGN="TOP"
2568><TT
2569CLASS="PARAMETER"
2570><I
2571>arg</I
2572></TT
2573>&nbsp;:</TD
2574><TD
2575WIDTH="80%"
2576ALIGN="LEFT"
2577VALIGN="TOP"
2578> unused</TD
2579></TR
2580><TR
2581><TD
2582WIDTH="20%"
2583ALIGN="RIGHT"
2584VALIGN="TOP"
2585><TT
2586CLASS="PARAMETER"
2587><I
2588>node</I
2589></TT
2590>&nbsp;:</TD
2591><TD
2592WIDTH="80%"
2593ALIGN="LEFT"
2594VALIGN="TOP"
2595> a node</TD
2596></TR
2597><TR
2598><TD
2599WIDTH="20%"
2600ALIGN="RIGHT"
2601VALIGN="TOP"
2602><TT
2603CLASS="PARAMETER"
2604><I
2605>node2</I
2606></TT
2607>&nbsp;:</TD
2608><TD
2609WIDTH="80%"
2610ALIGN="LEFT"
2611VALIGN="TOP"
2612> unused</TD
2613></TR
2614><TR
2615><TD
2616WIDTH="20%"
2617ALIGN="RIGHT"
2618VALIGN="TOP"
2619><I
2620CLASS="EMPHASIS"
2621>Returns</I
2622> :</TD
2623><TD
2624WIDTH="80%"
2625ALIGN="LEFT"
2626VALIGN="TOP"
2627>0</TD
2628></TR
2629></TBODY
2630></TABLE
2631><P
2632></P
2633></DIV
2634></DIV
2635><HR><DIV
2636CLASS="REFSECT2"
2637><A
Daniel Veillard06622df2002-01-21 17:53:42 +00002638NAME="AEN25906"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002639></A
2640><H3
2641><A
2642NAME="XMLSHELLCAT"
2643></A
Daniel Veillard06622df2002-01-21 17:53:42 +00002644>&#62;xmlShellCat ()</H3
Daniel Veillard52dcab32001-10-30 12:51:17 +00002645><TABLE
2646BORDER="0"
2647BGCOLOR="#D6E8FF"
2648WIDTH="100%"
2649CELLPADDING="6"
2650><TR
2651><TD
2652><PRE
2653CLASS="PROGRAMLISTING"
2654>int xmlShellCat (<A
2655HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
2656>xmlShellCtxtPtr</A
2657> ctxt,
2658 char *arg,
2659 <A
2660HREF="libxml-tree.html#XMLNODEPTR"
2661>xmlNodePtr</A
2662> node,
2663 <A
2664HREF="libxml-tree.html#XMLNODEPTR"
2665>xmlNodePtr</A
2666> node2);</PRE
2667></TD
2668></TR
2669></TABLE
2670><P
2671>Implements the XML shell function "cat"
2672dumps the serialization node content (XML or HTML).</P
2673><P
2674></P
2675><DIV
2676CLASS="INFORMALTABLE"
2677><A
Daniel Veillard06622df2002-01-21 17:53:42 +00002678NAME="AEN25915"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002679></A
2680><P
2681></P
2682><TABLE
2683BORDER="0"
2684WIDTH="100%"
2685BGCOLOR="#FFD0D0"
2686CELLSPACING="0"
2687CELLPADDING="4"
2688CLASS="CALSTABLE"
2689><TBODY
2690><TR
2691><TD
2692WIDTH="20%"
2693ALIGN="RIGHT"
2694VALIGN="TOP"
2695><TT
2696CLASS="PARAMETER"
2697><I
2698>ctxt</I
2699></TT
2700>&nbsp;:</TD
2701><TD
2702WIDTH="80%"
2703ALIGN="LEFT"
2704VALIGN="TOP"
2705> the shell context</TD
2706></TR
2707><TR
2708><TD
2709WIDTH="20%"
2710ALIGN="RIGHT"
2711VALIGN="TOP"
2712><TT
2713CLASS="PARAMETER"
2714><I
2715>arg</I
2716></TT
2717>&nbsp;:</TD
2718><TD
2719WIDTH="80%"
2720ALIGN="LEFT"
2721VALIGN="TOP"
2722> unused</TD
2723></TR
2724><TR
2725><TD
2726WIDTH="20%"
2727ALIGN="RIGHT"
2728VALIGN="TOP"
2729><TT
2730CLASS="PARAMETER"
2731><I
2732>node</I
2733></TT
2734>&nbsp;:</TD
2735><TD
2736WIDTH="80%"
2737ALIGN="LEFT"
2738VALIGN="TOP"
2739> a node</TD
2740></TR
2741><TR
2742><TD
2743WIDTH="20%"
2744ALIGN="RIGHT"
2745VALIGN="TOP"
2746><TT
2747CLASS="PARAMETER"
2748><I
2749>node2</I
2750></TT
2751>&nbsp;:</TD
2752><TD
2753WIDTH="80%"
2754ALIGN="LEFT"
2755VALIGN="TOP"
2756> unused</TD
2757></TR
2758><TR
2759><TD
2760WIDTH="20%"
2761ALIGN="RIGHT"
2762VALIGN="TOP"
2763><I
2764CLASS="EMPHASIS"
2765>Returns</I
2766> :</TD
2767><TD
2768WIDTH="80%"
2769ALIGN="LEFT"
2770VALIGN="TOP"
2771>0</TD
2772></TR
2773></TBODY
2774></TABLE
2775><P
2776></P
2777></DIV
2778></DIV
2779><HR><DIV
2780CLASS="REFSECT2"
2781><A
Daniel Veillard06622df2002-01-21 17:53:42 +00002782NAME="AEN25940"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002783></A
2784><H3
2785><A
2786NAME="XMLSHELLLOAD"
2787></A
Daniel Veillard06622df2002-01-21 17:53:42 +00002788>&#62;xmlShellLoad ()</H3
Daniel Veillard52dcab32001-10-30 12:51:17 +00002789><TABLE
2790BORDER="0"
2791BGCOLOR="#D6E8FF"
2792WIDTH="100%"
2793CELLPADDING="6"
2794><TR
2795><TD
2796><PRE
2797CLASS="PROGRAMLISTING"
2798>int xmlShellLoad (<A
2799HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
2800>xmlShellCtxtPtr</A
2801> ctxt,
2802 char *filename,
2803 <A
2804HREF="libxml-tree.html#XMLNODEPTR"
2805>xmlNodePtr</A
2806> node,
2807 <A
2808HREF="libxml-tree.html#XMLNODEPTR"
2809>xmlNodePtr</A
2810> node2);</PRE
2811></TD
2812></TR
2813></TABLE
2814><P
2815>Implements the XML shell function "load"
2816loads a new document specified by the filename</P
2817><P
2818></P
2819><DIV
2820CLASS="INFORMALTABLE"
2821><A
Daniel Veillard06622df2002-01-21 17:53:42 +00002822NAME="AEN25949"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002823></A
2824><P
2825></P
2826><TABLE
2827BORDER="0"
2828WIDTH="100%"
2829BGCOLOR="#FFD0D0"
2830CELLSPACING="0"
2831CELLPADDING="4"
2832CLASS="CALSTABLE"
2833><TBODY
2834><TR
2835><TD
2836WIDTH="20%"
2837ALIGN="RIGHT"
2838VALIGN="TOP"
2839><TT
2840CLASS="PARAMETER"
2841><I
2842>ctxt</I
2843></TT
2844>&nbsp;:</TD
2845><TD
2846WIDTH="80%"
2847ALIGN="LEFT"
2848VALIGN="TOP"
2849> the shell context</TD
2850></TR
2851><TR
2852><TD
2853WIDTH="20%"
2854ALIGN="RIGHT"
2855VALIGN="TOP"
2856><TT
2857CLASS="PARAMETER"
2858><I
2859>filename</I
2860></TT
2861>&nbsp;:</TD
2862><TD
2863WIDTH="80%"
2864ALIGN="LEFT"
2865VALIGN="TOP"
2866> the file name</TD
2867></TR
2868><TR
2869><TD
2870WIDTH="20%"
2871ALIGN="RIGHT"
2872VALIGN="TOP"
2873><TT
2874CLASS="PARAMETER"
2875><I
2876>node</I
2877></TT
2878>&nbsp;:</TD
2879><TD
2880WIDTH="80%"
2881ALIGN="LEFT"
2882VALIGN="TOP"
2883> unused</TD
2884></TR
2885><TR
2886><TD
2887WIDTH="20%"
2888ALIGN="RIGHT"
2889VALIGN="TOP"
2890><TT
2891CLASS="PARAMETER"
2892><I
2893>node2</I
2894></TT
2895>&nbsp;:</TD
2896><TD
2897WIDTH="80%"
2898ALIGN="LEFT"
2899VALIGN="TOP"
2900> unused</TD
2901></TR
2902><TR
2903><TD
2904WIDTH="20%"
2905ALIGN="RIGHT"
2906VALIGN="TOP"
2907><I
2908CLASS="EMPHASIS"
2909>Returns</I
2910> :</TD
2911><TD
2912WIDTH="80%"
2913ALIGN="LEFT"
2914VALIGN="TOP"
2915>0 or -1 if loading failed</TD
2916></TR
2917></TBODY
2918></TABLE
2919><P
2920></P
2921></DIV
2922></DIV
2923><HR><DIV
2924CLASS="REFSECT2"
2925><A
Daniel Veillard06622df2002-01-21 17:53:42 +00002926NAME="AEN25974"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002927></A
2928><H3
2929><A
2930NAME="XMLSHELLWRITE"
2931></A
Daniel Veillard06622df2002-01-21 17:53:42 +00002932>&#62;xmlShellWrite ()</H3
Daniel Veillard52dcab32001-10-30 12:51:17 +00002933><TABLE
2934BORDER="0"
2935BGCOLOR="#D6E8FF"
2936WIDTH="100%"
2937CELLPADDING="6"
2938><TR
2939><TD
2940><PRE
2941CLASS="PROGRAMLISTING"
2942>int xmlShellWrite (<A
2943HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
2944>xmlShellCtxtPtr</A
2945> ctxt,
2946 char *filename,
2947 <A
2948HREF="libxml-tree.html#XMLNODEPTR"
2949>xmlNodePtr</A
2950> node,
2951 <A
2952HREF="libxml-tree.html#XMLNODEPTR"
2953>xmlNodePtr</A
2954> node2);</PRE
2955></TD
2956></TR
2957></TABLE
2958><P
2959>Implements the XML shell function "write"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00002960Write the current node to the filename, it saves the serialization
Daniel Veillard52dcab32001-10-30 12:51:17 +00002961of the subtree under the <TT
2962CLASS="PARAMETER"
2963><I
2964>node</I
2965></TT
2966> specified</P
2967><P
2968></P
2969><DIV
2970CLASS="INFORMALTABLE"
2971><A
Daniel Veillard06622df2002-01-21 17:53:42 +00002972NAME="AEN25984"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002973></A
2974><P
2975></P
2976><TABLE
2977BORDER="0"
2978WIDTH="100%"
2979BGCOLOR="#FFD0D0"
2980CELLSPACING="0"
2981CELLPADDING="4"
2982CLASS="CALSTABLE"
2983><TBODY
2984><TR
2985><TD
2986WIDTH="20%"
2987ALIGN="RIGHT"
2988VALIGN="TOP"
2989><TT
2990CLASS="PARAMETER"
2991><I
2992>ctxt</I
2993></TT
2994>&nbsp;:</TD
2995><TD
2996WIDTH="80%"
2997ALIGN="LEFT"
2998VALIGN="TOP"
2999> the shell context</TD
3000></TR
3001><TR
3002><TD
3003WIDTH="20%"
3004ALIGN="RIGHT"
3005VALIGN="TOP"
3006><TT
3007CLASS="PARAMETER"
3008><I
3009>filename</I
3010></TT
3011>&nbsp;:</TD
3012><TD
3013WIDTH="80%"
3014ALIGN="LEFT"
3015VALIGN="TOP"
3016> the file name</TD
3017></TR
3018><TR
3019><TD
3020WIDTH="20%"
3021ALIGN="RIGHT"
3022VALIGN="TOP"
3023><TT
3024CLASS="PARAMETER"
3025><I
3026>node</I
3027></TT
3028>&nbsp;:</TD
3029><TD
3030WIDTH="80%"
3031ALIGN="LEFT"
3032VALIGN="TOP"
3033> a node in the tree</TD
3034></TR
3035><TR
3036><TD
3037WIDTH="20%"
3038ALIGN="RIGHT"
3039VALIGN="TOP"
3040><TT
3041CLASS="PARAMETER"
3042><I
3043>node2</I
3044></TT
3045>&nbsp;:</TD
3046><TD
3047WIDTH="80%"
3048ALIGN="LEFT"
3049VALIGN="TOP"
3050> unused</TD
3051></TR
3052><TR
3053><TD
3054WIDTH="20%"
3055ALIGN="RIGHT"
3056VALIGN="TOP"
3057><I
3058CLASS="EMPHASIS"
3059>Returns</I
3060> :</TD
3061><TD
3062WIDTH="80%"
3063ALIGN="LEFT"
3064VALIGN="TOP"
3065>0 or -1 in case of error</TD
3066></TR
3067></TBODY
3068></TABLE
3069><P
3070></P
3071></DIV
3072></DIV
3073><HR><DIV
3074CLASS="REFSECT2"
3075><A
Daniel Veillard06622df2002-01-21 17:53:42 +00003076NAME="AEN26009"
Daniel Veillard52dcab32001-10-30 12:51:17 +00003077></A
3078><H3
3079><A
3080NAME="XMLSHELLSAVE"
3081></A
Daniel Veillard06622df2002-01-21 17:53:42 +00003082>&#62;xmlShellSave ()</H3
Daniel Veillard52dcab32001-10-30 12:51:17 +00003083><TABLE
3084BORDER="0"
3085BGCOLOR="#D6E8FF"
3086WIDTH="100%"
3087CELLPADDING="6"
3088><TR
3089><TD
3090><PRE
3091CLASS="PROGRAMLISTING"
3092>int xmlShellSave (<A
3093HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
3094>xmlShellCtxtPtr</A
3095> ctxt,
3096 char *filename,
3097 <A
3098HREF="libxml-tree.html#XMLNODEPTR"
3099>xmlNodePtr</A
3100> node,
3101 <A
3102HREF="libxml-tree.html#XMLNODEPTR"
3103>xmlNodePtr</A
3104> node2);</PRE
3105></TD
3106></TR
3107></TABLE
3108><P
3109>Implements the XML shell function "save"
3110Write the current document to the filename, or it's original name</P
3111><P
3112></P
3113><DIV
3114CLASS="INFORMALTABLE"
3115><A
Daniel Veillard06622df2002-01-21 17:53:42 +00003116NAME="AEN26018"
Daniel Veillard52dcab32001-10-30 12:51:17 +00003117></A
3118><P
3119></P
3120><TABLE
3121BORDER="0"
3122WIDTH="100%"
3123BGCOLOR="#FFD0D0"
3124CELLSPACING="0"
3125CELLPADDING="4"
3126CLASS="CALSTABLE"
3127><TBODY
3128><TR
3129><TD
3130WIDTH="20%"
3131ALIGN="RIGHT"
3132VALIGN="TOP"
3133><TT
3134CLASS="PARAMETER"
3135><I
3136>ctxt</I
3137></TT
3138>&nbsp;:</TD
3139><TD
3140WIDTH="80%"
3141ALIGN="LEFT"
3142VALIGN="TOP"
3143> the shell context</TD
3144></TR
3145><TR
3146><TD
3147WIDTH="20%"
3148ALIGN="RIGHT"
3149VALIGN="TOP"
3150><TT
3151CLASS="PARAMETER"
3152><I
3153>filename</I
3154></TT
3155>&nbsp;:</TD
3156><TD
3157WIDTH="80%"
3158ALIGN="LEFT"
3159VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00003160> the file name (optional)</TD
Daniel Veillard52dcab32001-10-30 12:51:17 +00003161></TR
3162><TR
3163><TD
3164WIDTH="20%"
3165ALIGN="RIGHT"
3166VALIGN="TOP"
3167><TT
3168CLASS="PARAMETER"
3169><I
3170>node</I
3171></TT
3172>&nbsp;:</TD
3173><TD
3174WIDTH="80%"
3175ALIGN="LEFT"
3176VALIGN="TOP"
3177> unused</TD
3178></TR
3179><TR
3180><TD
3181WIDTH="20%"
3182ALIGN="RIGHT"
3183VALIGN="TOP"
3184><TT
3185CLASS="PARAMETER"
3186><I
3187>node2</I
3188></TT
3189>&nbsp;:</TD
3190><TD
3191WIDTH="80%"
3192ALIGN="LEFT"
3193VALIGN="TOP"
3194> unused</TD
3195></TR
3196><TR
3197><TD
3198WIDTH="20%"
3199ALIGN="RIGHT"
3200VALIGN="TOP"
3201><I
3202CLASS="EMPHASIS"
3203>Returns</I
3204> :</TD
3205><TD
3206WIDTH="80%"
3207ALIGN="LEFT"
3208VALIGN="TOP"
3209>0 or -1 in case of error</TD
3210></TR
3211></TBODY
3212></TABLE
3213><P
3214></P
3215></DIV
3216></DIV
3217><HR><DIV
3218CLASS="REFSECT2"
3219><A
Daniel Veillard06622df2002-01-21 17:53:42 +00003220NAME="AEN26043"
Daniel Veillard52dcab32001-10-30 12:51:17 +00003221></A
3222><H3
3223><A
3224NAME="XMLSHELLVALIDATE"
3225></A
Daniel Veillard06622df2002-01-21 17:53:42 +00003226>&#62;xmlShellValidate ()</H3
Daniel Veillard52dcab32001-10-30 12:51:17 +00003227><TABLE
3228BORDER="0"
3229BGCOLOR="#D6E8FF"
3230WIDTH="100%"
3231CELLPADDING="6"
3232><TR
3233><TD
3234><PRE
3235CLASS="PROGRAMLISTING"
3236>int xmlShellValidate (<A
3237HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
3238>xmlShellCtxtPtr</A
3239> ctxt,
3240 char *dtd,
3241 <A
3242HREF="libxml-tree.html#XMLNODEPTR"
3243>xmlNodePtr</A
3244> node,
3245 <A
3246HREF="libxml-tree.html#XMLNODEPTR"
3247>xmlNodePtr</A
3248> node2);</PRE
3249></TD
3250></TR
3251></TABLE
3252><P
3253>Implements the XML shell function "validate"
3254Validate the document, if a DTD path is provided, then the validation
3255is done against the given DTD.</P
3256><P
3257></P
3258><DIV
3259CLASS="INFORMALTABLE"
3260><A
Daniel Veillard06622df2002-01-21 17:53:42 +00003261NAME="AEN26052"
Daniel Veillard52dcab32001-10-30 12:51:17 +00003262></A
3263><P
3264></P
3265><TABLE
3266BORDER="0"
3267WIDTH="100%"
3268BGCOLOR="#FFD0D0"
3269CELLSPACING="0"
3270CELLPADDING="4"
3271CLASS="CALSTABLE"
3272><TBODY
3273><TR
3274><TD
3275WIDTH="20%"
3276ALIGN="RIGHT"
3277VALIGN="TOP"
3278><TT
3279CLASS="PARAMETER"
3280><I
3281>ctxt</I
3282></TT
3283>&nbsp;:</TD
3284><TD
3285WIDTH="80%"
3286ALIGN="LEFT"
3287VALIGN="TOP"
3288> the shell context</TD
3289></TR
3290><TR
3291><TD
3292WIDTH="20%"
3293ALIGN="RIGHT"
3294VALIGN="TOP"
3295><TT
3296CLASS="PARAMETER"
3297><I
3298>dtd</I
3299></TT
3300>&nbsp;:</TD
3301><TD
3302WIDTH="80%"
3303ALIGN="LEFT"
3304VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00003305> the DTD URI (optional)</TD
Daniel Veillard52dcab32001-10-30 12:51:17 +00003306></TR
3307><TR
3308><TD
3309WIDTH="20%"
3310ALIGN="RIGHT"
3311VALIGN="TOP"
3312><TT
3313CLASS="PARAMETER"
3314><I
3315>node</I
3316></TT
3317>&nbsp;:</TD
3318><TD
3319WIDTH="80%"
3320ALIGN="LEFT"
3321VALIGN="TOP"
3322> unused</TD
3323></TR
3324><TR
3325><TD
3326WIDTH="20%"
3327ALIGN="RIGHT"
3328VALIGN="TOP"
3329><TT
3330CLASS="PARAMETER"
3331><I
3332>node2</I
3333></TT
3334>&nbsp;:</TD
3335><TD
3336WIDTH="80%"
3337ALIGN="LEFT"
3338VALIGN="TOP"
3339> unused</TD
3340></TR
3341><TR
3342><TD
3343WIDTH="20%"
3344ALIGN="RIGHT"
3345VALIGN="TOP"
3346><I
3347CLASS="EMPHASIS"
3348>Returns</I
3349> :</TD
3350><TD
3351WIDTH="80%"
3352ALIGN="LEFT"
3353VALIGN="TOP"
3354>0 or -1 in case of error</TD
3355></TR
3356></TBODY
3357></TABLE
3358><P
3359></P
3360></DIV
3361></DIV
3362><HR><DIV
3363CLASS="REFSECT2"
3364><A
Daniel Veillard06622df2002-01-21 17:53:42 +00003365NAME="AEN26077"
Daniel Veillard52dcab32001-10-30 12:51:17 +00003366></A
3367><H3
3368><A
3369NAME="XMLSHELLDU"
3370></A
Daniel Veillard06622df2002-01-21 17:53:42 +00003371>&#62;xmlShellDu ()</H3
Daniel Veillard52dcab32001-10-30 12:51:17 +00003372><TABLE
3373BORDER="0"
3374BGCOLOR="#D6E8FF"
3375WIDTH="100%"
3376CELLPADDING="6"
3377><TR
3378><TD
3379><PRE
3380CLASS="PROGRAMLISTING"
3381>int xmlShellDu (<A
3382HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
3383>xmlShellCtxtPtr</A
3384> ctxt,
3385 char *arg,
3386 <A
3387HREF="libxml-tree.html#XMLNODEPTR"
3388>xmlNodePtr</A
3389> tree,
3390 <A
3391HREF="libxml-tree.html#XMLNODEPTR"
3392>xmlNodePtr</A
3393> node2);</PRE
3394></TD
3395></TR
3396></TABLE
3397><P
3398>Implements the XML shell function "du"
3399show the structure of the subtree under node <TT
3400CLASS="PARAMETER"
3401><I
3402>tree</I
3403></TT
3404>
3405If <TT
3406CLASS="PARAMETER"
3407><I
3408>tree</I
3409></TT
3410> is null, the command works on the current node.</P
3411><P
3412></P
3413><DIV
3414CLASS="INFORMALTABLE"
3415><A
Daniel Veillard06622df2002-01-21 17:53:42 +00003416NAME="AEN26088"
Daniel Veillard52dcab32001-10-30 12:51:17 +00003417></A
3418><P
3419></P
3420><TABLE
3421BORDER="0"
3422WIDTH="100%"
3423BGCOLOR="#FFD0D0"
3424CELLSPACING="0"
3425CELLPADDING="4"
3426CLASS="CALSTABLE"
3427><TBODY
3428><TR
3429><TD
3430WIDTH="20%"
3431ALIGN="RIGHT"
3432VALIGN="TOP"
3433><TT
3434CLASS="PARAMETER"
3435><I
3436>ctxt</I
3437></TT
3438>&nbsp;:</TD
3439><TD
3440WIDTH="80%"
3441ALIGN="LEFT"
3442VALIGN="TOP"
3443> the shell context</TD
3444></TR
3445><TR
3446><TD
3447WIDTH="20%"
3448ALIGN="RIGHT"
3449VALIGN="TOP"
3450><TT
3451CLASS="PARAMETER"
3452><I
3453>arg</I
3454></TT
3455>&nbsp;:</TD
3456><TD
3457WIDTH="80%"
3458ALIGN="LEFT"
3459VALIGN="TOP"
3460> unused</TD
3461></TR
3462><TR
3463><TD
3464WIDTH="20%"
3465ALIGN="RIGHT"
3466VALIGN="TOP"
3467><TT
3468CLASS="PARAMETER"
3469><I
3470>tree</I
3471></TT
3472>&nbsp;:</TD
3473><TD
3474WIDTH="80%"
3475ALIGN="LEFT"
3476VALIGN="TOP"
3477> a node defining a subtree</TD
3478></TR
3479><TR
3480><TD
3481WIDTH="20%"
3482ALIGN="RIGHT"
3483VALIGN="TOP"
3484><TT
3485CLASS="PARAMETER"
3486><I
3487>node2</I
3488></TT
3489>&nbsp;:</TD
3490><TD
3491WIDTH="80%"
3492ALIGN="LEFT"
3493VALIGN="TOP"
3494> unused</TD
3495></TR
3496><TR
3497><TD
3498WIDTH="20%"
3499ALIGN="RIGHT"
3500VALIGN="TOP"
3501><I
3502CLASS="EMPHASIS"
3503>Returns</I
3504> :</TD
3505><TD
3506WIDTH="80%"
3507ALIGN="LEFT"
3508VALIGN="TOP"
3509>0 or -1 in case of error</TD
3510></TR
3511></TBODY
3512></TABLE
3513><P
3514></P
3515></DIV
3516></DIV
3517><HR><DIV
3518CLASS="REFSECT2"
3519><A
Daniel Veillard06622df2002-01-21 17:53:42 +00003520NAME="AEN26113"
Daniel Veillard52dcab32001-10-30 12:51:17 +00003521></A
3522><H3
3523><A
3524NAME="XMLSHELLPWD"
3525></A
Daniel Veillard06622df2002-01-21 17:53:42 +00003526>&#62;xmlShellPwd ()</H3
Daniel Veillard52dcab32001-10-30 12:51:17 +00003527><TABLE
3528BORDER="0"
3529BGCOLOR="#D6E8FF"
3530WIDTH="100%"
3531CELLPADDING="6"
3532><TR
3533><TD
3534><PRE
3535CLASS="PROGRAMLISTING"
3536>int xmlShellPwd (<A
3537HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
3538>xmlShellCtxtPtr</A
3539> ctxt,
3540 char *buffer,
3541 <A
3542HREF="libxml-tree.html#XMLNODEPTR"
3543>xmlNodePtr</A
3544> node,
3545 <A
3546HREF="libxml-tree.html#XMLNODEPTR"
3547>xmlNodePtr</A
3548> node2);</PRE
3549></TD
3550></TR
3551></TABLE
3552><P
3553>Implements the XML shell function "pwd"
3554Show the full path from the root to the node, if needed building
3555thumblers when similar elements exists at a given ancestor level.
3556The output is compatible with XPath commands.</P
3557><P
3558></P
3559><DIV
3560CLASS="INFORMALTABLE"
3561><A
Daniel Veillard06622df2002-01-21 17:53:42 +00003562NAME="AEN26122"
Daniel Veillard52dcab32001-10-30 12:51:17 +00003563></A
3564><P
3565></P
3566><TABLE
3567BORDER="0"
3568WIDTH="100%"
3569BGCOLOR="#FFD0D0"
3570CELLSPACING="0"
3571CELLPADDING="4"
3572CLASS="CALSTABLE"
3573><TBODY
3574><TR
3575><TD
3576WIDTH="20%"
3577ALIGN="RIGHT"
3578VALIGN="TOP"
3579><TT
3580CLASS="PARAMETER"
3581><I
3582>ctxt</I
3583></TT
3584>&nbsp;:</TD
3585><TD
3586WIDTH="80%"
3587ALIGN="LEFT"
3588VALIGN="TOP"
3589> the shell context</TD
3590></TR
3591><TR
3592><TD
3593WIDTH="20%"
3594ALIGN="RIGHT"
3595VALIGN="TOP"
3596><TT
3597CLASS="PARAMETER"
3598><I
3599>buffer</I
3600></TT
3601>&nbsp;:</TD
3602><TD
3603WIDTH="80%"
3604ALIGN="LEFT"
3605VALIGN="TOP"
3606> the output buffer</TD
3607></TR
3608><TR
3609><TD
3610WIDTH="20%"
3611ALIGN="RIGHT"
3612VALIGN="TOP"
3613><TT
3614CLASS="PARAMETER"
3615><I
3616>node</I
3617></TT
3618>&nbsp;:</TD
3619><TD
3620WIDTH="80%"
3621ALIGN="LEFT"
3622VALIGN="TOP"
3623>&nbsp;</TD
3624></TR
3625><TR
3626><TD
3627WIDTH="20%"
3628ALIGN="RIGHT"
3629VALIGN="TOP"
3630><TT
3631CLASS="PARAMETER"
3632><I
3633>node2</I
3634></TT
3635>&nbsp;:</TD
3636><TD
3637WIDTH="80%"
3638ALIGN="LEFT"
3639VALIGN="TOP"
3640> unused</TD
3641></TR
3642><TR
3643><TD
3644WIDTH="20%"
3645ALIGN="RIGHT"
3646VALIGN="TOP"
3647><I
3648CLASS="EMPHASIS"
3649>Returns</I
3650> :</TD
3651><TD
3652WIDTH="80%"
3653ALIGN="LEFT"
3654VALIGN="TOP"
3655>0 or -1 in case of error</TD
3656></TR
3657></TBODY
3658></TABLE
3659><P
3660></P
3661></DIV
3662></DIV
3663><HR><DIV
3664CLASS="REFSECT2"
3665><A
Daniel Veillard06622df2002-01-21 17:53:42 +00003666NAME="AEN26147"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003667></A
3668><H3
3669><A
3670NAME="XMLSHELL"
3671></A
Daniel Veillard06622df2002-01-21 17:53:42 +00003672>&#62;xmlShell ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003673><TABLE
3674BORDER="0"
3675BGCOLOR="#D6E8FF"
3676WIDTH="100%"
3677CELLPADDING="6"
3678><TR
3679><TD
3680><PRE
3681CLASS="PROGRAMLISTING"
3682>void xmlShell (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003683HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003684>xmlDocPtr</A
3685> doc,
3686 char *filename,
3687 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003688HREF="libxml-debugxml.html#XMLSHELLREADLINEFUNC"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003689>xmlShellReadlineFunc</A
3690> input,
3691 <GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00003692HREF="FILE-CAPS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003693>FILE</GTKDOCLINK
3694> *output);</PRE
3695></TD
3696></TR
3697></TABLE
3698><P
3699>Implements the XML shell
3700This allow to load, validate, view, modify and save a document
3701using a environment similar to a UNIX commandline.</P
3702><P
3703></P
3704><DIV
3705CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003706><A
Daniel Veillard06622df2002-01-21 17:53:42 +00003707NAME="AEN26156"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003708></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003709><P
3710></P
3711><TABLE
3712BORDER="0"
3713WIDTH="100%"
3714BGCOLOR="#FFD0D0"
3715CELLSPACING="0"
3716CELLPADDING="4"
3717CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003718><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003719><TR
3720><TD
3721WIDTH="20%"
3722ALIGN="RIGHT"
3723VALIGN="TOP"
3724><TT
3725CLASS="PARAMETER"
3726><I
3727>doc</I
3728></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003729>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003730><TD
3731WIDTH="80%"
3732ALIGN="LEFT"
3733VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003734> the initial document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003735></TR
3736><TR
3737><TD
3738WIDTH="20%"
3739ALIGN="RIGHT"
3740VALIGN="TOP"
3741><TT
3742CLASS="PARAMETER"
3743><I
3744>filename</I
3745></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003746>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003747><TD
3748WIDTH="80%"
3749ALIGN="LEFT"
3750VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003751> the output buffer</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003752></TR
3753><TR
3754><TD
3755WIDTH="20%"
3756ALIGN="RIGHT"
3757VALIGN="TOP"
3758><TT
3759CLASS="PARAMETER"
3760><I
3761>input</I
3762></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003763>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003764><TD
3765WIDTH="80%"
3766ALIGN="LEFT"
3767VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003768> the line reading function</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003769></TR
3770><TR
3771><TD
3772WIDTH="20%"
3773ALIGN="RIGHT"
3774VALIGN="TOP"
3775><TT
3776CLASS="PARAMETER"
3777><I
3778>output</I
3779></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003780>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003781><TD
3782WIDTH="80%"
3783ALIGN="LEFT"
3784VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003785> the output FILE*</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003786></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003787></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003788></TABLE
3789><P
3790></P
3791></DIV
3792></DIV
Daniel Veillardaeea04f2000-01-25 19:27:27 +00003793></DIV
3794><DIV
3795CLASS="NAVFOOTER"
3796><BR
3797CLEAR="all"><BR><TABLE
3798WIDTH="100%"
3799BORDER="0"
3800BGCOLOR="#000000"
3801CELLPADDING="1"
3802CELLSPACING="0"
3803><TR
3804><TD
3805WIDTH="25%"
3806BGCOLOR="#C00000"
3807ALIGN="left"
3808><A
Daniel Veillard52dcab32001-10-30 12:51:17 +00003809HREF="libxml-hash.html"
Daniel Veillardaeea04f2000-01-25 19:27:27 +00003810><FONT
3811COLOR="#FFFFFF"
3812SIZE="3"
3813><B
3814>&#60;&#60;&#60; Previous Page</B
3815></FONT
3816></A
3817></TD
3818><TD
3819WIDTH="25%"
3820BGCOLOR="#0000C0"
3821ALIGN="center"
3822><FONT
3823COLOR="#FFFFFF"
3824SIZE="3"
3825><B
3826><A
3827HREF="book1.html"
3828><FONT
3829COLOR="#FFFFFF"
3830SIZE="3"
3831><B
3832>Home</B
3833></FONT
3834></A
3835></B
3836></FONT
3837></TD
3838><TD
3839WIDTH="25%"
3840BGCOLOR="#00C000"
3841ALIGN="center"
3842><FONT
3843COLOR="#FFFFFF"
3844SIZE="3"
3845><B
3846><A
3847HREF="libxml-lib.html"
3848><FONT
3849COLOR="#FFFFFF"
3850SIZE="3"
3851><B
3852>Up</B
3853></FONT
3854></A
3855></B
3856></FONT
3857></TD
3858><TD
3859WIDTH="25%"
3860BGCOLOR="#C00000"
3861ALIGN="right"
3862><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003863HREF="libxml-xmlmemory.html"
Daniel Veillardaeea04f2000-01-25 19:27:27 +00003864><FONT
3865COLOR="#FFFFFF"
3866SIZE="3"
3867><B
3868>Next Page &#62;&#62;&#62;</B
3869></FONT
3870></A
3871></TD
3872></TR
3873><TR
3874><TD
3875COLSPAN="2"
3876ALIGN="left"
3877><FONT
3878COLOR="#FFFFFF"
3879SIZE="3"
3880><B
Daniel Veillard52dcab32001-10-30 12:51:17 +00003881>hash</B
Daniel Veillardaeea04f2000-01-25 19:27:27 +00003882></FONT
3883></TD
3884><TD
3885COLSPAN="2"
3886ALIGN="right"
3887><FONT
3888COLOR="#FFFFFF"
3889SIZE="3"
3890><B
3891>xmlmemory</B
3892></FONT
3893></TD
3894></TR
3895></TABLE
3896></DIV
3897></BODY
3898></HTML
3899>