libxml-globals.html revision af43f63aaabf0dc4b4a070773875d0927da3d8a2
1<HTML
2><HEAD
3><TITLE
4>globals</TITLE
5><META
6NAME="GENERATOR"
7CONTENT="Modular DocBook HTML Stylesheet Version 1.64
8"><LINK
9REL="HOME"
10TITLE="Gnome XML Library Reference Manual"
11HREF="book1.html"><LINK
12REL="UP"
13TITLE="Libxml Library Reference"
14HREF="libxml-lib.html"><LINK
15REL="PREVIOUS"
16TITLE="threads"
17HREF="libxml-threads.html"><LINK
18REL="NEXT"
19TITLE="DOCBparser"
20HREF="libxml-docbparser.html"></HEAD
21><BODY
22CLASS="REFENTRY"
23BGCOLOR="#FFFFFF"
24TEXT="#000000"
25LINK="#0000FF"
26VLINK="#840084"
27ALINK="#0000FF"
28><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
52HREF="libxml-threads.html"
53><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
106HREF="libxml-docbparser.html"
107><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
119><A
120NAME="LIBXML-GLOBALS"
121>globals</A
122></H1
123><DIV
124CLASS="REFNAMEDIV"
125><A
126NAME="AEN20365"
127></A
128><H2
129>Name</H2
130>globals&nbsp;--&nbsp;</DIV
131><DIV
132CLASS="REFSYNOPSISDIV"
133><A
134NAME="AEN20368"
135></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
149struct      <A
150HREF="libxml-globals.html#XMLGLOBALSTATE"
151>xmlGlobalState</A
152>;
153typedef     <A
154HREF="libxml-globals.html#XMLGLOBALSTATEPTR"
155>xmlGlobalStatePtr</A
156>;
157void        <A
158HREF="libxml-globals.html#XMLINITIALIZEGLOBALSTATE"
159>xmlInitializeGlobalState</A
160>        (<A
161HREF="libxml-globals.html#XMLGLOBALSTATEPTR"
162>xmlGlobalStatePtr</A
163> gs);
164#define     <A
165HREF="libxml-globals.html#XMLMALLOC"
166>xmlMalloc</A
167>                       (size)
168#define     <A
169HREF="libxml-globals.html#XMLREALLOC"
170>xmlRealloc</A
171>                      (ptr, size)
172#define     <A
173HREF="libxml-globals.html#XMLFREE"
174>xmlFree</A
175>
176#define     <A
177HREF="libxml-globals.html#XMLMEMSTRDUP"
178>xmlMemStrdup</A
179>                    (str)
180#define     <A
181HREF="libxml-globals.html#DOCBDEFAULTSAXHANDLER"
182>docbDefaultSAXHandler</A
183>
184#define     <A
185HREF="libxml-globals.html#HTMLDEFAULTSAXHANDLER"
186>htmlDefaultSAXHandler</A
187>
188#define     <A
189HREF="libxml-globals.html#OLDXMLWDCOMPATIBILITY"
190>oldXMLWDcompatibility</A
191>
192#define     <A
193HREF="libxml-globals.html#XMLBUFFERALLOCSCHEME"
194>xmlBufferAllocScheme</A
195>
196#define     <A
197HREF="libxml-globals.html#XMLDEFAULTBUFFERSIZE"
198>xmlDefaultBufferSize</A
199>
200#define     <A
201HREF="libxml-globals.html#XMLDEFAULTSAXHANDLER"
202>xmlDefaultSAXHandler</A
203>
204#define     <A
205HREF="libxml-globals.html#XMLDEFAULTSAXLOCATOR"
206>xmlDefaultSAXLocator</A
207>
208#define     <A
209HREF="libxml-globals.html#XMLDOVALIDITYCHECKINGDEFAULTVALUE"
210>xmlDoValidityCheckingDefaultValue</A
211>
212#define     <A
213HREF="libxml-globals.html#XMLGENERICERROR"
214>xmlGenericError</A
215>
216#define     <A
217HREF="libxml-globals.html#XMLGENERICERRORCONTEXT"
218>xmlGenericErrorContext</A
219>
220#define     <A
221HREF="libxml-globals.html#XMLGETWARNINGSDEFAULTVALUE"
222>xmlGetWarningsDefaultValue</A
223>
224#define     <A
225HREF="libxml-globals.html#XMLINDENTTREEOUTPUT"
226>xmlIndentTreeOutput</A
227>
228#define     <A
229HREF="libxml-globals.html#XMLKEEPBLANKSDEFAULTVALUE"
230>xmlKeepBlanksDefaultValue</A
231>
232#define     <A
233HREF="libxml-globals.html#XMLLINENUMBERSDEFAULTVALUE"
234>xmlLineNumbersDefaultValue</A
235>
236#define     <A
237HREF="libxml-globals.html#XMLLOADEXTDTDDEFAULTVALUE"
238>xmlLoadExtDtdDefaultValue</A
239>
240#define     <A
241HREF="libxml-globals.html#XMLPARSERDEBUGENTITIES"
242>xmlParserDebugEntities</A
243>
244#define     <A
245HREF="libxml-globals.html#XMLPARSERVERSION"
246>xmlParserVersion</A
247>
248#define     <A
249HREF="libxml-globals.html#XMLPEDANTICPARSERDEFAULTVALUE"
250>xmlPedanticParserDefaultValue</A
251>
252#define     <A
253HREF="libxml-globals.html#XMLSAVENOEMPTYTAGS"
254>xmlSaveNoEmptyTags</A
255>
256#define     <A
257HREF="libxml-parser.html#XMLSUBSTITUTEENTITIESDEFAULTVALUE"
258>xmlSubstituteEntitiesDefaultValue</A
259></PRE
260></TD
261></TR
262></TABLE
263></DIV
264><DIV
265CLASS="REFSECT1"
266><A
267NAME="AEN20399"
268></A
269><H2
270>Description</H2
271><P
272></P
273></DIV
274><DIV
275CLASS="REFSECT1"
276><A
277NAME="AEN20402"
278></A
279><H2
280>Details</H2
281><DIV
282CLASS="REFSECT2"
283><A
284NAME="AEN20404"
285></A
286><H3
287><A
288NAME="XMLGLOBALSTATE"
289></A
290>struct xmlGlobalState</H3
291><TABLE
292BORDER="0"
293BGCOLOR="#D6E8FF"
294WIDTH="100%"
295CELLPADDING="6"
296><TR
297><TD
298><PRE
299CLASS="PROGRAMLISTING"
300>struct xmlGlobalState 
301{
302	const char *xmlParserVersion;
303
304	xmlSAXLocator xmlDefaultSAXLocator;
305	xmlSAXHandler xmlDefaultSAXHandler;
306	xmlSAXHandler docbDefaultSAXHandler;
307	xmlSAXHandler htmlDefaultSAXHandler;
308
309	xmlFreeFunc xmlFree;
310	xmlMallocFunc xmlMalloc;
311	xmlStrdupFunc xmlMemStrdup;
312	xmlReallocFunc xmlRealloc;
313
314	xmlGenericErrorFunc xmlGenericError;
315	void *xmlGenericErrorContext;
316
317	int oldXMLWDcompatibility;
318
319	xmlBufferAllocationScheme xmlBufferAllocScheme;
320	int xmlDefaultBufferSize;
321
322	int xmlSubstituteEntitiesDefaultValue;
323	int xmlDoValidityCheckingDefaultValue;
324	int xmlGetWarningsDefaultValue;
325	int xmlKeepBlanksDefaultValue;
326	int xmlLineNumbersDefaultValue;
327	int xmlLoadExtDtdDefaultValue;
328	int xmlParserDebugEntities;
329	int xmlPedanticParserDefaultValue;
330
331	int xmlSaveNoEmptyTags;
332	int xmlIndentTreeOutput;
333};</PRE
334></TD
335></TR
336></TABLE
337><P
338></P
339></DIV
340><HR><DIV
341CLASS="REFSECT2"
342><A
343NAME="AEN20409"
344></A
345><H3
346><A
347NAME="XMLGLOBALSTATEPTR"
348></A
349>xmlGlobalStatePtr</H3
350><TABLE
351BORDER="0"
352BGCOLOR="#D6E8FF"
353WIDTH="100%"
354CELLPADDING="6"
355><TR
356><TD
357><PRE
358CLASS="PROGRAMLISTING"
359>typedef xmlGlobalState *xmlGlobalStatePtr;</PRE
360></TD
361></TR
362></TABLE
363><P
364></P
365></DIV
366><HR><DIV
367CLASS="REFSECT2"
368><A
369NAME="AEN20414"
370></A
371><H3
372><A
373NAME="XMLINITIALIZEGLOBALSTATE"
374></A
375>xmlInitializeGlobalState ()</H3
376><TABLE
377BORDER="0"
378BGCOLOR="#D6E8FF"
379WIDTH="100%"
380CELLPADDING="6"
381><TR
382><TD
383><PRE
384CLASS="PROGRAMLISTING"
385>void        xmlInitializeGlobalState        (<A
386HREF="libxml-globals.html#XMLGLOBALSTATEPTR"
387>xmlGlobalStatePtr</A
388> gs);</PRE
389></TD
390></TR
391></TABLE
392><P
393><A
394HREF="libxml-globals.html#XMLINITIALIZEGLOBALSTATE"
395>xmlInitializeGlobalState</A
396>() initialize a global state with all the
397default values of the library.</P
398><P
399></P
400><DIV
401CLASS="INFORMALTABLE"
402><A
403NAME="AEN20422"
404></A
405><P
406></P
407><TABLE
408BORDER="0"
409WIDTH="100%"
410BGCOLOR="#FFD0D0"
411CELLSPACING="0"
412CELLPADDING="4"
413CLASS="CALSTABLE"
414><TBODY
415><TR
416><TD
417WIDTH="20%"
418ALIGN="RIGHT"
419VALIGN="TOP"
420><TT
421CLASS="PARAMETER"
422><I
423>gs</I
424></TT
425>&nbsp;:</TD
426><TD
427WIDTH="80%"
428ALIGN="LEFT"
429VALIGN="TOP"
430> a pointer to a newly allocated global state</TD
431></TR
432></TBODY
433></TABLE
434><P
435></P
436></DIV
437></DIV
438><HR><DIV
439CLASS="REFSECT2"
440><A
441NAME="AEN20431"
442></A
443><H3
444><A
445NAME="XMLMALLOC"
446></A
447>xmlMalloc()</H3
448><TABLE
449BORDER="0"
450BGCOLOR="#D6E8FF"
451WIDTH="100%"
452CELLPADDING="6"
453><TR
454><TD
455><PRE
456CLASS="PROGRAMLISTING"
457>#define     xmlMalloc(size)</PRE
458></TD
459></TR
460></TABLE
461><P
462>Wrapper for the <GTKDOCLINK
463HREF="MALLOC"
464>malloc</GTKDOCLINK
465>() function used in the XML library</P
466><P
467></P
468><DIV
469CLASS="INFORMALTABLE"
470><A
471NAME="AEN20438"
472></A
473><P
474></P
475><TABLE
476BORDER="0"
477WIDTH="100%"
478BGCOLOR="#FFD0D0"
479CELLSPACING="0"
480CELLPADDING="4"
481CLASS="CALSTABLE"
482><TBODY
483><TR
484><TD
485WIDTH="20%"
486ALIGN="RIGHT"
487VALIGN="TOP"
488><TT
489CLASS="PARAMETER"
490><I
491>size</I
492></TT
493>&nbsp;:</TD
494><TD
495WIDTH="80%"
496ALIGN="LEFT"
497VALIGN="TOP"
498>&nbsp;</TD
499></TR
500></TBODY
501></TABLE
502><P
503></P
504></DIV
505></DIV
506><HR><DIV
507CLASS="REFSECT2"
508><A
509NAME="AEN20447"
510></A
511><H3
512><A
513NAME="XMLREALLOC"
514></A
515>xmlRealloc()</H3
516><TABLE
517BORDER="0"
518BGCOLOR="#D6E8FF"
519WIDTH="100%"
520CELLPADDING="6"
521><TR
522><TD
523><PRE
524CLASS="PROGRAMLISTING"
525>#define     xmlRealloc(ptr, size)</PRE
526></TD
527></TR
528></TABLE
529><P
530>Wrapper for the <GTKDOCLINK
531HREF="REALLOC"
532>realloc</GTKDOCLINK
533>() function used in the XML library</P
534><P
535></P
536><DIV
537CLASS="INFORMALTABLE"
538><A
539NAME="AEN20454"
540></A
541><P
542></P
543><TABLE
544BORDER="0"
545WIDTH="100%"
546BGCOLOR="#FFD0D0"
547CELLSPACING="0"
548CELLPADDING="4"
549CLASS="CALSTABLE"
550><TBODY
551><TR
552><TD
553WIDTH="20%"
554ALIGN="RIGHT"
555VALIGN="TOP"
556><TT
557CLASS="PARAMETER"
558><I
559>ptr</I
560></TT
561>&nbsp;:</TD
562><TD
563WIDTH="80%"
564ALIGN="LEFT"
565VALIGN="TOP"
566>&nbsp;</TD
567></TR
568><TR
569><TD
570WIDTH="20%"
571ALIGN="RIGHT"
572VALIGN="TOP"
573><TT
574CLASS="PARAMETER"
575><I
576>size</I
577></TT
578>&nbsp;:</TD
579><TD
580WIDTH="80%"
581ALIGN="LEFT"
582VALIGN="TOP"
583>&nbsp;</TD
584></TR
585></TBODY
586></TABLE
587><P
588></P
589></DIV
590></DIV
591><HR><DIV
592CLASS="REFSECT2"
593><A
594NAME="AEN20467"
595></A
596><H3
597><A
598NAME="XMLFREE"
599></A
600>xmlFree</H3
601><TABLE
602BORDER="0"
603BGCOLOR="#D6E8FF"
604WIDTH="100%"
605CELLPADDING="6"
606><TR
607><TD
608><PRE
609CLASS="PROGRAMLISTING"
610>#define     xmlFree</PRE
611></TD
612></TR
613></TABLE
614><P
615>The variable holding the libxml <GTKDOCLINK
616HREF="FREE"
617>free</GTKDOCLINK
618>() implementation</P
619><P
620></P
621></DIV
622><HR><DIV
623CLASS="REFSECT2"
624><A
625NAME="AEN20474"
626></A
627><H3
628><A
629NAME="XMLMEMSTRDUP"
630></A
631>xmlMemStrdup()</H3
632><TABLE
633BORDER="0"
634BGCOLOR="#D6E8FF"
635WIDTH="100%"
636CELLPADDING="6"
637><TR
638><TD
639><PRE
640CLASS="PROGRAMLISTING"
641>#define     xmlMemStrdup(str)</PRE
642></TD
643></TR
644></TABLE
645><P
646>Wrapper for the <GTKDOCLINK
647HREF="STRDUP"
648>strdup</GTKDOCLINK
649>() function, <A
650HREF="libxml-parser.html#XMLSTRDUP"
651>xmlStrdup</A
652>() is usually preferred</P
653><P
654></P
655><DIV
656CLASS="INFORMALTABLE"
657><A
658NAME="AEN20482"
659></A
660><P
661></P
662><TABLE
663BORDER="0"
664WIDTH="100%"
665BGCOLOR="#FFD0D0"
666CELLSPACING="0"
667CELLPADDING="4"
668CLASS="CALSTABLE"
669><TBODY
670><TR
671><TD
672WIDTH="20%"
673ALIGN="RIGHT"
674VALIGN="TOP"
675><TT
676CLASS="PARAMETER"
677><I
678>str</I
679></TT
680>&nbsp;:</TD
681><TD
682WIDTH="80%"
683ALIGN="LEFT"
684VALIGN="TOP"
685>&nbsp;</TD
686></TR
687></TBODY
688></TABLE
689><P
690></P
691></DIV
692></DIV
693><HR><DIV
694CLASS="REFSECT2"
695><A
696NAME="AEN20491"
697></A
698><H3
699><A
700NAME="DOCBDEFAULTSAXHANDLER"
701></A
702>docbDefaultSAXHandler</H3
703><TABLE
704BORDER="0"
705BGCOLOR="#D6E8FF"
706WIDTH="100%"
707CELLPADDING="6"
708><TR
709><TD
710><PRE
711CLASS="PROGRAMLISTING"
712>#define     docbDefaultSAXHandler</PRE
713></TD
714></TR
715></TABLE
716><P
717>Default handler for SGML DocBook, builds the DOM tree</P
718><P
719></P
720></DIV
721><HR><DIV
722CLASS="REFSECT2"
723><A
724NAME="AEN20497"
725></A
726><H3
727><A
728NAME="HTMLDEFAULTSAXHANDLER"
729></A
730>htmlDefaultSAXHandler</H3
731><TABLE
732BORDER="0"
733BGCOLOR="#D6E8FF"
734WIDTH="100%"
735CELLPADDING="6"
736><TR
737><TD
738><PRE
739CLASS="PROGRAMLISTING"
740>#define     htmlDefaultSAXHandler</PRE
741></TD
742></TR
743></TABLE
744><P
745>Default handler for HTML, builds the DOM tree</P
746><P
747></P
748></DIV
749><HR><DIV
750CLASS="REFSECT2"
751><A
752NAME="AEN20503"
753></A
754><H3
755><A
756NAME="OLDXMLWDCOMPATIBILITY"
757></A
758>oldXMLWDcompatibility</H3
759><TABLE
760BORDER="0"
761BGCOLOR="#D6E8FF"
762WIDTH="100%"
763CELLPADDING="6"
764><TR
765><TD
766><PRE
767CLASS="PROGRAMLISTING"
768>#define     oldXMLWDcompatibility</PRE
769></TD
770></TR
771></TABLE
772><P
773>Global setting, DEPRECATED.</P
774><P
775></P
776></DIV
777><HR><DIV
778CLASS="REFSECT2"
779><A
780NAME="AEN20509"
781></A
782><H3
783><A
784NAME="XMLBUFFERALLOCSCHEME"
785></A
786>xmlBufferAllocScheme</H3
787><TABLE
788BORDER="0"
789BGCOLOR="#D6E8FF"
790WIDTH="100%"
791CELLPADDING="6"
792><TR
793><TD
794><PRE
795CLASS="PROGRAMLISTING"
796>#define     xmlBufferAllocScheme</PRE
797></TD
798></TR
799></TABLE
800><P
801>Global setting, default allocation policy for buffers, default is
802XML_BUFFER_ALLOC_EXACT</P
803><P
804></P
805></DIV
806><HR><DIV
807CLASS="REFSECT2"
808><A
809NAME="AEN20515"
810></A
811><H3
812><A
813NAME="XMLDEFAULTBUFFERSIZE"
814></A
815>xmlDefaultBufferSize</H3
816><TABLE
817BORDER="0"
818BGCOLOR="#D6E8FF"
819WIDTH="100%"
820CELLPADDING="6"
821><TR
822><TD
823><PRE
824CLASS="PROGRAMLISTING"
825>#define     xmlDefaultBufferSize</PRE
826></TD
827></TR
828></TABLE
829><P
830>Global setting, default buffer size. Default value is BASE_BUFFER_SIZE</P
831><P
832></P
833></DIV
834><HR><DIV
835CLASS="REFSECT2"
836><A
837NAME="AEN20521"
838></A
839><H3
840><A
841NAME="XMLDEFAULTSAXHANDLER"
842></A
843>xmlDefaultSAXHandler</H3
844><TABLE
845BORDER="0"
846BGCOLOR="#D6E8FF"
847WIDTH="100%"
848CELLPADDING="6"
849><TR
850><TD
851><PRE
852CLASS="PROGRAMLISTING"
853>#define     xmlDefaultSAXHandler</PRE
854></TD
855></TR
856></TABLE
857><P
858>Default handler for XML, builds the DOM tree</P
859><P
860></P
861></DIV
862><HR><DIV
863CLASS="REFSECT2"
864><A
865NAME="AEN20527"
866></A
867><H3
868><A
869NAME="XMLDEFAULTSAXLOCATOR"
870></A
871>xmlDefaultSAXLocator</H3
872><TABLE
873BORDER="0"
874BGCOLOR="#D6E8FF"
875WIDTH="100%"
876CELLPADDING="6"
877><TR
878><TD
879><PRE
880CLASS="PROGRAMLISTING"
881>#define     xmlDefaultSAXLocator</PRE
882></TD
883></TR
884></TABLE
885><P
886>The default SAX Locator
887{ getPublicId, getSystemId, getLineNumber, getColumnNumber}</P
888><P
889></P
890></DIV
891><HR><DIV
892CLASS="REFSECT2"
893><A
894NAME="AEN20533"
895></A
896><H3
897><A
898NAME="XMLDOVALIDITYCHECKINGDEFAULTVALUE"
899></A
900>xmlDoValidityCheckingDefaultValue</H3
901><TABLE
902BORDER="0"
903BGCOLOR="#D6E8FF"
904WIDTH="100%"
905CELLPADDING="6"
906><TR
907><TD
908><PRE
909CLASS="PROGRAMLISTING"
910>#define     xmlDoValidityCheckingDefaultValue</PRE
911></TD
912></TR
913></TABLE
914><P
915>Global setting, indicate that the parser should work in validating mode.
916Disabled by default.</P
917><P
918></P
919></DIV
920><HR><DIV
921CLASS="REFSECT2"
922><A
923NAME="AEN20539"
924></A
925><H3
926><A
927NAME="XMLGENERICERROR"
928></A
929>xmlGenericError</H3
930><TABLE
931BORDER="0"
932BGCOLOR="#D6E8FF"
933WIDTH="100%"
934CELLPADDING="6"
935><TR
936><TD
937><PRE
938CLASS="PROGRAMLISTING"
939>#define     xmlGenericError</PRE
940></TD
941></TR
942></TABLE
943><P
944>Global setting: function used for generic error callbacks</P
945><P
946></P
947></DIV
948><HR><DIV
949CLASS="REFSECT2"
950><A
951NAME="AEN20545"
952></A
953><H3
954><A
955NAME="XMLGENERICERRORCONTEXT"
956></A
957>xmlGenericErrorContext</H3
958><TABLE
959BORDER="0"
960BGCOLOR="#D6E8FF"
961WIDTH="100%"
962CELLPADDING="6"
963><TR
964><TD
965><PRE
966CLASS="PROGRAMLISTING"
967>#define     xmlGenericErrorContext</PRE
968></TD
969></TR
970></TABLE
971><P
972>Global setting passed to generic error callbacks</P
973><P
974></P
975></DIV
976><HR><DIV
977CLASS="REFSECT2"
978><A
979NAME="AEN20551"
980></A
981><H3
982><A
983NAME="XMLGETWARNINGSDEFAULTVALUE"
984></A
985>xmlGetWarningsDefaultValue</H3
986><TABLE
987BORDER="0"
988BGCOLOR="#D6E8FF"
989WIDTH="100%"
990CELLPADDING="6"
991><TR
992><TD
993><PRE
994CLASS="PROGRAMLISTING"
995>#define     xmlGetWarningsDefaultValue</PRE
996></TD
997></TR
998></TABLE
999><P
1000>Global setting, indicate that the parser should provide warnings.
1001Activated by default.</P
1002><P
1003></P
1004></DIV
1005><HR><DIV
1006CLASS="REFSECT2"
1007><A
1008NAME="AEN20557"
1009></A
1010><H3
1011><A
1012NAME="XMLINDENTTREEOUTPUT"
1013></A
1014>xmlIndentTreeOutput</H3
1015><TABLE
1016BORDER="0"
1017BGCOLOR="#D6E8FF"
1018WIDTH="100%"
1019CELLPADDING="6"
1020><TR
1021><TD
1022><PRE
1023CLASS="PROGRAMLISTING"
1024>#define     xmlIndentTreeOutput</PRE
1025></TD
1026></TR
1027></TABLE
1028><P
1029>Global setting, asking the serializer to indent the output tree by default
1030Disabled by default</P
1031><P
1032></P
1033></DIV
1034><HR><DIV
1035CLASS="REFSECT2"
1036><A
1037NAME="AEN20563"
1038></A
1039><H3
1040><A
1041NAME="XMLKEEPBLANKSDEFAULTVALUE"
1042></A
1043>xmlKeepBlanksDefaultValue</H3
1044><TABLE
1045BORDER="0"
1046BGCOLOR="#D6E8FF"
1047WIDTH="100%"
1048CELLPADDING="6"
1049><TR
1050><TD
1051><PRE
1052CLASS="PROGRAMLISTING"
1053>#define     xmlKeepBlanksDefaultValue</PRE
1054></TD
1055></TR
1056></TABLE
1057><P
1058>Global setting, indicate that the parser should keep all blanks
1059nodes found in the content
1060Activated by default, this is actually needed to have the parser
1061conformant to the XML Recommendation, however the option is kept
1062for some applications since this was libxml1 default behaviour.</P
1063><P
1064></P
1065></DIV
1066><HR><DIV
1067CLASS="REFSECT2"
1068><A
1069NAME="AEN20569"
1070></A
1071><H3
1072><A
1073NAME="XMLLINENUMBERSDEFAULTVALUE"
1074></A
1075>xmlLineNumbersDefaultValue</H3
1076><TABLE
1077BORDER="0"
1078BGCOLOR="#D6E8FF"
1079WIDTH="100%"
1080CELLPADDING="6"
1081><TR
1082><TD
1083><PRE
1084CLASS="PROGRAMLISTING"
1085>#define     xmlLineNumbersDefaultValue</PRE
1086></TD
1087></TR
1088></TABLE
1089><P
1090>Global setting, indicate that the parser should store the line number
1091in the content field of elements in the DOM tree. 
1092Disabled by default since this may not be safe for old classes of
1093applicaton.</P
1094><P
1095></P
1096></DIV
1097><HR><DIV
1098CLASS="REFSECT2"
1099><A
1100NAME="AEN20575"
1101></A
1102><H3
1103><A
1104NAME="XMLLOADEXTDTDDEFAULTVALUE"
1105></A
1106>xmlLoadExtDtdDefaultValue</H3
1107><TABLE
1108BORDER="0"
1109BGCOLOR="#D6E8FF"
1110WIDTH="100%"
1111CELLPADDING="6"
1112><TR
1113><TD
1114><PRE
1115CLASS="PROGRAMLISTING"
1116>#define     xmlLoadExtDtdDefaultValue</PRE
1117></TD
1118></TR
1119></TABLE
1120><P
1121>Global setting, indicate that the parser should load DTD while not
1122validating.
1123Disabled by default.</P
1124><P
1125></P
1126></DIV
1127><HR><DIV
1128CLASS="REFSECT2"
1129><A
1130NAME="AEN20581"
1131></A
1132><H3
1133><A
1134NAME="XMLPARSERDEBUGENTITIES"
1135></A
1136>xmlParserDebugEntities</H3
1137><TABLE
1138BORDER="0"
1139BGCOLOR="#D6E8FF"
1140WIDTH="100%"
1141CELLPADDING="6"
1142><TR
1143><TD
1144><PRE
1145CLASS="PROGRAMLISTING"
1146>#define     xmlParserDebugEntities</PRE
1147></TD
1148></TR
1149></TABLE
1150><P
1151>Global setting, asking the parser to print out debugging informations.
1152while handling entities.
1153Disabled by default</P
1154><P
1155></P
1156></DIV
1157><HR><DIV
1158CLASS="REFSECT2"
1159><A
1160NAME="AEN20587"
1161></A
1162><H3
1163><A
1164NAME="XMLPARSERVERSION"
1165></A
1166>xmlParserVersion</H3
1167><TABLE
1168BORDER="0"
1169BGCOLOR="#D6E8FF"
1170WIDTH="100%"
1171CELLPADDING="6"
1172><TR
1173><TD
1174><PRE
1175CLASS="PROGRAMLISTING"
1176>#define     xmlParserVersion</PRE
1177></TD
1178></TR
1179></TABLE
1180><P
1181>Constant string describing the internal version of the library</P
1182><P
1183></P
1184></DIV
1185><HR><DIV
1186CLASS="REFSECT2"
1187><A
1188NAME="AEN20593"
1189></A
1190><H3
1191><A
1192NAME="XMLPEDANTICPARSERDEFAULTVALUE"
1193></A
1194>xmlPedanticParserDefaultValue</H3
1195><TABLE
1196BORDER="0"
1197BGCOLOR="#D6E8FF"
1198WIDTH="100%"
1199CELLPADDING="6"
1200><TR
1201><TD
1202><PRE
1203CLASS="PROGRAMLISTING"
1204>#define     xmlPedanticParserDefaultValue</PRE
1205></TD
1206></TR
1207></TABLE
1208><P
1209>Global setting, indicate that the parser be pedantic
1210Disabled by default.</P
1211><P
1212></P
1213></DIV
1214><HR><DIV
1215CLASS="REFSECT2"
1216><A
1217NAME="AEN20599"
1218></A
1219><H3
1220><A
1221NAME="XMLSAVENOEMPTYTAGS"
1222></A
1223>xmlSaveNoEmptyTags</H3
1224><TABLE
1225BORDER="0"
1226BGCOLOR="#D6E8FF"
1227WIDTH="100%"
1228CELLPADDING="6"
1229><TR
1230><TD
1231><PRE
1232CLASS="PROGRAMLISTING"
1233>#define     xmlSaveNoEmptyTags</PRE
1234></TD
1235></TR
1236></TABLE
1237><P
1238>Global setting, asking the serializer to not output empty tags
1239as &lt;empty/&gt; but &lt;empty&gt;&lt;/empty&gt;. those two forms are undistinguishable
1240once parsed.
1241Disabled by default</P
1242><P
1243></P
1244></DIV
1245><HR><DIV
1246CLASS="REFSECT2"
1247><A
1248NAME="AEN20605"
1249></A
1250><H3
1251><A
1252NAME="XMLSUBSTITUTEENTITIESDEFAULTVALUE"
1253></A
1254>xmlSubstituteEntitiesDefaultValue</H3
1255><TABLE
1256BORDER="0"
1257BGCOLOR="#D6E8FF"
1258WIDTH="100%"
1259CELLPADDING="6"
1260><TR
1261><TD
1262><PRE
1263CLASS="PROGRAMLISTING"
1264>#define     xmlSubstituteEntitiesDefaultValue</PRE
1265></TD
1266></TR
1267></TABLE
1268><P
1269>global variable controlling the entity substitution default behavior</P
1270><P
1271></P
1272></DIV
1273></DIV
1274><DIV
1275CLASS="NAVFOOTER"
1276><BR
1277CLEAR="all"><BR><TABLE
1278WIDTH="100%"
1279BORDER="0"
1280BGCOLOR="#000000"
1281CELLPADDING="1"
1282CELLSPACING="0"
1283><TR
1284><TD
1285WIDTH="25%"
1286BGCOLOR="#C00000"
1287ALIGN="left"
1288><A
1289HREF="libxml-threads.html"
1290><FONT
1291COLOR="#FFFFFF"
1292SIZE="3"
1293><B
1294>&#60;&#60;&#60; Previous Page</B
1295></FONT
1296></A
1297></TD
1298><TD
1299WIDTH="25%"
1300BGCOLOR="#0000C0"
1301ALIGN="center"
1302><FONT
1303COLOR="#FFFFFF"
1304SIZE="3"
1305><B
1306><A
1307HREF="book1.html"
1308><FONT
1309COLOR="#FFFFFF"
1310SIZE="3"
1311><B
1312>Home</B
1313></FONT
1314></A
1315></B
1316></FONT
1317></TD
1318><TD
1319WIDTH="25%"
1320BGCOLOR="#00C000"
1321ALIGN="center"
1322><FONT
1323COLOR="#FFFFFF"
1324SIZE="3"
1325><B
1326><A
1327HREF="libxml-lib.html"
1328><FONT
1329COLOR="#FFFFFF"
1330SIZE="3"
1331><B
1332>Up</B
1333></FONT
1334></A
1335></B
1336></FONT
1337></TD
1338><TD
1339WIDTH="25%"
1340BGCOLOR="#C00000"
1341ALIGN="right"
1342><A
1343HREF="libxml-docbparser.html"
1344><FONT
1345COLOR="#FFFFFF"
1346SIZE="3"
1347><B
1348>Next Page &#62;&#62;&#62;</B
1349></FONT
1350></A
1351></TD
1352></TR
1353><TR
1354><TD
1355COLSPAN="2"
1356ALIGN="left"
1357><FONT
1358COLOR="#FFFFFF"
1359SIZE="3"
1360><B
1361>threads</B
1362></FONT
1363></TD
1364><TD
1365COLSPAN="2"
1366ALIGN="right"
1367><FONT
1368COLOR="#FFFFFF"
1369SIZE="3"
1370><B
1371>DOCBparser</B
1372></FONT
1373></TD
1374></TR
1375></TABLE
1376></DIV
1377></BODY
1378></HTML
1379>