<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.15.0" xml:lang="en-US">
  <compounddef id="HTMLparser_8c" kind="file" language="C++">
    <compoundname>HTMLparser.c</compoundname>
    <includes local="yes">libxml.h</includes>
    <includes local="no">string.h</includes>
    <includes local="no">ctype.h</includes>
    <includes local="no">stdlib.h</includes>
    <includes refid="HTMLparser_8h" local="no">libxml/HTMLparser.h</includes>
    <includes refid="xmlmemory_8h" local="no">libxml/xmlmemory.h</includes>
    <includes refid="tree_8h" local="no">libxml/tree.h</includes>
    <includes refid="parser_8h" local="no">libxml/parser.h</includes>
    <includes refid="parserInternals_8h" local="no">libxml/parserInternals.h</includes>
    <includes refid="xmlerror_8h" local="no">libxml/xmlerror.h</includes>
    <includes refid="HTMLtree_8h" local="no">libxml/HTMLtree.h</includes>
    <includes refid="entities_8h" local="no">libxml/entities.h</includes>
    <includes refid="encoding_8h" local="no">libxml/encoding.h</includes>
    <includes refid="xmlIO_8h" local="no">libxml/xmlIO.h</includes>
    <includes refid="uri_8h" local="no">libxml/uri.h</includes>
    <includes local="yes">private/buf.h</includes>
    <includes local="yes">private/dict.h</includes>
    <includes local="yes">private/enc.h</includes>
    <includes local="yes">private/error.h</includes>
    <includes local="yes">private/html.h</includes>
    <includes local="yes">private/io.h</includes>
    <includes local="yes">private/memory.h</includes>
    <includes local="yes">private/parser.h</includes>
    <includes local="yes">private/tree.h</includes>
    <includes local="yes">codegen/html5ent.inc</includes>
    <incdepgraph>
      <node id="1">
        <label>/builds/GNOME/libxml2/HTMLparser.c</label>
        <link refid="HTMLparser_8c"/>
        <childnode refid="2" relation="include">
        </childnode>
        <childnode refid="3" relation="include">
        </childnode>
        <childnode refid="4" relation="include">
        </childnode>
        <childnode refid="5" relation="include">
        </childnode>
        <childnode refid="6" relation="include">
        </childnode>
        <childnode refid="15" relation="include">
        </childnode>
        <childnode refid="10" relation="include">
        </childnode>
        <childnode refid="9" relation="include">
        </childnode>
        <childnode refid="29" relation="include">
        </childnode>
        <childnode refid="21" relation="include">
        </childnode>
        <childnode refid="31" relation="include">
        </childnode>
        <childnode refid="24" relation="include">
        </childnode>
        <childnode refid="25" relation="include">
        </childnode>
        <childnode refid="26" relation="include">
        </childnode>
        <childnode refid="32" relation="include">
        </childnode>
        <childnode refid="33" relation="include">
        </childnode>
        <childnode refid="34" relation="include">
        </childnode>
        <childnode refid="35" relation="include">
        </childnode>
        <childnode refid="36" relation="include">
        </childnode>
        <childnode refid="37" relation="include">
        </childnode>
        <childnode refid="38" relation="include">
        </childnode>
        <childnode refid="39" relation="include">
        </childnode>
        <childnode refid="40" relation="include">
        </childnode>
        <childnode refid="41" relation="include">
        </childnode>
        <childnode refid="42" relation="include">
        </childnode>
      </node>
      <node id="6">
        <label>libxml/HTMLparser.h</label>
        <link refid="HTMLparser_8h"/>
        <childnode refid="7" relation="include">
        </childnode>
        <childnode refid="9" relation="include">
        </childnode>
      </node>
      <node id="31">
        <label>libxml/HTMLtree.h</label>
        <link refid="HTMLtree_8h"/>
        <childnode refid="11" relation="include">
        </childnode>
        <childnode refid="7" relation="include">
        </childnode>
        <childnode refid="10" relation="include">
        </childnode>
        <childnode refid="6" relation="include">
        </childnode>
      </node>
      <node id="27">
        <label>libxml/SAX2.h</label>
        <link refid="SAX2_8h"/>
        <childnode refid="7" relation="include">
        </childnode>
        <childnode refid="9" relation="include">
        </childnode>
      </node>
      <node id="30">
        <label>libxml/chvalid.h</label>
        <link refid="chvalid_8h"/>
        <childnode refid="7" relation="include">
        </childnode>
        <childnode refid="13" relation="include">
        </childnode>
      </node>
      <node id="17">
        <label>libxml/dict.h</label>
        <link refid="dict_8h"/>
        <childnode refid="18" relation="include">
        </childnode>
        <childnode refid="7" relation="include">
        </childnode>
        <childnode refid="13" relation="include">
        </childnode>
      </node>
      <node id="25">
        <label>libxml/encoding.h</label>
        <link refid="encoding_8h"/>
        <childnode refid="7" relation="include">
        </childnode>
        <childnode refid="21" relation="include">
        </childnode>
      </node>
      <node id="24">
        <label>libxml/entities.h</label>
        <link refid="entities_8h"/>
        <childnode refid="7" relation="include">
        </childnode>
        <childnode refid="10" relation="include">
        </childnode>
      </node>
      <node id="19">
        <label>libxml/hash.h</label>
        <link refid="hash_8h"/>
        <childnode refid="7" relation="include">
        </childnode>
        <childnode refid="17" relation="include">
        </childnode>
        <childnode refid="13" relation="include">
        </childnode>
      </node>
      <node id="22">
        <label>libxml/list.h</label>
        <link refid="list_8h"/>
        <childnode refid="7" relation="include">
        </childnode>
      </node>
      <node id="9">
        <label>libxml/parser.h</label>
        <link refid="parser_8h"/>
        <childnode refid="7" relation="include">
        </childnode>
        <childnode refid="10" relation="include">
        </childnode>
        <childnode refid="17" relation="include">
        </childnode>
        <childnode refid="19" relation="include">
        </childnode>
        <childnode refid="20" relation="include">
        </childnode>
        <childnode refid="24" relation="include">
        </childnode>
        <childnode refid="21" relation="include">
        </childnode>
        <childnode refid="13" relation="include">
        </childnode>
        <childnode refid="15" relation="include">
        </childnode>
        <childnode refid="25" relation="include">
        </childnode>
        <childnode refid="26" relation="include">
        </childnode>
        <childnode refid="27" relation="include">
        </childnode>
        <childnode refid="28" relation="include">
        </childnode>
      </node>
      <node id="29">
        <label>libxml/parserInternals.h</label>
        <link refid="parserInternals_8h"/>
        <childnode refid="7" relation="include">
        </childnode>
        <childnode refid="9" relation="include">
        </childnode>
        <childnode refid="6" relation="include">
        </childnode>
        <childnode refid="30" relation="include">
        </childnode>
        <childnode refid="27" relation="include">
        </childnode>
      </node>
      <node id="28">
        <label>libxml/threads.h</label>
        <link refid="threads_8h"/>
        <childnode refid="7" relation="include">
        </childnode>
      </node>
      <node id="10">
        <label>libxml/tree.h</label>
        <link refid="tree_8h"/>
        <childnode refid="11" relation="include">
        </childnode>
        <childnode refid="12" relation="include">
        </childnode>
        <childnode refid="7" relation="include">
        </childnode>
        <childnode refid="13" relation="include">
        </childnode>
        <childnode refid="15" relation="include">
        </childnode>
        <childnode refid="16" relation="include">
        </childnode>
      </node>
      <node id="32">
        <label>libxml/uri.h</label>
        <link refid="uri_8h"/>
        <childnode refid="11" relation="include">
        </childnode>
        <childnode refid="7" relation="include">
        </childnode>
        <childnode refid="13" relation="include">
        </childnode>
      </node>
      <node id="20">
        <label>libxml/valid.h</label>
        <link refid="valid_8h"/>
        <childnode refid="7" relation="include">
        </childnode>
        <childnode refid="21" relation="include">
        </childnode>
        <childnode refid="10" relation="include">
        </childnode>
        <childnode refid="22" relation="include">
        </childnode>
        <childnode refid="23" relation="include">
        </childnode>
        <childnode refid="16" relation="include">
        </childnode>
      </node>
      <node id="26">
        <label>libxml/xmlIO.h</label>
        <link refid="xmlIO_8h"/>
        <childnode refid="11" relation="include">
        </childnode>
        <childnode refid="7" relation="include">
        </childnode>
        <childnode refid="25" relation="include">
        </childnode>
        <childnode refid="10" relation="include">
        </childnode>
      </node>
      <node id="23">
        <label>libxml/xmlautomata.h</label>
        <link refid="xmlautomata_8h"/>
        <childnode refid="7" relation="include">
        </childnode>
        <childnode refid="13" relation="include">
        </childnode>
      </node>
      <node id="21">
        <label>libxml/xmlerror.h</label>
        <link refid="xmlerror_8h"/>
        <childnode refid="7" relation="include">
        </childnode>
      </node>
      <node id="15">
        <label>libxml/xmlmemory.h</label>
        <link refid="xmlmemory_8h"/>
        <childnode refid="11" relation="include">
        </childnode>
        <childnode refid="7" relation="include">
        </childnode>
      </node>
      <node id="16">
        <label>libxml/xmlregexp.h</label>
        <link refid="xmlregexp_8h"/>
        <childnode refid="11" relation="include">
        </childnode>
        <childnode refid="7" relation="include">
        </childnode>
        <childnode refid="13" relation="include">
        </childnode>
      </node>
      <node id="13">
        <label>libxml/xmlstring.h</label>
        <link refid="xmlstring_8h"/>
        <childnode refid="14" relation="include">
        </childnode>
        <childnode refid="7" relation="include">
        </childnode>
      </node>
      <node id="7">
        <label>libxml/xmlversion.h</label>
        <link refid="xmlversion_8h"/>
        <childnode refid="8" relation="include">
        </childnode>
      </node>
      <node id="42">
        <label>codegen/html5ent.inc</label>
      </node>
      <node id="4">
        <label>ctype.h</label>
      </node>
      <node id="2">
        <label>libxml.h</label>
      </node>
      <node id="8">
        <label>libxml/xmlexports.h</label>
      </node>
      <node id="12">
        <label>limits.h</label>
      </node>
      <node id="33">
        <label>private/buf.h</label>
      </node>
      <node id="34">
        <label>private/dict.h</label>
      </node>
      <node id="35">
        <label>private/enc.h</label>
      </node>
      <node id="36">
        <label>private/error.h</label>
      </node>
      <node id="37">
        <label>private/html.h</label>
      </node>
      <node id="38">
        <label>private/io.h</label>
      </node>
      <node id="39">
        <label>private/memory.h</label>
      </node>
      <node id="40">
        <label>private/parser.h</label>
      </node>
      <node id="41">
        <label>private/tree.h</label>
      </node>
      <node id="14">
        <label>stdarg.h</label>
      </node>
      <node id="18">
        <label>stddef.h</label>
      </node>
      <node id="11">
        <label>stdio.h</label>
      </node>
      <node id="5">
        <label>stdlib.h</label>
      </node>
      <node id="3">
        <label>string.h</label>
      </node>
    </incdepgraph>
    <innerclass refid="structhtmlStartCloseEntry" prot="public">htmlStartCloseEntry</innerclass>
    <innerclass refid="structelementPriority" prot="public">elementPriority</innerclass>
    <sectiondef kind="define">
      <memberdef kind="define" id="HTMLparser_8c_1a2e0dfa3e1bcca0ce16dfbe14da3a27be" prot="public" static="no">
        <name>IN_LIBXML</name>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="18" column="9" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="18" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="HTMLparser_8c_1a45a7fc5cd6108a97a3a9cb368dfdc773" prot="public" static="no">
        <name>HTML_MAX_NAMELEN</name>
        <initializer>1000</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="48" column="9" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="48" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="HTMLparser_8c_1aa2435035e1a0680203f071eb2e2074a7" prot="public" static="no">
        <name>HTML_MAX_ATTRS</name>
        <initializer>100000000 /* 100 million */</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="49" column="9" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="49" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="HTMLparser_8c_1ae4e4374aa20316e252604bef8673f867" prot="public" static="no">
        <name>HTML_PARSER_BIG_BUFFER_SIZE</name>
        <initializer>1000</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="50" column="9" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="50" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="HTMLparser_8c_1a10dcf03a4989c2d099dcc1d2f2510434" prot="public" static="no">
        <name>HTML_PARSER_BUFFER_SIZE</name>
        <initializer>100</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="51" column="9" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="51" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="HTMLparser_8c_1a94861efd10c2a43646b9cbf758a68757" prot="public" static="no">
        <name>IS_HEX_DIGIT</name>
        <param><defname>c</defname></param>
        <initializer>    ((<ref refid="parserInternals_8h_1a6091ee62c38b7941890146c27e2766a9" kindref="member">IS_ASCII_DIGIT</ref>(c)) || \
     ((((c) | 0x20) &gt;= &apos;a&apos;) &amp;&amp; (((c) | 0x20) &lt;= &apos;f&apos;)))</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="53" column="9" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="53" bodyend="55"/>
      </memberdef>
      <memberdef kind="define" id="HTMLparser_8c_1a16433154194559842c3128a9f7ca5355" prot="public" static="no">
        <name>IS_UPPER</name>
        <param><defname>c</defname></param>
        <initializer>    (((c) &gt;= &apos;A&apos;) &amp;&amp; ((c) &lt;= &apos;Z&apos;))</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="57" column="9" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="57" bodyend="58"/>
      </memberdef>
      <memberdef kind="define" id="HTMLparser_8c_1a28e9f96038c5dd3ca26e8b5972ec16fc" prot="public" static="no">
        <name>IS_ALNUM</name>
        <param><defname>c</defname></param>
        <initializer>    (<ref refid="parserInternals_8h_1ae32cbd6af263ea78fdcc949c17542acb" kindref="member">IS_ASCII_LETTER</ref>(c) || <ref refid="parserInternals_8h_1a6091ee62c38b7941890146c27e2766a9" kindref="member">IS_ASCII_DIGIT</ref>(c))</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="60" column="9" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="60" bodyend="61"/>
      </memberdef>
      <memberdef kind="define" id="HTMLparser_8c_1ab7a309e1cb06fb6bcbd4314371443416" prot="public" static="no">
        <name>UPPER</name>
        <initializer>(toupper(*ctxt-&gt;input-&gt;cur))</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="284" column="9" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="284" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="HTMLparser_8c_1ad4085174a3a17d279d2dbd4b036b9e12" prot="public" static="no">
        <name>SKIP</name>
        <param><defname>val</defname></param>
        <initializer>ctxt-&gt;input-&gt;cur += (val),ctxt-&gt;input-&gt;col+=(val)</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="286" column="9" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="286" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="HTMLparser_8c_1af314159e84096cd64f018a2a4d8117a4" prot="public" static="no">
        <name>NXT</name>
        <param><defname>val</defname></param>
        <initializer>ctxt-&gt;input-&gt;cur[(val)]</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="288" column="9" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="288" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="HTMLparser_8c_1a55c4edc3d15ca99748f2ed92e7d1d9dc" prot="public" static="no">
        <name>UPP</name>
        <param><defname>val</defname></param>
        <initializer>(toupper(ctxt-&gt;input-&gt;cur[(val)]))</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="290" column="9" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="290" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="HTMLparser_8c_1afd94e685b9370cd448ebb1017a5a5d05" prot="public" static="no">
        <name>CUR_PTR</name>
        <initializer>ctxt-&gt;input-&gt;cur</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="292" column="9" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="292" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="HTMLparser_8c_1a5b8342e166f93051c676cfbd613447b5" prot="public" static="no">
        <name>BASE_PTR</name>
        <initializer>ctxt-&gt;input-&gt;base</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="293" column="9" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="293" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="HTMLparser_8c_1a4b77f6624bbcbdf24f4e3681168a4d9a" prot="public" static="no">
        <name>SHRINK</name>
        <initializer>    if ((!PARSER_PROGRESSIVE(ctxt)) &amp;&amp; \
        (ctxt-&gt;input-&gt;cur - ctxt-&gt;input-&gt;base &gt; 2 * INPUT_CHUNK) &amp;&amp; \
    (ctxt-&gt;input-&gt;end - ctxt-&gt;input-&gt;cur &lt; 2 * INPUT_CHUNK)) \
    xmlParserShrink(ctxt);</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="295" column="9" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="295" bodyend="299"/>
      </memberdef>
      <memberdef kind="define" id="HTMLparser_8c_1a9512012dc8428ba1bd4a3ba555335720" prot="public" static="no">
        <name>GROW</name>
        <initializer>    if ((!PARSER_PROGRESSIVE(ctxt)) &amp;&amp; \
        (ctxt-&gt;input-&gt;end - ctxt-&gt;input-&gt;cur &lt; INPUT_CHUNK)) \
    xmlParserGrow(ctxt);</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="301" column="9" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="301" bodyend="304"/>
      </memberdef>
      <memberdef kind="define" id="HTMLparser_8c_1a764bdced1d55967df03accf048f32e84" prot="public" static="no">
        <name>SKIP_BLANKS</name>
        <initializer>htmlSkipBlankChars(ctxt)</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="306" column="9" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="306" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="HTMLparser_8c_1aff0bd431f60abc560695115eb38e525d" prot="public" static="no">
        <name>CUR</name>
        <initializer>(*ctxt-&gt;input-&gt;cur)</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="310" column="9" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="310" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="HTMLparser_8c_1a04faae8c44cd7e8896e0a3e52bf1ea7c" prot="public" static="no">
        <name>ENT_F_SEMICOLON</name>
        <initializer>0x80u</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="2437" column="9" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="2437" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="HTMLparser_8c_1aecc4883eb43477e82d1620da8e28c7fb" prot="public" static="no">
        <name>ENT_F_SUBTABLE</name>
        <initializer>0x40u</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="2438" column="9" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="2438" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="HTMLparser_8c_1ad760b812eddc3a478fa2dcda9304e335" prot="public" static="no">
        <name>ENT_F_ALL</name>
        <initializer>0xC0u</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="2439" column="9" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="2439" bodyend="-1"/>
      </memberdef>
    </sectiondef>
    <sectiondef kind="enum">
      <memberdef kind="enum" id="HTMLparser_8c_1af4fbd4f37c12c1ea9fc57be0e777ad45" prot="public" static="no" strong="no">
        <type></type>
        <name>htmlInsertMode</name>
        <enumvalue id="HTMLparser_8c_1af4fbd4f37c12c1ea9fc57be0e777ad45a1cc4417c1d18492586ec621055e65203" prot="public">
          <name>INSERT_INITIAL</name>
          <initializer>= 1</initializer>
          <briefdescription>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="HTMLparser_8c_1af4fbd4f37c12c1ea9fc57be0e777ad45a28eb76d1237018d34d58466d036d7280" prot="public">
          <name>INSERT_IN_HEAD</name>
          <initializer>= 3</initializer>
          <briefdescription>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="HTMLparser_8c_1af4fbd4f37c12c1ea9fc57be0e777ad45a1245928d6927eac345808837c7040ce3" prot="public">
          <name>INSERT_IN_BODY</name>
          <initializer>= 10</initializer>
          <briefdescription>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="63" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="63" bodyend="67"/>
      </memberdef>
      <memberdef kind="enum" id="HTMLparser_8c_1a161a7fb744899652f55c2e917bba6960" prot="public" static="no" strong="no">
        <type></type>
        <name>xmlLookupStates</name>
        <enumvalue id="HTMLparser_8c_1a161a7fb744899652f55c2e917bba6960a8723af0ae28f3abe675395bc0d85eef2" prot="public">
          <name>LSTATE_TAG_NAME</name>
          <initializer>= 0</initializer>
          <briefdescription>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="HTMLparser_8c_1a161a7fb744899652f55c2e917bba6960a6f81edb8d680e825a3c4dd51a6135ea7" prot="public">
          <name>LSTATE_BEFORE_ATTR_NAME</name>
          <briefdescription>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="HTMLparser_8c_1a161a7fb744899652f55c2e917bba6960a380160e44e38ee4ba2f289134114e714" prot="public">
          <name>LSTATE_ATTR_NAME</name>
          <briefdescription>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="HTMLparser_8c_1a161a7fb744899652f55c2e917bba6960a72b0b6ba7a1b616b98ee319d1ad441c8" prot="public">
          <name>LSTATE_AFTER_ATTR_NAME</name>
          <briefdescription>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="HTMLparser_8c_1a161a7fb744899652f55c2e917bba6960a2a38986ad48f1eb52996b04a8784ff58" prot="public">
          <name>LSTATE_BEFORE_ATTR_VALUE</name>
          <briefdescription>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="HTMLparser_8c_1a161a7fb744899652f55c2e917bba6960a1008b5fb406dd0cc13b2effa860cc4db" prot="public">
          <name>LSTATE_ATTR_VALUE_DQUOTED</name>
          <briefdescription>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="HTMLparser_8c_1a161a7fb744899652f55c2e917bba6960a5a5f902c7d8ffd285e3aba4ae370c209" prot="public">
          <name>LSTATE_ATTR_VALUE_SQUOTED</name>
          <briefdescription>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="HTMLparser_8c_1a161a7fb744899652f55c2e917bba6960a1a8c710fc556c18bd4cc16c067ef2d3f" prot="public">
          <name>LSTATE_ATTR_VALUE_UNQUOTED</name>
          <briefdescription>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="4732" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="4732" bodyend="4741"/>
      </memberdef>
    </sectiondef>
    <sectiondef kind="typedef">
      <memberdef kind="typedef" id="HTMLparser_8c_1a38a1f9c9893ea1bdc020d1a2b2000787" prot="public" static="no">
        <type>const unsigned</type>
        <definition>typedef const unsigned htmlAsciiMask[2]</definition>
        <argsstring>[2]</argsstring>
        <name>htmlAsciiMask</name>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="69" column="24" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="69" bodyend="-1"/>
      </memberdef>
    </sectiondef>
    <sectiondef kind="var">
      <memberdef kind="variable" id="HTMLparser_8c_1af3b2ed58a1333c33801e9861bfd860be" prot="public" static="yes" mutable="no">
        <type>htmlAsciiMask</type>
        <definition>htmlAsciiMask MASK_DQ</definition>
        <argsstring></argsstring>
        <name>MASK_DQ</name>
        <initializer>= {
    0,
    1u &lt;&lt; (&apos;&quot;&apos; - 32),
}</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="71" column="22" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="71" bodyend="74"/>
      </memberdef>
      <memberdef kind="variable" id="HTMLparser_8c_1a34adde485f59be83230000b982352e2a" prot="public" static="yes" mutable="no">
        <type>htmlAsciiMask</type>
        <definition>htmlAsciiMask MASK_SQ</definition>
        <argsstring></argsstring>
        <name>MASK_SQ</name>
        <initializer>= {
    0,
    1u &lt;&lt; (&apos;\&apos;&apos; - 32),
}</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="75" column="22" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="75" bodyend="78"/>
      </memberdef>
      <memberdef kind="variable" id="HTMLparser_8c_1af0aa342a6f8c72fc60e4d086bcbd0bf7" prot="public" static="yes" mutable="no">
        <type>htmlAsciiMask</type>
        <definition>htmlAsciiMask MASK_GT</definition>
        <argsstring></argsstring>
        <name>MASK_GT</name>
        <initializer>= {
    0,
    1u &lt;&lt; (&apos;&gt;&apos; - 32),
}</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="79" column="22" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="79" bodyend="82"/>
      </memberdef>
      <memberdef kind="variable" id="HTMLparser_8c_1a1a9c2dcf1b65fe423011e0573d7d561a" prot="public" static="yes" mutable="no">
        <type>htmlAsciiMask</type>
        <definition>htmlAsciiMask MASK_DASH</definition>
        <argsstring></argsstring>
        <name>MASK_DASH</name>
        <initializer>= {
    0,
    1u &lt;&lt; (&apos;-&apos; - 32),
}</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="83" column="22" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="83" bodyend="86"/>
      </memberdef>
      <memberdef kind="variable" id="HTMLparser_8c_1a5742ede48876f61b8960d884d77dd6be" prot="public" static="yes" mutable="no">
        <type>htmlAsciiMask</type>
        <definition>htmlAsciiMask MASK_WS_GT</definition>
        <argsstring></argsstring>
        <name>MASK_WS_GT</name>
        <initializer>= {
    1u &lt;&lt; 0x09 | 1u &lt;&lt; 0x0A | 1u &lt;&lt; 0x0C | 1u &lt;&lt; 0x0D,
    1u &lt;&lt; (&apos; &apos; - 32) | 1u &lt;&lt; (&apos;&gt;&apos; - 32),
}</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="87" column="22" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="87" bodyend="90"/>
      </memberdef>
      <memberdef kind="variable" id="HTMLparser_8c_1ae08820eb14e1ceba45e45d28443da6ae" prot="public" static="yes" mutable="no">
        <type>htmlAsciiMask</type>
        <definition>htmlAsciiMask MASK_DQ_GT</definition>
        <argsstring></argsstring>
        <name>MASK_DQ_GT</name>
        <initializer>= {
    0,
    1u &lt;&lt; (&apos;&quot;&apos; - 32) | 1u &lt;&lt; (&apos;&gt;&apos; - 32),
}</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="91" column="22" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="91" bodyend="94"/>
      </memberdef>
      <memberdef kind="variable" id="HTMLparser_8c_1a61647a312fd74f54fee9ea5e15c84994" prot="public" static="yes" mutable="no">
        <type>htmlAsciiMask</type>
        <definition>htmlAsciiMask MASK_SQ_GT</definition>
        <argsstring></argsstring>
        <name>MASK_SQ_GT</name>
        <initializer>= {
    0,
    1u &lt;&lt; (&apos;\&apos;&apos; - 32) | 1u &lt;&lt; (&apos;&gt;&apos; - 32),
}</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="95" column="22" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="95" bodyend="98"/>
      </memberdef>
      <memberdef kind="variable" id="HTMLparser_8c_1a69162282ca929881d21acd44c0143b72" prot="public" static="yes" mutable="no">
        <type>int</type>
        <definition>int htmlOmittedDefaultValue</definition>
        <argsstring></argsstring>
        <name>htmlOmittedDefaultValue</name>
        <initializer>= 1</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="100" column="12" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="100" bodyend="-1"/>
      </memberdef>
      <memberdef kind="variable" id="HTMLparser_8c_1a84cabbc36cd0b1275b6590f582d1f08d" prot="public" static="yes" mutable="no">
        <type>const htmlElemDesc</type>
        <definition>const htmlElemDesc html40ElementTable[]</definition>
        <argsstring>[]</argsstring>
        <name>html40ElementTable</name>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="503" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="503" bodyend="904"/>
      </memberdef>
      <memberdef kind="variable" id="HTMLparser_8c_1ad8a03d9c06ec3f60b0ca87d7ba1a82e9" prot="public" static="yes" mutable="no">
        <type>const htmlStartCloseEntry</type>
        <definition>const htmlStartCloseEntry htmlStartClose[]</definition>
        <argsstring>[]</argsstring>
        <name>htmlStartClose</name>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="914" column="34" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="914" bodyend="1164"/>
      </memberdef>
      <memberdef kind="variable" id="HTMLparser_8c_1aacbc9d544b52ea0dea1f1a1a1c122a48" prot="public" static="yes" mutable="no">
        <type>const char *const</type>
        <definition>const char* const htmlScriptAttributes[]</definition>
        <argsstring>[]</argsstring>
        <name>htmlScriptAttributes</name>
        <initializer>= {
    &quot;onclick&quot;,
    &quot;ondblclick&quot;,
    &quot;onmousedown&quot;,
    &quot;onmouseup&quot;,
    &quot;onmouseover&quot;,
    &quot;onmousemove&quot;,
    &quot;onmouseout&quot;,
    &quot;onkeypress&quot;,
    &quot;onkeydown&quot;,
    &quot;onkeyup&quot;,
    &quot;onload&quot;,
    &quot;onunload&quot;,
    &quot;onfocus&quot;,
    &quot;onblur&quot;,
    &quot;onsubmit&quot;,
    &quot;onreset&quot;,
    &quot;onchange&quot;,
    &quot;onselect&quot;
}</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="1171" column="25" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="1171" bodyend="1190"/>
      </memberdef>
      <memberdef kind="variable" id="HTMLparser_8c_1a7ddc5871b65b48cc66c0664866bccfb2" prot="public" static="yes" mutable="no">
        <type>const elementPriority</type>
        <definition>const elementPriority htmlEndPriority[]</definition>
        <argsstring>[]</argsstring>
        <name>htmlEndPriority</name>
        <initializer>= {
    {&quot;div&quot;,   150},
    {&quot;td&quot;,    160},
    {&quot;th&quot;,    160},
    {&quot;tr&quot;,    170},
    {&quot;thead&quot;, 180},
    {&quot;tbody&quot;, 180},
    {&quot;tfoot&quot;, 180},
    {&quot;table&quot;, 190},
    {&quot;head&quot;,  200},
    {&quot;body&quot;,  200},
    {&quot;html&quot;,  220},
    {NULL,    100} 
}</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="1205" column="30" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="1205" bodyend="1218"/>
      </memberdef>
      <memberdef kind="variable" id="HTMLparser_8c_1ae7c700b683dfabcb0a5f4bb3793c207e" prot="public" static="yes" mutable="no">
        <type>const htmlEntityDesc</type>
        <definition>const htmlEntityDesc html40EntitiesTable[]</definition>
        <argsstring>[]</argsstring>
        <name>html40EntitiesTable</name>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="1594" column="30" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="1594" bodyend="1875"/>
      </memberdef>
      <memberdef kind="variable" id="HTMLparser_8c_1ad14342ec1ddc3d4264a34bdb23be269e" prot="public" static="yes" mutable="no">
        <type>const char *const</type>
        <definition>const char* const allowPCData[]</definition>
        <argsstring>[]</argsstring>
        <name>allowPCData</name>
        <initializer>= {
    &quot;a&quot;, &quot;abbr&quot;, &quot;acronym&quot;, &quot;address&quot;, &quot;applet&quot;, &quot;b&quot;, &quot;bdo&quot;, &quot;big&quot;,
    &quot;blockquote&quot;, &quot;body&quot;, &quot;button&quot;, &quot;caption&quot;, &quot;center&quot;, &quot;cite&quot;, &quot;code&quot;,
    &quot;dd&quot;, &quot;del&quot;, &quot;dfn&quot;, &quot;div&quot;, &quot;dt&quot;, &quot;em&quot;, &quot;font&quot;, &quot;form&quot;, &quot;h1&quot;, &quot;h2&quot;,
    &quot;h3&quot;, &quot;h4&quot;, &quot;h5&quot;, &quot;h6&quot;, &quot;i&quot;, &quot;iframe&quot;, &quot;ins&quot;, &quot;kbd&quot;, &quot;label&quot;, &quot;legend&quot;,
    &quot;li&quot;, &quot;noframes&quot;, &quot;noscript&quot;, &quot;object&quot;, &quot;p&quot;, &quot;pre&quot;, &quot;q&quot;, &quot;s&quot;, &quot;samp&quot;,
    &quot;small&quot;, &quot;span&quot;, &quot;strike&quot;, &quot;strong&quot;, &quot;td&quot;, &quot;th&quot;, &quot;tt&quot;, &quot;u&quot;, &quot;var&quot;
}</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="2146" column="25" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="2146" bodyend="2153"/>
      </memberdef>
      <memberdef kind="variable" id="HTMLparser_8c_1a0812b6b5ca5d61636a46b74a4c7f80eb" prot="public" static="yes" mutable="no">
        <type>const short</type>
        <definition>const short htmlC1Remap[32]</definition>
        <argsstring>[32]</argsstring>
        <name>htmlC1Remap</name>
        <initializer>= {
    0x20AC, 0x0081, 0x201A, 0x0192, 0x201E, 0x2026, 0x2020, 0x2021,
    0x02C6, 0x2030, 0x0160, 0x2039, 0x0152, 0x008D, 0x017D, 0x008F,
    0x0090, 0x2018, 0x2019, 0x201C, 0x201D, 0x2022, 0x2013, 0x2014,
    0x02DC, 0x2122, 0x0161, 0x203A, 0x0153, 0x009D, 0x017E, 0x0178
}</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="2399" column="20" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="2399" bodyend="2404"/>
      </memberdef>
    </sectiondef>
    <sectiondef kind="func">
      <memberdef kind="function" id="HTMLparser_8c_1ad2b00068dcfd8fbb4f42ea3cac98dd3a" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>static int htmlParseElementInternal</definition>
        <argsstring>(htmlParserCtxtPtr ctxt)</argsstring>
        <name>htmlParseElementInternal</name>
        <param>
          <type>htmlParserCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
<para>Parse an HTML element, new version, non recursive. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an HTML parser context </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="4234" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="4234" bodyend="4297" declfile="/builds/GNOME/libxml2/HTMLparser.c" declline="103" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1ab07ce48b4e9aef83dee559f0a7c533e8" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>static void htmlErrMemory</definition>
        <argsstring>(xmlParserCtxtPtr ctxt)</argsstring>
        <name>htmlErrMemory</name>
        <param>
          <type>xmlParserCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
<para>Handle an out-of-memory error. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an HTML parser context </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="117" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="117" bodyend="120"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1acd1bcf0e68a62ec71001327688b988ae" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>static void htmlParseErr</definition>
        <argsstring>(xmlParserCtxtPtr ctxt, xmlParserErrors error, const char *msg, const xmlChar *str1, const xmlChar *str2)</argsstring>
        <name>htmlParseErr</name>
        <param>
          <type>xmlParserCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type><ref refid="xmlerror_8h_1adc147424b5aac85cccf5018513b9ec14" kindref="member">xmlParserErrors</ref></type>
          <declname>error</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>msg</declname>
        </param>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>str1</declname>
        </param>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>str2</declname>
        </param>
        <briefdescription>
<para>Handle a fatal parser error, i.e. </para>
        </briefdescription>
        <detaileddescription>
<para>violating Well-Formedness constraints</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an HTML parser context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>error</parametername>
</parameternamelist>
<parameterdescription>
<para>the error number </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>msg</parametername>
</parameternamelist>
<parameterdescription>
<para>the error message </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>str1</parametername>
</parameternamelist>
<parameterdescription>
<para>string infor </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>str2</parametername>
</parameternamelist>
<parameterdescription>
<para>string infor </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="132" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="132" bodyend="137"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a51b1095921af2edfcee43be04b81c592" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>static int htmlnamePush</definition>
        <argsstring>(htmlParserCtxtPtr ctxt, const xmlChar *value)</argsstring>
        <name>htmlnamePush</name>
        <param>
          <type>htmlParserCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>value</declname>
        </param>
        <briefdescription>
<para>Pushes a new element name on top of the name stack. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an HTML parser context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>value</parametername>
</parameternamelist>
<parameterdescription>
<para>the element name </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>-1 in case of error, the index in the stack otherwise </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="153" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="153" bodyend="180"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a121872ea029ba0c3483d074989e474d6" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
        <definition>static const xmlChar * htmlnamePop</definition>
        <argsstring>(htmlParserCtxtPtr ctxt)</argsstring>
        <name>htmlnamePop</name>
        <param>
          <type>htmlParserCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
<para>Pops the top element name from the name stack. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an HTML parser context </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the name just removed </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="188" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="188" bodyend="204"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a244227b3bd700e8680b6c6d297b0e5ef" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>static int htmlNodeInfoPush</definition>
        <argsstring>(htmlParserCtxtPtr ctxt, htmlParserNodeInfo *value)</argsstring>
        <name>htmlNodeInfoPush</name>
        <param>
          <type>htmlParserCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type>htmlParserNodeInfo *</type>
          <declname>value</declname>
        </param>
        <briefdescription>
<para>Pushes a new element name on top of the node info stack. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an HTML parser context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>value</parametername>
</parameternamelist>
<parameterdescription>
<para>the node info </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>0 in case of error, the index in the stack otherwise </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="214" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="214" bodyend="237"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1ae82a8c54b7b1a4182092ee92bed163ea" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>htmlParserNodeInfo *</type>
        <definition>static htmlParserNodeInfo * htmlNodeInfoPop</definition>
        <argsstring>(htmlParserCtxtPtr ctxt)</argsstring>
        <name>htmlNodeInfoPop</name>
        <param>
          <type>htmlParserCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
<para>Pops the top element name from the node info stack. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an HTML parser context </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>0 in case of error, the pointer to NodeInfo otherwise </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="246" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="246" bodyend="258"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a7aa45c4baaa42804bbd2b3ea838a3651" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
        <definition>static xmlChar * htmlFindEncoding</definition>
        <argsstring>(xmlParserCtxtPtr ctxt)</argsstring>
        <name>htmlFindEncoding</name>
        <param>
          <type>xmlParserCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
<para>Prescan to find encoding. </para>
        </briefdescription>
        <detaileddescription>
<para>Try to find an encoding in the current data available in the input buffer.</para>
<para>TODO: Implement HTML5 prescan algorithm.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>the HTML parser context </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>an encoding string or NULL if not found </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="324" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="324" bodyend="360"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1afa55b953e450effe50dc85b6c2ecf626" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>static int htmlMaskMatch</definition>
        <argsstring>(htmlAsciiMask mask, unsigned c)</argsstring>
        <name>htmlMaskMatch</name>
        <param>
          <type>htmlAsciiMask</type>
          <declname>mask</declname>
        </param>
        <param>
          <type>unsigned</type>
          <declname>c</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="363" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="363" bodyend="367"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1ae563a0878a2b7f5914edcc6aa7ebb48a" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>static int htmlValidateUtf8</definition>
        <argsstring>(xmlParserCtxtPtr ctxt, const xmlChar *str, size_t len, int partial)</argsstring>
        <name>htmlValidateUtf8</name>
        <param>
          <type>xmlParserCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>str</declname>
        </param>
        <param>
          <type>size_t</type>
          <declname>len</declname>
        </param>
        <param>
          <type>int</type>
          <declname>partial</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="370" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="370" bodyend="428"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a4c492086a2056ac2565b64c9c9abf13a" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>static int htmlSkipBlankChars</definition>
        <argsstring>(xmlParserCtxtPtr ctxt)</argsstring>
        <name>htmlSkipBlankChars</name>
        <param>
          <type>xmlParserCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
<para>skip all blanks character found at that point in the input streams. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>the HTML parser context </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the number of space chars skipped </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="438" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="438" bodyend="480"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a154159c3bd9ffe0959406ca11ecf2d57" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>static void htmlParserFinishElementParsing</definition>
        <argsstring>(htmlParserCtxtPtr ctxt)</argsstring>
        <name>htmlParserFinishElementParsing</name>
        <param>
          <type>htmlParserCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="1227" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="1227" bodyend="1239"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a45200bac2c12417f70ec2f4e36560844" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>void htmlInitAutoClose</definition>
        <argsstring>(void)</argsstring>
        <name>htmlInitAutoClose</name>
        <param>
          <type>void</type>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000159"><xreftitle>Deprecated</xreftitle><xrefdescription><para>This is a no-op. </para>
</xrefdescription></xrefsect></para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="1245" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="1245" bodyend="1246"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1aded80c101d02fe8b28f56ea15f5483e6" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>static int htmlCompareTags</definition>
        <argsstring>(const void *key, const void *member)</argsstring>
        <name>htmlCompareTags</name>
        <param>
          <type>const void *</type>
          <declname>key</declname>
        </param>
        <param>
          <type>const void *</type>
          <declname>member</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="1249" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="1249" bodyend="1254"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a6306414b4ee5fc1b30bd4390b217b4a3" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>const htmlElemDesc *</type>
        <definition>const htmlElemDesc * htmlTagLookup</definition>
        <argsstring>(const xmlChar *tag)</argsstring>
        <name>htmlTagLookup</name>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>tag</declname>
        </param>
        <briefdescription>
<para>Lookup the HTML tag in the ElementTable. </para>
        </briefdescription>
        <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000160"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Only supports HTML 4.</para>
</xrefdescription></xrefsect></para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>tag</parametername>
</parameternamelist>
<parameterdescription>
<para>The tag name in lowercase </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the related htmlElemDesc or NULL if not found. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="1265" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="1265" bodyend="1272"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a548ba1a078e64d605b62c5bd46b4f2cc" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>static int htmlGetEndPriority</definition>
        <argsstring>(const xmlChar *name)</argsstring>
        <name>htmlGetEndPriority</name>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>name</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>name</parametername>
</parameternamelist>
<parameterdescription>
<para>The name of the element to look up the priority for. </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>value: The &quot;endtag&quot; priority. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="1279" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="1279" bodyend="1287"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a3796116f5c50286763dd047b029342a8" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>static int htmlCompareStartClose</definition>
        <argsstring>(const void *vkey, const void *member)</argsstring>
        <name>htmlCompareStartClose</name>
        <param>
          <type>const void *</type>
          <declname>vkey</declname>
        </param>
        <param>
          <type>const void *</type>
          <declname>member</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="1291" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="1291" bodyend="1301"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a2fa0b29da91acf6dc96f6579e86462ae" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>static int htmlCheckAutoClose</definition>
        <argsstring>(const xmlChar *newtag, const xmlChar *oldtag)</argsstring>
        <name>htmlCheckAutoClose</name>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>newtag</declname>
        </param>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>oldtag</declname>
        </param>
        <briefdescription>
<para>Checks whether the new tag is one of the registered valid tags for closing old. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>newtag</parametername>
</parameternamelist>
<parameterdescription>
<para>The new tag name </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>oldtag</parametername>
</parameternamelist>
<parameterdescription>
<para>The old tag name </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>0 if no, 1 if yes. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="1312" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="1312" bodyend="1323"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a245b9313605e665cfd1a44bafac7f70f" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>static void htmlAutoCloseOnClose</definition>
        <argsstring>(htmlParserCtxtPtr ctxt, const xmlChar *newtag)</argsstring>
        <name>htmlAutoCloseOnClose</name>
        <param>
          <type>htmlParserCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>newtag</declname>
        </param>
        <briefdescription>
<para>The HTML DTD allows an ending tag to implicitly close other tags. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an HTML parser context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>newtag</parametername>
</parameternamelist>
<parameterdescription>
<para>The new tag name </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="1332" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="1332" bodyend="1370"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1af8c002a27eddc82b621029a4ff447ede" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>static void htmlAutoCloseOnEnd</definition>
        <argsstring>(htmlParserCtxtPtr ctxt)</argsstring>
        <name>htmlAutoCloseOnEnd</name>
        <param>
          <type>htmlParserCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
<para>Close all remaining tags at the end of the stream. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an HTML parser context </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="1378" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="1378" bodyend="1393"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1af5863df12250d7418799a62060dc96a8" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>static void htmlAutoClose</definition>
        <argsstring>(htmlParserCtxtPtr ctxt, const xmlChar *newtag)</argsstring>
        <name>htmlAutoClose</name>
        <param>
          <type>htmlParserCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>newtag</declname>
        </param>
        <briefdescription>
<para>The HTML DTD allows a tag to implicitly close other tags. </para>
        </briefdescription>
        <detaileddescription>
<para>The list is kept in htmlStartClose array. This function is called when a new tag has been detected and generates the appropriates closes if possible/needed. If newtag is NULL this mean we are at the end of the resource and we should check</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an HTML parser context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>newtag</parametername>
</parameternamelist>
<parameterdescription>
<para>The new tag name or NULL </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="1407" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="1407" bodyend="1422"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a1554945ef0f9d1775a35c699cb25fc37" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int htmlAutoCloseTag</definition>
        <argsstring>(xmlDoc *doc, const xmlChar *name, xmlNode *elem)</argsstring>
        <name>htmlAutoCloseTag</name>
        <param>
          <type><ref refid="tree_8h_1ae94acff8b6413934705e29389bcddc17" kindref="member">xmlDoc</ref> *</type>
          <declname>doc</declname>
        </param>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>name</declname>
        </param>
        <param>
          <type><ref refid="tree_8h_1ac8c054adbdabc014ab4584dfb1ce841e" kindref="member">xmlNode</ref> *</type>
          <declname>elem</declname>
        </param>
        <briefdescription>
<para>The HTML DTD allows a tag to implicitly close other tags. </para>
        </briefdescription>
        <detaileddescription>
<para>The list is kept in htmlStartClose array. This function checks if the element or one of it&apos;s children would autoclose the given tag.</para>
<para><xrefsect id="deprecated_1_deprecated000161"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Internal function, don&apos;t use.</para>
</xrefdescription></xrefsect></para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>doc</parametername>
</parameternamelist>
<parameterdescription>
<para>the HTML document </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>name</parametername>
</parameternamelist>
<parameterdescription>
<para>The tag name </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>elem</parametername>
</parameternamelist>
<parameterdescription>
<para>the HTML element </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>1 if autoclose, 0 otherwise </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="1438" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="1438" bodyend="1450"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a857c8be63f608a356ed3f73cce79f394" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int htmlIsAutoClosed</definition>
        <argsstring>(xmlDoc *doc, xmlNode *elem)</argsstring>
        <name>htmlIsAutoClosed</name>
        <param>
          <type><ref refid="tree_8h_1ae94acff8b6413934705e29389bcddc17" kindref="member">xmlDoc</ref> *</type>
          <declname>doc</declname>
        </param>
        <param>
          <type><ref refid="tree_8h_1ac8c054adbdabc014ab4584dfb1ce841e" kindref="member">xmlNode</ref> *</type>
          <declname>elem</declname>
        </param>
        <briefdescription>
<para>The HTML DTD allows a tag to implicitly close other tags. </para>
        </briefdescription>
        <detaileddescription>
<para>The list is kept in htmlStartClose array. This function checks if a tag is autoclosed by one of it&apos;s child</para>
<para><xrefsect id="deprecated_1_deprecated000162"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Internal function, don&apos;t use.</para>
</xrefdescription></xrefsect></para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>doc</parametername>
</parameternamelist>
<parameterdescription>
<para>the HTML document </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>elem</parametername>
</parameternamelist>
<parameterdescription>
<para>the HTML element </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>1 if autoclosed, 0 otherwise </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="1464" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="1464" bodyend="1474"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1ada5710d46f89b3e85766e19d5ea5fb3a" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>static void htmlCheckImplied</definition>
        <argsstring>(htmlParserCtxtPtr ctxt, const xmlChar *newtag)</argsstring>
        <name>htmlCheckImplied</name>
        <param>
          <type>htmlParserCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>newtag</declname>
        </param>
        <briefdescription>
<para>The HTML DTD allows a tag to exists only implicitly called when a new tag has been detected and generates the appropriates implicit tags if missing. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an HTML parser context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>newtag</parametername>
</parameternamelist>
<parameterdescription>
<para>The new tag name </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="1485" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="1485" bodyend="1539"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1af3353c6a6ea07e071f10342ba333accc" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>static void htmlStartCharData</definition>
        <argsstring>(htmlParserCtxtPtr ctxt)</argsstring>
        <name>htmlStartCharData</name>
        <param>
          <type>htmlParserCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
<para>Prepare for non-whitespace character data. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an HTML parser context </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="1548" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="1548" bodyend="1557"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a222be2b10d6e54ded8de81a18e279c1c" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int htmlIsScriptAttribute</definition>
        <argsstring>(const xmlChar *name)</argsstring>
        <name>htmlIsScriptAttribute</name>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>name</declname>
        </param>
        <briefdescription>
<para>Check if an attribute is of content type Script. </para>
        </briefdescription>
        <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000163"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Only supports HTML 4.</para>
</xrefdescription></xrefsect></para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>name</parametername>
</parameternamelist>
<parameterdescription>
<para>an attribute name </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>1 is the attribute is a script 0 otherwise </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="1568" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="1568" bodyend="1585"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1adb263ee6885a8193aba8bff26ffe345d" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>const htmlEntityDesc *</type>
        <definition>const htmlEntityDesc * htmlEntityLookup</definition>
        <argsstring>(const xmlChar *name)</argsstring>
        <name>htmlEntityLookup</name>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>name</declname>
        </param>
        <briefdescription>
<para>Lookup the given entity in EntitiesTable. </para>
        </briefdescription>
        <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000164"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Only supports HTML 4.</para>
</xrefdescription></xrefsect></para>
<para>TODO: the linear scan is really ugly, an hash table is really needed.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>name</parametername>
</parameternamelist>
<parameterdescription>
<para>the entity name </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the associated htmlEntityDesc if found, NULL otherwise. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="1894" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="1894" bodyend="1904"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a6b6fc11debbf2592181fc703d92fc086" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>static int htmlCompareEntityDesc</definition>
        <argsstring>(const void *vkey, const void *vdesc)</argsstring>
        <name>htmlCompareEntityDesc</name>
        <param>
          <type>const void *</type>
          <declname>vkey</declname>
        </param>
        <param>
          <type>const void *</type>
          <declname>vdesc</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="1907" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="1907" bodyend="1912"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1aeec73b769f462919487c355f13ec10ae" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>const htmlEntityDesc *</type>
        <definition>const htmlEntityDesc * htmlEntityValueLookup</definition>
        <argsstring>(unsigned int value)</argsstring>
        <name>htmlEntityValueLookup</name>
        <param>
          <type>unsigned int</type>
          <declname>value</declname>
        </param>
        <briefdescription>
<para>Lookup the given entity in EntitiesTable. </para>
        </briefdescription>
        <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000165"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Only supports HTML 4.</para>
</xrefdescription></xrefsect></para>
<para>TODO: the linear scan is really ugly, an hash table is really needed.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>value</parametername>
</parameternamelist>
<parameterdescription>
<para>the entity&apos;s unicode value </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the associated htmlEntityDesc if found, NULL otherwise. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="1925" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="1925" bodyend="1934"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1acc1ff76760665c4acd8fcfacf61f09d8" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int htmlUTF8ToHtml</definition>
        <argsstring>(unsigned char *out, int *outlen, const unsigned char *in, int *inlen)</argsstring>
        <name>htmlUTF8ToHtml</name>
        <param>
          <type>unsigned char *</type>
          <declname>out</declname>
        </param>
        <param>
          <type>int *</type>
          <declname>outlen</declname>
        </param>
        <param>
          <type>const unsigned char *</type>
          <declname>in</declname>
        </param>
        <param>
          <type>int *</type>
          <declname>inlen</declname>
        </param>
        <briefdescription>
<para>Take a block of UTF-8 chars in and try to convert it to an ASCII plus HTML entities block of chars out. </para>
        </briefdescription>
        <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000166"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Internal function, don&apos;t use.</para>
</xrefdescription></xrefsect></para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>out</parametername>
</parameternamelist>
<parameterdescription>
<para>a pointer to an array of bytes to store the result </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>outlen</parametername>
</parameternamelist>
<parameterdescription>
<para>the length of <computeroutput>out</computeroutput> </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>in</parametername>
</parameternamelist>
<parameterdescription>
<para>a pointer to an array of UTF-8 chars </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>inlen</parametername>
</parameternamelist>
<parameterdescription>
<para>the length of <computeroutput>in</computeroutput> </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>0 if success, -2 if the transcoding fails, or -1 otherwise The value of <computeroutput>inlen</computeroutput> after return is the number of octets consumed as the return value is positive, else unpredictable. The value of <computeroutput>outlen</computeroutput> after return is the number of octets consumed. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="1952" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="1952" bodyend="2034"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a221e4ca469169e81ce27b6fd6d63ae62" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int htmlEncodeEntities</definition>
        <argsstring>(unsigned char *out, int *outlen, const unsigned char *in, int *inlen, int quoteChar)</argsstring>
        <name>htmlEncodeEntities</name>
        <param>
          <type>unsigned char *</type>
          <declname>out</declname>
        </param>
        <param>
          <type>int *</type>
          <declname>outlen</declname>
        </param>
        <param>
          <type>const unsigned char *</type>
          <declname>in</declname>
        </param>
        <param>
          <type>int *</type>
          <declname>inlen</declname>
        </param>
        <param>
          <type>int</type>
          <declname>quoteChar</declname>
        </param>
        <briefdescription>
<para>Take a block of UTF-8 chars in and try to convert it to an ASCII plus HTML entities block of chars out. </para>
        </briefdescription>
        <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000167"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Only supports HTML 4.</para>
</xrefdescription></xrefsect></para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>out</parametername>
</parameternamelist>
<parameterdescription>
<para>a pointer to an array of bytes to store the result </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>outlen</parametername>
</parameternamelist>
<parameterdescription>
<para>the length of <computeroutput>out</computeroutput> </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>in</parametername>
</parameternamelist>
<parameterdescription>
<para>a pointer to an array of UTF-8 chars </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>inlen</parametername>
</parameternamelist>
<parameterdescription>
<para>the length of <computeroutput>in</computeroutput> </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>quoteChar</parametername>
</parameternamelist>
<parameterdescription>
<para>the quote character to escape (&apos; or ") or zero. </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>0 if success, -2 if the transcoding fails, or -1 otherwise The value of <computeroutput>inlen</computeroutput> after return is the number of octets consumed as the return value is positive, else unpredictable. The value of <computeroutput>outlen</computeroutput> after return is the number of octets consumed. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="2053" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="2053" bodyend="2133"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1aa04f10f195c618715af7d8b74d2e5c33" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>static int areBlanks</definition>
        <argsstring>(htmlParserCtxtPtr ctxt, const xmlChar *str, int len)</argsstring>
        <name>areBlanks</name>
        <param>
          <type>htmlParserCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>str</declname>
        </param>
        <param>
          <type>int</type>
          <declname>len</declname>
        </param>
        <briefdescription>
<para>Is this a sequence of blank chars that one can ignore ? </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an HTML parser context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>str</parametername>
</parameternamelist>
<parameterdescription>
<para>a <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> * </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>len</parametername>
</parameternamelist>
<parameterdescription>
<para>the size of <computeroutput>str</computeroutput> </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>1 if ignorable 0 if whitespace, -1 otherwise. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="2164" column="12" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="2164" bodyend="2218"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1adc0751cd32b20c3e82b2bc665a8b8957" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="tree_8h_1ae94acff8b6413934705e29389bcddc17" kindref="member">xmlDoc</ref> *</type>
        <definition>xmlDoc * htmlNewDocNoDtD</definition>
        <argsstring>(const xmlChar *URI, const xmlChar *publicId)</argsstring>
        <name>htmlNewDocNoDtD</name>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>URI</declname>
        </param>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>publicId</declname>
        </param>
        <briefdescription>
<para>Creates a new HTML document without a DTD node if <computeroutput>URI</computeroutput> and <computeroutput>publicId</computeroutput> are NULL. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>URI</parametername>
</parameternamelist>
<parameterdescription>
<para>system ID (URI) of the DTD (optional) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>publicId</parametername>
</parameternamelist>
<parameterdescription>
<para>public ID of the DTD (optional) </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>a new document, do not initialize the DTD if not provided </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="2229" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="2229" bodyend="2269"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1af9671c034198756019291b9ea866f1ef" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="tree_8h_1ae94acff8b6413934705e29389bcddc17" kindref="member">xmlDoc</ref> *</type>
        <definition>xmlDoc * htmlNewDoc</definition>
        <argsstring>(const xmlChar *URI, const xmlChar *publicId)</argsstring>
        <name>htmlNewDoc</name>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>URI</declname>
        </param>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>publicId</declname>
        </param>
        <briefdescription>
<para>Creates a new HTML document. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>URI</parametername>
</parameternamelist>
<parameterdescription>
<para>system ID (URI) of the DTD (optional) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>publicId</parametername>
</parameternamelist>
<parameterdescription>
<para>public ID of the DTD (optional) </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>a new document </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="2279" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="2279" bodyend="2286"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1ac3a66047c3e16122106ace00f5492cfe" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>xmlHashedString</type>
        <definition>static xmlHashedString htmlParseHTMLName</definition>
        <argsstring>(htmlParserCtxtPtr ctxt, int attr)</argsstring>
        <name>htmlParseHTMLName</name>
        <param>
          <type>htmlParserCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type>int</type>
          <declname>attr</declname>
        </param>
        <briefdescription>
<para>parse an HTML tag or attribute name, note that we convert it to lowercase since HTML names are not case-sensitive. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an HTML parser context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>attr</parametername>
</parameternamelist>
<parameterdescription>
<para>whether this is an attribute name </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the Tag Name parsed or NULL </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="2312" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="2312" bodyend="2397"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a7f3bc75e455e4850140849855e4dc17b" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
        <definition>static const xmlChar * htmlCodePointToUtf8</definition>
        <argsstring>(int c, xmlChar *out, int *osize)</argsstring>
        <name>htmlCodePointToUtf8</name>
        <param>
          <type>int</type>
          <declname>c</declname>
        </param>
        <param>
          <type><ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>out</declname>
        </param>
        <param>
          <type>int *</type>
          <declname>osize</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="2407" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="2407" bodyend="2433"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1adb861f17c0c9cb33654c438ed770692b" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
        <definition>static const xmlChar * htmlFindEntityPrefix</definition>
        <argsstring>(const xmlChar *string, size_t slen, int isAttr, int *nlen, int *rlen)</argsstring>
        <name>htmlFindEntityPrefix</name>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>string</declname>
        </param>
        <param>
          <type>size_t</type>
          <declname>slen</declname>
        </param>
        <param>
          <type>int</type>
          <declname>isAttr</declname>
        </param>
        <param>
          <type>int *</type>
          <declname>nlen</declname>
        </param>
        <param>
          <type>int *</type>
          <declname>rlen</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="2442" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="2442" bodyend="2535"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a06cc8defcced8a907a383642417c7da2" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
        <definition>static xmlChar * htmlParseData</definition>
        <argsstring>(htmlParserCtxtPtr ctxt, htmlAsciiMask mask, int comment, int refs, int maxLength)</argsstring>
        <name>htmlParseData</name>
        <param>
          <type>htmlParserCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type>htmlAsciiMask</type>
          <declname>mask</declname>
        </param>
        <param>
          <type>int</type>
          <declname>comment</declname>
        </param>
        <param>
          <type>int</type>
          <declname>refs</declname>
        </param>
        <param>
          <type>int</type>
          <declname>maxLength</declname>
        </param>
        <briefdescription>
<para>Parse data until terminator is reached. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an HTML parser context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>mask</parametername>
</parameternamelist>
<parameterdescription>
<para>mask of terminating characters </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>comment</parametername>
</parameternamelist>
<parameterdescription>
<para>true if parsing a comment </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>refs</parametername>
</parameternamelist>
<parameterdescription>
<para>true if references are allowed </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>maxLength</parametername>
</parameternamelist>
<parameterdescription>
<para>maximum output length </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the parsed string or NULL in case of errors. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="2549" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="2549" bodyend="2848"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a6611f148105d04ba9b11fee7bf3f2546" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>const htmlEntityDesc *</type>
        <definition>const htmlEntityDesc * htmlParseEntityRef</definition>
        <argsstring>(htmlParserCtxt *ctxt, const xmlChar **str)</argsstring>
        <name>htmlParseEntityRef</name>
        <param>
          <type><ref refid="HTMLparser_8h_1a7da3aab7a3a152aebfea651c29fe29fd" kindref="member">htmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> **</type>
          <declname>str</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000168"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Internal function, don&apos;t use.</para>
</xrefdescription></xrefsect></para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an HTML parser context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>str</parametername>
</parameternamelist>
<parameterdescription>
<para>location to store the entity name </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>NULL. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="2858" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="2858" bodyend="2861"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1aaf9732ad25032eedc734d3f0b7ace56c" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
        <definition>static xmlChar * htmlParseAttValue</definition>
        <argsstring>(htmlParserCtxtPtr ctxt)</argsstring>
        <name>htmlParseAttValue</name>
        <param>
          <type>htmlParserCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
<para>parse a value for an attribute Note: the parser won&apos;t do substitution of entities here, this will be handled later in <ref refid="tree_8h_1abc3b05312fae4bcbe225542367cd2533" kindref="member">xmlStringGetNodeList</ref>, unless it was asked for ctxt-&gt;replaceEntities != 0 </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an HTML parser context </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the AttValue parsed or NULL. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="2874" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="2874" bodyend="2894"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a3babd5561ec26e9229bf860e81f08706" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>static void htmlCharDataSAXCallback</definition>
        <argsstring>(htmlParserCtxtPtr ctxt, const xmlChar *buf, int size, int mode)</argsstring>
        <name>htmlCharDataSAXCallback</name>
        <param>
          <type>htmlParserCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>buf</declname>
        </param>
        <param>
          <type>int</type>
          <declname>size</declname>
        </param>
        <param>
          <type>int</type>
          <declname>mode</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="2897" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="2897" bodyend="2954"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1aeaaf561976e554ad9a6fc729cb801de0" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>static int htmlParseCharData</definition>
        <argsstring>(htmlParserCtxtPtr ctxt, int partial)</argsstring>
        <name>htmlParseCharData</name>
        <param>
          <type>htmlParserCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type>int</type>
          <declname>partial</declname>
        </param>
        <briefdescription>
<para>Parse character data and references. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an HTML parser context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>partial</parametername>
</parameternamelist>
<parameterdescription>
<para>true if the input buffer is incomplete </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>1 if all data was parsed, 0 otherwise. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="2965" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="2965" bodyend="3361"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1ae9cb2f769160c12449ca9bcbb4065aff" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>static void htmlParseComment</definition>
        <argsstring>(htmlParserCtxtPtr ctxt, int bogus)</argsstring>
        <name>htmlParseComment</name>
        <param>
          <type>htmlParserCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type>int</type>
          <declname>bogus</declname>
        </param>
        <briefdescription>
<para>Parse an HTML comment. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an HTML parser context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>bogus</parametername>
</parameternamelist>
<parameterdescription>
<para>true if this is a bogus comment </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="3370" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="3370" bodyend="3405"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1ab3d5850bc97c09606d3f725c2e7fe810" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int htmlParseCharRef</definition>
        <argsstring>(htmlParserCtxt *ctxt)</argsstring>
        <name>htmlParseCharRef</name>
        <param>
          <type><ref refid="HTMLparser_8h_1a7da3aab7a3a152aebfea651c29fe29fd" kindref="member">htmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000169"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Internal function, don&apos;t use.</para>
</xrefdescription></xrefsect></para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an HTML parser context </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>0 </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="3414" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="3414" bodyend="3416"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a83efc1b4d4ef93c20a344aaf3498454f" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
        <definition>static xmlChar * htmlParseDoctypeLiteral</definition>
        <argsstring>(htmlParserCtxtPtr ctxt)</argsstring>
        <name>htmlParseDoctypeLiteral</name>
        <param>
          <type>htmlParserCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
<para>Parse a DOCTYPE SYTSTEM or PUBLIC literal. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an HTML parser context </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the literal or NULL in case of error. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="3427" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="3427" bodyend="3448"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a031ac393cd117df122f90dc413e31723" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>static void htmlSkipBogusDoctype</definition>
        <argsstring>(htmlParserCtxtPtr ctxt)</argsstring>
        <name>htmlSkipBogusDoctype</name>
        <param>
          <type>htmlParserCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="3451" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="3451" bodyend="3503"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a04dbb2bc8b3e4dc0e595e0e8b54dc969" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>static void htmlParseDocTypeDecl</definition>
        <argsstring>(htmlParserCtxtPtr ctxt)</argsstring>
        <name>htmlParseDocTypeDecl</name>
        <param>
          <type>htmlParserCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
<para>Parse a DOCTYPE declaration. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an HTML parser context </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="3512" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="3512" bodyend="3576"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a74fdca447a91bb6c9e0a1abe008496c7" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>xmlHashedString</type>
        <definition>static xmlHashedString htmlParseAttribute</definition>
        <argsstring>(htmlParserCtxtPtr ctxt, xmlChar **value)</argsstring>
        <name>htmlParseAttribute</name>
        <param>
          <type>htmlParserCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type><ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> **</type>
          <declname>value</declname>
        </param>
        <briefdescription>
<para>parse an attribute </para>
        </briefdescription>
        <detaileddescription>
<para>[41] Attribute ::= Name Eq AttValue</para>
<para>[25] Eq ::= S? &apos;=&apos; S?</para>
<para>With namespace:</para>
<para>[NS 11] Attribute ::= QName Eq AttValue</para>
<para>Also the case QName == xmlns:??? is handled independently as a namespace definition.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an HTML parser context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>value</parametername>
</parameternamelist>
<parameterdescription>
<para>a <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> ** used to store the value of the attribute </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the attribute name, and the value in *value. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="3598" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="3598" bodyend="3619"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a2933935e0fbb5fea77ab61b3bf800e47" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>static int htmlCharEncCheckAsciiCompatible</definition>
        <argsstring>(htmlParserCtxt *ctxt, const xmlChar *encoding)</argsstring>
        <name>htmlCharEncCheckAsciiCompatible</name>
        <param>
          <type><ref refid="HTMLparser_8h_1a7da3aab7a3a152aebfea651c29fe29fd" kindref="member">htmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>encoding</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="3622" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="3622" bodyend="3659"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a21eab5054e685b94146f5be775fbe654" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>static void htmlCheckMeta</definition>
        <argsstring>(htmlParserCtxtPtr ctxt, const xmlChar **atts)</argsstring>
        <name>htmlCheckMeta</name>
        <param>
          <type>htmlParserCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> **</type>
          <declname>atts</declname>
        </param>
        <briefdescription>
<para>Handle charset encoding in meta tag. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an HTML parser context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>atts</parametername>
</parameternamelist>
<parameterdescription>
<para>the attributes values </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="3668" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="3668" bodyend="3716"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a09a4a25641fb579f7271b48f5fc75f3c" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>static int htmlAttrHashInsert</definition>
        <argsstring>(xmlParserCtxtPtr ctxt, unsigned size, const xmlChar *name, unsigned hashValue, int aindex)</argsstring>
        <name>htmlAttrHashInsert</name>
        <param>
          <type>xmlParserCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type>unsigned</type>
          <declname>size</declname>
        </param>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>name</declname>
        </param>
        <param>
          <type>unsigned</type>
          <declname>hashValue</declname>
        </param>
        <param>
          <type>int</type>
          <declname>aindex</declname>
        </param>
        <briefdescription>
<para>Inserts a new attribute into the hash table. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>parser context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>size</parametername>
</parameternamelist>
<parameterdescription>
<para>size of the hash table </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>name</parametername>
</parameternamelist>
<parameterdescription>
<para>attribute name </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>hashValue</parametername>
</parameternamelist>
<parameterdescription>
<para>hash value of name </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>aindex</parametername>
</parameternamelist>
<parameterdescription>
<para>attribute index (this is a multiple of 5) </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>INT_MAX if no existing attribute was found, the attribute index if an attribute was found, -1 if a memory allocation failed. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="3730" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="3730" bodyend="3756"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1ae7c66a178c90496b256d04ff55841150" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>static void htmlParseStartTag</definition>
        <argsstring>(htmlParserCtxtPtr ctxt)</argsstring>
        <name>htmlParseStartTag</name>
        <param>
          <type>htmlParserCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
<para>parse a start of tag either for rule element or EmptyElement. </para>
        </briefdescription>
        <detaileddescription>
<para>In both case we don&apos;t parse the tag closing chars.</para>
<para>[40] STag ::= &apos;&lt;&apos; Name (S Attribute)* S? &apos;&gt;&apos;</para>
<para>[44] EmptyElemTag ::= &apos;&lt;&apos; Name (S Attribute)* S? &apos;/&gt;&apos;</para>
<para>With namespace:</para>
<para>[NS 8] STag ::= &apos;&lt;&apos; QName (S Attribute)* S? &apos;&gt;&apos;</para>
<para>[NS 10] EmptyElement ::= &apos;&lt;&apos; QName (S Attribute)* S? &apos;/&gt;&apos;</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an HTML parser context </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>0 in case of success, -1 in case of error and 1 if discarded </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="3777" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="3777" bodyend="4025"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a75b2429a46f80cb708617acb8cf95619" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>static void htmlParseEndTag</definition>
        <argsstring>(htmlParserCtxtPtr ctxt)</argsstring>
        <name>htmlParseEndTag</name>
        <param>
          <type>htmlParserCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
<para>parse an end of tag </para>
        </briefdescription>
        <detaileddescription>
<para>[42] ETag ::= &apos;&lt;/&apos; Name S? &apos;&gt;&apos;</para>
<para>With namespace</para>
<para>[NS 9] ETag ::= &apos;&lt;/&apos; QName S? &apos;&gt;&apos;</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an HTML parser context </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>1 if the current level should be closed. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="4041" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="4041" bodyend="4166"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a84b1943f8db4f1ec52eca4096e28b839" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>static void htmlParseContent</definition>
        <argsstring>(htmlParserCtxtPtr ctxt)</argsstring>
        <name>htmlParseContent</name>
        <param>
          <type>htmlParserCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
<para>Parse a content: comment, sub-element, reference or text. </para>
        </briefdescription>
        <detaileddescription>
<para>New version for non recursive htmlParseElementInternal</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an HTML parser context </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="4176" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="4176" bodyend="4226"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a68bcd47ad9f207b387cce313743a673e" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>void htmlParseElement</definition>
        <argsstring>(htmlParserCtxt *ctxt)</argsstring>
        <name>htmlParseElement</name>
        <param>
          <type><ref refid="HTMLparser_8h_1a7da3aab7a3a152aebfea651c29fe29fd" kindref="member">htmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
<para>This is kept for compatibility with previous code versions. </para>
        </briefdescription>
        <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000170"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Internal function, don&apos;t use.</para>
</xrefdescription></xrefsect></para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an HTML parser context </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="4307" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="4307" bodyend="4331"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1aaf64ebc7671733af78a3db0b8f97cd8a" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="tree_8h_1ac8c054adbdabc014ab4584dfb1ce841e" kindref="member">xmlNode</ref> *</type>
        <definition>xmlNode * htmlCtxtParseContentInternal</definition>
        <argsstring>(htmlParserCtxt *ctxt, xmlParserInput *input)</argsstring>
        <name>htmlCtxtParseContentInternal</name>
        <param>
          <type><ref refid="HTMLparser_8h_1a7da3aab7a3a152aebfea651c29fe29fd" kindref="member">htmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type><ref refid="tree_8h_1aa05e6cbf6c68ec5a2e33ddabddf58b7d" kindref="member">xmlParserInput</ref> *</type>
          <declname>input</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>parser context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>input</parametername>
</parameternamelist>
<parameterdescription>
<para>parser input </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>a node list. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="4339" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="4339" bodyend="4386"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a6479c13177c64114c3207cd073c6778d" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int htmlParseDocument</definition>
        <argsstring>(htmlParserCtxt *ctxt)</argsstring>
        <name>htmlParseDocument</name>
        <param>
          <type><ref refid="HTMLparser_8h_1a7da3aab7a3a152aebfea651c29fe29fd" kindref="member">htmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
<para>Parse an HTML document and invoke the SAX handlers. </para>
        </briefdescription>
        <detaileddescription>
<para>This is useful if you&apos;re only interested in custom SAX callbacks. If you want a document tree, use <ref refid="HTMLparser_8h_1ae2699376dcd5a1c68fdeebf7648a90c1" kindref="member">htmlCtxtParseDocument</ref>.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an HTML parser context </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>0, -1 in case of error. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="4397" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="4397" bodyend="4479"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1ace9c1879cb8b73b0cfcbed380a35698c" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>static int htmlInitParserCtxt</definition>
        <argsstring>(htmlParserCtxtPtr ctxt, const htmlSAXHandler *sax, void *userData)</argsstring>
        <name>htmlInitParserCtxt</name>
        <param>
          <type>htmlParserCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type>const <ref refid="HTMLparser_8h_1a4b14b551885f4613ba46fe1394141555" kindref="member">htmlSAXHandler</ref> *</type>
          <declname>sax</declname>
        </param>
        <param>
          <type>void *</type>
          <declname>userData</declname>
        </param>
        <briefdescription>
<para>Initialize a parser context. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an HTML parser context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>sax</parametername>
</parameternamelist>
<parameterdescription>
<para>SAX handler </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>userData</parametername>
</parameternamelist>
<parameterdescription>
<para>user data </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>0 in case of success and -1 in case of error </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="4497" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="4497" bodyend="4574"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a686dadf06647545aa1050d76703be449" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>void htmlFreeParserCtxt</definition>
        <argsstring>(htmlParserCtxt *ctxt)</argsstring>
        <name>htmlFreeParserCtxt</name>
        <param>
          <type><ref refid="HTMLparser_8h_1a7da3aab7a3a152aebfea651c29fe29fd" kindref="member">htmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
<para>Free all the memory used by a parser context. </para>
        </briefdescription>
        <detaileddescription>
<para>However the parsed document in <computeroutput>ctxt-&gt;myDoc</computeroutput> is not freed.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an HTML parser context </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="4583" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="4583" bodyend="4586"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a951f666dbf44e6184e58024631a2fefd" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="HTMLparser_8h_1a7da3aab7a3a152aebfea651c29fe29fd" kindref="member">htmlParserCtxt</ref> *</type>
        <definition>htmlParserCtxt * htmlNewParserCtxt</definition>
        <argsstring>(void)</argsstring>
        <name>htmlNewParserCtxt</name>
        <param>
          <type>void</type>
        </param>
        <briefdescription>
<para>Allocate and initialize a new HTML parser context. </para>
        </briefdescription>
        <detaileddescription>
<para>This can be used to parse HTML documents into DOM trees with functions like <ref refid="parser_8h_1a0cd872bfb02c708cc137fb5877cd25e1" kindref="member">xmlCtxtReadFile</ref> or <ref refid="parser_8h_1aa02be1c2cbed349fd725aa920f1a65a1" kindref="member">xmlCtxtReadMemory</ref>.</para>
<para>See <ref refid="HTMLparser_8h_1a704c275082cb61c6b35cabab333e5ea9" kindref="member">htmlCtxtUseOptions</ref> for parser options.</para>
<para>See <ref refid="parser_8h_1ae5ed5da325b136d630c2f774623ff06a" kindref="member">xmlCtxtSetErrorHandler</ref> for advanced error handling.</para>
<para>See <ref refid="HTMLparser_8h_1ac1e41ad44c7fc5a68f312b0165088fc5" kindref="member">htmlNewSAXParserCtxt</ref> for custom SAX parsers.</para>
<para><simplesect kind="return"><para>the <ref refid="HTMLparser_8h_1a7da3aab7a3a152aebfea651c29fe29fd" kindref="member">htmlParserCtxt</ref> or NULL in case of allocation error </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="4603" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="4603" bodyend="4606"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1ac1e41ad44c7fc5a68f312b0165088fc5" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="HTMLparser_8h_1a7da3aab7a3a152aebfea651c29fe29fd" kindref="member">htmlParserCtxt</ref> *</type>
        <definition>htmlParserCtxt * htmlNewSAXParserCtxt</definition>
        <argsstring>(const htmlSAXHandler *sax, void *userData)</argsstring>
        <name>htmlNewSAXParserCtxt</name>
        <param>
          <type>const <ref refid="HTMLparser_8h_1a4b14b551885f4613ba46fe1394141555" kindref="member">htmlSAXHandler</ref> *</type>
          <declname>sax</declname>
        </param>
        <param>
          <type>void *</type>
          <declname>userData</declname>
        </param>
        <briefdescription>
<para>Allocate and initialize a new HTML SAX parser context. </para>
        </briefdescription>
        <detaileddescription>
<para>If <computeroutput>userData</computeroutput> is NULL, the parser context will be passed as user data.</para>
<para><simplesect kind="since"><para>2.11.0</para>
</simplesect>
If you want support older versions, it&apos;s best to invoke <ref refid="HTMLparser_8h_1a951f666dbf44e6184e58024631a2fefd" kindref="member">htmlNewParserCtxt</ref> and set <computeroutput>ctxt-&gt;sax</computeroutput> with struct assignment.</para>
<para>Also see <ref refid="HTMLparser_8h_1a951f666dbf44e6184e58024631a2fefd" kindref="member">htmlNewParserCtxt</ref>.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>sax</parametername>
</parameternamelist>
<parameterdescription>
<para>SAX handler </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>userData</parametername>
</parameternamelist>
<parameterdescription>
<para>user data </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the <ref refid="HTMLparser_8h_1a7da3aab7a3a152aebfea651c29fe29fd" kindref="member">htmlParserCtxt</ref> or NULL in case of allocation error </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="4624" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="4624" bodyend="4639"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1aa265bcf04b6d2b0cbd51af53e48938a3" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>htmlParserCtxtPtr</type>
        <definition>static htmlParserCtxtPtr htmlCreateMemoryParserCtxtInternal</definition>
        <argsstring>(const char *url, const char *buffer, size_t size, const char *encoding)</argsstring>
        <name>htmlCreateMemoryParserCtxtInternal</name>
        <param>
          <type>const char *</type>
          <declname>url</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>buffer</declname>
        </param>
        <param>
          <type>size_t</type>
          <declname>size</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>encoding</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="4642" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="4642" bodyend="4668"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a19dec2d74a2f2974ba4403192c6845af" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="HTMLparser_8h_1a7da3aab7a3a152aebfea651c29fe29fd" kindref="member">htmlParserCtxt</ref> *</type>
        <definition>htmlParserCtxt * htmlCreateMemoryParserCtxt</definition>
        <argsstring>(const char *buffer, int size)</argsstring>
        <name>htmlCreateMemoryParserCtxt</name>
        <param>
          <type>const char *</type>
          <declname>buffer</declname>
        </param>
        <param>
          <type>int</type>
          <declname>size</declname>
        </param>
        <briefdescription>
<para>Create a parser context for an HTML in-memory document. </para>
        </briefdescription>
        <detaileddescription>
<para>The input buffer must not contain any terminating null bytes.</para>
<para><xrefsect id="deprecated_1_deprecated000171"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Use <ref refid="HTMLparser_8h_1a951f666dbf44e6184e58024631a2fefd" kindref="member">htmlNewParserCtxt</ref> and <ref refid="HTMLparser_8h_1ace0473af24ab42e75e01b61c2fe06798" kindref="member">htmlCtxtReadMemory</ref>.</para>
</xrefdescription></xrefsect></para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>buffer</parametername>
</parameternamelist>
<parameterdescription>
<para>a pointer to a char array </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>size</parametername>
</parameternamelist>
<parameterdescription>
<para>the size of the array </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the new parser context or NULL </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="4681" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="4681" bodyend="4686"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a6f67aaa428096ced60b6d618f0ffc915" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>htmlParserCtxtPtr</type>
        <definition>static htmlParserCtxtPtr htmlCreateDocParserCtxt</definition>
        <argsstring>(const xmlChar *str, const char *url, const char *encoding)</argsstring>
        <name>htmlCreateDocParserCtxt</name>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>str</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>url</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>encoding</declname>
        </param>
        <briefdescription>
<para>Create a parser context for a null-terminated string. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>str</parametername>
</parameternamelist>
<parameterdescription>
<para>a pointer to an array of <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>url</parametername>
</parameternamelist>
<parameterdescription>
<para>URL of the document (optional) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>encoding</parametername>
</parameternamelist>
<parameterdescription>
<para>encoding (optional) </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the new parser context or NULL if a memory allocation failed. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="4697" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="4697" bodyend="4723"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a2c601fb6acc3503c8cb2d147fd8a3ce4" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>static int htmlParseLookupGt</definition>
        <argsstring>(xmlParserCtxtPtr ctxt)</argsstring>
        <name>htmlParseLookupGt</name>
        <param>
          <type>xmlParserCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
<para>Check whether there&apos;s enough data in the input buffer to finish parsing a tag. </para>
        </briefdescription>
        <detaileddescription>
<para>This has to take quotes into account.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an HTML parser context </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="4750" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="4750" bodyend="4838"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1addf734afd131dcc2053294318e8a1cf3" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>static int htmlParseLookupString</definition>
        <argsstring>(xmlParserCtxtPtr ctxt, size_t startDelta, const char *str, size_t strLen, size_t extraLen)</argsstring>
        <name>htmlParseLookupString</name>
        <param>
          <type>xmlParserCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type>size_t</type>
          <declname>startDelta</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>str</declname>
        </param>
        <param>
          <type>size_t</type>
          <declname>strLen</declname>
        </param>
        <param>
          <type>size_t</type>
          <declname>extraLen</declname>
        </param>
        <briefdescription>
<para>Check whether the input buffer contains a string. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an XML parser context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>startDelta</parametername>
</parameternamelist>
<parameterdescription>
<para>delta to apply at the start </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>str</parametername>
</parameternamelist>
<parameterdescription>
<para>string </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>strLen</parametername>
</parameternamelist>
<parameterdescription>
<para>length of string </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>extraLen</parametername>
</parameternamelist>
<parameterdescription>
<para>extra length </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="4850" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="4850" bodyend="4892"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a37b8f86e4cc385a173958380ee2287c6" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>static int htmlParseLookupCommentEnd</definition>
        <argsstring>(htmlParserCtxtPtr ctxt)</argsstring>
        <name>htmlParseLookupCommentEnd</name>
        <param>
          <type>htmlParserCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
<para>Try to find a comment end tag in the input stream The search includes &quot;--&gt;&quot; as well as WHATWG-recommended incorrectly-closed tags. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an HTML parser context </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the index to the current parsing point if the full sequence is available, -1 otherwise. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="4904" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="4904" bodyend="4932"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1ad213552702e0d15b858d4f8d6249c5cf" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>static void htmlParseTryOrFinish</definition>
        <argsstring>(htmlParserCtxtPtr ctxt, int terminate)</argsstring>
        <name>htmlParseTryOrFinish</name>
        <param>
          <type>htmlParserCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type>int</type>
          <declname>terminate</declname>
        </param>
        <briefdescription>
<para>Try to progress on parsing. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an HTML parser context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>terminate</parametername>
</parameternamelist>
<parameterdescription>
<para>last chunk indicator </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>zero if no parsing was possible </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="4943" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="4943" bodyend="5132"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a6aa7f4db79c00c1851a7e0eccd40ce3d" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int htmlParseChunk</definition>
        <argsstring>(htmlParserCtxt *ctxt, const char *chunk, int size, int terminate)</argsstring>
        <name>htmlParseChunk</name>
        <param>
          <type><ref refid="HTMLparser_8h_1a7da3aab7a3a152aebfea651c29fe29fd" kindref="member">htmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>chunk</declname>
        </param>
        <param>
          <type>int</type>
          <declname>size</declname>
        </param>
        <param>
          <type>int</type>
          <declname>terminate</declname>
        </param>
        <briefdescription>
<para>Parse a chunk of memory in push parser mode. </para>
        </briefdescription>
        <detaileddescription>
<para>Assumes that the parser context was initialized with <ref refid="HTMLparser_8h_1a0fd0f76d315acc77c96e5319fa32a0c9" kindref="member">htmlCreatePushParserCtxt</ref>.</para>
<para>The last chunk, which will often be empty, must be marked with the <computeroutput>terminate</computeroutput> flag. With the default SAX callbacks, the resulting document will be available in <computeroutput>ctxt-&gt;myDoc</computeroutput>. This pointer will not be freed by the library.</para>
<para>If the document isn&apos;t well-formed, <computeroutput>ctxt-&gt;myDoc</computeroutput> is set to NULL.</para>
<para>Since 2.14.0, <ref refid="parser_8h_1a298011fdad3362493ce7afcb0abdd572" kindref="member">xmlCtxtGetDocument</ref> can be used to retrieve the result document.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an HTML parser context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>chunk</parametername>
</parameternamelist>
<parameterdescription>
<para>chunk of memory </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>size</parametername>
</parameternamelist>
<parameterdescription>
<para>size of chunk in bytes </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>terminate</parametername>
</parameternamelist>
<parameterdescription>
<para>last chunk indicator </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>an <ref refid="xmlerror_8h_1adc147424b5aac85cccf5018513b9ec14" kindref="member">xmlParserErrors</ref> code (0 on success). </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="5157" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="5157" bodyend="5197"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a0fd0f76d315acc77c96e5319fa32a0c9" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="HTMLparser_8h_1a7da3aab7a3a152aebfea651c29fe29fd" kindref="member">htmlParserCtxt</ref> *</type>
        <definition>htmlParserCtxt * htmlCreatePushParserCtxt</definition>
        <argsstring>(htmlSAXHandler *sax, void *user_data, const char *chunk, int size, const char *filename, xmlCharEncoding enc)</argsstring>
        <name>htmlCreatePushParserCtxt</name>
        <param>
          <type><ref refid="HTMLparser_8h_1a4b14b551885f4613ba46fe1394141555" kindref="member">htmlSAXHandler</ref> *</type>
          <declname>sax</declname>
        </param>
        <param>
          <type>void *</type>
          <declname>user_data</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>chunk</declname>
        </param>
        <param>
          <type>int</type>
          <declname>size</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>filename</declname>
        </param>
        <param>
          <type><ref refid="encoding_8h_1a662791d23b3d1e0a37244d35c57a02e5" kindref="member">xmlCharEncoding</ref></type>
          <declname>enc</declname>
        </param>
        <briefdescription>
<para>Create a parser context for using the HTML parser in push mode. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>sax</parametername>
</parameternamelist>
<parameterdescription>
<para>a SAX handler (optional) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>user_data</parametername>
</parameternamelist>
<parameterdescription>
<para>The user data returned on SAX callbacks (optional) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>chunk</parametername>
</parameternamelist>
<parameterdescription>
<para>a pointer to an array of chars (optional) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>size</parametername>
</parameternamelist>
<parameterdescription>
<para>number of chars in the array </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>filename</parametername>
</parameternamelist>
<parameterdescription>
<para>only used for error reporting (optional) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>enc</parametername>
</parameternamelist>
<parameterdescription>
<para>encoding (deprecated, pass XML_CHAR_ENCODING_NONE) </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the new parser context or NULL if a memory allocation failed. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="5218" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="5218" bodyend="5246"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a9118eff186b9131519f772028488096d" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="tree_8h_1ae94acff8b6413934705e29389bcddc17" kindref="member">xmlDoc</ref> *</type>
        <definition>xmlDoc * htmlSAXParseDoc</definition>
        <argsstring>(const xmlChar *cur, const char *encoding, htmlSAXHandler *sax, void *userData)</argsstring>
        <name>htmlSAXParseDoc</name>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>cur</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>encoding</declname>
        </param>
        <param>
          <type><ref refid="HTMLparser_8h_1a4b14b551885f4613ba46fe1394141555" kindref="member">htmlSAXHandler</ref> *</type>
          <declname>sax</declname>
        </param>
        <param>
          <type>void *</type>
          <declname>userData</declname>
        </param>
        <briefdescription>
<para>Parse an HTML in-memory document. </para>
        </briefdescription>
        <detaileddescription>
<para>If sax is not NULL, use the SAX callbacks to handle parse events. If sax is NULL, fallback to the default DOM behavior and return a tree.</para>
<para><xrefsect id="deprecated_1_deprecated000172"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Use <ref refid="HTMLparser_8h_1ac1e41ad44c7fc5a68f312b0165088fc5" kindref="member">htmlNewSAXParserCtxt</ref> and <ref refid="HTMLparser_8h_1af53063a6aa56789fce452027e49e0a2a" kindref="member">htmlCtxtReadDoc</ref>.</para>
</xrefdescription></xrefsect></para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>cur</parametername>
</parameternamelist>
<parameterdescription>
<para>a pointer to an array of <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>encoding</parametername>
</parameternamelist>
<parameterdescription>
<para>a free form C string describing the HTML document encoding, or NULL </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>sax</parametername>
</parameternamelist>
<parameterdescription>
<para>the SAX handler block </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>userData</parametername>
</parameternamelist>
<parameterdescription>
<para>if using SAX, this pointer will be provided on callbacks. </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the resulting document tree unless SAX is NULL or the document is not well formed. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="5265" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="5265" bodyend="5287"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1ac57c4ab8026b3f40da459b6bb094ae75" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="tree_8h_1ae94acff8b6413934705e29389bcddc17" kindref="member">xmlDoc</ref> *</type>
        <definition>xmlDoc * htmlParseDoc</definition>
        <argsstring>(const xmlChar *cur, const char *encoding)</argsstring>
        <name>htmlParseDoc</name>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>cur</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>encoding</declname>
        </param>
        <briefdescription>
<para>Parse an HTML in-memory document and build a tree. </para>
        </briefdescription>
        <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000173"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Use <ref refid="HTMLparser_8h_1a842a285bb09c1386db8bf36cc50e5868" kindref="member">htmlReadDoc</ref>.</para>
</xrefdescription></xrefsect></para>
<para>This function uses deprecated global parser options.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>cur</parametername>
</parameternamelist>
<parameterdescription>
<para>a pointer to an array of <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>encoding</parametername>
</parameternamelist>
<parameterdescription>
<para>the encoding (optional) </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the resulting document tree </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="5302" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="5302" bodyend="5304"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a4309ede5d90c5c83c237d3ead207d66d" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="HTMLparser_8h_1a7da3aab7a3a152aebfea651c29fe29fd" kindref="member">htmlParserCtxt</ref> *</type>
        <definition>htmlParserCtxt * htmlCreateFileParserCtxt</definition>
        <argsstring>(const char *filename, const char *encoding)</argsstring>
        <name>htmlCreateFileParserCtxt</name>
        <param>
          <type>const char *</type>
          <declname>filename</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>encoding</declname>
        </param>
        <briefdescription>
<para>Create a parser context to read from a file. </para>
        </briefdescription>
        <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000174"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Use <ref refid="HTMLparser_8h_1a951f666dbf44e6184e58024631a2fefd" kindref="member">htmlNewParserCtxt</ref> and <ref refid="HTMLparser_8h_1a430f103da6c143db4aceb47e6930f452" kindref="member">htmlCtxtReadFile</ref>.</para>
</xrefdescription></xrefsect></para>
<para>A non-NULL encoding overrides encoding declarations in the document.</para>
<para>Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>filename</parametername>
</parameternamelist>
<parameterdescription>
<para>the filename </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>encoding</parametername>
</parameternamelist>
<parameterdescription>
<para>optional encoding </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the new parser context or NULL if a memory allocation failed. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="5322" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="5322" bodyend="5347"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a051e70ce4a56dea3136bcd53e3b3a9c2" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="tree_8h_1ae94acff8b6413934705e29389bcddc17" kindref="member">xmlDoc</ref> *</type>
        <definition>xmlDoc * htmlSAXParseFile</definition>
        <argsstring>(const char *filename, const char *encoding, htmlSAXHandler *sax, void *userData)</argsstring>
        <name>htmlSAXParseFile</name>
        <param>
          <type>const char *</type>
          <declname>filename</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>encoding</declname>
        </param>
        <param>
          <type><ref refid="HTMLparser_8h_1a4b14b551885f4613ba46fe1394141555" kindref="member">htmlSAXHandler</ref> *</type>
          <declname>sax</declname>
        </param>
        <param>
          <type>void *</type>
          <declname>userData</declname>
        </param>
        <briefdescription>
<para>parse an HTML file and build a tree. </para>
        </briefdescription>
        <detaileddescription>
<para>Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time. It use the given SAX function block to handle the parsing callback. If sax is NULL, fallback to the default DOM tree building routines.</para>
<para><xrefsect id="deprecated_1_deprecated000175"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Use <ref refid="HTMLparser_8h_1ac1e41ad44c7fc5a68f312b0165088fc5" kindref="member">htmlNewSAXParserCtxt</ref> and <ref refid="HTMLparser_8h_1a430f103da6c143db4aceb47e6930f452" kindref="member">htmlCtxtReadFile</ref>.</para>
</xrefdescription></xrefsect></para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>filename</parametername>
</parameternamelist>
<parameterdescription>
<para>the filename </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>encoding</parametername>
</parameternamelist>
<parameterdescription>
<para>encoding (optional) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>sax</parametername>
</parameternamelist>
<parameterdescription>
<para>the SAX handler block </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>userData</parametername>
</parameternamelist>
<parameterdescription>
<para>if using SAX, this pointer will be provided on callbacks. </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the resulting document tree unless SAX is NULL or the document is not well formed. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="5366" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="5366" bodyend="5390"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a206926cca55d8902c770fb6ee6905f96" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="tree_8h_1ae94acff8b6413934705e29389bcddc17" kindref="member">xmlDoc</ref> *</type>
        <definition>xmlDoc * htmlParseFile</definition>
        <argsstring>(const char *filename, const char *encoding)</argsstring>
        <name>htmlParseFile</name>
        <param>
          <type>const char *</type>
          <declname>filename</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>encoding</declname>
        </param>
        <briefdescription>
<para>Parse an HTML file and build a tree. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>filename</parametername>
</parameternamelist>
<parameterdescription>
<para>the filename </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>encoding</parametername>
</parameternamelist>
<parameterdescription>
<para>encoding (optional) </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the resulting document tree </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="5401" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="5401" bodyend="5403"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a5f798e61a4eae7914180db4009aaf569" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int htmlHandleOmittedElem</definition>
        <argsstring>(int val)</argsstring>
        <name>htmlHandleOmittedElem</name>
        <param>
          <type>int</type>
          <declname>val</declname>
        </param>
        <briefdescription>
<para>Set and return the previous value for handling HTML omitted tags. </para>
        </briefdescription>
        <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000176"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Use HTML_PARSE_NOIMPLIED</para>
</xrefdescription></xrefsect></para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>val</parametername>
</parameternamelist>
<parameterdescription>
<para>int 0 or 1 </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the last value for 0 for no handling, 1 for auto insertion. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="5415" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="5415" bodyend="5420"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1ab11e58c997baf056cb88316fcc5e8874" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int htmlElementAllowedHere</definition>
        <argsstring>(const htmlElemDesc *parent, const xmlChar *elt)</argsstring>
        <name>htmlElementAllowedHere</name>
        <param>
          <type>const htmlElemDesc *</type>
          <declname>parent</declname>
        </param>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>elt</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000177"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Don&apos;t use.</para>
</xrefdescription></xrefsect></para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>parent</parametername>
</parameternamelist>
<parameterdescription>
<para>HTML parent element </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>elt</parametername>
</parameternamelist>
<parameterdescription>
<para>HTML element </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>1 </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="5430" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="5430" bodyend="5433"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a34c36bba99b80ad5d07c8a51e2cc1bb2" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="HTMLparser_8h_1a11cb64e621ed8381d7dfc7f87d0cec81" kindref="member">htmlStatus</ref></type>
        <definition>htmlStatus htmlElementStatusHere</definition>
        <argsstring>(const htmlElemDesc *parent, const htmlElemDesc *elt)</argsstring>
        <name>htmlElementStatusHere</name>
        <param>
          <type>const htmlElemDesc *</type>
          <declname>parent</declname>
        </param>
        <param>
          <type>const htmlElemDesc *</type>
          <declname>elt</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000178"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Don&apos;t use.</para>
</xrefdescription></xrefsect></para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>parent</parametername>
</parameternamelist>
<parameterdescription>
<para>HTML parent element </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>elt</parametername>
</parameternamelist>
<parameterdescription>
<para>HTML element </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>HTML_VALID </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="5443" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="5443" bodyend="5446"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a430b8245411ff464adef6353e8012835" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="HTMLparser_8h_1a11cb64e621ed8381d7dfc7f87d0cec81" kindref="member">htmlStatus</ref></type>
        <definition>htmlStatus htmlAttrAllowed</definition>
        <argsstring>(const htmlElemDesc *elt, const xmlChar *attr, int legacy)</argsstring>
        <name>htmlAttrAllowed</name>
        <param>
          <type>const htmlElemDesc *</type>
          <declname>elt</declname>
        </param>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>attr</declname>
        </param>
        <param>
          <type>int</type>
          <declname>legacy</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000179"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Don&apos;t use.</para>
</xrefdescription></xrefsect></para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>elt</parametername>
</parameternamelist>
<parameterdescription>
<para>HTML element </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>attr</parametername>
</parameternamelist>
<parameterdescription>
<para>HTML attribute </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>legacy</parametername>
</parameternamelist>
<parameterdescription>
<para>whether to allow deprecated attributes </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>HTML_VALID </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="5457" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="5457" bodyend="5461"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a56bf4b0458a8fadf358c601736d50b81" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="HTMLparser_8h_1a11cb64e621ed8381d7dfc7f87d0cec81" kindref="member">htmlStatus</ref></type>
        <definition>htmlStatus htmlNodeStatus</definition>
        <argsstring>(xmlNode *node, int legacy)</argsstring>
        <name>htmlNodeStatus</name>
        <param>
          <type><ref refid="tree_8h_1ac8c054adbdabc014ab4584dfb1ce841e" kindref="member">xmlNode</ref> *</type>
          <declname>node</declname>
        </param>
        <param>
          <type>int</type>
          <declname>legacy</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000180"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Don&apos;t use.</para>
</xrefdescription></xrefsect></para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>node</parametername>
</parameternamelist>
<parameterdescription>
<para>an <ref refid="tree_8h_1ac8c054adbdabc014ab4584dfb1ce841e" kindref="member">xmlNode</ref> in a tree </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>legacy</parametername>
</parameternamelist>
<parameterdescription>
<para>whether to allow deprecated elements (YES is faster here for Element nodes) </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>HTML_VALID </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="5472" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="5472" bodyend="5475"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1af6764e20f226963e5dbb42e613c5ec6b" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>void htmlCtxtReset</definition>
        <argsstring>(htmlParserCtxt *ctxt)</argsstring>
        <name>htmlCtxtReset</name>
        <param>
          <type><ref refid="HTMLparser_8h_1a7da3aab7a3a152aebfea651c29fe29fd" kindref="member">htmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
<para>Reset a parser context. </para>
        </briefdescription>
        <detaileddescription>
<para>Same as <ref refid="parser_8h_1a85c2b1914d05bd33c0b8f905d1f63982" kindref="member">xmlCtxtReset</ref>.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an HTML parser context </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="5491" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="5491" bodyend="5494"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1af9cb6627b8303f4ba8e597054661a9f0" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>static int htmlCtxtSetOptionsInternal</definition>
        <argsstring>(xmlParserCtxtPtr ctxt, int options, int keepMask)</argsstring>
        <name>htmlCtxtSetOptionsInternal</name>
        <param>
          <type>xmlParserCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type>int</type>
          <declname>options</declname>
        </param>
        <param>
          <type>int</type>
          <declname>keepMask</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="5497" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="5497" bodyend="5551"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1aacb5d309a35c751ad5f652bab347ce95" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int htmlCtxtSetOptions</definition>
        <argsstring>(htmlParserCtxt *ctxt, int options)</argsstring>
        <name>htmlCtxtSetOptions</name>
        <param>
          <type><ref refid="HTMLparser_8h_1a7da3aab7a3a152aebfea651c29fe29fd" kindref="member">htmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type>int</type>
          <declname>options</declname>
        </param>
        <briefdescription>
<para>Applies the options to the parser context. </para>
        </briefdescription>
        <detaileddescription>
<para>Unset options are cleared.</para>
<para><simplesect kind="since"><para>2.14.0</para>
</simplesect>
With older versions, you can use <ref refid="HTMLparser_8h_1a704c275082cb61c6b35cabab333e5ea9" kindref="member">htmlCtxtUseOptions</ref>.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an HTML parser context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>options</parametername>
</parameternamelist>
<parameterdescription>
<para>a bitmask of <ref refid="HTMLparser_8h_1a7120adfabbd532998e80018a58ea09d4" kindref="member">htmlParserOption</ref> values </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>0 in case of success, the set of unknown or unimplemented options in case of error. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="5567" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="5567" bodyend="5570"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a704c275082cb61c6b35cabab333e5ea9" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int htmlCtxtUseOptions</definition>
        <argsstring>(htmlParserCtxt *ctxt, int options)</argsstring>
        <name>htmlCtxtUseOptions</name>
        <param>
          <type><ref refid="HTMLparser_8h_1a7da3aab7a3a152aebfea651c29fe29fd" kindref="member">htmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type>int</type>
          <declname>options</declname>
        </param>
        <briefdescription>
<para>Applies the options to the parser context. </para>
        </briefdescription>
        <detaileddescription>
<para>The following options are never cleared and can only be enabled:</para>
<para><xrefsect id="deprecated_1_deprecated000181"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Use <ref refid="HTMLparser_8h_1aacb5d309a35c751ad5f652bab347ce95" kindref="member">htmlCtxtSetOptions</ref>.</para>
</xrefdescription></xrefsect></para>
<para><itemizedlist>
<listitem><para>HTML_PARSE_NODEFDTD</para>
</listitem><listitem><para>HTML_PARSE_NOERROR</para>
</listitem><listitem><para>HTML_PARSE_NOWARNING</para>
</listitem><listitem><para>HTML_PARSE_NOIMPLIED</para>
</listitem><listitem><para>HTML_PARSE_COMPACT</para>
</listitem><listitem><para>HTML_PARSE_HUGE</para>
</listitem><listitem><para>HTML_PARSE_IGNORE_ENC</para>
</listitem><listitem><para>HTML_PARSE_BIG_LINES</para>
</listitem></itemizedlist>
</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an HTML parser context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>options</parametername>
</parameternamelist>
<parameterdescription>
<para>a combination of <ref refid="HTMLparser_8h_1a7120adfabbd532998e80018a58ea09d4" kindref="member">htmlParserOption</ref> values </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>0 in case of success, the set of unknown or unimplemented options in case of error. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="5593" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="5593" bodyend="5610"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1ae2699376dcd5a1c68fdeebf7648a90c1" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="tree_8h_1ae94acff8b6413934705e29389bcddc17" kindref="member">xmlDoc</ref> *</type>
        <definition>xmlDoc * htmlCtxtParseDocument</definition>
        <argsstring>(htmlParserCtxt *ctxt, xmlParserInput *input)</argsstring>
        <name>htmlCtxtParseDocument</name>
        <param>
          <type><ref refid="HTMLparser_8h_1a7da3aab7a3a152aebfea651c29fe29fd" kindref="member">htmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type><ref refid="tree_8h_1aa05e6cbf6c68ec5a2e33ddabddf58b7d" kindref="member">xmlParserInput</ref> *</type>
          <declname>input</declname>
        </param>
        <briefdescription>
<para>Parse an HTML document and return the resulting document tree. </para>
        </briefdescription>
        <detaileddescription>
<para><simplesect kind="since"><para>2.13.0</para>
</simplesect>
<parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an HTML parser context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>input</parametername>
</parameternamelist>
<parameterdescription>
<para>parser input </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the resulting document tree or NULL </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="5622" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="5622" bodyend="5651"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a97304d004d2f91a23b4fedc407c2ab14" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="tree_8h_1ae94acff8b6413934705e29389bcddc17" kindref="member">xmlDoc</ref> *</type>
        <definition>xmlDoc * htmlReadDoc</definition>
        <argsstring>(const xmlChar *str, const char *url, const char *encoding, int options)</argsstring>
        <name>htmlReadDoc</name>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>str</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>url</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>encoding</declname>
        </param>
        <param>
          <type>int</type>
          <declname>options</declname>
        </param>
        <briefdescription>
<para>Convenience function to parse an HTML document from a zero-terminated string. </para>
        </briefdescription>
        <detaileddescription>
<para>See <ref refid="HTMLparser_8h_1af53063a6aa56789fce452027e49e0a2a" kindref="member">htmlCtxtReadDoc</ref> for details.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>str</parametername>
</parameternamelist>
<parameterdescription>
<para>a pointer to a zero terminated string </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>url</parametername>
</parameternamelist>
<parameterdescription>
<para>only used for error reporting (optoinal) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>encoding</parametername>
</parameternamelist>
<parameterdescription>
<para>the document encoding (optional) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>options</parametername>
</parameternamelist>
<parameterdescription>
<para>a combination of <ref refid="HTMLparser_8h_1a7120adfabbd532998e80018a58ea09d4" kindref="member">htmlParserOption</ref> values </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the resulting document tree. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="5666" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="5666" bodyend="5687"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1adf8140fe4537875b24d30ddfc6e75e22" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="tree_8h_1ae94acff8b6413934705e29389bcddc17" kindref="member">xmlDoc</ref> *</type>
        <definition>xmlDoc * htmlReadFile</definition>
        <argsstring>(const char *filename, const char *encoding, int options)</argsstring>
        <name>htmlReadFile</name>
        <param>
          <type>const char *</type>
          <declname>filename</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>encoding</declname>
        </param>
        <param>
          <type>int</type>
          <declname>options</declname>
        </param>
        <briefdescription>
<para>Convenience function to parse an HTML file from the filesystem, the network or a global user-defined resource loader. </para>
        </briefdescription>
        <detaileddescription>
<para>See <ref refid="HTMLparser_8h_1a430f103da6c143db4aceb47e6930f452" kindref="member">htmlCtxtReadFile</ref> for details.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>filename</parametername>
</parameternamelist>
<parameterdescription>
<para>a file or URL </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>encoding</parametername>
</parameternamelist>
<parameterdescription>
<para>the document encoding (optional) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>options</parametername>
</parameternamelist>
<parameterdescription>
<para>a combination of <ref refid="HTMLparser_8h_1a7120adfabbd532998e80018a58ea09d4" kindref="member">htmlParserOption</ref> values </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the resulting document tree. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="5701" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="5701" bodyend="5720"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1ae7e33053eb89c240a933de6dcd270581" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="tree_8h_1ae94acff8b6413934705e29389bcddc17" kindref="member">xmlDoc</ref> *</type>
        <definition>xmlDoc * htmlReadMemory</definition>
        <argsstring>(const char *buffer, int size, const char *url, const char *encoding, int options)</argsstring>
        <name>htmlReadMemory</name>
        <param>
          <type>const char *</type>
          <declname>buffer</declname>
        </param>
        <param>
          <type>int</type>
          <declname>size</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>url</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>encoding</declname>
        </param>
        <param>
          <type>int</type>
          <declname>options</declname>
        </param>
        <briefdescription>
<para>Convenience function to parse an HTML document from memory. </para>
        </briefdescription>
        <detaileddescription>
<para>The input buffer must not contain any terminating null bytes.</para>
<para>See <ref refid="HTMLparser_8h_1ace0473af24ab42e75e01b61c2fe06798" kindref="member">htmlCtxtReadMemory</ref> for details.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>buffer</parametername>
</parameternamelist>
<parameterdescription>
<para>a pointer to a char array </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>size</parametername>
</parameternamelist>
<parameterdescription>
<para>the size of the array </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>url</parametername>
</parameternamelist>
<parameterdescription>
<para>only used for error reporting (optional) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>encoding</parametername>
</parameternamelist>
<parameterdescription>
<para>the document encoding, or NULL </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>options</parametername>
</parameternamelist>
<parameterdescription>
<para>a combination of <ref refid="HTMLparser_8h_1a7120adfabbd532998e80018a58ea09d4" kindref="member">htmlParserOption</ref> values </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the resulting document tree </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="5736" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="5736" bodyend="5760"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1aca8a12874d50679ee32b1ed2f32faf3d" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="tree_8h_1ae94acff8b6413934705e29389bcddc17" kindref="member">xmlDoc</ref> *</type>
        <definition>xmlDoc * htmlReadFd</definition>
        <argsstring>(int fd, const char *url, const char *encoding, int options)</argsstring>
        <name>htmlReadFd</name>
        <param>
          <type>int</type>
          <declname>fd</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>url</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>encoding</declname>
        </param>
        <param>
          <type>int</type>
          <declname>options</declname>
        </param>
        <briefdescription>
<para>Convenience function to parse an HTML document from a file descriptor. </para>
        </briefdescription>
        <detaileddescription>
<para>NOTE that the file descriptor will not be closed when the context is freed or reset.</para>
<para>See <ref refid="HTMLparser_8h_1a8e00404387e63ec8ccb5edd93d78bd8b" kindref="member">htmlCtxtReadFd</ref> for details.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>fd</parametername>
</parameternamelist>
<parameterdescription>
<para>an open file descriptor </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>url</parametername>
</parameternamelist>
<parameterdescription>
<para>only used for error reporting (optional) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>encoding</parametername>
</parameternamelist>
<parameterdescription>
<para>the document encoding, or NULL </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>options</parametername>
</parameternamelist>
<parameterdescription>
<para>a combination of <ref refid="HTMLparser_8h_1a7120adfabbd532998e80018a58ea09d4" kindref="member">htmlParserOption</ref> values </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the resulting document tree </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="5778" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="5778" bodyend="5797"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1afdefce969d7c0bad9409db6d73606662" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="tree_8h_1ae94acff8b6413934705e29389bcddc17" kindref="member">xmlDoc</ref> *</type>
        <definition>xmlDoc * htmlReadIO</definition>
        <argsstring>(xmlInputReadCallback ioread, xmlInputCloseCallback ioclose, void *ioctx, const char *url, const char *encoding, int options)</argsstring>
        <name>htmlReadIO</name>
        <param>
          <type><ref refid="xmlIO_8h_1a8b061791258369d9e2c6624158e018e4" kindref="member">xmlInputReadCallback</ref></type>
          <declname>ioread</declname>
        </param>
        <param>
          <type><ref refid="xmlIO_8h_1a9c0f6d110f2f87b9c3600328505f32ab" kindref="member">xmlInputCloseCallback</ref></type>
          <declname>ioclose</declname>
        </param>
        <param>
          <type>void *</type>
          <declname>ioctx</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>url</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>encoding</declname>
        </param>
        <param>
          <type>int</type>
          <declname>options</declname>
        </param>
        <briefdescription>
<para>Convenience function to parse an HTML document from I/O functions and context. </para>
        </briefdescription>
        <detaileddescription>
<para>See <ref refid="HTMLparser_8h_1af1941762a6e11c2696fe8abe93168737" kindref="member">htmlCtxtReadIO</ref> for details.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ioread</parametername>
</parameternamelist>
<parameterdescription>
<para>an I/O read function </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>ioclose</parametername>
</parameternamelist>
<parameterdescription>
<para>an I/O close function (optional) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>ioctx</parametername>
</parameternamelist>
<parameterdescription>
<para>an I/O handler </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>url</parametername>
</parameternamelist>
<parameterdescription>
<para>only used for error reporting (optional) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>encoding</parametername>
</parameternamelist>
<parameterdescription>
<para>the document encoding (optional) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>options</parametername>
</parameternamelist>
<parameterdescription>
<para>a combination of <ref refid="HTMLparser_8h_1a7120adfabbd532998e80018a58ea09d4" kindref="member">htmlParserOption</ref> values </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the resulting document tree </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="5814" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="5814" bodyend="5835"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a6fb658321a2b5d915bc72ad72560e091" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="tree_8h_1ae94acff8b6413934705e29389bcddc17" kindref="member">xmlDoc</ref> *</type>
        <definition>xmlDoc * htmlCtxtReadDoc</definition>
        <argsstring>(xmlParserCtxt *ctxt, const xmlChar *str, const char *URL, const char *encoding, int options)</argsstring>
        <name>htmlCtxtReadDoc</name>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>str</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>URL</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>encoding</declname>
        </param>
        <param>
          <type>int</type>
          <declname>options</declname>
        </param>
        <briefdescription>
<para>Parse an HTML in-memory document and build a tree. </para>
        </briefdescription>
        <detaileddescription>
<para>See <ref refid="HTMLparser_8h_1a704c275082cb61c6b35cabab333e5ea9" kindref="member">htmlCtxtUseOptions</ref> for details.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an HTML parser context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>str</parametername>
</parameternamelist>
<parameterdescription>
<para>a pointer to a zero terminated string </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>URL</parametername>
</parameternamelist>
<parameterdescription>
<para>only used for error reporting (optional) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>encoding</parametername>
</parameternamelist>
<parameterdescription>
<para>the document encoding (optional) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>options</parametername>
</parameternamelist>
<parameterdescription>
<para>a combination of <ref refid="HTMLparser_8h_1a7120adfabbd532998e80018a58ea09d4" kindref="member">htmlParserOption</ref> values </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the resulting document tree </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="5850" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="5850" bodyend="5867"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a430f103da6c143db4aceb47e6930f452" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="tree_8h_1ae94acff8b6413934705e29389bcddc17" kindref="member">xmlDoc</ref> *</type>
        <definition>xmlDoc * htmlCtxtReadFile</definition>
        <argsstring>(xmlParserCtxt *ctxt, const char *filename, const char *encoding, int options)</argsstring>
        <name>htmlCtxtReadFile</name>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>filename</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>encoding</declname>
        </param>
        <param>
          <type>int</type>
          <declname>options</declname>
        </param>
        <briefdescription>
<para>Parse an HTML file from the filesystem, the network or a user-defined resource loader. </para>
        </briefdescription>
        <detaileddescription>
<para>See <ref refid="HTMLparser_8h_1a704c275082cb61c6b35cabab333e5ea9" kindref="member">htmlCtxtUseOptions</ref> for details.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an HTML parser context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>filename</parametername>
</parameternamelist>
<parameterdescription>
<para>a file or URL </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>encoding</parametername>
</parameternamelist>
<parameterdescription>
<para>the document encoding (optional) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>options</parametername>
</parameternamelist>
<parameterdescription>
<para>a combination of <ref refid="HTMLparser_8h_1a7120adfabbd532998e80018a58ea09d4" kindref="member">htmlParserOption</ref> values </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the resulting document tree </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="5882" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="5882" bodyend="5898"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1ace0473af24ab42e75e01b61c2fe06798" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="tree_8h_1ae94acff8b6413934705e29389bcddc17" kindref="member">xmlDoc</ref> *</type>
        <definition>xmlDoc * htmlCtxtReadMemory</definition>
        <argsstring>(xmlParserCtxt *ctxt, const char *buffer, int size, const char *URL, const char *encoding, int options)</argsstring>
        <name>htmlCtxtReadMemory</name>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>buffer</declname>
        </param>
        <param>
          <type>int</type>
          <declname>size</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>URL</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>encoding</declname>
        </param>
        <param>
          <type>int</type>
          <declname>options</declname>
        </param>
        <briefdescription>
<para>Parse an HTML in-memory document and build a tree. </para>
        </briefdescription>
        <detaileddescription>
<para>The input buffer must not contain any terminating null bytes.</para>
<para>See <ref refid="HTMLparser_8h_1a704c275082cb61c6b35cabab333e5ea9" kindref="member">htmlCtxtUseOptions</ref> for details.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an HTML parser context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>buffer</parametername>
</parameternamelist>
<parameterdescription>
<para>a pointer to a char array </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>size</parametername>
</parameternamelist>
<parameterdescription>
<para>the size of the array </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>URL</parametername>
</parameternamelist>
<parameterdescription>
<para>only used for error reporting (optional) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>encoding</parametername>
</parameternamelist>
<parameterdescription>
<para>the document encoding (optinal) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>options</parametername>
</parameternamelist>
<parameterdescription>
<para>a combination of <ref refid="HTMLparser_8h_1a7120adfabbd532998e80018a58ea09d4" kindref="member">htmlParserOption</ref> values </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the resulting document tree </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="5915" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="5915" bodyend="5932"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1a8e00404387e63ec8ccb5edd93d78bd8b" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="tree_8h_1ae94acff8b6413934705e29389bcddc17" kindref="member">xmlDoc</ref> *</type>
        <definition>xmlDoc * htmlCtxtReadFd</definition>
        <argsstring>(xmlParserCtxt *ctxt, int fd, const char *URL, const char *encoding, int options)</argsstring>
        <name>htmlCtxtReadFd</name>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type>int</type>
          <declname>fd</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>URL</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>encoding</declname>
        </param>
        <param>
          <type>int</type>
          <declname>options</declname>
        </param>
        <briefdescription>
<para>Parse an HTML from a file descriptor and build a tree. </para>
        </briefdescription>
        <detaileddescription>
<para>See <ref refid="HTMLparser_8h_1a704c275082cb61c6b35cabab333e5ea9" kindref="member">htmlCtxtUseOptions</ref> for details.</para>
<para>NOTE that the file descriptor will not be closed when the context is freed or reset.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an HTML parser context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>fd</parametername>
</parameternamelist>
<parameterdescription>
<para>an open file descriptor </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>URL</parametername>
</parameternamelist>
<parameterdescription>
<para>only used for error reporting (optional) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>encoding</parametername>
</parameternamelist>
<parameterdescription>
<para>the document encoding (optinal) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>options</parametername>
</parameternamelist>
<parameterdescription>
<para>a combination of <ref refid="HTMLparser_8h_1a7120adfabbd532998e80018a58ea09d4" kindref="member">htmlParserOption</ref> values </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the resulting document tree </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="5950" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="5950" bodyend="5966"/>
      </memberdef>
      <memberdef kind="function" id="HTMLparser_8c_1af1941762a6e11c2696fe8abe93168737" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="tree_8h_1ae94acff8b6413934705e29389bcddc17" kindref="member">xmlDoc</ref> *</type>
        <definition>xmlDoc * htmlCtxtReadIO</definition>
        <argsstring>(xmlParserCtxt *ctxt, xmlInputReadCallback ioread, xmlInputCloseCallback ioclose, void *ioctx, const char *URL, const char *encoding, int options)</argsstring>
        <name>htmlCtxtReadIO</name>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type><ref refid="xmlIO_8h_1a8b061791258369d9e2c6624158e018e4" kindref="member">xmlInputReadCallback</ref></type>
          <declname>ioread</declname>
        </param>
        <param>
          <type><ref refid="xmlIO_8h_1a9c0f6d110f2f87b9c3600328505f32ab" kindref="member">xmlInputCloseCallback</ref></type>
          <declname>ioclose</declname>
        </param>
        <param>
          <type>void *</type>
          <declname>ioctx</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>URL</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>encoding</declname>
        </param>
        <param>
          <type>int</type>
          <declname>options</declname>
        </param>
        <briefdescription>
<para>Parse an HTML document from I/O functions and source and build a tree. </para>
        </briefdescription>
        <detaileddescription>
<para>See <ref refid="HTMLparser_8h_1a704c275082cb61c6b35cabab333e5ea9" kindref="member">htmlCtxtUseOptions</ref> for details.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an HTML parser context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>ioread</parametername>
</parameternamelist>
<parameterdescription>
<para>an I/O read function </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>ioclose</parametername>
</parameternamelist>
<parameterdescription>
<para>an I/O close function </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>ioctx</parametername>
</parameternamelist>
<parameterdescription>
<para>an I/O handler </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>URL</parametername>
</parameternamelist>
<parameterdescription>
<para>the base URL to use for the document </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>encoding</parametername>
</parameternamelist>
<parameterdescription>
<para>the document encoding, or NULL </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>options</parametername>
</parameternamelist>
<parameterdescription>
<para>a combination of <ref refid="HTMLparser_8h_1a7120adfabbd532998e80018a58ea09d4" kindref="member">htmlParserOption</ref> values </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the resulting document tree </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/HTMLparser.c" line="5983" column="1" bodyfile="/builds/GNOME/libxml2/HTMLparser.c" bodystart="5983" bodyend="6002"/>
      </memberdef>
    </sectiondef>
    <briefdescription>
    </briefdescription>
    <detaileddescription>
    </detaileddescription>
    <location file="/builds/GNOME/libxml2/HTMLparser.c"/>
  </compounddef>
</doxygen>
