<HTML ><HEAD ><TITLE >SAX</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.64 "><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="parser" HREF="libxml-parser.html"><LINK REL="NEXT" TITLE="tree" HREF="libxml-tree.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-parser.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-tree.html" ><FONT COLOR="#FFFFFF" SIZE="3" ><B >Next Page >>></B ></FONT ></A ></TD ></TR ></TABLE ></DIV ><H1 ><A NAME="LIBXML-SAX" >SAX</A ></H1 ><DIV CLASS="REFNAMEDIV" ><A NAME="AEN2828" ></A ><H2 >Name</H2 >SAX -- </DIV ><DIV CLASS="REFSYNOPSISDIV" ><A NAME="AEN2831" ></A ><H2 >Synopsis</H2 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="SYNOPSIS" > const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A >* <A HREF="libxml-sax.html#GETPUBLICID" >getPublicId</A > (void *ctx); const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A >* <A HREF="libxml-sax.html#GETSYSTEMID" >getSystemId</A > (void *ctx); void <A HREF="libxml-sax.html#SETDOCUMENTLOCATOR" >setDocumentLocator</A > (void *ctx, <A HREF="libxml-tree.html#XMLSAXLOCATORPTR" >xmlSAXLocatorPtr</A > loc); int <A HREF="libxml-sax.html#GETLINENUMBER" >getLineNumber</A > (void *ctx); int <A HREF="libxml-sax.html#GETCOLUMNNUMBER" >getColumnNumber</A > (void *ctx); int <A HREF="libxml-sax.html#ISSTANDALONE" >isStandalone</A > (void *ctx); int <A HREF="libxml-sax.html#HASINTERNALSUBSET" >hasInternalSubset</A > (void *ctx); int <A HREF="libxml-sax.html#HASEXTERNALSUBSET" >hasExternalSubset</A > (void *ctx); void <A HREF="libxml-sax.html#INTERNALSUBSET" >internalSubset</A > (void *ctx, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *name, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *ExternalID, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *SystemID); void <A HREF="libxml-sax.html#EXTERNALSUBSET" >externalSubset</A > (void *ctx, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *name, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *ExternalID, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *SystemID); <A HREF="libxml-tree.html#XMLENTITYPTR" >xmlEntityPtr</A > <A HREF="libxml-sax.html#GETENTITY" >getEntity</A > (void *ctx, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *name); <A HREF="libxml-tree.html#XMLENTITYPTR" >xmlEntityPtr</A > <A HREF="libxml-sax.html#GETPARAMETERENTITY" >getParameterEntity</A > (void *ctx, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *name); <A HREF="libxml-tree.html#XMLPARSERINPUTPTR" >xmlParserInputPtr</A > <A HREF="libxml-sax.html#RESOLVEENTITY" >resolveEntity</A > (void *ctx, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *publicId, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *systemId); void <A HREF="libxml-sax.html#ENTITYDECL" >entityDecl</A > (void *ctx, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *name, int type, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *publicId, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *systemId, <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *content); void <A HREF="libxml-sax.html#ATTRIBUTEDECL" >attributeDecl</A > (void *ctx, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *elem, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *fullname, int type, int def, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *defaultValue, <A HREF="libxml-tree.html#XMLENUMERATIONPTR" >xmlEnumerationPtr</A > tree); void <A HREF="libxml-sax.html#ELEMENTDECL" >elementDecl</A > (void *ctx, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *name, int type, <A HREF="libxml-tree.html#XMLELEMENTCONTENTPTR" >xmlElementContentPtr</A > content); void <A HREF="libxml-sax.html#NOTATIONDECL" >notationDecl</A > (void *ctx, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *name, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *publicId, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *systemId); void <A HREF="libxml-sax.html#UNPARSEDENTITYDECL" >unparsedEntityDecl</A > (void *ctx, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *name, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *publicId, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *systemId, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *notationName); void <A HREF="libxml-sax.html#STARTDOCUMENT" >startDocument</A > (void *ctx); void <A HREF="libxml-sax.html#ENDDOCUMENT" >endDocument</A > (void *ctx); void <A HREF="libxml-sax.html#ATTRIBUTE" >attribute</A > (void *ctx, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *fullname, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *value); void <A HREF="libxml-sax.html#STARTELEMENT" >startElement</A > (void *ctx, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *fullname, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > **atts); void <A HREF="libxml-sax.html#ENDELEMENT" >endElement</A > (void *ctx, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *name); void <A HREF="libxml-sax.html#REFERENCE" >reference</A > (void *ctx, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *name); void <A HREF="libxml-sax.html#CHARACTERS" >characters</A > (void *ctx, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *ch, int len); void <A HREF="libxml-sax.html#IGNORABLEWHITESPACE" >ignorableWhitespace</A > (void *ctx, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *ch, int len); void <A HREF="libxml-sax.html#PROCESSINGINSTRUCTION" >processingInstruction</A > (void *ctx, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *target, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *data); void <A HREF="libxml-sax.html#GLOBALNAMESPACE" >globalNamespace</A > (void *ctx, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *href, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *prefix); void <A HREF="libxml-sax.html#SETNAMESPACE" >setNamespace</A > (void *ctx, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *name); <A HREF="libxml-tree.html#XMLNSPTR" >xmlNsPtr</A > <A HREF="libxml-sax.html#GETNAMESPACE" >getNamespace</A > (void *ctx); int <A HREF="libxml-sax.html#CHECKNAMESPACE" >checkNamespace</A > (void *ctx, <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *nameSpace); void <A HREF="libxml-sax.html#NAMESPACEDECL" >namespaceDecl</A > (void *ctx, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *href, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *prefix); void <A HREF="libxml-sax.html#COMMENT" >comment</A > (void *ctx, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *value); void <A HREF="libxml-sax.html#CDATABLOCK" >cdataBlock</A > (void *ctx, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *value, int len); void <A HREF="libxml-sax.html#INITXMLDEFAULTSAXHANDLER" >initxmlDefaultSAXHandler</A > (<A HREF="libxml-parser.html#XMLSAXHANDLER" >xmlSAXHandler</A > *hdlr, int warning); void <A HREF="libxml-sax.html#INITHTMLDEFAULTSAXHANDLER" >inithtmlDefaultSAXHandler</A > (<A HREF="libxml-parser.html#XMLSAXHANDLER" >xmlSAXHandler</A > *hdlr); void <A HREF="libxml-sax.html#INITDOCBDEFAULTSAXHANDLER" >initdocbDefaultSAXHandler</A > (<A HREF="libxml-parser.html#XMLSAXHANDLER" >xmlSAXHandler</A > *hdlr); void <A HREF="libxml-sax.html#XMLDEFAULTSAXHANDLERINIT" >xmlDefaultSAXHandlerInit</A > (void); void <A HREF="libxml-sax.html#HTMLDEFAULTSAXHANDLERINIT" >htmlDefaultSAXHandlerInit</A > (void); void <A HREF="libxml-sax.html#DOCBDEFAULTSAXHANDLERINIT" >docbDefaultSAXHandlerInit</A > (void);</PRE ></TD ></TR ></TABLE ></DIV ><DIV CLASS="REFSECT1" ><A NAME="AEN2929" ></A ><H2 >Description</H2 ><P ></P ></DIV ><DIV CLASS="REFSECT1" ><A NAME="AEN2932" ></A ><H2 >Details</H2 ><DIV CLASS="REFSECT2" ><A NAME="AEN2934" ></A ><H3 ><A NAME="GETPUBLICID" ></A >getPublicId ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A >* getPublicId (void *ctx);</PRE ></TD ></TR ></TABLE ><P >Return the public ID e.g. "-//SGMLSOURCE//DTD DEMO//EN"</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN2941" ></A ><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 >ctx</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the user data (XML parser context)</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >a xmlChar *</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN2954" ></A ><H3 ><A NAME="GETSYSTEMID" ></A >getSystemId ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A >* getSystemId (void *ctx);</PRE ></TD ></TR ></TABLE ><P >Return the system ID, basically URL or filename e.g. http://www.sgmlsource.com/dtds/memo.dtd</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN2961" ></A ><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 >ctx</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the user data (XML parser context)</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >a xmlChar *</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN2974" ></A ><H3 ><A NAME="SETDOCUMENTLOCATOR" ></A >setDocumentLocator ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void setDocumentLocator (void *ctx, <A HREF="libxml-tree.html#XMLSAXLOCATORPTR" >xmlSAXLocatorPtr</A > loc);</PRE ></TD ></TR ></TABLE ><P >Receive the document locator at startup, actually xmlDefaultSAXLocator Everything is available on the context, so this is useless in our case.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN2981" ></A ><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 >ctx</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the user data (XML parser context)</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >loc</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > A SAX Locator</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN2994" ></A ><H3 ><A NAME="GETLINENUMBER" ></A >getLineNumber ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >int getLineNumber (void *ctx);</PRE ></TD ></TR ></TABLE ><P >Return the line number of the current parsing point.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN3000" ></A ><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 >ctx</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the user data (XML parser context)</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >an int</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN3013" ></A ><H3 ><A NAME="GETCOLUMNNUMBER" ></A >getColumnNumber ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >int getColumnNumber (void *ctx);</PRE ></TD ></TR ></TABLE ><P >Return the column number of the current parsing point.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN3019" ></A ><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 >ctx</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the user data (XML parser context)</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >an int</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN3032" ></A ><H3 ><A NAME="ISSTANDALONE" ></A >isStandalone ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >int isStandalone (void *ctx);</PRE ></TD ></TR ></TABLE ><P >Is this document tagged standalone ?</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN3038" ></A ><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 >ctx</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the user data (XML parser context)</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >1 if true</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN3051" ></A ><H3 ><A NAME="HASINTERNALSUBSET" ></A >hasInternalSubset ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >int hasInternalSubset (void *ctx);</PRE ></TD ></TR ></TABLE ><P >Does this document has an internal subset</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN3057" ></A ><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 >ctx</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the user data (XML parser context)</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >1 if true</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN3070" ></A ><H3 ><A NAME="HASEXTERNALSUBSET" ></A >hasExternalSubset ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >int hasExternalSubset (void *ctx);</PRE ></TD ></TR ></TABLE ><P >Does this document has an external subset</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN3076" ></A ><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 >ctx</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the user data (XML parser context)</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >1 if true</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN3089" ></A ><H3 ><A NAME="INTERNALSUBSET" ></A >internalSubset ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void internalSubset (void *ctx, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *name, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *ExternalID, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *SystemID);</PRE ></TD ></TR ></TABLE ><P >Callback on internal subset declaration.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN3098" ></A ><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 >ctx</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the user data (XML parser context)</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >name</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the root element name</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ExternalID</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the external ID</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >SystemID</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the SYSTEM ID (e.g. filename or URL)</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN3119" ></A ><H3 ><A NAME="EXTERNALSUBSET" ></A >externalSubset ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void externalSubset (void *ctx, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *name, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *ExternalID, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *SystemID);</PRE ></TD ></TR ></TABLE ><P >Callback on external subset declaration.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN3128" ></A ><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 >ctx</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the user data (XML parser context)</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >name</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the root element name</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ExternalID</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the external ID</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >SystemID</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the SYSTEM ID (e.g. filename or URL)</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN3149" ></A ><H3 ><A NAME="GETENTITY" ></A >getEntity ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-tree.html#XMLENTITYPTR" >xmlEntityPtr</A > getEntity (void *ctx, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *name);</PRE ></TD ></TR ></TABLE ><P >Get an entity by name</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN3157" ></A ><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 >ctx</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the user data (XML parser context)</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >name</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > The entity name</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the xmlEntityPtr if found.</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN3174" ></A ><H3 ><A NAME="GETPARAMETERENTITY" ></A >getParameterEntity ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-tree.html#XMLENTITYPTR" >xmlEntityPtr</A > getParameterEntity (void *ctx, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *name);</PRE ></TD ></TR ></TABLE ><P >Get a parameter entity by name</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN3182" ></A ><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 >ctx</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the user data (XML parser context)</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >name</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > The entity name</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the xmlEntityPtr if found.</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN3199" ></A ><H3 ><A NAME="RESOLVEENTITY" ></A >resolveEntity ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-tree.html#XMLPARSERINPUTPTR" >xmlParserInputPtr</A > resolveEntity (void *ctx, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *publicId, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *systemId);</PRE ></TD ></TR ></TABLE ><P >The entity loader, to control the loading of external entities, the application can either: - override this <A HREF="libxml-sax.html#RESOLVEENTITY" >resolveEntity</A >() callback in the SAX block - or better use the <A HREF="libxml-parser.html#XMLSETEXTERNALENTITYLOADER" >xmlSetExternalEntityLoader</A >() function to set up it's own entity resolution routine</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN3210" ></A ><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 >ctx</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the user data (XML parser context)</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >publicId</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > The public ID of the entity</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >systemId</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > The system ID of the entity</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the xmlParserInputPtr if inlined or NULL for DOM behaviour.</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN3231" ></A ><H3 ><A NAME="ENTITYDECL" ></A >entityDecl ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void entityDecl (void *ctx, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *name, int type, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *publicId, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *systemId, <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *content);</PRE ></TD ></TR ></TABLE ><P >An entity definition has been parsed</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN3241" ></A ><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 >ctx</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the user data (XML parser context)</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >name</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the entity name </TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >type</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the entity type </TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >publicId</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > The public ID of the entity</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >systemId</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > The system ID of the entity</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >content</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the entity value (without processing).</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN3270" ></A ><H3 ><A NAME="ATTRIBUTEDECL" ></A >attributeDecl ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void attributeDecl (void *ctx, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *elem, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *fullname, int type, int def, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *defaultValue, <A HREF="libxml-tree.html#XMLENUMERATIONPTR" >xmlEnumerationPtr</A > tree);</PRE ></TD ></TR ></TABLE ><P >An attribute definition has been parsed</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN3280" ></A ><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 >ctx</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the user data (XML parser context)</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >elem</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the name of the element</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >fullname</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the attribute name </TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >type</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the attribute type </TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >def</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the type of default value</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >defaultValue</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the attribute default value</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >tree</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the tree of enumerated value set</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN3313" ></A ><H3 ><A NAME="ELEMENTDECL" ></A >elementDecl ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void elementDecl (void *ctx, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *name, int type, <A HREF="libxml-tree.html#XMLELEMENTCONTENTPTR" >xmlElementContentPtr</A > content);</PRE ></TD ></TR ></TABLE ><P >An element definition has been parsed</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN3321" ></A ><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 >ctx</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the user data (XML parser context)</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >name</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the element name </TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >type</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the element type </TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >content</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the element value tree</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN3342" ></A ><H3 ><A NAME="NOTATIONDECL" ></A >notationDecl ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void notationDecl (void *ctx, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *name, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *publicId, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *systemId);</PRE ></TD ></TR ></TABLE ><P >What to do when a notation declaration has been parsed.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN3351" ></A ><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 >ctx</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the user data (XML parser context)</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >name</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > The name of the notation</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >publicId</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > The public ID of the entity</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >systemId</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > The system ID of the entity</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN3372" ></A ><H3 ><A NAME="UNPARSEDENTITYDECL" ></A >unparsedEntityDecl ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void unparsedEntityDecl (void *ctx, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *name, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *publicId, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *systemId, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *notationName);</PRE ></TD ></TR ></TABLE ><P >What to do when an unparsed entity declaration is parsed</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN3382" ></A ><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 >ctx</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the user data (XML parser context)</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >name</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > The name of the entity</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >publicId</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > The public ID of the entity</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >systemId</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > The system ID of the entity</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >notationName</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the name of the notation</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN3407" ></A ><H3 ><A NAME="STARTDOCUMENT" ></A >startDocument ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void startDocument (void *ctx);</PRE ></TD ></TR ></TABLE ><P >called when the document start being processed.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN3413" ></A ><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 >ctx</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the user data (XML parser context)</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN3422" ></A ><H3 ><A NAME="ENDDOCUMENT" ></A >endDocument ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void endDocument (void *ctx);</PRE ></TD ></TR ></TABLE ><P >called when the document end has been detected.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN3428" ></A ><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 >ctx</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the user data (XML parser context)</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN3437" ></A ><H3 ><A NAME="ATTRIBUTE" ></A >attribute ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void attribute (void *ctx, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *fullname, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *value);</PRE ></TD ></TR ></TABLE ><P >Handle an attribute that has been read by the parser. The default handling is to convert the attribute into an DOM subtree and past it in a new xmlAttr element added to the element.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN3445" ></A ><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 >ctx</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the user data (XML parser context)</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >fullname</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > The attribute name, including namespace prefix</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >value</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > The attribute value</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN3462" ></A ><H3 ><A NAME="STARTELEMENT" ></A >startElement ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void startElement (void *ctx, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *fullname, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > **atts);</PRE ></TD ></TR ></TABLE ><P >called when an opening tag has been processed.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN3470" ></A ><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 >ctx</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the user data (XML parser context)</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >fullname</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > The element name, including namespace prefix</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >atts</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > An array of name/value attributes pairs, NULL terminated</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN3487" ></A ><H3 ><A NAME="ENDELEMENT" ></A >endElement ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void endElement (void *ctx, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *name);</PRE ></TD ></TR ></TABLE ><P >called when the end of an element has been detected.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN3494" ></A ><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 >ctx</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the user data (XML parser context)</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >name</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > The element name</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN3507" ></A ><H3 ><A NAME="REFERENCE" ></A >reference ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void reference (void *ctx, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *name);</PRE ></TD ></TR ></TABLE ><P >called when an entity reference is detected.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN3514" ></A ><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 >ctx</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the user data (XML parser context)</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >name</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > The entity name</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN3527" ></A ><H3 ><A NAME="CHARACTERS" ></A >characters ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void characters (void *ctx, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *ch, int len);</PRE ></TD ></TR ></TABLE ><P >receiving some chars from the parser.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN3534" ></A ><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 >ctx</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the user data (XML parser context)</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ch</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > a xmlChar string</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >len</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the number of xmlChar</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN3551" ></A ><H3 ><A NAME="IGNORABLEWHITESPACE" ></A >ignorableWhitespace ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void ignorableWhitespace (void *ctx, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *ch, int len);</PRE ></TD ></TR ></TABLE ><P >receiving some ignorable whitespaces from the parser. UNUSED: by default the DOM building will use characters</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN3558" ></A ><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 >ctx</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the user data (XML parser context)</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >ch</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > a xmlChar string</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >len</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the number of xmlChar</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN3575" ></A ><H3 ><A NAME="PROCESSINGINSTRUCTION" ></A >processingInstruction ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void processingInstruction (void *ctx, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *target, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *data);</PRE ></TD ></TR ></TABLE ><P >A processing instruction has been parsed.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN3583" ></A ><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 >ctx</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the user data (XML parser context)</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >target</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the target name</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >data</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the PI data's</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN3600" ></A ><H3 ><A NAME="GLOBALNAMESPACE" ></A >globalNamespace ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void globalNamespace (void *ctx, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *href, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *prefix);</PRE ></TD ></TR ></TABLE ><P >An old global namespace has been parsed.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN3608" ></A ><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 >ctx</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the user data (XML parser context)</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >href</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the namespace associated URN</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >prefix</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the namespace prefix</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN3625" ></A ><H3 ><A NAME="SETNAMESPACE" ></A >setNamespace ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void setNamespace (void *ctx, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *name);</PRE ></TD ></TR ></TABLE ><P >Set the current element namespace.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN3632" ></A ><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 >ctx</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the user data (XML parser context)</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >name</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the namespace prefix</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN3645" ></A ><H3 ><A NAME="GETNAMESPACE" ></A >getNamespace ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libxml-tree.html#XMLNSPTR" >xmlNsPtr</A > getNamespace (void *ctx);</PRE ></TD ></TR ></TABLE ><P >Get the current element namespace.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN3652" ></A ><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 >ctx</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the user data (XML parser context)</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the xmlNsPtr or NULL if none</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN3665" ></A ><H3 ><A NAME="CHECKNAMESPACE" ></A >checkNamespace ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >int checkNamespace (void *ctx, <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *nameSpace);</PRE ></TD ></TR ></TABLE ><P >Check that the current element namespace is the same as the one read upon parsing.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN3672" ></A ><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 >ctx</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the user data (XML parser context)</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >nameSpace</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the namespace to check against</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >1 if true 0 otherwise</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN3689" ></A ><H3 ><A NAME="NAMESPACEDECL" ></A >namespaceDecl ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void namespaceDecl (void *ctx, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *href, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *prefix);</PRE ></TD ></TR ></TABLE ><P >A namespace has been parsed.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN3697" ></A ><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 >ctx</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the user data (XML parser context)</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >href</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the namespace associated URN</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >prefix</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the namespace prefix</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN3714" ></A ><H3 ><A NAME="COMMENT" ></A >comment ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void comment (void *ctx, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *value);</PRE ></TD ></TR ></TABLE ><P >A comment has been parsed.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN3721" ></A ><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 >ctx</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the user data (XML parser context)</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >value</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the comment content</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN3734" ></A ><H3 ><A NAME="CDATABLOCK" ></A >cdataBlock ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void cdataBlock (void *ctx, const <A HREF="libxml-tree.html#XMLCHAR" >xmlChar</A > *value, int len);</PRE ></TD ></TR ></TABLE ><P >called when a pcdata block has been parsed</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN3741" ></A ><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 >ctx</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the user data (XML parser context)</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >value</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > The pcdata content</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >len</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the block length</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN3758" ></A ><H3 ><A NAME="INITXMLDEFAULTSAXHANDLER" ></A >initxmlDefaultSAXHandler ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void initxmlDefaultSAXHandler (<A HREF="libxml-parser.html#XMLSAXHANDLER" >xmlSAXHandler</A > *hdlr, int warning);</PRE ></TD ></TR ></TABLE ><P >Initialize the default XML SAX handler</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN3765" ></A ><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 >hdlr</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the SAX handler</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >warning</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > flag if non-zero sets the handler warning procedure</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN3778" ></A ><H3 ><A NAME="INITHTMLDEFAULTSAXHANDLER" ></A >inithtmlDefaultSAXHandler ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void inithtmlDefaultSAXHandler (<A HREF="libxml-parser.html#XMLSAXHANDLER" >xmlSAXHandler</A > *hdlr);</PRE ></TD ></TR ></TABLE ><P >Initialize the default HTML SAX handler</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN3785" ></A ><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 >hdlr</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the SAX handler</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN3794" ></A ><H3 ><A NAME="INITDOCBDEFAULTSAXHANDLER" ></A >initdocbDefaultSAXHandler ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void initdocbDefaultSAXHandler (<A HREF="libxml-parser.html#XMLSAXHANDLER" >xmlSAXHandler</A > *hdlr);</PRE ></TD ></TR ></TABLE ><P >Initialize the default DocBook SAX handler</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN3801" ></A ><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 >hdlr</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the SAX handler</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN3810" ></A ><H3 ><A NAME="XMLDEFAULTSAXHANDLERINIT" ></A >xmlDefaultSAXHandlerInit ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void xmlDefaultSAXHandlerInit (void);</PRE ></TD ></TR ></TABLE ><P >Initialize the default SAX handler</P ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN3816" ></A ><H3 ><A NAME="HTMLDEFAULTSAXHANDLERINIT" ></A >htmlDefaultSAXHandlerInit ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void htmlDefaultSAXHandlerInit (void);</PRE ></TD ></TR ></TABLE ><P >Initialize the default SAX handler</P ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN3822" ></A ><H3 ><A NAME="DOCBDEFAULTSAXHANDLERINIT" ></A >docbDefaultSAXHandlerInit ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void docbDefaultSAXHandlerInit (void);</PRE ></TD ></TR ></TABLE ><P >Initialize the default SAX handler</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-parser.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-tree.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 >parser</B ></FONT ></TD ><TD COLSPAN="2" ALIGN="right" ><FONT COLOR="#FFFFFF" SIZE="3" ><B >tree</B ></FONT ></TD ></TR ></TABLE ></DIV ></BODY ></HTML >