blob: 966023b8cba534b48fcdcfc8422bcd2c67bc9c91 [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 Veillardef90ba72001-12-07 14:24:22 +0000126NAME="AEN25191"
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 Veillardef90ba72001-12-07 14:24:22 +0000134NAME="AEN25194"
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);
282const char* <A
283HREF="libxml-debugxml.html#XMLBOOLTOTEXT"
284>xmlBoolToText</A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000285> (int boolval);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000286char* (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000287HREF="libxml-debugxml.html#XMLSHELLREADLINEFUNC"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000288>*xmlShellReadlineFunc</A
289>) (char *prompt);
290struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000291HREF="libxml-debugxml.html#XMLSHELLCTXT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000292>xmlShellCtxt</A
293>;
294typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000295HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000296>xmlShellCtxtPtr</A
297>;
298int (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000299HREF="libxml-debugxml.html#XMLSHELLCMD"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000300>*xmlShellCmd</A
301>) (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000302HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000303>xmlShellCtxtPtr</A
304> ctxt,
305 char *arg,
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> node,
310 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000311HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000312>xmlNodePtr</A
313> node2);
314void <A
Daniel Veillard52dcab32001-10-30 12:51:17 +0000315HREF="libxml-debugxml.html#XMLSHELLPRINTXPATHERROR"
316>xmlShellPrintXPathError</A
317> (int errorType,
318 const char *arg);
319void <A
320HREF="libxml-debugxml.html#XMLSHELLPRINTNODE"
321>xmlShellPrintNode</A
322> (<A
323HREF="libxml-tree.html#XMLNODEPTR"
324>xmlNodePtr</A
325> node);
326void <A
327HREF="libxml-debugxml.html#XMLSHELLPRINTXPATHRESULT"
328>xmlShellPrintXPathResult</A
329> (<A
330HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
331>xmlXPathObjectPtr</A
332> list);
333int <A
334HREF="libxml-debugxml.html#XMLSHELLLIST"
335>xmlShellList</A
336> (<A
337HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
338>xmlShellCtxtPtr</A
339> ctxt,
340 char *arg,
341 <A
342HREF="libxml-tree.html#XMLNODEPTR"
343>xmlNodePtr</A
344> node,
345 <A
346HREF="libxml-tree.html#XMLNODEPTR"
347>xmlNodePtr</A
348> node2);
349int <A
350HREF="libxml-debugxml.html#XMLSHELLBASE"
351>xmlShellBase</A
352> (<A
353HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
354>xmlShellCtxtPtr</A
355> ctxt,
356 char *arg,
357 <A
358HREF="libxml-tree.html#XMLNODEPTR"
359>xmlNodePtr</A
360> node,
361 <A
362HREF="libxml-tree.html#XMLNODEPTR"
363>xmlNodePtr</A
364> node2);
365int <A
366HREF="libxml-debugxml.html#XMLSHELLDIR"
367>xmlShellDir</A
368> (<A
369HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
370>xmlShellCtxtPtr</A
371> ctxt,
372 char *arg,
373 <A
374HREF="libxml-tree.html#XMLNODEPTR"
375>xmlNodePtr</A
376> node,
377 <A
378HREF="libxml-tree.html#XMLNODEPTR"
379>xmlNodePtr</A
380> node2);
381int <A
382HREF="libxml-debugxml.html#XMLSHELLCAT"
383>xmlShellCat</A
384> (<A
385HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
386>xmlShellCtxtPtr</A
387> ctxt,
388 char *arg,
389 <A
390HREF="libxml-tree.html#XMLNODEPTR"
391>xmlNodePtr</A
392> node,
393 <A
394HREF="libxml-tree.html#XMLNODEPTR"
395>xmlNodePtr</A
396> node2);
397int <A
398HREF="libxml-debugxml.html#XMLSHELLLOAD"
399>xmlShellLoad</A
400> (<A
401HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
402>xmlShellCtxtPtr</A
403> ctxt,
404 char *filename,
405 <A
406HREF="libxml-tree.html#XMLNODEPTR"
407>xmlNodePtr</A
408> node,
409 <A
410HREF="libxml-tree.html#XMLNODEPTR"
411>xmlNodePtr</A
412> node2);
413int <A
414HREF="libxml-debugxml.html#XMLSHELLWRITE"
415>xmlShellWrite</A
416> (<A
417HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
418>xmlShellCtxtPtr</A
419> ctxt,
420 char *filename,
421 <A
422HREF="libxml-tree.html#XMLNODEPTR"
423>xmlNodePtr</A
424> node,
425 <A
426HREF="libxml-tree.html#XMLNODEPTR"
427>xmlNodePtr</A
428> node2);
429int <A
430HREF="libxml-debugxml.html#XMLSHELLSAVE"
431>xmlShellSave</A
432> (<A
433HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
434>xmlShellCtxtPtr</A
435> ctxt,
436 char *filename,
437 <A
438HREF="libxml-tree.html#XMLNODEPTR"
439>xmlNodePtr</A
440> node,
441 <A
442HREF="libxml-tree.html#XMLNODEPTR"
443>xmlNodePtr</A
444> node2);
445int <A
446HREF="libxml-debugxml.html#XMLSHELLVALIDATE"
447>xmlShellValidate</A
448> (<A
449HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
450>xmlShellCtxtPtr</A
451> ctxt,
452 char *dtd,
453 <A
454HREF="libxml-tree.html#XMLNODEPTR"
455>xmlNodePtr</A
456> node,
457 <A
458HREF="libxml-tree.html#XMLNODEPTR"
459>xmlNodePtr</A
460> node2);
461int <A
462HREF="libxml-debugxml.html#XMLSHELLDU"
463>xmlShellDu</A
464> (<A
465HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
466>xmlShellCtxtPtr</A
467> ctxt,
468 char *arg,
469 <A
470HREF="libxml-tree.html#XMLNODEPTR"
471>xmlNodePtr</A
472> tree,
473 <A
474HREF="libxml-tree.html#XMLNODEPTR"
475>xmlNodePtr</A
476> node2);
477int <A
478HREF="libxml-debugxml.html#XMLSHELLPWD"
479>xmlShellPwd</A
480> (<A
481HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
482>xmlShellCtxtPtr</A
483> ctxt,
484 char *buffer,
485 <A
486HREF="libxml-tree.html#XMLNODEPTR"
487>xmlNodePtr</A
488> node,
489 <A
490HREF="libxml-tree.html#XMLNODEPTR"
491>xmlNodePtr</A
492> node2);
493void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000494HREF="libxml-debugxml.html#XMLSHELL"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000495>xmlShell</A
496> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000497HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000498>xmlDocPtr</A
499> doc,
500 char *filename,
501 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000502HREF="libxml-debugxml.html#XMLSHELLREADLINEFUNC"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000503>xmlShellReadlineFunc</A
504> input,
505 <GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000506HREF="FILE-CAPS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000507>FILE</GTKDOCLINK
508> *output);</PRE
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000509></TD
510></TR
511></TABLE
512></DIV
513><DIV
514CLASS="REFSECT1"
515><A
Daniel Veillardef90ba72001-12-07 14:24:22 +0000516NAME="AEN25289"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000517></A
518><H2
519>Description</H2
520><P
521></P
522></DIV
523><DIV
524CLASS="REFSECT1"
525><A
Daniel Veillardef90ba72001-12-07 14:24:22 +0000526NAME="AEN25292"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000527></A
528><H2
529>Details</H2
530><DIV
531CLASS="REFSECT2"
532><A
Daniel Veillardef90ba72001-12-07 14:24:22 +0000533NAME="AEN25294"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000534></A
535><H3
536><A
537NAME="XMLDEBUGDUMPSTRING"
538></A
539>xmlDebugDumpString ()</H3
540><TABLE
541BORDER="0"
542BGCOLOR="#D6E8FF"
543WIDTH="100%"
544CELLPADDING="6"
545><TR
546><TD
547><PRE
548CLASS="PROGRAMLISTING"
549>void xmlDebugDumpString (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000550HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000551>FILE</GTKDOCLINK
552> *output,
553 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000554HREF="libxml-tree.html#XMLCHAR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000555>xmlChar</A
556> *str);</PRE
557></TD
558></TR
559></TABLE
560><P
Daniel Veillardf012a642001-07-23 19:10:52 +0000561>Dumps informations about the string, shorten it if necessary</P
562><P
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000563></P
564><DIV
565CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000566><A
Daniel Veillardef90ba72001-12-07 14:24:22 +0000567NAME="AEN25302"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000568></A
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000569><P
570></P
571><TABLE
572BORDER="0"
573WIDTH="100%"
574BGCOLOR="#FFD0D0"
575CELLSPACING="0"
576CELLPADDING="4"
577CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000578><TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000579><TR
580><TD
581WIDTH="20%"
582ALIGN="RIGHT"
583VALIGN="TOP"
584><TT
585CLASS="PARAMETER"
586><I
587>output</I
588></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000589>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000590><TD
591WIDTH="80%"
592ALIGN="LEFT"
593VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000594> the FILE * for the output</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000595></TR
596><TR
597><TD
598WIDTH="20%"
599ALIGN="RIGHT"
600VALIGN="TOP"
601><TT
602CLASS="PARAMETER"
603><I
604>str</I
605></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000606>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000607><TD
608WIDTH="80%"
609ALIGN="LEFT"
610VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000611> the string</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000612></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000613></TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000614></TABLE
615><P
616></P
617></DIV
618></DIV
619><HR><DIV
620CLASS="REFSECT2"
621><A
Daniel Veillardef90ba72001-12-07 14:24:22 +0000622NAME="AEN25315"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000623></A
624><H3
625><A
626NAME="XMLDEBUGDUMPATTR"
627></A
628>xmlDebugDumpAttr ()</H3
629><TABLE
630BORDER="0"
631BGCOLOR="#D6E8FF"
632WIDTH="100%"
633CELLPADDING="6"
634><TR
635><TD
636><PRE
637CLASS="PROGRAMLISTING"
638>void xmlDebugDumpAttr (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000639HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000640>FILE</GTKDOCLINK
641> *output,
642 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000643HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000644>xmlAttrPtr</A
645> attr,
646 int depth);</PRE
647></TD
648></TR
649></TABLE
650><P
Daniel Veillardf012a642001-07-23 19:10:52 +0000651>Dumps debug information for the attribute</P
652><P
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000653></P
654><DIV
655CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000656><A
Daniel Veillardef90ba72001-12-07 14:24:22 +0000657NAME="AEN25323"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000658></A
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000659><P
660></P
661><TABLE
662BORDER="0"
663WIDTH="100%"
664BGCOLOR="#FFD0D0"
665CELLSPACING="0"
666CELLPADDING="4"
667CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000668><TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000669><TR
670><TD
671WIDTH="20%"
672ALIGN="RIGHT"
673VALIGN="TOP"
674><TT
675CLASS="PARAMETER"
676><I
677>output</I
678></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000679>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000680><TD
681WIDTH="80%"
682ALIGN="LEFT"
683VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000684> the FILE * for the output</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000685></TR
686><TR
687><TD
688WIDTH="20%"
689ALIGN="RIGHT"
690VALIGN="TOP"
691><TT
692CLASS="PARAMETER"
693><I
694>attr</I
695></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000696>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000697><TD
698WIDTH="80%"
699ALIGN="LEFT"
700VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000701> the attribute</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000702></TR
703><TR
704><TD
705WIDTH="20%"
706ALIGN="RIGHT"
707VALIGN="TOP"
708><TT
709CLASS="PARAMETER"
710><I
711>depth</I
712></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000713>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000714><TD
715WIDTH="80%"
716ALIGN="LEFT"
717VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000718> the indentation level.</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000719></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000720></TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000721></TABLE
722><P
723></P
724></DIV
725></DIV
726><HR><DIV
727CLASS="REFSECT2"
728><A
Daniel Veillardef90ba72001-12-07 14:24:22 +0000729NAME="AEN25340"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000730></A
731><H3
732><A
733NAME="XMLDEBUGDUMPATTRLIST"
734></A
735>xmlDebugDumpAttrList ()</H3
736><TABLE
737BORDER="0"
738BGCOLOR="#D6E8FF"
739WIDTH="100%"
740CELLPADDING="6"
741><TR
742><TD
743><PRE
744CLASS="PROGRAMLISTING"
745>void xmlDebugDumpAttrList (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000746HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000747>FILE</GTKDOCLINK
748> *output,
749 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000750HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000751>xmlAttrPtr</A
752> attr,
753 int depth);</PRE
754></TD
755></TR
756></TABLE
757><P
Daniel Veillardf012a642001-07-23 19:10:52 +0000758>Dumps debug information for the attribute list</P
759><P
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000760></P
761><DIV
762CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000763><A
Daniel Veillardef90ba72001-12-07 14:24:22 +0000764NAME="AEN25348"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000765></A
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000766><P
767></P
768><TABLE
769BORDER="0"
770WIDTH="100%"
771BGCOLOR="#FFD0D0"
772CELLSPACING="0"
773CELLPADDING="4"
774CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000775><TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000776><TR
777><TD
778WIDTH="20%"
779ALIGN="RIGHT"
780VALIGN="TOP"
781><TT
782CLASS="PARAMETER"
783><I
784>output</I
785></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000786>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000787><TD
788WIDTH="80%"
789ALIGN="LEFT"
790VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000791> the FILE * for the output</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000792></TR
793><TR
794><TD
795WIDTH="20%"
796ALIGN="RIGHT"
797VALIGN="TOP"
798><TT
799CLASS="PARAMETER"
800><I
801>attr</I
802></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000803>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000804><TD
805WIDTH="80%"
806ALIGN="LEFT"
807VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000808> the attribute list</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000809></TR
810><TR
811><TD
812WIDTH="20%"
813ALIGN="RIGHT"
814VALIGN="TOP"
815><TT
816CLASS="PARAMETER"
817><I
818>depth</I
819></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000820>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000821><TD
822WIDTH="80%"
823ALIGN="LEFT"
824VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000825> the indentation level.</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000826></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000827></TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000828></TABLE
829><P
830></P
831></DIV
832></DIV
833><HR><DIV
834CLASS="REFSECT2"
835><A
Daniel Veillardef90ba72001-12-07 14:24:22 +0000836NAME="AEN25365"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000837></A
838><H3
839><A
840NAME="XMLDEBUGDUMPONENODE"
841></A
842>xmlDebugDumpOneNode ()</H3
843><TABLE
844BORDER="0"
845BGCOLOR="#D6E8FF"
846WIDTH="100%"
847CELLPADDING="6"
848><TR
849><TD
850><PRE
851CLASS="PROGRAMLISTING"
852>void xmlDebugDumpOneNode (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000853HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000854>FILE</GTKDOCLINK
855> *output,
856 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000857HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000858>xmlNodePtr</A
859> node,
860 int depth);</PRE
861></TD
862></TR
863></TABLE
864><P
Daniel Veillardf012a642001-07-23 19:10:52 +0000865>Dumps debug information for the element node, it is not recursive</P
866><P
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000867></P
868><DIV
869CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000870><A
Daniel Veillardef90ba72001-12-07 14:24:22 +0000871NAME="AEN25373"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000872></A
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000873><P
874></P
875><TABLE
876BORDER="0"
877WIDTH="100%"
878BGCOLOR="#FFD0D0"
879CELLSPACING="0"
880CELLPADDING="4"
881CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000882><TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000883><TR
884><TD
885WIDTH="20%"
886ALIGN="RIGHT"
887VALIGN="TOP"
888><TT
889CLASS="PARAMETER"
890><I
891>output</I
892></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000893>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000894><TD
895WIDTH="80%"
896ALIGN="LEFT"
897VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000898> the FILE * for the output</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000899></TR
900><TR
901><TD
902WIDTH="20%"
903ALIGN="RIGHT"
904VALIGN="TOP"
905><TT
906CLASS="PARAMETER"
907><I
908>node</I
909></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000910>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000911><TD
912WIDTH="80%"
913ALIGN="LEFT"
914VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000915> the node</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000916></TR
917><TR
918><TD
919WIDTH="20%"
920ALIGN="RIGHT"
921VALIGN="TOP"
922><TT
923CLASS="PARAMETER"
924><I
925>depth</I
926></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000927>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000928><TD
929WIDTH="80%"
930ALIGN="LEFT"
931VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000932> the indentation level.</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000933></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000934></TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000935></TABLE
936><P
937></P
938></DIV
939></DIV
940><HR><DIV
941CLASS="REFSECT2"
942><A
Daniel Veillardef90ba72001-12-07 14:24:22 +0000943NAME="AEN25390"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000944></A
945><H3
946><A
947NAME="XMLDEBUGDUMPNODE"
948></A
949>xmlDebugDumpNode ()</H3
950><TABLE
951BORDER="0"
952BGCOLOR="#D6E8FF"
953WIDTH="100%"
954CELLPADDING="6"
955><TR
956><TD
957><PRE
958CLASS="PROGRAMLISTING"
959>void xmlDebugDumpNode (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000960HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000961>FILE</GTKDOCLINK
962> *output,
963 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000964HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000965>xmlNodePtr</A
966> node,
967 int depth);</PRE
968></TD
969></TR
970></TABLE
971><P
Daniel Veillardf012a642001-07-23 19:10:52 +0000972>Dumps debug information for the element node, it is recursive</P
973><P
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000974></P
975><DIV
976CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000977><A
Daniel Veillardef90ba72001-12-07 14:24:22 +0000978NAME="AEN25398"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000979></A
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000980><P
981></P
982><TABLE
983BORDER="0"
984WIDTH="100%"
985BGCOLOR="#FFD0D0"
986CELLSPACING="0"
987CELLPADDING="4"
988CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000989><TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000990><TR
991><TD
992WIDTH="20%"
993ALIGN="RIGHT"
994VALIGN="TOP"
995><TT
996CLASS="PARAMETER"
997><I
998>output</I
999></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001000>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001001><TD
1002WIDTH="80%"
1003ALIGN="LEFT"
1004VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001005> the FILE * for the output</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001006></TR
1007><TR
1008><TD
1009WIDTH="20%"
1010ALIGN="RIGHT"
1011VALIGN="TOP"
1012><TT
1013CLASS="PARAMETER"
1014><I
1015>node</I
1016></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001017>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001018><TD
1019WIDTH="80%"
1020ALIGN="LEFT"
1021VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001022> the node</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001023></TR
1024><TR
1025><TD
1026WIDTH="20%"
1027ALIGN="RIGHT"
1028VALIGN="TOP"
1029><TT
1030CLASS="PARAMETER"
1031><I
1032>depth</I
1033></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001034>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001035><TD
1036WIDTH="80%"
1037ALIGN="LEFT"
1038VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001039> the indentation level.</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001040></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001041></TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001042></TABLE
1043><P
1044></P
1045></DIV
1046></DIV
1047><HR><DIV
1048CLASS="REFSECT2"
1049><A
Daniel Veillardef90ba72001-12-07 14:24:22 +00001050NAME="AEN25415"
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001051></A
1052><H3
1053><A
1054NAME="XMLDEBUGDUMPNODELIST"
1055></A
1056>xmlDebugDumpNodeList ()</H3
1057><TABLE
1058BORDER="0"
1059BGCOLOR="#D6E8FF"
1060WIDTH="100%"
1061CELLPADDING="6"
1062><TR
1063><TD
1064><PRE
1065CLASS="PROGRAMLISTING"
1066>void xmlDebugDumpNodeList (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00001067HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001068>FILE</GTKDOCLINK
1069> *output,
1070 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001071HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001072>xmlNodePtr</A
1073> node,
1074 int depth);</PRE
1075></TD
1076></TR
1077></TABLE
1078><P
Daniel Veillardf012a642001-07-23 19:10:52 +00001079>Dumps debug information for the list of element node, it is recursive</P
1080><P
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001081></P
1082><DIV
1083CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001084><A
Daniel Veillardef90ba72001-12-07 14:24:22 +00001085NAME="AEN25423"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001086></A
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001087><P
1088></P
1089><TABLE
1090BORDER="0"
1091WIDTH="100%"
1092BGCOLOR="#FFD0D0"
1093CELLSPACING="0"
1094CELLPADDING="4"
1095CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001096><TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001097><TR
1098><TD
1099WIDTH="20%"
1100ALIGN="RIGHT"
1101VALIGN="TOP"
1102><TT
1103CLASS="PARAMETER"
1104><I
1105>output</I
1106></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001107>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001108><TD
1109WIDTH="80%"
1110ALIGN="LEFT"
1111VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001112> the FILE * for the output</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001113></TR
1114><TR
1115><TD
1116WIDTH="20%"
1117ALIGN="RIGHT"
1118VALIGN="TOP"
1119><TT
1120CLASS="PARAMETER"
1121><I
1122>node</I
1123></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001124>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001125><TD
1126WIDTH="80%"
1127ALIGN="LEFT"
1128VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001129> the node list</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001130></TR
1131><TR
1132><TD
1133WIDTH="20%"
1134ALIGN="RIGHT"
1135VALIGN="TOP"
1136><TT
1137CLASS="PARAMETER"
1138><I
1139>depth</I
1140></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001141>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001142><TD
1143WIDTH="80%"
1144ALIGN="LEFT"
1145VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001146> the indentation level.</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001147></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001148></TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001149></TABLE
1150><P
1151></P
1152></DIV
1153></DIV
1154><HR><DIV
1155CLASS="REFSECT2"
1156><A
Daniel Veillardef90ba72001-12-07 14:24:22 +00001157NAME="AEN25440"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001158></A
1159><H3
1160><A
1161NAME="XMLDEBUGDUMPDOCUMENTHEAD"
1162></A
1163>xmlDebugDumpDocumentHead ()</H3
1164><TABLE
1165BORDER="0"
1166BGCOLOR="#D6E8FF"
1167WIDTH="100%"
1168CELLPADDING="6"
1169><TR
1170><TD
1171><PRE
1172CLASS="PROGRAMLISTING"
1173>void xmlDebugDumpDocumentHead (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00001174HREF="FILE-CAPS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001175>FILE</GTKDOCLINK
1176> *output,
1177 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001178HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001179>xmlDocPtr</A
1180> doc);</PRE
1181></TD
1182></TR
1183></TABLE
1184><P
Daniel Veillardf012a642001-07-23 19:10:52 +00001185>Dumps debug information cncerning the document, not recursive</P
1186><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001187></P
1188><DIV
1189CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001190><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001191NAME="AEN25448"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001192></A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001193><P
1194></P
1195><TABLE
1196BORDER="0"
1197WIDTH="100%"
1198BGCOLOR="#FFD0D0"
1199CELLSPACING="0"
1200CELLPADDING="4"
1201CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001202><TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001203><TR
1204><TD
1205WIDTH="20%"
1206ALIGN="RIGHT"
1207VALIGN="TOP"
1208><TT
1209CLASS="PARAMETER"
1210><I
1211>output</I
1212></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001213>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001214><TD
1215WIDTH="80%"
1216ALIGN="LEFT"
1217VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001218> the FILE * for the output</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001219></TR
1220><TR
1221><TD
1222WIDTH="20%"
1223ALIGN="RIGHT"
1224VALIGN="TOP"
1225><TT
1226CLASS="PARAMETER"
1227><I
Daniel Veillardef90ba72001-12-07 14:24:22 +00001228>doc</I
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001229></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001230>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001231><TD
1232WIDTH="80%"
1233ALIGN="LEFT"
1234VALIGN="TOP"
Daniel Veillardef90ba72001-12-07 14:24:22 +00001235> the document</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001236></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001237></TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001238></TABLE
1239><P
1240></P
1241></DIV
1242></DIV
1243><HR><DIV
1244CLASS="REFSECT2"
1245><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001246NAME="AEN25461"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001247></A
1248><H3
1249><A
Daniel Veillardef90ba72001-12-07 14:24:22 +00001250NAME="XMLDEBUGDUMPDOCUMENT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001251></A
Daniel Veillardef90ba72001-12-07 14:24:22 +00001252>xmlDebugDumpDocument ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001253><TABLE
1254BORDER="0"
1255BGCOLOR="#D6E8FF"
1256WIDTH="100%"
1257CELLPADDING="6"
1258><TR
1259><TD
1260><PRE
1261CLASS="PROGRAMLISTING"
Daniel Veillardef90ba72001-12-07 14:24:22 +00001262>void xmlDebugDumpDocument (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00001263HREF="FILE-CAPS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001264>FILE</GTKDOCLINK
1265> *output,
1266 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001267HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001268>xmlDocPtr</A
1269> doc);</PRE
1270></TD
1271></TR
1272></TABLE
1273><P
Daniel Veillardef90ba72001-12-07 14:24:22 +00001274>Dumps debug information for the document, it's recursive</P
Daniel Veillardf012a642001-07-23 19:10:52 +00001275><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001276></P
1277><DIV
1278CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001279><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001280NAME="AEN25469"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001281></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001282><P
1283></P
1284><TABLE
1285BORDER="0"
1286WIDTH="100%"
1287BGCOLOR="#FFD0D0"
1288CELLSPACING="0"
1289CELLPADDING="4"
1290CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001291><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001292><TR
1293><TD
1294WIDTH="20%"
1295ALIGN="RIGHT"
1296VALIGN="TOP"
1297><TT
1298CLASS="PARAMETER"
1299><I
1300>output</I
1301></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001302>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001303><TD
1304WIDTH="80%"
1305ALIGN="LEFT"
1306VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001307> the FILE * for the output</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001308></TR
1309><TR
1310><TD
1311WIDTH="20%"
1312ALIGN="RIGHT"
1313VALIGN="TOP"
1314><TT
1315CLASS="PARAMETER"
1316><I
1317>doc</I
1318></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001319>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001320><TD
1321WIDTH="80%"
1322ALIGN="LEFT"
1323VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001324> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001325></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001326></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001327></TABLE
1328><P
1329></P
1330></DIV
1331></DIV
1332><HR><DIV
1333CLASS="REFSECT2"
1334><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001335NAME="AEN25482"
Daniel Veillard52dcab32001-10-30 12:51:17 +00001336></A
1337><H3
1338><A
Daniel Veillardef90ba72001-12-07 14:24:22 +00001339NAME="XMLDEBUGDUMPDTD"
1340></A
1341>xmlDebugDumpDTD ()</H3
1342><TABLE
1343BORDER="0"
1344BGCOLOR="#D6E8FF"
1345WIDTH="100%"
1346CELLPADDING="6"
1347><TR
1348><TD
1349><PRE
1350CLASS="PROGRAMLISTING"
1351>void xmlDebugDumpDTD (<GTKDOCLINK
1352HREF="FILE-CAPS"
1353>FILE</GTKDOCLINK
1354> *output,
1355 <A
1356HREF="libxml-tree.html#XMLDTDPTR"
1357>xmlDtdPtr</A
1358> dtd);</PRE
1359></TD
1360></TR
1361></TABLE
1362><P
1363>Dumps debug information for the DTD</P
1364><P
1365></P
1366><DIV
1367CLASS="INFORMALTABLE"
1368><A
1369NAME="AEN25490"
1370></A
1371><P
1372></P
1373><TABLE
1374BORDER="0"
1375WIDTH="100%"
1376BGCOLOR="#FFD0D0"
1377CELLSPACING="0"
1378CELLPADDING="4"
1379CLASS="CALSTABLE"
1380><TBODY
1381><TR
1382><TD
1383WIDTH="20%"
1384ALIGN="RIGHT"
1385VALIGN="TOP"
1386><TT
1387CLASS="PARAMETER"
1388><I
1389>output</I
1390></TT
1391>&nbsp;:</TD
1392><TD
1393WIDTH="80%"
1394ALIGN="LEFT"
1395VALIGN="TOP"
1396> the FILE * for the output</TD
1397></TR
1398><TR
1399><TD
1400WIDTH="20%"
1401ALIGN="RIGHT"
1402VALIGN="TOP"
1403><TT
1404CLASS="PARAMETER"
1405><I
1406>dtd</I
1407></TT
1408>&nbsp;:</TD
1409><TD
1410WIDTH="80%"
1411ALIGN="LEFT"
1412VALIGN="TOP"
1413> the DTD</TD
1414></TR
1415></TBODY
1416></TABLE
1417><P
1418></P
1419></DIV
1420></DIV
1421><HR><DIV
1422CLASS="REFSECT2"
1423><A
1424NAME="AEN25503"
1425></A
1426><H3
1427><A
1428NAME="XMLDEBUGDUMPENTITIES"
1429></A
1430>xmlDebugDumpEntities ()</H3
1431><TABLE
1432BORDER="0"
1433BGCOLOR="#D6E8FF"
1434WIDTH="100%"
1435CELLPADDING="6"
1436><TR
1437><TD
1438><PRE
1439CLASS="PROGRAMLISTING"
1440>void xmlDebugDumpEntities (<GTKDOCLINK
1441HREF="FILE-CAPS"
1442>FILE</GTKDOCLINK
1443> *output,
1444 <A
1445HREF="libxml-tree.html#XMLDOCPTR"
1446>xmlDocPtr</A
1447> doc);</PRE
1448></TD
1449></TR
1450></TABLE
1451><P
1452>Dumps debug information for all the entities in use by the document</P
1453><P
1454></P
1455><DIV
1456CLASS="INFORMALTABLE"
1457><A
1458NAME="AEN25511"
1459></A
1460><P
1461></P
1462><TABLE
1463BORDER="0"
1464WIDTH="100%"
1465BGCOLOR="#FFD0D0"
1466CELLSPACING="0"
1467CELLPADDING="4"
1468CLASS="CALSTABLE"
1469><TBODY
1470><TR
1471><TD
1472WIDTH="20%"
1473ALIGN="RIGHT"
1474VALIGN="TOP"
1475><TT
1476CLASS="PARAMETER"
1477><I
1478>output</I
1479></TT
1480>&nbsp;:</TD
1481><TD
1482WIDTH="80%"
1483ALIGN="LEFT"
1484VALIGN="TOP"
1485> the FILE * for the output</TD
1486></TR
1487><TR
1488><TD
1489WIDTH="20%"
1490ALIGN="RIGHT"
1491VALIGN="TOP"
1492><TT
1493CLASS="PARAMETER"
1494><I
1495>doc</I
1496></TT
1497>&nbsp;:</TD
1498><TD
1499WIDTH="80%"
1500ALIGN="LEFT"
1501VALIGN="TOP"
1502> the document</TD
1503></TR
1504></TBODY
1505></TABLE
1506><P
1507></P
1508></DIV
1509></DIV
1510><HR><DIV
1511CLASS="REFSECT2"
1512><A
1513NAME="AEN25524"
1514></A
1515><H3
1516><A
Daniel Veillard52dcab32001-10-30 12:51:17 +00001517NAME="XMLLSONENODE"
1518></A
1519>xmlLsOneNode ()</H3
1520><TABLE
1521BORDER="0"
1522BGCOLOR="#D6E8FF"
1523WIDTH="100%"
1524CELLPADDING="6"
1525><TR
1526><TD
1527><PRE
1528CLASS="PROGRAMLISTING"
1529>void xmlLsOneNode (<GTKDOCLINK
1530HREF="FILE-CAPS"
1531>FILE</GTKDOCLINK
1532> *output,
1533 <A
1534HREF="libxml-tree.html#XMLNODEPTR"
1535>xmlNodePtr</A
1536> node);</PRE
1537></TD
1538></TR
1539></TABLE
1540><P
1541></P
1542><DIV
1543CLASS="INFORMALTABLE"
1544><A
Daniel Veillardef90ba72001-12-07 14:24:22 +00001545NAME="AEN25531"
Daniel Veillard52dcab32001-10-30 12:51:17 +00001546></A
1547><P
1548></P
1549><TABLE
1550BORDER="0"
1551WIDTH="100%"
1552BGCOLOR="#FFD0D0"
1553CELLSPACING="0"
1554CELLPADDING="4"
1555CLASS="CALSTABLE"
1556><TBODY
1557><TR
1558><TD
1559WIDTH="20%"
1560ALIGN="RIGHT"
1561VALIGN="TOP"
1562><TT
1563CLASS="PARAMETER"
1564><I
1565>output</I
1566></TT
1567>&nbsp;:</TD
1568><TD
1569WIDTH="80%"
1570ALIGN="LEFT"
1571VALIGN="TOP"
1572>&nbsp;</TD
1573></TR
1574><TR
1575><TD
1576WIDTH="20%"
1577ALIGN="RIGHT"
1578VALIGN="TOP"
1579><TT
1580CLASS="PARAMETER"
1581><I
1582>node</I
1583></TT
1584>&nbsp;:</TD
1585><TD
1586WIDTH="80%"
1587ALIGN="LEFT"
1588VALIGN="TOP"
1589>&nbsp;</TD
1590></TR
1591></TBODY
1592></TABLE
1593><P
1594></P
1595></DIV
1596></DIV
1597><HR><DIV
1598CLASS="REFSECT2"
1599><A
Daniel Veillardef90ba72001-12-07 14:24:22 +00001600NAME="AEN25544"
Daniel Veillard52dcab32001-10-30 12:51:17 +00001601></A
1602><H3
1603><A
1604NAME="XMLLSCOUNTNODE"
1605></A
1606>xmlLsCountNode ()</H3
1607><TABLE
1608BORDER="0"
1609BGCOLOR="#D6E8FF"
1610WIDTH="100%"
1611CELLPADDING="6"
1612><TR
1613><TD
1614><PRE
1615CLASS="PROGRAMLISTING"
1616>int xmlLsCountNode (<A
1617HREF="libxml-tree.html#XMLNODEPTR"
1618>xmlNodePtr</A
1619> node);</PRE
1620></TD
1621></TR
1622></TABLE
1623><P
1624></P
1625><DIV
1626CLASS="INFORMALTABLE"
1627><A
Daniel Veillardef90ba72001-12-07 14:24:22 +00001628NAME="AEN25550"
Daniel Veillard52dcab32001-10-30 12:51:17 +00001629></A
1630><P
1631></P
1632><TABLE
1633BORDER="0"
1634WIDTH="100%"
1635BGCOLOR="#FFD0D0"
1636CELLSPACING="0"
1637CELLPADDING="4"
1638CLASS="CALSTABLE"
1639><TBODY
1640><TR
1641><TD
1642WIDTH="20%"
1643ALIGN="RIGHT"
1644VALIGN="TOP"
1645><TT
1646CLASS="PARAMETER"
1647><I
1648>node</I
1649></TT
1650>&nbsp;:</TD
1651><TD
1652WIDTH="80%"
1653ALIGN="LEFT"
1654VALIGN="TOP"
1655>&nbsp;</TD
1656></TR
1657><TR
1658><TD
1659WIDTH="20%"
1660ALIGN="RIGHT"
1661VALIGN="TOP"
1662><I
1663CLASS="EMPHASIS"
1664>Returns</I
1665> :</TD
1666><TD
1667WIDTH="80%"
1668ALIGN="LEFT"
1669VALIGN="TOP"
1670>&nbsp;</TD
1671></TR
1672></TBODY
1673></TABLE
1674><P
1675></P
1676></DIV
1677></DIV
1678><HR><DIV
1679CLASS="REFSECT2"
1680><A
Daniel Veillardef90ba72001-12-07 14:24:22 +00001681NAME="AEN25563"
Daniel Veillard52dcab32001-10-30 12:51:17 +00001682></A
1683><H3
1684><A
1685NAME="XMLBOOLTOTEXT"
1686></A
1687>xmlBoolToText ()</H3
1688><TABLE
1689BORDER="0"
1690BGCOLOR="#D6E8FF"
1691WIDTH="100%"
1692CELLPADDING="6"
1693><TR
1694><TD
1695><PRE
1696CLASS="PROGRAMLISTING"
Daniel Veillard43d3f612001-11-10 11:57:23 +00001697>const char* xmlBoolToText (int boolval);</PRE
Daniel Veillard52dcab32001-10-30 12:51:17 +00001698></TD
1699></TR
1700></TABLE
1701><P
1702>Convenient way to turn bool into text</P
1703><P
1704></P
1705><DIV
1706CLASS="INFORMALTABLE"
1707><A
Daniel Veillardef90ba72001-12-07 14:24:22 +00001708NAME="AEN25569"
Daniel Veillard52dcab32001-10-30 12:51:17 +00001709></A
1710><P
1711></P
1712><TABLE
1713BORDER="0"
1714WIDTH="100%"
1715BGCOLOR="#FFD0D0"
1716CELLSPACING="0"
1717CELLPADDING="4"
1718CLASS="CALSTABLE"
1719><TBODY
1720><TR
1721><TD
1722WIDTH="20%"
1723ALIGN="RIGHT"
1724VALIGN="TOP"
1725><TT
1726CLASS="PARAMETER"
1727><I
Daniel Veillard43d3f612001-11-10 11:57:23 +00001728>boolval</I
Daniel Veillard52dcab32001-10-30 12:51:17 +00001729></TT
1730>&nbsp;:</TD
1731><TD
1732WIDTH="80%"
1733ALIGN="LEFT"
1734VALIGN="TOP"
1735> a bool to turn into text</TD
1736></TR
1737><TR
1738><TD
1739WIDTH="20%"
1740ALIGN="RIGHT"
1741VALIGN="TOP"
1742><I
1743CLASS="EMPHASIS"
1744>Returns</I
1745> :</TD
1746><TD
1747WIDTH="80%"
1748ALIGN="LEFT"
1749VALIGN="TOP"
1750>&nbsp;</TD
1751></TR
1752></TBODY
1753></TABLE
1754><P
1755></P
1756></DIV
1757></DIV
1758><HR><DIV
1759CLASS="REFSECT2"
1760><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001761NAME="AEN25582"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001762></A
1763><H3
1764><A
1765NAME="XMLSHELLREADLINEFUNC"
1766></A
1767>xmlShellReadlineFunc ()</H3
1768><TABLE
1769BORDER="0"
1770BGCOLOR="#D6E8FF"
1771WIDTH="100%"
1772CELLPADDING="6"
1773><TR
1774><TD
1775><PRE
1776CLASS="PROGRAMLISTING"
1777>char* (*xmlShellReadlineFunc) (char *prompt);</PRE
1778></TD
1779></TR
1780></TABLE
1781><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001782>This is a generic signature for the XML shell input function</P
1783><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001784></P
1785><DIV
1786CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001787><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001788NAME="AEN25588"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001789></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001790><P
1791></P
1792><TABLE
1793BORDER="0"
1794WIDTH="100%"
1795BGCOLOR="#FFD0D0"
1796CELLSPACING="0"
1797CELLPADDING="4"
1798CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001799><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001800><TR
1801><TD
1802WIDTH="20%"
1803ALIGN="RIGHT"
1804VALIGN="TOP"
1805><TT
1806CLASS="PARAMETER"
1807><I
1808>prompt</I
1809></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001810>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001811><TD
1812WIDTH="80%"
1813ALIGN="LEFT"
1814VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001815> a string prompt</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001816></TR
1817><TR
1818><TD
1819WIDTH="20%"
1820ALIGN="RIGHT"
1821VALIGN="TOP"
1822><I
1823CLASS="EMPHASIS"
1824>Returns</I
1825> :</TD
1826><TD
1827WIDTH="80%"
1828ALIGN="LEFT"
1829VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001830>a string which will be freed by the Shell</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001831></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001832></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001833></TABLE
1834><P
1835></P
1836></DIV
1837></DIV
1838><HR><DIV
1839CLASS="REFSECT2"
1840><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001841NAME="AEN25601"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001842></A
1843><H3
1844><A
1845NAME="XMLSHELLCTXT"
1846></A
1847>struct xmlShellCtxt</H3
1848><TABLE
1849BORDER="0"
1850BGCOLOR="#D6E8FF"
1851WIDTH="100%"
1852CELLPADDING="6"
1853><TR
1854><TD
1855><PRE
1856CLASS="PROGRAMLISTING"
1857>struct xmlShellCtxt {
1858 char *filename;
1859 xmlDocPtr doc;
1860 xmlNodePtr node;
1861 xmlXPathContextPtr pctxt;
1862 int loaded;
1863 FILE *output;
1864 xmlShellReadlineFunc input;
1865};</PRE
1866></TD
1867></TR
1868></TABLE
1869><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001870>A debugging shell context
1871TODO: add the defined function tables.</P
1872><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001873></P
1874></DIV
1875><HR><DIV
1876CLASS="REFSECT2"
1877><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001878NAME="AEN25607"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001879></A
1880><H3
1881><A
1882NAME="XMLSHELLCTXTPTR"
1883></A
1884>xmlShellCtxtPtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001885><TABLE
1886BORDER="0"
1887BGCOLOR="#D6E8FF"
1888WIDTH="100%"
1889CELLPADDING="6"
1890><TR
1891><TD
1892><PRE
1893CLASS="PROGRAMLISTING"
1894>typedef xmlShellCtxt *xmlShellCtxtPtr;</PRE
1895></TD
1896></TR
1897></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001898><P
1899></P
1900></DIV
1901><HR><DIV
1902CLASS="REFSECT2"
1903><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001904NAME="AEN25612"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001905></A
1906><H3
1907><A
1908NAME="XMLSHELLCMD"
1909></A
1910>xmlShellCmd ()</H3
1911><TABLE
1912BORDER="0"
1913BGCOLOR="#D6E8FF"
1914WIDTH="100%"
1915CELLPADDING="6"
1916><TR
1917><TD
1918><PRE
1919CLASS="PROGRAMLISTING"
1920>int (*xmlShellCmd) (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001921HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001922>xmlShellCtxtPtr</A
1923> ctxt,
1924 char *arg,
1925 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001926HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001927>xmlNodePtr</A
1928> node,
1929 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001930HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001931>xmlNodePtr</A
1932> node2);</PRE
1933></TD
1934></TR
1935></TABLE
1936><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001937>This is a generic signature for the XML shell functions</P
1938><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001939></P
1940><DIV
1941CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001942><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001943NAME="AEN25621"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001944></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001945><P
1946></P
1947><TABLE
1948BORDER="0"
1949WIDTH="100%"
1950BGCOLOR="#FFD0D0"
1951CELLSPACING="0"
1952CELLPADDING="4"
1953CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001954><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001955><TR
1956><TD
1957WIDTH="20%"
1958ALIGN="RIGHT"
1959VALIGN="TOP"
1960><TT
1961CLASS="PARAMETER"
1962><I
1963>ctxt</I
1964></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001965>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001966><TD
1967WIDTH="80%"
1968ALIGN="LEFT"
1969VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001970> a shell context</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001971></TR
1972><TR
1973><TD
1974WIDTH="20%"
1975ALIGN="RIGHT"
1976VALIGN="TOP"
1977><TT
1978CLASS="PARAMETER"
1979><I
1980>arg</I
1981></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001982>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001983><TD
1984WIDTH="80%"
1985ALIGN="LEFT"
1986VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001987> a string argument</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001988></TR
1989><TR
1990><TD
1991WIDTH="20%"
1992ALIGN="RIGHT"
1993VALIGN="TOP"
1994><TT
1995CLASS="PARAMETER"
1996><I
1997>node</I
1998></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001999>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002000><TD
2001WIDTH="80%"
2002ALIGN="LEFT"
2003VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002004> a first node</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002005></TR
2006><TR
2007><TD
2008WIDTH="20%"
2009ALIGN="RIGHT"
2010VALIGN="TOP"
2011><TT
2012CLASS="PARAMETER"
2013><I
2014>node2</I
2015></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002016>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002017><TD
2018WIDTH="80%"
2019ALIGN="LEFT"
2020VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002021> a second node</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002022></TR
2023><TR
2024><TD
2025WIDTH="20%"
2026ALIGN="RIGHT"
2027VALIGN="TOP"
2028><I
2029CLASS="EMPHASIS"
2030>Returns</I
2031> :</TD
2032><TD
2033WIDTH="80%"
2034ALIGN="LEFT"
2035VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002036>an int, negative returns indicating errors</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002037></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002038></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002039></TABLE
2040><P
2041></P
2042></DIV
2043></DIV
2044><HR><DIV
2045CLASS="REFSECT2"
2046><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00002047NAME="AEN25646"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002048></A
2049><H3
2050><A
2051NAME="XMLSHELLPRINTXPATHERROR"
2052></A
2053>xmlShellPrintXPathError ()</H3
2054><TABLE
2055BORDER="0"
2056BGCOLOR="#D6E8FF"
2057WIDTH="100%"
2058CELLPADDING="6"
2059><TR
2060><TD
2061><PRE
2062CLASS="PROGRAMLISTING"
2063>void xmlShellPrintXPathError (int errorType,
2064 const char *arg);</PRE
2065></TD
2066></TR
2067></TABLE
2068><P
2069></P
2070><DIV
2071CLASS="INFORMALTABLE"
2072><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00002073NAME="AEN25651"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002074></A
2075><P
2076></P
2077><TABLE
2078BORDER="0"
2079WIDTH="100%"
2080BGCOLOR="#FFD0D0"
2081CELLSPACING="0"
2082CELLPADDING="4"
2083CLASS="CALSTABLE"
2084><TBODY
2085><TR
2086><TD
2087WIDTH="20%"
2088ALIGN="RIGHT"
2089VALIGN="TOP"
2090><TT
2091CLASS="PARAMETER"
2092><I
2093>errorType</I
2094></TT
2095>&nbsp;:</TD
2096><TD
2097WIDTH="80%"
2098ALIGN="LEFT"
2099VALIGN="TOP"
2100>&nbsp;</TD
2101></TR
2102><TR
2103><TD
2104WIDTH="20%"
2105ALIGN="RIGHT"
2106VALIGN="TOP"
2107><TT
2108CLASS="PARAMETER"
2109><I
2110>arg</I
2111></TT
2112>&nbsp;:</TD
2113><TD
2114WIDTH="80%"
2115ALIGN="LEFT"
2116VALIGN="TOP"
2117>&nbsp;</TD
2118></TR
2119></TBODY
2120></TABLE
2121><P
2122></P
2123></DIV
2124></DIV
2125><HR><DIV
2126CLASS="REFSECT2"
2127><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00002128NAME="AEN25664"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002129></A
2130><H3
2131><A
2132NAME="XMLSHELLPRINTNODE"
2133></A
2134>xmlShellPrintNode ()</H3
2135><TABLE
2136BORDER="0"
2137BGCOLOR="#D6E8FF"
2138WIDTH="100%"
2139CELLPADDING="6"
2140><TR
2141><TD
2142><PRE
2143CLASS="PROGRAMLISTING"
2144>void xmlShellPrintNode (<A
2145HREF="libxml-tree.html#XMLNODEPTR"
2146>xmlNodePtr</A
2147> node);</PRE
2148></TD
2149></TR
2150></TABLE
2151><P
2152>Print node to stdout</P
2153><P
2154></P
2155><DIV
2156CLASS="INFORMALTABLE"
2157><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00002158NAME="AEN25671"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002159></A
2160><P
2161></P
2162><TABLE
2163BORDER="0"
2164WIDTH="100%"
2165BGCOLOR="#FFD0D0"
2166CELLSPACING="0"
2167CELLPADDING="4"
2168CLASS="CALSTABLE"
2169><TBODY
2170><TR
2171><TD
2172WIDTH="20%"
2173ALIGN="RIGHT"
2174VALIGN="TOP"
2175><TT
2176CLASS="PARAMETER"
2177><I
2178>node</I
2179></TT
2180>&nbsp;:</TD
2181><TD
2182WIDTH="80%"
2183ALIGN="LEFT"
2184VALIGN="TOP"
2185> a non-null node to print to stdout</TD
2186></TR
2187></TBODY
2188></TABLE
2189><P
2190></P
2191></DIV
2192></DIV
2193><HR><DIV
2194CLASS="REFSECT2"
2195><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00002196NAME="AEN25680"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002197></A
2198><H3
2199><A
2200NAME="XMLSHELLPRINTXPATHRESULT"
2201></A
2202>xmlShellPrintXPathResult ()</H3
2203><TABLE
2204BORDER="0"
2205BGCOLOR="#D6E8FF"
2206WIDTH="100%"
2207CELLPADDING="6"
2208><TR
2209><TD
2210><PRE
2211CLASS="PROGRAMLISTING"
2212>void xmlShellPrintXPathResult (<A
2213HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
2214>xmlXPathObjectPtr</A
2215> list);</PRE
2216></TD
2217></TR
2218></TABLE
2219><P
2220>Prints result to stdout</P
2221><P
2222></P
2223><DIV
2224CLASS="INFORMALTABLE"
2225><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00002226NAME="AEN25687"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002227></A
2228><P
2229></P
2230><TABLE
2231BORDER="0"
2232WIDTH="100%"
2233BGCOLOR="#FFD0D0"
2234CELLSPACING="0"
2235CELLPADDING="4"
2236CLASS="CALSTABLE"
2237><TBODY
2238><TR
2239><TD
2240WIDTH="20%"
2241ALIGN="RIGHT"
2242VALIGN="TOP"
2243><TT
2244CLASS="PARAMETER"
2245><I
2246>list</I
2247></TT
2248>&nbsp;:</TD
2249><TD
2250WIDTH="80%"
2251ALIGN="LEFT"
2252VALIGN="TOP"
2253>&nbsp;</TD
2254></TR
2255></TBODY
2256></TABLE
2257><P
2258></P
2259></DIV
2260></DIV
2261><HR><DIV
2262CLASS="REFSECT2"
2263><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00002264NAME="AEN25696"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002265></A
2266><H3
2267><A
2268NAME="XMLSHELLLIST"
2269></A
2270>xmlShellList ()</H3
2271><TABLE
2272BORDER="0"
2273BGCOLOR="#D6E8FF"
2274WIDTH="100%"
2275CELLPADDING="6"
2276><TR
2277><TD
2278><PRE
2279CLASS="PROGRAMLISTING"
2280>int xmlShellList (<A
2281HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
2282>xmlShellCtxtPtr</A
2283> ctxt,
2284 char *arg,
2285 <A
2286HREF="libxml-tree.html#XMLNODEPTR"
2287>xmlNodePtr</A
2288> node,
2289 <A
2290HREF="libxml-tree.html#XMLNODEPTR"
2291>xmlNodePtr</A
2292> node2);</PRE
2293></TD
2294></TR
2295></TABLE
2296><P
2297>Implements the XML shell function "ls"
2298Does an Unix like listing of the given node (like a directory)</P
2299><P
2300></P
2301><DIV
2302CLASS="INFORMALTABLE"
2303><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00002304NAME="AEN25705"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002305></A
2306><P
2307></P
2308><TABLE
2309BORDER="0"
2310WIDTH="100%"
2311BGCOLOR="#FFD0D0"
2312CELLSPACING="0"
2313CELLPADDING="4"
2314CLASS="CALSTABLE"
2315><TBODY
2316><TR
2317><TD
2318WIDTH="20%"
2319ALIGN="RIGHT"
2320VALIGN="TOP"
2321><TT
2322CLASS="PARAMETER"
2323><I
2324>ctxt</I
2325></TT
2326>&nbsp;:</TD
2327><TD
2328WIDTH="80%"
2329ALIGN="LEFT"
2330VALIGN="TOP"
2331> the shell context</TD
2332></TR
2333><TR
2334><TD
2335WIDTH="20%"
2336ALIGN="RIGHT"
2337VALIGN="TOP"
2338><TT
2339CLASS="PARAMETER"
2340><I
2341>arg</I
2342></TT
2343>&nbsp;:</TD
2344><TD
2345WIDTH="80%"
2346ALIGN="LEFT"
2347VALIGN="TOP"
2348> unused</TD
2349></TR
2350><TR
2351><TD
2352WIDTH="20%"
2353ALIGN="RIGHT"
2354VALIGN="TOP"
2355><TT
2356CLASS="PARAMETER"
2357><I
2358>node</I
2359></TT
2360>&nbsp;:</TD
2361><TD
2362WIDTH="80%"
2363ALIGN="LEFT"
2364VALIGN="TOP"
2365> a node</TD
2366></TR
2367><TR
2368><TD
2369WIDTH="20%"
2370ALIGN="RIGHT"
2371VALIGN="TOP"
2372><TT
2373CLASS="PARAMETER"
2374><I
2375>node2</I
2376></TT
2377>&nbsp;:</TD
2378><TD
2379WIDTH="80%"
2380ALIGN="LEFT"
2381VALIGN="TOP"
2382> unused</TD
2383></TR
2384><TR
2385><TD
2386WIDTH="20%"
2387ALIGN="RIGHT"
2388VALIGN="TOP"
2389><I
2390CLASS="EMPHASIS"
2391>Returns</I
2392> :</TD
2393><TD
2394WIDTH="80%"
2395ALIGN="LEFT"
2396VALIGN="TOP"
2397>0</TD
2398></TR
2399></TBODY
2400></TABLE
2401><P
2402></P
2403></DIV
2404></DIV
2405><HR><DIV
2406CLASS="REFSECT2"
2407><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00002408NAME="AEN25730"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002409></A
2410><H3
2411><A
2412NAME="XMLSHELLBASE"
2413></A
2414>xmlShellBase ()</H3
2415><TABLE
2416BORDER="0"
2417BGCOLOR="#D6E8FF"
2418WIDTH="100%"
2419CELLPADDING="6"
2420><TR
2421><TD
2422><PRE
2423CLASS="PROGRAMLISTING"
2424>int xmlShellBase (<A
2425HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
2426>xmlShellCtxtPtr</A
2427> ctxt,
2428 char *arg,
2429 <A
2430HREF="libxml-tree.html#XMLNODEPTR"
2431>xmlNodePtr</A
2432> node,
2433 <A
2434HREF="libxml-tree.html#XMLNODEPTR"
2435>xmlNodePtr</A
2436> node2);</PRE
2437></TD
2438></TR
2439></TABLE
2440><P
2441>Implements the XML shell function "base"
2442dumps the current XML base of the node</P
2443><P
2444></P
2445><DIV
2446CLASS="INFORMALTABLE"
2447><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00002448NAME="AEN25739"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002449></A
2450><P
2451></P
2452><TABLE
2453BORDER="0"
2454WIDTH="100%"
2455BGCOLOR="#FFD0D0"
2456CELLSPACING="0"
2457CELLPADDING="4"
2458CLASS="CALSTABLE"
2459><TBODY
2460><TR
2461><TD
2462WIDTH="20%"
2463ALIGN="RIGHT"
2464VALIGN="TOP"
2465><TT
2466CLASS="PARAMETER"
2467><I
2468>ctxt</I
2469></TT
2470>&nbsp;:</TD
2471><TD
2472WIDTH="80%"
2473ALIGN="LEFT"
2474VALIGN="TOP"
2475> the shell context</TD
2476></TR
2477><TR
2478><TD
2479WIDTH="20%"
2480ALIGN="RIGHT"
2481VALIGN="TOP"
2482><TT
2483CLASS="PARAMETER"
2484><I
2485>arg</I
2486></TT
2487>&nbsp;:</TD
2488><TD
2489WIDTH="80%"
2490ALIGN="LEFT"
2491VALIGN="TOP"
2492> unused</TD
2493></TR
2494><TR
2495><TD
2496WIDTH="20%"
2497ALIGN="RIGHT"
2498VALIGN="TOP"
2499><TT
2500CLASS="PARAMETER"
2501><I
2502>node</I
2503></TT
2504>&nbsp;:</TD
2505><TD
2506WIDTH="80%"
2507ALIGN="LEFT"
2508VALIGN="TOP"
2509> a node</TD
2510></TR
2511><TR
2512><TD
2513WIDTH="20%"
2514ALIGN="RIGHT"
2515VALIGN="TOP"
2516><TT
2517CLASS="PARAMETER"
2518><I
2519>node2</I
2520></TT
2521>&nbsp;:</TD
2522><TD
2523WIDTH="80%"
2524ALIGN="LEFT"
2525VALIGN="TOP"
2526> unused</TD
2527></TR
2528><TR
2529><TD
2530WIDTH="20%"
2531ALIGN="RIGHT"
2532VALIGN="TOP"
2533><I
2534CLASS="EMPHASIS"
2535>Returns</I
2536> :</TD
2537><TD
2538WIDTH="80%"
2539ALIGN="LEFT"
2540VALIGN="TOP"
2541>0</TD
2542></TR
2543></TBODY
2544></TABLE
2545><P
2546></P
2547></DIV
2548></DIV
2549><HR><DIV
2550CLASS="REFSECT2"
2551><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00002552NAME="AEN25764"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002553></A
2554><H3
2555><A
2556NAME="XMLSHELLDIR"
2557></A
2558>xmlShellDir ()</H3
2559><TABLE
2560BORDER="0"
2561BGCOLOR="#D6E8FF"
2562WIDTH="100%"
2563CELLPADDING="6"
2564><TR
2565><TD
2566><PRE
2567CLASS="PROGRAMLISTING"
2568>int xmlShellDir (<A
2569HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
2570>xmlShellCtxtPtr</A
2571> ctxt,
2572 char *arg,
2573 <A
2574HREF="libxml-tree.html#XMLNODEPTR"
2575>xmlNodePtr</A
2576> node,
2577 <A
2578HREF="libxml-tree.html#XMLNODEPTR"
2579>xmlNodePtr</A
2580> node2);</PRE
2581></TD
2582></TR
2583></TABLE
2584><P
2585>Implements the XML shell function "dir"
2586dumps informations about the node (namespace, attributes, content).</P
2587><P
2588></P
2589><DIV
2590CLASS="INFORMALTABLE"
2591><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00002592NAME="AEN25773"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002593></A
2594><P
2595></P
2596><TABLE
2597BORDER="0"
2598WIDTH="100%"
2599BGCOLOR="#FFD0D0"
2600CELLSPACING="0"
2601CELLPADDING="4"
2602CLASS="CALSTABLE"
2603><TBODY
2604><TR
2605><TD
2606WIDTH="20%"
2607ALIGN="RIGHT"
2608VALIGN="TOP"
2609><TT
2610CLASS="PARAMETER"
2611><I
2612>ctxt</I
2613></TT
2614>&nbsp;:</TD
2615><TD
2616WIDTH="80%"
2617ALIGN="LEFT"
2618VALIGN="TOP"
2619> the shell context</TD
2620></TR
2621><TR
2622><TD
2623WIDTH="20%"
2624ALIGN="RIGHT"
2625VALIGN="TOP"
2626><TT
2627CLASS="PARAMETER"
2628><I
2629>arg</I
2630></TT
2631>&nbsp;:</TD
2632><TD
2633WIDTH="80%"
2634ALIGN="LEFT"
2635VALIGN="TOP"
2636> unused</TD
2637></TR
2638><TR
2639><TD
2640WIDTH="20%"
2641ALIGN="RIGHT"
2642VALIGN="TOP"
2643><TT
2644CLASS="PARAMETER"
2645><I
2646>node</I
2647></TT
2648>&nbsp;:</TD
2649><TD
2650WIDTH="80%"
2651ALIGN="LEFT"
2652VALIGN="TOP"
2653> a node</TD
2654></TR
2655><TR
2656><TD
2657WIDTH="20%"
2658ALIGN="RIGHT"
2659VALIGN="TOP"
2660><TT
2661CLASS="PARAMETER"
2662><I
2663>node2</I
2664></TT
2665>&nbsp;:</TD
2666><TD
2667WIDTH="80%"
2668ALIGN="LEFT"
2669VALIGN="TOP"
2670> unused</TD
2671></TR
2672><TR
2673><TD
2674WIDTH="20%"
2675ALIGN="RIGHT"
2676VALIGN="TOP"
2677><I
2678CLASS="EMPHASIS"
2679>Returns</I
2680> :</TD
2681><TD
2682WIDTH="80%"
2683ALIGN="LEFT"
2684VALIGN="TOP"
2685>0</TD
2686></TR
2687></TBODY
2688></TABLE
2689><P
2690></P
2691></DIV
2692></DIV
2693><HR><DIV
2694CLASS="REFSECT2"
2695><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00002696NAME="AEN25798"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002697></A
2698><H3
2699><A
2700NAME="XMLSHELLCAT"
2701></A
2702>xmlShellCat ()</H3
2703><TABLE
2704BORDER="0"
2705BGCOLOR="#D6E8FF"
2706WIDTH="100%"
2707CELLPADDING="6"
2708><TR
2709><TD
2710><PRE
2711CLASS="PROGRAMLISTING"
2712>int xmlShellCat (<A
2713HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
2714>xmlShellCtxtPtr</A
2715> ctxt,
2716 char *arg,
2717 <A
2718HREF="libxml-tree.html#XMLNODEPTR"
2719>xmlNodePtr</A
2720> node,
2721 <A
2722HREF="libxml-tree.html#XMLNODEPTR"
2723>xmlNodePtr</A
2724> node2);</PRE
2725></TD
2726></TR
2727></TABLE
2728><P
2729>Implements the XML shell function "cat"
2730dumps the serialization node content (XML or HTML).</P
2731><P
2732></P
2733><DIV
2734CLASS="INFORMALTABLE"
2735><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00002736NAME="AEN25807"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002737></A
2738><P
2739></P
2740><TABLE
2741BORDER="0"
2742WIDTH="100%"
2743BGCOLOR="#FFD0D0"
2744CELLSPACING="0"
2745CELLPADDING="4"
2746CLASS="CALSTABLE"
2747><TBODY
2748><TR
2749><TD
2750WIDTH="20%"
2751ALIGN="RIGHT"
2752VALIGN="TOP"
2753><TT
2754CLASS="PARAMETER"
2755><I
2756>ctxt</I
2757></TT
2758>&nbsp;:</TD
2759><TD
2760WIDTH="80%"
2761ALIGN="LEFT"
2762VALIGN="TOP"
2763> the shell context</TD
2764></TR
2765><TR
2766><TD
2767WIDTH="20%"
2768ALIGN="RIGHT"
2769VALIGN="TOP"
2770><TT
2771CLASS="PARAMETER"
2772><I
2773>arg</I
2774></TT
2775>&nbsp;:</TD
2776><TD
2777WIDTH="80%"
2778ALIGN="LEFT"
2779VALIGN="TOP"
2780> unused</TD
2781></TR
2782><TR
2783><TD
2784WIDTH="20%"
2785ALIGN="RIGHT"
2786VALIGN="TOP"
2787><TT
2788CLASS="PARAMETER"
2789><I
2790>node</I
2791></TT
2792>&nbsp;:</TD
2793><TD
2794WIDTH="80%"
2795ALIGN="LEFT"
2796VALIGN="TOP"
2797> a node</TD
2798></TR
2799><TR
2800><TD
2801WIDTH="20%"
2802ALIGN="RIGHT"
2803VALIGN="TOP"
2804><TT
2805CLASS="PARAMETER"
2806><I
2807>node2</I
2808></TT
2809>&nbsp;:</TD
2810><TD
2811WIDTH="80%"
2812ALIGN="LEFT"
2813VALIGN="TOP"
2814> unused</TD
2815></TR
2816><TR
2817><TD
2818WIDTH="20%"
2819ALIGN="RIGHT"
2820VALIGN="TOP"
2821><I
2822CLASS="EMPHASIS"
2823>Returns</I
2824> :</TD
2825><TD
2826WIDTH="80%"
2827ALIGN="LEFT"
2828VALIGN="TOP"
2829>0</TD
2830></TR
2831></TBODY
2832></TABLE
2833><P
2834></P
2835></DIV
2836></DIV
2837><HR><DIV
2838CLASS="REFSECT2"
2839><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00002840NAME="AEN25832"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002841></A
2842><H3
2843><A
2844NAME="XMLSHELLLOAD"
2845></A
2846>xmlShellLoad ()</H3
2847><TABLE
2848BORDER="0"
2849BGCOLOR="#D6E8FF"
2850WIDTH="100%"
2851CELLPADDING="6"
2852><TR
2853><TD
2854><PRE
2855CLASS="PROGRAMLISTING"
2856>int xmlShellLoad (<A
2857HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
2858>xmlShellCtxtPtr</A
2859> ctxt,
2860 char *filename,
2861 <A
2862HREF="libxml-tree.html#XMLNODEPTR"
2863>xmlNodePtr</A
2864> node,
2865 <A
2866HREF="libxml-tree.html#XMLNODEPTR"
2867>xmlNodePtr</A
2868> node2);</PRE
2869></TD
2870></TR
2871></TABLE
2872><P
2873>Implements the XML shell function "load"
2874loads a new document specified by the filename</P
2875><P
2876></P
2877><DIV
2878CLASS="INFORMALTABLE"
2879><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00002880NAME="AEN25841"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002881></A
2882><P
2883></P
2884><TABLE
2885BORDER="0"
2886WIDTH="100%"
2887BGCOLOR="#FFD0D0"
2888CELLSPACING="0"
2889CELLPADDING="4"
2890CLASS="CALSTABLE"
2891><TBODY
2892><TR
2893><TD
2894WIDTH="20%"
2895ALIGN="RIGHT"
2896VALIGN="TOP"
2897><TT
2898CLASS="PARAMETER"
2899><I
2900>ctxt</I
2901></TT
2902>&nbsp;:</TD
2903><TD
2904WIDTH="80%"
2905ALIGN="LEFT"
2906VALIGN="TOP"
2907> the shell context</TD
2908></TR
2909><TR
2910><TD
2911WIDTH="20%"
2912ALIGN="RIGHT"
2913VALIGN="TOP"
2914><TT
2915CLASS="PARAMETER"
2916><I
2917>filename</I
2918></TT
2919>&nbsp;:</TD
2920><TD
2921WIDTH="80%"
2922ALIGN="LEFT"
2923VALIGN="TOP"
2924> the file name</TD
2925></TR
2926><TR
2927><TD
2928WIDTH="20%"
2929ALIGN="RIGHT"
2930VALIGN="TOP"
2931><TT
2932CLASS="PARAMETER"
2933><I
2934>node</I
2935></TT
2936>&nbsp;:</TD
2937><TD
2938WIDTH="80%"
2939ALIGN="LEFT"
2940VALIGN="TOP"
2941> unused</TD
2942></TR
2943><TR
2944><TD
2945WIDTH="20%"
2946ALIGN="RIGHT"
2947VALIGN="TOP"
2948><TT
2949CLASS="PARAMETER"
2950><I
2951>node2</I
2952></TT
2953>&nbsp;:</TD
2954><TD
2955WIDTH="80%"
2956ALIGN="LEFT"
2957VALIGN="TOP"
2958> unused</TD
2959></TR
2960><TR
2961><TD
2962WIDTH="20%"
2963ALIGN="RIGHT"
2964VALIGN="TOP"
2965><I
2966CLASS="EMPHASIS"
2967>Returns</I
2968> :</TD
2969><TD
2970WIDTH="80%"
2971ALIGN="LEFT"
2972VALIGN="TOP"
2973>0 or -1 if loading failed</TD
2974></TR
2975></TBODY
2976></TABLE
2977><P
2978></P
2979></DIV
2980></DIV
2981><HR><DIV
2982CLASS="REFSECT2"
2983><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00002984NAME="AEN25866"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002985></A
2986><H3
2987><A
2988NAME="XMLSHELLWRITE"
2989></A
2990>xmlShellWrite ()</H3
2991><TABLE
2992BORDER="0"
2993BGCOLOR="#D6E8FF"
2994WIDTH="100%"
2995CELLPADDING="6"
2996><TR
2997><TD
2998><PRE
2999CLASS="PROGRAMLISTING"
3000>int xmlShellWrite (<A
3001HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
3002>xmlShellCtxtPtr</A
3003> ctxt,
3004 char *filename,
3005 <A
3006HREF="libxml-tree.html#XMLNODEPTR"
3007>xmlNodePtr</A
3008> node,
3009 <A
3010HREF="libxml-tree.html#XMLNODEPTR"
3011>xmlNodePtr</A
3012> node2);</PRE
3013></TD
3014></TR
3015></TABLE
3016><P
3017>Implements the XML shell function "write"
3018Write the current node to the filename, it saves the serailization
3019of the subtree under the <TT
3020CLASS="PARAMETER"
3021><I
3022>node</I
3023></TT
3024> specified</P
3025><P
3026></P
3027><DIV
3028CLASS="INFORMALTABLE"
3029><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00003030NAME="AEN25876"
Daniel Veillard52dcab32001-10-30 12:51:17 +00003031></A
3032><P
3033></P
3034><TABLE
3035BORDER="0"
3036WIDTH="100%"
3037BGCOLOR="#FFD0D0"
3038CELLSPACING="0"
3039CELLPADDING="4"
3040CLASS="CALSTABLE"
3041><TBODY
3042><TR
3043><TD
3044WIDTH="20%"
3045ALIGN="RIGHT"
3046VALIGN="TOP"
3047><TT
3048CLASS="PARAMETER"
3049><I
3050>ctxt</I
3051></TT
3052>&nbsp;:</TD
3053><TD
3054WIDTH="80%"
3055ALIGN="LEFT"
3056VALIGN="TOP"
3057> the shell context</TD
3058></TR
3059><TR
3060><TD
3061WIDTH="20%"
3062ALIGN="RIGHT"
3063VALIGN="TOP"
3064><TT
3065CLASS="PARAMETER"
3066><I
3067>filename</I
3068></TT
3069>&nbsp;:</TD
3070><TD
3071WIDTH="80%"
3072ALIGN="LEFT"
3073VALIGN="TOP"
3074> the file name</TD
3075></TR
3076><TR
3077><TD
3078WIDTH="20%"
3079ALIGN="RIGHT"
3080VALIGN="TOP"
3081><TT
3082CLASS="PARAMETER"
3083><I
3084>node</I
3085></TT
3086>&nbsp;:</TD
3087><TD
3088WIDTH="80%"
3089ALIGN="LEFT"
3090VALIGN="TOP"
3091> a node in the tree</TD
3092></TR
3093><TR
3094><TD
3095WIDTH="20%"
3096ALIGN="RIGHT"
3097VALIGN="TOP"
3098><TT
3099CLASS="PARAMETER"
3100><I
3101>node2</I
3102></TT
3103>&nbsp;:</TD
3104><TD
3105WIDTH="80%"
3106ALIGN="LEFT"
3107VALIGN="TOP"
3108> unused</TD
3109></TR
3110><TR
3111><TD
3112WIDTH="20%"
3113ALIGN="RIGHT"
3114VALIGN="TOP"
3115><I
3116CLASS="EMPHASIS"
3117>Returns</I
3118> :</TD
3119><TD
3120WIDTH="80%"
3121ALIGN="LEFT"
3122VALIGN="TOP"
3123>0 or -1 in case of error</TD
3124></TR
3125></TBODY
3126></TABLE
3127><P
3128></P
3129></DIV
3130></DIV
3131><HR><DIV
3132CLASS="REFSECT2"
3133><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00003134NAME="AEN25901"
Daniel Veillard52dcab32001-10-30 12:51:17 +00003135></A
3136><H3
3137><A
3138NAME="XMLSHELLSAVE"
3139></A
3140>xmlShellSave ()</H3
3141><TABLE
3142BORDER="0"
3143BGCOLOR="#D6E8FF"
3144WIDTH="100%"
3145CELLPADDING="6"
3146><TR
3147><TD
3148><PRE
3149CLASS="PROGRAMLISTING"
3150>int xmlShellSave (<A
3151HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
3152>xmlShellCtxtPtr</A
3153> ctxt,
3154 char *filename,
3155 <A
3156HREF="libxml-tree.html#XMLNODEPTR"
3157>xmlNodePtr</A
3158> node,
3159 <A
3160HREF="libxml-tree.html#XMLNODEPTR"
3161>xmlNodePtr</A
3162> node2);</PRE
3163></TD
3164></TR
3165></TABLE
3166><P
3167>Implements the XML shell function "save"
3168Write the current document to the filename, or it's original name</P
3169><P
3170></P
3171><DIV
3172CLASS="INFORMALTABLE"
3173><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00003174NAME="AEN25910"
Daniel Veillard52dcab32001-10-30 12:51:17 +00003175></A
3176><P
3177></P
3178><TABLE
3179BORDER="0"
3180WIDTH="100%"
3181BGCOLOR="#FFD0D0"
3182CELLSPACING="0"
3183CELLPADDING="4"
3184CLASS="CALSTABLE"
3185><TBODY
3186><TR
3187><TD
3188WIDTH="20%"
3189ALIGN="RIGHT"
3190VALIGN="TOP"
3191><TT
3192CLASS="PARAMETER"
3193><I
3194>ctxt</I
3195></TT
3196>&nbsp;:</TD
3197><TD
3198WIDTH="80%"
3199ALIGN="LEFT"
3200VALIGN="TOP"
3201> the shell context</TD
3202></TR
3203><TR
3204><TD
3205WIDTH="20%"
3206ALIGN="RIGHT"
3207VALIGN="TOP"
3208><TT
3209CLASS="PARAMETER"
3210><I
3211>filename</I
3212></TT
3213>&nbsp;:</TD
3214><TD
3215WIDTH="80%"
3216ALIGN="LEFT"
3217VALIGN="TOP"
3218> the file name (optionnal)</TD
3219></TR
3220><TR
3221><TD
3222WIDTH="20%"
3223ALIGN="RIGHT"
3224VALIGN="TOP"
3225><TT
3226CLASS="PARAMETER"
3227><I
3228>node</I
3229></TT
3230>&nbsp;:</TD
3231><TD
3232WIDTH="80%"
3233ALIGN="LEFT"
3234VALIGN="TOP"
3235> unused</TD
3236></TR
3237><TR
3238><TD
3239WIDTH="20%"
3240ALIGN="RIGHT"
3241VALIGN="TOP"
3242><TT
3243CLASS="PARAMETER"
3244><I
3245>node2</I
3246></TT
3247>&nbsp;:</TD
3248><TD
3249WIDTH="80%"
3250ALIGN="LEFT"
3251VALIGN="TOP"
3252> unused</TD
3253></TR
3254><TR
3255><TD
3256WIDTH="20%"
3257ALIGN="RIGHT"
3258VALIGN="TOP"
3259><I
3260CLASS="EMPHASIS"
3261>Returns</I
3262> :</TD
3263><TD
3264WIDTH="80%"
3265ALIGN="LEFT"
3266VALIGN="TOP"
3267>0 or -1 in case of error</TD
3268></TR
3269></TBODY
3270></TABLE
3271><P
3272></P
3273></DIV
3274></DIV
3275><HR><DIV
3276CLASS="REFSECT2"
3277><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00003278NAME="AEN25935"
Daniel Veillard52dcab32001-10-30 12:51:17 +00003279></A
3280><H3
3281><A
3282NAME="XMLSHELLVALIDATE"
3283></A
3284>xmlShellValidate ()</H3
3285><TABLE
3286BORDER="0"
3287BGCOLOR="#D6E8FF"
3288WIDTH="100%"
3289CELLPADDING="6"
3290><TR
3291><TD
3292><PRE
3293CLASS="PROGRAMLISTING"
3294>int xmlShellValidate (<A
3295HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
3296>xmlShellCtxtPtr</A
3297> ctxt,
3298 char *dtd,
3299 <A
3300HREF="libxml-tree.html#XMLNODEPTR"
3301>xmlNodePtr</A
3302> node,
3303 <A
3304HREF="libxml-tree.html#XMLNODEPTR"
3305>xmlNodePtr</A
3306> node2);</PRE
3307></TD
3308></TR
3309></TABLE
3310><P
3311>Implements the XML shell function "validate"
3312Validate the document, if a DTD path is provided, then the validation
3313is done against the given DTD.</P
3314><P
3315></P
3316><DIV
3317CLASS="INFORMALTABLE"
3318><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00003319NAME="AEN25944"
Daniel Veillard52dcab32001-10-30 12:51:17 +00003320></A
3321><P
3322></P
3323><TABLE
3324BORDER="0"
3325WIDTH="100%"
3326BGCOLOR="#FFD0D0"
3327CELLSPACING="0"
3328CELLPADDING="4"
3329CLASS="CALSTABLE"
3330><TBODY
3331><TR
3332><TD
3333WIDTH="20%"
3334ALIGN="RIGHT"
3335VALIGN="TOP"
3336><TT
3337CLASS="PARAMETER"
3338><I
3339>ctxt</I
3340></TT
3341>&nbsp;:</TD
3342><TD
3343WIDTH="80%"
3344ALIGN="LEFT"
3345VALIGN="TOP"
3346> the shell context</TD
3347></TR
3348><TR
3349><TD
3350WIDTH="20%"
3351ALIGN="RIGHT"
3352VALIGN="TOP"
3353><TT
3354CLASS="PARAMETER"
3355><I
3356>dtd</I
3357></TT
3358>&nbsp;:</TD
3359><TD
3360WIDTH="80%"
3361ALIGN="LEFT"
3362VALIGN="TOP"
3363> the DTD URI (optionnal)</TD
3364></TR
3365><TR
3366><TD
3367WIDTH="20%"
3368ALIGN="RIGHT"
3369VALIGN="TOP"
3370><TT
3371CLASS="PARAMETER"
3372><I
3373>node</I
3374></TT
3375>&nbsp;:</TD
3376><TD
3377WIDTH="80%"
3378ALIGN="LEFT"
3379VALIGN="TOP"
3380> unused</TD
3381></TR
3382><TR
3383><TD
3384WIDTH="20%"
3385ALIGN="RIGHT"
3386VALIGN="TOP"
3387><TT
3388CLASS="PARAMETER"
3389><I
3390>node2</I
3391></TT
3392>&nbsp;:</TD
3393><TD
3394WIDTH="80%"
3395ALIGN="LEFT"
3396VALIGN="TOP"
3397> unused</TD
3398></TR
3399><TR
3400><TD
3401WIDTH="20%"
3402ALIGN="RIGHT"
3403VALIGN="TOP"
3404><I
3405CLASS="EMPHASIS"
3406>Returns</I
3407> :</TD
3408><TD
3409WIDTH="80%"
3410ALIGN="LEFT"
3411VALIGN="TOP"
3412>0 or -1 in case of error</TD
3413></TR
3414></TBODY
3415></TABLE
3416><P
3417></P
3418></DIV
3419></DIV
3420><HR><DIV
3421CLASS="REFSECT2"
3422><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00003423NAME="AEN25969"
Daniel Veillard52dcab32001-10-30 12:51:17 +00003424></A
3425><H3
3426><A
3427NAME="XMLSHELLDU"
3428></A
3429>xmlShellDu ()</H3
3430><TABLE
3431BORDER="0"
3432BGCOLOR="#D6E8FF"
3433WIDTH="100%"
3434CELLPADDING="6"
3435><TR
3436><TD
3437><PRE
3438CLASS="PROGRAMLISTING"
3439>int xmlShellDu (<A
3440HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
3441>xmlShellCtxtPtr</A
3442> ctxt,
3443 char *arg,
3444 <A
3445HREF="libxml-tree.html#XMLNODEPTR"
3446>xmlNodePtr</A
3447> tree,
3448 <A
3449HREF="libxml-tree.html#XMLNODEPTR"
3450>xmlNodePtr</A
3451> node2);</PRE
3452></TD
3453></TR
3454></TABLE
3455><P
3456>Implements the XML shell function "du"
3457show the structure of the subtree under node <TT
3458CLASS="PARAMETER"
3459><I
3460>tree</I
3461></TT
3462>
3463If <TT
3464CLASS="PARAMETER"
3465><I
3466>tree</I
3467></TT
3468> is null, the command works on the current node.</P
3469><P
3470></P
3471><DIV
3472CLASS="INFORMALTABLE"
3473><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00003474NAME="AEN25980"
Daniel Veillard52dcab32001-10-30 12:51:17 +00003475></A
3476><P
3477></P
3478><TABLE
3479BORDER="0"
3480WIDTH="100%"
3481BGCOLOR="#FFD0D0"
3482CELLSPACING="0"
3483CELLPADDING="4"
3484CLASS="CALSTABLE"
3485><TBODY
3486><TR
3487><TD
3488WIDTH="20%"
3489ALIGN="RIGHT"
3490VALIGN="TOP"
3491><TT
3492CLASS="PARAMETER"
3493><I
3494>ctxt</I
3495></TT
3496>&nbsp;:</TD
3497><TD
3498WIDTH="80%"
3499ALIGN="LEFT"
3500VALIGN="TOP"
3501> the shell context</TD
3502></TR
3503><TR
3504><TD
3505WIDTH="20%"
3506ALIGN="RIGHT"
3507VALIGN="TOP"
3508><TT
3509CLASS="PARAMETER"
3510><I
3511>arg</I
3512></TT
3513>&nbsp;:</TD
3514><TD
3515WIDTH="80%"
3516ALIGN="LEFT"
3517VALIGN="TOP"
3518> unused</TD
3519></TR
3520><TR
3521><TD
3522WIDTH="20%"
3523ALIGN="RIGHT"
3524VALIGN="TOP"
3525><TT
3526CLASS="PARAMETER"
3527><I
3528>tree</I
3529></TT
3530>&nbsp;:</TD
3531><TD
3532WIDTH="80%"
3533ALIGN="LEFT"
3534VALIGN="TOP"
3535> a node defining a subtree</TD
3536></TR
3537><TR
3538><TD
3539WIDTH="20%"
3540ALIGN="RIGHT"
3541VALIGN="TOP"
3542><TT
3543CLASS="PARAMETER"
3544><I
3545>node2</I
3546></TT
3547>&nbsp;:</TD
3548><TD
3549WIDTH="80%"
3550ALIGN="LEFT"
3551VALIGN="TOP"
3552> unused</TD
3553></TR
3554><TR
3555><TD
3556WIDTH="20%"
3557ALIGN="RIGHT"
3558VALIGN="TOP"
3559><I
3560CLASS="EMPHASIS"
3561>Returns</I
3562> :</TD
3563><TD
3564WIDTH="80%"
3565ALIGN="LEFT"
3566VALIGN="TOP"
3567>0 or -1 in case of error</TD
3568></TR
3569></TBODY
3570></TABLE
3571><P
3572></P
3573></DIV
3574></DIV
3575><HR><DIV
3576CLASS="REFSECT2"
3577><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00003578NAME="AEN26005"
Daniel Veillard52dcab32001-10-30 12:51:17 +00003579></A
3580><H3
3581><A
3582NAME="XMLSHELLPWD"
3583></A
3584>xmlShellPwd ()</H3
3585><TABLE
3586BORDER="0"
3587BGCOLOR="#D6E8FF"
3588WIDTH="100%"
3589CELLPADDING="6"
3590><TR
3591><TD
3592><PRE
3593CLASS="PROGRAMLISTING"
3594>int xmlShellPwd (<A
3595HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
3596>xmlShellCtxtPtr</A
3597> ctxt,
3598 char *buffer,
3599 <A
3600HREF="libxml-tree.html#XMLNODEPTR"
3601>xmlNodePtr</A
3602> node,
3603 <A
3604HREF="libxml-tree.html#XMLNODEPTR"
3605>xmlNodePtr</A
3606> node2);</PRE
3607></TD
3608></TR
3609></TABLE
3610><P
3611>Implements the XML shell function "pwd"
3612Show the full path from the root to the node, if needed building
3613thumblers when similar elements exists at a given ancestor level.
3614The output is compatible with XPath commands.</P
3615><P
3616></P
3617><DIV
3618CLASS="INFORMALTABLE"
3619><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00003620NAME="AEN26014"
Daniel Veillard52dcab32001-10-30 12:51:17 +00003621></A
3622><P
3623></P
3624><TABLE
3625BORDER="0"
3626WIDTH="100%"
3627BGCOLOR="#FFD0D0"
3628CELLSPACING="0"
3629CELLPADDING="4"
3630CLASS="CALSTABLE"
3631><TBODY
3632><TR
3633><TD
3634WIDTH="20%"
3635ALIGN="RIGHT"
3636VALIGN="TOP"
3637><TT
3638CLASS="PARAMETER"
3639><I
3640>ctxt</I
3641></TT
3642>&nbsp;:</TD
3643><TD
3644WIDTH="80%"
3645ALIGN="LEFT"
3646VALIGN="TOP"
3647> the shell context</TD
3648></TR
3649><TR
3650><TD
3651WIDTH="20%"
3652ALIGN="RIGHT"
3653VALIGN="TOP"
3654><TT
3655CLASS="PARAMETER"
3656><I
3657>buffer</I
3658></TT
3659>&nbsp;:</TD
3660><TD
3661WIDTH="80%"
3662ALIGN="LEFT"
3663VALIGN="TOP"
3664> the output buffer</TD
3665></TR
3666><TR
3667><TD
3668WIDTH="20%"
3669ALIGN="RIGHT"
3670VALIGN="TOP"
3671><TT
3672CLASS="PARAMETER"
3673><I
3674>node</I
3675></TT
3676>&nbsp;:</TD
3677><TD
3678WIDTH="80%"
3679ALIGN="LEFT"
3680VALIGN="TOP"
3681>&nbsp;</TD
3682></TR
3683><TR
3684><TD
3685WIDTH="20%"
3686ALIGN="RIGHT"
3687VALIGN="TOP"
3688><TT
3689CLASS="PARAMETER"
3690><I
3691>node2</I
3692></TT
3693>&nbsp;:</TD
3694><TD
3695WIDTH="80%"
3696ALIGN="LEFT"
3697VALIGN="TOP"
3698> unused</TD
3699></TR
3700><TR
3701><TD
3702WIDTH="20%"
3703ALIGN="RIGHT"
3704VALIGN="TOP"
3705><I
3706CLASS="EMPHASIS"
3707>Returns</I
3708> :</TD
3709><TD
3710WIDTH="80%"
3711ALIGN="LEFT"
3712VALIGN="TOP"
3713>0 or -1 in case of error</TD
3714></TR
3715></TBODY
3716></TABLE
3717><P
3718></P
3719></DIV
3720></DIV
3721><HR><DIV
3722CLASS="REFSECT2"
3723><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00003724NAME="AEN26039"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003725></A
3726><H3
3727><A
3728NAME="XMLSHELL"
3729></A
3730>xmlShell ()</H3
3731><TABLE
3732BORDER="0"
3733BGCOLOR="#D6E8FF"
3734WIDTH="100%"
3735CELLPADDING="6"
3736><TR
3737><TD
3738><PRE
3739CLASS="PROGRAMLISTING"
3740>void xmlShell (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003741HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003742>xmlDocPtr</A
3743> doc,
3744 char *filename,
3745 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003746HREF="libxml-debugxml.html#XMLSHELLREADLINEFUNC"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003747>xmlShellReadlineFunc</A
3748> input,
3749 <GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00003750HREF="FILE-CAPS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003751>FILE</GTKDOCLINK
3752> *output);</PRE
3753></TD
3754></TR
3755></TABLE
3756><P
3757>Implements the XML shell
3758This allow to load, validate, view, modify and save a document
3759using a environment similar to a UNIX commandline.</P
3760><P
3761></P
3762><DIV
3763CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003764><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00003765NAME="AEN26048"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003766></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003767><P
3768></P
3769><TABLE
3770BORDER="0"
3771WIDTH="100%"
3772BGCOLOR="#FFD0D0"
3773CELLSPACING="0"
3774CELLPADDING="4"
3775CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003776><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003777><TR
3778><TD
3779WIDTH="20%"
3780ALIGN="RIGHT"
3781VALIGN="TOP"
3782><TT
3783CLASS="PARAMETER"
3784><I
3785>doc</I
3786></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003787>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003788><TD
3789WIDTH="80%"
3790ALIGN="LEFT"
3791VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003792> the initial document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003793></TR
3794><TR
3795><TD
3796WIDTH="20%"
3797ALIGN="RIGHT"
3798VALIGN="TOP"
3799><TT
3800CLASS="PARAMETER"
3801><I
3802>filename</I
3803></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003804>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003805><TD
3806WIDTH="80%"
3807ALIGN="LEFT"
3808VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003809> the output buffer</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003810></TR
3811><TR
3812><TD
3813WIDTH="20%"
3814ALIGN="RIGHT"
3815VALIGN="TOP"
3816><TT
3817CLASS="PARAMETER"
3818><I
3819>input</I
3820></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003821>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003822><TD
3823WIDTH="80%"
3824ALIGN="LEFT"
3825VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003826> the line reading function</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003827></TR
3828><TR
3829><TD
3830WIDTH="20%"
3831ALIGN="RIGHT"
3832VALIGN="TOP"
3833><TT
3834CLASS="PARAMETER"
3835><I
3836>output</I
3837></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003838>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003839><TD
3840WIDTH="80%"
3841ALIGN="LEFT"
3842VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003843> the output FILE*</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003844></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003845></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003846></TABLE
3847><P
3848></P
3849></DIV
3850></DIV
Daniel Veillardaeea04f2000-01-25 19:27:27 +00003851></DIV
3852><DIV
3853CLASS="NAVFOOTER"
3854><BR
3855CLEAR="all"><BR><TABLE
3856WIDTH="100%"
3857BORDER="0"
3858BGCOLOR="#000000"
3859CELLPADDING="1"
3860CELLSPACING="0"
3861><TR
3862><TD
3863WIDTH="25%"
3864BGCOLOR="#C00000"
3865ALIGN="left"
3866><A
Daniel Veillard52dcab32001-10-30 12:51:17 +00003867HREF="libxml-hash.html"
Daniel Veillardaeea04f2000-01-25 19:27:27 +00003868><FONT
3869COLOR="#FFFFFF"
3870SIZE="3"
3871><B
3872>&#60;&#60;&#60; Previous Page</B
3873></FONT
3874></A
3875></TD
3876><TD
3877WIDTH="25%"
3878BGCOLOR="#0000C0"
3879ALIGN="center"
3880><FONT
3881COLOR="#FFFFFF"
3882SIZE="3"
3883><B
3884><A
3885HREF="book1.html"
3886><FONT
3887COLOR="#FFFFFF"
3888SIZE="3"
3889><B
3890>Home</B
3891></FONT
3892></A
3893></B
3894></FONT
3895></TD
3896><TD
3897WIDTH="25%"
3898BGCOLOR="#00C000"
3899ALIGN="center"
3900><FONT
3901COLOR="#FFFFFF"
3902SIZE="3"
3903><B
3904><A
3905HREF="libxml-lib.html"
3906><FONT
3907COLOR="#FFFFFF"
3908SIZE="3"
3909><B
3910>Up</B
3911></FONT
3912></A
3913></B
3914></FONT
3915></TD
3916><TD
3917WIDTH="25%"
3918BGCOLOR="#C00000"
3919ALIGN="right"
3920><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003921HREF="libxml-xmlmemory.html"
Daniel Veillardaeea04f2000-01-25 19:27:27 +00003922><FONT
3923COLOR="#FFFFFF"
3924SIZE="3"
3925><B
3926>Next Page &#62;&#62;&#62;</B
3927></FONT
3928></A
3929></TD
3930></TR
3931><TR
3932><TD
3933COLSPAN="2"
3934ALIGN="left"
3935><FONT
3936COLOR="#FFFFFF"
3937SIZE="3"
3938><B
Daniel Veillard52dcab32001-10-30 12:51:17 +00003939>hash</B
Daniel Veillardaeea04f2000-01-25 19:27:27 +00003940></FONT
3941></TD
3942><TD
3943COLSPAN="2"
3944ALIGN="right"
3945><FONT
3946COLOR="#FFFFFF"
3947SIZE="3"
3948><B
3949>xmlmemory</B
3950></FONT
3951></TD
3952></TR
3953></TABLE
3954></DIV
3955></BODY
3956></HTML
3957>