blob: d15d67f8402f40505bd4c761a0617451f329fb38 [file] [log] [blame]
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001<HTML
2><HEAD
3><TITLE
4>debugXML</TITLE
5><META
6NAME="GENERATOR"
Daniel Veillard60087f32001-10-10 09:45:09 +00007CONTENT="Modular DocBook HTML Stylesheet Version 1.64
8"><LINK
Daniel Veillardaeea04f2000-01-25 19:27:27 +00009REL="HOME"
10TITLE="Gnome XML Library Reference Manual"
11HREF="book1.html"><LINK
12REL="UP"
13TITLE="Libxml Library Reference"
14HREF="libxml-lib.html"><LINK
15REL="PREVIOUS"
Daniel Veillard52dcab32001-10-30 12:51:17 +000016TITLE="hash"
17HREF="libxml-hash.html"><LINK
Daniel Veillardaeea04f2000-01-25 19:27:27 +000018REL="NEXT"
19TITLE="xmlmemory"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000020HREF="libxml-xmlmemory.html"></HEAD
Daniel Veillardaeea04f2000-01-25 19:27:27 +000021><BODY
Daniel Veillardbed7b052001-05-19 14:59:49 +000022CLASS="REFENTRY"
Daniel Veillardaeea04f2000-01-25 19:27:27 +000023BGCOLOR="#FFFFFF"
24TEXT="#000000"
Daniel Veillard503b8932001-01-05 06:36:31 +000025LINK="#0000FF"
26VLINK="#840084"
27ALINK="#0000FF"
Daniel Veillardaeea04f2000-01-25 19:27:27 +000028><DIV
29CLASS="NAVHEADER"
30><TABLE
31WIDTH="100%"
32BORDER="0"
33BGCOLOR="#000000"
34CELLPADDING="1"
35CELLSPACING="0"
36><TR
37><TH
38COLSPAN="4"
39ALIGN="center"
40><FONT
41COLOR="#FFFFFF"
42SIZE="5"
43>Gnome XML Library Reference Manual</FONT
44></TH
45></TR
46><TR
47><TD
48WIDTH="25%"
49BGCOLOR="#C00000"
50ALIGN="left"
51><A
Daniel Veillard52dcab32001-10-30 12:51:17 +000052HREF="libxml-hash.html"
Daniel Veillardaeea04f2000-01-25 19:27:27 +000053><FONT
54COLOR="#FFFFFF"
55SIZE="3"
56><B
57>&#60;&#60;&#60; Previous Page</B
58></FONT
59></A
60></TD
61><TD
62WIDTH="25%"
63BGCOLOR="#0000C0"
64ALIGN="center"
65><FONT
66COLOR="#FFFFFF"
67SIZE="3"
68><B
69><A
70HREF="book1.html"
71><FONT
72COLOR="#FFFFFF"
73SIZE="3"
74><B
75>Home</B
76></FONT
77></A
78></B
79></FONT
80></TD
81><TD
82WIDTH="25%"
83BGCOLOR="#00C000"
84ALIGN="center"
85><FONT
86COLOR="#FFFFFF"
87SIZE="3"
88><B
89><A
90HREF="libxml-lib.html"
91><FONT
92COLOR="#FFFFFF"
93SIZE="3"
94><B
95>Up</B
96></FONT
97></A
98></B
99></FONT
100></TD
101><TD
102WIDTH="25%"
103BGCOLOR="#C00000"
104ALIGN="right"
105><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000106HREF="libxml-xmlmemory.html"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000107><FONT
108COLOR="#FFFFFF"
109SIZE="3"
110><B
111>Next Page &#62;&#62;&#62;</B
112></FONT
113></A
114></TD
115></TR
116></TABLE
117></DIV
118><H1
Daniel Veillard503b8932001-01-05 06:36:31 +0000119><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000120NAME="LIBXML-DEBUGXML"
Daniel Veillard503b8932001-01-05 06:36:31 +0000121>debugXML</A
122></H1
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000123><DIV
124CLASS="REFNAMEDIV"
125><A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000126NAME="AEN25143"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000127></A
128><H2
129>Name</H2
Daniel Veillard503b8932001-01-05 06:36:31 +0000130>debugXML&nbsp;--&nbsp;</DIV
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000131><DIV
132CLASS="REFSYNOPSISDIV"
133><A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000134NAME="AEN25146"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000135></A
136><H2
137>Synopsis</H2
138><TABLE
139BORDER="0"
140BGCOLOR="#D6E8FF"
141WIDTH="100%"
142CELLPADDING="6"
143><TR
144><TD
145><PRE
146CLASS="SYNOPSIS"
147>&#13;
148
149void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000150HREF="libxml-debugxml.html#XMLDEBUGDUMPSTRING"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000151>xmlDebugDumpString</A
152> (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000153HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000154>FILE</GTKDOCLINK
155> *output,
156 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000157HREF="libxml-tree.html#XMLCHAR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000158>xmlChar</A
159> *str);
160void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000161HREF="libxml-debugxml.html#XMLDEBUGDUMPATTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000162>xmlDebugDumpAttr</A
163> (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000164HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000165>FILE</GTKDOCLINK
166> *output,
167 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000168HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000169>xmlAttrPtr</A
170> attr,
171 int depth);
172void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000173HREF="libxml-debugxml.html#XMLDEBUGDUMPATTRLIST"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000174>xmlDebugDumpAttrList</A
175> (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000176HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000177>FILE</GTKDOCLINK
178> *output,
179 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000180HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000181>xmlAttrPtr</A
182> attr,
183 int depth);
184void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000185HREF="libxml-debugxml.html#XMLDEBUGDUMPONENODE"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000186>xmlDebugDumpOneNode</A
187> (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000188HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000189>FILE</GTKDOCLINK
190> *output,
191 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000192HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000193>xmlNodePtr</A
194> node,
195 int depth);
196void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000197HREF="libxml-debugxml.html#XMLDEBUGDUMPNODE"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000198>xmlDebugDumpNode</A
199> (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000200HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000201>FILE</GTKDOCLINK
202> *output,
203 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000204HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000205>xmlNodePtr</A
206> node,
207 int depth);
208void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000209HREF="libxml-debugxml.html#XMLDEBUGDUMPNODELIST"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000210>xmlDebugDumpNodeList</A
211> (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000212HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000213>FILE</GTKDOCLINK
214> *output,
215 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000216HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000217>xmlNodePtr</A
218> node,
219 int depth);
220void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000221HREF="libxml-debugxml.html#XMLDEBUGDUMPDOCUMENTHEAD"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000222>xmlDebugDumpDocumentHead</A
223> (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000224HREF="FILE-CAPS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000225>FILE</GTKDOCLINK
226> *output,
227 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000228HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000229>xmlDocPtr</A
230> doc);
231void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000232HREF="libxml-debugxml.html#XMLDEBUGDUMPDOCUMENT"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000233>xmlDebugDumpDocument</A
234> (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000235HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000236>FILE</GTKDOCLINK
237> *output,
238 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000239HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000240>xmlDocPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000241> doc);
242void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000243HREF="libxml-debugxml.html#XMLDEBUGDUMPDTD"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000244>xmlDebugDumpDTD</A
245> (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000246HREF="FILE-CAPS"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000247>FILE</GTKDOCLINK
248> *output,
249 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000250HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000251>xmlDtdPtr</A
Daniel Veillardf012a642001-07-23 19:10:52 +0000252> dtd);
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000253void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000254HREF="libxml-debugxml.html#XMLDEBUGDUMPENTITIES"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000255>xmlDebugDumpEntities</A
256> (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000257HREF="FILE-CAPS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000258>FILE</GTKDOCLINK
259> *output,
260 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000261HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000262>xmlDocPtr</A
263> doc);
Daniel Veillard52dcab32001-10-30 12:51:17 +0000264void <A
265HREF="libxml-debugxml.html#XMLLSONENODE"
266>xmlLsOneNode</A
267> (<GTKDOCLINK
268HREF="FILE-CAPS"
269>FILE</GTKDOCLINK
270> *output,
271 <A
272HREF="libxml-tree.html#XMLNODEPTR"
273>xmlNodePtr</A
274> node);
275int <A
276HREF="libxml-debugxml.html#XMLLSCOUNTNODE"
277>xmlLsCountNode</A
278> (<A
279HREF="libxml-tree.html#XMLNODEPTR"
280>xmlNodePtr</A
281> node);
282const char* <A
283HREF="libxml-debugxml.html#XMLBOOLTOTEXT"
284>xmlBoolToText</A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000285> (int boolval);
Daniel Veillard52dcab32001-10-30 12:51:17 +0000286<GTKDOCLINK
287HREF="LONG"
288>long</GTKDOCLINK
289> <A
290HREF="libxml-debugxml.html#XMLGETLINENO"
291>xmlGetLineNo</A
292> (<A
293HREF="libxml-tree.html#XMLNODEPTR"
294>xmlNodePtr</A
295> node);
Daniel Veillard43d3f612001-11-10 11:57:23 +0000296<A
297HREF="libxml-tree.html#XMLCHAR"
298>xmlChar</A
299>* <A
300HREF="libxml-debugxml.html#XMLGETNODEPATH"
301>xmlGetNodePath</A
302> (<A
303HREF="libxml-tree.html#XMLNODEPTR"
304>xmlNodePtr</A
305> node);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000306char* (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000307HREF="libxml-debugxml.html#XMLSHELLREADLINEFUNC"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000308>*xmlShellReadlineFunc</A
309>) (char *prompt);
310struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000311HREF="libxml-debugxml.html#XMLSHELLCTXT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000312>xmlShellCtxt</A
313>;
314typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000315HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000316>xmlShellCtxtPtr</A
317>;
318int (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000319HREF="libxml-debugxml.html#XMLSHELLCMD"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000320>*xmlShellCmd</A
321>) (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000322HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000323>xmlShellCtxtPtr</A
324> ctxt,
325 char *arg,
326 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000327HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000328>xmlNodePtr</A
329> node,
330 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000331HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000332>xmlNodePtr</A
333> node2);
334void <A
Daniel Veillard52dcab32001-10-30 12:51:17 +0000335HREF="libxml-debugxml.html#XMLSHELLPRINTXPATHERROR"
336>xmlShellPrintXPathError</A
337> (int errorType,
338 const char *arg);
339void <A
340HREF="libxml-debugxml.html#XMLSHELLPRINTNODE"
341>xmlShellPrintNode</A
342> (<A
343HREF="libxml-tree.html#XMLNODEPTR"
344>xmlNodePtr</A
345> node);
346void <A
347HREF="libxml-debugxml.html#XMLSHELLPRINTXPATHRESULT"
348>xmlShellPrintXPathResult</A
349> (<A
350HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
351>xmlXPathObjectPtr</A
352> list);
353int <A
354HREF="libxml-debugxml.html#XMLSHELLLIST"
355>xmlShellList</A
356> (<A
357HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
358>xmlShellCtxtPtr</A
359> ctxt,
360 char *arg,
361 <A
362HREF="libxml-tree.html#XMLNODEPTR"
363>xmlNodePtr</A
364> node,
365 <A
366HREF="libxml-tree.html#XMLNODEPTR"
367>xmlNodePtr</A
368> node2);
369int <A
370HREF="libxml-debugxml.html#XMLSHELLBASE"
371>xmlShellBase</A
372> (<A
373HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
374>xmlShellCtxtPtr</A
375> ctxt,
376 char *arg,
377 <A
378HREF="libxml-tree.html#XMLNODEPTR"
379>xmlNodePtr</A
380> node,
381 <A
382HREF="libxml-tree.html#XMLNODEPTR"
383>xmlNodePtr</A
384> node2);
385int <A
386HREF="libxml-debugxml.html#XMLSHELLDIR"
387>xmlShellDir</A
388> (<A
389HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
390>xmlShellCtxtPtr</A
391> ctxt,
392 char *arg,
393 <A
394HREF="libxml-tree.html#XMLNODEPTR"
395>xmlNodePtr</A
396> node,
397 <A
398HREF="libxml-tree.html#XMLNODEPTR"
399>xmlNodePtr</A
400> node2);
401int <A
402HREF="libxml-debugxml.html#XMLSHELLCAT"
403>xmlShellCat</A
404> (<A
405HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
406>xmlShellCtxtPtr</A
407> ctxt,
408 char *arg,
409 <A
410HREF="libxml-tree.html#XMLNODEPTR"
411>xmlNodePtr</A
412> node,
413 <A
414HREF="libxml-tree.html#XMLNODEPTR"
415>xmlNodePtr</A
416> node2);
417int <A
418HREF="libxml-debugxml.html#XMLSHELLLOAD"
419>xmlShellLoad</A
420> (<A
421HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
422>xmlShellCtxtPtr</A
423> ctxt,
424 char *filename,
425 <A
426HREF="libxml-tree.html#XMLNODEPTR"
427>xmlNodePtr</A
428> node,
429 <A
430HREF="libxml-tree.html#XMLNODEPTR"
431>xmlNodePtr</A
432> node2);
433int <A
434HREF="libxml-debugxml.html#XMLSHELLWRITE"
435>xmlShellWrite</A
436> (<A
437HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
438>xmlShellCtxtPtr</A
439> ctxt,
440 char *filename,
441 <A
442HREF="libxml-tree.html#XMLNODEPTR"
443>xmlNodePtr</A
444> node,
445 <A
446HREF="libxml-tree.html#XMLNODEPTR"
447>xmlNodePtr</A
448> node2);
449int <A
450HREF="libxml-debugxml.html#XMLSHELLSAVE"
451>xmlShellSave</A
452> (<A
453HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
454>xmlShellCtxtPtr</A
455> ctxt,
456 char *filename,
457 <A
458HREF="libxml-tree.html#XMLNODEPTR"
459>xmlNodePtr</A
460> node,
461 <A
462HREF="libxml-tree.html#XMLNODEPTR"
463>xmlNodePtr</A
464> node2);
465int <A
466HREF="libxml-debugxml.html#XMLSHELLVALIDATE"
467>xmlShellValidate</A
468> (<A
469HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
470>xmlShellCtxtPtr</A
471> ctxt,
472 char *dtd,
473 <A
474HREF="libxml-tree.html#XMLNODEPTR"
475>xmlNodePtr</A
476> node,
477 <A
478HREF="libxml-tree.html#XMLNODEPTR"
479>xmlNodePtr</A
480> node2);
481int <A
482HREF="libxml-debugxml.html#XMLSHELLDU"
483>xmlShellDu</A
484> (<A
485HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
486>xmlShellCtxtPtr</A
487> ctxt,
488 char *arg,
489 <A
490HREF="libxml-tree.html#XMLNODEPTR"
491>xmlNodePtr</A
492> tree,
493 <A
494HREF="libxml-tree.html#XMLNODEPTR"
495>xmlNodePtr</A
496> node2);
497int <A
498HREF="libxml-debugxml.html#XMLSHELLPWD"
499>xmlShellPwd</A
500> (<A
501HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
502>xmlShellCtxtPtr</A
503> ctxt,
504 char *buffer,
505 <A
506HREF="libxml-tree.html#XMLNODEPTR"
507>xmlNodePtr</A
508> node,
509 <A
510HREF="libxml-tree.html#XMLNODEPTR"
511>xmlNodePtr</A
512> node2);
513void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000514HREF="libxml-debugxml.html#XMLSHELL"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000515>xmlShell</A
516> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000517HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000518>xmlDocPtr</A
519> doc,
520 char *filename,
521 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000522HREF="libxml-debugxml.html#XMLSHELLREADLINEFUNC"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000523>xmlShellReadlineFunc</A
524> input,
525 <GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000526HREF="FILE-CAPS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000527>FILE</GTKDOCLINK
528> *output);</PRE
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000529></TD
530></TR
531></TABLE
532></DIV
533><DIV
534CLASS="REFSECT1"
535><A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000536NAME="AEN25247"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000537></A
538><H2
539>Description</H2
540><P
541></P
542></DIV
543><DIV
544CLASS="REFSECT1"
545><A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000546NAME="AEN25250"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000547></A
548><H2
549>Details</H2
550><DIV
551CLASS="REFSECT2"
552><A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000553NAME="AEN25252"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000554></A
555><H3
556><A
557NAME="XMLDEBUGDUMPSTRING"
558></A
559>xmlDebugDumpString ()</H3
560><TABLE
561BORDER="0"
562BGCOLOR="#D6E8FF"
563WIDTH="100%"
564CELLPADDING="6"
565><TR
566><TD
567><PRE
568CLASS="PROGRAMLISTING"
569>void xmlDebugDumpString (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000570HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000571>FILE</GTKDOCLINK
572> *output,
573 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000574HREF="libxml-tree.html#XMLCHAR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000575>xmlChar</A
576> *str);</PRE
577></TD
578></TR
579></TABLE
580><P
Daniel Veillardf012a642001-07-23 19:10:52 +0000581>Dumps informations about the string, shorten it if necessary</P
582><P
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000583></P
584><DIV
585CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000586><A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000587NAME="AEN25260"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000588></A
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000589><P
590></P
591><TABLE
592BORDER="0"
593WIDTH="100%"
594BGCOLOR="#FFD0D0"
595CELLSPACING="0"
596CELLPADDING="4"
597CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000598><TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000599><TR
600><TD
601WIDTH="20%"
602ALIGN="RIGHT"
603VALIGN="TOP"
604><TT
605CLASS="PARAMETER"
606><I
607>output</I
608></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000609>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000610><TD
611WIDTH="80%"
612ALIGN="LEFT"
613VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000614> the FILE * for the output</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000615></TR
616><TR
617><TD
618WIDTH="20%"
619ALIGN="RIGHT"
620VALIGN="TOP"
621><TT
622CLASS="PARAMETER"
623><I
624>str</I
625></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000626>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000627><TD
628WIDTH="80%"
629ALIGN="LEFT"
630VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000631> the string</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000632></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000633></TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000634></TABLE
635><P
636></P
637></DIV
638></DIV
639><HR><DIV
640CLASS="REFSECT2"
641><A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000642NAME="AEN25273"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000643></A
644><H3
645><A
646NAME="XMLDEBUGDUMPATTR"
647></A
648>xmlDebugDumpAttr ()</H3
649><TABLE
650BORDER="0"
651BGCOLOR="#D6E8FF"
652WIDTH="100%"
653CELLPADDING="6"
654><TR
655><TD
656><PRE
657CLASS="PROGRAMLISTING"
658>void xmlDebugDumpAttr (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000659HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000660>FILE</GTKDOCLINK
661> *output,
662 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000663HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000664>xmlAttrPtr</A
665> attr,
666 int depth);</PRE
667></TD
668></TR
669></TABLE
670><P
Daniel Veillardf012a642001-07-23 19:10:52 +0000671>Dumps debug information for the attribute</P
672><P
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000673></P
674><DIV
675CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000676><A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000677NAME="AEN25281"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000678></A
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000679><P
680></P
681><TABLE
682BORDER="0"
683WIDTH="100%"
684BGCOLOR="#FFD0D0"
685CELLSPACING="0"
686CELLPADDING="4"
687CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000688><TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000689><TR
690><TD
691WIDTH="20%"
692ALIGN="RIGHT"
693VALIGN="TOP"
694><TT
695CLASS="PARAMETER"
696><I
697>output</I
698></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000699>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000700><TD
701WIDTH="80%"
702ALIGN="LEFT"
703VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000704> the FILE * for the output</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000705></TR
706><TR
707><TD
708WIDTH="20%"
709ALIGN="RIGHT"
710VALIGN="TOP"
711><TT
712CLASS="PARAMETER"
713><I
714>attr</I
715></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000716>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000717><TD
718WIDTH="80%"
719ALIGN="LEFT"
720VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000721> the attribute</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000722></TR
723><TR
724><TD
725WIDTH="20%"
726ALIGN="RIGHT"
727VALIGN="TOP"
728><TT
729CLASS="PARAMETER"
730><I
731>depth</I
732></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000733>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000734><TD
735WIDTH="80%"
736ALIGN="LEFT"
737VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000738> the indentation level.</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000739></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000740></TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000741></TABLE
742><P
743></P
744></DIV
745></DIV
746><HR><DIV
747CLASS="REFSECT2"
748><A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000749NAME="AEN25298"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000750></A
751><H3
752><A
753NAME="XMLDEBUGDUMPATTRLIST"
754></A
755>xmlDebugDumpAttrList ()</H3
756><TABLE
757BORDER="0"
758BGCOLOR="#D6E8FF"
759WIDTH="100%"
760CELLPADDING="6"
761><TR
762><TD
763><PRE
764CLASS="PROGRAMLISTING"
765>void xmlDebugDumpAttrList (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000766HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000767>FILE</GTKDOCLINK
768> *output,
769 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000770HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000771>xmlAttrPtr</A
772> attr,
773 int depth);</PRE
774></TD
775></TR
776></TABLE
777><P
Daniel Veillardf012a642001-07-23 19:10:52 +0000778>Dumps debug information for the attribute list</P
779><P
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000780></P
781><DIV
782CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000783><A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000784NAME="AEN25306"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000785></A
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000786><P
787></P
788><TABLE
789BORDER="0"
790WIDTH="100%"
791BGCOLOR="#FFD0D0"
792CELLSPACING="0"
793CELLPADDING="4"
794CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000795><TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000796><TR
797><TD
798WIDTH="20%"
799ALIGN="RIGHT"
800VALIGN="TOP"
801><TT
802CLASS="PARAMETER"
803><I
804>output</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 FILE * for the output</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000812></TR
813><TR
814><TD
815WIDTH="20%"
816ALIGN="RIGHT"
817VALIGN="TOP"
818><TT
819CLASS="PARAMETER"
820><I
821>attr</I
822></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000823>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000824><TD
825WIDTH="80%"
826ALIGN="LEFT"
827VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000828> the attribute list</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000829></TR
830><TR
831><TD
832WIDTH="20%"
833ALIGN="RIGHT"
834VALIGN="TOP"
835><TT
836CLASS="PARAMETER"
837><I
838>depth</I
839></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000840>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000841><TD
842WIDTH="80%"
843ALIGN="LEFT"
844VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000845> the indentation level.</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000846></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000847></TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000848></TABLE
849><P
850></P
851></DIV
852></DIV
853><HR><DIV
854CLASS="REFSECT2"
855><A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000856NAME="AEN25323"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000857></A
858><H3
859><A
860NAME="XMLDEBUGDUMPONENODE"
861></A
862>xmlDebugDumpOneNode ()</H3
863><TABLE
864BORDER="0"
865BGCOLOR="#D6E8FF"
866WIDTH="100%"
867CELLPADDING="6"
868><TR
869><TD
870><PRE
871CLASS="PROGRAMLISTING"
872>void xmlDebugDumpOneNode (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000873HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000874>FILE</GTKDOCLINK
875> *output,
876 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000877HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000878>xmlNodePtr</A
879> node,
880 int depth);</PRE
881></TD
882></TR
883></TABLE
884><P
Daniel Veillardf012a642001-07-23 19:10:52 +0000885>Dumps debug information for the element node, it is not recursive</P
886><P
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000887></P
888><DIV
889CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000890><A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000891NAME="AEN25331"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000892></A
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000893><P
894></P
895><TABLE
896BORDER="0"
897WIDTH="100%"
898BGCOLOR="#FFD0D0"
899CELLSPACING="0"
900CELLPADDING="4"
901CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000902><TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000903><TR
904><TD
905WIDTH="20%"
906ALIGN="RIGHT"
907VALIGN="TOP"
908><TT
909CLASS="PARAMETER"
910><I
911>output</I
912></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000913>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000914><TD
915WIDTH="80%"
916ALIGN="LEFT"
917VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000918> the FILE * for the output</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000919></TR
920><TR
921><TD
922WIDTH="20%"
923ALIGN="RIGHT"
924VALIGN="TOP"
925><TT
926CLASS="PARAMETER"
927><I
928>node</I
929></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000930>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000931><TD
932WIDTH="80%"
933ALIGN="LEFT"
934VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000935> the node</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000936></TR
937><TR
938><TD
939WIDTH="20%"
940ALIGN="RIGHT"
941VALIGN="TOP"
942><TT
943CLASS="PARAMETER"
944><I
945>depth</I
946></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000947>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000948><TD
949WIDTH="80%"
950ALIGN="LEFT"
951VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000952> the indentation level.</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000953></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000954></TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000955></TABLE
956><P
957></P
958></DIV
959></DIV
960><HR><DIV
961CLASS="REFSECT2"
962><A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000963NAME="AEN25348"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000964></A
965><H3
966><A
967NAME="XMLDEBUGDUMPNODE"
968></A
969>xmlDebugDumpNode ()</H3
970><TABLE
971BORDER="0"
972BGCOLOR="#D6E8FF"
973WIDTH="100%"
974CELLPADDING="6"
975><TR
976><TD
977><PRE
978CLASS="PROGRAMLISTING"
979>void xmlDebugDumpNode (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000980HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000981>FILE</GTKDOCLINK
982> *output,
983 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000984HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000985>xmlNodePtr</A
986> node,
987 int depth);</PRE
988></TD
989></TR
990></TABLE
991><P
Daniel Veillardf012a642001-07-23 19:10:52 +0000992>Dumps debug information for the element node, it is recursive</P
993><P
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000994></P
995><DIV
996CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000997><A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000998NAME="AEN25356"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000999></A
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001000><P
1001></P
1002><TABLE
1003BORDER="0"
1004WIDTH="100%"
1005BGCOLOR="#FFD0D0"
1006CELLSPACING="0"
1007CELLPADDING="4"
1008CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001009><TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001010><TR
1011><TD
1012WIDTH="20%"
1013ALIGN="RIGHT"
1014VALIGN="TOP"
1015><TT
1016CLASS="PARAMETER"
1017><I
1018>output</I
1019></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001020>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001021><TD
1022WIDTH="80%"
1023ALIGN="LEFT"
1024VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001025> the FILE * for the output</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001026></TR
1027><TR
1028><TD
1029WIDTH="20%"
1030ALIGN="RIGHT"
1031VALIGN="TOP"
1032><TT
1033CLASS="PARAMETER"
1034><I
1035>node</I
1036></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001037>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001038><TD
1039WIDTH="80%"
1040ALIGN="LEFT"
1041VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001042> the node</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001043></TR
1044><TR
1045><TD
1046WIDTH="20%"
1047ALIGN="RIGHT"
1048VALIGN="TOP"
1049><TT
1050CLASS="PARAMETER"
1051><I
1052>depth</I
1053></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001054>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001055><TD
1056WIDTH="80%"
1057ALIGN="LEFT"
1058VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001059> the indentation level.</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001060></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001061></TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001062></TABLE
1063><P
1064></P
1065></DIV
1066></DIV
1067><HR><DIV
1068CLASS="REFSECT2"
1069><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001070NAME="AEN25373"
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001071></A
1072><H3
1073><A
1074NAME="XMLDEBUGDUMPNODELIST"
1075></A
1076>xmlDebugDumpNodeList ()</H3
1077><TABLE
1078BORDER="0"
1079BGCOLOR="#D6E8FF"
1080WIDTH="100%"
1081CELLPADDING="6"
1082><TR
1083><TD
1084><PRE
1085CLASS="PROGRAMLISTING"
1086>void xmlDebugDumpNodeList (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00001087HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001088>FILE</GTKDOCLINK
1089> *output,
1090 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001091HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001092>xmlNodePtr</A
1093> node,
1094 int depth);</PRE
1095></TD
1096></TR
1097></TABLE
1098><P
Daniel Veillardf012a642001-07-23 19:10:52 +00001099>Dumps debug information for the list of element node, it is recursive</P
1100><P
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001101></P
1102><DIV
1103CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001104><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001105NAME="AEN25381"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001106></A
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001107><P
1108></P
1109><TABLE
1110BORDER="0"
1111WIDTH="100%"
1112BGCOLOR="#FFD0D0"
1113CELLSPACING="0"
1114CELLPADDING="4"
1115CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001116><TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001117><TR
1118><TD
1119WIDTH="20%"
1120ALIGN="RIGHT"
1121VALIGN="TOP"
1122><TT
1123CLASS="PARAMETER"
1124><I
1125>output</I
1126></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001127>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001128><TD
1129WIDTH="80%"
1130ALIGN="LEFT"
1131VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001132> the FILE * for the output</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001133></TR
1134><TR
1135><TD
1136WIDTH="20%"
1137ALIGN="RIGHT"
1138VALIGN="TOP"
1139><TT
1140CLASS="PARAMETER"
1141><I
1142>node</I
1143></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001144>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001145><TD
1146WIDTH="80%"
1147ALIGN="LEFT"
1148VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001149> the node list</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001150></TR
1151><TR
1152><TD
1153WIDTH="20%"
1154ALIGN="RIGHT"
1155VALIGN="TOP"
1156><TT
1157CLASS="PARAMETER"
1158><I
1159>depth</I
1160></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001161>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001162><TD
1163WIDTH="80%"
1164ALIGN="LEFT"
1165VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001166> the indentation level.</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001167></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001168></TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001169></TABLE
1170><P
1171></P
1172></DIV
1173></DIV
1174><HR><DIV
1175CLASS="REFSECT2"
1176><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001177NAME="AEN25398"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001178></A
1179><H3
1180><A
1181NAME="XMLDEBUGDUMPDOCUMENTHEAD"
1182></A
1183>xmlDebugDumpDocumentHead ()</H3
1184><TABLE
1185BORDER="0"
1186BGCOLOR="#D6E8FF"
1187WIDTH="100%"
1188CELLPADDING="6"
1189><TR
1190><TD
1191><PRE
1192CLASS="PROGRAMLISTING"
1193>void xmlDebugDumpDocumentHead (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00001194HREF="FILE-CAPS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001195>FILE</GTKDOCLINK
1196> *output,
1197 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001198HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001199>xmlDocPtr</A
1200> doc);</PRE
1201></TD
1202></TR
1203></TABLE
1204><P
Daniel Veillardf012a642001-07-23 19:10:52 +00001205>Dumps debug information cncerning the document, not recursive</P
1206><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001207></P
1208><DIV
1209CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001210><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001211NAME="AEN25406"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001212></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001213><P
1214></P
1215><TABLE
1216BORDER="0"
1217WIDTH="100%"
1218BGCOLOR="#FFD0D0"
1219CELLSPACING="0"
1220CELLPADDING="4"
1221CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001222><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001223><TR
1224><TD
1225WIDTH="20%"
1226ALIGN="RIGHT"
1227VALIGN="TOP"
1228><TT
1229CLASS="PARAMETER"
1230><I
1231>output</I
1232></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001233>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001234><TD
1235WIDTH="80%"
1236ALIGN="LEFT"
1237VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001238> the FILE * for the output</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001239></TR
1240><TR
1241><TD
1242WIDTH="20%"
1243ALIGN="RIGHT"
1244VALIGN="TOP"
1245><TT
1246CLASS="PARAMETER"
1247><I
1248>doc</I
1249></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001250>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001251><TD
1252WIDTH="80%"
1253ALIGN="LEFT"
1254VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001255> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001256></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001257></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001258></TABLE
1259><P
1260></P
1261></DIV
1262></DIV
1263><HR><DIV
1264CLASS="REFSECT2"
1265><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001266NAME="AEN25419"
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001267></A
1268><H3
1269><A
1270NAME="XMLDEBUGDUMPDOCUMENT"
1271></A
1272>xmlDebugDumpDocument ()</H3
1273><TABLE
1274BORDER="0"
1275BGCOLOR="#D6E8FF"
1276WIDTH="100%"
1277CELLPADDING="6"
1278><TR
1279><TD
1280><PRE
1281CLASS="PROGRAMLISTING"
1282>void xmlDebugDumpDocument (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00001283HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001284>FILE</GTKDOCLINK
1285> *output,
1286 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001287HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001288>xmlDocPtr</A
1289> doc);</PRE
1290></TD
1291></TR
1292></TABLE
1293><P
Daniel Veillardf012a642001-07-23 19:10:52 +00001294>Dumps debug information for the document, it's recursive</P
1295><P
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001296></P
1297><DIV
1298CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001299><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001300NAME="AEN25427"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001301></A
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001302><P
1303></P
1304><TABLE
1305BORDER="0"
1306WIDTH="100%"
1307BGCOLOR="#FFD0D0"
1308CELLSPACING="0"
1309CELLPADDING="4"
1310CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001311><TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001312><TR
1313><TD
1314WIDTH="20%"
1315ALIGN="RIGHT"
1316VALIGN="TOP"
1317><TT
1318CLASS="PARAMETER"
1319><I
1320>output</I
1321></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001322>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001323><TD
1324WIDTH="80%"
1325ALIGN="LEFT"
1326VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001327> the FILE * for the output</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001328></TR
1329><TR
1330><TD
1331WIDTH="20%"
1332ALIGN="RIGHT"
1333VALIGN="TOP"
1334><TT
1335CLASS="PARAMETER"
1336><I
1337>doc</I
1338></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001339>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001340><TD
1341WIDTH="80%"
1342ALIGN="LEFT"
1343VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001344> the document</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001345></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001346></TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001347></TABLE
1348><P
1349></P
1350></DIV
1351></DIV
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001352><HR><DIV
1353CLASS="REFSECT2"
1354><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001355NAME="AEN25440"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001356></A
1357><H3
1358><A
1359NAME="XMLDEBUGDUMPDTD"
1360></A
1361>xmlDebugDumpDTD ()</H3
1362><TABLE
1363BORDER="0"
1364BGCOLOR="#D6E8FF"
1365WIDTH="100%"
1366CELLPADDING="6"
1367><TR
1368><TD
1369><PRE
1370CLASS="PROGRAMLISTING"
1371>void xmlDebugDumpDTD (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00001372HREF="FILE-CAPS"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001373>FILE</GTKDOCLINK
1374> *output,
1375 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001376HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001377>xmlDtdPtr</A
Daniel Veillardf012a642001-07-23 19:10:52 +00001378> dtd);</PRE
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001379></TD
1380></TR
1381></TABLE
1382><P
Daniel Veillardf012a642001-07-23 19:10:52 +00001383>Dumps debug information for the DTD</P
1384><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001385></P
1386><DIV
1387CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001388><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001389NAME="AEN25448"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001390></A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001391><P
1392></P
1393><TABLE
1394BORDER="0"
1395WIDTH="100%"
1396BGCOLOR="#FFD0D0"
1397CELLSPACING="0"
1398CELLPADDING="4"
1399CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001400><TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001401><TR
1402><TD
1403WIDTH="20%"
1404ALIGN="RIGHT"
1405VALIGN="TOP"
1406><TT
1407CLASS="PARAMETER"
1408><I
1409>output</I
1410></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001411>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001412><TD
1413WIDTH="80%"
1414ALIGN="LEFT"
1415VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001416> the FILE * for the output</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001417></TR
1418><TR
1419><TD
1420WIDTH="20%"
1421ALIGN="RIGHT"
1422VALIGN="TOP"
1423><TT
1424CLASS="PARAMETER"
1425><I
Daniel Veillardf012a642001-07-23 19:10:52 +00001426>dtd</I
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001427></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001428>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001429><TD
1430WIDTH="80%"
1431ALIGN="LEFT"
1432VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001433> the DTD</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001434></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001435></TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001436></TABLE
1437><P
1438></P
1439></DIV
1440></DIV
1441><HR><DIV
1442CLASS="REFSECT2"
1443><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001444NAME="AEN25461"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001445></A
1446><H3
1447><A
1448NAME="XMLDEBUGDUMPENTITIES"
1449></A
1450>xmlDebugDumpEntities ()</H3
1451><TABLE
1452BORDER="0"
1453BGCOLOR="#D6E8FF"
1454WIDTH="100%"
1455CELLPADDING="6"
1456><TR
1457><TD
1458><PRE
1459CLASS="PROGRAMLISTING"
1460>void xmlDebugDumpEntities (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00001461HREF="FILE-CAPS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001462>FILE</GTKDOCLINK
1463> *output,
1464 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001465HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001466>xmlDocPtr</A
1467> doc);</PRE
1468></TD
1469></TR
1470></TABLE
1471><P
Daniel Veillardf012a642001-07-23 19:10:52 +00001472>Dumps debug information for all the entities in use by the document</P
1473><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001474></P
1475><DIV
1476CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001477><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001478NAME="AEN25469"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001479></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001480><P
1481></P
1482><TABLE
1483BORDER="0"
1484WIDTH="100%"
1485BGCOLOR="#FFD0D0"
1486CELLSPACING="0"
1487CELLPADDING="4"
1488CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001489><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001490><TR
1491><TD
1492WIDTH="20%"
1493ALIGN="RIGHT"
1494VALIGN="TOP"
1495><TT
1496CLASS="PARAMETER"
1497><I
1498>output</I
1499></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001500>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001501><TD
1502WIDTH="80%"
1503ALIGN="LEFT"
1504VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001505> the FILE * for the output</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001506></TR
1507><TR
1508><TD
1509WIDTH="20%"
1510ALIGN="RIGHT"
1511VALIGN="TOP"
1512><TT
1513CLASS="PARAMETER"
1514><I
1515>doc</I
1516></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001517>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001518><TD
1519WIDTH="80%"
1520ALIGN="LEFT"
1521VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001522> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001523></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001524></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001525></TABLE
1526><P
1527></P
1528></DIV
1529></DIV
1530><HR><DIV
1531CLASS="REFSECT2"
1532><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001533NAME="AEN25482"
Daniel Veillard52dcab32001-10-30 12:51:17 +00001534></A
1535><H3
1536><A
1537NAME="XMLLSONENODE"
1538></A
1539>xmlLsOneNode ()</H3
1540><TABLE
1541BORDER="0"
1542BGCOLOR="#D6E8FF"
1543WIDTH="100%"
1544CELLPADDING="6"
1545><TR
1546><TD
1547><PRE
1548CLASS="PROGRAMLISTING"
1549>void xmlLsOneNode (<GTKDOCLINK
1550HREF="FILE-CAPS"
1551>FILE</GTKDOCLINK
1552> *output,
1553 <A
1554HREF="libxml-tree.html#XMLNODEPTR"
1555>xmlNodePtr</A
1556> node);</PRE
1557></TD
1558></TR
1559></TABLE
1560><P
1561></P
1562><DIV
1563CLASS="INFORMALTABLE"
1564><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001565NAME="AEN25489"
Daniel Veillard52dcab32001-10-30 12:51:17 +00001566></A
1567><P
1568></P
1569><TABLE
1570BORDER="0"
1571WIDTH="100%"
1572BGCOLOR="#FFD0D0"
1573CELLSPACING="0"
1574CELLPADDING="4"
1575CLASS="CALSTABLE"
1576><TBODY
1577><TR
1578><TD
1579WIDTH="20%"
1580ALIGN="RIGHT"
1581VALIGN="TOP"
1582><TT
1583CLASS="PARAMETER"
1584><I
1585>output</I
1586></TT
1587>&nbsp;:</TD
1588><TD
1589WIDTH="80%"
1590ALIGN="LEFT"
1591VALIGN="TOP"
1592>&nbsp;</TD
1593></TR
1594><TR
1595><TD
1596WIDTH="20%"
1597ALIGN="RIGHT"
1598VALIGN="TOP"
1599><TT
1600CLASS="PARAMETER"
1601><I
1602>node</I
1603></TT
1604>&nbsp;:</TD
1605><TD
1606WIDTH="80%"
1607ALIGN="LEFT"
1608VALIGN="TOP"
1609>&nbsp;</TD
1610></TR
1611></TBODY
1612></TABLE
1613><P
1614></P
1615></DIV
1616></DIV
1617><HR><DIV
1618CLASS="REFSECT2"
1619><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001620NAME="AEN25502"
Daniel Veillard52dcab32001-10-30 12:51:17 +00001621></A
1622><H3
1623><A
1624NAME="XMLLSCOUNTNODE"
1625></A
1626>xmlLsCountNode ()</H3
1627><TABLE
1628BORDER="0"
1629BGCOLOR="#D6E8FF"
1630WIDTH="100%"
1631CELLPADDING="6"
1632><TR
1633><TD
1634><PRE
1635CLASS="PROGRAMLISTING"
1636>int xmlLsCountNode (<A
1637HREF="libxml-tree.html#XMLNODEPTR"
1638>xmlNodePtr</A
1639> node);</PRE
1640></TD
1641></TR
1642></TABLE
1643><P
1644></P
1645><DIV
1646CLASS="INFORMALTABLE"
1647><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001648NAME="AEN25508"
Daniel Veillard52dcab32001-10-30 12:51:17 +00001649></A
1650><P
1651></P
1652><TABLE
1653BORDER="0"
1654WIDTH="100%"
1655BGCOLOR="#FFD0D0"
1656CELLSPACING="0"
1657CELLPADDING="4"
1658CLASS="CALSTABLE"
1659><TBODY
1660><TR
1661><TD
1662WIDTH="20%"
1663ALIGN="RIGHT"
1664VALIGN="TOP"
1665><TT
1666CLASS="PARAMETER"
1667><I
1668>node</I
1669></TT
1670>&nbsp;:</TD
1671><TD
1672WIDTH="80%"
1673ALIGN="LEFT"
1674VALIGN="TOP"
1675>&nbsp;</TD
1676></TR
1677><TR
1678><TD
1679WIDTH="20%"
1680ALIGN="RIGHT"
1681VALIGN="TOP"
1682><I
1683CLASS="EMPHASIS"
1684>Returns</I
1685> :</TD
1686><TD
1687WIDTH="80%"
1688ALIGN="LEFT"
1689VALIGN="TOP"
1690>&nbsp;</TD
1691></TR
1692></TBODY
1693></TABLE
1694><P
1695></P
1696></DIV
1697></DIV
1698><HR><DIV
1699CLASS="REFSECT2"
1700><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001701NAME="AEN25521"
Daniel Veillard52dcab32001-10-30 12:51:17 +00001702></A
1703><H3
1704><A
1705NAME="XMLBOOLTOTEXT"
1706></A
1707>xmlBoolToText ()</H3
1708><TABLE
1709BORDER="0"
1710BGCOLOR="#D6E8FF"
1711WIDTH="100%"
1712CELLPADDING="6"
1713><TR
1714><TD
1715><PRE
1716CLASS="PROGRAMLISTING"
Daniel Veillard43d3f612001-11-10 11:57:23 +00001717>const char* xmlBoolToText (int boolval);</PRE
Daniel Veillard52dcab32001-10-30 12:51:17 +00001718></TD
1719></TR
1720></TABLE
1721><P
1722>Convenient way to turn bool into text</P
1723><P
1724></P
1725><DIV
1726CLASS="INFORMALTABLE"
1727><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001728NAME="AEN25527"
Daniel Veillard52dcab32001-10-30 12:51:17 +00001729></A
1730><P
1731></P
1732><TABLE
1733BORDER="0"
1734WIDTH="100%"
1735BGCOLOR="#FFD0D0"
1736CELLSPACING="0"
1737CELLPADDING="4"
1738CLASS="CALSTABLE"
1739><TBODY
1740><TR
1741><TD
1742WIDTH="20%"
1743ALIGN="RIGHT"
1744VALIGN="TOP"
1745><TT
1746CLASS="PARAMETER"
1747><I
Daniel Veillard43d3f612001-11-10 11:57:23 +00001748>boolval</I
Daniel Veillard52dcab32001-10-30 12:51:17 +00001749></TT
1750>&nbsp;:</TD
1751><TD
1752WIDTH="80%"
1753ALIGN="LEFT"
1754VALIGN="TOP"
1755> a bool to turn into text</TD
1756></TR
1757><TR
1758><TD
1759WIDTH="20%"
1760ALIGN="RIGHT"
1761VALIGN="TOP"
1762><I
1763CLASS="EMPHASIS"
1764>Returns</I
1765> :</TD
1766><TD
1767WIDTH="80%"
1768ALIGN="LEFT"
1769VALIGN="TOP"
1770>&nbsp;</TD
1771></TR
1772></TBODY
1773></TABLE
1774><P
1775></P
1776></DIV
1777></DIV
1778><HR><DIV
1779CLASS="REFSECT2"
1780><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001781NAME="AEN25540"
Daniel Veillard52dcab32001-10-30 12:51:17 +00001782></A
1783><H3
1784><A
1785NAME="XMLGETLINENO"
1786></A
1787>xmlGetLineNo ()</H3
1788><TABLE
1789BORDER="0"
1790BGCOLOR="#D6E8FF"
1791WIDTH="100%"
1792CELLPADDING="6"
1793><TR
1794><TD
1795><PRE
1796CLASS="PROGRAMLISTING"
1797><GTKDOCLINK
1798HREF="LONG"
1799>long</GTKDOCLINK
1800> xmlGetLineNo (<A
1801HREF="libxml-tree.html#XMLNODEPTR"
1802>xmlNodePtr</A
1803> node);</PRE
1804></TD
1805></TR
1806></TABLE
1807><P
1808>Get line number of node</P
1809><P
1810></P
1811><DIV
1812CLASS="INFORMALTABLE"
1813><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001814NAME="AEN25548"
Daniel Veillard52dcab32001-10-30 12:51:17 +00001815></A
1816><P
1817></P
1818><TABLE
1819BORDER="0"
1820WIDTH="100%"
1821BGCOLOR="#FFD0D0"
1822CELLSPACING="0"
1823CELLPADDING="4"
1824CLASS="CALSTABLE"
1825><TBODY
1826><TR
1827><TD
1828WIDTH="20%"
1829ALIGN="RIGHT"
1830VALIGN="TOP"
1831><TT
1832CLASS="PARAMETER"
1833><I
1834>node</I
1835></TT
1836>&nbsp;:</TD
1837><TD
1838WIDTH="80%"
1839ALIGN="LEFT"
1840VALIGN="TOP"
1841> valid node</TD
1842></TR
1843><TR
1844><TD
1845WIDTH="20%"
1846ALIGN="RIGHT"
1847VALIGN="TOP"
1848><I
1849CLASS="EMPHASIS"
1850>Returns</I
1851> :</TD
1852><TD
1853WIDTH="80%"
1854ALIGN="LEFT"
1855VALIGN="TOP"
1856>the line number if sucessfull, -1 otherwise</TD
1857></TR
1858></TBODY
1859></TABLE
1860><P
1861></P
1862></DIV
1863></DIV
1864><HR><DIV
1865CLASS="REFSECT2"
1866><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001867NAME="AEN25561"
1868></A
1869><H3
1870><A
1871NAME="XMLGETNODEPATH"
1872></A
1873>xmlGetNodePath ()</H3
1874><TABLE
1875BORDER="0"
1876BGCOLOR="#D6E8FF"
1877WIDTH="100%"
1878CELLPADDING="6"
1879><TR
1880><TD
1881><PRE
1882CLASS="PROGRAMLISTING"
1883><A
1884HREF="libxml-tree.html#XMLCHAR"
1885>xmlChar</A
1886>* xmlGetNodePath (<A
1887HREF="libxml-tree.html#XMLNODEPTR"
1888>xmlNodePtr</A
1889> node);</PRE
1890></TD
1891></TR
1892></TABLE
1893><P
1894>Build a structure based Path for the given node</P
1895><P
1896></P
1897><DIV
1898CLASS="INFORMALTABLE"
1899><A
1900NAME="AEN25569"
1901></A
1902><P
1903></P
1904><TABLE
1905BORDER="0"
1906WIDTH="100%"
1907BGCOLOR="#FFD0D0"
1908CELLSPACING="0"
1909CELLPADDING="4"
1910CLASS="CALSTABLE"
1911><TBODY
1912><TR
1913><TD
1914WIDTH="20%"
1915ALIGN="RIGHT"
1916VALIGN="TOP"
1917><TT
1918CLASS="PARAMETER"
1919><I
1920>node</I
1921></TT
1922>&nbsp;:</TD
1923><TD
1924WIDTH="80%"
1925ALIGN="LEFT"
1926VALIGN="TOP"
1927> a node</TD
1928></TR
1929><TR
1930><TD
1931WIDTH="20%"
1932ALIGN="RIGHT"
1933VALIGN="TOP"
1934><I
1935CLASS="EMPHASIS"
1936>Returns</I
1937> :</TD
1938><TD
1939WIDTH="80%"
1940ALIGN="LEFT"
1941VALIGN="TOP"
1942>the new path or NULL in case of error. The caller must free
1943the returned string</TD
1944></TR
1945></TBODY
1946></TABLE
1947><P
1948></P
1949></DIV
1950></DIV
1951><HR><DIV
1952CLASS="REFSECT2"
1953><A
1954NAME="AEN25582"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001955></A
1956><H3
1957><A
1958NAME="XMLSHELLREADLINEFUNC"
1959></A
1960>xmlShellReadlineFunc ()</H3
1961><TABLE
1962BORDER="0"
1963BGCOLOR="#D6E8FF"
1964WIDTH="100%"
1965CELLPADDING="6"
1966><TR
1967><TD
1968><PRE
1969CLASS="PROGRAMLISTING"
1970>char* (*xmlShellReadlineFunc) (char *prompt);</PRE
1971></TD
1972></TR
1973></TABLE
1974><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001975>This is a generic signature for the XML shell input function</P
1976><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001977></P
1978><DIV
1979CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001980><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001981NAME="AEN25588"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001982></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001983><P
1984></P
1985><TABLE
1986BORDER="0"
1987WIDTH="100%"
1988BGCOLOR="#FFD0D0"
1989CELLSPACING="0"
1990CELLPADDING="4"
1991CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001992><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001993><TR
1994><TD
1995WIDTH="20%"
1996ALIGN="RIGHT"
1997VALIGN="TOP"
1998><TT
1999CLASS="PARAMETER"
2000><I
2001>prompt</I
2002></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002003>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002004><TD
2005WIDTH="80%"
2006ALIGN="LEFT"
2007VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002008> a string prompt</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002009></TR
2010><TR
2011><TD
2012WIDTH="20%"
2013ALIGN="RIGHT"
2014VALIGN="TOP"
2015><I
2016CLASS="EMPHASIS"
2017>Returns</I
2018> :</TD
2019><TD
2020WIDTH="80%"
2021ALIGN="LEFT"
2022VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002023>a string which will be freed by the Shell</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002024></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002025></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002026></TABLE
2027><P
2028></P
2029></DIV
2030></DIV
2031><HR><DIV
2032CLASS="REFSECT2"
2033><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00002034NAME="AEN25601"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002035></A
2036><H3
2037><A
2038NAME="XMLSHELLCTXT"
2039></A
2040>struct xmlShellCtxt</H3
2041><TABLE
2042BORDER="0"
2043BGCOLOR="#D6E8FF"
2044WIDTH="100%"
2045CELLPADDING="6"
2046><TR
2047><TD
2048><PRE
2049CLASS="PROGRAMLISTING"
2050>struct xmlShellCtxt {
2051 char *filename;
2052 xmlDocPtr doc;
2053 xmlNodePtr node;
2054 xmlXPathContextPtr pctxt;
2055 int loaded;
2056 FILE *output;
2057 xmlShellReadlineFunc input;
2058};</PRE
2059></TD
2060></TR
2061></TABLE
2062><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002063>A debugging shell context
2064TODO: add the defined function tables.</P
2065><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002066></P
2067></DIV
2068><HR><DIV
2069CLASS="REFSECT2"
2070><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00002071NAME="AEN25607"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002072></A
2073><H3
2074><A
2075NAME="XMLSHELLCTXTPTR"
2076></A
2077>xmlShellCtxtPtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002078><TABLE
2079BORDER="0"
2080BGCOLOR="#D6E8FF"
2081WIDTH="100%"
2082CELLPADDING="6"
2083><TR
2084><TD
2085><PRE
2086CLASS="PROGRAMLISTING"
2087>typedef xmlShellCtxt *xmlShellCtxtPtr;</PRE
2088></TD
2089></TR
2090></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002091><P
2092></P
2093></DIV
2094><HR><DIV
2095CLASS="REFSECT2"
2096><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00002097NAME="AEN25612"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002098></A
2099><H3
2100><A
2101NAME="XMLSHELLCMD"
2102></A
2103>xmlShellCmd ()</H3
2104><TABLE
2105BORDER="0"
2106BGCOLOR="#D6E8FF"
2107WIDTH="100%"
2108CELLPADDING="6"
2109><TR
2110><TD
2111><PRE
2112CLASS="PROGRAMLISTING"
2113>int (*xmlShellCmd) (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002114HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002115>xmlShellCtxtPtr</A
2116> ctxt,
2117 char *arg,
2118 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002119HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002120>xmlNodePtr</A
2121> node,
2122 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002123HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002124>xmlNodePtr</A
2125> node2);</PRE
2126></TD
2127></TR
2128></TABLE
2129><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002130>This is a generic signature for the XML shell functions</P
2131><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002132></P
2133><DIV
2134CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002135><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00002136NAME="AEN25621"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002137></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002138><P
2139></P
2140><TABLE
2141BORDER="0"
2142WIDTH="100%"
2143BGCOLOR="#FFD0D0"
2144CELLSPACING="0"
2145CELLPADDING="4"
2146CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002147><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002148><TR
2149><TD
2150WIDTH="20%"
2151ALIGN="RIGHT"
2152VALIGN="TOP"
2153><TT
2154CLASS="PARAMETER"
2155><I
2156>ctxt</I
2157></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002158>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002159><TD
2160WIDTH="80%"
2161ALIGN="LEFT"
2162VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002163> a shell context</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002164></TR
2165><TR
2166><TD
2167WIDTH="20%"
2168ALIGN="RIGHT"
2169VALIGN="TOP"
2170><TT
2171CLASS="PARAMETER"
2172><I
2173>arg</I
2174></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002175>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002176><TD
2177WIDTH="80%"
2178ALIGN="LEFT"
2179VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002180> a string argument</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002181></TR
2182><TR
2183><TD
2184WIDTH="20%"
2185ALIGN="RIGHT"
2186VALIGN="TOP"
2187><TT
2188CLASS="PARAMETER"
2189><I
2190>node</I
2191></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002192>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002193><TD
2194WIDTH="80%"
2195ALIGN="LEFT"
2196VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002197> a first node</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002198></TR
2199><TR
2200><TD
2201WIDTH="20%"
2202ALIGN="RIGHT"
2203VALIGN="TOP"
2204><TT
2205CLASS="PARAMETER"
2206><I
2207>node2</I
2208></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002209>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002210><TD
2211WIDTH="80%"
2212ALIGN="LEFT"
2213VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002214> a second node</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002215></TR
2216><TR
2217><TD
2218WIDTH="20%"
2219ALIGN="RIGHT"
2220VALIGN="TOP"
2221><I
2222CLASS="EMPHASIS"
2223>Returns</I
2224> :</TD
2225><TD
2226WIDTH="80%"
2227ALIGN="LEFT"
2228VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002229>an int, negative returns indicating errors</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002230></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002231></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002232></TABLE
2233><P
2234></P
2235></DIV
2236></DIV
2237><HR><DIV
2238CLASS="REFSECT2"
2239><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00002240NAME="AEN25646"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002241></A
2242><H3
2243><A
2244NAME="XMLSHELLPRINTXPATHERROR"
2245></A
2246>xmlShellPrintXPathError ()</H3
2247><TABLE
2248BORDER="0"
2249BGCOLOR="#D6E8FF"
2250WIDTH="100%"
2251CELLPADDING="6"
2252><TR
2253><TD
2254><PRE
2255CLASS="PROGRAMLISTING"
2256>void xmlShellPrintXPathError (int errorType,
2257 const char *arg);</PRE
2258></TD
2259></TR
2260></TABLE
2261><P
2262></P
2263><DIV
2264CLASS="INFORMALTABLE"
2265><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00002266NAME="AEN25651"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002267></A
2268><P
2269></P
2270><TABLE
2271BORDER="0"
2272WIDTH="100%"
2273BGCOLOR="#FFD0D0"
2274CELLSPACING="0"
2275CELLPADDING="4"
2276CLASS="CALSTABLE"
2277><TBODY
2278><TR
2279><TD
2280WIDTH="20%"
2281ALIGN="RIGHT"
2282VALIGN="TOP"
2283><TT
2284CLASS="PARAMETER"
2285><I
2286>errorType</I
2287></TT
2288>&nbsp;:</TD
2289><TD
2290WIDTH="80%"
2291ALIGN="LEFT"
2292VALIGN="TOP"
2293>&nbsp;</TD
2294></TR
2295><TR
2296><TD
2297WIDTH="20%"
2298ALIGN="RIGHT"
2299VALIGN="TOP"
2300><TT
2301CLASS="PARAMETER"
2302><I
2303>arg</I
2304></TT
2305>&nbsp;:</TD
2306><TD
2307WIDTH="80%"
2308ALIGN="LEFT"
2309VALIGN="TOP"
2310>&nbsp;</TD
2311></TR
2312></TBODY
2313></TABLE
2314><P
2315></P
2316></DIV
2317></DIV
2318><HR><DIV
2319CLASS="REFSECT2"
2320><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00002321NAME="AEN25664"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002322></A
2323><H3
2324><A
2325NAME="XMLSHELLPRINTNODE"
2326></A
2327>xmlShellPrintNode ()</H3
2328><TABLE
2329BORDER="0"
2330BGCOLOR="#D6E8FF"
2331WIDTH="100%"
2332CELLPADDING="6"
2333><TR
2334><TD
2335><PRE
2336CLASS="PROGRAMLISTING"
2337>void xmlShellPrintNode (<A
2338HREF="libxml-tree.html#XMLNODEPTR"
2339>xmlNodePtr</A
2340> node);</PRE
2341></TD
2342></TR
2343></TABLE
2344><P
2345>Print node to stdout</P
2346><P
2347></P
2348><DIV
2349CLASS="INFORMALTABLE"
2350><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00002351NAME="AEN25671"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002352></A
2353><P
2354></P
2355><TABLE
2356BORDER="0"
2357WIDTH="100%"
2358BGCOLOR="#FFD0D0"
2359CELLSPACING="0"
2360CELLPADDING="4"
2361CLASS="CALSTABLE"
2362><TBODY
2363><TR
2364><TD
2365WIDTH="20%"
2366ALIGN="RIGHT"
2367VALIGN="TOP"
2368><TT
2369CLASS="PARAMETER"
2370><I
2371>node</I
2372></TT
2373>&nbsp;:</TD
2374><TD
2375WIDTH="80%"
2376ALIGN="LEFT"
2377VALIGN="TOP"
2378> a non-null node to print to stdout</TD
2379></TR
2380></TBODY
2381></TABLE
2382><P
2383></P
2384></DIV
2385></DIV
2386><HR><DIV
2387CLASS="REFSECT2"
2388><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00002389NAME="AEN25680"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002390></A
2391><H3
2392><A
2393NAME="XMLSHELLPRINTXPATHRESULT"
2394></A
2395>xmlShellPrintXPathResult ()</H3
2396><TABLE
2397BORDER="0"
2398BGCOLOR="#D6E8FF"
2399WIDTH="100%"
2400CELLPADDING="6"
2401><TR
2402><TD
2403><PRE
2404CLASS="PROGRAMLISTING"
2405>void xmlShellPrintXPathResult (<A
2406HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
2407>xmlXPathObjectPtr</A
2408> list);</PRE
2409></TD
2410></TR
2411></TABLE
2412><P
2413>Prints result to stdout</P
2414><P
2415></P
2416><DIV
2417CLASS="INFORMALTABLE"
2418><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00002419NAME="AEN25687"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002420></A
2421><P
2422></P
2423><TABLE
2424BORDER="0"
2425WIDTH="100%"
2426BGCOLOR="#FFD0D0"
2427CELLSPACING="0"
2428CELLPADDING="4"
2429CLASS="CALSTABLE"
2430><TBODY
2431><TR
2432><TD
2433WIDTH="20%"
2434ALIGN="RIGHT"
2435VALIGN="TOP"
2436><TT
2437CLASS="PARAMETER"
2438><I
2439>list</I
2440></TT
2441>&nbsp;:</TD
2442><TD
2443WIDTH="80%"
2444ALIGN="LEFT"
2445VALIGN="TOP"
2446>&nbsp;</TD
2447></TR
2448></TBODY
2449></TABLE
2450><P
2451></P
2452></DIV
2453></DIV
2454><HR><DIV
2455CLASS="REFSECT2"
2456><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00002457NAME="AEN25696"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002458></A
2459><H3
2460><A
2461NAME="XMLSHELLLIST"
2462></A
2463>xmlShellList ()</H3
2464><TABLE
2465BORDER="0"
2466BGCOLOR="#D6E8FF"
2467WIDTH="100%"
2468CELLPADDING="6"
2469><TR
2470><TD
2471><PRE
2472CLASS="PROGRAMLISTING"
2473>int xmlShellList (<A
2474HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
2475>xmlShellCtxtPtr</A
2476> ctxt,
2477 char *arg,
2478 <A
2479HREF="libxml-tree.html#XMLNODEPTR"
2480>xmlNodePtr</A
2481> node,
2482 <A
2483HREF="libxml-tree.html#XMLNODEPTR"
2484>xmlNodePtr</A
2485> node2);</PRE
2486></TD
2487></TR
2488></TABLE
2489><P
2490>Implements the XML shell function "ls"
2491Does an Unix like listing of the given node (like a directory)</P
2492><P
2493></P
2494><DIV
2495CLASS="INFORMALTABLE"
2496><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00002497NAME="AEN25705"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002498></A
2499><P
2500></P
2501><TABLE
2502BORDER="0"
2503WIDTH="100%"
2504BGCOLOR="#FFD0D0"
2505CELLSPACING="0"
2506CELLPADDING="4"
2507CLASS="CALSTABLE"
2508><TBODY
2509><TR
2510><TD
2511WIDTH="20%"
2512ALIGN="RIGHT"
2513VALIGN="TOP"
2514><TT
2515CLASS="PARAMETER"
2516><I
2517>ctxt</I
2518></TT
2519>&nbsp;:</TD
2520><TD
2521WIDTH="80%"
2522ALIGN="LEFT"
2523VALIGN="TOP"
2524> the shell context</TD
2525></TR
2526><TR
2527><TD
2528WIDTH="20%"
2529ALIGN="RIGHT"
2530VALIGN="TOP"
2531><TT
2532CLASS="PARAMETER"
2533><I
2534>arg</I
2535></TT
2536>&nbsp;:</TD
2537><TD
2538WIDTH="80%"
2539ALIGN="LEFT"
2540VALIGN="TOP"
2541> unused</TD
2542></TR
2543><TR
2544><TD
2545WIDTH="20%"
2546ALIGN="RIGHT"
2547VALIGN="TOP"
2548><TT
2549CLASS="PARAMETER"
2550><I
2551>node</I
2552></TT
2553>&nbsp;:</TD
2554><TD
2555WIDTH="80%"
2556ALIGN="LEFT"
2557VALIGN="TOP"
2558> a node</TD
2559></TR
2560><TR
2561><TD
2562WIDTH="20%"
2563ALIGN="RIGHT"
2564VALIGN="TOP"
2565><TT
2566CLASS="PARAMETER"
2567><I
2568>node2</I
2569></TT
2570>&nbsp;:</TD
2571><TD
2572WIDTH="80%"
2573ALIGN="LEFT"
2574VALIGN="TOP"
2575> unused</TD
2576></TR
2577><TR
2578><TD
2579WIDTH="20%"
2580ALIGN="RIGHT"
2581VALIGN="TOP"
2582><I
2583CLASS="EMPHASIS"
2584>Returns</I
2585> :</TD
2586><TD
2587WIDTH="80%"
2588ALIGN="LEFT"
2589VALIGN="TOP"
2590>0</TD
2591></TR
2592></TBODY
2593></TABLE
2594><P
2595></P
2596></DIV
2597></DIV
2598><HR><DIV
2599CLASS="REFSECT2"
2600><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00002601NAME="AEN25730"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002602></A
2603><H3
2604><A
2605NAME="XMLSHELLBASE"
2606></A
2607>xmlShellBase ()</H3
2608><TABLE
2609BORDER="0"
2610BGCOLOR="#D6E8FF"
2611WIDTH="100%"
2612CELLPADDING="6"
2613><TR
2614><TD
2615><PRE
2616CLASS="PROGRAMLISTING"
2617>int xmlShellBase (<A
2618HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
2619>xmlShellCtxtPtr</A
2620> ctxt,
2621 char *arg,
2622 <A
2623HREF="libxml-tree.html#XMLNODEPTR"
2624>xmlNodePtr</A
2625> node,
2626 <A
2627HREF="libxml-tree.html#XMLNODEPTR"
2628>xmlNodePtr</A
2629> node2);</PRE
2630></TD
2631></TR
2632></TABLE
2633><P
2634>Implements the XML shell function "base"
2635dumps the current XML base of the node</P
2636><P
2637></P
2638><DIV
2639CLASS="INFORMALTABLE"
2640><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00002641NAME="AEN25739"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002642></A
2643><P
2644></P
2645><TABLE
2646BORDER="0"
2647WIDTH="100%"
2648BGCOLOR="#FFD0D0"
2649CELLSPACING="0"
2650CELLPADDING="4"
2651CLASS="CALSTABLE"
2652><TBODY
2653><TR
2654><TD
2655WIDTH="20%"
2656ALIGN="RIGHT"
2657VALIGN="TOP"
2658><TT
2659CLASS="PARAMETER"
2660><I
2661>ctxt</I
2662></TT
2663>&nbsp;:</TD
2664><TD
2665WIDTH="80%"
2666ALIGN="LEFT"
2667VALIGN="TOP"
2668> the shell context</TD
2669></TR
2670><TR
2671><TD
2672WIDTH="20%"
2673ALIGN="RIGHT"
2674VALIGN="TOP"
2675><TT
2676CLASS="PARAMETER"
2677><I
2678>arg</I
2679></TT
2680>&nbsp;:</TD
2681><TD
2682WIDTH="80%"
2683ALIGN="LEFT"
2684VALIGN="TOP"
2685> unused</TD
2686></TR
2687><TR
2688><TD
2689WIDTH="20%"
2690ALIGN="RIGHT"
2691VALIGN="TOP"
2692><TT
2693CLASS="PARAMETER"
2694><I
2695>node</I
2696></TT
2697>&nbsp;:</TD
2698><TD
2699WIDTH="80%"
2700ALIGN="LEFT"
2701VALIGN="TOP"
2702> a node</TD
2703></TR
2704><TR
2705><TD
2706WIDTH="20%"
2707ALIGN="RIGHT"
2708VALIGN="TOP"
2709><TT
2710CLASS="PARAMETER"
2711><I
2712>node2</I
2713></TT
2714>&nbsp;:</TD
2715><TD
2716WIDTH="80%"
2717ALIGN="LEFT"
2718VALIGN="TOP"
2719> unused</TD
2720></TR
2721><TR
2722><TD
2723WIDTH="20%"
2724ALIGN="RIGHT"
2725VALIGN="TOP"
2726><I
2727CLASS="EMPHASIS"
2728>Returns</I
2729> :</TD
2730><TD
2731WIDTH="80%"
2732ALIGN="LEFT"
2733VALIGN="TOP"
2734>0</TD
2735></TR
2736></TBODY
2737></TABLE
2738><P
2739></P
2740></DIV
2741></DIV
2742><HR><DIV
2743CLASS="REFSECT2"
2744><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00002745NAME="AEN25764"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002746></A
2747><H3
2748><A
2749NAME="XMLSHELLDIR"
2750></A
2751>xmlShellDir ()</H3
2752><TABLE
2753BORDER="0"
2754BGCOLOR="#D6E8FF"
2755WIDTH="100%"
2756CELLPADDING="6"
2757><TR
2758><TD
2759><PRE
2760CLASS="PROGRAMLISTING"
2761>int xmlShellDir (<A
2762HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
2763>xmlShellCtxtPtr</A
2764> ctxt,
2765 char *arg,
2766 <A
2767HREF="libxml-tree.html#XMLNODEPTR"
2768>xmlNodePtr</A
2769> node,
2770 <A
2771HREF="libxml-tree.html#XMLNODEPTR"
2772>xmlNodePtr</A
2773> node2);</PRE
2774></TD
2775></TR
2776></TABLE
2777><P
2778>Implements the XML shell function "dir"
2779dumps informations about the node (namespace, attributes, content).</P
2780><P
2781></P
2782><DIV
2783CLASS="INFORMALTABLE"
2784><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00002785NAME="AEN25773"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002786></A
2787><P
2788></P
2789><TABLE
2790BORDER="0"
2791WIDTH="100%"
2792BGCOLOR="#FFD0D0"
2793CELLSPACING="0"
2794CELLPADDING="4"
2795CLASS="CALSTABLE"
2796><TBODY
2797><TR
2798><TD
2799WIDTH="20%"
2800ALIGN="RIGHT"
2801VALIGN="TOP"
2802><TT
2803CLASS="PARAMETER"
2804><I
2805>ctxt</I
2806></TT
2807>&nbsp;:</TD
2808><TD
2809WIDTH="80%"
2810ALIGN="LEFT"
2811VALIGN="TOP"
2812> the shell context</TD
2813></TR
2814><TR
2815><TD
2816WIDTH="20%"
2817ALIGN="RIGHT"
2818VALIGN="TOP"
2819><TT
2820CLASS="PARAMETER"
2821><I
2822>arg</I
2823></TT
2824>&nbsp;:</TD
2825><TD
2826WIDTH="80%"
2827ALIGN="LEFT"
2828VALIGN="TOP"
2829> unused</TD
2830></TR
2831><TR
2832><TD
2833WIDTH="20%"
2834ALIGN="RIGHT"
2835VALIGN="TOP"
2836><TT
2837CLASS="PARAMETER"
2838><I
2839>node</I
2840></TT
2841>&nbsp;:</TD
2842><TD
2843WIDTH="80%"
2844ALIGN="LEFT"
2845VALIGN="TOP"
2846> a node</TD
2847></TR
2848><TR
2849><TD
2850WIDTH="20%"
2851ALIGN="RIGHT"
2852VALIGN="TOP"
2853><TT
2854CLASS="PARAMETER"
2855><I
2856>node2</I
2857></TT
2858>&nbsp;:</TD
2859><TD
2860WIDTH="80%"
2861ALIGN="LEFT"
2862VALIGN="TOP"
2863> unused</TD
2864></TR
2865><TR
2866><TD
2867WIDTH="20%"
2868ALIGN="RIGHT"
2869VALIGN="TOP"
2870><I
2871CLASS="EMPHASIS"
2872>Returns</I
2873> :</TD
2874><TD
2875WIDTH="80%"
2876ALIGN="LEFT"
2877VALIGN="TOP"
2878>0</TD
2879></TR
2880></TBODY
2881></TABLE
2882><P
2883></P
2884></DIV
2885></DIV
2886><HR><DIV
2887CLASS="REFSECT2"
2888><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00002889NAME="AEN25798"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002890></A
2891><H3
2892><A
2893NAME="XMLSHELLCAT"
2894></A
2895>xmlShellCat ()</H3
2896><TABLE
2897BORDER="0"
2898BGCOLOR="#D6E8FF"
2899WIDTH="100%"
2900CELLPADDING="6"
2901><TR
2902><TD
2903><PRE
2904CLASS="PROGRAMLISTING"
2905>int xmlShellCat (<A
2906HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
2907>xmlShellCtxtPtr</A
2908> ctxt,
2909 char *arg,
2910 <A
2911HREF="libxml-tree.html#XMLNODEPTR"
2912>xmlNodePtr</A
2913> node,
2914 <A
2915HREF="libxml-tree.html#XMLNODEPTR"
2916>xmlNodePtr</A
2917> node2);</PRE
2918></TD
2919></TR
2920></TABLE
2921><P
2922>Implements the XML shell function "cat"
2923dumps the serialization node content (XML or HTML).</P
2924><P
2925></P
2926><DIV
2927CLASS="INFORMALTABLE"
2928><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00002929NAME="AEN25807"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002930></A
2931><P
2932></P
2933><TABLE
2934BORDER="0"
2935WIDTH="100%"
2936BGCOLOR="#FFD0D0"
2937CELLSPACING="0"
2938CELLPADDING="4"
2939CLASS="CALSTABLE"
2940><TBODY
2941><TR
2942><TD
2943WIDTH="20%"
2944ALIGN="RIGHT"
2945VALIGN="TOP"
2946><TT
2947CLASS="PARAMETER"
2948><I
2949>ctxt</I
2950></TT
2951>&nbsp;:</TD
2952><TD
2953WIDTH="80%"
2954ALIGN="LEFT"
2955VALIGN="TOP"
2956> the shell context</TD
2957></TR
2958><TR
2959><TD
2960WIDTH="20%"
2961ALIGN="RIGHT"
2962VALIGN="TOP"
2963><TT
2964CLASS="PARAMETER"
2965><I
2966>arg</I
2967></TT
2968>&nbsp;:</TD
2969><TD
2970WIDTH="80%"
2971ALIGN="LEFT"
2972VALIGN="TOP"
2973> unused</TD
2974></TR
2975><TR
2976><TD
2977WIDTH="20%"
2978ALIGN="RIGHT"
2979VALIGN="TOP"
2980><TT
2981CLASS="PARAMETER"
2982><I
2983>node</I
2984></TT
2985>&nbsp;:</TD
2986><TD
2987WIDTH="80%"
2988ALIGN="LEFT"
2989VALIGN="TOP"
2990> a node</TD
2991></TR
2992><TR
2993><TD
2994WIDTH="20%"
2995ALIGN="RIGHT"
2996VALIGN="TOP"
2997><TT
2998CLASS="PARAMETER"
2999><I
3000>node2</I
3001></TT
3002>&nbsp;:</TD
3003><TD
3004WIDTH="80%"
3005ALIGN="LEFT"
3006VALIGN="TOP"
3007> unused</TD
3008></TR
3009><TR
3010><TD
3011WIDTH="20%"
3012ALIGN="RIGHT"
3013VALIGN="TOP"
3014><I
3015CLASS="EMPHASIS"
3016>Returns</I
3017> :</TD
3018><TD
3019WIDTH="80%"
3020ALIGN="LEFT"
3021VALIGN="TOP"
3022>0</TD
3023></TR
3024></TBODY
3025></TABLE
3026><P
3027></P
3028></DIV
3029></DIV
3030><HR><DIV
3031CLASS="REFSECT2"
3032><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00003033NAME="AEN25832"
Daniel Veillard52dcab32001-10-30 12:51:17 +00003034></A
3035><H3
3036><A
3037NAME="XMLSHELLLOAD"
3038></A
3039>xmlShellLoad ()</H3
3040><TABLE
3041BORDER="0"
3042BGCOLOR="#D6E8FF"
3043WIDTH="100%"
3044CELLPADDING="6"
3045><TR
3046><TD
3047><PRE
3048CLASS="PROGRAMLISTING"
3049>int xmlShellLoad (<A
3050HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
3051>xmlShellCtxtPtr</A
3052> ctxt,
3053 char *filename,
3054 <A
3055HREF="libxml-tree.html#XMLNODEPTR"
3056>xmlNodePtr</A
3057> node,
3058 <A
3059HREF="libxml-tree.html#XMLNODEPTR"
3060>xmlNodePtr</A
3061> node2);</PRE
3062></TD
3063></TR
3064></TABLE
3065><P
3066>Implements the XML shell function "load"
3067loads a new document specified by the filename</P
3068><P
3069></P
3070><DIV
3071CLASS="INFORMALTABLE"
3072><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00003073NAME="AEN25841"
Daniel Veillard52dcab32001-10-30 12:51:17 +00003074></A
3075><P
3076></P
3077><TABLE
3078BORDER="0"
3079WIDTH="100%"
3080BGCOLOR="#FFD0D0"
3081CELLSPACING="0"
3082CELLPADDING="4"
3083CLASS="CALSTABLE"
3084><TBODY
3085><TR
3086><TD
3087WIDTH="20%"
3088ALIGN="RIGHT"
3089VALIGN="TOP"
3090><TT
3091CLASS="PARAMETER"
3092><I
3093>ctxt</I
3094></TT
3095>&nbsp;:</TD
3096><TD
3097WIDTH="80%"
3098ALIGN="LEFT"
3099VALIGN="TOP"
3100> the shell context</TD
3101></TR
3102><TR
3103><TD
3104WIDTH="20%"
3105ALIGN="RIGHT"
3106VALIGN="TOP"
3107><TT
3108CLASS="PARAMETER"
3109><I
3110>filename</I
3111></TT
3112>&nbsp;:</TD
3113><TD
3114WIDTH="80%"
3115ALIGN="LEFT"
3116VALIGN="TOP"
3117> the file name</TD
3118></TR
3119><TR
3120><TD
3121WIDTH="20%"
3122ALIGN="RIGHT"
3123VALIGN="TOP"
3124><TT
3125CLASS="PARAMETER"
3126><I
3127>node</I
3128></TT
3129>&nbsp;:</TD
3130><TD
3131WIDTH="80%"
3132ALIGN="LEFT"
3133VALIGN="TOP"
3134> unused</TD
3135></TR
3136><TR
3137><TD
3138WIDTH="20%"
3139ALIGN="RIGHT"
3140VALIGN="TOP"
3141><TT
3142CLASS="PARAMETER"
3143><I
3144>node2</I
3145></TT
3146>&nbsp;:</TD
3147><TD
3148WIDTH="80%"
3149ALIGN="LEFT"
3150VALIGN="TOP"
3151> unused</TD
3152></TR
3153><TR
3154><TD
3155WIDTH="20%"
3156ALIGN="RIGHT"
3157VALIGN="TOP"
3158><I
3159CLASS="EMPHASIS"
3160>Returns</I
3161> :</TD
3162><TD
3163WIDTH="80%"
3164ALIGN="LEFT"
3165VALIGN="TOP"
3166>0 or -1 if loading failed</TD
3167></TR
3168></TBODY
3169></TABLE
3170><P
3171></P
3172></DIV
3173></DIV
3174><HR><DIV
3175CLASS="REFSECT2"
3176><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00003177NAME="AEN25866"
Daniel Veillard52dcab32001-10-30 12:51:17 +00003178></A
3179><H3
3180><A
3181NAME="XMLSHELLWRITE"
3182></A
3183>xmlShellWrite ()</H3
3184><TABLE
3185BORDER="0"
3186BGCOLOR="#D6E8FF"
3187WIDTH="100%"
3188CELLPADDING="6"
3189><TR
3190><TD
3191><PRE
3192CLASS="PROGRAMLISTING"
3193>int xmlShellWrite (<A
3194HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
3195>xmlShellCtxtPtr</A
3196> ctxt,
3197 char *filename,
3198 <A
3199HREF="libxml-tree.html#XMLNODEPTR"
3200>xmlNodePtr</A
3201> node,
3202 <A
3203HREF="libxml-tree.html#XMLNODEPTR"
3204>xmlNodePtr</A
3205> node2);</PRE
3206></TD
3207></TR
3208></TABLE
3209><P
3210>Implements the XML shell function "write"
3211Write the current node to the filename, it saves the serailization
3212of the subtree under the <TT
3213CLASS="PARAMETER"
3214><I
3215>node</I
3216></TT
3217> specified</P
3218><P
3219></P
3220><DIV
3221CLASS="INFORMALTABLE"
3222><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00003223NAME="AEN25876"
Daniel Veillard52dcab32001-10-30 12:51:17 +00003224></A
3225><P
3226></P
3227><TABLE
3228BORDER="0"
3229WIDTH="100%"
3230BGCOLOR="#FFD0D0"
3231CELLSPACING="0"
3232CELLPADDING="4"
3233CLASS="CALSTABLE"
3234><TBODY
3235><TR
3236><TD
3237WIDTH="20%"
3238ALIGN="RIGHT"
3239VALIGN="TOP"
3240><TT
3241CLASS="PARAMETER"
3242><I
3243>ctxt</I
3244></TT
3245>&nbsp;:</TD
3246><TD
3247WIDTH="80%"
3248ALIGN="LEFT"
3249VALIGN="TOP"
3250> the shell context</TD
3251></TR
3252><TR
3253><TD
3254WIDTH="20%"
3255ALIGN="RIGHT"
3256VALIGN="TOP"
3257><TT
3258CLASS="PARAMETER"
3259><I
3260>filename</I
3261></TT
3262>&nbsp;:</TD
3263><TD
3264WIDTH="80%"
3265ALIGN="LEFT"
3266VALIGN="TOP"
3267> the file name</TD
3268></TR
3269><TR
3270><TD
3271WIDTH="20%"
3272ALIGN="RIGHT"
3273VALIGN="TOP"
3274><TT
3275CLASS="PARAMETER"
3276><I
3277>node</I
3278></TT
3279>&nbsp;:</TD
3280><TD
3281WIDTH="80%"
3282ALIGN="LEFT"
3283VALIGN="TOP"
3284> a node in the tree</TD
3285></TR
3286><TR
3287><TD
3288WIDTH="20%"
3289ALIGN="RIGHT"
3290VALIGN="TOP"
3291><TT
3292CLASS="PARAMETER"
3293><I
3294>node2</I
3295></TT
3296>&nbsp;:</TD
3297><TD
3298WIDTH="80%"
3299ALIGN="LEFT"
3300VALIGN="TOP"
3301> unused</TD
3302></TR
3303><TR
3304><TD
3305WIDTH="20%"
3306ALIGN="RIGHT"
3307VALIGN="TOP"
3308><I
3309CLASS="EMPHASIS"
3310>Returns</I
3311> :</TD
3312><TD
3313WIDTH="80%"
3314ALIGN="LEFT"
3315VALIGN="TOP"
3316>0 or -1 in case of error</TD
3317></TR
3318></TBODY
3319></TABLE
3320><P
3321></P
3322></DIV
3323></DIV
3324><HR><DIV
3325CLASS="REFSECT2"
3326><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00003327NAME="AEN25901"
Daniel Veillard52dcab32001-10-30 12:51:17 +00003328></A
3329><H3
3330><A
3331NAME="XMLSHELLSAVE"
3332></A
3333>xmlShellSave ()</H3
3334><TABLE
3335BORDER="0"
3336BGCOLOR="#D6E8FF"
3337WIDTH="100%"
3338CELLPADDING="6"
3339><TR
3340><TD
3341><PRE
3342CLASS="PROGRAMLISTING"
3343>int xmlShellSave (<A
3344HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
3345>xmlShellCtxtPtr</A
3346> ctxt,
3347 char *filename,
3348 <A
3349HREF="libxml-tree.html#XMLNODEPTR"
3350>xmlNodePtr</A
3351> node,
3352 <A
3353HREF="libxml-tree.html#XMLNODEPTR"
3354>xmlNodePtr</A
3355> node2);</PRE
3356></TD
3357></TR
3358></TABLE
3359><P
3360>Implements the XML shell function "save"
3361Write the current document to the filename, or it's original name</P
3362><P
3363></P
3364><DIV
3365CLASS="INFORMALTABLE"
3366><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00003367NAME="AEN25910"
Daniel Veillard52dcab32001-10-30 12:51:17 +00003368></A
3369><P
3370></P
3371><TABLE
3372BORDER="0"
3373WIDTH="100%"
3374BGCOLOR="#FFD0D0"
3375CELLSPACING="0"
3376CELLPADDING="4"
3377CLASS="CALSTABLE"
3378><TBODY
3379><TR
3380><TD
3381WIDTH="20%"
3382ALIGN="RIGHT"
3383VALIGN="TOP"
3384><TT
3385CLASS="PARAMETER"
3386><I
3387>ctxt</I
3388></TT
3389>&nbsp;:</TD
3390><TD
3391WIDTH="80%"
3392ALIGN="LEFT"
3393VALIGN="TOP"
3394> the shell context</TD
3395></TR
3396><TR
3397><TD
3398WIDTH="20%"
3399ALIGN="RIGHT"
3400VALIGN="TOP"
3401><TT
3402CLASS="PARAMETER"
3403><I
3404>filename</I
3405></TT
3406>&nbsp;:</TD
3407><TD
3408WIDTH="80%"
3409ALIGN="LEFT"
3410VALIGN="TOP"
3411> the file name (optionnal)</TD
3412></TR
3413><TR
3414><TD
3415WIDTH="20%"
3416ALIGN="RIGHT"
3417VALIGN="TOP"
3418><TT
3419CLASS="PARAMETER"
3420><I
3421>node</I
3422></TT
3423>&nbsp;:</TD
3424><TD
3425WIDTH="80%"
3426ALIGN="LEFT"
3427VALIGN="TOP"
3428> unused</TD
3429></TR
3430><TR
3431><TD
3432WIDTH="20%"
3433ALIGN="RIGHT"
3434VALIGN="TOP"
3435><TT
3436CLASS="PARAMETER"
3437><I
3438>node2</I
3439></TT
3440>&nbsp;:</TD
3441><TD
3442WIDTH="80%"
3443ALIGN="LEFT"
3444VALIGN="TOP"
3445> unused</TD
3446></TR
3447><TR
3448><TD
3449WIDTH="20%"
3450ALIGN="RIGHT"
3451VALIGN="TOP"
3452><I
3453CLASS="EMPHASIS"
3454>Returns</I
3455> :</TD
3456><TD
3457WIDTH="80%"
3458ALIGN="LEFT"
3459VALIGN="TOP"
3460>0 or -1 in case of error</TD
3461></TR
3462></TBODY
3463></TABLE
3464><P
3465></P
3466></DIV
3467></DIV
3468><HR><DIV
3469CLASS="REFSECT2"
3470><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00003471NAME="AEN25935"
Daniel Veillard52dcab32001-10-30 12:51:17 +00003472></A
3473><H3
3474><A
3475NAME="XMLSHELLVALIDATE"
3476></A
3477>xmlShellValidate ()</H3
3478><TABLE
3479BORDER="0"
3480BGCOLOR="#D6E8FF"
3481WIDTH="100%"
3482CELLPADDING="6"
3483><TR
3484><TD
3485><PRE
3486CLASS="PROGRAMLISTING"
3487>int xmlShellValidate (<A
3488HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
3489>xmlShellCtxtPtr</A
3490> ctxt,
3491 char *dtd,
3492 <A
3493HREF="libxml-tree.html#XMLNODEPTR"
3494>xmlNodePtr</A
3495> node,
3496 <A
3497HREF="libxml-tree.html#XMLNODEPTR"
3498>xmlNodePtr</A
3499> node2);</PRE
3500></TD
3501></TR
3502></TABLE
3503><P
3504>Implements the XML shell function "validate"
3505Validate the document, if a DTD path is provided, then the validation
3506is done against the given DTD.</P
3507><P
3508></P
3509><DIV
3510CLASS="INFORMALTABLE"
3511><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00003512NAME="AEN25944"
Daniel Veillard52dcab32001-10-30 12:51:17 +00003513></A
3514><P
3515></P
3516><TABLE
3517BORDER="0"
3518WIDTH="100%"
3519BGCOLOR="#FFD0D0"
3520CELLSPACING="0"
3521CELLPADDING="4"
3522CLASS="CALSTABLE"
3523><TBODY
3524><TR
3525><TD
3526WIDTH="20%"
3527ALIGN="RIGHT"
3528VALIGN="TOP"
3529><TT
3530CLASS="PARAMETER"
3531><I
3532>ctxt</I
3533></TT
3534>&nbsp;:</TD
3535><TD
3536WIDTH="80%"
3537ALIGN="LEFT"
3538VALIGN="TOP"
3539> the shell context</TD
3540></TR
3541><TR
3542><TD
3543WIDTH="20%"
3544ALIGN="RIGHT"
3545VALIGN="TOP"
3546><TT
3547CLASS="PARAMETER"
3548><I
3549>dtd</I
3550></TT
3551>&nbsp;:</TD
3552><TD
3553WIDTH="80%"
3554ALIGN="LEFT"
3555VALIGN="TOP"
3556> the DTD URI (optionnal)</TD
3557></TR
3558><TR
3559><TD
3560WIDTH="20%"
3561ALIGN="RIGHT"
3562VALIGN="TOP"
3563><TT
3564CLASS="PARAMETER"
3565><I
3566>node</I
3567></TT
3568>&nbsp;:</TD
3569><TD
3570WIDTH="80%"
3571ALIGN="LEFT"
3572VALIGN="TOP"
3573> unused</TD
3574></TR
3575><TR
3576><TD
3577WIDTH="20%"
3578ALIGN="RIGHT"
3579VALIGN="TOP"
3580><TT
3581CLASS="PARAMETER"
3582><I
3583>node2</I
3584></TT
3585>&nbsp;:</TD
3586><TD
3587WIDTH="80%"
3588ALIGN="LEFT"
3589VALIGN="TOP"
3590> unused</TD
3591></TR
3592><TR
3593><TD
3594WIDTH="20%"
3595ALIGN="RIGHT"
3596VALIGN="TOP"
3597><I
3598CLASS="EMPHASIS"
3599>Returns</I
3600> :</TD
3601><TD
3602WIDTH="80%"
3603ALIGN="LEFT"
3604VALIGN="TOP"
3605>0 or -1 in case of error</TD
3606></TR
3607></TBODY
3608></TABLE
3609><P
3610></P
3611></DIV
3612></DIV
3613><HR><DIV
3614CLASS="REFSECT2"
3615><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00003616NAME="AEN25969"
Daniel Veillard52dcab32001-10-30 12:51:17 +00003617></A
3618><H3
3619><A
3620NAME="XMLSHELLDU"
3621></A
3622>xmlShellDu ()</H3
3623><TABLE
3624BORDER="0"
3625BGCOLOR="#D6E8FF"
3626WIDTH="100%"
3627CELLPADDING="6"
3628><TR
3629><TD
3630><PRE
3631CLASS="PROGRAMLISTING"
3632>int xmlShellDu (<A
3633HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
3634>xmlShellCtxtPtr</A
3635> ctxt,
3636 char *arg,
3637 <A
3638HREF="libxml-tree.html#XMLNODEPTR"
3639>xmlNodePtr</A
3640> tree,
3641 <A
3642HREF="libxml-tree.html#XMLNODEPTR"
3643>xmlNodePtr</A
3644> node2);</PRE
3645></TD
3646></TR
3647></TABLE
3648><P
3649>Implements the XML shell function "du"
3650show the structure of the subtree under node <TT
3651CLASS="PARAMETER"
3652><I
3653>tree</I
3654></TT
3655>
3656If <TT
3657CLASS="PARAMETER"
3658><I
3659>tree</I
3660></TT
3661> is null, the command works on the current node.</P
3662><P
3663></P
3664><DIV
3665CLASS="INFORMALTABLE"
3666><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00003667NAME="AEN25980"
Daniel Veillard52dcab32001-10-30 12:51:17 +00003668></A
3669><P
3670></P
3671><TABLE
3672BORDER="0"
3673WIDTH="100%"
3674BGCOLOR="#FFD0D0"
3675CELLSPACING="0"
3676CELLPADDING="4"
3677CLASS="CALSTABLE"
3678><TBODY
3679><TR
3680><TD
3681WIDTH="20%"
3682ALIGN="RIGHT"
3683VALIGN="TOP"
3684><TT
3685CLASS="PARAMETER"
3686><I
3687>ctxt</I
3688></TT
3689>&nbsp;:</TD
3690><TD
3691WIDTH="80%"
3692ALIGN="LEFT"
3693VALIGN="TOP"
3694> the shell context</TD
3695></TR
3696><TR
3697><TD
3698WIDTH="20%"
3699ALIGN="RIGHT"
3700VALIGN="TOP"
3701><TT
3702CLASS="PARAMETER"
3703><I
3704>arg</I
3705></TT
3706>&nbsp;:</TD
3707><TD
3708WIDTH="80%"
3709ALIGN="LEFT"
3710VALIGN="TOP"
3711> unused</TD
3712></TR
3713><TR
3714><TD
3715WIDTH="20%"
3716ALIGN="RIGHT"
3717VALIGN="TOP"
3718><TT
3719CLASS="PARAMETER"
3720><I
3721>tree</I
3722></TT
3723>&nbsp;:</TD
3724><TD
3725WIDTH="80%"
3726ALIGN="LEFT"
3727VALIGN="TOP"
3728> a node defining a subtree</TD
3729></TR
3730><TR
3731><TD
3732WIDTH="20%"
3733ALIGN="RIGHT"
3734VALIGN="TOP"
3735><TT
3736CLASS="PARAMETER"
3737><I
3738>node2</I
3739></TT
3740>&nbsp;:</TD
3741><TD
3742WIDTH="80%"
3743ALIGN="LEFT"
3744VALIGN="TOP"
3745> unused</TD
3746></TR
3747><TR
3748><TD
3749WIDTH="20%"
3750ALIGN="RIGHT"
3751VALIGN="TOP"
3752><I
3753CLASS="EMPHASIS"
3754>Returns</I
3755> :</TD
3756><TD
3757WIDTH="80%"
3758ALIGN="LEFT"
3759VALIGN="TOP"
3760>0 or -1 in case of error</TD
3761></TR
3762></TBODY
3763></TABLE
3764><P
3765></P
3766></DIV
3767></DIV
3768><HR><DIV
3769CLASS="REFSECT2"
3770><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00003771NAME="AEN26005"
Daniel Veillard52dcab32001-10-30 12:51:17 +00003772></A
3773><H3
3774><A
3775NAME="XMLSHELLPWD"
3776></A
3777>xmlShellPwd ()</H3
3778><TABLE
3779BORDER="0"
3780BGCOLOR="#D6E8FF"
3781WIDTH="100%"
3782CELLPADDING="6"
3783><TR
3784><TD
3785><PRE
3786CLASS="PROGRAMLISTING"
3787>int xmlShellPwd (<A
3788HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
3789>xmlShellCtxtPtr</A
3790> ctxt,
3791 char *buffer,
3792 <A
3793HREF="libxml-tree.html#XMLNODEPTR"
3794>xmlNodePtr</A
3795> node,
3796 <A
3797HREF="libxml-tree.html#XMLNODEPTR"
3798>xmlNodePtr</A
3799> node2);</PRE
3800></TD
3801></TR
3802></TABLE
3803><P
3804>Implements the XML shell function "pwd"
3805Show the full path from the root to the node, if needed building
3806thumblers when similar elements exists at a given ancestor level.
3807The output is compatible with XPath commands.</P
3808><P
3809></P
3810><DIV
3811CLASS="INFORMALTABLE"
3812><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00003813NAME="AEN26014"
Daniel Veillard52dcab32001-10-30 12:51:17 +00003814></A
3815><P
3816></P
3817><TABLE
3818BORDER="0"
3819WIDTH="100%"
3820BGCOLOR="#FFD0D0"
3821CELLSPACING="0"
3822CELLPADDING="4"
3823CLASS="CALSTABLE"
3824><TBODY
3825><TR
3826><TD
3827WIDTH="20%"
3828ALIGN="RIGHT"
3829VALIGN="TOP"
3830><TT
3831CLASS="PARAMETER"
3832><I
3833>ctxt</I
3834></TT
3835>&nbsp;:</TD
3836><TD
3837WIDTH="80%"
3838ALIGN="LEFT"
3839VALIGN="TOP"
3840> the shell context</TD
3841></TR
3842><TR
3843><TD
3844WIDTH="20%"
3845ALIGN="RIGHT"
3846VALIGN="TOP"
3847><TT
3848CLASS="PARAMETER"
3849><I
3850>buffer</I
3851></TT
3852>&nbsp;:</TD
3853><TD
3854WIDTH="80%"
3855ALIGN="LEFT"
3856VALIGN="TOP"
3857> the output buffer</TD
3858></TR
3859><TR
3860><TD
3861WIDTH="20%"
3862ALIGN="RIGHT"
3863VALIGN="TOP"
3864><TT
3865CLASS="PARAMETER"
3866><I
3867>node</I
3868></TT
3869>&nbsp;:</TD
3870><TD
3871WIDTH="80%"
3872ALIGN="LEFT"
3873VALIGN="TOP"
3874>&nbsp;</TD
3875></TR
3876><TR
3877><TD
3878WIDTH="20%"
3879ALIGN="RIGHT"
3880VALIGN="TOP"
3881><TT
3882CLASS="PARAMETER"
3883><I
3884>node2</I
3885></TT
3886>&nbsp;:</TD
3887><TD
3888WIDTH="80%"
3889ALIGN="LEFT"
3890VALIGN="TOP"
3891> unused</TD
3892></TR
3893><TR
3894><TD
3895WIDTH="20%"
3896ALIGN="RIGHT"
3897VALIGN="TOP"
3898><I
3899CLASS="EMPHASIS"
3900>Returns</I
3901> :</TD
3902><TD
3903WIDTH="80%"
3904ALIGN="LEFT"
3905VALIGN="TOP"
3906>0 or -1 in case of error</TD
3907></TR
3908></TBODY
3909></TABLE
3910><P
3911></P
3912></DIV
3913></DIV
3914><HR><DIV
3915CLASS="REFSECT2"
3916><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00003917NAME="AEN26039"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003918></A
3919><H3
3920><A
3921NAME="XMLSHELL"
3922></A
3923>xmlShell ()</H3
3924><TABLE
3925BORDER="0"
3926BGCOLOR="#D6E8FF"
3927WIDTH="100%"
3928CELLPADDING="6"
3929><TR
3930><TD
3931><PRE
3932CLASS="PROGRAMLISTING"
3933>void xmlShell (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003934HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003935>xmlDocPtr</A
3936> doc,
3937 char *filename,
3938 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003939HREF="libxml-debugxml.html#XMLSHELLREADLINEFUNC"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003940>xmlShellReadlineFunc</A
3941> input,
3942 <GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00003943HREF="FILE-CAPS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003944>FILE</GTKDOCLINK
3945> *output);</PRE
3946></TD
3947></TR
3948></TABLE
3949><P
3950>Implements the XML shell
3951This allow to load, validate, view, modify and save a document
3952using a environment similar to a UNIX commandline.</P
3953><P
3954></P
3955><DIV
3956CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003957><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00003958NAME="AEN26048"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003959></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003960><P
3961></P
3962><TABLE
3963BORDER="0"
3964WIDTH="100%"
3965BGCOLOR="#FFD0D0"
3966CELLSPACING="0"
3967CELLPADDING="4"
3968CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003969><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003970><TR
3971><TD
3972WIDTH="20%"
3973ALIGN="RIGHT"
3974VALIGN="TOP"
3975><TT
3976CLASS="PARAMETER"
3977><I
3978>doc</I
3979></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003980>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003981><TD
3982WIDTH="80%"
3983ALIGN="LEFT"
3984VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003985> the initial document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003986></TR
3987><TR
3988><TD
3989WIDTH="20%"
3990ALIGN="RIGHT"
3991VALIGN="TOP"
3992><TT
3993CLASS="PARAMETER"
3994><I
3995>filename</I
3996></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003997>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003998><TD
3999WIDTH="80%"
4000ALIGN="LEFT"
4001VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004002> the output buffer</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004003></TR
4004><TR
4005><TD
4006WIDTH="20%"
4007ALIGN="RIGHT"
4008VALIGN="TOP"
4009><TT
4010CLASS="PARAMETER"
4011><I
4012>input</I
4013></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004014>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004015><TD
4016WIDTH="80%"
4017ALIGN="LEFT"
4018VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004019> the line reading function</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004020></TR
4021><TR
4022><TD
4023WIDTH="20%"
4024ALIGN="RIGHT"
4025VALIGN="TOP"
4026><TT
4027CLASS="PARAMETER"
4028><I
4029>output</I
4030></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004031>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004032><TD
4033WIDTH="80%"
4034ALIGN="LEFT"
4035VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004036> the output FILE*</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004037></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004038></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004039></TABLE
4040><P
4041></P
4042></DIV
4043></DIV
Daniel Veillardaeea04f2000-01-25 19:27:27 +00004044></DIV
4045><DIV
4046CLASS="NAVFOOTER"
4047><BR
4048CLEAR="all"><BR><TABLE
4049WIDTH="100%"
4050BORDER="0"
4051BGCOLOR="#000000"
4052CELLPADDING="1"
4053CELLSPACING="0"
4054><TR
4055><TD
4056WIDTH="25%"
4057BGCOLOR="#C00000"
4058ALIGN="left"
4059><A
Daniel Veillard52dcab32001-10-30 12:51:17 +00004060HREF="libxml-hash.html"
Daniel Veillardaeea04f2000-01-25 19:27:27 +00004061><FONT
4062COLOR="#FFFFFF"
4063SIZE="3"
4064><B
4065>&#60;&#60;&#60; Previous Page</B
4066></FONT
4067></A
4068></TD
4069><TD
4070WIDTH="25%"
4071BGCOLOR="#0000C0"
4072ALIGN="center"
4073><FONT
4074COLOR="#FFFFFF"
4075SIZE="3"
4076><B
4077><A
4078HREF="book1.html"
4079><FONT
4080COLOR="#FFFFFF"
4081SIZE="3"
4082><B
4083>Home</B
4084></FONT
4085></A
4086></B
4087></FONT
4088></TD
4089><TD
4090WIDTH="25%"
4091BGCOLOR="#00C000"
4092ALIGN="center"
4093><FONT
4094COLOR="#FFFFFF"
4095SIZE="3"
4096><B
4097><A
4098HREF="libxml-lib.html"
4099><FONT
4100COLOR="#FFFFFF"
4101SIZE="3"
4102><B
4103>Up</B
4104></FONT
4105></A
4106></B
4107></FONT
4108></TD
4109><TD
4110WIDTH="25%"
4111BGCOLOR="#C00000"
4112ALIGN="right"
4113><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004114HREF="libxml-xmlmemory.html"
Daniel Veillardaeea04f2000-01-25 19:27:27 +00004115><FONT
4116COLOR="#FFFFFF"
4117SIZE="3"
4118><B
4119>Next Page &#62;&#62;&#62;</B
4120></FONT
4121></A
4122></TD
4123></TR
4124><TR
4125><TD
4126COLSPAN="2"
4127ALIGN="left"
4128><FONT
4129COLOR="#FFFFFF"
4130SIZE="3"
4131><B
Daniel Veillard52dcab32001-10-30 12:51:17 +00004132>hash</B
Daniel Veillardaeea04f2000-01-25 19:27:27 +00004133></FONT
4134></TD
4135><TD
4136COLSPAN="2"
4137ALIGN="right"
4138><FONT
4139COLOR="#FFFFFF"
4140SIZE="3"
4141><B
4142>xmlmemory</B
4143></FONT
4144></TD
4145></TR
4146></TABLE
4147></DIV
4148></BODY
4149></HTML
4150>