Edit

kc3-lang/libxml2/doc/html/libxml-htmltree.html

Branch :

  • Show log

    Commit

  • Author : Daniel Veillard
    Date : 2002-10-01 11:37:35
    Hash : 5ede35e3
    Message : Integrated the search form to the web site, regenerated, Daniel

  • doc/html/libxml-htmltree.html
  • <HTML
    ><HEAD
    ><TITLE
    >HTMLtree</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="HTMLparser"
    HREF="libxml-htmlparser.html"><LINK
    REL="NEXT"
    TITLE="xpath"
    HREF="libxml-xpath.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-htmlparser.html"
    ><FONT
    COLOR="#FFFFFF"
    SIZE="3"
    ><B
    >&#60;&#60;&#60; 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-xpath.html"
    ><FONT
    COLOR="#FFFFFF"
    SIZE="3"
    ><B
    >Next Page &#62;&#62;&#62;</B
    ></FONT
    ></A
    ></TD
    ></TR
    ></TABLE
    ></DIV
    ><H1
    ><A
    NAME="LIBXML-HTMLTREE">HTMLtree</H1
    ><DIV
    CLASS="REFNAMEDIV"
    ><A
    NAME="AEN11856"
    ></A
    ><H2
    >Name</H2
    >HTMLtree&nbsp;--&nbsp;</DIV
    ><DIV
    CLASS="REFSYNOPSISDIV"
    ><A
    NAME="AEN11859"><H2
    >Synopsis</H2
    ><TABLE
    BORDER="0"
    BGCOLOR="#D6E8FF"
    WIDTH="100%"
    CELLPADDING="6"
    ><TR
    ><TD
    ><PRE
    CLASS="SYNOPSIS"
    >&#13;
    
    #define     <A
    HREF="libxml-htmltree.html#HTML-TEXT-NODE-CAPS"
    >HTML_TEXT_NODE</A
    >
    #define     <A
    HREF="libxml-htmltree.html#HTML-ENTITY-REF-NODE-CAPS"
    >HTML_ENTITY_REF_NODE</A
    >
    #define     <A
    HREF="libxml-htmltree.html#HTML-COMMENT-NODE-CAPS"
    >HTML_COMMENT_NODE</A
    >
    #define     <A
    HREF="libxml-htmltree.html#HTML-PRESERVE-NODE-CAPS"
    >HTML_PRESERVE_NODE</A
    >
    #define     <A
    HREF="libxml-htmltree.html#HTML-PI-NODE-CAPS"
    >HTML_PI_NODE</A
    >
    <A
    HREF="libxml-htmlparser.html#HTMLDOCPTR"
    >htmlDocPtr</A
    >  <A
    HREF="libxml-htmltree.html#HTMLNEWDOC"
    >htmlNewDoc</A
    >                      (const <A
    HREF="libxml-tree.html#XMLCHAR"
    >xmlChar</A
    > *URI,
                                                 const <A
    HREF="libxml-tree.html#XMLCHAR"
    >xmlChar</A
    > *ExternalID);
    <A
    HREF="libxml-htmlparser.html#HTMLDOCPTR"
    >htmlDocPtr</A
    >  <A
    HREF="libxml-htmltree.html#HTMLNEWDOCNODTD"
    >htmlNewDocNoDtD</A
    >                 (const <A
    HREF="libxml-tree.html#XMLCHAR"
    >xmlChar</A
    > *URI,
                                                 const <A
    HREF="libxml-tree.html#XMLCHAR"
    >xmlChar</A
    > *ExternalID);
    const <A
    HREF="libxml-tree.html#XMLCHAR"
    >xmlChar</A
    >* <A
    HREF="libxml-htmltree.html#HTMLGETMETAENCODING"
    >htmlGetMetaEncoding</A
    >          (<A
    HREF="libxml-htmlparser.html#HTMLDOCPTR"
    >htmlDocPtr</A
    > doc);
    int         <A
    HREF="libxml-htmltree.html#HTMLSETMETAENCODING"
    >htmlSetMetaEncoding</A
    >             (<A
    HREF="libxml-htmlparser.html#HTMLDOCPTR"
    >htmlDocPtr</A
    > doc,
                                                 const <A
    HREF="libxml-tree.html#XMLCHAR"
    >xmlChar</A
    > *encoding);
    void        <A
    HREF="libxml-htmltree.html#HTMLDOCDUMPMEMORY"
    >htmlDocDumpMemory</A
    >               (<A
    HREF="libxml-tree.html#XMLDOCPTR"
    >xmlDocPtr</A
    > cur,
                                                 <A
    HREF="libxml-tree.html#XMLCHAR"
    >xmlChar</A
    > **mem,
                                                 int *size);
    int         <A
    HREF="libxml-htmltree.html#HTMLDOCDUMP"
    >htmlDocDump</A
    >                     (<GTKDOCLINK
    HREF="FILE-CAPS"
    >FILE</GTKDOCLINK
    > *f,
                                                 <A
    HREF="libxml-tree.html#XMLDOCPTR"
    >xmlDocPtr</A
    > cur);
    int         <A
    HREF="libxml-htmltree.html#HTMLSAVEFILE"
    >htmlSaveFile</A
    >                    (const char *filename,
                                                 <A
    HREF="libxml-tree.html#XMLDOCPTR"
    >xmlDocPtr</A
    > cur);
    void        <A
    HREF="libxml-htmltree.html#HTMLNODEDUMP"
    >htmlNodeDump</A
    >                    (<A
    HREF="libxml-tree.html#XMLBUFFERPTR"
    >xmlBufferPtr</A
    > buf,
                                                 <A
    HREF="libxml-tree.html#XMLDOCPTR"
    >xmlDocPtr</A
    > doc,
                                                 <A
    HREF="libxml-tree.html#XMLNODEPTR"
    >xmlNodePtr</A
    > cur);
    void        <A
    HREF="libxml-htmltree.html#HTMLNODEDUMPFILE"
    >htmlNodeDumpFile</A
    >                (<GTKDOCLINK
    HREF="FILE-CAPS"
    >FILE</GTKDOCLINK
    > *out,
                                                 <A
    HREF="libxml-tree.html#XMLDOCPTR"
    >xmlDocPtr</A
    > doc,
                                                 <A
    HREF="libxml-tree.html#XMLNODEPTR"
    >xmlNodePtr</A
    > cur);
    int         <A
    HREF="libxml-htmltree.html#HTMLNODEDUMPFILEFORMAT"
    >htmlNodeDumpFileFormat</A
    >          (<GTKDOCLINK
    HREF="FILE-CAPS"
    >FILE</GTKDOCLINK
    > *out,
                                                 <A
    HREF="libxml-tree.html#XMLDOCPTR"
    >xmlDocPtr</A
    > doc,
                                                 <A
    HREF="libxml-tree.html#XMLNODEPTR"
    >xmlNodePtr</A
    > cur,
                                                 const char *encoding,
                                                 int format);
    int         <A
    HREF="libxml-htmltree.html#HTMLSAVEFILEENC"
    >htmlSaveFileEnc</A
    >                 (const char *filename,
                                                 <A
    HREF="libxml-tree.html#XMLDOCPTR"
    >xmlDocPtr</A
    > cur,
                                                 const char *encoding);
    int         <A
    HREF="libxml-htmltree.html#HTMLSAVEFILEFORMAT"
    >htmlSaveFileFormat</A
    >              (const char *filename,
                                                 <A
    HREF="libxml-tree.html#XMLDOCPTR"
    >xmlDocPtr</A
    > cur,
                                                 const char *encoding,
                                                 int format);
    void        <A
    HREF="libxml-htmltree.html#HTMLNODEDUMPFORMATOUTPUT"
    >htmlNodeDumpFormatOutput</A
    >        (<A
    HREF="libxml-tree.html#XMLOUTPUTBUFFERPTR"
    >xmlOutputBufferPtr</A
    > buf,
                                                 <A
    HREF="libxml-tree.html#XMLDOCPTR"
    >xmlDocPtr</A
    > doc,
                                                 <A
    HREF="libxml-tree.html#XMLNODEPTR"
    >xmlNodePtr</A
    > cur,
                                                 const char *encoding,
                                                 int format);
    void        <A
    HREF="libxml-htmltree.html#HTMLDOCCONTENTDUMPOUTPUT"
    >htmlDocContentDumpOutput</A
    >        (<A
    HREF="libxml-tree.html#XMLOUTPUTBUFFERPTR"
    >xmlOutputBufferPtr</A
    > buf,
                                                 <A
    HREF="libxml-tree.html#XMLDOCPTR"
    >xmlDocPtr</A
    > cur,
                                                 const char *encoding);
    void        <A
    HREF="libxml-htmltree.html#HTMLDOCCONTENTDUMPFORMATOUTPUT"
    >htmlDocContentDumpFormatOutput</A
    >  (<A
    HREF="libxml-tree.html#XMLOUTPUTBUFFERPTR"
    >xmlOutputBufferPtr</A
    > buf,
                                                 <A
    HREF="libxml-tree.html#XMLDOCPTR"
    >xmlDocPtr</A
    > cur,
                                                 const char *encoding,
                                                 int format);
    int         <A
    HREF="libxml-htmltree.html#HTMLISBOOLEANATTR"
    >htmlIsBooleanAttr</A
    >               (const <A
    HREF="libxml-tree.html#XMLCHAR"
    >xmlChar</A
    > *name);</PRE
    ></TD
    ></TR
    ></TABLE
    ></DIV
    ><DIV
    CLASS="REFSECT1"
    ><A
    NAME="AEN11917"
    ></A
    ><H2
    >Description</H2
    ><P
    ></P
    ></DIV
    ><DIV
    CLASS="REFSECT1"
    ><A
    NAME="AEN11920"
    ></A
    ><H2
    >Details</H2
    ><DIV
    CLASS="REFSECT2"
    ><A
    NAME="AEN11922"
    ></A
    ><H3
    ><A
    NAME="HTML-TEXT-NODE-CAPS"
    ></A
    >HTML_TEXT_NODE</H3
    ><TABLE
    BORDER="0"
    BGCOLOR="#D6E8FF"
    WIDTH="100%"
    CELLPADDING="6"
    ><TR
    ><TD
    ><PRE
    CLASS="PROGRAMLISTING"
    >#define HTML_TEXT_NODE		XML_TEXT_NODE</PRE
    ></TD
    ></TR
    ></TABLE
    ><P
    >Macro. A text node in a HTML document is really implemented
    the same way as a text node in an XML document.</P
    ><P
    ></P
    ></DIV
    ><HR><DIV
    CLASS="REFSECT2"
    ><A
    NAME="AEN11928"
    ></A
    ><H3
    ><A
    NAME="HTML-ENTITY-REF-NODE-CAPS"
    ></A
    >HTML_ENTITY_REF_NODE</H3
    ><TABLE
    BORDER="0"
    BGCOLOR="#D6E8FF"
    WIDTH="100%"
    CELLPADDING="6"
    ><TR
    ><TD
    ><PRE
    CLASS="PROGRAMLISTING"
    >#define HTML_ENTITY_REF_NODE	XML_ENTITY_REF_NODE</PRE
    ></TD
    ></TR
    ></TABLE
    ><P
    >Macro. An entity reference in a HTML document is really implemented
    the same way as an entity reference in an XML document.</P
    ><P
    ></P
    ></DIV
    ><HR><DIV
    CLASS="REFSECT2"
    ><A
    NAME="AEN11934"
    ></A
    ><H3
    ><A
    NAME="HTML-COMMENT-NODE-CAPS"
    ></A
    >HTML_COMMENT_NODE</H3
    ><TABLE
    BORDER="0"
    BGCOLOR="#D6E8FF"
    WIDTH="100%"
    CELLPADDING="6"
    ><TR
    ><TD
    ><PRE
    CLASS="PROGRAMLISTING"
    >#define HTML_COMMENT_NODE	XML_COMMENT_NODE</PRE
    ></TD
    ></TR
    ></TABLE
    ><P
    >Macro. A comment in a HTML document is really implemented
    the same way as a comment in an XML document.</P
    ><P
    ></P
    ></DIV
    ><HR><DIV
    CLASS="REFSECT2"
    ><A
    NAME="AEN11940"
    ></A
    ><H3
    ><A
    NAME="HTML-PRESERVE-NODE-CAPS"
    ></A
    >HTML_PRESERVE_NODE</H3
    ><TABLE
    BORDER="0"
    BGCOLOR="#D6E8FF"
    WIDTH="100%"
    CELLPADDING="6"
    ><TR
    ><TD
    ><PRE
    CLASS="PROGRAMLISTING"
    >#define HTML_PRESERVE_NODE	XML_CDATA_SECTION_NODE</PRE
    ></TD
    ></TR
    ></TABLE
    ><P
    >Macro. A preserved node in a HTML document is really implemented
    the same way as a CDATA section in an XML document.</P
    ><P
    ></P
    ></DIV
    ><HR><DIV
    CLASS="REFSECT2"
    ><A
    NAME="AEN11946"
    ></A
    ><H3
    ><A
    NAME="HTML-PI-NODE-CAPS"
    ></A
    >HTML_PI_NODE</H3
    ><TABLE
    BORDER="0"
    BGCOLOR="#D6E8FF"
    WIDTH="100%"
    CELLPADDING="6"
    ><TR
    ><TD
    ><PRE
    CLASS="PROGRAMLISTING"
    >#define HTML_PI_NODE		XML_PI_NODE</PRE
    ></TD
    ></TR
    ></TABLE
    ><P
    >Macro. A processing instruction in a HTML document is really implemented
    the same way as a processing instruction in an XML document.</P
    ><P
    ></P
    ></DIV
    ><HR><DIV
    CLASS="REFSECT2"
    ><A
    NAME="AEN11952"
    ></A
    ><H3
    ><A
    NAME="HTMLNEWDOC"
    ></A
    >htmlNewDoc ()</H3
    ><TABLE
    BORDER="0"
    BGCOLOR="#D6E8FF"
    WIDTH="100%"
    CELLPADDING="6"
    ><TR
    ><TD
    ><PRE
    CLASS="PROGRAMLISTING"
    ><A
    HREF="libxml-htmlparser.html#HTMLDOCPTR"
    >htmlDocPtr</A
    >  htmlNewDoc                      (const <A
    HREF="libxml-tree.html#XMLCHAR"
    >xmlChar</A
    > *URI,
                                                 const <A
    HREF="libxml-tree.html#XMLCHAR"
    >xmlChar</A
    > *ExternalID);</PRE
    ></TD
    ></TR
    ></TABLE
    ><P
    >Creates a new HTML document</P
    ><P
    ></P
    ><DIV
    CLASS="INFORMALTABLE"
    ><A
    NAME="AEN11961"><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
    >URI</I
    ></TT
    >&nbsp;:</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    >  URI for the dtd, or NULL</TD
    ></TR
    ><TR
    ><TD
    WIDTH="20%"
    ALIGN="RIGHT"
    VALIGN="TOP"
    ><TT
    CLASS="PARAMETER"
    ><I
    >ExternalID</I
    ></TT
    >&nbsp;:</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    >  the external ID of the DTD, or NULL</TD
    ></TR
    ><TR
    ><TD
    WIDTH="20%"
    ALIGN="RIGHT"
    VALIGN="TOP"
    ><SPAN
    CLASS="emphasis"
    ><I
    CLASS="EMPHASIS"
    >Returns</I
    ></SPAN
    > :</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    >a new document</TD
    ></TR
    ></TBODY
    ></TABLE
    ><P
    ></P
    ></DIV
    ></DIV
    ><HR><DIV
    CLASS="REFSECT2"
    ><A
    NAME="AEN11978"
    ></A
    ><H3
    ><A
    NAME="HTMLNEWDOCNODTD"
    ></A
    >htmlNewDocNoDtD ()</H3
    ><TABLE
    BORDER="0"
    BGCOLOR="#D6E8FF"
    WIDTH="100%"
    CELLPADDING="6"
    ><TR
    ><TD
    ><PRE
    CLASS="PROGRAMLISTING"
    ><A
    HREF="libxml-htmlparser.html#HTMLDOCPTR"
    >htmlDocPtr</A
    >  htmlNewDocNoDtD                 (const <A
    HREF="libxml-tree.html#XMLCHAR"
    >xmlChar</A
    > *URI,
                                                 const <A
    HREF="libxml-tree.html#XMLCHAR"
    >xmlChar</A
    > *ExternalID);</PRE
    ></TD
    ></TR
    ></TABLE
    ><P
    >Creates a new HTML document without a DTD node if <TT
    CLASS="PARAMETER"
    ><I
    >URI</I
    ></TT
    > and <TT
    CLASS="PARAMETER"
    ><I
    >ExternalID</I
    ></TT
    >
    are NULL</P
    ><P
    ></P
    ><DIV
    CLASS="INFORMALTABLE"
    ><A
    NAME="AEN11989"><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
    >URI</I
    ></TT
    >&nbsp;:</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    >  URI for the dtd, or NULL</TD
    ></TR
    ><TR
    ><TD
    WIDTH="20%"
    ALIGN="RIGHT"
    VALIGN="TOP"
    ><TT
    CLASS="PARAMETER"
    ><I
    >ExternalID</I
    ></TT
    >&nbsp;:</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    >  the external ID of the DTD, or NULL</TD
    ></TR
    ><TR
    ><TD
    WIDTH="20%"
    ALIGN="RIGHT"
    VALIGN="TOP"
    ><SPAN
    CLASS="emphasis"
    ><I
    CLASS="EMPHASIS"
    >Returns</I
    ></SPAN
    > :</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    >a new document, do not initialize the DTD if not provided</TD
    ></TR
    ></TBODY
    ></TABLE
    ><P
    ></P
    ></DIV
    ></DIV
    ><HR><DIV
    CLASS="REFSECT2"
    ><A
    NAME="AEN12006"
    ></A
    ><H3
    ><A
    NAME="HTMLGETMETAENCODING"
    ></A
    >htmlGetMetaEncoding ()</H3
    ><TABLE
    BORDER="0"
    BGCOLOR="#D6E8FF"
    WIDTH="100%"
    CELLPADDING="6"
    ><TR
    ><TD
    ><PRE
    CLASS="PROGRAMLISTING"
    >const <A
    HREF="libxml-tree.html#XMLCHAR"
    >xmlChar</A
    >* htmlGetMetaEncoding          (<A
    HREF="libxml-htmlparser.html#HTMLDOCPTR"
    >htmlDocPtr</A
    > doc);</PRE
    ></TD
    ></TR
    ></TABLE
    ><P
    >Encoding definition lookup in the Meta tags</P
    ><P
    ></P
    ><DIV
    CLASS="INFORMALTABLE"
    ><A
    NAME="AEN12014"><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
    >doc</I
    ></TT
    >&nbsp;:</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    >  the document</TD
    ></TR
    ><TR
    ><TD
    WIDTH="20%"
    ALIGN="RIGHT"
    VALIGN="TOP"
    ><SPAN
    CLASS="emphasis"
    ><I
    CLASS="EMPHASIS"
    >Returns</I
    ></SPAN
    > :</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    >the current encoding as flagged in the HTML source</TD
    ></TR
    ></TBODY
    ></TABLE
    ><P
    ></P
    ></DIV
    ></DIV
    ><HR><DIV
    CLASS="REFSECT2"
    ><A
    NAME="AEN12027"
    ></A
    ><H3
    ><A
    NAME="HTMLSETMETAENCODING"
    ></A
    >htmlSetMetaEncoding ()</H3
    ><TABLE
    BORDER="0"
    BGCOLOR="#D6E8FF"
    WIDTH="100%"
    CELLPADDING="6"
    ><TR
    ><TD
    ><PRE
    CLASS="PROGRAMLISTING"
    >int         htmlSetMetaEncoding             (<A
    HREF="libxml-htmlparser.html#HTMLDOCPTR"
    >htmlDocPtr</A
    > doc,
                                                 const <A
    HREF="libxml-tree.html#XMLCHAR"
    >xmlChar</A
    > *encoding);</PRE
    ></TD
    ></TR
    ></TABLE
    ><P
    >Sets the current encoding in the Meta tags
    NOTE: this will not change the document content encoding, just
    the META flag associated.</P
    ><P
    ></P
    ><DIV
    CLASS="INFORMALTABLE"
    ><A
    NAME="AEN12035"><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
    >doc</I
    ></TT
    >&nbsp;:</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    >  the document</TD
    ></TR
    ><TR
    ><TD
    WIDTH="20%"
    ALIGN="RIGHT"
    VALIGN="TOP"
    ><TT
    CLASS="PARAMETER"
    ><I
    >encoding</I
    ></TT
    >&nbsp;:</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    >  the encoding string</TD
    ></TR
    ><TR
    ><TD
    WIDTH="20%"
    ALIGN="RIGHT"
    VALIGN="TOP"
    ><SPAN
    CLASS="emphasis"
    ><I
    CLASS="EMPHASIS"
    >Returns</I
    ></SPAN
    > :</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    >0 in case of success and -1 in case of error</TD
    ></TR
    ></TBODY
    ></TABLE
    ><P
    ></P
    ></DIV
    ></DIV
    ><HR><DIV
    CLASS="REFSECT2"
    ><A
    NAME="AEN12052"
    ></A
    ><H3
    ><A
    NAME="HTMLDOCDUMPMEMORY"
    ></A
    >htmlDocDumpMemory ()</H3
    ><TABLE
    BORDER="0"
    BGCOLOR="#D6E8FF"
    WIDTH="100%"
    CELLPADDING="6"
    ><TR
    ><TD
    ><PRE
    CLASS="PROGRAMLISTING"
    >void        htmlDocDumpMemory               (<A
    HREF="libxml-tree.html#XMLDOCPTR"
    >xmlDocPtr</A
    > cur,
                                                 <A
    HREF="libxml-tree.html#XMLCHAR"
    >xmlChar</A
    > **mem,
                                                 int *size);</PRE
    ></TD
    ></TR
    ></TABLE
    ><P
    >Dump an HTML document in memory and return the xmlChar * and it's size.
    It's up to the caller to free the memory.</P
    ><P
    ></P
    ><DIV
    CLASS="INFORMALTABLE"
    ><A
    NAME="AEN12060"><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
    >cur</I
    ></TT
    >&nbsp;:</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    >  the document</TD
    ></TR
    ><TR
    ><TD
    WIDTH="20%"
    ALIGN="RIGHT"
    VALIGN="TOP"
    ><TT
    CLASS="PARAMETER"
    ><I
    >mem</I
    ></TT
    >&nbsp;:</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    >  OUT: the memory pointer</TD
    ></TR
    ><TR
    ><TD
    WIDTH="20%"
    ALIGN="RIGHT"
    VALIGN="TOP"
    ><TT
    CLASS="PARAMETER"
    ><I
    >size</I
    ></TT
    >&nbsp;:</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    >  OUT: the memory length</TD
    ></TR
    ></TBODY
    ></TABLE
    ><P
    ></P
    ></DIV
    ></DIV
    ><HR><DIV
    CLASS="REFSECT2"
    ><A
    NAME="AEN12077"
    ></A
    ><H3
    ><A
    NAME="HTMLDOCDUMP"
    ></A
    >htmlDocDump ()</H3
    ><TABLE
    BORDER="0"
    BGCOLOR="#D6E8FF"
    WIDTH="100%"
    CELLPADDING="6"
    ><TR
    ><TD
    ><PRE
    CLASS="PROGRAMLISTING"
    >int         htmlDocDump                     (<GTKDOCLINK
    HREF="FILE-CAPS"
    >FILE</GTKDOCLINK
    > *f,
                                                 <A
    HREF="libxml-tree.html#XMLDOCPTR"
    >xmlDocPtr</A
    > cur);</PRE
    ></TD
    ></TR
    ></TABLE
    ><P
    >Dump an HTML document to an open FILE.</P
    ><P
    ></P
    ><DIV
    CLASS="INFORMALTABLE"
    ><A
    NAME="AEN12085"><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
    >f</I
    ></TT
    >&nbsp;:</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    >  the FILE*</TD
    ></TR
    ><TR
    ><TD
    WIDTH="20%"
    ALIGN="RIGHT"
    VALIGN="TOP"
    ><TT
    CLASS="PARAMETER"
    ><I
    >cur</I
    ></TT
    >&nbsp;:</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    >  the document</TD
    ></TR
    ><TR
    ><TD
    WIDTH="20%"
    ALIGN="RIGHT"
    VALIGN="TOP"
    ><SPAN
    CLASS="emphasis"
    ><I
    CLASS="EMPHASIS"
    >Returns</I
    ></SPAN
    > :</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    > the number of byte written or -1 in case of failure.</TD
    ></TR
    ></TBODY
    ></TABLE
    ><P
    ></P
    ></DIV
    ></DIV
    ><HR><DIV
    CLASS="REFSECT2"
    ><A
    NAME="AEN12102"
    ></A
    ><H3
    ><A
    NAME="HTMLSAVEFILE"
    ></A
    >htmlSaveFile ()</H3
    ><TABLE
    BORDER="0"
    BGCOLOR="#D6E8FF"
    WIDTH="100%"
    CELLPADDING="6"
    ><TR
    ><TD
    ><PRE
    CLASS="PROGRAMLISTING"
    >int         htmlSaveFile                    (const char *filename,
                                                 <A
    HREF="libxml-tree.html#XMLDOCPTR"
    >xmlDocPtr</A
    > cur);</PRE
    ></TD
    ></TR
    ></TABLE
    ><P
    >Dump an HTML document to a file. If <TT
    CLASS="PARAMETER"
    ><I
    >filename</I
    ></TT
    > is "-" the stdout file is
    used.</P
    ><P
    ></P
    ><DIV
    CLASS="INFORMALTABLE"
    ><A
    NAME="AEN12110"><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
    >filename</I
    ></TT
    >&nbsp;:</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    >  the filename (or URL)</TD
    ></TR
    ><TR
    ><TD
    WIDTH="20%"
    ALIGN="RIGHT"
    VALIGN="TOP"
    ><TT
    CLASS="PARAMETER"
    ><I
    >cur</I
    ></TT
    >&nbsp;:</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    >  the document</TD
    ></TR
    ><TR
    ><TD
    WIDTH="20%"
    ALIGN="RIGHT"
    VALIGN="TOP"
    ><SPAN
    CLASS="emphasis"
    ><I
    CLASS="EMPHASIS"
    >Returns</I
    ></SPAN
    > :</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    > the number of byte written or -1 in case of failure.</TD
    ></TR
    ></TBODY
    ></TABLE
    ><P
    ></P
    ></DIV
    ></DIV
    ><HR><DIV
    CLASS="REFSECT2"
    ><A
    NAME="AEN12127"
    ></A
    ><H3
    ><A
    NAME="HTMLNODEDUMP"
    ></A
    >htmlNodeDump ()</H3
    ><TABLE
    BORDER="0"
    BGCOLOR="#D6E8FF"
    WIDTH="100%"
    CELLPADDING="6"
    ><TR
    ><TD
    ><PRE
    CLASS="PROGRAMLISTING"
    >void        htmlNodeDump                    (<A
    HREF="libxml-tree.html#XMLBUFFERPTR"
    >xmlBufferPtr</A
    > buf,
                                                 <A
    HREF="libxml-tree.html#XMLDOCPTR"
    >xmlDocPtr</A
    > doc,
                                                 <A
    HREF="libxml-tree.html#XMLNODEPTR"
    >xmlNodePtr</A
    > cur);</PRE
    ></TD
    ></TR
    ></TABLE
    ><P
    >Dump an HTML node, recursive behaviour,children are printed too,
    and formatting returns are added.</P
    ><P
    ></P
    ><DIV
    CLASS="INFORMALTABLE"
    ><A
    NAME="AEN12136"><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
    >buf</I
    ></TT
    >&nbsp;:</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    >  the HTML buffer output</TD
    ></TR
    ><TR
    ><TD
    WIDTH="20%"
    ALIGN="RIGHT"
    VALIGN="TOP"
    ><TT
    CLASS="PARAMETER"
    ><I
    >doc</I
    ></TT
    >&nbsp;:</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    >  the document</TD
    ></TR
    ><TR
    ><TD
    WIDTH="20%"
    ALIGN="RIGHT"
    VALIGN="TOP"
    ><TT
    CLASS="PARAMETER"
    ><I
    >cur</I
    ></TT
    >&nbsp;:</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    >  the current node</TD
    ></TR
    ></TBODY
    ></TABLE
    ><P
    ></P
    ></DIV
    ></DIV
    ><HR><DIV
    CLASS="REFSECT2"
    ><A
    NAME="AEN12153"
    ></A
    ><H3
    ><A
    NAME="HTMLNODEDUMPFILE"
    ></A
    >htmlNodeDumpFile ()</H3
    ><TABLE
    BORDER="0"
    BGCOLOR="#D6E8FF"
    WIDTH="100%"
    CELLPADDING="6"
    ><TR
    ><TD
    ><PRE
    CLASS="PROGRAMLISTING"
    >void        htmlNodeDumpFile                (<GTKDOCLINK
    HREF="FILE-CAPS"
    >FILE</GTKDOCLINK
    > *out,
                                                 <A
    HREF="libxml-tree.html#XMLDOCPTR"
    >xmlDocPtr</A
    > doc,
                                                 <A
    HREF="libxml-tree.html#XMLNODEPTR"
    >xmlNodePtr</A
    > cur);</PRE
    ></TD
    ></TR
    ></TABLE
    ><P
    >Dump an HTML node, recursive behaviour,children are printed too,
    and formatting returns are added.</P
    ><P
    ></P
    ><DIV
    CLASS="INFORMALTABLE"
    ><A
    NAME="AEN12162"><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
    >out</I
    ></TT
    >&nbsp;:</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    >  the FILE pointer</TD
    ></TR
    ><TR
    ><TD
    WIDTH="20%"
    ALIGN="RIGHT"
    VALIGN="TOP"
    ><TT
    CLASS="PARAMETER"
    ><I
    >doc</I
    ></TT
    >&nbsp;:</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    >  the document</TD
    ></TR
    ><TR
    ><TD
    WIDTH="20%"
    ALIGN="RIGHT"
    VALIGN="TOP"
    ><TT
    CLASS="PARAMETER"
    ><I
    >cur</I
    ></TT
    >&nbsp;:</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    >  the current node</TD
    ></TR
    ></TBODY
    ></TABLE
    ><P
    ></P
    ></DIV
    ></DIV
    ><HR><DIV
    CLASS="REFSECT2"
    ><A
    NAME="AEN12179"
    ></A
    ><H3
    ><A
    NAME="HTMLNODEDUMPFILEFORMAT"
    ></A
    >htmlNodeDumpFileFormat ()</H3
    ><TABLE
    BORDER="0"
    BGCOLOR="#D6E8FF"
    WIDTH="100%"
    CELLPADDING="6"
    ><TR
    ><TD
    ><PRE
    CLASS="PROGRAMLISTING"
    >int         htmlNodeDumpFileFormat          (<GTKDOCLINK
    HREF="FILE-CAPS"
    >FILE</GTKDOCLINK
    > *out,
                                                 <A
    HREF="libxml-tree.html#XMLDOCPTR"
    >xmlDocPtr</A
    > doc,
                                                 <A
    HREF="libxml-tree.html#XMLNODEPTR"
    >xmlNodePtr</A
    > cur,
                                                 const char *encoding,
                                                 int format);</PRE
    ></TD
    ></TR
    ></TABLE
    ><P
    >Dump an HTML node, recursive behaviour,children are printed too.</P
    ><P
    >TODO: if encoding == NULL try to save in the doc encoding</P
    ><P
    ></P
    ><DIV
    CLASS="INFORMALTABLE"
    ><A
    NAME="AEN12189"><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
    >out</I
    ></TT
    >&nbsp;:</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    >  the FILE pointer</TD
    ></TR
    ><TR
    ><TD
    WIDTH="20%"
    ALIGN="RIGHT"
    VALIGN="TOP"
    ><TT
    CLASS="PARAMETER"
    ><I
    >doc</I
    ></TT
    >&nbsp;:</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    >  the document</TD
    ></TR
    ><TR
    ><TD
    WIDTH="20%"
    ALIGN="RIGHT"
    VALIGN="TOP"
    ><TT
    CLASS="PARAMETER"
    ><I
    >cur</I
    ></TT
    >&nbsp;:</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    >  the current node</TD
    ></TR
    ><TR
    ><TD
    WIDTH="20%"
    ALIGN="RIGHT"
    VALIGN="TOP"
    ><TT
    CLASS="PARAMETER"
    ><I
    >encoding</I
    ></TT
    >&nbsp;:</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    > the document encoding</TD
    ></TR
    ><TR
    ><TD
    WIDTH="20%"
    ALIGN="RIGHT"
    VALIGN="TOP"
    ><TT
    CLASS="PARAMETER"
    ><I
    >format</I
    ></TT
    >&nbsp;:</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    >  should formatting spaces been added</TD
    ></TR
    ><TR
    ><TD
    WIDTH="20%"
    ALIGN="RIGHT"
    VALIGN="TOP"
    ><SPAN
    CLASS="emphasis"
    ><I
    CLASS="EMPHASIS"
    >Returns</I
    ></SPAN
    > :</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    > the number of byte written or -1 in case of failure.</TD
    ></TR
    ></TBODY
    ></TABLE
    ><P
    ></P
    ></DIV
    ></DIV
    ><HR><DIV
    CLASS="REFSECT2"
    ><A
    NAME="AEN12218"
    ></A
    ><H3
    ><A
    NAME="HTMLSAVEFILEENC"
    ></A
    >htmlSaveFileEnc ()</H3
    ><TABLE
    BORDER="0"
    BGCOLOR="#D6E8FF"
    WIDTH="100%"
    CELLPADDING="6"
    ><TR
    ><TD
    ><PRE
    CLASS="PROGRAMLISTING"
    >int         htmlSaveFileEnc                 (const char *filename,
                                                 <A
    HREF="libxml-tree.html#XMLDOCPTR"
    >xmlDocPtr</A
    > cur,
                                                 const char *encoding);</PRE
    ></TD
    ></TR
    ></TABLE
    ><P
    >Dump an HTML document to a file using a given encoding
    and formatting returns/spaces are added.</P
    ><P
    ></P
    ><DIV
    CLASS="INFORMALTABLE"
    ><A
    NAME="AEN12225"><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
    >filename</I
    ></TT
    >&nbsp;:</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    >  the filename</TD
    ></TR
    ><TR
    ><TD
    WIDTH="20%"
    ALIGN="RIGHT"
    VALIGN="TOP"
    ><TT
    CLASS="PARAMETER"
    ><I
    >cur</I
    ></TT
    >&nbsp;:</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    >  the document</TD
    ></TR
    ><TR
    ><TD
    WIDTH="20%"
    ALIGN="RIGHT"
    VALIGN="TOP"
    ><TT
    CLASS="PARAMETER"
    ><I
    >encoding</I
    ></TT
    >&nbsp;:</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    > the document encoding</TD
    ></TR
    ><TR
    ><TD
    WIDTH="20%"
    ALIGN="RIGHT"
    VALIGN="TOP"
    ><SPAN
    CLASS="emphasis"
    ><I
    CLASS="EMPHASIS"
    >Returns</I
    ></SPAN
    > :</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    > the number of byte written or -1 in case of failure.</TD
    ></TR
    ></TBODY
    ></TABLE
    ><P
    ></P
    ></DIV
    ></DIV
    ><HR><DIV
    CLASS="REFSECT2"
    ><A
    NAME="AEN12246"
    ></A
    ><H3
    ><A
    NAME="HTMLSAVEFILEFORMAT"
    ></A
    >htmlSaveFileFormat ()</H3
    ><TABLE
    BORDER="0"
    BGCOLOR="#D6E8FF"
    WIDTH="100%"
    CELLPADDING="6"
    ><TR
    ><TD
    ><PRE
    CLASS="PROGRAMLISTING"
    >int         htmlSaveFileFormat              (const char *filename,
                                                 <A
    HREF="libxml-tree.html#XMLDOCPTR"
    >xmlDocPtr</A
    > cur,
                                                 const char *encoding,
                                                 int format);</PRE
    ></TD
    ></TR
    ></TABLE
    ><P
    >Dump an HTML document to a file using a given encoding.</P
    ><P
    ></P
    ><DIV
    CLASS="INFORMALTABLE"
    ><A
    NAME="AEN12253"><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
    >filename</I
    ></TT
    >&nbsp;:</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    >  the filename</TD
    ></TR
    ><TR
    ><TD
    WIDTH="20%"
    ALIGN="RIGHT"
    VALIGN="TOP"
    ><TT
    CLASS="PARAMETER"
    ><I
    >cur</I
    ></TT
    >&nbsp;:</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    >  the document</TD
    ></TR
    ><TR
    ><TD
    WIDTH="20%"
    ALIGN="RIGHT"
    VALIGN="TOP"
    ><TT
    CLASS="PARAMETER"
    ><I
    >encoding</I
    ></TT
    >&nbsp;:</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    > the document encoding</TD
    ></TR
    ><TR
    ><TD
    WIDTH="20%"
    ALIGN="RIGHT"
    VALIGN="TOP"
    ><TT
    CLASS="PARAMETER"
    ><I
    >format</I
    ></TT
    >&nbsp;:</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    >  should formatting spaces been added</TD
    ></TR
    ><TR
    ><TD
    WIDTH="20%"
    ALIGN="RIGHT"
    VALIGN="TOP"
    ><SPAN
    CLASS="emphasis"
    ><I
    CLASS="EMPHASIS"
    >Returns</I
    ></SPAN
    > :</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    > the number of byte written or -1 in case of failure.</TD
    ></TR
    ></TBODY
    ></TABLE
    ><P
    ></P
    ></DIV
    ></DIV
    ><HR><DIV
    CLASS="REFSECT2"
    ><A
    NAME="AEN12278"
    ></A
    ><H3
    ><A
    NAME="HTMLNODEDUMPFORMATOUTPUT"
    ></A
    >htmlNodeDumpFormatOutput ()</H3
    ><TABLE
    BORDER="0"
    BGCOLOR="#D6E8FF"
    WIDTH="100%"
    CELLPADDING="6"
    ><TR
    ><TD
    ><PRE
    CLASS="PROGRAMLISTING"
    >void        htmlNodeDumpFormatOutput        (<A
    HREF="libxml-tree.html#XMLOUTPUTBUFFERPTR"
    >xmlOutputBufferPtr</A
    > buf,
                                                 <A
    HREF="libxml-tree.html#XMLDOCPTR"
    >xmlDocPtr</A
    > doc,
                                                 <A
    HREF="libxml-tree.html#XMLNODEPTR"
    >xmlNodePtr</A
    > cur,
                                                 const char *encoding,
                                                 int format);</PRE
    ></TD
    ></TR
    ></TABLE
    ><P
    >Dump an HTML node, recursive behaviour,children are printed too.</P
    ><P
    ></P
    ><DIV
    CLASS="INFORMALTABLE"
    ><A
    NAME="AEN12287"><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
    >buf</I
    ></TT
    >&nbsp;:</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    >  the HTML buffer output</TD
    ></TR
    ><TR
    ><TD
    WIDTH="20%"
    ALIGN="RIGHT"
    VALIGN="TOP"
    ><TT
    CLASS="PARAMETER"
    ><I
    >doc</I
    ></TT
    >&nbsp;:</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    >  the document</TD
    ></TR
    ><TR
    ><TD
    WIDTH="20%"
    ALIGN="RIGHT"
    VALIGN="TOP"
    ><TT
    CLASS="PARAMETER"
    ><I
    >cur</I
    ></TT
    >&nbsp;:</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    >  the current node</TD
    ></TR
    ><TR
    ><TD
    WIDTH="20%"
    ALIGN="RIGHT"
    VALIGN="TOP"
    ><TT
    CLASS="PARAMETER"
    ><I
    >encoding</I
    ></TT
    >&nbsp;:</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    >  the encoding string</TD
    ></TR
    ><TR
    ><TD
    WIDTH="20%"
    ALIGN="RIGHT"
    VALIGN="TOP"
    ><TT
    CLASS="PARAMETER"
    ><I
    >format</I
    ></TT
    >&nbsp;:</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    >  should formatting spaces been added</TD
    ></TR
    ></TBODY
    ></TABLE
    ><P
    ></P
    ></DIV
    ></DIV
    ><HR><DIV
    CLASS="REFSECT2"
    ><A
    NAME="AEN12312"
    ></A
    ><H3
    ><A
    NAME="HTMLDOCCONTENTDUMPOUTPUT"
    ></A
    >htmlDocContentDumpOutput ()</H3
    ><TABLE
    BORDER="0"
    BGCOLOR="#D6E8FF"
    WIDTH="100%"
    CELLPADDING="6"
    ><TR
    ><TD
    ><PRE
    CLASS="PROGRAMLISTING"
    >void        htmlDocContentDumpOutput        (<A
    HREF="libxml-tree.html#XMLOUTPUTBUFFERPTR"
    >xmlOutputBufferPtr</A
    > buf,
                                                 <A
    HREF="libxml-tree.html#XMLDOCPTR"
    >xmlDocPtr</A
    > cur,
                                                 const char *encoding);</PRE
    ></TD
    ></TR
    ></TABLE
    ><P
    >Dump an HTML document. Formating return/spaces are added.</P
    ><P
    ></P
    ><DIV
    CLASS="INFORMALTABLE"
    ><A
    NAME="AEN12320"><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
    >buf</I
    ></TT
    >&nbsp;:</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    >  the HTML buffer output</TD
    ></TR
    ><TR
    ><TD
    WIDTH="20%"
    ALIGN="RIGHT"
    VALIGN="TOP"
    ><TT
    CLASS="PARAMETER"
    ><I
    >cur</I
    ></TT
    >&nbsp;:</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    >  the document</TD
    ></TR
    ><TR
    ><TD
    WIDTH="20%"
    ALIGN="RIGHT"
    VALIGN="TOP"
    ><TT
    CLASS="PARAMETER"
    ><I
    >encoding</I
    ></TT
    >&nbsp;:</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    >  the encoding string</TD
    ></TR
    ></TBODY
    ></TABLE
    ><P
    ></P
    ></DIV
    ></DIV
    ><HR><DIV
    CLASS="REFSECT2"
    ><A
    NAME="AEN12337"
    ></A
    ><H3
    ><A
    NAME="HTMLDOCCONTENTDUMPFORMATOUTPUT"
    ></A
    >htmlDocContentDumpFormatOutput ()</H3
    ><TABLE
    BORDER="0"
    BGCOLOR="#D6E8FF"
    WIDTH="100%"
    CELLPADDING="6"
    ><TR
    ><TD
    ><PRE
    CLASS="PROGRAMLISTING"
    >void        htmlDocContentDumpFormatOutput  (<A
    HREF="libxml-tree.html#XMLOUTPUTBUFFERPTR"
    >xmlOutputBufferPtr</A
    > buf,
                                                 <A
    HREF="libxml-tree.html#XMLDOCPTR"
    >xmlDocPtr</A
    > cur,
                                                 const char *encoding,
                                                 int format);</PRE
    ></TD
    ></TR
    ></TABLE
    ><P
    >Dump an HTML document.</P
    ><P
    ></P
    ><DIV
    CLASS="INFORMALTABLE"
    ><A
    NAME="AEN12345"><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
    >buf</I
    ></TT
    >&nbsp;:</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    >  the HTML buffer output</TD
    ></TR
    ><TR
    ><TD
    WIDTH="20%"
    ALIGN="RIGHT"
    VALIGN="TOP"
    ><TT
    CLASS="PARAMETER"
    ><I
    >cur</I
    ></TT
    >&nbsp;:</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    >  the document</TD
    ></TR
    ><TR
    ><TD
    WIDTH="20%"
    ALIGN="RIGHT"
    VALIGN="TOP"
    ><TT
    CLASS="PARAMETER"
    ><I
    >encoding</I
    ></TT
    >&nbsp;:</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    >  the encoding string</TD
    ></TR
    ><TR
    ><TD
    WIDTH="20%"
    ALIGN="RIGHT"
    VALIGN="TOP"
    ><TT
    CLASS="PARAMETER"
    ><I
    >format</I
    ></TT
    >&nbsp;:</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    >  should formatting spaces been added</TD
    ></TR
    ></TBODY
    ></TABLE
    ><P
    ></P
    ></DIV
    ></DIV
    ><HR><DIV
    CLASS="REFSECT2"
    ><A
    NAME="AEN12366"
    ></A
    ><H3
    ><A
    NAME="HTMLISBOOLEANATTR"
    ></A
    >htmlIsBooleanAttr ()</H3
    ><TABLE
    BORDER="0"
    BGCOLOR="#D6E8FF"
    WIDTH="100%"
    CELLPADDING="6"
    ><TR
    ><TD
    ><PRE
    CLASS="PROGRAMLISTING"
    >int         htmlIsBooleanAttr               (const <A
    HREF="libxml-tree.html#XMLCHAR"
    >xmlChar</A
    > *name);</PRE
    ></TD
    ></TR
    ></TABLE
    ><P
    >Determine if a given attribute is a boolean attribute.</P
    ><P
    ></P
    ><DIV
    CLASS="INFORMALTABLE"
    ><A
    NAME="AEN12373"><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
    >name</I
    ></TT
    >&nbsp;:</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    >  the name of the attribute to check</TD
    ></TR
    ><TR
    ><TD
    WIDTH="20%"
    ALIGN="RIGHT"
    VALIGN="TOP"
    ><SPAN
    CLASS="emphasis"
    ><I
    CLASS="EMPHASIS"
    >Returns</I
    ></SPAN
    > :</TD
    ><TD
    WIDTH="80%"
    ALIGN="LEFT"
    VALIGN="TOP"
    > false if the attribute is not boolean, true otherwise.</TD
    ></TR
    ></TBODY
    ></TABLE
    ><P
    ></P
    ></DIV
    ></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-htmlparser.html"
    ><FONT
    COLOR="#FFFFFF"
    SIZE="3"
    ><B
    >&#60;&#60;&#60; 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-xpath.html"
    ><FONT
    COLOR="#FFFFFF"
    SIZE="3"
    ><B
    >Next Page &#62;&#62;&#62;</B
    ></FONT
    ></A
    ></TD
    ></TR
    ><TR
    ><TD
    COLSPAN="2"
    ALIGN="left"
    ><FONT
    COLOR="#FFFFFF"
    SIZE="3"
    ><B
    >HTMLparser</B
    ></FONT
    ></TD
    ><TD
    COLSPAN="2"
    ALIGN="right"
    ><FONT
    COLOR="#FFFFFF"
    SIZE="3"
    ><B
    >xpath</B
    ></FONT
    ></TD
    ></TR
    ></TABLE
    ></DIV
    ></BODY
    ></HTML
    >