blob: 9fd51d242b02ffc23b314c388359a4b8c0884521 [file] [log] [blame]
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001<HTML
2><HEAD
3><TITLE
4>debugXML</TITLE
5><META
6NAME="GENERATOR"
Daniel Veillard539638b2002-07-06 19:55:14 +00007CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
Daniel Veillard60087f32001-10-10 09:45:09 +00008"><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 Veillard539638b2002-07-06 19:55:14 +0000120NAME="LIBXML-DEBUGXML">debugXML</H1
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000121><DIV
122CLASS="REFNAMEDIV"
123><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +0000124NAME="AEN26388"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000125></A
126><H2
127>Name</H2
Daniel Veillard503b8932001-01-05 06:36:31 +0000128>debugXML&nbsp;--&nbsp;</DIV
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000129><DIV
130CLASS="REFSYNOPSISDIV"
131><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +0000132NAME="AEN26391"><H2
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000133>Synopsis</H2
134><TABLE
135BORDER="0"
136BGCOLOR="#D6E8FF"
137WIDTH="100%"
138CELLPADDING="6"
139><TR
140><TD
141><PRE
142CLASS="SYNOPSIS"
143>&#13;
144
145void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000146HREF="libxml-debugxml.html#XMLDEBUGDUMPSTRING"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000147>xmlDebugDumpString</A
148> (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000149HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000150>FILE</GTKDOCLINK
151> *output,
152 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000153HREF="libxml-tree.html#XMLCHAR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000154>xmlChar</A
155> *str);
156void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000157HREF="libxml-debugxml.html#XMLDEBUGDUMPATTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000158>xmlDebugDumpAttr</A
159> (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000160HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000161>FILE</GTKDOCLINK
162> *output,
163 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000164HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000165>xmlAttrPtr</A
166> attr,
167 int depth);
168void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000169HREF="libxml-debugxml.html#XMLDEBUGDUMPATTRLIST"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000170>xmlDebugDumpAttrList</A
171> (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000172HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000173>FILE</GTKDOCLINK
174> *output,
175 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000176HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000177>xmlAttrPtr</A
178> attr,
179 int depth);
180void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000181HREF="libxml-debugxml.html#XMLDEBUGDUMPONENODE"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000182>xmlDebugDumpOneNode</A
183> (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000184HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000185>FILE</GTKDOCLINK
186> *output,
187 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000188HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000189>xmlNodePtr</A
190> node,
191 int depth);
192void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000193HREF="libxml-debugxml.html#XMLDEBUGDUMPNODE"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000194>xmlDebugDumpNode</A
195> (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000196HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000197>FILE</GTKDOCLINK
198> *output,
199 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000200HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000201>xmlNodePtr</A
202> node,
203 int depth);
204void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000205HREF="libxml-debugxml.html#XMLDEBUGDUMPNODELIST"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000206>xmlDebugDumpNodeList</A
207> (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000208HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000209>FILE</GTKDOCLINK
210> *output,
211 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000212HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000213>xmlNodePtr</A
214> node,
215 int depth);
216void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000217HREF="libxml-debugxml.html#XMLDEBUGDUMPDOCUMENTHEAD"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000218>xmlDebugDumpDocumentHead</A
219> (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000220HREF="FILE-CAPS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000221>FILE</GTKDOCLINK
222> *output,
223 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000224HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000225>xmlDocPtr</A
226> doc);
227void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000228HREF="libxml-debugxml.html#XMLDEBUGDUMPDOCUMENT"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000229>xmlDebugDumpDocument</A
230> (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000231HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000232>FILE</GTKDOCLINK
233> *output,
234 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000235HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000236>xmlDocPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000237> doc);
238void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000239HREF="libxml-debugxml.html#XMLDEBUGDUMPDTD"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000240>xmlDebugDumpDTD</A
241> (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000242HREF="FILE-CAPS"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000243>FILE</GTKDOCLINK
244> *output,
245 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000246HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000247>xmlDtdPtr</A
Daniel Veillardf012a642001-07-23 19:10:52 +0000248> dtd);
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000249void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000250HREF="libxml-debugxml.html#XMLDEBUGDUMPENTITIES"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000251>xmlDebugDumpEntities</A
252> (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000253HREF="FILE-CAPS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000254>FILE</GTKDOCLINK
255> *output,
256 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000257HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000258>xmlDocPtr</A
259> doc);
Daniel Veillard52dcab32001-10-30 12:51:17 +0000260void <A
261HREF="libxml-debugxml.html#XMLLSONENODE"
262>xmlLsOneNode</A
263> (<GTKDOCLINK
264HREF="FILE-CAPS"
265>FILE</GTKDOCLINK
266> *output,
267 <A
268HREF="libxml-tree.html#XMLNODEPTR"
269>xmlNodePtr</A
270> node);
271int <A
272HREF="libxml-debugxml.html#XMLLSCOUNTNODE"
273>xmlLsCountNode</A
274> (<A
275HREF="libxml-tree.html#XMLNODEPTR"
276>xmlNodePtr</A
277> node);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000278char* (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000279HREF="libxml-debugxml.html#XMLSHELLREADLINEFUNC"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000280>*xmlShellReadlineFunc</A
281>) (char *prompt);
282struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000283HREF="libxml-debugxml.html#XMLSHELLCTXT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000284>xmlShellCtxt</A
285>;
286typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000287HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000288>xmlShellCtxtPtr</A
289>;
290int (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000291HREF="libxml-debugxml.html#XMLSHELLCMD"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000292>*xmlShellCmd</A
293>) (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000294HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000295>xmlShellCtxtPtr</A
296> ctxt,
297 char *arg,
298 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000299HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000300>xmlNodePtr</A
301> node,
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> node2);
306void <A
Daniel Veillard52dcab32001-10-30 12:51:17 +0000307HREF="libxml-debugxml.html#XMLSHELLPRINTXPATHERROR"
308>xmlShellPrintXPathError</A
309> (int errorType,
310 const char *arg);
311void <A
312HREF="libxml-debugxml.html#XMLSHELLPRINTNODE"
313>xmlShellPrintNode</A
314> (<A
315HREF="libxml-tree.html#XMLNODEPTR"
316>xmlNodePtr</A
317> node);
318void <A
319HREF="libxml-debugxml.html#XMLSHELLPRINTXPATHRESULT"
320>xmlShellPrintXPathResult</A
321> (<A
322HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
323>xmlXPathObjectPtr</A
324> list);
325int <A
326HREF="libxml-debugxml.html#XMLSHELLLIST"
327>xmlShellList</A
328> (<A
329HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
330>xmlShellCtxtPtr</A
331> ctxt,
332 char *arg,
333 <A
334HREF="libxml-tree.html#XMLNODEPTR"
335>xmlNodePtr</A
336> node,
337 <A
338HREF="libxml-tree.html#XMLNODEPTR"
339>xmlNodePtr</A
340> node2);
341int <A
342HREF="libxml-debugxml.html#XMLSHELLBASE"
343>xmlShellBase</A
344> (<A
345HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
346>xmlShellCtxtPtr</A
347> ctxt,
348 char *arg,
349 <A
350HREF="libxml-tree.html#XMLNODEPTR"
351>xmlNodePtr</A
352> node,
353 <A
354HREF="libxml-tree.html#XMLNODEPTR"
355>xmlNodePtr</A
356> node2);
357int <A
358HREF="libxml-debugxml.html#XMLSHELLDIR"
359>xmlShellDir</A
360> (<A
361HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
362>xmlShellCtxtPtr</A
363> ctxt,
364 char *arg,
365 <A
366HREF="libxml-tree.html#XMLNODEPTR"
367>xmlNodePtr</A
368> node,
369 <A
370HREF="libxml-tree.html#XMLNODEPTR"
371>xmlNodePtr</A
372> node2);
373int <A
374HREF="libxml-debugxml.html#XMLSHELLCAT"
375>xmlShellCat</A
376> (<A
377HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
378>xmlShellCtxtPtr</A
379> ctxt,
380 char *arg,
381 <A
382HREF="libxml-tree.html#XMLNODEPTR"
383>xmlNodePtr</A
384> node,
385 <A
386HREF="libxml-tree.html#XMLNODEPTR"
387>xmlNodePtr</A
388> node2);
389int <A
390HREF="libxml-debugxml.html#XMLSHELLLOAD"
391>xmlShellLoad</A
392> (<A
393HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
394>xmlShellCtxtPtr</A
395> ctxt,
396 char *filename,
397 <A
398HREF="libxml-tree.html#XMLNODEPTR"
399>xmlNodePtr</A
400> node,
401 <A
402HREF="libxml-tree.html#XMLNODEPTR"
403>xmlNodePtr</A
404> node2);
405int <A
406HREF="libxml-debugxml.html#XMLSHELLWRITE"
407>xmlShellWrite</A
408> (<A
409HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
410>xmlShellCtxtPtr</A
411> ctxt,
412 char *filename,
413 <A
414HREF="libxml-tree.html#XMLNODEPTR"
415>xmlNodePtr</A
416> node,
417 <A
418HREF="libxml-tree.html#XMLNODEPTR"
419>xmlNodePtr</A
420> node2);
421int <A
422HREF="libxml-debugxml.html#XMLSHELLSAVE"
423>xmlShellSave</A
424> (<A
425HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
426>xmlShellCtxtPtr</A
427> ctxt,
428 char *filename,
429 <A
430HREF="libxml-tree.html#XMLNODEPTR"
431>xmlNodePtr</A
432> node,
433 <A
434HREF="libxml-tree.html#XMLNODEPTR"
435>xmlNodePtr</A
436> node2);
437int <A
438HREF="libxml-debugxml.html#XMLSHELLVALIDATE"
439>xmlShellValidate</A
440> (<A
441HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
442>xmlShellCtxtPtr</A
443> ctxt,
444 char *dtd,
445 <A
446HREF="libxml-tree.html#XMLNODEPTR"
447>xmlNodePtr</A
448> node,
449 <A
450HREF="libxml-tree.html#XMLNODEPTR"
451>xmlNodePtr</A
452> node2);
453int <A
454HREF="libxml-debugxml.html#XMLSHELLDU"
455>xmlShellDu</A
456> (<A
457HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
458>xmlShellCtxtPtr</A
459> ctxt,
460 char *arg,
461 <A
462HREF="libxml-tree.html#XMLNODEPTR"
463>xmlNodePtr</A
464> tree,
465 <A
466HREF="libxml-tree.html#XMLNODEPTR"
467>xmlNodePtr</A
468> node2);
469int <A
470HREF="libxml-debugxml.html#XMLSHELLPWD"
471>xmlShellPwd</A
472> (<A
473HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
474>xmlShellCtxtPtr</A
475> ctxt,
476 char *buffer,
477 <A
478HREF="libxml-tree.html#XMLNODEPTR"
479>xmlNodePtr</A
480> node,
481 <A
482HREF="libxml-tree.html#XMLNODEPTR"
483>xmlNodePtr</A
484> node2);
485void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000486HREF="libxml-debugxml.html#XMLSHELL"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000487>xmlShell</A
488> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000489HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000490>xmlDocPtr</A
491> doc,
492 char *filename,
493 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000494HREF="libxml-debugxml.html#XMLSHELLREADLINEFUNC"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000495>xmlShellReadlineFunc</A
496> input,
497 <GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000498HREF="FILE-CAPS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000499>FILE</GTKDOCLINK
500> *output);</PRE
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000501></TD
502></TR
503></TABLE
504></DIV
505><DIV
506CLASS="REFSECT1"
507><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +0000508NAME="AEN26485"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000509></A
510><H2
511>Description</H2
512><P
513></P
514></DIV
515><DIV
516CLASS="REFSECT1"
517><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +0000518NAME="AEN26488"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000519></A
520><H2
521>Details</H2
522><DIV
523CLASS="REFSECT2"
524><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +0000525NAME="AEN26490"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000526></A
527><H3
528><A
529NAME="XMLDEBUGDUMPSTRING"
530></A
Daniel Veillardaf43f632002-03-08 15:05:20 +0000531>xmlDebugDumpString ()</H3
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000532><TABLE
533BORDER="0"
534BGCOLOR="#D6E8FF"
535WIDTH="100%"
536CELLPADDING="6"
537><TR
538><TD
539><PRE
540CLASS="PROGRAMLISTING"
541>void xmlDebugDumpString (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000542HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000543>FILE</GTKDOCLINK
544> *output,
545 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000546HREF="libxml-tree.html#XMLCHAR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000547>xmlChar</A
548> *str);</PRE
549></TD
550></TR
551></TABLE
552><P
Daniel Veillardf012a642001-07-23 19:10:52 +0000553>Dumps informations about the string, shorten it if necessary</P
554><P
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000555></P
556><DIV
557CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000558><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +0000559NAME="AEN26498"><P
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000560></P
561><TABLE
562BORDER="0"
563WIDTH="100%"
564BGCOLOR="#FFD0D0"
565CELLSPACING="0"
566CELLPADDING="4"
567CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000568><TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000569><TR
570><TD
571WIDTH="20%"
572ALIGN="RIGHT"
573VALIGN="TOP"
574><TT
575CLASS="PARAMETER"
576><I
577>output</I
578></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000579>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000580><TD
581WIDTH="80%"
582ALIGN="LEFT"
583VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000584> the FILE * for the output</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000585></TR
586><TR
587><TD
588WIDTH="20%"
589ALIGN="RIGHT"
590VALIGN="TOP"
591><TT
592CLASS="PARAMETER"
593><I
594>str</I
595></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000596>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000597><TD
598WIDTH="80%"
599ALIGN="LEFT"
600VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000601> the string</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000602></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000603></TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000604></TABLE
605><P
606></P
607></DIV
608></DIV
609><HR><DIV
610CLASS="REFSECT2"
611><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +0000612NAME="AEN26511"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000613></A
614><H3
615><A
616NAME="XMLDEBUGDUMPATTR"
617></A
Daniel Veillardaf43f632002-03-08 15:05:20 +0000618>xmlDebugDumpAttr ()</H3
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000619><TABLE
620BORDER="0"
621BGCOLOR="#D6E8FF"
622WIDTH="100%"
623CELLPADDING="6"
624><TR
625><TD
626><PRE
627CLASS="PROGRAMLISTING"
628>void xmlDebugDumpAttr (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000629HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000630>FILE</GTKDOCLINK
631> *output,
632 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000633HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000634>xmlAttrPtr</A
635> attr,
636 int depth);</PRE
637></TD
638></TR
639></TABLE
640><P
Daniel Veillardf012a642001-07-23 19:10:52 +0000641>Dumps debug information for the attribute</P
642><P
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000643></P
644><DIV
645CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000646><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +0000647NAME="AEN26519"><P
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000648></P
649><TABLE
650BORDER="0"
651WIDTH="100%"
652BGCOLOR="#FFD0D0"
653CELLSPACING="0"
654CELLPADDING="4"
655CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000656><TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000657><TR
658><TD
659WIDTH="20%"
660ALIGN="RIGHT"
661VALIGN="TOP"
662><TT
663CLASS="PARAMETER"
664><I
665>output</I
666></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000667>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000668><TD
669WIDTH="80%"
670ALIGN="LEFT"
671VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000672> the FILE * for the output</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000673></TR
674><TR
675><TD
676WIDTH="20%"
677ALIGN="RIGHT"
678VALIGN="TOP"
679><TT
680CLASS="PARAMETER"
681><I
682>attr</I
683></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000684>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000685><TD
686WIDTH="80%"
687ALIGN="LEFT"
688VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000689> the attribute</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000690></TR
691><TR
692><TD
693WIDTH="20%"
694ALIGN="RIGHT"
695VALIGN="TOP"
696><TT
697CLASS="PARAMETER"
698><I
699>depth</I
700></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000701>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000702><TD
703WIDTH="80%"
704ALIGN="LEFT"
705VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000706> the indentation level.</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000707></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000708></TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000709></TABLE
710><P
711></P
712></DIV
713></DIV
714><HR><DIV
715CLASS="REFSECT2"
716><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +0000717NAME="AEN26536"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000718></A
719><H3
720><A
721NAME="XMLDEBUGDUMPATTRLIST"
722></A
Daniel Veillardaf43f632002-03-08 15:05:20 +0000723>xmlDebugDumpAttrList ()</H3
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000724><TABLE
725BORDER="0"
726BGCOLOR="#D6E8FF"
727WIDTH="100%"
728CELLPADDING="6"
729><TR
730><TD
731><PRE
732CLASS="PROGRAMLISTING"
733>void xmlDebugDumpAttrList (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000734HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000735>FILE</GTKDOCLINK
736> *output,
737 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000738HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000739>xmlAttrPtr</A
740> attr,
741 int depth);</PRE
742></TD
743></TR
744></TABLE
745><P
Daniel Veillardf012a642001-07-23 19:10:52 +0000746>Dumps debug information for the attribute list</P
747><P
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000748></P
749><DIV
750CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000751><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +0000752NAME="AEN26544"><P
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000753></P
754><TABLE
755BORDER="0"
756WIDTH="100%"
757BGCOLOR="#FFD0D0"
758CELLSPACING="0"
759CELLPADDING="4"
760CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000761><TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000762><TR
763><TD
764WIDTH="20%"
765ALIGN="RIGHT"
766VALIGN="TOP"
767><TT
768CLASS="PARAMETER"
769><I
770>output</I
771></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000772>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000773><TD
774WIDTH="80%"
775ALIGN="LEFT"
776VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000777> the FILE * for the output</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000778></TR
779><TR
780><TD
781WIDTH="20%"
782ALIGN="RIGHT"
783VALIGN="TOP"
784><TT
785CLASS="PARAMETER"
786><I
787>attr</I
788></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000789>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000790><TD
791WIDTH="80%"
792ALIGN="LEFT"
793VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000794> the attribute list</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000795></TR
796><TR
797><TD
798WIDTH="20%"
799ALIGN="RIGHT"
800VALIGN="TOP"
801><TT
802CLASS="PARAMETER"
803><I
804>depth</I
805></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000806>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000807><TD
808WIDTH="80%"
809ALIGN="LEFT"
810VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000811> the indentation level.</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000812></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000813></TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000814></TABLE
815><P
816></P
817></DIV
818></DIV
819><HR><DIV
820CLASS="REFSECT2"
821><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +0000822NAME="AEN26561"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000823></A
824><H3
825><A
826NAME="XMLDEBUGDUMPONENODE"
827></A
Daniel Veillardaf43f632002-03-08 15:05:20 +0000828>xmlDebugDumpOneNode ()</H3
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000829><TABLE
830BORDER="0"
831BGCOLOR="#D6E8FF"
832WIDTH="100%"
833CELLPADDING="6"
834><TR
835><TD
836><PRE
837CLASS="PROGRAMLISTING"
838>void xmlDebugDumpOneNode (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000839HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000840>FILE</GTKDOCLINK
841> *output,
842 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000843HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000844>xmlNodePtr</A
845> node,
846 int depth);</PRE
847></TD
848></TR
849></TABLE
850><P
Daniel Veillardf012a642001-07-23 19:10:52 +0000851>Dumps debug information for the element node, it is not recursive</P
852><P
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000853></P
854><DIV
855CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000856><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +0000857NAME="AEN26569"><P
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000858></P
859><TABLE
860BORDER="0"
861WIDTH="100%"
862BGCOLOR="#FFD0D0"
863CELLSPACING="0"
864CELLPADDING="4"
865CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000866><TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000867><TR
868><TD
869WIDTH="20%"
870ALIGN="RIGHT"
871VALIGN="TOP"
872><TT
873CLASS="PARAMETER"
874><I
875>output</I
876></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000877>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000878><TD
879WIDTH="80%"
880ALIGN="LEFT"
881VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000882> the FILE * for the output</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000883></TR
884><TR
885><TD
886WIDTH="20%"
887ALIGN="RIGHT"
888VALIGN="TOP"
889><TT
890CLASS="PARAMETER"
891><I
892>node</I
893></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000894>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000895><TD
896WIDTH="80%"
897ALIGN="LEFT"
898VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000899> the node</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000900></TR
901><TR
902><TD
903WIDTH="20%"
904ALIGN="RIGHT"
905VALIGN="TOP"
906><TT
907CLASS="PARAMETER"
908><I
909>depth</I
910></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000911>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000912><TD
913WIDTH="80%"
914ALIGN="LEFT"
915VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000916> the indentation level.</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000917></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000918></TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000919></TABLE
920><P
921></P
922></DIV
923></DIV
924><HR><DIV
925CLASS="REFSECT2"
926><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +0000927NAME="AEN26586"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000928></A
929><H3
930><A
931NAME="XMLDEBUGDUMPNODE"
932></A
Daniel Veillardaf43f632002-03-08 15:05:20 +0000933>xmlDebugDumpNode ()</H3
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000934><TABLE
935BORDER="0"
936BGCOLOR="#D6E8FF"
937WIDTH="100%"
938CELLPADDING="6"
939><TR
940><TD
941><PRE
942CLASS="PROGRAMLISTING"
943>void xmlDebugDumpNode (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000944HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000945>FILE</GTKDOCLINK
946> *output,
947 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000948HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000949>xmlNodePtr</A
950> node,
951 int depth);</PRE
952></TD
953></TR
954></TABLE
955><P
Daniel Veillardf012a642001-07-23 19:10:52 +0000956>Dumps debug information for the element node, it is recursive</P
957><P
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000958></P
959><DIV
960CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000961><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +0000962NAME="AEN26594"><P
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000963></P
964><TABLE
965BORDER="0"
966WIDTH="100%"
967BGCOLOR="#FFD0D0"
968CELLSPACING="0"
969CELLPADDING="4"
970CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000971><TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000972><TR
973><TD
974WIDTH="20%"
975ALIGN="RIGHT"
976VALIGN="TOP"
977><TT
978CLASS="PARAMETER"
979><I
980>output</I
981></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000982>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000983><TD
984WIDTH="80%"
985ALIGN="LEFT"
986VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000987> the FILE * for the output</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000988></TR
989><TR
990><TD
991WIDTH="20%"
992ALIGN="RIGHT"
993VALIGN="TOP"
994><TT
995CLASS="PARAMETER"
996><I
997>node</I
998></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000999>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001000><TD
1001WIDTH="80%"
1002ALIGN="LEFT"
1003VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001004> the node</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001005></TR
1006><TR
1007><TD
1008WIDTH="20%"
1009ALIGN="RIGHT"
1010VALIGN="TOP"
1011><TT
1012CLASS="PARAMETER"
1013><I
1014>depth</I
1015></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001016>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001017><TD
1018WIDTH="80%"
1019ALIGN="LEFT"
1020VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001021> the indentation level.</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001022></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001023></TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001024></TABLE
1025><P
1026></P
1027></DIV
1028></DIV
1029><HR><DIV
1030CLASS="REFSECT2"
1031><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001032NAME="AEN26611"
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001033></A
1034><H3
1035><A
1036NAME="XMLDEBUGDUMPNODELIST"
1037></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001038>xmlDebugDumpNodeList ()</H3
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001039><TABLE
1040BORDER="0"
1041BGCOLOR="#D6E8FF"
1042WIDTH="100%"
1043CELLPADDING="6"
1044><TR
1045><TD
1046><PRE
1047CLASS="PROGRAMLISTING"
1048>void xmlDebugDumpNodeList (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00001049HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001050>FILE</GTKDOCLINK
1051> *output,
1052 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001053HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001054>xmlNodePtr</A
1055> node,
1056 int depth);</PRE
1057></TD
1058></TR
1059></TABLE
1060><P
Daniel Veillardf012a642001-07-23 19:10:52 +00001061>Dumps debug information for the list of element node, it is recursive</P
1062><P
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001063></P
1064><DIV
1065CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001066><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001067NAME="AEN26619"><P
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001068></P
1069><TABLE
1070BORDER="0"
1071WIDTH="100%"
1072BGCOLOR="#FFD0D0"
1073CELLSPACING="0"
1074CELLPADDING="4"
1075CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001076><TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001077><TR
1078><TD
1079WIDTH="20%"
1080ALIGN="RIGHT"
1081VALIGN="TOP"
1082><TT
1083CLASS="PARAMETER"
1084><I
1085>output</I
1086></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001087>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001088><TD
1089WIDTH="80%"
1090ALIGN="LEFT"
1091VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001092> the FILE * for the output</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001093></TR
1094><TR
1095><TD
1096WIDTH="20%"
1097ALIGN="RIGHT"
1098VALIGN="TOP"
1099><TT
1100CLASS="PARAMETER"
1101><I
1102>node</I
1103></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001104>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001105><TD
1106WIDTH="80%"
1107ALIGN="LEFT"
1108VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001109> the node list</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001110></TR
1111><TR
1112><TD
1113WIDTH="20%"
1114ALIGN="RIGHT"
1115VALIGN="TOP"
1116><TT
1117CLASS="PARAMETER"
1118><I
1119>depth</I
1120></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001121>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001122><TD
1123WIDTH="80%"
1124ALIGN="LEFT"
1125VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001126> the indentation level.</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001127></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001128></TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001129></TABLE
1130><P
1131></P
1132></DIV
1133></DIV
1134><HR><DIV
1135CLASS="REFSECT2"
1136><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001137NAME="AEN26636"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001138></A
1139><H3
1140><A
1141NAME="XMLDEBUGDUMPDOCUMENTHEAD"
1142></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001143>xmlDebugDumpDocumentHead ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001144><TABLE
1145BORDER="0"
1146BGCOLOR="#D6E8FF"
1147WIDTH="100%"
1148CELLPADDING="6"
1149><TR
1150><TD
1151><PRE
1152CLASS="PROGRAMLISTING"
1153>void xmlDebugDumpDocumentHead (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00001154HREF="FILE-CAPS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001155>FILE</GTKDOCLINK
1156> *output,
1157 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001158HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001159>xmlDocPtr</A
1160> doc);</PRE
1161></TD
1162></TR
1163></TABLE
1164><P
Daniel Veillardf012a642001-07-23 19:10:52 +00001165>Dumps debug information cncerning the document, not recursive</P
1166><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001167></P
1168><DIV
1169CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001170><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001171NAME="AEN26644"><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001172></P
1173><TABLE
1174BORDER="0"
1175WIDTH="100%"
1176BGCOLOR="#FFD0D0"
1177CELLSPACING="0"
1178CELLPADDING="4"
1179CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001180><TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001181><TR
1182><TD
1183WIDTH="20%"
1184ALIGN="RIGHT"
1185VALIGN="TOP"
1186><TT
1187CLASS="PARAMETER"
1188><I
1189>output</I
1190></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001191>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001192><TD
1193WIDTH="80%"
1194ALIGN="LEFT"
1195VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001196> the FILE * for the output</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001197></TR
1198><TR
1199><TD
1200WIDTH="20%"
1201ALIGN="RIGHT"
1202VALIGN="TOP"
1203><TT
1204CLASS="PARAMETER"
1205><I
Daniel Veillardef90ba72001-12-07 14:24:22 +00001206>doc</I
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001207></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001208>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001209><TD
1210WIDTH="80%"
1211ALIGN="LEFT"
1212VALIGN="TOP"
Daniel Veillardef90ba72001-12-07 14:24:22 +00001213> the document</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001214></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001215></TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001216></TABLE
1217><P
1218></P
1219></DIV
1220></DIV
1221><HR><DIV
1222CLASS="REFSECT2"
1223><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001224NAME="AEN26657"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001225></A
1226><H3
1227><A
Daniel Veillardef90ba72001-12-07 14:24:22 +00001228NAME="XMLDEBUGDUMPDOCUMENT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001229></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001230>xmlDebugDumpDocument ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001231><TABLE
1232BORDER="0"
1233BGCOLOR="#D6E8FF"
1234WIDTH="100%"
1235CELLPADDING="6"
1236><TR
1237><TD
1238><PRE
1239CLASS="PROGRAMLISTING"
Daniel Veillardef90ba72001-12-07 14:24:22 +00001240>void xmlDebugDumpDocument (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00001241HREF="FILE-CAPS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001242>FILE</GTKDOCLINK
1243> *output,
1244 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001245HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001246>xmlDocPtr</A
1247> doc);</PRE
1248></TD
1249></TR
1250></TABLE
1251><P
Daniel Veillardef90ba72001-12-07 14:24:22 +00001252>Dumps debug information for the document, it's recursive</P
Daniel Veillardf012a642001-07-23 19:10:52 +00001253><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001254></P
1255><DIV
1256CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001257><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001258NAME="AEN26665"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001259></P
1260><TABLE
1261BORDER="0"
1262WIDTH="100%"
1263BGCOLOR="#FFD0D0"
1264CELLSPACING="0"
1265CELLPADDING="4"
1266CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001267><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001268><TR
1269><TD
1270WIDTH="20%"
1271ALIGN="RIGHT"
1272VALIGN="TOP"
1273><TT
1274CLASS="PARAMETER"
1275><I
1276>output</I
1277></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001278>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001279><TD
1280WIDTH="80%"
1281ALIGN="LEFT"
1282VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001283> the FILE * for the output</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001284></TR
1285><TR
1286><TD
1287WIDTH="20%"
1288ALIGN="RIGHT"
1289VALIGN="TOP"
1290><TT
1291CLASS="PARAMETER"
1292><I
1293>doc</I
1294></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001295>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001296><TD
1297WIDTH="80%"
1298ALIGN="LEFT"
1299VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001300> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001301></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001302></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001303></TABLE
1304><P
1305></P
1306></DIV
1307></DIV
1308><HR><DIV
1309CLASS="REFSECT2"
1310><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001311NAME="AEN26678"
Daniel Veillard52dcab32001-10-30 12:51:17 +00001312></A
1313><H3
1314><A
Daniel Veillardef90ba72001-12-07 14:24:22 +00001315NAME="XMLDEBUGDUMPDTD"
1316></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001317>xmlDebugDumpDTD ()</H3
Daniel Veillardef90ba72001-12-07 14:24:22 +00001318><TABLE
1319BORDER="0"
1320BGCOLOR="#D6E8FF"
1321WIDTH="100%"
1322CELLPADDING="6"
1323><TR
1324><TD
1325><PRE
1326CLASS="PROGRAMLISTING"
1327>void xmlDebugDumpDTD (<GTKDOCLINK
1328HREF="FILE-CAPS"
1329>FILE</GTKDOCLINK
1330> *output,
1331 <A
1332HREF="libxml-tree.html#XMLDTDPTR"
1333>xmlDtdPtr</A
1334> dtd);</PRE
1335></TD
1336></TR
1337></TABLE
1338><P
1339>Dumps debug information for the DTD</P
1340><P
1341></P
1342><DIV
1343CLASS="INFORMALTABLE"
1344><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001345NAME="AEN26686"><P
Daniel Veillardef90ba72001-12-07 14:24:22 +00001346></P
1347><TABLE
1348BORDER="0"
1349WIDTH="100%"
1350BGCOLOR="#FFD0D0"
1351CELLSPACING="0"
1352CELLPADDING="4"
1353CLASS="CALSTABLE"
1354><TBODY
1355><TR
1356><TD
1357WIDTH="20%"
1358ALIGN="RIGHT"
1359VALIGN="TOP"
1360><TT
1361CLASS="PARAMETER"
1362><I
1363>output</I
1364></TT
1365>&nbsp;:</TD
1366><TD
1367WIDTH="80%"
1368ALIGN="LEFT"
1369VALIGN="TOP"
1370> the FILE * for the output</TD
1371></TR
1372><TR
1373><TD
1374WIDTH="20%"
1375ALIGN="RIGHT"
1376VALIGN="TOP"
1377><TT
1378CLASS="PARAMETER"
1379><I
1380>dtd</I
1381></TT
1382>&nbsp;:</TD
1383><TD
1384WIDTH="80%"
1385ALIGN="LEFT"
1386VALIGN="TOP"
1387> the DTD</TD
1388></TR
1389></TBODY
1390></TABLE
1391><P
1392></P
1393></DIV
1394></DIV
1395><HR><DIV
1396CLASS="REFSECT2"
1397><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001398NAME="AEN26699"
Daniel Veillardef90ba72001-12-07 14:24:22 +00001399></A
1400><H3
1401><A
1402NAME="XMLDEBUGDUMPENTITIES"
1403></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001404>xmlDebugDumpEntities ()</H3
Daniel Veillardef90ba72001-12-07 14:24:22 +00001405><TABLE
1406BORDER="0"
1407BGCOLOR="#D6E8FF"
1408WIDTH="100%"
1409CELLPADDING="6"
1410><TR
1411><TD
1412><PRE
1413CLASS="PROGRAMLISTING"
1414>void xmlDebugDumpEntities (<GTKDOCLINK
1415HREF="FILE-CAPS"
1416>FILE</GTKDOCLINK
1417> *output,
1418 <A
1419HREF="libxml-tree.html#XMLDOCPTR"
1420>xmlDocPtr</A
1421> doc);</PRE
1422></TD
1423></TR
1424></TABLE
1425><P
1426>Dumps debug information for all the entities in use by the document</P
1427><P
1428></P
1429><DIV
1430CLASS="INFORMALTABLE"
1431><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001432NAME="AEN26707"><P
Daniel Veillardef90ba72001-12-07 14:24:22 +00001433></P
1434><TABLE
1435BORDER="0"
1436WIDTH="100%"
1437BGCOLOR="#FFD0D0"
1438CELLSPACING="0"
1439CELLPADDING="4"
1440CLASS="CALSTABLE"
1441><TBODY
1442><TR
1443><TD
1444WIDTH="20%"
1445ALIGN="RIGHT"
1446VALIGN="TOP"
1447><TT
1448CLASS="PARAMETER"
1449><I
1450>output</I
1451></TT
1452>&nbsp;:</TD
1453><TD
1454WIDTH="80%"
1455ALIGN="LEFT"
1456VALIGN="TOP"
1457> the FILE * for the output</TD
1458></TR
1459><TR
1460><TD
1461WIDTH="20%"
1462ALIGN="RIGHT"
1463VALIGN="TOP"
1464><TT
1465CLASS="PARAMETER"
1466><I
1467>doc</I
1468></TT
1469>&nbsp;:</TD
1470><TD
1471WIDTH="80%"
1472ALIGN="LEFT"
1473VALIGN="TOP"
1474> the document</TD
1475></TR
1476></TBODY
1477></TABLE
1478><P
1479></P
1480></DIV
1481></DIV
1482><HR><DIV
1483CLASS="REFSECT2"
1484><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001485NAME="AEN26720"
Daniel Veillardef90ba72001-12-07 14:24:22 +00001486></A
1487><H3
1488><A
Daniel Veillard52dcab32001-10-30 12:51:17 +00001489NAME="XMLLSONENODE"
1490></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001491>xmlLsOneNode ()</H3
Daniel Veillard52dcab32001-10-30 12:51:17 +00001492><TABLE
1493BORDER="0"
1494BGCOLOR="#D6E8FF"
1495WIDTH="100%"
1496CELLPADDING="6"
1497><TR
1498><TD
1499><PRE
1500CLASS="PROGRAMLISTING"
1501>void xmlLsOneNode (<GTKDOCLINK
1502HREF="FILE-CAPS"
1503>FILE</GTKDOCLINK
1504> *output,
1505 <A
1506HREF="libxml-tree.html#XMLNODEPTR"
1507>xmlNodePtr</A
1508> node);</PRE
1509></TD
1510></TR
1511></TABLE
1512><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00001513>Dump to <TT
1514CLASS="PARAMETER"
1515><I
1516>output</I
1517></TT
1518> the type and name of <TT
1519CLASS="PARAMETER"
1520><I
1521>node</I
1522></TT
1523>.</P
1524><P
Daniel Veillard52dcab32001-10-30 12:51:17 +00001525></P
1526><DIV
1527CLASS="INFORMALTABLE"
1528><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001529NAME="AEN26730"><P
Daniel Veillard52dcab32001-10-30 12:51:17 +00001530></P
1531><TABLE
1532BORDER="0"
1533WIDTH="100%"
1534BGCOLOR="#FFD0D0"
1535CELLSPACING="0"
1536CELLPADDING="4"
1537CLASS="CALSTABLE"
1538><TBODY
1539><TR
1540><TD
1541WIDTH="20%"
1542ALIGN="RIGHT"
1543VALIGN="TOP"
1544><TT
1545CLASS="PARAMETER"
1546><I
1547>output</I
1548></TT
1549>&nbsp;:</TD
1550><TD
1551WIDTH="80%"
1552ALIGN="LEFT"
1553VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00001554> the FILE * for the output</TD
Daniel Veillard52dcab32001-10-30 12:51:17 +00001555></TR
1556><TR
1557><TD
1558WIDTH="20%"
1559ALIGN="RIGHT"
1560VALIGN="TOP"
1561><TT
1562CLASS="PARAMETER"
1563><I
1564>node</I
1565></TT
1566>&nbsp;:</TD
1567><TD
1568WIDTH="80%"
1569ALIGN="LEFT"
1570VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00001571> the node to dump</TD
Daniel Veillard52dcab32001-10-30 12:51:17 +00001572></TR
1573></TBODY
1574></TABLE
1575><P
1576></P
1577></DIV
1578></DIV
1579><HR><DIV
1580CLASS="REFSECT2"
1581><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001582NAME="AEN26743"
Daniel Veillard52dcab32001-10-30 12:51:17 +00001583></A
1584><H3
1585><A
1586NAME="XMLLSCOUNTNODE"
1587></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001588>xmlLsCountNode ()</H3
Daniel Veillard52dcab32001-10-30 12:51:17 +00001589><TABLE
1590BORDER="0"
1591BGCOLOR="#D6E8FF"
1592WIDTH="100%"
1593CELLPADDING="6"
1594><TR
1595><TD
1596><PRE
1597CLASS="PROGRAMLISTING"
1598>int xmlLsCountNode (<A
1599HREF="libxml-tree.html#XMLNODEPTR"
1600>xmlNodePtr</A
1601> node);</PRE
1602></TD
1603></TR
1604></TABLE
1605><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00001606>Count the children of <TT
1607CLASS="PARAMETER"
1608><I
1609>node</I
1610></TT
1611>.</P
1612><P
Daniel Veillard52dcab32001-10-30 12:51:17 +00001613></P
1614><DIV
1615CLASS="INFORMALTABLE"
1616><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001617NAME="AEN26751"><P
Daniel Veillard52dcab32001-10-30 12:51:17 +00001618></P
1619><TABLE
1620BORDER="0"
1621WIDTH="100%"
1622BGCOLOR="#FFD0D0"
1623CELLSPACING="0"
1624CELLPADDING="4"
1625CLASS="CALSTABLE"
1626><TBODY
1627><TR
1628><TD
1629WIDTH="20%"
1630ALIGN="RIGHT"
1631VALIGN="TOP"
1632><TT
1633CLASS="PARAMETER"
1634><I
1635>node</I
1636></TT
1637>&nbsp;:</TD
1638><TD
1639WIDTH="80%"
1640ALIGN="LEFT"
1641VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00001642> the node to count</TD
Daniel Veillard52dcab32001-10-30 12:51:17 +00001643></TR
1644><TR
1645><TD
1646WIDTH="20%"
1647ALIGN="RIGHT"
1648VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00001649><SPAN
1650CLASS="emphasis"
Daniel Veillard52dcab32001-10-30 12:51:17 +00001651><I
1652CLASS="EMPHASIS"
1653>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00001654></SPAN
Daniel Veillard52dcab32001-10-30 12:51:17 +00001655> :</TD
1656><TD
1657WIDTH="80%"
1658ALIGN="LEFT"
1659VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00001660>the number of children of <TT
Daniel Veillard52dcab32001-10-30 12:51:17 +00001661CLASS="PARAMETER"
1662><I
Daniel Veillardcbaf3992001-12-31 16:16:02 +00001663>node</I
Daniel Veillard52dcab32001-10-30 12:51:17 +00001664></TT
Daniel Veillardcbaf3992001-12-31 16:16:02 +00001665>.</TD
Daniel Veillard52dcab32001-10-30 12:51:17 +00001666></TR
1667></TBODY
1668></TABLE
1669><P
1670></P
1671></DIV
1672></DIV
1673><HR><DIV
1674CLASS="REFSECT2"
1675><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001676NAME="AEN26765"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001677></A
1678><H3
1679><A
1680NAME="XMLSHELLREADLINEFUNC"
1681></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001682>xmlShellReadlineFunc ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001683><TABLE
1684BORDER="0"
1685BGCOLOR="#D6E8FF"
1686WIDTH="100%"
1687CELLPADDING="6"
1688><TR
1689><TD
1690><PRE
1691CLASS="PROGRAMLISTING"
1692>char* (*xmlShellReadlineFunc) (char *prompt);</PRE
1693></TD
1694></TR
1695></TABLE
1696><P
Daniel Veillard19274092002-03-25 16:48:03 +00001697>This is a generic signature for the XML shell input function.</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001698><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001699></P
1700><DIV
1701CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001702><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001703NAME="AEN26771"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001704></P
1705><TABLE
1706BORDER="0"
1707WIDTH="100%"
1708BGCOLOR="#FFD0D0"
1709CELLSPACING="0"
1710CELLPADDING="4"
1711CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001712><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001713><TR
1714><TD
1715WIDTH="20%"
1716ALIGN="RIGHT"
1717VALIGN="TOP"
1718><TT
1719CLASS="PARAMETER"
1720><I
1721>prompt</I
1722></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001723>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001724><TD
1725WIDTH="80%"
1726ALIGN="LEFT"
1727VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001728> a string prompt</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001729></TR
1730><TR
1731><TD
1732WIDTH="20%"
1733ALIGN="RIGHT"
1734VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00001735><SPAN
1736CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001737><I
1738CLASS="EMPHASIS"
1739>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00001740></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001741> :</TD
1742><TD
1743WIDTH="80%"
1744ALIGN="LEFT"
1745VALIGN="TOP"
Daniel Veillard19274092002-03-25 16:48:03 +00001746>a string which will be freed by the Shell.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001747></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001748></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001749></TABLE
1750><P
1751></P
1752></DIV
1753></DIV
1754><HR><DIV
1755CLASS="REFSECT2"
1756><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001757NAME="AEN26784"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001758></A
1759><H3
1760><A
1761NAME="XMLSHELLCTXT"
1762></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001763>struct xmlShellCtxt</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001764><TABLE
1765BORDER="0"
1766BGCOLOR="#D6E8FF"
1767WIDTH="100%"
1768CELLPADDING="6"
1769><TR
1770><TD
1771><PRE
1772CLASS="PROGRAMLISTING"
1773>struct xmlShellCtxt {
1774 char *filename;
1775 xmlDocPtr doc;
1776 xmlNodePtr node;
1777 xmlXPathContextPtr pctxt;
1778 int loaded;
1779 FILE *output;
1780 xmlShellReadlineFunc input;
1781};</PRE
1782></TD
1783></TR
1784></TABLE
1785><P
Daniel Veillard19274092002-03-25 16:48:03 +00001786>A debugging shell context.
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001787TODO: add the defined function tables.</P
1788><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001789></P
1790></DIV
1791><HR><DIV
1792CLASS="REFSECT2"
1793><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001794NAME="AEN26790"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001795></A
1796><H3
1797><A
1798NAME="XMLSHELLCTXTPTR"
1799></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001800>xmlShellCtxtPtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001801><TABLE
1802BORDER="0"
1803BGCOLOR="#D6E8FF"
1804WIDTH="100%"
1805CELLPADDING="6"
1806><TR
1807><TD
1808><PRE
1809CLASS="PROGRAMLISTING"
1810>typedef xmlShellCtxt *xmlShellCtxtPtr;</PRE
1811></TD
1812></TR
1813></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001814><P
1815></P
1816></DIV
1817><HR><DIV
1818CLASS="REFSECT2"
1819><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001820NAME="AEN26795"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001821></A
1822><H3
1823><A
1824NAME="XMLSHELLCMD"
1825></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001826>xmlShellCmd ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001827><TABLE
1828BORDER="0"
1829BGCOLOR="#D6E8FF"
1830WIDTH="100%"
1831CELLPADDING="6"
1832><TR
1833><TD
1834><PRE
1835CLASS="PROGRAMLISTING"
1836>int (*xmlShellCmd) (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001837HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001838>xmlShellCtxtPtr</A
1839> ctxt,
1840 char *arg,
1841 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001842HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001843>xmlNodePtr</A
1844> node,
1845 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001846HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001847>xmlNodePtr</A
1848> node2);</PRE
1849></TD
1850></TR
1851></TABLE
1852><P
Daniel Veillard19274092002-03-25 16:48:03 +00001853>This is a generic signature for the XML shell functions.</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001854><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001855></P
1856><DIV
1857CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001858><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001859NAME="AEN26804"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001860></P
1861><TABLE
1862BORDER="0"
1863WIDTH="100%"
1864BGCOLOR="#FFD0D0"
1865CELLSPACING="0"
1866CELLPADDING="4"
1867CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001868><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001869><TR
1870><TD
1871WIDTH="20%"
1872ALIGN="RIGHT"
1873VALIGN="TOP"
1874><TT
1875CLASS="PARAMETER"
1876><I
1877>ctxt</I
1878></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001879>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001880><TD
1881WIDTH="80%"
1882ALIGN="LEFT"
1883VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001884> a shell context</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001885></TR
1886><TR
1887><TD
1888WIDTH="20%"
1889ALIGN="RIGHT"
1890VALIGN="TOP"
1891><TT
1892CLASS="PARAMETER"
1893><I
1894>arg</I
1895></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001896>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001897><TD
1898WIDTH="80%"
1899ALIGN="LEFT"
1900VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001901> a string argument</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001902></TR
1903><TR
1904><TD
1905WIDTH="20%"
1906ALIGN="RIGHT"
1907VALIGN="TOP"
1908><TT
1909CLASS="PARAMETER"
1910><I
1911>node</I
1912></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001913>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001914><TD
1915WIDTH="80%"
1916ALIGN="LEFT"
1917VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001918> a first node</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001919></TR
1920><TR
1921><TD
1922WIDTH="20%"
1923ALIGN="RIGHT"
1924VALIGN="TOP"
1925><TT
1926CLASS="PARAMETER"
1927><I
1928>node2</I
1929></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001930>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001931><TD
1932WIDTH="80%"
1933ALIGN="LEFT"
1934VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001935> a second node</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001936></TR
1937><TR
1938><TD
1939WIDTH="20%"
1940ALIGN="RIGHT"
1941VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00001942><SPAN
1943CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001944><I
1945CLASS="EMPHASIS"
1946>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00001947></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001948> :</TD
1949><TD
1950WIDTH="80%"
1951ALIGN="LEFT"
1952VALIGN="TOP"
Daniel Veillard19274092002-03-25 16:48:03 +00001953>an int, negative returns indicating errors.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001954></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001955></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001956></TABLE
1957><P
1958></P
1959></DIV
1960></DIV
1961><HR><DIV
1962CLASS="REFSECT2"
1963><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001964NAME="AEN26829"
Daniel Veillard52dcab32001-10-30 12:51:17 +00001965></A
1966><H3
1967><A
1968NAME="XMLSHELLPRINTXPATHERROR"
1969></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001970>xmlShellPrintXPathError ()</H3
Daniel Veillard52dcab32001-10-30 12:51:17 +00001971><TABLE
1972BORDER="0"
1973BGCOLOR="#D6E8FF"
1974WIDTH="100%"
1975CELLPADDING="6"
1976><TR
1977><TD
1978><PRE
1979CLASS="PROGRAMLISTING"
1980>void xmlShellPrintXPathError (int errorType,
1981 const char *arg);</PRE
1982></TD
1983></TR
1984></TABLE
1985><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00001986>Print the xpath error to libxml default error channel</P
1987><P
Daniel Veillard52dcab32001-10-30 12:51:17 +00001988></P
1989><DIV
1990CLASS="INFORMALTABLE"
1991><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001992NAME="AEN26835"><P
Daniel Veillard52dcab32001-10-30 12:51:17 +00001993></P
1994><TABLE
1995BORDER="0"
1996WIDTH="100%"
1997BGCOLOR="#FFD0D0"
1998CELLSPACING="0"
1999CELLPADDING="4"
2000CLASS="CALSTABLE"
2001><TBODY
2002><TR
2003><TD
2004WIDTH="20%"
2005ALIGN="RIGHT"
2006VALIGN="TOP"
2007><TT
2008CLASS="PARAMETER"
2009><I
2010>errorType</I
2011></TT
2012>&nbsp;:</TD
2013><TD
2014WIDTH="80%"
2015ALIGN="LEFT"
2016VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00002017> valid xpath error id</TD
Daniel Veillard52dcab32001-10-30 12:51:17 +00002018></TR
2019><TR
2020><TD
2021WIDTH="20%"
2022ALIGN="RIGHT"
2023VALIGN="TOP"
2024><TT
2025CLASS="PARAMETER"
2026><I
2027>arg</I
2028></TT
2029>&nbsp;:</TD
2030><TD
2031WIDTH="80%"
2032ALIGN="LEFT"
2033VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00002034> the argument that cause xpath to fail</TD
Daniel Veillard52dcab32001-10-30 12:51:17 +00002035></TR
2036></TBODY
2037></TABLE
2038><P
2039></P
2040></DIV
2041></DIV
2042><HR><DIV
2043CLASS="REFSECT2"
2044><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002045NAME="AEN26848"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002046></A
2047><H3
2048><A
2049NAME="XMLSHELLPRINTNODE"
2050></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002051>xmlShellPrintNode ()</H3
Daniel Veillard52dcab32001-10-30 12:51:17 +00002052><TABLE
2053BORDER="0"
2054BGCOLOR="#D6E8FF"
2055WIDTH="100%"
2056CELLPADDING="6"
2057><TR
2058><TD
2059><PRE
2060CLASS="PROGRAMLISTING"
2061>void xmlShellPrintNode (<A
2062HREF="libxml-tree.html#XMLNODEPTR"
2063>xmlNodePtr</A
2064> node);</PRE
2065></TD
2066></TR
2067></TABLE
2068><P
2069>Print node to stdout</P
2070><P
2071></P
2072><DIV
2073CLASS="INFORMALTABLE"
2074><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002075NAME="AEN26855"><P
Daniel Veillard52dcab32001-10-30 12:51:17 +00002076></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>node</I
2094></TT
2095>&nbsp;:</TD
2096><TD
2097WIDTH="80%"
2098ALIGN="LEFT"
2099VALIGN="TOP"
2100> a non-null node to print to stdout</TD
2101></TR
2102></TBODY
2103></TABLE
2104><P
2105></P
2106></DIV
2107></DIV
2108><HR><DIV
2109CLASS="REFSECT2"
2110><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002111NAME="AEN26864"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002112></A
2113><H3
2114><A
2115NAME="XMLSHELLPRINTXPATHRESULT"
2116></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002117>xmlShellPrintXPathResult ()</H3
Daniel Veillard52dcab32001-10-30 12:51:17 +00002118><TABLE
2119BORDER="0"
2120BGCOLOR="#D6E8FF"
2121WIDTH="100%"
2122CELLPADDING="6"
2123><TR
2124><TD
2125><PRE
2126CLASS="PROGRAMLISTING"
2127>void xmlShellPrintXPathResult (<A
2128HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
2129>xmlXPathObjectPtr</A
2130> list);</PRE
2131></TD
2132></TR
2133></TABLE
2134><P
2135>Prints result to stdout</P
2136><P
2137></P
2138><DIV
2139CLASS="INFORMALTABLE"
2140><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002141NAME="AEN26871"><P
Daniel Veillard52dcab32001-10-30 12:51:17 +00002142></P
2143><TABLE
2144BORDER="0"
2145WIDTH="100%"
2146BGCOLOR="#FFD0D0"
2147CELLSPACING="0"
2148CELLPADDING="4"
2149CLASS="CALSTABLE"
2150><TBODY
2151><TR
2152><TD
2153WIDTH="20%"
2154ALIGN="RIGHT"
2155VALIGN="TOP"
2156><TT
2157CLASS="PARAMETER"
2158><I
2159>list</I
2160></TT
2161>&nbsp;:</TD
2162><TD
2163WIDTH="80%"
2164ALIGN="LEFT"
2165VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002166> a valid result generated by an xpath evaluation</TD
Daniel Veillard52dcab32001-10-30 12:51:17 +00002167></TR
2168></TBODY
2169></TABLE
2170><P
2171></P
2172></DIV
2173></DIV
2174><HR><DIV
2175CLASS="REFSECT2"
2176><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002177NAME="AEN26880"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002178></A
2179><H3
2180><A
2181NAME="XMLSHELLLIST"
2182></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002183>xmlShellList ()</H3
Daniel Veillard52dcab32001-10-30 12:51:17 +00002184><TABLE
2185BORDER="0"
2186BGCOLOR="#D6E8FF"
2187WIDTH="100%"
2188CELLPADDING="6"
2189><TR
2190><TD
2191><PRE
2192CLASS="PROGRAMLISTING"
2193>int xmlShellList (<A
2194HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
2195>xmlShellCtxtPtr</A
2196> ctxt,
2197 char *arg,
2198 <A
2199HREF="libxml-tree.html#XMLNODEPTR"
2200>xmlNodePtr</A
2201> node,
2202 <A
2203HREF="libxml-tree.html#XMLNODEPTR"
2204>xmlNodePtr</A
2205> node2);</PRE
2206></TD
2207></TR
2208></TABLE
2209><P
2210>Implements the XML shell function "ls"
2211Does an Unix like listing of the given node (like a directory)</P
2212><P
2213></P
2214><DIV
2215CLASS="INFORMALTABLE"
2216><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002217NAME="AEN26889"><P
Daniel Veillard52dcab32001-10-30 12:51:17 +00002218></P
2219><TABLE
2220BORDER="0"
2221WIDTH="100%"
2222BGCOLOR="#FFD0D0"
2223CELLSPACING="0"
2224CELLPADDING="4"
2225CLASS="CALSTABLE"
2226><TBODY
2227><TR
2228><TD
2229WIDTH="20%"
2230ALIGN="RIGHT"
2231VALIGN="TOP"
2232><TT
2233CLASS="PARAMETER"
2234><I
2235>ctxt</I
2236></TT
2237>&nbsp;:</TD
2238><TD
2239WIDTH="80%"
2240ALIGN="LEFT"
2241VALIGN="TOP"
2242> the shell context</TD
2243></TR
2244><TR
2245><TD
2246WIDTH="20%"
2247ALIGN="RIGHT"
2248VALIGN="TOP"
2249><TT
2250CLASS="PARAMETER"
2251><I
2252>arg</I
2253></TT
2254>&nbsp;:</TD
2255><TD
2256WIDTH="80%"
2257ALIGN="LEFT"
2258VALIGN="TOP"
2259> unused</TD
2260></TR
2261><TR
2262><TD
2263WIDTH="20%"
2264ALIGN="RIGHT"
2265VALIGN="TOP"
2266><TT
2267CLASS="PARAMETER"
2268><I
2269>node</I
2270></TT
2271>&nbsp;:</TD
2272><TD
2273WIDTH="80%"
2274ALIGN="LEFT"
2275VALIGN="TOP"
2276> a node</TD
2277></TR
2278><TR
2279><TD
2280WIDTH="20%"
2281ALIGN="RIGHT"
2282VALIGN="TOP"
2283><TT
2284CLASS="PARAMETER"
2285><I
2286>node2</I
2287></TT
2288>&nbsp;:</TD
2289><TD
2290WIDTH="80%"
2291ALIGN="LEFT"
2292VALIGN="TOP"
2293> unused</TD
2294></TR
2295><TR
2296><TD
2297WIDTH="20%"
2298ALIGN="RIGHT"
2299VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00002300><SPAN
2301CLASS="emphasis"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002302><I
2303CLASS="EMPHASIS"
2304>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00002305></SPAN
Daniel Veillard52dcab32001-10-30 12:51:17 +00002306> :</TD
2307><TD
2308WIDTH="80%"
2309ALIGN="LEFT"
2310VALIGN="TOP"
2311>0</TD
2312></TR
2313></TBODY
2314></TABLE
2315><P
2316></P
2317></DIV
2318></DIV
2319><HR><DIV
2320CLASS="REFSECT2"
2321><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002322NAME="AEN26914"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002323></A
2324><H3
2325><A
2326NAME="XMLSHELLBASE"
2327></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002328>xmlShellBase ()</H3
Daniel Veillard52dcab32001-10-30 12:51:17 +00002329><TABLE
2330BORDER="0"
2331BGCOLOR="#D6E8FF"
2332WIDTH="100%"
2333CELLPADDING="6"
2334><TR
2335><TD
2336><PRE
2337CLASS="PROGRAMLISTING"
2338>int xmlShellBase (<A
2339HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
2340>xmlShellCtxtPtr</A
2341> ctxt,
2342 char *arg,
2343 <A
2344HREF="libxml-tree.html#XMLNODEPTR"
2345>xmlNodePtr</A
2346> node,
2347 <A
2348HREF="libxml-tree.html#XMLNODEPTR"
2349>xmlNodePtr</A
2350> node2);</PRE
2351></TD
2352></TR
2353></TABLE
2354><P
2355>Implements the XML shell function "base"
2356dumps the current XML base of the node</P
2357><P
2358></P
2359><DIV
2360CLASS="INFORMALTABLE"
2361><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002362NAME="AEN26923"><P
Daniel Veillard52dcab32001-10-30 12:51:17 +00002363></P
2364><TABLE
2365BORDER="0"
2366WIDTH="100%"
2367BGCOLOR="#FFD0D0"
2368CELLSPACING="0"
2369CELLPADDING="4"
2370CLASS="CALSTABLE"
2371><TBODY
2372><TR
2373><TD
2374WIDTH="20%"
2375ALIGN="RIGHT"
2376VALIGN="TOP"
2377><TT
2378CLASS="PARAMETER"
2379><I
2380>ctxt</I
2381></TT
2382>&nbsp;:</TD
2383><TD
2384WIDTH="80%"
2385ALIGN="LEFT"
2386VALIGN="TOP"
2387> the shell context</TD
2388></TR
2389><TR
2390><TD
2391WIDTH="20%"
2392ALIGN="RIGHT"
2393VALIGN="TOP"
2394><TT
2395CLASS="PARAMETER"
2396><I
2397>arg</I
2398></TT
2399>&nbsp;:</TD
2400><TD
2401WIDTH="80%"
2402ALIGN="LEFT"
2403VALIGN="TOP"
2404> unused</TD
2405></TR
2406><TR
2407><TD
2408WIDTH="20%"
2409ALIGN="RIGHT"
2410VALIGN="TOP"
2411><TT
2412CLASS="PARAMETER"
2413><I
2414>node</I
2415></TT
2416>&nbsp;:</TD
2417><TD
2418WIDTH="80%"
2419ALIGN="LEFT"
2420VALIGN="TOP"
2421> a node</TD
2422></TR
2423><TR
2424><TD
2425WIDTH="20%"
2426ALIGN="RIGHT"
2427VALIGN="TOP"
2428><TT
2429CLASS="PARAMETER"
2430><I
2431>node2</I
2432></TT
2433>&nbsp;:</TD
2434><TD
2435WIDTH="80%"
2436ALIGN="LEFT"
2437VALIGN="TOP"
2438> unused</TD
2439></TR
2440><TR
2441><TD
2442WIDTH="20%"
2443ALIGN="RIGHT"
2444VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00002445><SPAN
2446CLASS="emphasis"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002447><I
2448CLASS="EMPHASIS"
2449>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00002450></SPAN
Daniel Veillard52dcab32001-10-30 12:51:17 +00002451> :</TD
2452><TD
2453WIDTH="80%"
2454ALIGN="LEFT"
2455VALIGN="TOP"
2456>0</TD
2457></TR
2458></TBODY
2459></TABLE
2460><P
2461></P
2462></DIV
2463></DIV
2464><HR><DIV
2465CLASS="REFSECT2"
2466><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002467NAME="AEN26948"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002468></A
2469><H3
2470><A
2471NAME="XMLSHELLDIR"
2472></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002473>xmlShellDir ()</H3
Daniel Veillard52dcab32001-10-30 12:51:17 +00002474><TABLE
2475BORDER="0"
2476BGCOLOR="#D6E8FF"
2477WIDTH="100%"
2478CELLPADDING="6"
2479><TR
2480><TD
2481><PRE
2482CLASS="PROGRAMLISTING"
2483>int xmlShellDir (<A
2484HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
2485>xmlShellCtxtPtr</A
2486> ctxt,
2487 char *arg,
2488 <A
2489HREF="libxml-tree.html#XMLNODEPTR"
2490>xmlNodePtr</A
2491> node,
2492 <A
2493HREF="libxml-tree.html#XMLNODEPTR"
2494>xmlNodePtr</A
2495> node2);</PRE
2496></TD
2497></TR
2498></TABLE
2499><P
2500>Implements the XML shell function "dir"
2501dumps informations about the node (namespace, attributes, content).</P
2502><P
2503></P
2504><DIV
2505CLASS="INFORMALTABLE"
2506><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002507NAME="AEN26957"><P
Daniel Veillard52dcab32001-10-30 12:51:17 +00002508></P
2509><TABLE
2510BORDER="0"
2511WIDTH="100%"
2512BGCOLOR="#FFD0D0"
2513CELLSPACING="0"
2514CELLPADDING="4"
2515CLASS="CALSTABLE"
2516><TBODY
2517><TR
2518><TD
2519WIDTH="20%"
2520ALIGN="RIGHT"
2521VALIGN="TOP"
2522><TT
2523CLASS="PARAMETER"
2524><I
2525>ctxt</I
2526></TT
2527>&nbsp;:</TD
2528><TD
2529WIDTH="80%"
2530ALIGN="LEFT"
2531VALIGN="TOP"
2532> the shell context</TD
2533></TR
2534><TR
2535><TD
2536WIDTH="20%"
2537ALIGN="RIGHT"
2538VALIGN="TOP"
2539><TT
2540CLASS="PARAMETER"
2541><I
2542>arg</I
2543></TT
2544>&nbsp;:</TD
2545><TD
2546WIDTH="80%"
2547ALIGN="LEFT"
2548VALIGN="TOP"
2549> unused</TD
2550></TR
2551><TR
2552><TD
2553WIDTH="20%"
2554ALIGN="RIGHT"
2555VALIGN="TOP"
2556><TT
2557CLASS="PARAMETER"
2558><I
2559>node</I
2560></TT
2561>&nbsp;:</TD
2562><TD
2563WIDTH="80%"
2564ALIGN="LEFT"
2565VALIGN="TOP"
2566> a node</TD
2567></TR
2568><TR
2569><TD
2570WIDTH="20%"
2571ALIGN="RIGHT"
2572VALIGN="TOP"
2573><TT
2574CLASS="PARAMETER"
2575><I
2576>node2</I
2577></TT
2578>&nbsp;:</TD
2579><TD
2580WIDTH="80%"
2581ALIGN="LEFT"
2582VALIGN="TOP"
2583> unused</TD
2584></TR
2585><TR
2586><TD
2587WIDTH="20%"
2588ALIGN="RIGHT"
2589VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00002590><SPAN
2591CLASS="emphasis"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002592><I
2593CLASS="EMPHASIS"
2594>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00002595></SPAN
Daniel Veillard52dcab32001-10-30 12:51:17 +00002596> :</TD
2597><TD
2598WIDTH="80%"
2599ALIGN="LEFT"
2600VALIGN="TOP"
2601>0</TD
2602></TR
2603></TBODY
2604></TABLE
2605><P
2606></P
2607></DIV
2608></DIV
2609><HR><DIV
2610CLASS="REFSECT2"
2611><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002612NAME="AEN26982"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002613></A
2614><H3
2615><A
2616NAME="XMLSHELLCAT"
2617></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002618>xmlShellCat ()</H3
Daniel Veillard52dcab32001-10-30 12:51:17 +00002619><TABLE
2620BORDER="0"
2621BGCOLOR="#D6E8FF"
2622WIDTH="100%"
2623CELLPADDING="6"
2624><TR
2625><TD
2626><PRE
2627CLASS="PROGRAMLISTING"
2628>int xmlShellCat (<A
2629HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
2630>xmlShellCtxtPtr</A
2631> ctxt,
2632 char *arg,
2633 <A
2634HREF="libxml-tree.html#XMLNODEPTR"
2635>xmlNodePtr</A
2636> node,
2637 <A
2638HREF="libxml-tree.html#XMLNODEPTR"
2639>xmlNodePtr</A
2640> node2);</PRE
2641></TD
2642></TR
2643></TABLE
2644><P
2645>Implements the XML shell function "cat"
2646dumps the serialization node content (XML or HTML).</P
2647><P
2648></P
2649><DIV
2650CLASS="INFORMALTABLE"
2651><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002652NAME="AEN26991"><P
Daniel Veillard52dcab32001-10-30 12:51:17 +00002653></P
2654><TABLE
2655BORDER="0"
2656WIDTH="100%"
2657BGCOLOR="#FFD0D0"
2658CELLSPACING="0"
2659CELLPADDING="4"
2660CLASS="CALSTABLE"
2661><TBODY
2662><TR
2663><TD
2664WIDTH="20%"
2665ALIGN="RIGHT"
2666VALIGN="TOP"
2667><TT
2668CLASS="PARAMETER"
2669><I
2670>ctxt</I
2671></TT
2672>&nbsp;:</TD
2673><TD
2674WIDTH="80%"
2675ALIGN="LEFT"
2676VALIGN="TOP"
2677> the shell context</TD
2678></TR
2679><TR
2680><TD
2681WIDTH="20%"
2682ALIGN="RIGHT"
2683VALIGN="TOP"
2684><TT
2685CLASS="PARAMETER"
2686><I
2687>arg</I
2688></TT
2689>&nbsp;:</TD
2690><TD
2691WIDTH="80%"
2692ALIGN="LEFT"
2693VALIGN="TOP"
2694> unused</TD
2695></TR
2696><TR
2697><TD
2698WIDTH="20%"
2699ALIGN="RIGHT"
2700VALIGN="TOP"
2701><TT
2702CLASS="PARAMETER"
2703><I
2704>node</I
2705></TT
2706>&nbsp;:</TD
2707><TD
2708WIDTH="80%"
2709ALIGN="LEFT"
2710VALIGN="TOP"
2711> a node</TD
2712></TR
2713><TR
2714><TD
2715WIDTH="20%"
2716ALIGN="RIGHT"
2717VALIGN="TOP"
2718><TT
2719CLASS="PARAMETER"
2720><I
2721>node2</I
2722></TT
2723>&nbsp;:</TD
2724><TD
2725WIDTH="80%"
2726ALIGN="LEFT"
2727VALIGN="TOP"
2728> unused</TD
2729></TR
2730><TR
2731><TD
2732WIDTH="20%"
2733ALIGN="RIGHT"
2734VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00002735><SPAN
2736CLASS="emphasis"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002737><I
2738CLASS="EMPHASIS"
2739>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00002740></SPAN
Daniel Veillard52dcab32001-10-30 12:51:17 +00002741> :</TD
2742><TD
2743WIDTH="80%"
2744ALIGN="LEFT"
2745VALIGN="TOP"
2746>0</TD
2747></TR
2748></TBODY
2749></TABLE
2750><P
2751></P
2752></DIV
2753></DIV
2754><HR><DIV
2755CLASS="REFSECT2"
2756><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002757NAME="AEN27016"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002758></A
2759><H3
2760><A
2761NAME="XMLSHELLLOAD"
2762></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002763>xmlShellLoad ()</H3
Daniel Veillard52dcab32001-10-30 12:51:17 +00002764><TABLE
2765BORDER="0"
2766BGCOLOR="#D6E8FF"
2767WIDTH="100%"
2768CELLPADDING="6"
2769><TR
2770><TD
2771><PRE
2772CLASS="PROGRAMLISTING"
2773>int xmlShellLoad (<A
2774HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
2775>xmlShellCtxtPtr</A
2776> ctxt,
2777 char *filename,
2778 <A
2779HREF="libxml-tree.html#XMLNODEPTR"
2780>xmlNodePtr</A
2781> node,
2782 <A
2783HREF="libxml-tree.html#XMLNODEPTR"
2784>xmlNodePtr</A
2785> node2);</PRE
2786></TD
2787></TR
2788></TABLE
2789><P
2790>Implements the XML shell function "load"
2791loads a new document specified by the filename</P
2792><P
2793></P
2794><DIV
2795CLASS="INFORMALTABLE"
2796><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002797NAME="AEN27025"><P
Daniel Veillard52dcab32001-10-30 12:51:17 +00002798></P
2799><TABLE
2800BORDER="0"
2801WIDTH="100%"
2802BGCOLOR="#FFD0D0"
2803CELLSPACING="0"
2804CELLPADDING="4"
2805CLASS="CALSTABLE"
2806><TBODY
2807><TR
2808><TD
2809WIDTH="20%"
2810ALIGN="RIGHT"
2811VALIGN="TOP"
2812><TT
2813CLASS="PARAMETER"
2814><I
2815>ctxt</I
2816></TT
2817>&nbsp;:</TD
2818><TD
2819WIDTH="80%"
2820ALIGN="LEFT"
2821VALIGN="TOP"
2822> the shell context</TD
2823></TR
2824><TR
2825><TD
2826WIDTH="20%"
2827ALIGN="RIGHT"
2828VALIGN="TOP"
2829><TT
2830CLASS="PARAMETER"
2831><I
2832>filename</I
2833></TT
2834>&nbsp;:</TD
2835><TD
2836WIDTH="80%"
2837ALIGN="LEFT"
2838VALIGN="TOP"
2839> the file name</TD
2840></TR
2841><TR
2842><TD
2843WIDTH="20%"
2844ALIGN="RIGHT"
2845VALIGN="TOP"
2846><TT
2847CLASS="PARAMETER"
2848><I
2849>node</I
2850></TT
2851>&nbsp;:</TD
2852><TD
2853WIDTH="80%"
2854ALIGN="LEFT"
2855VALIGN="TOP"
2856> unused</TD
2857></TR
2858><TR
2859><TD
2860WIDTH="20%"
2861ALIGN="RIGHT"
2862VALIGN="TOP"
2863><TT
2864CLASS="PARAMETER"
2865><I
2866>node2</I
2867></TT
2868>&nbsp;:</TD
2869><TD
2870WIDTH="80%"
2871ALIGN="LEFT"
2872VALIGN="TOP"
2873> unused</TD
2874></TR
2875><TR
2876><TD
2877WIDTH="20%"
2878ALIGN="RIGHT"
2879VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00002880><SPAN
2881CLASS="emphasis"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002882><I
2883CLASS="EMPHASIS"
2884>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00002885></SPAN
Daniel Veillard52dcab32001-10-30 12:51:17 +00002886> :</TD
2887><TD
2888WIDTH="80%"
2889ALIGN="LEFT"
2890VALIGN="TOP"
2891>0 or -1 if loading failed</TD
2892></TR
2893></TBODY
2894></TABLE
2895><P
2896></P
2897></DIV
2898></DIV
2899><HR><DIV
2900CLASS="REFSECT2"
2901><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002902NAME="AEN27050"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002903></A
2904><H3
2905><A
2906NAME="XMLSHELLWRITE"
2907></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002908>xmlShellWrite ()</H3
Daniel Veillard52dcab32001-10-30 12:51:17 +00002909><TABLE
2910BORDER="0"
2911BGCOLOR="#D6E8FF"
2912WIDTH="100%"
2913CELLPADDING="6"
2914><TR
2915><TD
2916><PRE
2917CLASS="PROGRAMLISTING"
2918>int xmlShellWrite (<A
2919HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
2920>xmlShellCtxtPtr</A
2921> ctxt,
2922 char *filename,
2923 <A
2924HREF="libxml-tree.html#XMLNODEPTR"
2925>xmlNodePtr</A
2926> node,
2927 <A
2928HREF="libxml-tree.html#XMLNODEPTR"
2929>xmlNodePtr</A
2930> node2);</PRE
2931></TD
2932></TR
2933></TABLE
2934><P
2935>Implements the XML shell function "write"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00002936Write the current node to the filename, it saves the serialization
Daniel Veillard52dcab32001-10-30 12:51:17 +00002937of the subtree under the <TT
2938CLASS="PARAMETER"
2939><I
2940>node</I
2941></TT
2942> specified</P
2943><P
2944></P
2945><DIV
2946CLASS="INFORMALTABLE"
2947><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002948NAME="AEN27060"><P
Daniel Veillard52dcab32001-10-30 12:51:17 +00002949></P
2950><TABLE
2951BORDER="0"
2952WIDTH="100%"
2953BGCOLOR="#FFD0D0"
2954CELLSPACING="0"
2955CELLPADDING="4"
2956CLASS="CALSTABLE"
2957><TBODY
2958><TR
2959><TD
2960WIDTH="20%"
2961ALIGN="RIGHT"
2962VALIGN="TOP"
2963><TT
2964CLASS="PARAMETER"
2965><I
2966>ctxt</I
2967></TT
2968>&nbsp;:</TD
2969><TD
2970WIDTH="80%"
2971ALIGN="LEFT"
2972VALIGN="TOP"
2973> the shell context</TD
2974></TR
2975><TR
2976><TD
2977WIDTH="20%"
2978ALIGN="RIGHT"
2979VALIGN="TOP"
2980><TT
2981CLASS="PARAMETER"
2982><I
2983>filename</I
2984></TT
2985>&nbsp;:</TD
2986><TD
2987WIDTH="80%"
2988ALIGN="LEFT"
2989VALIGN="TOP"
2990> the file name</TD
2991></TR
2992><TR
2993><TD
2994WIDTH="20%"
2995ALIGN="RIGHT"
2996VALIGN="TOP"
2997><TT
2998CLASS="PARAMETER"
2999><I
3000>node</I
3001></TT
3002>&nbsp;:</TD
3003><TD
3004WIDTH="80%"
3005ALIGN="LEFT"
3006VALIGN="TOP"
3007> a node in the tree</TD
3008></TR
3009><TR
3010><TD
3011WIDTH="20%"
3012ALIGN="RIGHT"
3013VALIGN="TOP"
3014><TT
3015CLASS="PARAMETER"
3016><I
3017>node2</I
3018></TT
3019>&nbsp;:</TD
3020><TD
3021WIDTH="80%"
3022ALIGN="LEFT"
3023VALIGN="TOP"
3024> unused</TD
3025></TR
3026><TR
3027><TD
3028WIDTH="20%"
3029ALIGN="RIGHT"
3030VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00003031><SPAN
3032CLASS="emphasis"
Daniel Veillard52dcab32001-10-30 12:51:17 +00003033><I
3034CLASS="EMPHASIS"
3035>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00003036></SPAN
Daniel Veillard52dcab32001-10-30 12:51:17 +00003037> :</TD
3038><TD
3039WIDTH="80%"
3040ALIGN="LEFT"
3041VALIGN="TOP"
3042>0 or -1 in case of error</TD
3043></TR
3044></TBODY
3045></TABLE
3046><P
3047></P
3048></DIV
3049></DIV
3050><HR><DIV
3051CLASS="REFSECT2"
3052><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00003053NAME="AEN27085"
Daniel Veillard52dcab32001-10-30 12:51:17 +00003054></A
3055><H3
3056><A
3057NAME="XMLSHELLSAVE"
3058></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003059>xmlShellSave ()</H3
Daniel Veillard52dcab32001-10-30 12:51:17 +00003060><TABLE
3061BORDER="0"
3062BGCOLOR="#D6E8FF"
3063WIDTH="100%"
3064CELLPADDING="6"
3065><TR
3066><TD
3067><PRE
3068CLASS="PROGRAMLISTING"
3069>int xmlShellSave (<A
3070HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
3071>xmlShellCtxtPtr</A
3072> ctxt,
3073 char *filename,
3074 <A
3075HREF="libxml-tree.html#XMLNODEPTR"
3076>xmlNodePtr</A
3077> node,
3078 <A
3079HREF="libxml-tree.html#XMLNODEPTR"
3080>xmlNodePtr</A
3081> node2);</PRE
3082></TD
3083></TR
3084></TABLE
3085><P
3086>Implements the XML shell function "save"
3087Write the current document to the filename, or it's original name</P
3088><P
3089></P
3090><DIV
3091CLASS="INFORMALTABLE"
3092><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00003093NAME="AEN27094"><P
Daniel Veillard52dcab32001-10-30 12:51:17 +00003094></P
3095><TABLE
3096BORDER="0"
3097WIDTH="100%"
3098BGCOLOR="#FFD0D0"
3099CELLSPACING="0"
3100CELLPADDING="4"
3101CLASS="CALSTABLE"
3102><TBODY
3103><TR
3104><TD
3105WIDTH="20%"
3106ALIGN="RIGHT"
3107VALIGN="TOP"
3108><TT
3109CLASS="PARAMETER"
3110><I
3111>ctxt</I
3112></TT
3113>&nbsp;:</TD
3114><TD
3115WIDTH="80%"
3116ALIGN="LEFT"
3117VALIGN="TOP"
3118> the shell context</TD
3119></TR
3120><TR
3121><TD
3122WIDTH="20%"
3123ALIGN="RIGHT"
3124VALIGN="TOP"
3125><TT
3126CLASS="PARAMETER"
3127><I
3128>filename</I
3129></TT
3130>&nbsp;:</TD
3131><TD
3132WIDTH="80%"
3133ALIGN="LEFT"
3134VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00003135> the file name (optional)</TD
Daniel Veillard52dcab32001-10-30 12:51:17 +00003136></TR
3137><TR
3138><TD
3139WIDTH="20%"
3140ALIGN="RIGHT"
3141VALIGN="TOP"
3142><TT
3143CLASS="PARAMETER"
3144><I
3145>node</I
3146></TT
3147>&nbsp;:</TD
3148><TD
3149WIDTH="80%"
3150ALIGN="LEFT"
3151VALIGN="TOP"
3152> unused</TD
3153></TR
3154><TR
3155><TD
3156WIDTH="20%"
3157ALIGN="RIGHT"
3158VALIGN="TOP"
3159><TT
3160CLASS="PARAMETER"
3161><I
3162>node2</I
3163></TT
3164>&nbsp;:</TD
3165><TD
3166WIDTH="80%"
3167ALIGN="LEFT"
3168VALIGN="TOP"
3169> unused</TD
3170></TR
3171><TR
3172><TD
3173WIDTH="20%"
3174ALIGN="RIGHT"
3175VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00003176><SPAN
3177CLASS="emphasis"
Daniel Veillard52dcab32001-10-30 12:51:17 +00003178><I
3179CLASS="EMPHASIS"
3180>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00003181></SPAN
Daniel Veillard52dcab32001-10-30 12:51:17 +00003182> :</TD
3183><TD
3184WIDTH="80%"
3185ALIGN="LEFT"
3186VALIGN="TOP"
3187>0 or -1 in case of error</TD
3188></TR
3189></TBODY
3190></TABLE
3191><P
3192></P
3193></DIV
3194></DIV
3195><HR><DIV
3196CLASS="REFSECT2"
3197><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00003198NAME="AEN27119"
Daniel Veillard52dcab32001-10-30 12:51:17 +00003199></A
3200><H3
3201><A
3202NAME="XMLSHELLVALIDATE"
3203></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003204>xmlShellValidate ()</H3
Daniel Veillard52dcab32001-10-30 12:51:17 +00003205><TABLE
3206BORDER="0"
3207BGCOLOR="#D6E8FF"
3208WIDTH="100%"
3209CELLPADDING="6"
3210><TR
3211><TD
3212><PRE
3213CLASS="PROGRAMLISTING"
3214>int xmlShellValidate (<A
3215HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
3216>xmlShellCtxtPtr</A
3217> ctxt,
3218 char *dtd,
3219 <A
3220HREF="libxml-tree.html#XMLNODEPTR"
3221>xmlNodePtr</A
3222> node,
3223 <A
3224HREF="libxml-tree.html#XMLNODEPTR"
3225>xmlNodePtr</A
3226> node2);</PRE
3227></TD
3228></TR
3229></TABLE
3230><P
3231>Implements the XML shell function "validate"
3232Validate the document, if a DTD path is provided, then the validation
3233is done against the given DTD.</P
3234><P
3235></P
3236><DIV
3237CLASS="INFORMALTABLE"
3238><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00003239NAME="AEN27128"><P
Daniel Veillard52dcab32001-10-30 12:51:17 +00003240></P
3241><TABLE
3242BORDER="0"
3243WIDTH="100%"
3244BGCOLOR="#FFD0D0"
3245CELLSPACING="0"
3246CELLPADDING="4"
3247CLASS="CALSTABLE"
3248><TBODY
3249><TR
3250><TD
3251WIDTH="20%"
3252ALIGN="RIGHT"
3253VALIGN="TOP"
3254><TT
3255CLASS="PARAMETER"
3256><I
3257>ctxt</I
3258></TT
3259>&nbsp;:</TD
3260><TD
3261WIDTH="80%"
3262ALIGN="LEFT"
3263VALIGN="TOP"
3264> the shell context</TD
3265></TR
3266><TR
3267><TD
3268WIDTH="20%"
3269ALIGN="RIGHT"
3270VALIGN="TOP"
3271><TT
3272CLASS="PARAMETER"
3273><I
3274>dtd</I
3275></TT
3276>&nbsp;:</TD
3277><TD
3278WIDTH="80%"
3279ALIGN="LEFT"
3280VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00003281> the DTD URI (optional)</TD
Daniel Veillard52dcab32001-10-30 12:51:17 +00003282></TR
3283><TR
3284><TD
3285WIDTH="20%"
3286ALIGN="RIGHT"
3287VALIGN="TOP"
3288><TT
3289CLASS="PARAMETER"
3290><I
3291>node</I
3292></TT
3293>&nbsp;:</TD
3294><TD
3295WIDTH="80%"
3296ALIGN="LEFT"
3297VALIGN="TOP"
3298> unused</TD
3299></TR
3300><TR
3301><TD
3302WIDTH="20%"
3303ALIGN="RIGHT"
3304VALIGN="TOP"
3305><TT
3306CLASS="PARAMETER"
3307><I
3308>node2</I
3309></TT
3310>&nbsp;:</TD
3311><TD
3312WIDTH="80%"
3313ALIGN="LEFT"
3314VALIGN="TOP"
3315> unused</TD
3316></TR
3317><TR
3318><TD
3319WIDTH="20%"
3320ALIGN="RIGHT"
3321VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00003322><SPAN
3323CLASS="emphasis"
Daniel Veillard52dcab32001-10-30 12:51:17 +00003324><I
3325CLASS="EMPHASIS"
3326>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00003327></SPAN
Daniel Veillard52dcab32001-10-30 12:51:17 +00003328> :</TD
3329><TD
3330WIDTH="80%"
3331ALIGN="LEFT"
3332VALIGN="TOP"
3333>0 or -1 in case of error</TD
3334></TR
3335></TBODY
3336></TABLE
3337><P
3338></P
3339></DIV
3340></DIV
3341><HR><DIV
3342CLASS="REFSECT2"
3343><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00003344NAME="AEN27153"
Daniel Veillard52dcab32001-10-30 12:51:17 +00003345></A
3346><H3
3347><A
3348NAME="XMLSHELLDU"
3349></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003350>xmlShellDu ()</H3
Daniel Veillard52dcab32001-10-30 12:51:17 +00003351><TABLE
3352BORDER="0"
3353BGCOLOR="#D6E8FF"
3354WIDTH="100%"
3355CELLPADDING="6"
3356><TR
3357><TD
3358><PRE
3359CLASS="PROGRAMLISTING"
3360>int xmlShellDu (<A
3361HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
3362>xmlShellCtxtPtr</A
3363> ctxt,
3364 char *arg,
3365 <A
3366HREF="libxml-tree.html#XMLNODEPTR"
3367>xmlNodePtr</A
3368> tree,
3369 <A
3370HREF="libxml-tree.html#XMLNODEPTR"
3371>xmlNodePtr</A
3372> node2);</PRE
3373></TD
3374></TR
3375></TABLE
3376><P
3377>Implements the XML shell function "du"
3378show the structure of the subtree under node <TT
3379CLASS="PARAMETER"
3380><I
3381>tree</I
3382></TT
3383>
3384If <TT
3385CLASS="PARAMETER"
3386><I
3387>tree</I
3388></TT
3389> is null, the command works on the current node.</P
3390><P
3391></P
3392><DIV
3393CLASS="INFORMALTABLE"
3394><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00003395NAME="AEN27164"><P
Daniel Veillard52dcab32001-10-30 12:51:17 +00003396></P
3397><TABLE
3398BORDER="0"
3399WIDTH="100%"
3400BGCOLOR="#FFD0D0"
3401CELLSPACING="0"
3402CELLPADDING="4"
3403CLASS="CALSTABLE"
3404><TBODY
3405><TR
3406><TD
3407WIDTH="20%"
3408ALIGN="RIGHT"
3409VALIGN="TOP"
3410><TT
3411CLASS="PARAMETER"
3412><I
3413>ctxt</I
3414></TT
3415>&nbsp;:</TD
3416><TD
3417WIDTH="80%"
3418ALIGN="LEFT"
3419VALIGN="TOP"
3420> the shell context</TD
3421></TR
3422><TR
3423><TD
3424WIDTH="20%"
3425ALIGN="RIGHT"
3426VALIGN="TOP"
3427><TT
3428CLASS="PARAMETER"
3429><I
3430>arg</I
3431></TT
3432>&nbsp;:</TD
3433><TD
3434WIDTH="80%"
3435ALIGN="LEFT"
3436VALIGN="TOP"
3437> unused</TD
3438></TR
3439><TR
3440><TD
3441WIDTH="20%"
3442ALIGN="RIGHT"
3443VALIGN="TOP"
3444><TT
3445CLASS="PARAMETER"
3446><I
3447>tree</I
3448></TT
3449>&nbsp;:</TD
3450><TD
3451WIDTH="80%"
3452ALIGN="LEFT"
3453VALIGN="TOP"
3454> a node defining a subtree</TD
3455></TR
3456><TR
3457><TD
3458WIDTH="20%"
3459ALIGN="RIGHT"
3460VALIGN="TOP"
3461><TT
3462CLASS="PARAMETER"
3463><I
3464>node2</I
3465></TT
3466>&nbsp;:</TD
3467><TD
3468WIDTH="80%"
3469ALIGN="LEFT"
3470VALIGN="TOP"
3471> unused</TD
3472></TR
3473><TR
3474><TD
3475WIDTH="20%"
3476ALIGN="RIGHT"
3477VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00003478><SPAN
3479CLASS="emphasis"
Daniel Veillard52dcab32001-10-30 12:51:17 +00003480><I
3481CLASS="EMPHASIS"
3482>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00003483></SPAN
Daniel Veillard52dcab32001-10-30 12:51:17 +00003484> :</TD
3485><TD
3486WIDTH="80%"
3487ALIGN="LEFT"
3488VALIGN="TOP"
3489>0 or -1 in case of error</TD
3490></TR
3491></TBODY
3492></TABLE
3493><P
3494></P
3495></DIV
3496></DIV
3497><HR><DIV
3498CLASS="REFSECT2"
3499><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00003500NAME="AEN27189"
Daniel Veillard52dcab32001-10-30 12:51:17 +00003501></A
3502><H3
3503><A
3504NAME="XMLSHELLPWD"
3505></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003506>xmlShellPwd ()</H3
Daniel Veillard52dcab32001-10-30 12:51:17 +00003507><TABLE
3508BORDER="0"
3509BGCOLOR="#D6E8FF"
3510WIDTH="100%"
3511CELLPADDING="6"
3512><TR
3513><TD
3514><PRE
3515CLASS="PROGRAMLISTING"
3516>int xmlShellPwd (<A
3517HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
3518>xmlShellCtxtPtr</A
3519> ctxt,
3520 char *buffer,
3521 <A
3522HREF="libxml-tree.html#XMLNODEPTR"
3523>xmlNodePtr</A
3524> node,
3525 <A
3526HREF="libxml-tree.html#XMLNODEPTR"
3527>xmlNodePtr</A
3528> node2);</PRE
3529></TD
3530></TR
3531></TABLE
3532><P
3533>Implements the XML shell function "pwd"
3534Show the full path from the root to the node, if needed building
3535thumblers when similar elements exists at a given ancestor level.
3536The output is compatible with XPath commands.</P
3537><P
3538></P
3539><DIV
3540CLASS="INFORMALTABLE"
3541><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00003542NAME="AEN27198"><P
Daniel Veillard52dcab32001-10-30 12:51:17 +00003543></P
3544><TABLE
3545BORDER="0"
3546WIDTH="100%"
3547BGCOLOR="#FFD0D0"
3548CELLSPACING="0"
3549CELLPADDING="4"
3550CLASS="CALSTABLE"
3551><TBODY
3552><TR
3553><TD
3554WIDTH="20%"
3555ALIGN="RIGHT"
3556VALIGN="TOP"
3557><TT
3558CLASS="PARAMETER"
3559><I
3560>ctxt</I
3561></TT
3562>&nbsp;:</TD
3563><TD
3564WIDTH="80%"
3565ALIGN="LEFT"
3566VALIGN="TOP"
3567> the shell context</TD
3568></TR
3569><TR
3570><TD
3571WIDTH="20%"
3572ALIGN="RIGHT"
3573VALIGN="TOP"
3574><TT
3575CLASS="PARAMETER"
3576><I
3577>buffer</I
3578></TT
3579>&nbsp;:</TD
3580><TD
3581WIDTH="80%"
3582ALIGN="LEFT"
3583VALIGN="TOP"
3584> the output buffer</TD
3585></TR
3586><TR
3587><TD
3588WIDTH="20%"
3589ALIGN="RIGHT"
3590VALIGN="TOP"
3591><TT
3592CLASS="PARAMETER"
3593><I
3594>node</I
3595></TT
3596>&nbsp;:</TD
3597><TD
3598WIDTH="80%"
3599ALIGN="LEFT"
3600VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003601> a node </TD
Daniel Veillard52dcab32001-10-30 12:51:17 +00003602></TR
3603><TR
3604><TD
3605WIDTH="20%"
3606ALIGN="RIGHT"
3607VALIGN="TOP"
3608><TT
3609CLASS="PARAMETER"
3610><I
3611>node2</I
3612></TT
3613>&nbsp;:</TD
3614><TD
3615WIDTH="80%"
3616ALIGN="LEFT"
3617VALIGN="TOP"
3618> unused</TD
3619></TR
3620><TR
3621><TD
3622WIDTH="20%"
3623ALIGN="RIGHT"
3624VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00003625><SPAN
3626CLASS="emphasis"
Daniel Veillard52dcab32001-10-30 12:51:17 +00003627><I
3628CLASS="EMPHASIS"
3629>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00003630></SPAN
Daniel Veillard52dcab32001-10-30 12:51:17 +00003631> :</TD
3632><TD
3633WIDTH="80%"
3634ALIGN="LEFT"
3635VALIGN="TOP"
3636>0 or -1 in case of error</TD
3637></TR
3638></TBODY
3639></TABLE
3640><P
3641></P
3642></DIV
3643></DIV
3644><HR><DIV
3645CLASS="REFSECT2"
3646><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00003647NAME="AEN27223"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003648></A
3649><H3
3650><A
3651NAME="XMLSHELL"
3652></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003653>xmlShell ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003654><TABLE
3655BORDER="0"
3656BGCOLOR="#D6E8FF"
3657WIDTH="100%"
3658CELLPADDING="6"
3659><TR
3660><TD
3661><PRE
3662CLASS="PROGRAMLISTING"
3663>void xmlShell (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003664HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003665>xmlDocPtr</A
3666> doc,
3667 char *filename,
3668 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003669HREF="libxml-debugxml.html#XMLSHELLREADLINEFUNC"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003670>xmlShellReadlineFunc</A
3671> input,
3672 <GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00003673HREF="FILE-CAPS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003674>FILE</GTKDOCLINK
3675> *output);</PRE
3676></TD
3677></TR
3678></TABLE
3679><P
3680>Implements the XML shell
3681This allow to load, validate, view, modify and save a document
3682using a environment similar to a UNIX commandline.</P
3683><P
3684></P
3685><DIV
3686CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003687><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00003688NAME="AEN27232"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003689></P
3690><TABLE
3691BORDER="0"
3692WIDTH="100%"
3693BGCOLOR="#FFD0D0"
3694CELLSPACING="0"
3695CELLPADDING="4"
3696CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003697><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003698><TR
3699><TD
3700WIDTH="20%"
3701ALIGN="RIGHT"
3702VALIGN="TOP"
3703><TT
3704CLASS="PARAMETER"
3705><I
3706>doc</I
3707></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003708>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003709><TD
3710WIDTH="80%"
3711ALIGN="LEFT"
3712VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003713> the initial document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003714></TR
3715><TR
3716><TD
3717WIDTH="20%"
3718ALIGN="RIGHT"
3719VALIGN="TOP"
3720><TT
3721CLASS="PARAMETER"
3722><I
3723>filename</I
3724></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003725>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003726><TD
3727WIDTH="80%"
3728ALIGN="LEFT"
3729VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003730> the output buffer</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003731></TR
3732><TR
3733><TD
3734WIDTH="20%"
3735ALIGN="RIGHT"
3736VALIGN="TOP"
3737><TT
3738CLASS="PARAMETER"
3739><I
3740>input</I
3741></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003742>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003743><TD
3744WIDTH="80%"
3745ALIGN="LEFT"
3746VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003747> the line reading function</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003748></TR
3749><TR
3750><TD
3751WIDTH="20%"
3752ALIGN="RIGHT"
3753VALIGN="TOP"
3754><TT
3755CLASS="PARAMETER"
3756><I
3757>output</I
3758></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003759>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003760><TD
3761WIDTH="80%"
3762ALIGN="LEFT"
3763VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003764> the output FILE*</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003765></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003766></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003767></TABLE
3768><P
3769></P
3770></DIV
3771></DIV
Daniel Veillardaeea04f2000-01-25 19:27:27 +00003772></DIV
3773><DIV
3774CLASS="NAVFOOTER"
3775><BR
3776CLEAR="all"><BR><TABLE
3777WIDTH="100%"
3778BORDER="0"
3779BGCOLOR="#000000"
3780CELLPADDING="1"
3781CELLSPACING="0"
3782><TR
3783><TD
3784WIDTH="25%"
3785BGCOLOR="#C00000"
3786ALIGN="left"
3787><A
Daniel Veillard52dcab32001-10-30 12:51:17 +00003788HREF="libxml-hash.html"
Daniel Veillardaeea04f2000-01-25 19:27:27 +00003789><FONT
3790COLOR="#FFFFFF"
3791SIZE="3"
3792><B
3793>&#60;&#60;&#60; Previous Page</B
3794></FONT
3795></A
3796></TD
3797><TD
3798WIDTH="25%"
3799BGCOLOR="#0000C0"
3800ALIGN="center"
3801><FONT
3802COLOR="#FFFFFF"
3803SIZE="3"
3804><B
3805><A
3806HREF="book1.html"
3807><FONT
3808COLOR="#FFFFFF"
3809SIZE="3"
3810><B
3811>Home</B
3812></FONT
3813></A
3814></B
3815></FONT
3816></TD
3817><TD
3818WIDTH="25%"
3819BGCOLOR="#00C000"
3820ALIGN="center"
3821><FONT
3822COLOR="#FFFFFF"
3823SIZE="3"
3824><B
3825><A
3826HREF="libxml-lib.html"
3827><FONT
3828COLOR="#FFFFFF"
3829SIZE="3"
3830><B
3831>Up</B
3832></FONT
3833></A
3834></B
3835></FONT
3836></TD
3837><TD
3838WIDTH="25%"
3839BGCOLOR="#C00000"
3840ALIGN="right"
3841><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003842HREF="libxml-xmlmemory.html"
Daniel Veillardaeea04f2000-01-25 19:27:27 +00003843><FONT
3844COLOR="#FFFFFF"
3845SIZE="3"
3846><B
3847>Next Page &#62;&#62;&#62;</B
3848></FONT
3849></A
3850></TD
3851></TR
3852><TR
3853><TD
3854COLSPAN="2"
3855ALIGN="left"
3856><FONT
3857COLOR="#FFFFFF"
3858SIZE="3"
3859><B
Daniel Veillard52dcab32001-10-30 12:51:17 +00003860>hash</B
Daniel Veillardaeea04f2000-01-25 19:27:27 +00003861></FONT
3862></TD
3863><TD
3864COLSPAN="2"
3865ALIGN="right"
3866><FONT
3867COLOR="#FFFFFF"
3868SIZE="3"
3869><B
3870>xmlmemory</B
3871></FONT
3872></TD
3873></TR
3874></TABLE
3875></DIV
3876></BODY
3877></HTML
3878>