blob: 65693aa2ab511bdfb630ec93cd78ed49a244714d [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 Veillard52dcab32001-10-30 12:51:17 +0000126NAME="AEN24971"
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 Veillard52dcab32001-10-30 12:51:17 +0000134NAME="AEN24974"
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
285> (int bool);
286<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 Veillard3f6f7f62000-06-30 17:58:25 +0000296char* (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000297HREF="libxml-debugxml.html#XMLSHELLREADLINEFUNC"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000298>*xmlShellReadlineFunc</A
299>) (char *prompt);
300struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000301HREF="libxml-debugxml.html#XMLSHELLCTXT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000302>xmlShellCtxt</A
303>;
304typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000305HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000306>xmlShellCtxtPtr</A
307>;
308int (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000309HREF="libxml-debugxml.html#XMLSHELLCMD"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000310>*xmlShellCmd</A
311>) (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000312HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000313>xmlShellCtxtPtr</A
314> ctxt,
315 char *arg,
316 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000317HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000318>xmlNodePtr</A
319> node,
320 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000321HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000322>xmlNodePtr</A
323> node2);
324void <A
Daniel Veillard52dcab32001-10-30 12:51:17 +0000325HREF="libxml-debugxml.html#XMLSHELLPRINTXPATHERROR"
326>xmlShellPrintXPathError</A
327> (int errorType,
328 const char *arg);
329void <A
330HREF="libxml-debugxml.html#XMLSHELLPRINTNODE"
331>xmlShellPrintNode</A
332> (<A
333HREF="libxml-tree.html#XMLNODEPTR"
334>xmlNodePtr</A
335> node);
336void <A
337HREF="libxml-debugxml.html#XMLSHELLPRINTXPATHRESULT"
338>xmlShellPrintXPathResult</A
339> (<A
340HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
341>xmlXPathObjectPtr</A
342> list);
343int <A
344HREF="libxml-debugxml.html#XMLSHELLLIST"
345>xmlShellList</A
346> (<A
347HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
348>xmlShellCtxtPtr</A
349> ctxt,
350 char *arg,
351 <A
352HREF="libxml-tree.html#XMLNODEPTR"
353>xmlNodePtr</A
354> node,
355 <A
356HREF="libxml-tree.html#XMLNODEPTR"
357>xmlNodePtr</A
358> node2);
359int <A
360HREF="libxml-debugxml.html#XMLSHELLBASE"
361>xmlShellBase</A
362> (<A
363HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
364>xmlShellCtxtPtr</A
365> ctxt,
366 char *arg,
367 <A
368HREF="libxml-tree.html#XMLNODEPTR"
369>xmlNodePtr</A
370> node,
371 <A
372HREF="libxml-tree.html#XMLNODEPTR"
373>xmlNodePtr</A
374> node2);
375int <A
376HREF="libxml-debugxml.html#XMLSHELLDIR"
377>xmlShellDir</A
378> (<A
379HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
380>xmlShellCtxtPtr</A
381> ctxt,
382 char *arg,
383 <A
384HREF="libxml-tree.html#XMLNODEPTR"
385>xmlNodePtr</A
386> node,
387 <A
388HREF="libxml-tree.html#XMLNODEPTR"
389>xmlNodePtr</A
390> node2);
391int <A
392HREF="libxml-debugxml.html#XMLSHELLCAT"
393>xmlShellCat</A
394> (<A
395HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
396>xmlShellCtxtPtr</A
397> ctxt,
398 char *arg,
399 <A
400HREF="libxml-tree.html#XMLNODEPTR"
401>xmlNodePtr</A
402> node,
403 <A
404HREF="libxml-tree.html#XMLNODEPTR"
405>xmlNodePtr</A
406> node2);
407int <A
408HREF="libxml-debugxml.html#XMLSHELLLOAD"
409>xmlShellLoad</A
410> (<A
411HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
412>xmlShellCtxtPtr</A
413> ctxt,
414 char *filename,
415 <A
416HREF="libxml-tree.html#XMLNODEPTR"
417>xmlNodePtr</A
418> node,
419 <A
420HREF="libxml-tree.html#XMLNODEPTR"
421>xmlNodePtr</A
422> node2);
423int <A
424HREF="libxml-debugxml.html#XMLSHELLWRITE"
425>xmlShellWrite</A
426> (<A
427HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
428>xmlShellCtxtPtr</A
429> ctxt,
430 char *filename,
431 <A
432HREF="libxml-tree.html#XMLNODEPTR"
433>xmlNodePtr</A
434> node,
435 <A
436HREF="libxml-tree.html#XMLNODEPTR"
437>xmlNodePtr</A
438> node2);
439int <A
440HREF="libxml-debugxml.html#XMLSHELLSAVE"
441>xmlShellSave</A
442> (<A
443HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
444>xmlShellCtxtPtr</A
445> ctxt,
446 char *filename,
447 <A
448HREF="libxml-tree.html#XMLNODEPTR"
449>xmlNodePtr</A
450> node,
451 <A
452HREF="libxml-tree.html#XMLNODEPTR"
453>xmlNodePtr</A
454> node2);
455int <A
456HREF="libxml-debugxml.html#XMLSHELLVALIDATE"
457>xmlShellValidate</A
458> (<A
459HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
460>xmlShellCtxtPtr</A
461> ctxt,
462 char *dtd,
463 <A
464HREF="libxml-tree.html#XMLNODEPTR"
465>xmlNodePtr</A
466> node,
467 <A
468HREF="libxml-tree.html#XMLNODEPTR"
469>xmlNodePtr</A
470> node2);
471int <A
472HREF="libxml-debugxml.html#XMLSHELLDU"
473>xmlShellDu</A
474> (<A
475HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
476>xmlShellCtxtPtr</A
477> ctxt,
478 char *arg,
479 <A
480HREF="libxml-tree.html#XMLNODEPTR"
481>xmlNodePtr</A
482> tree,
483 <A
484HREF="libxml-tree.html#XMLNODEPTR"
485>xmlNodePtr</A
486> node2);
487int <A
488HREF="libxml-debugxml.html#XMLSHELLPWD"
489>xmlShellPwd</A
490> (<A
491HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
492>xmlShellCtxtPtr</A
493> ctxt,
494 char *buffer,
495 <A
496HREF="libxml-tree.html#XMLNODEPTR"
497>xmlNodePtr</A
498> node,
499 <A
500HREF="libxml-tree.html#XMLNODEPTR"
501>xmlNodePtr</A
502> node2);
503void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000504HREF="libxml-debugxml.html#XMLSHELL"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000505>xmlShell</A
506> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000507HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000508>xmlDocPtr</A
509> doc,
510 char *filename,
511 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000512HREF="libxml-debugxml.html#XMLSHELLREADLINEFUNC"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000513>xmlShellReadlineFunc</A
514> input,
515 <GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000516HREF="FILE-CAPS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000517>FILE</GTKDOCLINK
518> *output);</PRE
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000519></TD
520></TR
521></TABLE
522></DIV
523><DIV
524CLASS="REFSECT1"
525><A
Daniel Veillard52dcab32001-10-30 12:51:17 +0000526NAME="AEN25072"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000527></A
528><H2
529>Description</H2
530><P
531></P
532></DIV
533><DIV
534CLASS="REFSECT1"
535><A
Daniel Veillard52dcab32001-10-30 12:51:17 +0000536NAME="AEN25075"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000537></A
538><H2
539>Details</H2
540><DIV
541CLASS="REFSECT2"
542><A
Daniel Veillard52dcab32001-10-30 12:51:17 +0000543NAME="AEN25077"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000544></A
545><H3
546><A
547NAME="XMLDEBUGDUMPSTRING"
548></A
549>xmlDebugDumpString ()</H3
550><TABLE
551BORDER="0"
552BGCOLOR="#D6E8FF"
553WIDTH="100%"
554CELLPADDING="6"
555><TR
556><TD
557><PRE
558CLASS="PROGRAMLISTING"
559>void xmlDebugDumpString (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000560HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000561>FILE</GTKDOCLINK
562> *output,
563 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000564HREF="libxml-tree.html#XMLCHAR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000565>xmlChar</A
566> *str);</PRE
567></TD
568></TR
569></TABLE
570><P
Daniel Veillardf012a642001-07-23 19:10:52 +0000571>Dumps informations about the string, shorten it if necessary</P
572><P
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000573></P
574><DIV
575CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000576><A
Daniel Veillard52dcab32001-10-30 12:51:17 +0000577NAME="AEN25085"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000578></A
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000579><P
580></P
581><TABLE
582BORDER="0"
583WIDTH="100%"
584BGCOLOR="#FFD0D0"
585CELLSPACING="0"
586CELLPADDING="4"
587CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000588><TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000589><TR
590><TD
591WIDTH="20%"
592ALIGN="RIGHT"
593VALIGN="TOP"
594><TT
595CLASS="PARAMETER"
596><I
597>output</I
598></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000599>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000600><TD
601WIDTH="80%"
602ALIGN="LEFT"
603VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000604> the FILE * for the output</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000605></TR
606><TR
607><TD
608WIDTH="20%"
609ALIGN="RIGHT"
610VALIGN="TOP"
611><TT
612CLASS="PARAMETER"
613><I
614>str</I
615></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000616>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000617><TD
618WIDTH="80%"
619ALIGN="LEFT"
620VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000621> the string</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000622></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000623></TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000624></TABLE
625><P
626></P
627></DIV
628></DIV
629><HR><DIV
630CLASS="REFSECT2"
631><A
Daniel Veillard52dcab32001-10-30 12:51:17 +0000632NAME="AEN25098"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000633></A
634><H3
635><A
636NAME="XMLDEBUGDUMPATTR"
637></A
638>xmlDebugDumpAttr ()</H3
639><TABLE
640BORDER="0"
641BGCOLOR="#D6E8FF"
642WIDTH="100%"
643CELLPADDING="6"
644><TR
645><TD
646><PRE
647CLASS="PROGRAMLISTING"
648>void xmlDebugDumpAttr (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000649HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000650>FILE</GTKDOCLINK
651> *output,
652 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000653HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000654>xmlAttrPtr</A
655> attr,
656 int depth);</PRE
657></TD
658></TR
659></TABLE
660><P
Daniel Veillardf012a642001-07-23 19:10:52 +0000661>Dumps debug information for the attribute</P
662><P
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000663></P
664><DIV
665CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000666><A
Daniel Veillard52dcab32001-10-30 12:51:17 +0000667NAME="AEN25106"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000668></A
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000669><P
670></P
671><TABLE
672BORDER="0"
673WIDTH="100%"
674BGCOLOR="#FFD0D0"
675CELLSPACING="0"
676CELLPADDING="4"
677CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000678><TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000679><TR
680><TD
681WIDTH="20%"
682ALIGN="RIGHT"
683VALIGN="TOP"
684><TT
685CLASS="PARAMETER"
686><I
687>output</I
688></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000689>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000690><TD
691WIDTH="80%"
692ALIGN="LEFT"
693VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000694> the FILE * for the output</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000695></TR
696><TR
697><TD
698WIDTH="20%"
699ALIGN="RIGHT"
700VALIGN="TOP"
701><TT
702CLASS="PARAMETER"
703><I
704>attr</I
705></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000706>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000707><TD
708WIDTH="80%"
709ALIGN="LEFT"
710VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000711> the attribute</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000712></TR
713><TR
714><TD
715WIDTH="20%"
716ALIGN="RIGHT"
717VALIGN="TOP"
718><TT
719CLASS="PARAMETER"
720><I
721>depth</I
722></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000723>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000724><TD
725WIDTH="80%"
726ALIGN="LEFT"
727VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000728> the indentation level.</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000729></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000730></TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000731></TABLE
732><P
733></P
734></DIV
735></DIV
736><HR><DIV
737CLASS="REFSECT2"
738><A
Daniel Veillard52dcab32001-10-30 12:51:17 +0000739NAME="AEN25123"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000740></A
741><H3
742><A
743NAME="XMLDEBUGDUMPATTRLIST"
744></A
745>xmlDebugDumpAttrList ()</H3
746><TABLE
747BORDER="0"
748BGCOLOR="#D6E8FF"
749WIDTH="100%"
750CELLPADDING="6"
751><TR
752><TD
753><PRE
754CLASS="PROGRAMLISTING"
755>void xmlDebugDumpAttrList (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000756HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000757>FILE</GTKDOCLINK
758> *output,
759 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000760HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000761>xmlAttrPtr</A
762> attr,
763 int depth);</PRE
764></TD
765></TR
766></TABLE
767><P
Daniel Veillardf012a642001-07-23 19:10:52 +0000768>Dumps debug information for the attribute list</P
769><P
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000770></P
771><DIV
772CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000773><A
Daniel Veillard52dcab32001-10-30 12:51:17 +0000774NAME="AEN25131"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000775></A
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000776><P
777></P
778><TABLE
779BORDER="0"
780WIDTH="100%"
781BGCOLOR="#FFD0D0"
782CELLSPACING="0"
783CELLPADDING="4"
784CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000785><TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000786><TR
787><TD
788WIDTH="20%"
789ALIGN="RIGHT"
790VALIGN="TOP"
791><TT
792CLASS="PARAMETER"
793><I
794>output</I
795></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000796>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000797><TD
798WIDTH="80%"
799ALIGN="LEFT"
800VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000801> the FILE * for the output</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000802></TR
803><TR
804><TD
805WIDTH="20%"
806ALIGN="RIGHT"
807VALIGN="TOP"
808><TT
809CLASS="PARAMETER"
810><I
811>attr</I
812></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000813>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000814><TD
815WIDTH="80%"
816ALIGN="LEFT"
817VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000818> the attribute list</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000819></TR
820><TR
821><TD
822WIDTH="20%"
823ALIGN="RIGHT"
824VALIGN="TOP"
825><TT
826CLASS="PARAMETER"
827><I
828>depth</I
829></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000830>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000831><TD
832WIDTH="80%"
833ALIGN="LEFT"
834VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000835> the indentation level.</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000836></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000837></TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000838></TABLE
839><P
840></P
841></DIV
842></DIV
843><HR><DIV
844CLASS="REFSECT2"
845><A
Daniel Veillard52dcab32001-10-30 12:51:17 +0000846NAME="AEN25148"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000847></A
848><H3
849><A
850NAME="XMLDEBUGDUMPONENODE"
851></A
852>xmlDebugDumpOneNode ()</H3
853><TABLE
854BORDER="0"
855BGCOLOR="#D6E8FF"
856WIDTH="100%"
857CELLPADDING="6"
858><TR
859><TD
860><PRE
861CLASS="PROGRAMLISTING"
862>void xmlDebugDumpOneNode (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000863HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000864>FILE</GTKDOCLINK
865> *output,
866 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000867HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000868>xmlNodePtr</A
869> node,
870 int depth);</PRE
871></TD
872></TR
873></TABLE
874><P
Daniel Veillardf012a642001-07-23 19:10:52 +0000875>Dumps debug information for the element node, it is not recursive</P
876><P
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000877></P
878><DIV
879CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000880><A
Daniel Veillard52dcab32001-10-30 12:51:17 +0000881NAME="AEN25156"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000882></A
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000883><P
884></P
885><TABLE
886BORDER="0"
887WIDTH="100%"
888BGCOLOR="#FFD0D0"
889CELLSPACING="0"
890CELLPADDING="4"
891CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000892><TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000893><TR
894><TD
895WIDTH="20%"
896ALIGN="RIGHT"
897VALIGN="TOP"
898><TT
899CLASS="PARAMETER"
900><I
901>output</I
902></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000903>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000904><TD
905WIDTH="80%"
906ALIGN="LEFT"
907VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000908> the FILE * for the output</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000909></TR
910><TR
911><TD
912WIDTH="20%"
913ALIGN="RIGHT"
914VALIGN="TOP"
915><TT
916CLASS="PARAMETER"
917><I
918>node</I
919></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000920>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000921><TD
922WIDTH="80%"
923ALIGN="LEFT"
924VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000925> the node</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000926></TR
927><TR
928><TD
929WIDTH="20%"
930ALIGN="RIGHT"
931VALIGN="TOP"
932><TT
933CLASS="PARAMETER"
934><I
935>depth</I
936></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000937>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000938><TD
939WIDTH="80%"
940ALIGN="LEFT"
941VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +0000942> the indentation level.</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000943></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000944></TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000945></TABLE
946><P
947></P
948></DIV
949></DIV
950><HR><DIV
951CLASS="REFSECT2"
952><A
Daniel Veillard52dcab32001-10-30 12:51:17 +0000953NAME="AEN25173"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000954></A
955><H3
956><A
957NAME="XMLDEBUGDUMPNODE"
958></A
959>xmlDebugDumpNode ()</H3
960><TABLE
961BORDER="0"
962BGCOLOR="#D6E8FF"
963WIDTH="100%"
964CELLPADDING="6"
965><TR
966><TD
967><PRE
968CLASS="PROGRAMLISTING"
969>void xmlDebugDumpNode (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000970HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000971>FILE</GTKDOCLINK
972> *output,
973 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000974HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000975>xmlNodePtr</A
976> node,
977 int depth);</PRE
978></TD
979></TR
980></TABLE
981><P
Daniel Veillardf012a642001-07-23 19:10:52 +0000982>Dumps debug information for the element node, it is recursive</P
983><P
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000984></P
985><DIV
986CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000987><A
Daniel Veillard52dcab32001-10-30 12:51:17 +0000988NAME="AEN25181"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000989></A
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000990><P
991></P
992><TABLE
993BORDER="0"
994WIDTH="100%"
995BGCOLOR="#FFD0D0"
996CELLSPACING="0"
997CELLPADDING="4"
998CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000999><TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001000><TR
1001><TD
1002WIDTH="20%"
1003ALIGN="RIGHT"
1004VALIGN="TOP"
1005><TT
1006CLASS="PARAMETER"
1007><I
1008>output</I
1009></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001010>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001011><TD
1012WIDTH="80%"
1013ALIGN="LEFT"
1014VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001015> the FILE * for the output</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001016></TR
1017><TR
1018><TD
1019WIDTH="20%"
1020ALIGN="RIGHT"
1021VALIGN="TOP"
1022><TT
1023CLASS="PARAMETER"
1024><I
1025>node</I
1026></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001027>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001028><TD
1029WIDTH="80%"
1030ALIGN="LEFT"
1031VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001032> the node</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001033></TR
1034><TR
1035><TD
1036WIDTH="20%"
1037ALIGN="RIGHT"
1038VALIGN="TOP"
1039><TT
1040CLASS="PARAMETER"
1041><I
1042>depth</I
1043></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001044>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001045><TD
1046WIDTH="80%"
1047ALIGN="LEFT"
1048VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001049> the indentation level.</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001050></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001051></TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001052></TABLE
1053><P
1054></P
1055></DIV
1056></DIV
1057><HR><DIV
1058CLASS="REFSECT2"
1059><A
Daniel Veillard52dcab32001-10-30 12:51:17 +00001060NAME="AEN25198"
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001061></A
1062><H3
1063><A
1064NAME="XMLDEBUGDUMPNODELIST"
1065></A
1066>xmlDebugDumpNodeList ()</H3
1067><TABLE
1068BORDER="0"
1069BGCOLOR="#D6E8FF"
1070WIDTH="100%"
1071CELLPADDING="6"
1072><TR
1073><TD
1074><PRE
1075CLASS="PROGRAMLISTING"
1076>void xmlDebugDumpNodeList (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00001077HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001078>FILE</GTKDOCLINK
1079> *output,
1080 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001081HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001082>xmlNodePtr</A
1083> node,
1084 int depth);</PRE
1085></TD
1086></TR
1087></TABLE
1088><P
Daniel Veillardf012a642001-07-23 19:10:52 +00001089>Dumps debug information for the list of element node, it is recursive</P
1090><P
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001091></P
1092><DIV
1093CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001094><A
Daniel Veillard52dcab32001-10-30 12:51:17 +00001095NAME="AEN25206"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001096></A
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001097><P
1098></P
1099><TABLE
1100BORDER="0"
1101WIDTH="100%"
1102BGCOLOR="#FFD0D0"
1103CELLSPACING="0"
1104CELLPADDING="4"
1105CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001106><TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001107><TR
1108><TD
1109WIDTH="20%"
1110ALIGN="RIGHT"
1111VALIGN="TOP"
1112><TT
1113CLASS="PARAMETER"
1114><I
1115>output</I
1116></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001117>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001118><TD
1119WIDTH="80%"
1120ALIGN="LEFT"
1121VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001122> the FILE * for the output</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001123></TR
1124><TR
1125><TD
1126WIDTH="20%"
1127ALIGN="RIGHT"
1128VALIGN="TOP"
1129><TT
1130CLASS="PARAMETER"
1131><I
1132>node</I
1133></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001134>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001135><TD
1136WIDTH="80%"
1137ALIGN="LEFT"
1138VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001139> the node list</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001140></TR
1141><TR
1142><TD
1143WIDTH="20%"
1144ALIGN="RIGHT"
1145VALIGN="TOP"
1146><TT
1147CLASS="PARAMETER"
1148><I
1149>depth</I
1150></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001151>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001152><TD
1153WIDTH="80%"
1154ALIGN="LEFT"
1155VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001156> the indentation level.</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001157></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001158></TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001159></TABLE
1160><P
1161></P
1162></DIV
1163></DIV
1164><HR><DIV
1165CLASS="REFSECT2"
1166><A
Daniel Veillard52dcab32001-10-30 12:51:17 +00001167NAME="AEN25223"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001168></A
1169><H3
1170><A
1171NAME="XMLDEBUGDUMPDOCUMENTHEAD"
1172></A
1173>xmlDebugDumpDocumentHead ()</H3
1174><TABLE
1175BORDER="0"
1176BGCOLOR="#D6E8FF"
1177WIDTH="100%"
1178CELLPADDING="6"
1179><TR
1180><TD
1181><PRE
1182CLASS="PROGRAMLISTING"
1183>void xmlDebugDumpDocumentHead (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00001184HREF="FILE-CAPS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001185>FILE</GTKDOCLINK
1186> *output,
1187 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001188HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001189>xmlDocPtr</A
1190> doc);</PRE
1191></TD
1192></TR
1193></TABLE
1194><P
Daniel Veillardf012a642001-07-23 19:10:52 +00001195>Dumps debug information cncerning the document, not recursive</P
1196><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001197></P
1198><DIV
1199CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001200><A
Daniel Veillard52dcab32001-10-30 12:51:17 +00001201NAME="AEN25231"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001202></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001203><P
1204></P
1205><TABLE
1206BORDER="0"
1207WIDTH="100%"
1208BGCOLOR="#FFD0D0"
1209CELLSPACING="0"
1210CELLPADDING="4"
1211CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001212><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001213><TR
1214><TD
1215WIDTH="20%"
1216ALIGN="RIGHT"
1217VALIGN="TOP"
1218><TT
1219CLASS="PARAMETER"
1220><I
1221>output</I
1222></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001223>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001224><TD
1225WIDTH="80%"
1226ALIGN="LEFT"
1227VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001228> the FILE * for the output</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001229></TR
1230><TR
1231><TD
1232WIDTH="20%"
1233ALIGN="RIGHT"
1234VALIGN="TOP"
1235><TT
1236CLASS="PARAMETER"
1237><I
1238>doc</I
1239></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001240>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001241><TD
1242WIDTH="80%"
1243ALIGN="LEFT"
1244VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001245> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001246></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001247></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001248></TABLE
1249><P
1250></P
1251></DIV
1252></DIV
1253><HR><DIV
1254CLASS="REFSECT2"
1255><A
Daniel Veillard52dcab32001-10-30 12:51:17 +00001256NAME="AEN25244"
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001257></A
1258><H3
1259><A
1260NAME="XMLDEBUGDUMPDOCUMENT"
1261></A
1262>xmlDebugDumpDocument ()</H3
1263><TABLE
1264BORDER="0"
1265BGCOLOR="#D6E8FF"
1266WIDTH="100%"
1267CELLPADDING="6"
1268><TR
1269><TD
1270><PRE
1271CLASS="PROGRAMLISTING"
1272>void xmlDebugDumpDocument (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00001273HREF="FILE-CAPS"
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001274>FILE</GTKDOCLINK
1275> *output,
1276 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001277HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001278>xmlDocPtr</A
1279> doc);</PRE
1280></TD
1281></TR
1282></TABLE
1283><P
Daniel Veillardf012a642001-07-23 19:10:52 +00001284>Dumps debug information for the document, it's recursive</P
1285><P
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001286></P
1287><DIV
1288CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001289><A
Daniel Veillard52dcab32001-10-30 12:51:17 +00001290NAME="AEN25252"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001291></A
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001292><P
1293></P
1294><TABLE
1295BORDER="0"
1296WIDTH="100%"
1297BGCOLOR="#FFD0D0"
1298CELLSPACING="0"
1299CELLPADDING="4"
1300CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001301><TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001302><TR
1303><TD
1304WIDTH="20%"
1305ALIGN="RIGHT"
1306VALIGN="TOP"
1307><TT
1308CLASS="PARAMETER"
1309><I
1310>output</I
1311></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001312>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001313><TD
1314WIDTH="80%"
1315ALIGN="LEFT"
1316VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001317> the FILE * for the output</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001318></TR
1319><TR
1320><TD
1321WIDTH="20%"
1322ALIGN="RIGHT"
1323VALIGN="TOP"
1324><TT
1325CLASS="PARAMETER"
1326><I
1327>doc</I
1328></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001329>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001330><TD
1331WIDTH="80%"
1332ALIGN="LEFT"
1333VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001334> the document</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001335></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001336></TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001337></TABLE
1338><P
1339></P
1340></DIV
1341></DIV
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001342><HR><DIV
1343CLASS="REFSECT2"
1344><A
Daniel Veillard52dcab32001-10-30 12:51:17 +00001345NAME="AEN25265"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001346></A
1347><H3
1348><A
1349NAME="XMLDEBUGDUMPDTD"
1350></A
1351>xmlDebugDumpDTD ()</H3
1352><TABLE
1353BORDER="0"
1354BGCOLOR="#D6E8FF"
1355WIDTH="100%"
1356CELLPADDING="6"
1357><TR
1358><TD
1359><PRE
1360CLASS="PROGRAMLISTING"
1361>void xmlDebugDumpDTD (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00001362HREF="FILE-CAPS"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001363>FILE</GTKDOCLINK
1364> *output,
1365 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001366HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001367>xmlDtdPtr</A
Daniel Veillardf012a642001-07-23 19:10:52 +00001368> dtd);</PRE
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001369></TD
1370></TR
1371></TABLE
1372><P
Daniel Veillardf012a642001-07-23 19:10:52 +00001373>Dumps debug information for the DTD</P
1374><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001375></P
1376><DIV
1377CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001378><A
Daniel Veillard52dcab32001-10-30 12:51:17 +00001379NAME="AEN25273"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001380></A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001381><P
1382></P
1383><TABLE
1384BORDER="0"
1385WIDTH="100%"
1386BGCOLOR="#FFD0D0"
1387CELLSPACING="0"
1388CELLPADDING="4"
1389CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001390><TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001391><TR
1392><TD
1393WIDTH="20%"
1394ALIGN="RIGHT"
1395VALIGN="TOP"
1396><TT
1397CLASS="PARAMETER"
1398><I
1399>output</I
1400></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001401>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001402><TD
1403WIDTH="80%"
1404ALIGN="LEFT"
1405VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001406> the FILE * for the output</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001407></TR
1408><TR
1409><TD
1410WIDTH="20%"
1411ALIGN="RIGHT"
1412VALIGN="TOP"
1413><TT
1414CLASS="PARAMETER"
1415><I
Daniel Veillardf012a642001-07-23 19:10:52 +00001416>dtd</I
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001417></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001418>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001419><TD
1420WIDTH="80%"
1421ALIGN="LEFT"
1422VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001423> the DTD</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001424></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001425></TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001426></TABLE
1427><P
1428></P
1429></DIV
1430></DIV
1431><HR><DIV
1432CLASS="REFSECT2"
1433><A
Daniel Veillard52dcab32001-10-30 12:51:17 +00001434NAME="AEN25286"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001435></A
1436><H3
1437><A
1438NAME="XMLDEBUGDUMPENTITIES"
1439></A
1440>xmlDebugDumpEntities ()</H3
1441><TABLE
1442BORDER="0"
1443BGCOLOR="#D6E8FF"
1444WIDTH="100%"
1445CELLPADDING="6"
1446><TR
1447><TD
1448><PRE
1449CLASS="PROGRAMLISTING"
1450>void xmlDebugDumpEntities (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00001451HREF="FILE-CAPS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001452>FILE</GTKDOCLINK
1453> *output,
1454 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001455HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001456>xmlDocPtr</A
1457> doc);</PRE
1458></TD
1459></TR
1460></TABLE
1461><P
Daniel Veillardf012a642001-07-23 19:10:52 +00001462>Dumps debug information for all the entities in use by the document</P
1463><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001464></P
1465><DIV
1466CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001467><A
Daniel Veillard52dcab32001-10-30 12:51:17 +00001468NAME="AEN25294"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001469></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001470><P
1471></P
1472><TABLE
1473BORDER="0"
1474WIDTH="100%"
1475BGCOLOR="#FFD0D0"
1476CELLSPACING="0"
1477CELLPADDING="4"
1478CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001479><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001480><TR
1481><TD
1482WIDTH="20%"
1483ALIGN="RIGHT"
1484VALIGN="TOP"
1485><TT
1486CLASS="PARAMETER"
1487><I
1488>output</I
1489></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001490>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001491><TD
1492WIDTH="80%"
1493ALIGN="LEFT"
1494VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001495> the FILE * for the output</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001496></TR
1497><TR
1498><TD
1499WIDTH="20%"
1500ALIGN="RIGHT"
1501VALIGN="TOP"
1502><TT
1503CLASS="PARAMETER"
1504><I
1505>doc</I
1506></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001507>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001508><TD
1509WIDTH="80%"
1510ALIGN="LEFT"
1511VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00001512> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001513></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001514></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001515></TABLE
1516><P
1517></P
1518></DIV
1519></DIV
1520><HR><DIV
1521CLASS="REFSECT2"
1522><A
Daniel Veillard52dcab32001-10-30 12:51:17 +00001523NAME="AEN25307"
1524></A
1525><H3
1526><A
1527NAME="XMLLSONENODE"
1528></A
1529>xmlLsOneNode ()</H3
1530><TABLE
1531BORDER="0"
1532BGCOLOR="#D6E8FF"
1533WIDTH="100%"
1534CELLPADDING="6"
1535><TR
1536><TD
1537><PRE
1538CLASS="PROGRAMLISTING"
1539>void xmlLsOneNode (<GTKDOCLINK
1540HREF="FILE-CAPS"
1541>FILE</GTKDOCLINK
1542> *output,
1543 <A
1544HREF="libxml-tree.html#XMLNODEPTR"
1545>xmlNodePtr</A
1546> node);</PRE
1547></TD
1548></TR
1549></TABLE
1550><P
1551></P
1552><DIV
1553CLASS="INFORMALTABLE"
1554><A
1555NAME="AEN25314"
1556></A
1557><P
1558></P
1559><TABLE
1560BORDER="0"
1561WIDTH="100%"
1562BGCOLOR="#FFD0D0"
1563CELLSPACING="0"
1564CELLPADDING="4"
1565CLASS="CALSTABLE"
1566><TBODY
1567><TR
1568><TD
1569WIDTH="20%"
1570ALIGN="RIGHT"
1571VALIGN="TOP"
1572><TT
1573CLASS="PARAMETER"
1574><I
1575>output</I
1576></TT
1577>&nbsp;:</TD
1578><TD
1579WIDTH="80%"
1580ALIGN="LEFT"
1581VALIGN="TOP"
1582>&nbsp;</TD
1583></TR
1584><TR
1585><TD
1586WIDTH="20%"
1587ALIGN="RIGHT"
1588VALIGN="TOP"
1589><TT
1590CLASS="PARAMETER"
1591><I
1592>node</I
1593></TT
1594>&nbsp;:</TD
1595><TD
1596WIDTH="80%"
1597ALIGN="LEFT"
1598VALIGN="TOP"
1599>&nbsp;</TD
1600></TR
1601></TBODY
1602></TABLE
1603><P
1604></P
1605></DIV
1606></DIV
1607><HR><DIV
1608CLASS="REFSECT2"
1609><A
1610NAME="AEN25327"
1611></A
1612><H3
1613><A
1614NAME="XMLLSCOUNTNODE"
1615></A
1616>xmlLsCountNode ()</H3
1617><TABLE
1618BORDER="0"
1619BGCOLOR="#D6E8FF"
1620WIDTH="100%"
1621CELLPADDING="6"
1622><TR
1623><TD
1624><PRE
1625CLASS="PROGRAMLISTING"
1626>int xmlLsCountNode (<A
1627HREF="libxml-tree.html#XMLNODEPTR"
1628>xmlNodePtr</A
1629> node);</PRE
1630></TD
1631></TR
1632></TABLE
1633><P
1634></P
1635><DIV
1636CLASS="INFORMALTABLE"
1637><A
1638NAME="AEN25333"
1639></A
1640><P
1641></P
1642><TABLE
1643BORDER="0"
1644WIDTH="100%"
1645BGCOLOR="#FFD0D0"
1646CELLSPACING="0"
1647CELLPADDING="4"
1648CLASS="CALSTABLE"
1649><TBODY
1650><TR
1651><TD
1652WIDTH="20%"
1653ALIGN="RIGHT"
1654VALIGN="TOP"
1655><TT
1656CLASS="PARAMETER"
1657><I
1658>node</I
1659></TT
1660>&nbsp;:</TD
1661><TD
1662WIDTH="80%"
1663ALIGN="LEFT"
1664VALIGN="TOP"
1665>&nbsp;</TD
1666></TR
1667><TR
1668><TD
1669WIDTH="20%"
1670ALIGN="RIGHT"
1671VALIGN="TOP"
1672><I
1673CLASS="EMPHASIS"
1674>Returns</I
1675> :</TD
1676><TD
1677WIDTH="80%"
1678ALIGN="LEFT"
1679VALIGN="TOP"
1680>&nbsp;</TD
1681></TR
1682></TBODY
1683></TABLE
1684><P
1685></P
1686></DIV
1687></DIV
1688><HR><DIV
1689CLASS="REFSECT2"
1690><A
1691NAME="AEN25346"
1692></A
1693><H3
1694><A
1695NAME="XMLBOOLTOTEXT"
1696></A
1697>xmlBoolToText ()</H3
1698><TABLE
1699BORDER="0"
1700BGCOLOR="#D6E8FF"
1701WIDTH="100%"
1702CELLPADDING="6"
1703><TR
1704><TD
1705><PRE
1706CLASS="PROGRAMLISTING"
1707>const char* xmlBoolToText (int bool);</PRE
1708></TD
1709></TR
1710></TABLE
1711><P
1712>Convenient way to turn bool into text</P
1713><P
1714></P
1715><DIV
1716CLASS="INFORMALTABLE"
1717><A
1718NAME="AEN25352"
1719></A
1720><P
1721></P
1722><TABLE
1723BORDER="0"
1724WIDTH="100%"
1725BGCOLOR="#FFD0D0"
1726CELLSPACING="0"
1727CELLPADDING="4"
1728CLASS="CALSTABLE"
1729><TBODY
1730><TR
1731><TD
1732WIDTH="20%"
1733ALIGN="RIGHT"
1734VALIGN="TOP"
1735><TT
1736CLASS="PARAMETER"
1737><I
1738>bool</I
1739></TT
1740>&nbsp;:</TD
1741><TD
1742WIDTH="80%"
1743ALIGN="LEFT"
1744VALIGN="TOP"
1745> a bool to turn into text</TD
1746></TR
1747><TR
1748><TD
1749WIDTH="20%"
1750ALIGN="RIGHT"
1751VALIGN="TOP"
1752><I
1753CLASS="EMPHASIS"
1754>Returns</I
1755> :</TD
1756><TD
1757WIDTH="80%"
1758ALIGN="LEFT"
1759VALIGN="TOP"
1760>&nbsp;</TD
1761></TR
1762></TBODY
1763></TABLE
1764><P
1765></P
1766></DIV
1767></DIV
1768><HR><DIV
1769CLASS="REFSECT2"
1770><A
1771NAME="AEN25365"
1772></A
1773><H3
1774><A
1775NAME="XMLGETLINENO"
1776></A
1777>xmlGetLineNo ()</H3
1778><TABLE
1779BORDER="0"
1780BGCOLOR="#D6E8FF"
1781WIDTH="100%"
1782CELLPADDING="6"
1783><TR
1784><TD
1785><PRE
1786CLASS="PROGRAMLISTING"
1787><GTKDOCLINK
1788HREF="LONG"
1789>long</GTKDOCLINK
1790> xmlGetLineNo (<A
1791HREF="libxml-tree.html#XMLNODEPTR"
1792>xmlNodePtr</A
1793> node);</PRE
1794></TD
1795></TR
1796></TABLE
1797><P
1798>Get line number of node</P
1799><P
1800></P
1801><DIV
1802CLASS="INFORMALTABLE"
1803><A
1804NAME="AEN25373"
1805></A
1806><P
1807></P
1808><TABLE
1809BORDER="0"
1810WIDTH="100%"
1811BGCOLOR="#FFD0D0"
1812CELLSPACING="0"
1813CELLPADDING="4"
1814CLASS="CALSTABLE"
1815><TBODY
1816><TR
1817><TD
1818WIDTH="20%"
1819ALIGN="RIGHT"
1820VALIGN="TOP"
1821><TT
1822CLASS="PARAMETER"
1823><I
1824>node</I
1825></TT
1826>&nbsp;:</TD
1827><TD
1828WIDTH="80%"
1829ALIGN="LEFT"
1830VALIGN="TOP"
1831> valid node</TD
1832></TR
1833><TR
1834><TD
1835WIDTH="20%"
1836ALIGN="RIGHT"
1837VALIGN="TOP"
1838><I
1839CLASS="EMPHASIS"
1840>Returns</I
1841> :</TD
1842><TD
1843WIDTH="80%"
1844ALIGN="LEFT"
1845VALIGN="TOP"
1846>the line number if sucessfull, -1 otherwise</TD
1847></TR
1848></TBODY
1849></TABLE
1850><P
1851></P
1852></DIV
1853></DIV
1854><HR><DIV
1855CLASS="REFSECT2"
1856><A
1857NAME="AEN25386"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001858></A
1859><H3
1860><A
1861NAME="XMLSHELLREADLINEFUNC"
1862></A
1863>xmlShellReadlineFunc ()</H3
1864><TABLE
1865BORDER="0"
1866BGCOLOR="#D6E8FF"
1867WIDTH="100%"
1868CELLPADDING="6"
1869><TR
1870><TD
1871><PRE
1872CLASS="PROGRAMLISTING"
1873>char* (*xmlShellReadlineFunc) (char *prompt);</PRE
1874></TD
1875></TR
1876></TABLE
1877><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001878>This is a generic signature for the XML shell input function</P
1879><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001880></P
1881><DIV
1882CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001883><A
Daniel Veillard52dcab32001-10-30 12:51:17 +00001884NAME="AEN25392"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001885></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001886><P
1887></P
1888><TABLE
1889BORDER="0"
1890WIDTH="100%"
1891BGCOLOR="#FFD0D0"
1892CELLSPACING="0"
1893CELLPADDING="4"
1894CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001895><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001896><TR
1897><TD
1898WIDTH="20%"
1899ALIGN="RIGHT"
1900VALIGN="TOP"
1901><TT
1902CLASS="PARAMETER"
1903><I
1904>prompt</I
1905></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001906>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001907><TD
1908WIDTH="80%"
1909ALIGN="LEFT"
1910VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001911> a string prompt</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001912></TR
1913><TR
1914><TD
1915WIDTH="20%"
1916ALIGN="RIGHT"
1917VALIGN="TOP"
1918><I
1919CLASS="EMPHASIS"
1920>Returns</I
1921> :</TD
1922><TD
1923WIDTH="80%"
1924ALIGN="LEFT"
1925VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001926>a string which will be freed by the Shell</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001927></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001928></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001929></TABLE
1930><P
1931></P
1932></DIV
1933></DIV
1934><HR><DIV
1935CLASS="REFSECT2"
1936><A
Daniel Veillard52dcab32001-10-30 12:51:17 +00001937NAME="AEN25405"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001938></A
1939><H3
1940><A
1941NAME="XMLSHELLCTXT"
1942></A
1943>struct xmlShellCtxt</H3
1944><TABLE
1945BORDER="0"
1946BGCOLOR="#D6E8FF"
1947WIDTH="100%"
1948CELLPADDING="6"
1949><TR
1950><TD
1951><PRE
1952CLASS="PROGRAMLISTING"
1953>struct xmlShellCtxt {
1954 char *filename;
1955 xmlDocPtr doc;
1956 xmlNodePtr node;
1957 xmlXPathContextPtr pctxt;
1958 int loaded;
1959 FILE *output;
1960 xmlShellReadlineFunc input;
1961};</PRE
1962></TD
1963></TR
1964></TABLE
1965><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001966>A debugging shell context
1967TODO: add the defined function tables.</P
1968><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001969></P
1970></DIV
1971><HR><DIV
1972CLASS="REFSECT2"
1973><A
Daniel Veillard52dcab32001-10-30 12:51:17 +00001974NAME="AEN25411"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001975></A
1976><H3
1977><A
1978NAME="XMLSHELLCTXTPTR"
1979></A
1980>xmlShellCtxtPtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001981><TABLE
1982BORDER="0"
1983BGCOLOR="#D6E8FF"
1984WIDTH="100%"
1985CELLPADDING="6"
1986><TR
1987><TD
1988><PRE
1989CLASS="PROGRAMLISTING"
1990>typedef xmlShellCtxt *xmlShellCtxtPtr;</PRE
1991></TD
1992></TR
1993></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001994><P
1995></P
1996></DIV
1997><HR><DIV
1998CLASS="REFSECT2"
1999><A
Daniel Veillard52dcab32001-10-30 12:51:17 +00002000NAME="AEN25416"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002001></A
2002><H3
2003><A
2004NAME="XMLSHELLCMD"
2005></A
2006>xmlShellCmd ()</H3
2007><TABLE
2008BORDER="0"
2009BGCOLOR="#D6E8FF"
2010WIDTH="100%"
2011CELLPADDING="6"
2012><TR
2013><TD
2014><PRE
2015CLASS="PROGRAMLISTING"
2016>int (*xmlShellCmd) (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002017HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002018>xmlShellCtxtPtr</A
2019> ctxt,
2020 char *arg,
2021 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002022HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002023>xmlNodePtr</A
2024> node,
2025 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002026HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002027>xmlNodePtr</A
2028> node2);</PRE
2029></TD
2030></TR
2031></TABLE
2032><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002033>This is a generic signature for the XML shell functions</P
2034><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002035></P
2036><DIV
2037CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002038><A
Daniel Veillard52dcab32001-10-30 12:51:17 +00002039NAME="AEN25425"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002040></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002041><P
2042></P
2043><TABLE
2044BORDER="0"
2045WIDTH="100%"
2046BGCOLOR="#FFD0D0"
2047CELLSPACING="0"
2048CELLPADDING="4"
2049CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002050><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002051><TR
2052><TD
2053WIDTH="20%"
2054ALIGN="RIGHT"
2055VALIGN="TOP"
2056><TT
2057CLASS="PARAMETER"
2058><I
2059>ctxt</I
2060></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002061>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002062><TD
2063WIDTH="80%"
2064ALIGN="LEFT"
2065VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002066> a shell context</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002067></TR
2068><TR
2069><TD
2070WIDTH="20%"
2071ALIGN="RIGHT"
2072VALIGN="TOP"
2073><TT
2074CLASS="PARAMETER"
2075><I
2076>arg</I
2077></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002078>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002079><TD
2080WIDTH="80%"
2081ALIGN="LEFT"
2082VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002083> a string argument</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002084></TR
2085><TR
2086><TD
2087WIDTH="20%"
2088ALIGN="RIGHT"
2089VALIGN="TOP"
2090><TT
2091CLASS="PARAMETER"
2092><I
2093>node</I
2094></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002095>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002096><TD
2097WIDTH="80%"
2098ALIGN="LEFT"
2099VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002100> a first node</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002101></TR
2102><TR
2103><TD
2104WIDTH="20%"
2105ALIGN="RIGHT"
2106VALIGN="TOP"
2107><TT
2108CLASS="PARAMETER"
2109><I
2110>node2</I
2111></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002112>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002113><TD
2114WIDTH="80%"
2115ALIGN="LEFT"
2116VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002117> a second node</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002118></TR
2119><TR
2120><TD
2121WIDTH="20%"
2122ALIGN="RIGHT"
2123VALIGN="TOP"
2124><I
2125CLASS="EMPHASIS"
2126>Returns</I
2127> :</TD
2128><TD
2129WIDTH="80%"
2130ALIGN="LEFT"
2131VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002132>an int, negative returns indicating errors</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002133></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002134></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002135></TABLE
2136><P
2137></P
2138></DIV
2139></DIV
2140><HR><DIV
2141CLASS="REFSECT2"
2142><A
Daniel Veillard52dcab32001-10-30 12:51:17 +00002143NAME="AEN25450"
2144></A
2145><H3
2146><A
2147NAME="XMLSHELLPRINTXPATHERROR"
2148></A
2149>xmlShellPrintXPathError ()</H3
2150><TABLE
2151BORDER="0"
2152BGCOLOR="#D6E8FF"
2153WIDTH="100%"
2154CELLPADDING="6"
2155><TR
2156><TD
2157><PRE
2158CLASS="PROGRAMLISTING"
2159>void xmlShellPrintXPathError (int errorType,
2160 const char *arg);</PRE
2161></TD
2162></TR
2163></TABLE
2164><P
2165></P
2166><DIV
2167CLASS="INFORMALTABLE"
2168><A
2169NAME="AEN25455"
2170></A
2171><P
2172></P
2173><TABLE
2174BORDER="0"
2175WIDTH="100%"
2176BGCOLOR="#FFD0D0"
2177CELLSPACING="0"
2178CELLPADDING="4"
2179CLASS="CALSTABLE"
2180><TBODY
2181><TR
2182><TD
2183WIDTH="20%"
2184ALIGN="RIGHT"
2185VALIGN="TOP"
2186><TT
2187CLASS="PARAMETER"
2188><I
2189>errorType</I
2190></TT
2191>&nbsp;:</TD
2192><TD
2193WIDTH="80%"
2194ALIGN="LEFT"
2195VALIGN="TOP"
2196>&nbsp;</TD
2197></TR
2198><TR
2199><TD
2200WIDTH="20%"
2201ALIGN="RIGHT"
2202VALIGN="TOP"
2203><TT
2204CLASS="PARAMETER"
2205><I
2206>arg</I
2207></TT
2208>&nbsp;:</TD
2209><TD
2210WIDTH="80%"
2211ALIGN="LEFT"
2212VALIGN="TOP"
2213>&nbsp;</TD
2214></TR
2215></TBODY
2216></TABLE
2217><P
2218></P
2219></DIV
2220></DIV
2221><HR><DIV
2222CLASS="REFSECT2"
2223><A
2224NAME="AEN25468"
2225></A
2226><H3
2227><A
2228NAME="XMLSHELLPRINTNODE"
2229></A
2230>xmlShellPrintNode ()</H3
2231><TABLE
2232BORDER="0"
2233BGCOLOR="#D6E8FF"
2234WIDTH="100%"
2235CELLPADDING="6"
2236><TR
2237><TD
2238><PRE
2239CLASS="PROGRAMLISTING"
2240>void xmlShellPrintNode (<A
2241HREF="libxml-tree.html#XMLNODEPTR"
2242>xmlNodePtr</A
2243> node);</PRE
2244></TD
2245></TR
2246></TABLE
2247><P
2248>Print node to stdout</P
2249><P
2250></P
2251><DIV
2252CLASS="INFORMALTABLE"
2253><A
2254NAME="AEN25475"
2255></A
2256><P
2257></P
2258><TABLE
2259BORDER="0"
2260WIDTH="100%"
2261BGCOLOR="#FFD0D0"
2262CELLSPACING="0"
2263CELLPADDING="4"
2264CLASS="CALSTABLE"
2265><TBODY
2266><TR
2267><TD
2268WIDTH="20%"
2269ALIGN="RIGHT"
2270VALIGN="TOP"
2271><TT
2272CLASS="PARAMETER"
2273><I
2274>node</I
2275></TT
2276>&nbsp;:</TD
2277><TD
2278WIDTH="80%"
2279ALIGN="LEFT"
2280VALIGN="TOP"
2281> a non-null node to print to stdout</TD
2282></TR
2283></TBODY
2284></TABLE
2285><P
2286></P
2287></DIV
2288></DIV
2289><HR><DIV
2290CLASS="REFSECT2"
2291><A
2292NAME="AEN25484"
2293></A
2294><H3
2295><A
2296NAME="XMLSHELLPRINTXPATHRESULT"
2297></A
2298>xmlShellPrintXPathResult ()</H3
2299><TABLE
2300BORDER="0"
2301BGCOLOR="#D6E8FF"
2302WIDTH="100%"
2303CELLPADDING="6"
2304><TR
2305><TD
2306><PRE
2307CLASS="PROGRAMLISTING"
2308>void xmlShellPrintXPathResult (<A
2309HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
2310>xmlXPathObjectPtr</A
2311> list);</PRE
2312></TD
2313></TR
2314></TABLE
2315><P
2316>Prints result to stdout</P
2317><P
2318></P
2319><DIV
2320CLASS="INFORMALTABLE"
2321><A
2322NAME="AEN25491"
2323></A
2324><P
2325></P
2326><TABLE
2327BORDER="0"
2328WIDTH="100%"
2329BGCOLOR="#FFD0D0"
2330CELLSPACING="0"
2331CELLPADDING="4"
2332CLASS="CALSTABLE"
2333><TBODY
2334><TR
2335><TD
2336WIDTH="20%"
2337ALIGN="RIGHT"
2338VALIGN="TOP"
2339><TT
2340CLASS="PARAMETER"
2341><I
2342>list</I
2343></TT
2344>&nbsp;:</TD
2345><TD
2346WIDTH="80%"
2347ALIGN="LEFT"
2348VALIGN="TOP"
2349>&nbsp;</TD
2350></TR
2351></TBODY
2352></TABLE
2353><P
2354></P
2355></DIV
2356></DIV
2357><HR><DIV
2358CLASS="REFSECT2"
2359><A
2360NAME="AEN25500"
2361></A
2362><H3
2363><A
2364NAME="XMLSHELLLIST"
2365></A
2366>xmlShellList ()</H3
2367><TABLE
2368BORDER="0"
2369BGCOLOR="#D6E8FF"
2370WIDTH="100%"
2371CELLPADDING="6"
2372><TR
2373><TD
2374><PRE
2375CLASS="PROGRAMLISTING"
2376>int xmlShellList (<A
2377HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
2378>xmlShellCtxtPtr</A
2379> ctxt,
2380 char *arg,
2381 <A
2382HREF="libxml-tree.html#XMLNODEPTR"
2383>xmlNodePtr</A
2384> node,
2385 <A
2386HREF="libxml-tree.html#XMLNODEPTR"
2387>xmlNodePtr</A
2388> node2);</PRE
2389></TD
2390></TR
2391></TABLE
2392><P
2393>Implements the XML shell function "ls"
2394Does an Unix like listing of the given node (like a directory)</P
2395><P
2396></P
2397><DIV
2398CLASS="INFORMALTABLE"
2399><A
2400NAME="AEN25509"
2401></A
2402><P
2403></P
2404><TABLE
2405BORDER="0"
2406WIDTH="100%"
2407BGCOLOR="#FFD0D0"
2408CELLSPACING="0"
2409CELLPADDING="4"
2410CLASS="CALSTABLE"
2411><TBODY
2412><TR
2413><TD
2414WIDTH="20%"
2415ALIGN="RIGHT"
2416VALIGN="TOP"
2417><TT
2418CLASS="PARAMETER"
2419><I
2420>ctxt</I
2421></TT
2422>&nbsp;:</TD
2423><TD
2424WIDTH="80%"
2425ALIGN="LEFT"
2426VALIGN="TOP"
2427> the shell context</TD
2428></TR
2429><TR
2430><TD
2431WIDTH="20%"
2432ALIGN="RIGHT"
2433VALIGN="TOP"
2434><TT
2435CLASS="PARAMETER"
2436><I
2437>arg</I
2438></TT
2439>&nbsp;:</TD
2440><TD
2441WIDTH="80%"
2442ALIGN="LEFT"
2443VALIGN="TOP"
2444> unused</TD
2445></TR
2446><TR
2447><TD
2448WIDTH="20%"
2449ALIGN="RIGHT"
2450VALIGN="TOP"
2451><TT
2452CLASS="PARAMETER"
2453><I
2454>node</I
2455></TT
2456>&nbsp;:</TD
2457><TD
2458WIDTH="80%"
2459ALIGN="LEFT"
2460VALIGN="TOP"
2461> a node</TD
2462></TR
2463><TR
2464><TD
2465WIDTH="20%"
2466ALIGN="RIGHT"
2467VALIGN="TOP"
2468><TT
2469CLASS="PARAMETER"
2470><I
2471>node2</I
2472></TT
2473>&nbsp;:</TD
2474><TD
2475WIDTH="80%"
2476ALIGN="LEFT"
2477VALIGN="TOP"
2478> unused</TD
2479></TR
2480><TR
2481><TD
2482WIDTH="20%"
2483ALIGN="RIGHT"
2484VALIGN="TOP"
2485><I
2486CLASS="EMPHASIS"
2487>Returns</I
2488> :</TD
2489><TD
2490WIDTH="80%"
2491ALIGN="LEFT"
2492VALIGN="TOP"
2493>0</TD
2494></TR
2495></TBODY
2496></TABLE
2497><P
2498></P
2499></DIV
2500></DIV
2501><HR><DIV
2502CLASS="REFSECT2"
2503><A
2504NAME="AEN25534"
2505></A
2506><H3
2507><A
2508NAME="XMLSHELLBASE"
2509></A
2510>xmlShellBase ()</H3
2511><TABLE
2512BORDER="0"
2513BGCOLOR="#D6E8FF"
2514WIDTH="100%"
2515CELLPADDING="6"
2516><TR
2517><TD
2518><PRE
2519CLASS="PROGRAMLISTING"
2520>int xmlShellBase (<A
2521HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
2522>xmlShellCtxtPtr</A
2523> ctxt,
2524 char *arg,
2525 <A
2526HREF="libxml-tree.html#XMLNODEPTR"
2527>xmlNodePtr</A
2528> node,
2529 <A
2530HREF="libxml-tree.html#XMLNODEPTR"
2531>xmlNodePtr</A
2532> node2);</PRE
2533></TD
2534></TR
2535></TABLE
2536><P
2537>Implements the XML shell function "base"
2538dumps the current XML base of the node</P
2539><P
2540></P
2541><DIV
2542CLASS="INFORMALTABLE"
2543><A
2544NAME="AEN25543"
2545></A
2546><P
2547></P
2548><TABLE
2549BORDER="0"
2550WIDTH="100%"
2551BGCOLOR="#FFD0D0"
2552CELLSPACING="0"
2553CELLPADDING="4"
2554CLASS="CALSTABLE"
2555><TBODY
2556><TR
2557><TD
2558WIDTH="20%"
2559ALIGN="RIGHT"
2560VALIGN="TOP"
2561><TT
2562CLASS="PARAMETER"
2563><I
2564>ctxt</I
2565></TT
2566>&nbsp;:</TD
2567><TD
2568WIDTH="80%"
2569ALIGN="LEFT"
2570VALIGN="TOP"
2571> the shell context</TD
2572></TR
2573><TR
2574><TD
2575WIDTH="20%"
2576ALIGN="RIGHT"
2577VALIGN="TOP"
2578><TT
2579CLASS="PARAMETER"
2580><I
2581>arg</I
2582></TT
2583>&nbsp;:</TD
2584><TD
2585WIDTH="80%"
2586ALIGN="LEFT"
2587VALIGN="TOP"
2588> unused</TD
2589></TR
2590><TR
2591><TD
2592WIDTH="20%"
2593ALIGN="RIGHT"
2594VALIGN="TOP"
2595><TT
2596CLASS="PARAMETER"
2597><I
2598>node</I
2599></TT
2600>&nbsp;:</TD
2601><TD
2602WIDTH="80%"
2603ALIGN="LEFT"
2604VALIGN="TOP"
2605> a node</TD
2606></TR
2607><TR
2608><TD
2609WIDTH="20%"
2610ALIGN="RIGHT"
2611VALIGN="TOP"
2612><TT
2613CLASS="PARAMETER"
2614><I
2615>node2</I
2616></TT
2617>&nbsp;:</TD
2618><TD
2619WIDTH="80%"
2620ALIGN="LEFT"
2621VALIGN="TOP"
2622> unused</TD
2623></TR
2624><TR
2625><TD
2626WIDTH="20%"
2627ALIGN="RIGHT"
2628VALIGN="TOP"
2629><I
2630CLASS="EMPHASIS"
2631>Returns</I
2632> :</TD
2633><TD
2634WIDTH="80%"
2635ALIGN="LEFT"
2636VALIGN="TOP"
2637>0</TD
2638></TR
2639></TBODY
2640></TABLE
2641><P
2642></P
2643></DIV
2644></DIV
2645><HR><DIV
2646CLASS="REFSECT2"
2647><A
2648NAME="AEN25568"
2649></A
2650><H3
2651><A
2652NAME="XMLSHELLDIR"
2653></A
2654>xmlShellDir ()</H3
2655><TABLE
2656BORDER="0"
2657BGCOLOR="#D6E8FF"
2658WIDTH="100%"
2659CELLPADDING="6"
2660><TR
2661><TD
2662><PRE
2663CLASS="PROGRAMLISTING"
2664>int xmlShellDir (<A
2665HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
2666>xmlShellCtxtPtr</A
2667> ctxt,
2668 char *arg,
2669 <A
2670HREF="libxml-tree.html#XMLNODEPTR"
2671>xmlNodePtr</A
2672> node,
2673 <A
2674HREF="libxml-tree.html#XMLNODEPTR"
2675>xmlNodePtr</A
2676> node2);</PRE
2677></TD
2678></TR
2679></TABLE
2680><P
2681>Implements the XML shell function "dir"
2682dumps informations about the node (namespace, attributes, content).</P
2683><P
2684></P
2685><DIV
2686CLASS="INFORMALTABLE"
2687><A
2688NAME="AEN25577"
2689></A
2690><P
2691></P
2692><TABLE
2693BORDER="0"
2694WIDTH="100%"
2695BGCOLOR="#FFD0D0"
2696CELLSPACING="0"
2697CELLPADDING="4"
2698CLASS="CALSTABLE"
2699><TBODY
2700><TR
2701><TD
2702WIDTH="20%"
2703ALIGN="RIGHT"
2704VALIGN="TOP"
2705><TT
2706CLASS="PARAMETER"
2707><I
2708>ctxt</I
2709></TT
2710>&nbsp;:</TD
2711><TD
2712WIDTH="80%"
2713ALIGN="LEFT"
2714VALIGN="TOP"
2715> the shell context</TD
2716></TR
2717><TR
2718><TD
2719WIDTH="20%"
2720ALIGN="RIGHT"
2721VALIGN="TOP"
2722><TT
2723CLASS="PARAMETER"
2724><I
2725>arg</I
2726></TT
2727>&nbsp;:</TD
2728><TD
2729WIDTH="80%"
2730ALIGN="LEFT"
2731VALIGN="TOP"
2732> unused</TD
2733></TR
2734><TR
2735><TD
2736WIDTH="20%"
2737ALIGN="RIGHT"
2738VALIGN="TOP"
2739><TT
2740CLASS="PARAMETER"
2741><I
2742>node</I
2743></TT
2744>&nbsp;:</TD
2745><TD
2746WIDTH="80%"
2747ALIGN="LEFT"
2748VALIGN="TOP"
2749> a node</TD
2750></TR
2751><TR
2752><TD
2753WIDTH="20%"
2754ALIGN="RIGHT"
2755VALIGN="TOP"
2756><TT
2757CLASS="PARAMETER"
2758><I
2759>node2</I
2760></TT
2761>&nbsp;:</TD
2762><TD
2763WIDTH="80%"
2764ALIGN="LEFT"
2765VALIGN="TOP"
2766> unused</TD
2767></TR
2768><TR
2769><TD
2770WIDTH="20%"
2771ALIGN="RIGHT"
2772VALIGN="TOP"
2773><I
2774CLASS="EMPHASIS"
2775>Returns</I
2776> :</TD
2777><TD
2778WIDTH="80%"
2779ALIGN="LEFT"
2780VALIGN="TOP"
2781>0</TD
2782></TR
2783></TBODY
2784></TABLE
2785><P
2786></P
2787></DIV
2788></DIV
2789><HR><DIV
2790CLASS="REFSECT2"
2791><A
2792NAME="AEN25602"
2793></A
2794><H3
2795><A
2796NAME="XMLSHELLCAT"
2797></A
2798>xmlShellCat ()</H3
2799><TABLE
2800BORDER="0"
2801BGCOLOR="#D6E8FF"
2802WIDTH="100%"
2803CELLPADDING="6"
2804><TR
2805><TD
2806><PRE
2807CLASS="PROGRAMLISTING"
2808>int xmlShellCat (<A
2809HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
2810>xmlShellCtxtPtr</A
2811> ctxt,
2812 char *arg,
2813 <A
2814HREF="libxml-tree.html#XMLNODEPTR"
2815>xmlNodePtr</A
2816> node,
2817 <A
2818HREF="libxml-tree.html#XMLNODEPTR"
2819>xmlNodePtr</A
2820> node2);</PRE
2821></TD
2822></TR
2823></TABLE
2824><P
2825>Implements the XML shell function "cat"
2826dumps the serialization node content (XML or HTML).</P
2827><P
2828></P
2829><DIV
2830CLASS="INFORMALTABLE"
2831><A
2832NAME="AEN25611"
2833></A
2834><P
2835></P
2836><TABLE
2837BORDER="0"
2838WIDTH="100%"
2839BGCOLOR="#FFD0D0"
2840CELLSPACING="0"
2841CELLPADDING="4"
2842CLASS="CALSTABLE"
2843><TBODY
2844><TR
2845><TD
2846WIDTH="20%"
2847ALIGN="RIGHT"
2848VALIGN="TOP"
2849><TT
2850CLASS="PARAMETER"
2851><I
2852>ctxt</I
2853></TT
2854>&nbsp;:</TD
2855><TD
2856WIDTH="80%"
2857ALIGN="LEFT"
2858VALIGN="TOP"
2859> the shell context</TD
2860></TR
2861><TR
2862><TD
2863WIDTH="20%"
2864ALIGN="RIGHT"
2865VALIGN="TOP"
2866><TT
2867CLASS="PARAMETER"
2868><I
2869>arg</I
2870></TT
2871>&nbsp;:</TD
2872><TD
2873WIDTH="80%"
2874ALIGN="LEFT"
2875VALIGN="TOP"
2876> unused</TD
2877></TR
2878><TR
2879><TD
2880WIDTH="20%"
2881ALIGN="RIGHT"
2882VALIGN="TOP"
2883><TT
2884CLASS="PARAMETER"
2885><I
2886>node</I
2887></TT
2888>&nbsp;:</TD
2889><TD
2890WIDTH="80%"
2891ALIGN="LEFT"
2892VALIGN="TOP"
2893> a node</TD
2894></TR
2895><TR
2896><TD
2897WIDTH="20%"
2898ALIGN="RIGHT"
2899VALIGN="TOP"
2900><TT
2901CLASS="PARAMETER"
2902><I
2903>node2</I
2904></TT
2905>&nbsp;:</TD
2906><TD
2907WIDTH="80%"
2908ALIGN="LEFT"
2909VALIGN="TOP"
2910> unused</TD
2911></TR
2912><TR
2913><TD
2914WIDTH="20%"
2915ALIGN="RIGHT"
2916VALIGN="TOP"
2917><I
2918CLASS="EMPHASIS"
2919>Returns</I
2920> :</TD
2921><TD
2922WIDTH="80%"
2923ALIGN="LEFT"
2924VALIGN="TOP"
2925>0</TD
2926></TR
2927></TBODY
2928></TABLE
2929><P
2930></P
2931></DIV
2932></DIV
2933><HR><DIV
2934CLASS="REFSECT2"
2935><A
2936NAME="AEN25636"
2937></A
2938><H3
2939><A
2940NAME="XMLSHELLLOAD"
2941></A
2942>xmlShellLoad ()</H3
2943><TABLE
2944BORDER="0"
2945BGCOLOR="#D6E8FF"
2946WIDTH="100%"
2947CELLPADDING="6"
2948><TR
2949><TD
2950><PRE
2951CLASS="PROGRAMLISTING"
2952>int xmlShellLoad (<A
2953HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
2954>xmlShellCtxtPtr</A
2955> ctxt,
2956 char *filename,
2957 <A
2958HREF="libxml-tree.html#XMLNODEPTR"
2959>xmlNodePtr</A
2960> node,
2961 <A
2962HREF="libxml-tree.html#XMLNODEPTR"
2963>xmlNodePtr</A
2964> node2);</PRE
2965></TD
2966></TR
2967></TABLE
2968><P
2969>Implements the XML shell function "load"
2970loads a new document specified by the filename</P
2971><P
2972></P
2973><DIV
2974CLASS="INFORMALTABLE"
2975><A
2976NAME="AEN25645"
2977></A
2978><P
2979></P
2980><TABLE
2981BORDER="0"
2982WIDTH="100%"
2983BGCOLOR="#FFD0D0"
2984CELLSPACING="0"
2985CELLPADDING="4"
2986CLASS="CALSTABLE"
2987><TBODY
2988><TR
2989><TD
2990WIDTH="20%"
2991ALIGN="RIGHT"
2992VALIGN="TOP"
2993><TT
2994CLASS="PARAMETER"
2995><I
2996>ctxt</I
2997></TT
2998>&nbsp;:</TD
2999><TD
3000WIDTH="80%"
3001ALIGN="LEFT"
3002VALIGN="TOP"
3003> the shell context</TD
3004></TR
3005><TR
3006><TD
3007WIDTH="20%"
3008ALIGN="RIGHT"
3009VALIGN="TOP"
3010><TT
3011CLASS="PARAMETER"
3012><I
3013>filename</I
3014></TT
3015>&nbsp;:</TD
3016><TD
3017WIDTH="80%"
3018ALIGN="LEFT"
3019VALIGN="TOP"
3020> the file name</TD
3021></TR
3022><TR
3023><TD
3024WIDTH="20%"
3025ALIGN="RIGHT"
3026VALIGN="TOP"
3027><TT
3028CLASS="PARAMETER"
3029><I
3030>node</I
3031></TT
3032>&nbsp;:</TD
3033><TD
3034WIDTH="80%"
3035ALIGN="LEFT"
3036VALIGN="TOP"
3037> unused</TD
3038></TR
3039><TR
3040><TD
3041WIDTH="20%"
3042ALIGN="RIGHT"
3043VALIGN="TOP"
3044><TT
3045CLASS="PARAMETER"
3046><I
3047>node2</I
3048></TT
3049>&nbsp;:</TD
3050><TD
3051WIDTH="80%"
3052ALIGN="LEFT"
3053VALIGN="TOP"
3054> unused</TD
3055></TR
3056><TR
3057><TD
3058WIDTH="20%"
3059ALIGN="RIGHT"
3060VALIGN="TOP"
3061><I
3062CLASS="EMPHASIS"
3063>Returns</I
3064> :</TD
3065><TD
3066WIDTH="80%"
3067ALIGN="LEFT"
3068VALIGN="TOP"
3069>0 or -1 if loading failed</TD
3070></TR
3071></TBODY
3072></TABLE
3073><P
3074></P
3075></DIV
3076></DIV
3077><HR><DIV
3078CLASS="REFSECT2"
3079><A
3080NAME="AEN25670"
3081></A
3082><H3
3083><A
3084NAME="XMLSHELLWRITE"
3085></A
3086>xmlShellWrite ()</H3
3087><TABLE
3088BORDER="0"
3089BGCOLOR="#D6E8FF"
3090WIDTH="100%"
3091CELLPADDING="6"
3092><TR
3093><TD
3094><PRE
3095CLASS="PROGRAMLISTING"
3096>int xmlShellWrite (<A
3097HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
3098>xmlShellCtxtPtr</A
3099> ctxt,
3100 char *filename,
3101 <A
3102HREF="libxml-tree.html#XMLNODEPTR"
3103>xmlNodePtr</A
3104> node,
3105 <A
3106HREF="libxml-tree.html#XMLNODEPTR"
3107>xmlNodePtr</A
3108> node2);</PRE
3109></TD
3110></TR
3111></TABLE
3112><P
3113>Implements the XML shell function "write"
3114Write the current node to the filename, it saves the serailization
3115of the subtree under the <TT
3116CLASS="PARAMETER"
3117><I
3118>node</I
3119></TT
3120> specified</P
3121><P
3122></P
3123><DIV
3124CLASS="INFORMALTABLE"
3125><A
3126NAME="AEN25680"
3127></A
3128><P
3129></P
3130><TABLE
3131BORDER="0"
3132WIDTH="100%"
3133BGCOLOR="#FFD0D0"
3134CELLSPACING="0"
3135CELLPADDING="4"
3136CLASS="CALSTABLE"
3137><TBODY
3138><TR
3139><TD
3140WIDTH="20%"
3141ALIGN="RIGHT"
3142VALIGN="TOP"
3143><TT
3144CLASS="PARAMETER"
3145><I
3146>ctxt</I
3147></TT
3148>&nbsp;:</TD
3149><TD
3150WIDTH="80%"
3151ALIGN="LEFT"
3152VALIGN="TOP"
3153> the shell context</TD
3154></TR
3155><TR
3156><TD
3157WIDTH="20%"
3158ALIGN="RIGHT"
3159VALIGN="TOP"
3160><TT
3161CLASS="PARAMETER"
3162><I
3163>filename</I
3164></TT
3165>&nbsp;:</TD
3166><TD
3167WIDTH="80%"
3168ALIGN="LEFT"
3169VALIGN="TOP"
3170> the file name</TD
3171></TR
3172><TR
3173><TD
3174WIDTH="20%"
3175ALIGN="RIGHT"
3176VALIGN="TOP"
3177><TT
3178CLASS="PARAMETER"
3179><I
3180>node</I
3181></TT
3182>&nbsp;:</TD
3183><TD
3184WIDTH="80%"
3185ALIGN="LEFT"
3186VALIGN="TOP"
3187> a node in the tree</TD
3188></TR
3189><TR
3190><TD
3191WIDTH="20%"
3192ALIGN="RIGHT"
3193VALIGN="TOP"
3194><TT
3195CLASS="PARAMETER"
3196><I
3197>node2</I
3198></TT
3199>&nbsp;:</TD
3200><TD
3201WIDTH="80%"
3202ALIGN="LEFT"
3203VALIGN="TOP"
3204> unused</TD
3205></TR
3206><TR
3207><TD
3208WIDTH="20%"
3209ALIGN="RIGHT"
3210VALIGN="TOP"
3211><I
3212CLASS="EMPHASIS"
3213>Returns</I
3214> :</TD
3215><TD
3216WIDTH="80%"
3217ALIGN="LEFT"
3218VALIGN="TOP"
3219>0 or -1 in case of error</TD
3220></TR
3221></TBODY
3222></TABLE
3223><P
3224></P
3225></DIV
3226></DIV
3227><HR><DIV
3228CLASS="REFSECT2"
3229><A
3230NAME="AEN25705"
3231></A
3232><H3
3233><A
3234NAME="XMLSHELLSAVE"
3235></A
3236>xmlShellSave ()</H3
3237><TABLE
3238BORDER="0"
3239BGCOLOR="#D6E8FF"
3240WIDTH="100%"
3241CELLPADDING="6"
3242><TR
3243><TD
3244><PRE
3245CLASS="PROGRAMLISTING"
3246>int xmlShellSave (<A
3247HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
3248>xmlShellCtxtPtr</A
3249> ctxt,
3250 char *filename,
3251 <A
3252HREF="libxml-tree.html#XMLNODEPTR"
3253>xmlNodePtr</A
3254> node,
3255 <A
3256HREF="libxml-tree.html#XMLNODEPTR"
3257>xmlNodePtr</A
3258> node2);</PRE
3259></TD
3260></TR
3261></TABLE
3262><P
3263>Implements the XML shell function "save"
3264Write the current document to the filename, or it's original name</P
3265><P
3266></P
3267><DIV
3268CLASS="INFORMALTABLE"
3269><A
3270NAME="AEN25714"
3271></A
3272><P
3273></P
3274><TABLE
3275BORDER="0"
3276WIDTH="100%"
3277BGCOLOR="#FFD0D0"
3278CELLSPACING="0"
3279CELLPADDING="4"
3280CLASS="CALSTABLE"
3281><TBODY
3282><TR
3283><TD
3284WIDTH="20%"
3285ALIGN="RIGHT"
3286VALIGN="TOP"
3287><TT
3288CLASS="PARAMETER"
3289><I
3290>ctxt</I
3291></TT
3292>&nbsp;:</TD
3293><TD
3294WIDTH="80%"
3295ALIGN="LEFT"
3296VALIGN="TOP"
3297> the shell context</TD
3298></TR
3299><TR
3300><TD
3301WIDTH="20%"
3302ALIGN="RIGHT"
3303VALIGN="TOP"
3304><TT
3305CLASS="PARAMETER"
3306><I
3307>filename</I
3308></TT
3309>&nbsp;:</TD
3310><TD
3311WIDTH="80%"
3312ALIGN="LEFT"
3313VALIGN="TOP"
3314> the file name (optionnal)</TD
3315></TR
3316><TR
3317><TD
3318WIDTH="20%"
3319ALIGN="RIGHT"
3320VALIGN="TOP"
3321><TT
3322CLASS="PARAMETER"
3323><I
3324>node</I
3325></TT
3326>&nbsp;:</TD
3327><TD
3328WIDTH="80%"
3329ALIGN="LEFT"
3330VALIGN="TOP"
3331> unused</TD
3332></TR
3333><TR
3334><TD
3335WIDTH="20%"
3336ALIGN="RIGHT"
3337VALIGN="TOP"
3338><TT
3339CLASS="PARAMETER"
3340><I
3341>node2</I
3342></TT
3343>&nbsp;:</TD
3344><TD
3345WIDTH="80%"
3346ALIGN="LEFT"
3347VALIGN="TOP"
3348> unused</TD
3349></TR
3350><TR
3351><TD
3352WIDTH="20%"
3353ALIGN="RIGHT"
3354VALIGN="TOP"
3355><I
3356CLASS="EMPHASIS"
3357>Returns</I
3358> :</TD
3359><TD
3360WIDTH="80%"
3361ALIGN="LEFT"
3362VALIGN="TOP"
3363>0 or -1 in case of error</TD
3364></TR
3365></TBODY
3366></TABLE
3367><P
3368></P
3369></DIV
3370></DIV
3371><HR><DIV
3372CLASS="REFSECT2"
3373><A
3374NAME="AEN25739"
3375></A
3376><H3
3377><A
3378NAME="XMLSHELLVALIDATE"
3379></A
3380>xmlShellValidate ()</H3
3381><TABLE
3382BORDER="0"
3383BGCOLOR="#D6E8FF"
3384WIDTH="100%"
3385CELLPADDING="6"
3386><TR
3387><TD
3388><PRE
3389CLASS="PROGRAMLISTING"
3390>int xmlShellValidate (<A
3391HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
3392>xmlShellCtxtPtr</A
3393> ctxt,
3394 char *dtd,
3395 <A
3396HREF="libxml-tree.html#XMLNODEPTR"
3397>xmlNodePtr</A
3398> node,
3399 <A
3400HREF="libxml-tree.html#XMLNODEPTR"
3401>xmlNodePtr</A
3402> node2);</PRE
3403></TD
3404></TR
3405></TABLE
3406><P
3407>Implements the XML shell function "validate"
3408Validate the document, if a DTD path is provided, then the validation
3409is done against the given DTD.</P
3410><P
3411></P
3412><DIV
3413CLASS="INFORMALTABLE"
3414><A
3415NAME="AEN25748"
3416></A
3417><P
3418></P
3419><TABLE
3420BORDER="0"
3421WIDTH="100%"
3422BGCOLOR="#FFD0D0"
3423CELLSPACING="0"
3424CELLPADDING="4"
3425CLASS="CALSTABLE"
3426><TBODY
3427><TR
3428><TD
3429WIDTH="20%"
3430ALIGN="RIGHT"
3431VALIGN="TOP"
3432><TT
3433CLASS="PARAMETER"
3434><I
3435>ctxt</I
3436></TT
3437>&nbsp;:</TD
3438><TD
3439WIDTH="80%"
3440ALIGN="LEFT"
3441VALIGN="TOP"
3442> the shell context</TD
3443></TR
3444><TR
3445><TD
3446WIDTH="20%"
3447ALIGN="RIGHT"
3448VALIGN="TOP"
3449><TT
3450CLASS="PARAMETER"
3451><I
3452>dtd</I
3453></TT
3454>&nbsp;:</TD
3455><TD
3456WIDTH="80%"
3457ALIGN="LEFT"
3458VALIGN="TOP"
3459> the DTD URI (optionnal)</TD
3460></TR
3461><TR
3462><TD
3463WIDTH="20%"
3464ALIGN="RIGHT"
3465VALIGN="TOP"
3466><TT
3467CLASS="PARAMETER"
3468><I
3469>node</I
3470></TT
3471>&nbsp;:</TD
3472><TD
3473WIDTH="80%"
3474ALIGN="LEFT"
3475VALIGN="TOP"
3476> unused</TD
3477></TR
3478><TR
3479><TD
3480WIDTH="20%"
3481ALIGN="RIGHT"
3482VALIGN="TOP"
3483><TT
3484CLASS="PARAMETER"
3485><I
3486>node2</I
3487></TT
3488>&nbsp;:</TD
3489><TD
3490WIDTH="80%"
3491ALIGN="LEFT"
3492VALIGN="TOP"
3493> unused</TD
3494></TR
3495><TR
3496><TD
3497WIDTH="20%"
3498ALIGN="RIGHT"
3499VALIGN="TOP"
3500><I
3501CLASS="EMPHASIS"
3502>Returns</I
3503> :</TD
3504><TD
3505WIDTH="80%"
3506ALIGN="LEFT"
3507VALIGN="TOP"
3508>0 or -1 in case of error</TD
3509></TR
3510></TBODY
3511></TABLE
3512><P
3513></P
3514></DIV
3515></DIV
3516><HR><DIV
3517CLASS="REFSECT2"
3518><A
3519NAME="AEN25773"
3520></A
3521><H3
3522><A
3523NAME="XMLSHELLDU"
3524></A
3525>xmlShellDu ()</H3
3526><TABLE
3527BORDER="0"
3528BGCOLOR="#D6E8FF"
3529WIDTH="100%"
3530CELLPADDING="6"
3531><TR
3532><TD
3533><PRE
3534CLASS="PROGRAMLISTING"
3535>int xmlShellDu (<A
3536HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
3537>xmlShellCtxtPtr</A
3538> ctxt,
3539 char *arg,
3540 <A
3541HREF="libxml-tree.html#XMLNODEPTR"
3542>xmlNodePtr</A
3543> tree,
3544 <A
3545HREF="libxml-tree.html#XMLNODEPTR"
3546>xmlNodePtr</A
3547> node2);</PRE
3548></TD
3549></TR
3550></TABLE
3551><P
3552>Implements the XML shell function "du"
3553show the structure of the subtree under node <TT
3554CLASS="PARAMETER"
3555><I
3556>tree</I
3557></TT
3558>
3559If <TT
3560CLASS="PARAMETER"
3561><I
3562>tree</I
3563></TT
3564> is null, the command works on the current node.</P
3565><P
3566></P
3567><DIV
3568CLASS="INFORMALTABLE"
3569><A
3570NAME="AEN25784"
3571></A
3572><P
3573></P
3574><TABLE
3575BORDER="0"
3576WIDTH="100%"
3577BGCOLOR="#FFD0D0"
3578CELLSPACING="0"
3579CELLPADDING="4"
3580CLASS="CALSTABLE"
3581><TBODY
3582><TR
3583><TD
3584WIDTH="20%"
3585ALIGN="RIGHT"
3586VALIGN="TOP"
3587><TT
3588CLASS="PARAMETER"
3589><I
3590>ctxt</I
3591></TT
3592>&nbsp;:</TD
3593><TD
3594WIDTH="80%"
3595ALIGN="LEFT"
3596VALIGN="TOP"
3597> the shell context</TD
3598></TR
3599><TR
3600><TD
3601WIDTH="20%"
3602ALIGN="RIGHT"
3603VALIGN="TOP"
3604><TT
3605CLASS="PARAMETER"
3606><I
3607>arg</I
3608></TT
3609>&nbsp;:</TD
3610><TD
3611WIDTH="80%"
3612ALIGN="LEFT"
3613VALIGN="TOP"
3614> unused</TD
3615></TR
3616><TR
3617><TD
3618WIDTH="20%"
3619ALIGN="RIGHT"
3620VALIGN="TOP"
3621><TT
3622CLASS="PARAMETER"
3623><I
3624>tree</I
3625></TT
3626>&nbsp;:</TD
3627><TD
3628WIDTH="80%"
3629ALIGN="LEFT"
3630VALIGN="TOP"
3631> a node defining a subtree</TD
3632></TR
3633><TR
3634><TD
3635WIDTH="20%"
3636ALIGN="RIGHT"
3637VALIGN="TOP"
3638><TT
3639CLASS="PARAMETER"
3640><I
3641>node2</I
3642></TT
3643>&nbsp;:</TD
3644><TD
3645WIDTH="80%"
3646ALIGN="LEFT"
3647VALIGN="TOP"
3648> unused</TD
3649></TR
3650><TR
3651><TD
3652WIDTH="20%"
3653ALIGN="RIGHT"
3654VALIGN="TOP"
3655><I
3656CLASS="EMPHASIS"
3657>Returns</I
3658> :</TD
3659><TD
3660WIDTH="80%"
3661ALIGN="LEFT"
3662VALIGN="TOP"
3663>0 or -1 in case of error</TD
3664></TR
3665></TBODY
3666></TABLE
3667><P
3668></P
3669></DIV
3670></DIV
3671><HR><DIV
3672CLASS="REFSECT2"
3673><A
3674NAME="AEN25809"
3675></A
3676><H3
3677><A
3678NAME="XMLSHELLPWD"
3679></A
3680>xmlShellPwd ()</H3
3681><TABLE
3682BORDER="0"
3683BGCOLOR="#D6E8FF"
3684WIDTH="100%"
3685CELLPADDING="6"
3686><TR
3687><TD
3688><PRE
3689CLASS="PROGRAMLISTING"
3690>int xmlShellPwd (<A
3691HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
3692>xmlShellCtxtPtr</A
3693> ctxt,
3694 char *buffer,
3695 <A
3696HREF="libxml-tree.html#XMLNODEPTR"
3697>xmlNodePtr</A
3698> node,
3699 <A
3700HREF="libxml-tree.html#XMLNODEPTR"
3701>xmlNodePtr</A
3702> node2);</PRE
3703></TD
3704></TR
3705></TABLE
3706><P
3707>Implements the XML shell function "pwd"
3708Show the full path from the root to the node, if needed building
3709thumblers when similar elements exists at a given ancestor level.
3710The output is compatible with XPath commands.</P
3711><P
3712></P
3713><DIV
3714CLASS="INFORMALTABLE"
3715><A
3716NAME="AEN25818"
3717></A
3718><P
3719></P
3720><TABLE
3721BORDER="0"
3722WIDTH="100%"
3723BGCOLOR="#FFD0D0"
3724CELLSPACING="0"
3725CELLPADDING="4"
3726CLASS="CALSTABLE"
3727><TBODY
3728><TR
3729><TD
3730WIDTH="20%"
3731ALIGN="RIGHT"
3732VALIGN="TOP"
3733><TT
3734CLASS="PARAMETER"
3735><I
3736>ctxt</I
3737></TT
3738>&nbsp;:</TD
3739><TD
3740WIDTH="80%"
3741ALIGN="LEFT"
3742VALIGN="TOP"
3743> the shell context</TD
3744></TR
3745><TR
3746><TD
3747WIDTH="20%"
3748ALIGN="RIGHT"
3749VALIGN="TOP"
3750><TT
3751CLASS="PARAMETER"
3752><I
3753>buffer</I
3754></TT
3755>&nbsp;:</TD
3756><TD
3757WIDTH="80%"
3758ALIGN="LEFT"
3759VALIGN="TOP"
3760> the output buffer</TD
3761></TR
3762><TR
3763><TD
3764WIDTH="20%"
3765ALIGN="RIGHT"
3766VALIGN="TOP"
3767><TT
3768CLASS="PARAMETER"
3769><I
3770>node</I
3771></TT
3772>&nbsp;:</TD
3773><TD
3774WIDTH="80%"
3775ALIGN="LEFT"
3776VALIGN="TOP"
3777>&nbsp;</TD
3778></TR
3779><TR
3780><TD
3781WIDTH="20%"
3782ALIGN="RIGHT"
3783VALIGN="TOP"
3784><TT
3785CLASS="PARAMETER"
3786><I
3787>node2</I
3788></TT
3789>&nbsp;:</TD
3790><TD
3791WIDTH="80%"
3792ALIGN="LEFT"
3793VALIGN="TOP"
3794> unused</TD
3795></TR
3796><TR
3797><TD
3798WIDTH="20%"
3799ALIGN="RIGHT"
3800VALIGN="TOP"
3801><I
3802CLASS="EMPHASIS"
3803>Returns</I
3804> :</TD
3805><TD
3806WIDTH="80%"
3807ALIGN="LEFT"
3808VALIGN="TOP"
3809>0 or -1 in case of error</TD
3810></TR
3811></TBODY
3812></TABLE
3813><P
3814></P
3815></DIV
3816></DIV
3817><HR><DIV
3818CLASS="REFSECT2"
3819><A
3820NAME="AEN25843"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003821></A
3822><H3
3823><A
3824NAME="XMLSHELL"
3825></A
3826>xmlShell ()</H3
3827><TABLE
3828BORDER="0"
3829BGCOLOR="#D6E8FF"
3830WIDTH="100%"
3831CELLPADDING="6"
3832><TR
3833><TD
3834><PRE
3835CLASS="PROGRAMLISTING"
3836>void xmlShell (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003837HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003838>xmlDocPtr</A
3839> doc,
3840 char *filename,
3841 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003842HREF="libxml-debugxml.html#XMLSHELLREADLINEFUNC"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003843>xmlShellReadlineFunc</A
3844> input,
3845 <GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00003846HREF="FILE-CAPS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003847>FILE</GTKDOCLINK
3848> *output);</PRE
3849></TD
3850></TR
3851></TABLE
3852><P
3853>Implements the XML shell
3854This allow to load, validate, view, modify and save a document
3855using a environment similar to a UNIX commandline.</P
3856><P
3857></P
3858><DIV
3859CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003860><A
Daniel Veillard52dcab32001-10-30 12:51:17 +00003861NAME="AEN25852"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003862></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003863><P
3864></P
3865><TABLE
3866BORDER="0"
3867WIDTH="100%"
3868BGCOLOR="#FFD0D0"
3869CELLSPACING="0"
3870CELLPADDING="4"
3871CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003872><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003873><TR
3874><TD
3875WIDTH="20%"
3876ALIGN="RIGHT"
3877VALIGN="TOP"
3878><TT
3879CLASS="PARAMETER"
3880><I
3881>doc</I
3882></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003883>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003884><TD
3885WIDTH="80%"
3886ALIGN="LEFT"
3887VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003888> the initial document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003889></TR
3890><TR
3891><TD
3892WIDTH="20%"
3893ALIGN="RIGHT"
3894VALIGN="TOP"
3895><TT
3896CLASS="PARAMETER"
3897><I
3898>filename</I
3899></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003900>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003901><TD
3902WIDTH="80%"
3903ALIGN="LEFT"
3904VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003905> the output buffer</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003906></TR
3907><TR
3908><TD
3909WIDTH="20%"
3910ALIGN="RIGHT"
3911VALIGN="TOP"
3912><TT
3913CLASS="PARAMETER"
3914><I
3915>input</I
3916></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003917>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003918><TD
3919WIDTH="80%"
3920ALIGN="LEFT"
3921VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003922> the line reading function</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003923></TR
3924><TR
3925><TD
3926WIDTH="20%"
3927ALIGN="RIGHT"
3928VALIGN="TOP"
3929><TT
3930CLASS="PARAMETER"
3931><I
3932>output</I
3933></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003934>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003935><TD
3936WIDTH="80%"
3937ALIGN="LEFT"
3938VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003939> the output FILE*</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003940></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003941></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003942></TABLE
3943><P
3944></P
3945></DIV
3946></DIV
Daniel Veillardaeea04f2000-01-25 19:27:27 +00003947></DIV
3948><DIV
3949CLASS="NAVFOOTER"
3950><BR
3951CLEAR="all"><BR><TABLE
3952WIDTH="100%"
3953BORDER="0"
3954BGCOLOR="#000000"
3955CELLPADDING="1"
3956CELLSPACING="0"
3957><TR
3958><TD
3959WIDTH="25%"
3960BGCOLOR="#C00000"
3961ALIGN="left"
3962><A
Daniel Veillard52dcab32001-10-30 12:51:17 +00003963HREF="libxml-hash.html"
Daniel Veillardaeea04f2000-01-25 19:27:27 +00003964><FONT
3965COLOR="#FFFFFF"
3966SIZE="3"
3967><B
3968>&#60;&#60;&#60; Previous Page</B
3969></FONT
3970></A
3971></TD
3972><TD
3973WIDTH="25%"
3974BGCOLOR="#0000C0"
3975ALIGN="center"
3976><FONT
3977COLOR="#FFFFFF"
3978SIZE="3"
3979><B
3980><A
3981HREF="book1.html"
3982><FONT
3983COLOR="#FFFFFF"
3984SIZE="3"
3985><B
3986>Home</B
3987></FONT
3988></A
3989></B
3990></FONT
3991></TD
3992><TD
3993WIDTH="25%"
3994BGCOLOR="#00C000"
3995ALIGN="center"
3996><FONT
3997COLOR="#FFFFFF"
3998SIZE="3"
3999><B
4000><A
4001HREF="libxml-lib.html"
4002><FONT
4003COLOR="#FFFFFF"
4004SIZE="3"
4005><B
4006>Up</B
4007></FONT
4008></A
4009></B
4010></FONT
4011></TD
4012><TD
4013WIDTH="25%"
4014BGCOLOR="#C00000"
4015ALIGN="right"
4016><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004017HREF="libxml-xmlmemory.html"
Daniel Veillardaeea04f2000-01-25 19:27:27 +00004018><FONT
4019COLOR="#FFFFFF"
4020SIZE="3"
4021><B
4022>Next Page &#62;&#62;&#62;</B
4023></FONT
4024></A
4025></TD
4026></TR
4027><TR
4028><TD
4029COLSPAN="2"
4030ALIGN="left"
4031><FONT
4032COLOR="#FFFFFF"
4033SIZE="3"
4034><B
Daniel Veillard52dcab32001-10-30 12:51:17 +00004035>hash</B
Daniel Veillardaeea04f2000-01-25 19:27:27 +00004036></FONT
4037></TD
4038><TD
4039COLSPAN="2"
4040ALIGN="right"
4041><FONT
4042COLOR="#FFFFFF"
4043SIZE="3"
4044><B
4045>xmlmemory</B
4046></FONT
4047></TD
4048></TR
4049></TABLE
4050></DIV
4051></BODY
4052></HTML
4053>