| <HTML |
| ><HEAD |
| ><TITLE |
| >globals</TITLE |
| ><META |
| NAME="GENERATOR" |
| CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+ |
| "><LINK |
| REL="HOME" |
| TITLE="Gnome XML Library Reference Manual" |
| HREF="book1.html"><LINK |
| REL="UP" |
| TITLE="Libxml Library Reference" |
| HREF="libxml-lib.html"><LINK |
| REL="PREVIOUS" |
| TITLE="threads" |
| HREF="libxml-threads.html"><LINK |
| REL="NEXT" |
| TITLE="DOCBparser" |
| HREF="libxml-docbparser.html"></HEAD |
| ><BODY |
| CLASS="REFENTRY" |
| BGCOLOR="#FFFFFF" |
| TEXT="#000000" |
| LINK="#0000FF" |
| VLINK="#840084" |
| ALINK="#0000FF" |
| ><DIV |
| CLASS="NAVHEADER" |
| ><TABLE |
| WIDTH="100%" |
| BORDER="0" |
| BGCOLOR="#000000" |
| CELLPADDING="1" |
| CELLSPACING="0" |
| ><TR |
| ><TH |
| COLSPAN="4" |
| ALIGN="center" |
| ><FONT |
| COLOR="#FFFFFF" |
| SIZE="5" |
| >Gnome XML Library Reference Manual</FONT |
| ></TH |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="25%" |
| BGCOLOR="#C00000" |
| ALIGN="left" |
| ><A |
| HREF="libxml-threads.html" |
| ><FONT |
| COLOR="#FFFFFF" |
| SIZE="3" |
| ><B |
| ><<< Previous Page</B |
| ></FONT |
| ></A |
| ></TD |
| ><TD |
| WIDTH="25%" |
| BGCOLOR="#0000C0" |
| ALIGN="center" |
| ><FONT |
| COLOR="#FFFFFF" |
| SIZE="3" |
| ><B |
| ><A |
| HREF="book1.html" |
| ><FONT |
| COLOR="#FFFFFF" |
| SIZE="3" |
| ><B |
| >Home</B |
| ></FONT |
| ></A |
| ></B |
| ></FONT |
| ></TD |
| ><TD |
| WIDTH="25%" |
| BGCOLOR="#00C000" |
| ALIGN="center" |
| ><FONT |
| COLOR="#FFFFFF" |
| SIZE="3" |
| ><B |
| ><A |
| HREF="libxml-lib.html" |
| ><FONT |
| COLOR="#FFFFFF" |
| SIZE="3" |
| ><B |
| >Up</B |
| ></FONT |
| ></A |
| ></B |
| ></FONT |
| ></TD |
| ><TD |
| WIDTH="25%" |
| BGCOLOR="#C00000" |
| ALIGN="right" |
| ><A |
| HREF="libxml-docbparser.html" |
| ><FONT |
| COLOR="#FFFFFF" |
| SIZE="3" |
| ><B |
| >Next Page >>></B |
| ></FONT |
| ></A |
| ></TD |
| ></TR |
| ></TABLE |
| ></DIV |
| ><H1 |
| ><A |
| NAME="LIBXML-GLOBALS">globals</H1 |
| ><DIV |
| CLASS="REFNAMEDIV" |
| ><A |
| NAME="AEN21179" |
| ></A |
| ><H2 |
| >Name</H2 |
| >globals -- </DIV |
| ><DIV |
| CLASS="REFSYNOPSISDIV" |
| ><A |
| NAME="AEN21182"><H2 |
| >Synopsis</H2 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="SYNOPSIS" |
| > |
| |
| struct <A |
| HREF="libxml-globals.html#XMLGLOBALSTATE" |
| >xmlGlobalState</A |
| >; |
| typedef <A |
| HREF="libxml-globals.html#XMLGLOBALSTATEPTR" |
| >xmlGlobalStatePtr</A |
| >; |
| void <A |
| HREF="libxml-globals.html#XMLINITIALIZEGLOBALSTATE" |
| >xmlInitializeGlobalState</A |
| > (<A |
| HREF="libxml-globals.html#XMLGLOBALSTATEPTR" |
| >xmlGlobalStatePtr</A |
| > gs); |
| #define <A |
| HREF="libxml-globals.html#XMLMALLOC" |
| >xmlMalloc</A |
| > (size) |
| #define <A |
| HREF="libxml-globals.html#XMLREALLOC" |
| >xmlRealloc</A |
| > (ptr, size) |
| #define <A |
| HREF="libxml-globals.html#XMLFREE" |
| >xmlFree</A |
| > |
| #define <A |
| HREF="libxml-globals.html#XMLMEMSTRDUP" |
| >xmlMemStrdup</A |
| > (str) |
| #define <A |
| HREF="libxml-globals.html#DOCBDEFAULTSAXHANDLER" |
| >docbDefaultSAXHandler</A |
| > |
| #define <A |
| HREF="libxml-globals.html#HTMLDEFAULTSAXHANDLER" |
| >htmlDefaultSAXHandler</A |
| > |
| #define <A |
| HREF="libxml-globals.html#OLDXMLWDCOMPATIBILITY" |
| >oldXMLWDcompatibility</A |
| > |
| #define <A |
| HREF="libxml-globals.html#XMLBUFFERALLOCSCHEME" |
| >xmlBufferAllocScheme</A |
| > |
| #define <A |
| HREF="libxml-globals.html#XMLDEFAULTBUFFERSIZE" |
| >xmlDefaultBufferSize</A |
| > |
| #define <A |
| HREF="libxml-globals.html#XMLDEFAULTSAXHANDLER" |
| >xmlDefaultSAXHandler</A |
| > |
| #define <A |
| HREF="libxml-globals.html#XMLDEFAULTSAXLOCATOR" |
| >xmlDefaultSAXLocator</A |
| > |
| #define <A |
| HREF="libxml-globals.html#XMLDOVALIDITYCHECKINGDEFAULTVALUE" |
| >xmlDoValidityCheckingDefaultValue</A |
| > |
| #define <A |
| HREF="libxml-globals.html#XMLGENERICERROR" |
| >xmlGenericError</A |
| > |
| #define <A |
| HREF="libxml-globals.html#XMLGENERICERRORCONTEXT" |
| >xmlGenericErrorContext</A |
| > |
| #define <A |
| HREF="libxml-globals.html#XMLGETWARNINGSDEFAULTVALUE" |
| >xmlGetWarningsDefaultValue</A |
| > |
| #define <A |
| HREF="libxml-globals.html#XMLINDENTTREEOUTPUT" |
| >xmlIndentTreeOutput</A |
| > |
| #define <A |
| HREF="libxml-globals.html#XMLTREEINDENTSTRING" |
| >xmlTreeIndentString</A |
| > |
| #define <A |
| HREF="libxml-globals.html#XMLKEEPBLANKSDEFAULTVALUE" |
| >xmlKeepBlanksDefaultValue</A |
| > |
| #define <A |
| HREF="libxml-globals.html#XMLLINENUMBERSDEFAULTVALUE" |
| >xmlLineNumbersDefaultValue</A |
| > |
| #define <A |
| HREF="libxml-globals.html#XMLLOADEXTDTDDEFAULTVALUE" |
| >xmlLoadExtDtdDefaultValue</A |
| > |
| #define <A |
| HREF="libxml-globals.html#XMLPARSERDEBUGENTITIES" |
| >xmlParserDebugEntities</A |
| > |
| #define <A |
| HREF="libxml-globals.html#XMLPARSERVERSION" |
| >xmlParserVersion</A |
| > |
| #define <A |
| HREF="libxml-globals.html#XMLPEDANTICPARSERDEFAULTVALUE" |
| >xmlPedanticParserDefaultValue</A |
| > |
| #define <A |
| HREF="libxml-globals.html#XMLSAVENOEMPTYTAGS" |
| >xmlSaveNoEmptyTags</A |
| > |
| #define <A |
| HREF="libxml-parser.html#XMLSUBSTITUTEENTITIESDEFAULTVALUE" |
| >xmlSubstituteEntitiesDefaultValue</A |
| ></PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ></DIV |
| ><DIV |
| CLASS="REFSECT1" |
| ><A |
| NAME="AEN21214" |
| ></A |
| ><H2 |
| >Description</H2 |
| ><P |
| ></P |
| ></DIV |
| ><DIV |
| CLASS="REFSECT1" |
| ><A |
| NAME="AEN21217" |
| ></A |
| ><H2 |
| >Details</H2 |
| ><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN21219" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLGLOBALSTATE" |
| ></A |
| >struct xmlGlobalState</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >struct xmlGlobalState |
| { |
| const char *xmlParserVersion; |
| |
| xmlSAXLocator xmlDefaultSAXLocator; |
| xmlSAXHandler xmlDefaultSAXHandler; |
| xmlSAXHandler docbDefaultSAXHandler; |
| xmlSAXHandler htmlDefaultSAXHandler; |
| |
| xmlFreeFunc xmlFree; |
| xmlMallocFunc xmlMalloc; |
| xmlStrdupFunc xmlMemStrdup; |
| xmlReallocFunc xmlRealloc; |
| |
| xmlGenericErrorFunc xmlGenericError; |
| void *xmlGenericErrorContext; |
| |
| int oldXMLWDcompatibility; |
| |
| xmlBufferAllocationScheme xmlBufferAllocScheme; |
| int xmlDefaultBufferSize; |
| |
| int xmlSubstituteEntitiesDefaultValue; |
| int xmlDoValidityCheckingDefaultValue; |
| int xmlGetWarningsDefaultValue; |
| int xmlKeepBlanksDefaultValue; |
| int xmlLineNumbersDefaultValue; |
| int xmlLoadExtDtdDefaultValue; |
| int xmlParserDebugEntities; |
| int xmlPedanticParserDefaultValue; |
| |
| int xmlSaveNoEmptyTags; |
| int xmlIndentTreeOutput; |
| const char *xmlTreeIndentString; |
| };</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN21224" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLGLOBALSTATEPTR" |
| ></A |
| >xmlGlobalStatePtr</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >typedef xmlGlobalState *xmlGlobalStatePtr;</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN21229" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLINITIALIZEGLOBALSTATE" |
| ></A |
| >xmlInitializeGlobalState ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >void xmlInitializeGlobalState (<A |
| HREF="libxml-globals.html#XMLGLOBALSTATEPTR" |
| >xmlGlobalStatePtr</A |
| > gs);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| ><A |
| HREF="libxml-globals.html#XMLINITIALIZEGLOBALSTATE" |
| >xmlInitializeGlobalState</A |
| >() initialize a global state with all the |
| default values of the library.</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><A |
| NAME="AEN21237"><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TBODY |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >gs</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > a pointer to a newly allocated global state</TD |
| ></TR |
| ></TBODY |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN21246" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLMALLOC" |
| ></A |
| >xmlMalloc()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >#define xmlMalloc(size)</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Wrapper for the <GTKDOCLINK |
| HREF="MALLOC" |
| >malloc</GTKDOCLINK |
| >() function used in the XML library.</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><A |
| NAME="AEN21253"><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TBODY |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >size</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > </TD |
| ></TR |
| ></TBODY |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN21262" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLREALLOC" |
| ></A |
| >xmlRealloc()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >#define xmlRealloc(ptr, size)</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Wrapper for the <GTKDOCLINK |
| HREF="REALLOC" |
| >realloc</GTKDOCLINK |
| >() function used in the XML library.</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><A |
| NAME="AEN21269"><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TBODY |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >ptr</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > </TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >size</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > </TD |
| ></TR |
| ></TBODY |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN21282" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLFREE" |
| ></A |
| >xmlFree</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >#define xmlFree</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >The variable holding the libxml <GTKDOCLINK |
| HREF="FREE" |
| >free</GTKDOCLINK |
| >() implementation</P |
| ><P |
| ></P |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN21289" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLMEMSTRDUP" |
| ></A |
| >xmlMemStrdup()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >#define xmlMemStrdup(str)</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Wrapper for the <GTKDOCLINK |
| HREF="STRDUP" |
| >strdup</GTKDOCLINK |
| >() function, <A |
| HREF="libxml-parser.html#XMLSTRDUP" |
| >xmlStrdup</A |
| >() is usually preferred.</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><A |
| NAME="AEN21297"><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TBODY |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >str</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > </TD |
| ></TR |
| ></TBODY |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN21306" |
| ></A |
| ><H3 |
| ><A |
| NAME="DOCBDEFAULTSAXHANDLER" |
| ></A |
| >docbDefaultSAXHandler</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >#define docbDefaultSAXHandler</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Default handler for SGML DocBook, builds the DOM tree</P |
| ><P |
| ></P |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN21312" |
| ></A |
| ><H3 |
| ><A |
| NAME="HTMLDEFAULTSAXHANDLER" |
| ></A |
| >htmlDefaultSAXHandler</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >#define htmlDefaultSAXHandler</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Default handler for HTML, builds the DOM tree</P |
| ><P |
| ></P |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN21318" |
| ></A |
| ><H3 |
| ><A |
| NAME="OLDXMLWDCOMPATIBILITY" |
| ></A |
| >oldXMLWDcompatibility</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >#define oldXMLWDcompatibility</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Global setting, DEPRECATED.</P |
| ><P |
| ></P |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN21324" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLBUFFERALLOCSCHEME" |
| ></A |
| >xmlBufferAllocScheme</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >#define xmlBufferAllocScheme</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Global setting, default allocation policy for buffers, default is |
| XML_BUFFER_ALLOC_EXACT</P |
| ><P |
| ></P |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN21330" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLDEFAULTBUFFERSIZE" |
| ></A |
| >xmlDefaultBufferSize</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >#define xmlDefaultBufferSize</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Global setting, default buffer size. Default value is BASE_BUFFER_SIZE</P |
| ><P |
| ></P |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN21336" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLDEFAULTSAXHANDLER" |
| ></A |
| >xmlDefaultSAXHandler</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >#define xmlDefaultSAXHandler</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Default handler for XML, builds the DOM tree</P |
| ><P |
| ></P |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN21342" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLDEFAULTSAXLOCATOR" |
| ></A |
| >xmlDefaultSAXLocator</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >#define xmlDefaultSAXLocator</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >The default SAX Locator |
| { getPublicId, getSystemId, getLineNumber, getColumnNumber}</P |
| ><P |
| ></P |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN21348" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLDOVALIDITYCHECKINGDEFAULTVALUE" |
| ></A |
| >xmlDoValidityCheckingDefaultValue</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >#define xmlDoValidityCheckingDefaultValue</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Global setting, indicate that the parser should work in validating mode. |
| Disabled by default.</P |
| ><P |
| ></P |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN21354" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLGENERICERROR" |
| ></A |
| >xmlGenericError</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >#define xmlGenericError</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Global setting: function used for generic error callbacks</P |
| ><P |
| ></P |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN21360" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLGENERICERRORCONTEXT" |
| ></A |
| >xmlGenericErrorContext</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >#define xmlGenericErrorContext</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Global setting passed to generic error callbacks</P |
| ><P |
| ></P |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN21366" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLGETWARNINGSDEFAULTVALUE" |
| ></A |
| >xmlGetWarningsDefaultValue</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >#define xmlGetWarningsDefaultValue</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Global setting, indicate that the parser should provide warnings. |
| Activated by default.</P |
| ><P |
| ></P |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN21372" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLINDENTTREEOUTPUT" |
| ></A |
| >xmlIndentTreeOutput</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >#define xmlIndentTreeOutput</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Global setting, asking the serializer to indent the output tree by default |
| Enabled by default</P |
| ><P |
| ></P |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN21378" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLTREEINDENTSTRING" |
| ></A |
| >xmlTreeIndentString</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >#define xmlTreeIndentString</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >The string used to do one-level indent. By default is equal to " " (two spaces)</P |
| ><P |
| ></P |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN21384" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLKEEPBLANKSDEFAULTVALUE" |
| ></A |
| >xmlKeepBlanksDefaultValue</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >#define xmlKeepBlanksDefaultValue</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Global setting, indicate that the parser should keep all blanks |
| nodes found in the content |
| Activated by default, this is actually needed to have the parser |
| conformant to the XML Recommendation, however the option is kept |
| for some applications since this was libxml1 default behaviour.</P |
| ><P |
| ></P |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN21390" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLLINENUMBERSDEFAULTVALUE" |
| ></A |
| >xmlLineNumbersDefaultValue</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >#define xmlLineNumbersDefaultValue</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Global setting, indicate that the parser should store the line number |
| in the content field of elements in the DOM tree. |
| Disabled by default since this may not be safe for old classes of |
| applicaton.</P |
| ><P |
| ></P |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN21396" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLLOADEXTDTDDEFAULTVALUE" |
| ></A |
| >xmlLoadExtDtdDefaultValue</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >#define xmlLoadExtDtdDefaultValue</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Global setting, indicate that the parser should load DTD while not |
| validating. |
| Disabled by default.</P |
| ><P |
| ></P |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN21402" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLPARSERDEBUGENTITIES" |
| ></A |
| >xmlParserDebugEntities</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >#define xmlParserDebugEntities</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Global setting, asking the parser to print out debugging informations. |
| while handling entities. |
| Disabled by default</P |
| ><P |
| ></P |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN21408" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLPARSERVERSION" |
| ></A |
| >xmlParserVersion</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >#define xmlParserVersion</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Constant string describing the internal version of the library</P |
| ><P |
| ></P |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN21414" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLPEDANTICPARSERDEFAULTVALUE" |
| ></A |
| >xmlPedanticParserDefaultValue</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >#define xmlPedanticParserDefaultValue</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Global setting, indicate that the parser be pedantic |
| Disabled by default.</P |
| ><P |
| ></P |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN21420" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLSAVENOEMPTYTAGS" |
| ></A |
| >xmlSaveNoEmptyTags</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >#define xmlSaveNoEmptyTags</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Global setting, asking the serializer to not output empty tags |
| as <empty/> but <empty></empty>. those two forms are undistinguishable |
| once parsed. |
| Disabled by default</P |
| ><P |
| ></P |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN21426" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLSUBSTITUTEENTITIESDEFAULTVALUE" |
| ></A |
| >xmlSubstituteEntitiesDefaultValue</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >#define xmlSubstituteEntitiesDefaultValue</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Global variable controlling the entity substitution default behavior.</P |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><DIV |
| CLASS="NAVFOOTER" |
| ><BR |
| CLEAR="all"><BR><TABLE |
| WIDTH="100%" |
| BORDER="0" |
| BGCOLOR="#000000" |
| CELLPADDING="1" |
| CELLSPACING="0" |
| ><TR |
| ><TD |
| WIDTH="25%" |
| BGCOLOR="#C00000" |
| ALIGN="left" |
| ><A |
| HREF="libxml-threads.html" |
| ><FONT |
| COLOR="#FFFFFF" |
| SIZE="3" |
| ><B |
| ><<< Previous Page</B |
| ></FONT |
| ></A |
| ></TD |
| ><TD |
| WIDTH="25%" |
| BGCOLOR="#0000C0" |
| ALIGN="center" |
| ><FONT |
| COLOR="#FFFFFF" |
| SIZE="3" |
| ><B |
| ><A |
| HREF="book1.html" |
| ><FONT |
| COLOR="#FFFFFF" |
| SIZE="3" |
| ><B |
| >Home</B |
| ></FONT |
| ></A |
| ></B |
| ></FONT |
| ></TD |
| ><TD |
| WIDTH="25%" |
| BGCOLOR="#00C000" |
| ALIGN="center" |
| ><FONT |
| COLOR="#FFFFFF" |
| SIZE="3" |
| ><B |
| ><A |
| HREF="libxml-lib.html" |
| ><FONT |
| COLOR="#FFFFFF" |
| SIZE="3" |
| ><B |
| >Up</B |
| ></FONT |
| ></A |
| ></B |
| ></FONT |
| ></TD |
| ><TD |
| WIDTH="25%" |
| BGCOLOR="#C00000" |
| ALIGN="right" |
| ><A |
| HREF="libxml-docbparser.html" |
| ><FONT |
| COLOR="#FFFFFF" |
| SIZE="3" |
| ><B |
| >Next Page >>></B |
| ></FONT |
| ></A |
| ></TD |
| ></TR |
| ><TR |
| ><TD |
| COLSPAN="2" |
| ALIGN="left" |
| ><FONT |
| COLOR="#FFFFFF" |
| SIZE="3" |
| ><B |
| >threads</B |
| ></FONT |
| ></TD |
| ><TD |
| COLSPAN="2" |
| ALIGN="right" |
| ><FONT |
| COLOR="#FFFFFF" |
| SIZE="3" |
| ><B |
| >DOCBparser</B |
| ></FONT |
| ></TD |
| ></TR |
| ></TABLE |
| ></DIV |
| ></BODY |
| ></HTML |
| > |