blob: b57fbd43fbd0d7b2028587706dacc12d936e379a [file] [log] [blame]
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001<HTML
2><HEAD
3><TITLE
4>debugXML</TITLE
5><META
6NAME="GENERATOR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007CONTENT="Modular DocBook HTML Stylesheet Version 1.33"><LINK
Daniel Veillardaeea04f2000-01-25 19:27:27 +00008REL="HOME"
9TITLE="Gnome XML Library Reference Manual"
10HREF="book1.html"><LINK
11REL="UP"
12TITLE="Libxml Library Reference"
13HREF="libxml-lib.html"><LINK
14REL="PREVIOUS"
15TITLE="encoding"
16HREF="gnome-xml-encoding.html"><LINK
17REL="NEXT"
18TITLE="xmlmemory"
19HREF="gnome-xml-xmlmemory.html"></HEAD
20><BODY
21BGCOLOR="#FFFFFF"
22TEXT="#000000"
23><DIV
24CLASS="NAVHEADER"
25><TABLE
26WIDTH="100%"
27BORDER="0"
28BGCOLOR="#000000"
29CELLPADDING="1"
30CELLSPACING="0"
31><TR
32><TH
33COLSPAN="4"
34ALIGN="center"
35><FONT
36COLOR="#FFFFFF"
37SIZE="5"
38>Gnome XML Library Reference Manual</FONT
39></TH
40></TR
41><TR
42><TD
43WIDTH="25%"
44BGCOLOR="#C00000"
45ALIGN="left"
46><A
47HREF="gnome-xml-encoding.html"
48><FONT
49COLOR="#FFFFFF"
50SIZE="3"
51><B
52>&#60;&#60;&#60; Previous Page</B
53></FONT
54></A
55></TD
56><TD
57WIDTH="25%"
58BGCOLOR="#0000C0"
59ALIGN="center"
60><FONT
61COLOR="#FFFFFF"
62SIZE="3"
63><B
64><A
65HREF="book1.html"
66><FONT
67COLOR="#FFFFFF"
68SIZE="3"
69><B
70>Home</B
71></FONT
72></A
73></B
74></FONT
75></TD
76><TD
77WIDTH="25%"
78BGCOLOR="#00C000"
79ALIGN="center"
80><FONT
81COLOR="#FFFFFF"
82SIZE="3"
83><B
84><A
85HREF="libxml-lib.html"
86><FONT
87COLOR="#FFFFFF"
88SIZE="3"
89><B
90>Up</B
91></FONT
92></A
93></B
94></FONT
95></TD
96><TD
97WIDTH="25%"
98BGCOLOR="#C00000"
99ALIGN="right"
100><A
101HREF="gnome-xml-xmlmemory.html"
102><FONT
103COLOR="#FFFFFF"
104SIZE="3"
105><B
106>Next Page &#62;&#62;&#62;</B
107></FONT
108></A
109></TD
110></TR
111></TABLE
112></DIV
113><H1
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000114>debugXML</H1
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000115><DIV
116CLASS="REFNAMEDIV"
117><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +0000118NAME="AEN14749"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000119></A
120><H2
121>Name</H2
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000122>debugXML &#8212; </DIV
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000123><DIV
124CLASS="REFSYNOPSISDIV"
125><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +0000126NAME="AEN14752"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000127></A
128><H2
129>Synopsis</H2
130><TABLE
131BORDER="0"
132BGCOLOR="#D6E8FF"
133WIDTH="100%"
134CELLPADDING="6"
135><TR
136><TD
137><PRE
138CLASS="SYNOPSIS"
139>&#13;
140
141void <A
142HREF="gnome-xml-debugxml.html#XMLDEBUGDUMPSTRING"
143>xmlDebugDumpString</A
144> (<GTKDOCLINK
145HREF="FILE"
146>FILE</GTKDOCLINK
147> *output,
148 const <A
149HREF="gnome-xml-tree.html#XMLCHAR"
150>xmlChar</A
151> *str);
152void <A
153HREF="gnome-xml-debugxml.html#XMLDEBUGDUMPATTR"
154>xmlDebugDumpAttr</A
155> (<GTKDOCLINK
156HREF="FILE"
157>FILE</GTKDOCLINK
158> *output,
159 <A
160HREF="gnome-xml-tree.html#XMLATTRPTR"
161>xmlAttrPtr</A
162> attr,
163 int depth);
164void <A
165HREF="gnome-xml-debugxml.html#XMLDEBUGDUMPATTRLIST"
166>xmlDebugDumpAttrList</A
167> (<GTKDOCLINK
168HREF="FILE"
169>FILE</GTKDOCLINK
170> *output,
171 <A
172HREF="gnome-xml-tree.html#XMLATTRPTR"
173>xmlAttrPtr</A
174> attr,
175 int depth);
176void <A
177HREF="gnome-xml-debugxml.html#XMLDEBUGDUMPONENODE"
178>xmlDebugDumpOneNode</A
179> (<GTKDOCLINK
180HREF="FILE"
181>FILE</GTKDOCLINK
182> *output,
183 <A
184HREF="gnome-xml-tree.html#XMLNODEPTR"
185>xmlNodePtr</A
186> node,
187 int depth);
188void <A
189HREF="gnome-xml-debugxml.html#XMLDEBUGDUMPNODE"
190>xmlDebugDumpNode</A
191> (<GTKDOCLINK
192HREF="FILE"
193>FILE</GTKDOCLINK
194> *output,
195 <A
196HREF="gnome-xml-tree.html#XMLNODEPTR"
197>xmlNodePtr</A
198> node,
199 int depth);
200void <A
201HREF="gnome-xml-debugxml.html#XMLDEBUGDUMPNODELIST"
202>xmlDebugDumpNodeList</A
203> (<GTKDOCLINK
204HREF="FILE"
205>FILE</GTKDOCLINK
206> *output,
207 <A
208HREF="gnome-xml-tree.html#XMLNODEPTR"
209>xmlNodePtr</A
210> node,
211 int depth);
212void <A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000213HREF="gnome-xml-debugxml.html#XMLDEBUGDUMPDOCUMENTHEAD"
214>xmlDebugDumpDocumentHead</A
215> (<GTKDOCLINK
216HREF="FILE"
217>FILE</GTKDOCLINK
218> *output,
219 <A
220HREF="gnome-xml-tree.html#XMLDOCPTR"
221>xmlDocPtr</A
222> doc);
223void <A
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000224HREF="gnome-xml-debugxml.html#XMLDEBUGDUMPDOCUMENT"
225>xmlDebugDumpDocument</A
226> (<GTKDOCLINK
227HREF="FILE"
228>FILE</GTKDOCLINK
229> *output,
230 <A
231HREF="gnome-xml-tree.html#XMLDOCPTR"
232>xmlDocPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000233> doc);
234void <A
235HREF="gnome-xml-debugxml.html#XMLDEBUGDUMPENTITIES"
236>xmlDebugDumpEntities</A
237> (<GTKDOCLINK
238HREF="FILE"
239>FILE</GTKDOCLINK
240> *output,
241 <A
242HREF="gnome-xml-tree.html#XMLDOCPTR"
243>xmlDocPtr</A
244> doc);
245void <A
246HREF="gnome-xml-debugxml.html#XMLLSONENODE"
247>xmlLsOneNode</A
248> (<GTKDOCLINK
249HREF="FILE"
250>FILE</GTKDOCLINK
251> *output,
252 <A
253HREF="gnome-xml-tree.html#XMLNODEPTR"
254>xmlNodePtr</A
255> node);
256char* (<A
257HREF="gnome-xml-debugxml.html#XMLSHELLREADLINEFUNC"
258>*xmlShellReadlineFunc</A
259>) (char *prompt);
260struct <A
261HREF="gnome-xml-debugxml.html#XMLSHELLCTXT"
262>xmlShellCtxt</A
263>;
264typedef <A
265HREF="gnome-xml-debugxml.html#XMLSHELLCTXTPTR"
266>xmlShellCtxtPtr</A
267>;
268int (<A
269HREF="gnome-xml-debugxml.html#XMLSHELLCMD"
270>*xmlShellCmd</A
271>) (<A
272HREF="gnome-xml-debugxml.html#XMLSHELLCTXTPTR"
273>xmlShellCtxtPtr</A
274> ctxt,
275 char *arg,
276 <A
277HREF="gnome-xml-tree.html#XMLNODEPTR"
278>xmlNodePtr</A
279> node,
280 <A
281HREF="gnome-xml-tree.html#XMLNODEPTR"
282>xmlNodePtr</A
283> node2);
284void <A
285HREF="gnome-xml-debugxml.html#XMLSHELL"
286>xmlShell</A
287> (<A
288HREF="gnome-xml-tree.html#XMLDOCPTR"
289>xmlDocPtr</A
290> doc,
291 char *filename,
292 <A
293HREF="gnome-xml-debugxml.html#XMLSHELLREADLINEFUNC"
294>xmlShellReadlineFunc</A
295> input,
296 <GTKDOCLINK
297HREF="FILE"
298>FILE</GTKDOCLINK
299> *output);</PRE
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000300></TD
301></TR
302></TABLE
303></DIV
304><DIV
305CLASS="REFSECT1"
306><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +0000307NAME="AEN14796"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000308></A
309><H2
310>Description</H2
311><P
312></P
313></DIV
314><DIV
315CLASS="REFSECT1"
316><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +0000317NAME="AEN14799"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000318></A
319><H2
320>Details</H2
321><DIV
322CLASS="REFSECT2"
323><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +0000324NAME="AEN14801"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000325></A
326><H3
327><A
328NAME="XMLDEBUGDUMPSTRING"
329></A
330>xmlDebugDumpString ()</H3
331><TABLE
332BORDER="0"
333BGCOLOR="#D6E8FF"
334WIDTH="100%"
335CELLPADDING="6"
336><TR
337><TD
338><PRE
339CLASS="PROGRAMLISTING"
340>void xmlDebugDumpString (<GTKDOCLINK
341HREF="FILE"
342>FILE</GTKDOCLINK
343> *output,
344 const <A
345HREF="gnome-xml-tree.html#XMLCHAR"
346>xmlChar</A
347> *str);</PRE
348></TD
349></TR
350></TABLE
351><P
352></P
353><DIV
354CLASS="INFORMALTABLE"
355><P
356></P
357><TABLE
358BORDER="0"
359WIDTH="100%"
360BGCOLOR="#FFD0D0"
361CELLSPACING="0"
362CELLPADDING="4"
363CLASS="CALSTABLE"
364><TR
365><TD
366WIDTH="20%"
367ALIGN="RIGHT"
368VALIGN="TOP"
369><TT
370CLASS="PARAMETER"
371><I
372>output</I
373></TT
374>&nbsp;:</TD
375><TD
376WIDTH="80%"
377ALIGN="LEFT"
378VALIGN="TOP"
379>&nbsp;</TD
380></TR
381><TR
382><TD
383WIDTH="20%"
384ALIGN="RIGHT"
385VALIGN="TOP"
386><TT
387CLASS="PARAMETER"
388><I
389>str</I
390></TT
391>&nbsp;:</TD
392><TD
393WIDTH="80%"
394ALIGN="LEFT"
395VALIGN="TOP"
396>&nbsp;</TD
397></TR
398></TABLE
399><P
400></P
401></DIV
402></DIV
403><HR><DIV
404CLASS="REFSECT2"
405><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +0000406NAME="AEN14821"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000407></A
408><H3
409><A
410NAME="XMLDEBUGDUMPATTR"
411></A
412>xmlDebugDumpAttr ()</H3
413><TABLE
414BORDER="0"
415BGCOLOR="#D6E8FF"
416WIDTH="100%"
417CELLPADDING="6"
418><TR
419><TD
420><PRE
421CLASS="PROGRAMLISTING"
422>void xmlDebugDumpAttr (<GTKDOCLINK
423HREF="FILE"
424>FILE</GTKDOCLINK
425> *output,
426 <A
427HREF="gnome-xml-tree.html#XMLATTRPTR"
428>xmlAttrPtr</A
429> attr,
430 int depth);</PRE
431></TD
432></TR
433></TABLE
434><P
435></P
436><DIV
437CLASS="INFORMALTABLE"
438><P
439></P
440><TABLE
441BORDER="0"
442WIDTH="100%"
443BGCOLOR="#FFD0D0"
444CELLSPACING="0"
445CELLPADDING="4"
446CLASS="CALSTABLE"
447><TR
448><TD
449WIDTH="20%"
450ALIGN="RIGHT"
451VALIGN="TOP"
452><TT
453CLASS="PARAMETER"
454><I
455>output</I
456></TT
457>&nbsp;:</TD
458><TD
459WIDTH="80%"
460ALIGN="LEFT"
461VALIGN="TOP"
462>&nbsp;</TD
463></TR
464><TR
465><TD
466WIDTH="20%"
467ALIGN="RIGHT"
468VALIGN="TOP"
469><TT
470CLASS="PARAMETER"
471><I
472>attr</I
473></TT
474>&nbsp;:</TD
475><TD
476WIDTH="80%"
477ALIGN="LEFT"
478VALIGN="TOP"
479>&nbsp;</TD
480></TR
481><TR
482><TD
483WIDTH="20%"
484ALIGN="RIGHT"
485VALIGN="TOP"
486><TT
487CLASS="PARAMETER"
488><I
489>depth</I
490></TT
491>&nbsp;:</TD
492><TD
493WIDTH="80%"
494ALIGN="LEFT"
495VALIGN="TOP"
496>&nbsp;</TD
497></TR
498></TABLE
499><P
500></P
501></DIV
502></DIV
503><HR><DIV
504CLASS="REFSECT2"
505><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +0000506NAME="AEN14845"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000507></A
508><H3
509><A
510NAME="XMLDEBUGDUMPATTRLIST"
511></A
512>xmlDebugDumpAttrList ()</H3
513><TABLE
514BORDER="0"
515BGCOLOR="#D6E8FF"
516WIDTH="100%"
517CELLPADDING="6"
518><TR
519><TD
520><PRE
521CLASS="PROGRAMLISTING"
522>void xmlDebugDumpAttrList (<GTKDOCLINK
523HREF="FILE"
524>FILE</GTKDOCLINK
525> *output,
526 <A
527HREF="gnome-xml-tree.html#XMLATTRPTR"
528>xmlAttrPtr</A
529> attr,
530 int depth);</PRE
531></TD
532></TR
533></TABLE
534><P
535></P
536><DIV
537CLASS="INFORMALTABLE"
538><P
539></P
540><TABLE
541BORDER="0"
542WIDTH="100%"
543BGCOLOR="#FFD0D0"
544CELLSPACING="0"
545CELLPADDING="4"
546CLASS="CALSTABLE"
547><TR
548><TD
549WIDTH="20%"
550ALIGN="RIGHT"
551VALIGN="TOP"
552><TT
553CLASS="PARAMETER"
554><I
555>output</I
556></TT
557>&nbsp;:</TD
558><TD
559WIDTH="80%"
560ALIGN="LEFT"
561VALIGN="TOP"
562>&nbsp;</TD
563></TR
564><TR
565><TD
566WIDTH="20%"
567ALIGN="RIGHT"
568VALIGN="TOP"
569><TT
570CLASS="PARAMETER"
571><I
572>attr</I
573></TT
574>&nbsp;:</TD
575><TD
576WIDTH="80%"
577ALIGN="LEFT"
578VALIGN="TOP"
579>&nbsp;</TD
580></TR
581><TR
582><TD
583WIDTH="20%"
584ALIGN="RIGHT"
585VALIGN="TOP"
586><TT
587CLASS="PARAMETER"
588><I
589>depth</I
590></TT
591>&nbsp;:</TD
592><TD
593WIDTH="80%"
594ALIGN="LEFT"
595VALIGN="TOP"
596>&nbsp;</TD
597></TR
598></TABLE
599><P
600></P
601></DIV
602></DIV
603><HR><DIV
604CLASS="REFSECT2"
605><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +0000606NAME="AEN14869"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000607></A
608><H3
609><A
610NAME="XMLDEBUGDUMPONENODE"
611></A
612>xmlDebugDumpOneNode ()</H3
613><TABLE
614BORDER="0"
615BGCOLOR="#D6E8FF"
616WIDTH="100%"
617CELLPADDING="6"
618><TR
619><TD
620><PRE
621CLASS="PROGRAMLISTING"
622>void xmlDebugDumpOneNode (<GTKDOCLINK
623HREF="FILE"
624>FILE</GTKDOCLINK
625> *output,
626 <A
627HREF="gnome-xml-tree.html#XMLNODEPTR"
628>xmlNodePtr</A
629> node,
630 int depth);</PRE
631></TD
632></TR
633></TABLE
634><P
635></P
636><DIV
637CLASS="INFORMALTABLE"
638><P
639></P
640><TABLE
641BORDER="0"
642WIDTH="100%"
643BGCOLOR="#FFD0D0"
644CELLSPACING="0"
645CELLPADDING="4"
646CLASS="CALSTABLE"
647><TR
648><TD
649WIDTH="20%"
650ALIGN="RIGHT"
651VALIGN="TOP"
652><TT
653CLASS="PARAMETER"
654><I
655>output</I
656></TT
657>&nbsp;:</TD
658><TD
659WIDTH="80%"
660ALIGN="LEFT"
661VALIGN="TOP"
662>&nbsp;</TD
663></TR
664><TR
665><TD
666WIDTH="20%"
667ALIGN="RIGHT"
668VALIGN="TOP"
669><TT
670CLASS="PARAMETER"
671><I
672>node</I
673></TT
674>&nbsp;:</TD
675><TD
676WIDTH="80%"
677ALIGN="LEFT"
678VALIGN="TOP"
679>&nbsp;</TD
680></TR
681><TR
682><TD
683WIDTH="20%"
684ALIGN="RIGHT"
685VALIGN="TOP"
686><TT
687CLASS="PARAMETER"
688><I
689>depth</I
690></TT
691>&nbsp;:</TD
692><TD
693WIDTH="80%"
694ALIGN="LEFT"
695VALIGN="TOP"
696>&nbsp;</TD
697></TR
698></TABLE
699><P
700></P
701></DIV
702></DIV
703><HR><DIV
704CLASS="REFSECT2"
705><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +0000706NAME="AEN14893"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000707></A
708><H3
709><A
710NAME="XMLDEBUGDUMPNODE"
711></A
712>xmlDebugDumpNode ()</H3
713><TABLE
714BORDER="0"
715BGCOLOR="#D6E8FF"
716WIDTH="100%"
717CELLPADDING="6"
718><TR
719><TD
720><PRE
721CLASS="PROGRAMLISTING"
722>void xmlDebugDumpNode (<GTKDOCLINK
723HREF="FILE"
724>FILE</GTKDOCLINK
725> *output,
726 <A
727HREF="gnome-xml-tree.html#XMLNODEPTR"
728>xmlNodePtr</A
729> node,
730 int depth);</PRE
731></TD
732></TR
733></TABLE
734><P
735></P
736><DIV
737CLASS="INFORMALTABLE"
738><P
739></P
740><TABLE
741BORDER="0"
742WIDTH="100%"
743BGCOLOR="#FFD0D0"
744CELLSPACING="0"
745CELLPADDING="4"
746CLASS="CALSTABLE"
747><TR
748><TD
749WIDTH="20%"
750ALIGN="RIGHT"
751VALIGN="TOP"
752><TT
753CLASS="PARAMETER"
754><I
755>output</I
756></TT
757>&nbsp;:</TD
758><TD
759WIDTH="80%"
760ALIGN="LEFT"
761VALIGN="TOP"
762>&nbsp;</TD
763></TR
764><TR
765><TD
766WIDTH="20%"
767ALIGN="RIGHT"
768VALIGN="TOP"
769><TT
770CLASS="PARAMETER"
771><I
772>node</I
773></TT
774>&nbsp;:</TD
775><TD
776WIDTH="80%"
777ALIGN="LEFT"
778VALIGN="TOP"
779>&nbsp;</TD
780></TR
781><TR
782><TD
783WIDTH="20%"
784ALIGN="RIGHT"
785VALIGN="TOP"
786><TT
787CLASS="PARAMETER"
788><I
789>depth</I
790></TT
791>&nbsp;:</TD
792><TD
793WIDTH="80%"
794ALIGN="LEFT"
795VALIGN="TOP"
796>&nbsp;</TD
797></TR
798></TABLE
799><P
800></P
801></DIV
802></DIV
803><HR><DIV
804CLASS="REFSECT2"
805><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +0000806NAME="AEN14917"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000807></A
808><H3
809><A
810NAME="XMLDEBUGDUMPNODELIST"
811></A
812>xmlDebugDumpNodeList ()</H3
813><TABLE
814BORDER="0"
815BGCOLOR="#D6E8FF"
816WIDTH="100%"
817CELLPADDING="6"
818><TR
819><TD
820><PRE
821CLASS="PROGRAMLISTING"
822>void xmlDebugDumpNodeList (<GTKDOCLINK
823HREF="FILE"
824>FILE</GTKDOCLINK
825> *output,
826 <A
827HREF="gnome-xml-tree.html#XMLNODEPTR"
828>xmlNodePtr</A
829> node,
830 int depth);</PRE
831></TD
832></TR
833></TABLE
834><P
835></P
836><DIV
837CLASS="INFORMALTABLE"
838><P
839></P
840><TABLE
841BORDER="0"
842WIDTH="100%"
843BGCOLOR="#FFD0D0"
844CELLSPACING="0"
845CELLPADDING="4"
846CLASS="CALSTABLE"
847><TR
848><TD
849WIDTH="20%"
850ALIGN="RIGHT"
851VALIGN="TOP"
852><TT
853CLASS="PARAMETER"
854><I
855>output</I
856></TT
857>&nbsp;:</TD
858><TD
859WIDTH="80%"
860ALIGN="LEFT"
861VALIGN="TOP"
862>&nbsp;</TD
863></TR
864><TR
865><TD
866WIDTH="20%"
867ALIGN="RIGHT"
868VALIGN="TOP"
869><TT
870CLASS="PARAMETER"
871><I
872>node</I
873></TT
874>&nbsp;:</TD
875><TD
876WIDTH="80%"
877ALIGN="LEFT"
878VALIGN="TOP"
879>&nbsp;</TD
880></TR
881><TR
882><TD
883WIDTH="20%"
884ALIGN="RIGHT"
885VALIGN="TOP"
886><TT
887CLASS="PARAMETER"
888><I
889>depth</I
890></TT
891>&nbsp;:</TD
892><TD
893WIDTH="80%"
894ALIGN="LEFT"
895VALIGN="TOP"
896>&nbsp;</TD
897></TR
898></TABLE
899><P
900></P
901></DIV
902></DIV
903><HR><DIV
904CLASS="REFSECT2"
905><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +0000906NAME="AEN14941"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000907></A
908><H3
909><A
910NAME="XMLDEBUGDUMPDOCUMENTHEAD"
911></A
912>xmlDebugDumpDocumentHead ()</H3
913><TABLE
914BORDER="0"
915BGCOLOR="#D6E8FF"
916WIDTH="100%"
917CELLPADDING="6"
918><TR
919><TD
920><PRE
921CLASS="PROGRAMLISTING"
922>void xmlDebugDumpDocumentHead (<GTKDOCLINK
923HREF="FILE"
924>FILE</GTKDOCLINK
925> *output,
926 <A
927HREF="gnome-xml-tree.html#XMLDOCPTR"
928>xmlDocPtr</A
929> doc);</PRE
930></TD
931></TR
932></TABLE
933><P
934></P
935><DIV
936CLASS="INFORMALTABLE"
937><P
938></P
939><TABLE
940BORDER="0"
941WIDTH="100%"
942BGCOLOR="#FFD0D0"
943CELLSPACING="0"
944CELLPADDING="4"
945CLASS="CALSTABLE"
946><TR
947><TD
948WIDTH="20%"
949ALIGN="RIGHT"
950VALIGN="TOP"
951><TT
952CLASS="PARAMETER"
953><I
954>output</I
955></TT
956>&nbsp;:</TD
957><TD
958WIDTH="80%"
959ALIGN="LEFT"
960VALIGN="TOP"
961>&nbsp;</TD
962></TR
963><TR
964><TD
965WIDTH="20%"
966ALIGN="RIGHT"
967VALIGN="TOP"
968><TT
969CLASS="PARAMETER"
970><I
971>doc</I
972></TT
973>&nbsp;:</TD
974><TD
975WIDTH="80%"
976ALIGN="LEFT"
977VALIGN="TOP"
978>&nbsp;</TD
979></TR
980></TABLE
981><P
982></P
983></DIV
984></DIV
985><HR><DIV
986CLASS="REFSECT2"
987><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +0000988NAME="AEN14961"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000989></A
990><H3
991><A
992NAME="XMLDEBUGDUMPDOCUMENT"
993></A
994>xmlDebugDumpDocument ()</H3
995><TABLE
996BORDER="0"
997BGCOLOR="#D6E8FF"
998WIDTH="100%"
999CELLPADDING="6"
1000><TR
1001><TD
1002><PRE
1003CLASS="PROGRAMLISTING"
1004>void xmlDebugDumpDocument (<GTKDOCLINK
1005HREF="FILE"
1006>FILE</GTKDOCLINK
1007> *output,
1008 <A
1009HREF="gnome-xml-tree.html#XMLDOCPTR"
1010>xmlDocPtr</A
1011> doc);</PRE
1012></TD
1013></TR
1014></TABLE
1015><P
1016></P
1017><DIV
1018CLASS="INFORMALTABLE"
1019><P
1020></P
1021><TABLE
1022BORDER="0"
1023WIDTH="100%"
1024BGCOLOR="#FFD0D0"
1025CELLSPACING="0"
1026CELLPADDING="4"
1027CLASS="CALSTABLE"
1028><TR
1029><TD
1030WIDTH="20%"
1031ALIGN="RIGHT"
1032VALIGN="TOP"
1033><TT
1034CLASS="PARAMETER"
1035><I
1036>output</I
1037></TT
1038>&nbsp;:</TD
1039><TD
1040WIDTH="80%"
1041ALIGN="LEFT"
1042VALIGN="TOP"
1043>&nbsp;</TD
1044></TR
1045><TR
1046><TD
1047WIDTH="20%"
1048ALIGN="RIGHT"
1049VALIGN="TOP"
1050><TT
1051CLASS="PARAMETER"
1052><I
1053>doc</I
1054></TT
1055>&nbsp;:</TD
1056><TD
1057WIDTH="80%"
1058ALIGN="LEFT"
1059VALIGN="TOP"
1060>&nbsp;</TD
1061></TR
1062></TABLE
1063><P
1064></P
1065></DIV
1066></DIV
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001067><HR><DIV
1068CLASS="REFSECT2"
1069><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001070NAME="AEN14981"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001071></A
1072><H3
1073><A
1074NAME="XMLDEBUGDUMPENTITIES"
1075></A
1076>xmlDebugDumpEntities ()</H3
1077><TABLE
1078BORDER="0"
1079BGCOLOR="#D6E8FF"
1080WIDTH="100%"
1081CELLPADDING="6"
1082><TR
1083><TD
1084><PRE
1085CLASS="PROGRAMLISTING"
1086>void xmlDebugDumpEntities (<GTKDOCLINK
1087HREF="FILE"
1088>FILE</GTKDOCLINK
1089> *output,
1090 <A
1091HREF="gnome-xml-tree.html#XMLDOCPTR"
1092>xmlDocPtr</A
1093> doc);</PRE
1094></TD
1095></TR
1096></TABLE
1097><P
1098></P
1099><DIV
1100CLASS="INFORMALTABLE"
1101><P
1102></P
1103><TABLE
1104BORDER="0"
1105WIDTH="100%"
1106BGCOLOR="#FFD0D0"
1107CELLSPACING="0"
1108CELLPADDING="4"
1109CLASS="CALSTABLE"
1110><TR
1111><TD
1112WIDTH="20%"
1113ALIGN="RIGHT"
1114VALIGN="TOP"
1115><TT
1116CLASS="PARAMETER"
1117><I
1118>output</I
1119></TT
1120>&nbsp;:</TD
1121><TD
1122WIDTH="80%"
1123ALIGN="LEFT"
1124VALIGN="TOP"
1125>&nbsp;</TD
1126></TR
1127><TR
1128><TD
1129WIDTH="20%"
1130ALIGN="RIGHT"
1131VALIGN="TOP"
1132><TT
1133CLASS="PARAMETER"
1134><I
1135>doc</I
1136></TT
1137>&nbsp;:</TD
1138><TD
1139WIDTH="80%"
1140ALIGN="LEFT"
1141VALIGN="TOP"
1142>&nbsp;</TD
1143></TR
1144></TABLE
1145><P
1146></P
1147></DIV
1148></DIV
1149><HR><DIV
1150CLASS="REFSECT2"
1151><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001152NAME="AEN15001"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001153></A
1154><H3
1155><A
1156NAME="XMLLSONENODE"
1157></A
1158>xmlLsOneNode ()</H3
1159><TABLE
1160BORDER="0"
1161BGCOLOR="#D6E8FF"
1162WIDTH="100%"
1163CELLPADDING="6"
1164><TR
1165><TD
1166><PRE
1167CLASS="PROGRAMLISTING"
1168>void xmlLsOneNode (<GTKDOCLINK
1169HREF="FILE"
1170>FILE</GTKDOCLINK
1171> *output,
1172 <A
1173HREF="gnome-xml-tree.html#XMLNODEPTR"
1174>xmlNodePtr</A
1175> node);</PRE
1176></TD
1177></TR
1178></TABLE
1179><P
1180></P
1181><DIV
1182CLASS="INFORMALTABLE"
1183><P
1184></P
1185><TABLE
1186BORDER="0"
1187WIDTH="100%"
1188BGCOLOR="#FFD0D0"
1189CELLSPACING="0"
1190CELLPADDING="4"
1191CLASS="CALSTABLE"
1192><TR
1193><TD
1194WIDTH="20%"
1195ALIGN="RIGHT"
1196VALIGN="TOP"
1197><TT
1198CLASS="PARAMETER"
1199><I
1200>output</I
1201></TT
1202>&nbsp;:</TD
1203><TD
1204WIDTH="80%"
1205ALIGN="LEFT"
1206VALIGN="TOP"
1207>&nbsp;</TD
1208></TR
1209><TR
1210><TD
1211WIDTH="20%"
1212ALIGN="RIGHT"
1213VALIGN="TOP"
1214><TT
1215CLASS="PARAMETER"
1216><I
1217>node</I
1218></TT
1219>&nbsp;:</TD
1220><TD
1221WIDTH="80%"
1222ALIGN="LEFT"
1223VALIGN="TOP"
1224>&nbsp;</TD
1225></TR
1226></TABLE
1227><P
1228></P
1229></DIV
1230></DIV
1231><HR><DIV
1232CLASS="REFSECT2"
1233><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001234NAME="AEN15021"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001235></A
1236><H3
1237><A
1238NAME="XMLSHELLREADLINEFUNC"
1239></A
1240>xmlShellReadlineFunc ()</H3
1241><TABLE
1242BORDER="0"
1243BGCOLOR="#D6E8FF"
1244WIDTH="100%"
1245CELLPADDING="6"
1246><TR
1247><TD
1248><PRE
1249CLASS="PROGRAMLISTING"
1250>char* (*xmlShellReadlineFunc) (char *prompt);</PRE
1251></TD
1252></TR
1253></TABLE
1254><P
1255></P
1256><DIV
1257CLASS="INFORMALTABLE"
1258><P
1259></P
1260><TABLE
1261BORDER="0"
1262WIDTH="100%"
1263BGCOLOR="#FFD0D0"
1264CELLSPACING="0"
1265CELLPADDING="4"
1266CLASS="CALSTABLE"
1267><TR
1268><TD
1269WIDTH="20%"
1270ALIGN="RIGHT"
1271VALIGN="TOP"
1272><TT
1273CLASS="PARAMETER"
1274><I
1275>prompt</I
1276></TT
1277>&nbsp;:</TD
1278><TD
1279WIDTH="80%"
1280ALIGN="LEFT"
1281VALIGN="TOP"
1282>&nbsp;</TD
1283></TR
1284><TR
1285><TD
1286WIDTH="20%"
1287ALIGN="RIGHT"
1288VALIGN="TOP"
1289><I
1290CLASS="EMPHASIS"
1291>Returns</I
1292> :</TD
1293><TD
1294WIDTH="80%"
1295ALIGN="LEFT"
1296VALIGN="TOP"
1297>&nbsp;</TD
1298></TR
1299></TABLE
1300><P
1301></P
1302></DIV
1303></DIV
1304><HR><DIV
1305CLASS="REFSECT2"
1306><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001307NAME="AEN15039"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001308></A
1309><H3
1310><A
1311NAME="XMLSHELLCTXT"
1312></A
1313>struct xmlShellCtxt</H3
1314><TABLE
1315BORDER="0"
1316BGCOLOR="#D6E8FF"
1317WIDTH="100%"
1318CELLPADDING="6"
1319><TR
1320><TD
1321><PRE
1322CLASS="PROGRAMLISTING"
1323>struct xmlShellCtxt {
1324 char *filename;
1325 xmlDocPtr doc;
1326 xmlNodePtr node;
1327 xmlXPathContextPtr pctxt;
1328 int loaded;
1329 FILE *output;
1330 xmlShellReadlineFunc input;
1331};</PRE
1332></TD
1333></TR
1334></TABLE
1335><P
1336></P
1337></DIV
1338><HR><DIV
1339CLASS="REFSECT2"
1340><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001341NAME="AEN15044"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001342></A
1343><H3
1344><A
1345NAME="XMLSHELLCTXTPTR"
1346></A
1347>xmlShellCtxtPtr</H3
1348><TABLE
1349BORDER="0"
1350BGCOLOR="#D6E8FF"
1351WIDTH="100%"
1352CELLPADDING="6"
1353><TR
1354><TD
1355><PRE
1356CLASS="PROGRAMLISTING"
1357>typedef xmlShellCtxt *xmlShellCtxtPtr;</PRE
1358></TD
1359></TR
1360></TABLE
1361><P
1362></P
1363></DIV
1364><HR><DIV
1365CLASS="REFSECT2"
1366><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001367NAME="AEN15049"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001368></A
1369><H3
1370><A
1371NAME="XMLSHELLCMD"
1372></A
1373>xmlShellCmd ()</H3
1374><TABLE
1375BORDER="0"
1376BGCOLOR="#D6E8FF"
1377WIDTH="100%"
1378CELLPADDING="6"
1379><TR
1380><TD
1381><PRE
1382CLASS="PROGRAMLISTING"
1383>int (*xmlShellCmd) (<A
1384HREF="gnome-xml-debugxml.html#XMLSHELLCTXTPTR"
1385>xmlShellCtxtPtr</A
1386> ctxt,
1387 char *arg,
1388 <A
1389HREF="gnome-xml-tree.html#XMLNODEPTR"
1390>xmlNodePtr</A
1391> node,
1392 <A
1393HREF="gnome-xml-tree.html#XMLNODEPTR"
1394>xmlNodePtr</A
1395> node2);</PRE
1396></TD
1397></TR
1398></TABLE
1399><P
1400></P
1401><DIV
1402CLASS="INFORMALTABLE"
1403><P
1404></P
1405><TABLE
1406BORDER="0"
1407WIDTH="100%"
1408BGCOLOR="#FFD0D0"
1409CELLSPACING="0"
1410CELLPADDING="4"
1411CLASS="CALSTABLE"
1412><TR
1413><TD
1414WIDTH="20%"
1415ALIGN="RIGHT"
1416VALIGN="TOP"
1417><TT
1418CLASS="PARAMETER"
1419><I
1420>ctxt</I
1421></TT
1422>&nbsp;:</TD
1423><TD
1424WIDTH="80%"
1425ALIGN="LEFT"
1426VALIGN="TOP"
1427>&nbsp;</TD
1428></TR
1429><TR
1430><TD
1431WIDTH="20%"
1432ALIGN="RIGHT"
1433VALIGN="TOP"
1434><TT
1435CLASS="PARAMETER"
1436><I
1437>arg</I
1438></TT
1439>&nbsp;:</TD
1440><TD
1441WIDTH="80%"
1442ALIGN="LEFT"
1443VALIGN="TOP"
1444>&nbsp;</TD
1445></TR
1446><TR
1447><TD
1448WIDTH="20%"
1449ALIGN="RIGHT"
1450VALIGN="TOP"
1451><TT
1452CLASS="PARAMETER"
1453><I
1454>node</I
1455></TT
1456>&nbsp;:</TD
1457><TD
1458WIDTH="80%"
1459ALIGN="LEFT"
1460VALIGN="TOP"
1461>&nbsp;</TD
1462></TR
1463><TR
1464><TD
1465WIDTH="20%"
1466ALIGN="RIGHT"
1467VALIGN="TOP"
1468><TT
1469CLASS="PARAMETER"
1470><I
1471>node2</I
1472></TT
1473>&nbsp;:</TD
1474><TD
1475WIDTH="80%"
1476ALIGN="LEFT"
1477VALIGN="TOP"
1478>&nbsp;</TD
1479></TR
1480><TR
1481><TD
1482WIDTH="20%"
1483ALIGN="RIGHT"
1484VALIGN="TOP"
1485><I
1486CLASS="EMPHASIS"
1487>Returns</I
1488> :</TD
1489><TD
1490WIDTH="80%"
1491ALIGN="LEFT"
1492VALIGN="TOP"
1493>&nbsp;</TD
1494></TR
1495></TABLE
1496><P
1497></P
1498></DIV
1499></DIV
1500><HR><DIV
1501CLASS="REFSECT2"
1502><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001503NAME="AEN15082"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001504></A
1505><H3
1506><A
1507NAME="XMLSHELL"
1508></A
1509>xmlShell ()</H3
1510><TABLE
1511BORDER="0"
1512BGCOLOR="#D6E8FF"
1513WIDTH="100%"
1514CELLPADDING="6"
1515><TR
1516><TD
1517><PRE
1518CLASS="PROGRAMLISTING"
1519>void xmlShell (<A
1520HREF="gnome-xml-tree.html#XMLDOCPTR"
1521>xmlDocPtr</A
1522> doc,
1523 char *filename,
1524 <A
1525HREF="gnome-xml-debugxml.html#XMLSHELLREADLINEFUNC"
1526>xmlShellReadlineFunc</A
1527> input,
1528 <GTKDOCLINK
1529HREF="FILE"
1530>FILE</GTKDOCLINK
1531> *output);</PRE
1532></TD
1533></TR
1534></TABLE
1535><P
1536>Implements the XML shell
1537This allow to load, validate, view, modify and save a document
1538using a environment similar to a UNIX commandline.</P
1539><P
1540></P
1541><DIV
1542CLASS="INFORMALTABLE"
1543><P
1544></P
1545><TABLE
1546BORDER="0"
1547WIDTH="100%"
1548BGCOLOR="#FFD0D0"
1549CELLSPACING="0"
1550CELLPADDING="4"
1551CLASS="CALSTABLE"
1552><TR
1553><TD
1554WIDTH="20%"
1555ALIGN="RIGHT"
1556VALIGN="TOP"
1557><TT
1558CLASS="PARAMETER"
1559><I
1560>doc</I
1561></TT
1562>&nbsp;:</TD
1563><TD
1564WIDTH="80%"
1565ALIGN="LEFT"
1566VALIGN="TOP"
1567> the initial document</TD
1568></TR
1569><TR
1570><TD
1571WIDTH="20%"
1572ALIGN="RIGHT"
1573VALIGN="TOP"
1574><TT
1575CLASS="PARAMETER"
1576><I
1577>filename</I
1578></TT
1579>&nbsp;:</TD
1580><TD
1581WIDTH="80%"
1582ALIGN="LEFT"
1583VALIGN="TOP"
1584> the output buffer</TD
1585></TR
1586><TR
1587><TD
1588WIDTH="20%"
1589ALIGN="RIGHT"
1590VALIGN="TOP"
1591><TT
1592CLASS="PARAMETER"
1593><I
1594>input</I
1595></TT
1596>&nbsp;:</TD
1597><TD
1598WIDTH="80%"
1599ALIGN="LEFT"
1600VALIGN="TOP"
1601> the line reading function</TD
1602></TR
1603><TR
1604><TD
1605WIDTH="20%"
1606ALIGN="RIGHT"
1607VALIGN="TOP"
1608><TT
1609CLASS="PARAMETER"
1610><I
1611>output</I
1612></TT
1613>&nbsp;:</TD
1614><TD
1615WIDTH="80%"
1616ALIGN="LEFT"
1617VALIGN="TOP"
1618> the output FILE*</TD
1619></TR
1620></TABLE
1621><P
1622></P
1623></DIV
1624></DIV
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001625></DIV
1626><DIV
1627CLASS="NAVFOOTER"
1628><BR
1629CLEAR="all"><BR><TABLE
1630WIDTH="100%"
1631BORDER="0"
1632BGCOLOR="#000000"
1633CELLPADDING="1"
1634CELLSPACING="0"
1635><TR
1636><TD
1637WIDTH="25%"
1638BGCOLOR="#C00000"
1639ALIGN="left"
1640><A
1641HREF="gnome-xml-encoding.html"
1642><FONT
1643COLOR="#FFFFFF"
1644SIZE="3"
1645><B
1646>&#60;&#60;&#60; Previous Page</B
1647></FONT
1648></A
1649></TD
1650><TD
1651WIDTH="25%"
1652BGCOLOR="#0000C0"
1653ALIGN="center"
1654><FONT
1655COLOR="#FFFFFF"
1656SIZE="3"
1657><B
1658><A
1659HREF="book1.html"
1660><FONT
1661COLOR="#FFFFFF"
1662SIZE="3"
1663><B
1664>Home</B
1665></FONT
1666></A
1667></B
1668></FONT
1669></TD
1670><TD
1671WIDTH="25%"
1672BGCOLOR="#00C000"
1673ALIGN="center"
1674><FONT
1675COLOR="#FFFFFF"
1676SIZE="3"
1677><B
1678><A
1679HREF="libxml-lib.html"
1680><FONT
1681COLOR="#FFFFFF"
1682SIZE="3"
1683><B
1684>Up</B
1685></FONT
1686></A
1687></B
1688></FONT
1689></TD
1690><TD
1691WIDTH="25%"
1692BGCOLOR="#C00000"
1693ALIGN="right"
1694><A
1695HREF="gnome-xml-xmlmemory.html"
1696><FONT
1697COLOR="#FFFFFF"
1698SIZE="3"
1699><B
1700>Next Page &#62;&#62;&#62;</B
1701></FONT
1702></A
1703></TD
1704></TR
1705><TR
1706><TD
1707COLSPAN="2"
1708ALIGN="left"
1709><FONT
1710COLOR="#FFFFFF"
1711SIZE="3"
1712><B
1713>encoding</B
1714></FONT
1715></TD
1716><TD
1717COLSPAN="2"
1718ALIGN="right"
1719><FONT
1720COLOR="#FFFFFF"
1721SIZE="3"
1722><B
1723>xmlmemory</B
1724></FONT
1725></TD
1726></TR
1727></TABLE
1728></DIV
1729></BODY
1730></HTML
1731>