<?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.9.8" xml:lang="en-US">
  <compounddef id="parser_8h" kind="file" language="C++">
    <compoundname>parser.h</compoundname>
    <includes refid="xmlversion_8h" local="no">libxml/xmlversion.h</includes>
    <includes refid="tree_8h" local="no">libxml/tree.h</includes>
    <includes refid="dict_8h" local="no">libxml/dict.h</includes>
    <includes refid="hash_8h" local="no">libxml/hash.h</includes>
    <includes refid="valid_8h" local="no">libxml/valid.h</includes>
    <includes refid="entities_8h" local="no">libxml/entities.h</includes>
    <includes refid="xmlerror_8h" local="no">libxml/xmlerror.h</includes>
    <includes refid="xmlstring_8h" local="no">libxml/xmlstring.h</includes>
    <includes refid="xmlmemory_8h" local="no">libxml/xmlmemory.h</includes>
    <includes refid="encoding_8h" local="no">libxml/encoding.h</includes>
    <includes refid="xmlIO_8h" local="no">libxml/xmlIO.h</includes>
    <includes refid="SAX2_8h" local="no">libxml/SAX2.h</includes>
    <includes refid="threads_8h" local="no">libxml/threads.h</includes>
    <includedby refid="HTMLparser_8c" local="no">/builds/GNOME/libxml2/HTMLparser.c</includedby>
    <includedby refid="SAX2_8c" local="no">/builds/GNOME/libxml2/SAX2.c</includedby>
    <includedby refid="buf_8c" local="no">/builds/GNOME/libxml2/buf.c</includedby>
    <includedby refid="c14n_8c" local="no">/builds/GNOME/libxml2/c14n.c</includedby>
    <includedby refid="debugXML_8c" local="no">/builds/GNOME/libxml2/debugXML.c</includedby>
    <includedby refid="dict_8c" local="no">/builds/GNOME/libxml2/dict.c</includedby>
    <includedby refid="encoding_8c" local="no">/builds/GNOME/libxml2/encoding.c</includedby>
    <includedby refid="entities_8c" local="no">/builds/GNOME/libxml2/entities.c</includedby>
    <includedby refid="error_8c" local="no">/builds/GNOME/libxml2/error.c</includedby>
    <includedby refid="globals_8c" local="no">/builds/GNOME/libxml2/globals.c</includedby>
    <includedby refid="hash_8c" local="no">/builds/GNOME/libxml2/hash.c</includedby>
    <includedby refid="parser_8c" local="no">/builds/GNOME/libxml2/parser.c</includedby>
    <includedby refid="parserInternals_8c" local="no">/builds/GNOME/libxml2/parserInternals.c</includedby>
    <includedby refid="relaxng_8c" local="no">/builds/GNOME/libxml2/relaxng.c</includedby>
    <includedby refid="schematron_8c" local="no">/builds/GNOME/libxml2/schematron.c</includedby>
    <includedby refid="threads_8c" local="no">/builds/GNOME/libxml2/threads.c</includedby>
    <includedby refid="tree_8c" local="no">/builds/GNOME/libxml2/tree.c</includedby>
    <includedby refid="valid_8c" local="no">/builds/GNOME/libxml2/valid.c</includedby>
    <includedby refid="xinclude_8c" local="no">/builds/GNOME/libxml2/xinclude.c</includedby>
    <includedby refid="xlink_8c" local="no">/builds/GNOME/libxml2/xlink.c</includedby>
    <includedby refid="xmlcatalog_8c" local="no">/builds/GNOME/libxml2/xmlcatalog.c</includedby>
    <includedby refid="xmlmemory_8c" local="no">/builds/GNOME/libxml2/xmlmemory.c</includedby>
    <includedby refid="xmlschemas_8c" local="no">/builds/GNOME/libxml2/xmlschemas.c</includedby>
    <includedby refid="xmlschemastypes_8c" local="no">/builds/GNOME/libxml2/xmlschemastypes.c</includedby>
    <includedby refid="xmlwriter_8c" local="no">/builds/GNOME/libxml2/xmlwriter.c</includedby>
    <includedby refid="HTMLparser_8h" local="no">HTMLparser.h</includedby>
    <includedby refid="SAX2_8h" local="no">SAX2.h</includedby>
    <includedby refid="parserInternals_8h" local="no">parserInternals.h</includedby>
    <includedby refid="relaxng_8h" local="no">relaxng.h</includedby>
    <includedby refid="xinclude_8h" local="no">xinclude.h</includedby>
    <includedby refid="xmlreader_8h" local="no">xmlreader.h</includedby>
    <includedby refid="xmlschemas_8h" local="no">xmlschemas.h</includedby>
    <incdepgraph>
      <node id="21">
        <label>libxml/SAX2.h</label>
        <link refid="SAX2_8h"/>
        <childnode refid="2" relation="include">
        </childnode>
        <childnode refid="1" relation="include">
        </childnode>
      </node>
      <node id="11">
        <label>libxml/dict.h</label>
        <link refid="dict_8h"/>
        <childnode refid="12" relation="include">
        </childnode>
        <childnode refid="2" relation="include">
        </childnode>
        <childnode refid="7" relation="include">
        </childnode>
      </node>
      <node id="19">
        <label>libxml/encoding.h</label>
        <link refid="encoding_8h"/>
        <childnode refid="2" relation="include">
        </childnode>
        <childnode refid="15" relation="include">
        </childnode>
      </node>
      <node id="18">
        <label>libxml/entities.h</label>
        <link refid="entities_8h"/>
        <childnode refid="2" relation="include">
        </childnode>
        <childnode refid="4" relation="include">
        </childnode>
      </node>
      <node id="13">
        <label>libxml/hash.h</label>
        <link refid="hash_8h"/>
        <childnode refid="2" relation="include">
        </childnode>
        <childnode refid="11" relation="include">
        </childnode>
        <childnode refid="7" relation="include">
        </childnode>
      </node>
      <node id="16">
        <label>libxml/list.h</label>
        <link refid="list_8h"/>
        <childnode refid="2" relation="include">
        </childnode>
      </node>
      <node id="1">
        <label>parser.h</label>
        <link refid="parser_8h"/>
        <childnode refid="2" relation="include">
        </childnode>
        <childnode refid="4" relation="include">
        </childnode>
        <childnode refid="11" relation="include">
        </childnode>
        <childnode refid="13" relation="include">
        </childnode>
        <childnode refid="14" relation="include">
        </childnode>
        <childnode refid="18" relation="include">
        </childnode>
        <childnode refid="15" relation="include">
        </childnode>
        <childnode refid="7" relation="include">
        </childnode>
        <childnode refid="9" relation="include">
        </childnode>
        <childnode refid="19" relation="include">
        </childnode>
        <childnode refid="20" relation="include">
        </childnode>
        <childnode refid="21" relation="include">
        </childnode>
        <childnode refid="22" relation="include">
        </childnode>
      </node>
      <node id="22">
        <label>libxml/threads.h</label>
        <link refid="threads_8h"/>
        <childnode refid="2" relation="include">
        </childnode>
      </node>
      <node id="4">
        <label>libxml/tree.h</label>
        <link refid="tree_8h"/>
        <childnode refid="5" relation="include">
        </childnode>
        <childnode refid="6" relation="include">
        </childnode>
        <childnode refid="2" relation="include">
        </childnode>
        <childnode refid="7" relation="include">
        </childnode>
        <childnode refid="9" relation="include">
        </childnode>
        <childnode refid="10" relation="include">
        </childnode>
      </node>
      <node id="14">
        <label>libxml/valid.h</label>
        <link refid="valid_8h"/>
        <childnode refid="2" relation="include">
        </childnode>
        <childnode refid="15" relation="include">
        </childnode>
        <childnode refid="4" relation="include">
        </childnode>
        <childnode refid="16" relation="include">
        </childnode>
        <childnode refid="17" relation="include">
        </childnode>
        <childnode refid="10" relation="include">
        </childnode>
      </node>
      <node id="20">
        <label>libxml/xmlIO.h</label>
        <link refid="xmlIO_8h"/>
        <childnode refid="5" relation="include">
        </childnode>
        <childnode refid="2" relation="include">
        </childnode>
        <childnode refid="19" relation="include">
        </childnode>
        <childnode refid="4" relation="include">
        </childnode>
      </node>
      <node id="17">
        <label>libxml/xmlautomata.h</label>
        <link refid="xmlautomata_8h"/>
        <childnode refid="2" relation="include">
        </childnode>
        <childnode refid="7" relation="include">
        </childnode>
      </node>
      <node id="15">
        <label>libxml/xmlerror.h</label>
        <link refid="xmlerror_8h"/>
        <childnode refid="2" relation="include">
        </childnode>
      </node>
      <node id="9">
        <label>libxml/xmlmemory.h</label>
        <link refid="xmlmemory_8h"/>
        <childnode refid="5" relation="include">
        </childnode>
        <childnode refid="2" relation="include">
        </childnode>
      </node>
      <node id="10">
        <label>libxml/xmlregexp.h</label>
        <link refid="xmlregexp_8h"/>
        <childnode refid="5" relation="include">
        </childnode>
        <childnode refid="2" relation="include">
        </childnode>
        <childnode refid="7" relation="include">
        </childnode>
      </node>
      <node id="7">
        <label>libxml/xmlstring.h</label>
        <link refid="xmlstring_8h"/>
        <childnode refid="8" relation="include">
        </childnode>
        <childnode refid="2" relation="include">
        </childnode>
      </node>
      <node id="2">
        <label>libxml/xmlversion.h</label>
        <link refid="xmlversion_8h"/>
        <childnode refid="3" relation="include">
        </childnode>
      </node>
      <node id="3">
        <label>libxml/xmlexports.h</label>
      </node>
      <node id="6">
        <label>limits.h</label>
      </node>
      <node id="8">
        <label>stdarg.h</label>
      </node>
      <node id="12">
        <label>stddef.h</label>
      </node>
      <node id="5">
        <label>stdio.h</label>
      </node>
    </incdepgraph>
    <invincdepgraph>
      <node id="2">
        <label>HTMLparser.h</label>
        <link refid="HTMLparser_8h"/>
        <childnode refid="3" relation="include">
        </childnode>
        <childnode refid="4" relation="include">
        </childnode>
      </node>
      <node id="3">
        <label>HTMLtree.h</label>
        <link refid="HTMLtree_8h"/>
      </node>
      <node id="5">
        <label>SAX2.h</label>
        <link refid="SAX2_8h"/>
        <childnode refid="1" relation="include">
        </childnode>
        <childnode refid="4" relation="include">
        </childnode>
      </node>
      <node id="1">
        <label>parser.h</label>
        <link refid="parser_8h"/>
        <childnode refid="2" relation="include">
        </childnode>
        <childnode refid="5" relation="include">
        </childnode>
        <childnode refid="4" relation="include">
        </childnode>
        <childnode refid="6" relation="include">
        </childnode>
        <childnode refid="8" relation="include">
        </childnode>
        <childnode refid="7" relation="include">
        </childnode>
        <childnode refid="9" relation="include">
        </childnode>
      </node>
      <node id="4">
        <label>parserInternals.h</label>
        <link refid="parserInternals_8h"/>
      </node>
      <node id="6">
        <label>relaxng.h</label>
        <link refid="relaxng_8h"/>
        <childnode refid="7" relation="include">
        </childnode>
      </node>
      <node id="8">
        <label>xinclude.h</label>
        <link refid="xinclude_8h"/>
      </node>
      <node id="7">
        <label>xmlreader.h</label>
        <link refid="xmlreader_8h"/>
      </node>
      <node id="9">
        <label>xmlschemas.h</label>
        <link refid="xmlschemas_8h"/>
        <childnode refid="7" relation="include">
        </childnode>
        <childnode refid="10" relation="include">
        </childnode>
      </node>
      <node id="10">
        <label>xmlschemastypes.h</label>
        <link refid="xmlschemastypes_8h"/>
      </node>
    </invincdepgraph>
    <innerclass refid="struct__xmlParserInput" prot="public">_xmlParserInput</innerclass>
    <innerclass refid="struct__xmlParserCtxt" prot="public">_xmlParserCtxt</innerclass>
    <innerclass refid="struct__xmlSAXLocator" prot="public">_xmlSAXLocator</innerclass>
    <innerclass refid="struct__xmlSAXHandler" prot="public">_xmlSAXHandler</innerclass>
    <innerclass refid="struct__xmlSAXHandlerV1" prot="public">_xmlSAXHandlerV1</innerclass>
    <sectiondef kind="define">
      <memberdef kind="define" id="parser_8h_1a7a642c7b5e0049affd372175d2754993" prot="public" static="no">
        <name>XML_DEFAULT_VERSION</name>
        <initializer>&quot;1.0&quot;</initializer>
        <briefdescription>
<para>The default version of XML used: 1.0. </para>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="42" column="9" bodyfile="parser.h" bodystart="42" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="parser_8h_1ac1c62309afa1a006b6c4e1c5b0b42c8d" prot="public" static="no">
        <name>XML_SAX2_MAGIC</name>
        <initializer>0xDEEDBEAF</initializer>
        <briefdescription>
<para>Special constant required for SAX2 handlers. </para>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="953" column="9" bodyfile="parser.h" bodystart="953" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="parser_8h_1a32bdf6bf26e21b4f64fff9bbfd2596e4" prot="public" static="no">
        <name>xmlDoValidityCheckingDefaultValue</name>
        <initializer>    (*__xmlDoValidityCheckingDefaultValue())</initializer>
        <briefdescription>
<para>Thread-local setting to enable validation. </para>
        </briefdescription>
        <detaileddescription>
<para>Defaults to 0.</para>
<para><xrefsect id="deprecated_1_deprecated000006"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Use the parser option XML_PARSE_DTDVALID. </para>
</xrefdescription></xrefsect></para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1301" column="11" bodyfile="parser.h" bodystart="1301" bodyend="1302"/>
      </memberdef>
      <memberdef kind="define" id="parser_8h_1a92fd54c6fe6f8a52801ca71b995257a3" prot="public" static="no">
        <name>xmlGetWarningsDefaultValue</name>
        <initializer>    (*__xmlGetWarningsDefaultValue())</initializer>
        <briefdescription>
<para>Thread-local setting to disable warnings. </para>
        </briefdescription>
        <detaileddescription>
<para>Defaults to 1.</para>
<para><xrefsect id="deprecated_1_deprecated000007"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Use the parser option XML_PARSE_NOWARNING. </para>
</xrefdescription></xrefsect></para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1308" column="11" bodyfile="parser.h" bodystart="1308" bodyend="1309"/>
      </memberdef>
      <memberdef kind="define" id="parser_8h_1a31b13928a2ff14fed056c14c14968dc6" prot="public" static="no">
        <name>xmlKeepBlanksDefaultValue</name>
        <initializer>(*__xmlKeepBlanksDefaultValue())</initializer>
        <briefdescription>
<para>Thread-local setting to ignore some whitespace. </para>
        </briefdescription>
        <detaileddescription>
<para>Defaults to 1.</para>
<para><xrefsect id="deprecated_1_deprecated000008"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Use the parser option XML_PARSE_NOBLANKS. </para>
</xrefdescription></xrefsect></para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1316" column="11" bodyfile="parser.h" bodystart="1316" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="parser_8h_1a6ef6b5c034fb76b5091cd1cbe95f3029" prot="public" static="no">
        <name>xmlLineNumbersDefaultValue</name>
        <initializer>    (*__xmlLineNumbersDefaultValue())</initializer>
        <briefdescription>
<para>Thread-local setting to store line numbers. </para>
        </briefdescription>
        <detaileddescription>
<para>Defaults to 0, but is always enabled after setting parser options.</para>
<para><xrefsect id="deprecated_1_deprecated000009"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Shouldn&apos;t be needed when using parser options. </para>
</xrefdescription></xrefsect></para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1323" column="11" bodyfile="parser.h" bodystart="1323" bodyend="1324"/>
      </memberdef>
      <memberdef kind="define" id="parser_8h_1a92f0327523b8b21c855491cf43c6279d" prot="public" static="no">
        <name>xmlLoadExtDtdDefaultValue</name>
        <initializer>(*__xmlLoadExtDtdDefaultValue())</initializer>
        <briefdescription>
<para>Thread-local setting to enable loading of external DTDs. </para>
        </briefdescription>
        <detaileddescription>
<para>Defaults to 0.</para>
<para><xrefsect id="deprecated_1_deprecated000010"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Use the parser option XML_PARSE_DTDLOAD. </para>
</xrefdescription></xrefsect></para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1331" column="11" bodyfile="parser.h" bodystart="1331" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="parser_8h_1aafba40529bb47af002dbf12a4c511c05" prot="public" static="no">
        <name>xmlPedanticParserDefaultValue</name>
        <initializer>    (*__xmlPedanticParserDefaultValue())</initializer>
        <briefdescription>
<para>Thread-local setting to enable pedantic warnings. </para>
        </briefdescription>
        <detaileddescription>
<para>Defaults to 0.</para>
<para><xrefsect id="deprecated_1_deprecated000011"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Use the parser option XML_PARSE_PEDANTIC. </para>
</xrefdescription></xrefsect></para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1338" column="11" bodyfile="parser.h" bodystart="1338" bodyend="1339"/>
      </memberdef>
      <memberdef kind="define" id="parser_8h_1a0341e53d997e7bd46083b6bc780a8933" prot="public" static="no">
        <name>xmlSubstituteEntitiesDefaultValue</name>
        <initializer>    (*__xmlSubstituteEntitiesDefaultValue())</initializer>
        <briefdescription>
<para>Thread-local setting to enable entity substitution. </para>
        </briefdescription>
        <detaileddescription>
<para>Defaults to 0.</para>
<para><xrefsect id="deprecated_1_deprecated000012"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Use the parser option XML_PARSE_NOENT. </para>
</xrefdescription></xrefsect></para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1346" column="11" bodyfile="parser.h" bodystart="1346" bodyend="1347"/>
      </memberdef>
      <memberdef kind="define" id="parser_8h_1ab6c67c077808d3b3eaad8b8e5bd11110" prot="public" static="no">
        <name>xmlIndentTreeOutput</name>
        <initializer>(*__xmlIndentTreeOutput())</initializer>
        <briefdescription>
<para>Thread-local setting to disable indenting when formatting output. </para>
        </briefdescription>
        <detaileddescription>
<para>Defaults to 1.</para>
<para><xrefsect id="deprecated_1_deprecated000013"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Use the <ref refid="xmlsave_8h" kindref="compound">xmlsave.h</ref> API with option XML_SAVE_NO_INDENT. </para>
</xrefdescription></xrefsect></para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1356" column="13" bodyfile="parser.h" bodystart="1356" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="parser_8h_1a8a97142196d9cb943f72370c3c72a36d" prot="public" static="no">
        <name>xmlTreeIndentString</name>
        <initializer>(*__xmlTreeIndentString())</initializer>
        <briefdescription>
<para>Thread-local setting to change the indent string. </para>
        </briefdescription>
        <detaileddescription>
<para>Defaults to two spaces.</para>
<para><xrefsect id="deprecated_1_deprecated000014"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Use the <ref refid="xmlsave_8h" kindref="compound">xmlsave.h</ref> API and <ref refid="xmlsave_8h_1a770239ed982d5bf2d232bd4b20da2bbd" kindref="member">xmlSaveSetIndentString()</ref>. </para>
</xrefdescription></xrefsect></para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1364" column="13" bodyfile="parser.h" bodystart="1364" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="parser_8h_1a9985b275faf4c9a4c73167271a57178b" prot="public" static="no">
        <name>xmlSaveNoEmptyTags</name>
        <initializer>(*__xmlSaveNoEmptyTags())</initializer>
        <briefdescription>
<para>Thread-local setting to disable empty tags when serializing. </para>
        </briefdescription>
        <detaileddescription>
<para>Defaults to 0.</para>
<para><xrefsect id="deprecated_1_deprecated000015"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Use the <ref refid="xmlsave_8h" kindref="compound">xmlsave.h</ref> API with option XML_SAVE_NO_EMPTY. </para>
</xrefdescription></xrefsect></para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1372" column="13" bodyfile="parser.h" bodystart="1372" bodyend="-1"/>
      </memberdef>
    </sectiondef>
    <sectiondef kind="enum">
      <memberdef kind="enum" id="parser_8h_1a14fa3a3a961854f140a3e5403954abc1" prot="public" static="no" strong="no">
        <type></type>
        <name>xmlParserStatus</name>
        <enumvalue id="parser_8h_1a14fa3a3a961854f140a3e5403954abc1a043597c2c131bdfc450d9270880aed24" prot="public">
          <name>XML_STATUS_NOT_WELL_FORMED</name>
          <initializer>= (1 &lt;&lt; 0)</initializer>
          <briefdescription>
<para>not well-formed </para>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1a14fa3a3a961854f140a3e5403954abc1ae499512ccf44a41fa0d0673fe549d563" prot="public">
          <name>XML_STATUS_NOT_NS_WELL_FORMED</name>
          <initializer>= (1 &lt;&lt; 1)</initializer>
          <briefdescription>
<para>not namespace-well-formed </para>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1a14fa3a3a961854f140a3e5403954abc1aa4ac8151766497abd201bee2deffce83" prot="public">
          <name>XML_STATUS_DTD_VALIDATION_FAILED</name>
          <initializer>= (1 &lt;&lt; 2)</initializer>
          <briefdescription>
<para>DTD validation failed. </para>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1a14fa3a3a961854f140a3e5403954abc1a012ec7bb654da5302a26244b902efb34" prot="public">
          <name>XML_STATUS_CATASTROPHIC_ERROR</name>
          <initializer>= (1 &lt;&lt; 3)</initializer>
          <briefdescription>
<para>catastrophic failure like OOM or I/O error </para>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <briefdescription>
<para>Status after parsing a document. </para>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="47" column="1" bodyfile="parser.h" bodystart="47" bodyend="56"/>
      </memberdef>
      <memberdef kind="enum" id="parser_8h_1a946ab3cbfea56547526de2e7b2df5f47" prot="public" static="no" strong="no">
        <type></type>
        <name>xmlResourceType</name>
        <enumvalue id="parser_8h_1a946ab3cbfea56547526de2e7b2df5f47a95685c54bd60d2e72af9e8e333864a3e" prot="public">
          <name>XML_RESOURCE_UNKNOWN</name>
          <initializer>= 0</initializer>
          <briefdescription>
<para>unknown </para>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1a946ab3cbfea56547526de2e7b2df5f47a37ab08814f4c712ab7fe792b4bc9c770" prot="public">
          <name>XML_RESOURCE_MAIN_DOCUMENT</name>
          <briefdescription>
<para>main document </para>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1a946ab3cbfea56547526de2e7b2df5f47ae414494d5ef75ce50c0c07899bc7d0a2" prot="public">
          <name>XML_RESOURCE_DTD</name>
          <briefdescription>
<para>external DTD </para>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1a946ab3cbfea56547526de2e7b2df5f47aae7e8a8f68317a45dace80486582ef34" prot="public">
          <name>XML_RESOURCE_GENERAL_ENTITY</name>
          <briefdescription>
<para>external general entity </para>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1a946ab3cbfea56547526de2e7b2df5f47a3318429c377b86b85555e46c8338df59" prot="public">
          <name>XML_RESOURCE_PARAMETER_ENTITY</name>
          <briefdescription>
<para>external parameter entity </para>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1a946ab3cbfea56547526de2e7b2df5f47a4fd1e0fd8da62ce81397cc9f7b9ed9ff" prot="public">
          <name>XML_RESOURCE_XINCLUDE</name>
          <briefdescription>
<para>XIncluded document. </para>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1a946ab3cbfea56547526de2e7b2df5f47a2bae0dd9a659b687badfc187886484ca" prot="public">
          <name>XML_RESOURCE_XINCLUDE_TEXT</name>
          <briefdescription>
<para>XIncluded text. </para>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <briefdescription>
<para>Resource type for resource loaders. </para>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="61" column="1" bodyfile="parser.h" bodystart="61" bodyend="76"/>
      </memberdef>
      <memberdef kind="enum" id="parser_8h_1affb1c6c9ba998cfa7d2e97ef5c756da8" prot="public" static="no" strong="no">
        <type></type>
        <name>xmlParserInputFlags</name>
        <enumvalue id="parser_8h_1affb1c6c9ba998cfa7d2e97ef5c756da8a20faeb373eb790257086fbbe12893a43" prot="public">
          <name>XML_INPUT_BUF_STATIC</name>
          <initializer>= (1 &lt;&lt; 1)</initializer>
          <briefdescription>
<para>The input buffer won&apos;t be changed during parsing. </para>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1affb1c6c9ba998cfa7d2e97ef5c756da8a666bb55cf5cf8239f170bf92d4240440" prot="public">
          <name>XML_INPUT_BUF_ZERO_TERMINATED</name>
          <initializer>= (1 &lt;&lt; 2)</initializer>
          <briefdescription>
<para>The input buffer is zero-terminated. </para>
          </briefdescription>
          <detaileddescription>
<para>(Note that the zero byte shouldn&apos;t be included in buffer size.) </para>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1affb1c6c9ba998cfa7d2e97ef5c756da8ad9e0152c105076640b8039d914c3656d" prot="public">
          <name>XML_INPUT_UNZIP</name>
          <initializer>= (1 &lt;&lt; 3)</initializer>
          <briefdescription>
<para>Uncompress gzipped file input. </para>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1affb1c6c9ba998cfa7d2e97ef5c756da8ac7417a602aa0cdb17688ee16b0b0a4e5" prot="public">
          <name>XML_INPUT_NETWORK</name>
          <initializer>= (1 &lt;&lt; 4)</initializer>
          <briefdescription>
<para>Allow network access. </para>
          </briefdescription>
          <detaileddescription>
<para>Unused internally. </para>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1affb1c6c9ba998cfa7d2e97ef5c756da8aefe6f076b54bf56c5996d3dab364cd4c" prot="public">
          <name>XML_INPUT_USE_SYS_CATALOG</name>
          <initializer>= (1 &lt;&lt; 5)</initializer>
          <briefdescription>
<para>Allow system catalog to resolve URIs. </para>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <briefdescription>
<para>Flags for parser input. </para>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="81" column="1" bodyfile="parser.h" bodystart="81" bodyend="93"/>
      </memberdef>
      <memberdef kind="enum" id="parser_8h_1a7d2daaf67df051ca5ef0b319b640442c" prot="public" static="no" strong="no">
        <type></type>
        <name>xmlParserOption</name>
        <enumvalue id="parser_8h_1a7d2daaf67df051ca5ef0b319b640442ca75a738f3f852564dacda58af3c0cd146" prot="public">
          <name>XML_PARSE_RECOVER</name>
          <initializer>= 1&lt;&lt;0</initializer>
          <briefdescription>
<para>Enable &quot;recovery&quot; mode which allows non-wellformed documents. </para>
          </briefdescription>
          <detaileddescription>
<para>How this mode behaves exactly is unspecified and may change without further notice. Use of this feature is DISCOURAGED.</para>
<para>Not supported by the push parser. </para>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1a7d2daaf67df051ca5ef0b319b640442cae26a8ac158a3bd80902cf3f6bfcbff9b" prot="public">
          <name>XML_PARSE_NOENT</name>
          <initializer>= 1&lt;&lt;1</initializer>
          <briefdescription>
<para>Despite the confusing name, this option enables substitution of entities. </para>
          </briefdescription>
          <detaileddescription>
<para>The resulting tree won&apos;t contain any entity reference nodes.</para>
<para>This option also enables loading of external entities (both general and parameter entities) which is dangerous. If you process untrusted data, it&apos;s recommended to set the XML_PARSE_NO_XXE option to disable loading of external entities. </para>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1a7d2daaf67df051ca5ef0b319b640442ca72142bbf605afc8ae8e23bf3cef04c2f" prot="public">
          <name>XML_PARSE_DTDLOAD</name>
          <initializer>= 1&lt;&lt;2</initializer>
          <briefdescription>
<para>Enables loading of an external DTD and the loading and substitution of external parameter entities. </para>
          </briefdescription>
          <detaileddescription>
<para>Has no effect if XML_PARSE_NO_XXE is set. </para>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1a7d2daaf67df051ca5ef0b319b640442caa5688237b14df218e9d3ecb112a00b58" prot="public">
          <name>XML_PARSE_DTDATTR</name>
          <initializer>= 1&lt;&lt;3</initializer>
          <briefdescription>
<para>Adds default attributes from the DTD to the result document. </para>
          </briefdescription>
          <detaileddescription>
<para>Implies XML_PARSE_DTDLOAD, but loading of external content can be disabled with XML_PARSE_NO_XXE. </para>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1a7d2daaf67df051ca5ef0b319b640442ca3332812e311c99616d09d2dd4cfaf606" prot="public">
          <name>XML_PARSE_DTDVALID</name>
          <initializer>= 1&lt;&lt;4</initializer>
          <briefdescription>
<para>This option enables DTD validation which requires to load external DTDs and external entities (both general and parameter entities) unless XML_PARSE_NO_XXE was set. </para>
          </briefdescription>
          <detaileddescription>
<para>DTD validation is vulnerable to algorithmic complexity attacks and should never be enabled with untrusted input. </para>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1a7d2daaf67df051ca5ef0b319b640442cac5b574c2a468f0f843db4a20ae7bc5d3" prot="public">
          <name>XML_PARSE_NOERROR</name>
          <initializer>= 1&lt;&lt;5</initializer>
          <briefdescription>
<para>Disable error and warning reports to the error handlers. </para>
          </briefdescription>
          <detaileddescription>
<para>Errors are still accessible with <ref refid="xmlerror_8h_1a5a94b4438df18110def1bcb42e642410" kindref="member">xmlCtxtGetLastError()</ref>. </para>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1a7d2daaf67df051ca5ef0b319b640442ca33657d6414d066b8c3ad1da263b378fe" prot="public">
          <name>XML_PARSE_NOWARNING</name>
          <initializer>= 1&lt;&lt;6</initializer>
          <briefdescription>
<para>Disable warning reports. </para>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1a7d2daaf67df051ca5ef0b319b640442cae2cf8ab1c72b39b77c2b93a7fc8f4601" prot="public">
          <name>XML_PARSE_PEDANTIC</name>
          <initializer>= 1&lt;&lt;7</initializer>
          <briefdescription>
<para>Enable some pedantic warnings. </para>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1a7d2daaf67df051ca5ef0b319b640442ca5cd8ca4096672e0270eca01a1bf363cc" prot="public">
          <name>XML_PARSE_NOBLANKS</name>
          <initializer>= 1&lt;&lt;8</initializer>
          <briefdescription>
<para>Remove some whitespace from the result document. </para>
          </briefdescription>
          <detaileddescription>
<para>Where to remove whitespace depends on DTD element declarations or a broken heuristic with unfixable bugs. Use of this option is DISCOURAGED.</para>
<para>Not supported by the push parser. </para>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1a7d2daaf67df051ca5ef0b319b640442ca0722d56711d820beddfd5ede8c132c13" prot="public">
          <name>XML_PARSE_SAX1</name>
          <initializer>= 1&lt;&lt;9</initializer>
          <briefdescription>
<para>Always invoke the deprecated SAX1 startElement and endElement handlers. </para>
          </briefdescription>
          <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000052"><xreftitle>Deprecated</xreftitle><xrefdescription><para>This option will be removed in a future version. </para>
</xrefdescription></xrefsect></para>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1a7d2daaf67df051ca5ef0b319b640442ca758b9de9111a47a561f4f0415e03a8da" prot="public">
          <name>XML_PARSE_XINCLUDE</name>
          <initializer>= 1&lt;&lt;10</initializer>
          <briefdescription>
<para>Enable XInclude processing. </para>
          </briefdescription>
          <detaileddescription>
<para>This option only affects the xmlTextReader and XInclude interfaces. </para>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1a7d2daaf67df051ca5ef0b319b640442ca5c4e109aa639c9d8d5bb2f7922453566" prot="public">
          <name>XML_PARSE_NONET</name>
          <initializer>= 1&lt;&lt;11</initializer>
          <briefdescription>
<para>Disable network access with the built-in HTTP or FTP clients. </para>
          </briefdescription>
          <detaileddescription>
<para>After the last built-in network client was removed in 2.15, this option has no effect expect for being passed on to custom resource loaders. </para>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1a7d2daaf67df051ca5ef0b319b640442ca97797e6b6badab0925ee629fbaddf689" prot="public">
          <name>XML_PARSE_NODICT</name>
          <initializer>= 1&lt;&lt;12</initializer>
          <briefdescription>
<para>Create a document without interned strings, making all strings separate memory allocations. </para>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1a7d2daaf67df051ca5ef0b319b640442cae6512ccdd06597c52af2b110d27c9597" prot="public">
          <name>XML_PARSE_NSCLEAN</name>
          <initializer>= 1&lt;&lt;13</initializer>
          <briefdescription>
<para>Remove redundant namespace declarations from the result document. </para>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1a7d2daaf67df051ca5ef0b319b640442ca3950437d35f383adac9b8bf80811f96c" prot="public">
          <name>XML_PARSE_NOCDATA</name>
          <initializer>= 1&lt;&lt;14</initializer>
          <briefdescription>
<para>Output normal text nodes instead of CDATA nodes. </para>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1a7d2daaf67df051ca5ef0b319b640442cacb3591e65b9ba08f0a7f90f9bc9d0abd" prot="public">
          <name>XML_PARSE_NOXINCNODE</name>
          <initializer>= 1&lt;&lt;15</initializer>
          <briefdescription>
<para>Don&apos;t generate XInclude start/end nodes when expanding inclusions. </para>
          </briefdescription>
          <detaileddescription>
<para>This option only affects the xmlTextReader and XInclude interfaces. </para>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1a7d2daaf67df051ca5ef0b319b640442ca4e1e1a94e4dfaa60e4c29165464edd9b" prot="public">
          <name>XML_PARSE_COMPACT</name>
          <initializer>= 1&lt;&lt;16</initializer>
          <briefdescription>
<para>Store small strings directly in the node struct to save memory. </para>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1a7d2daaf67df051ca5ef0b319b640442caadc53b738160d8a013c8e8b547c530d4" prot="public">
          <name>XML_PARSE_OLD10</name>
          <initializer>= 1&lt;&lt;17</initializer>
          <briefdescription>
<para>Use old Name productions from before XML 1.0 Fifth Edition. </para>
          </briefdescription>
          <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000053"><xreftitle>Deprecated</xreftitle><xrefdescription><para>This option will be removed in a future version. </para>
</xrefdescription></xrefsect></para>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1a7d2daaf67df051ca5ef0b319b640442ca6909ddeeff16c7a09cf1683425493c9e" prot="public">
          <name>XML_PARSE_NOBASEFIX</name>
          <initializer>= 1&lt;&lt;18</initializer>
          <briefdescription>
<para>Don&apos;t fix up XInclude xml:base URIs. </para>
          </briefdescription>
          <detaileddescription>
<para>This option only affects the xmlTextReader and XInclude interfaces. </para>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1a7d2daaf67df051ca5ef0b319b640442ca818189d96d210abc76667c3e966b9faf" prot="public">
          <name>XML_PARSE_HUGE</name>
          <initializer>= 1&lt;&lt;19</initializer>
          <briefdescription>
<para>Relax some internal limits. </para>
          </briefdescription>
          <detaileddescription>
<para>Maximum size of text nodes, tags, comments, processing instructions, CDATA sections, entity values</para>
<para>normal: 10M huge: 1B</para>
<para>Maximum size of names, system literals, pubid literals</para>
<para>normal: 50K huge: 10M</para>
<para>Maximum nesting depth of elements</para>
<para>normal: 256 huge: 2048</para>
<para>Maximum nesting depth of entities</para>
<para>normal: 20 huge: 40 </para>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1a7d2daaf67df051ca5ef0b319b640442cabc7c5766c3a21d59f4dcabb93df514d0" prot="public">
          <name>XML_PARSE_OLDSAX</name>
          <initializer>= 1&lt;&lt;20</initializer>
          <briefdescription>
<para>Enable an unspecified legacy mode for SAX parsers. </para>
          </briefdescription>
          <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000054"><xreftitle>Deprecated</xreftitle><xrefdescription><para>This option will be removed in a future version. </para>
</xrefdescription></xrefsect></para>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1a7d2daaf67df051ca5ef0b319b640442ca64d1dd1d9a694868b01c5af30f9cb3ca" prot="public">
          <name>XML_PARSE_IGNORE_ENC</name>
          <initializer>= 1&lt;&lt;21</initializer>
          <briefdescription>
<para>Ignore the encoding in the XML declaration. </para>
          </briefdescription>
          <detaileddescription>
<para>This option is mostly unneeded these days. The only effect is to enforce UTF-8 decoding of ASCII-like data. </para>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1a7d2daaf67df051ca5ef0b319b640442caa0b7be36b53ce842828eadf36cc4a277" prot="public">
          <name>XML_PARSE_BIG_LINES</name>
          <initializer>= 1&lt;&lt;22</initializer>
          <briefdescription>
<para>Enable reporting of line numbers larger than 65535. </para>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1a7d2daaf67df051ca5ef0b319b640442caa090710a2862f4aa99adf1d74dd45901" prot="public">
          <name>XML_PARSE_NO_XXE</name>
          <initializer>= 1&lt;&lt;23</initializer>
          <briefdescription>
<para>Disables loading of external DTDs or entities. </para>
          </briefdescription>
          <detaileddescription>
<para><simplesect kind="since"><para>2.13.0 </para>
</simplesect>
</para>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1a7d2daaf67df051ca5ef0b319b640442cac1b63b2d0045f53da3801c2668d6acfd" prot="public">
          <name>XML_PARSE_UNZIP</name>
          <initializer>= 1&lt;&lt;24</initializer>
          <briefdescription>
<para>Enable input decompression. </para>
          </briefdescription>
          <detaileddescription>
<para>Setting this option is discouraged to avoid zip bombs.</para>
<para><simplesect kind="since"><para>2.14.0 </para>
</simplesect>
</para>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1a7d2daaf67df051ca5ef0b319b640442ca943c08ae41cc43c8782eb184468ba158" prot="public">
          <name>XML_PARSE_NO_SYS_CATALOG</name>
          <initializer>= 1&lt;&lt;25</initializer>
          <briefdescription>
<para>Disables the global system XML catalog. </para>
          </briefdescription>
          <detaileddescription>
<para><simplesect kind="since"><para>2.14.0 </para>
</simplesect>
</para>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1a7d2daaf67df051ca5ef0b319b640442ca17f79bbf1328f3b1878f6554b1f371fb" prot="public">
          <name>XML_PARSE_CATALOG_PI</name>
          <initializer>= 1&lt;&lt;26</initializer>
          <briefdescription>
<para>Enable XML catalog processing instructions. </para>
          </briefdescription>
          <detaileddescription>
<para><simplesect kind="since"><para>2.14.0 </para>
</simplesect>
</para>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1a7d2daaf67df051ca5ef0b319b640442ca032d69248f949f8f44aef2491dec577f" prot="public">
          <name>XML_PARSE_SKIP_IDS</name>
          <initializer>= 1&lt;&lt;27</initializer>
          <briefdescription>
<para>Force the parser to ignore IDs. </para>
          </briefdescription>
          <detaileddescription>
<para><simplesect kind="since"><para>2.15.0 </para>
</simplesect>
</para>
          </detaileddescription>
        </enumvalue>
        <briefdescription>
<para>This is the set of XML parser options that can be passed to <ref refid="parser_8h_1abafd139b6651421e3c8b2a7f2525e183" kindref="member">xmlReadDoc</ref>, <ref refid="parser_8h_1a0e34a099a124079abeeac709a2445279" kindref="member">xmlCtxtSetOptions</ref> and other functions. </para>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1695" column="1" bodyfile="parser.h" bodystart="1695" bodyend="1888"/>
      </memberdef>
      <memberdef kind="enum" id="parser_8h_1ab7ca5b67bda0c933c151e8fdb4aaaf78" prot="public" static="no" strong="no">
        <type></type>
        <name>xmlFeature</name>
        <enumvalue id="parser_8h_1ab7ca5b67bda0c933c151e8fdb4aaaf78a51770dc34922cb61dab67c9bffc7ad8b" prot="public">
          <name>XML_WITH_THREAD</name>
          <initializer>= 1</initializer>
          <briefdescription>
<para>Multithreading support. </para>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1ab7ca5b67bda0c933c151e8fdb4aaaf78a0c594734f637b360b6d8169519f0c2c2" prot="public">
          <name>XML_WITH_TREE</name>
          <initializer>= 2</initializer>
          <briefdescription>
          </briefdescription>
          <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000055"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Always available </para>
</xrefdescription></xrefsect></para>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1ab7ca5b67bda0c933c151e8fdb4aaaf78a450f3e2a855e9bc918229fdd2bb709c4" prot="public">
          <name>XML_WITH_OUTPUT</name>
          <initializer>= 3</initializer>
          <briefdescription>
<para>Serialization support. </para>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1ab7ca5b67bda0c933c151e8fdb4aaaf78a9dca3b6cae309b1b76b125a31ce8740a" prot="public">
          <name>XML_WITH_PUSH</name>
          <initializer>= 4</initializer>
          <briefdescription>
<para>Push parser. </para>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1ab7ca5b67bda0c933c151e8fdb4aaaf78abf94cab7c101c444579f96f2d740017d" prot="public">
          <name>XML_WITH_READER</name>
          <initializer>= 5</initializer>
          <briefdescription>
<para>XML Reader. </para>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1ab7ca5b67bda0c933c151e8fdb4aaaf78ab00a8c8509261268d7bafcf89d0b52f4" prot="public">
          <name>XML_WITH_PATTERN</name>
          <initializer>= 6</initializer>
          <briefdescription>
<para>Streaming patterns. </para>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1ab7ca5b67bda0c933c151e8fdb4aaaf78ab69f61fb0ea4aedd3d64a77dfc0bbeaa" prot="public">
          <name>XML_WITH_WRITER</name>
          <initializer>= 7</initializer>
          <briefdescription>
<para>XML Writer. </para>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1ab7ca5b67bda0c933c151e8fdb4aaaf78aaf2cea571679cdd6bbd4cab03dc4303f" prot="public">
          <name>XML_WITH_SAX1</name>
          <initializer>= 8</initializer>
          <briefdescription>
<para>Legacy SAX1 API. </para>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1ab7ca5b67bda0c933c151e8fdb4aaaf78abb36769500bebd9d3c5a5ebc921eb2b9" prot="public">
          <name>XML_WITH_FTP</name>
          <initializer>= 9</initializer>
          <briefdescription>
          </briefdescription>
          <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000056"><xreftitle>Deprecated</xreftitle><xrefdescription><para>FTP support was removed </para>
</xrefdescription></xrefsect></para>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1ab7ca5b67bda0c933c151e8fdb4aaaf78abd00e51b0e2cdebfef9412977ee6e7d0" prot="public">
          <name>XML_WITH_HTTP</name>
          <initializer>= 10</initializer>
          <briefdescription>
          </briefdescription>
          <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000057"><xreftitle>Deprecated</xreftitle><xrefdescription><para>HTTP support was removed </para>
</xrefdescription></xrefsect></para>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1ab7ca5b67bda0c933c151e8fdb4aaaf78a4c17c36bc47a4355d6ea1e26409feee9" prot="public">
          <name>XML_WITH_VALID</name>
          <initializer>= 11</initializer>
          <briefdescription>
<para>DTD validation. </para>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1ab7ca5b67bda0c933c151e8fdb4aaaf78a8a45ef7611d0108c71760166b85c8c3b" prot="public">
          <name>XML_WITH_HTML</name>
          <initializer>= 12</initializer>
          <briefdescription>
<para>HTML parser. </para>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1ab7ca5b67bda0c933c151e8fdb4aaaf78a04d682a6dc04bd29847dad333ed07517" prot="public">
          <name>XML_WITH_LEGACY</name>
          <initializer>= 13</initializer>
          <briefdescription>
<para>Legacy symbols. </para>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1ab7ca5b67bda0c933c151e8fdb4aaaf78a6cf68cf41ae8bc998a3833e9724c5c49" prot="public">
          <name>XML_WITH_C14N</name>
          <initializer>= 14</initializer>
          <briefdescription>
<para>Canonical XML. </para>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1ab7ca5b67bda0c933c151e8fdb4aaaf78a07c4c6a886a5b1bd7e45a1db5fba9712" prot="public">
          <name>XML_WITH_CATALOG</name>
          <initializer>= 15</initializer>
          <briefdescription>
<para>XML Catalogs. </para>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1ab7ca5b67bda0c933c151e8fdb4aaaf78a08096d568aab4327a60014107d015b63" prot="public">
          <name>XML_WITH_XPATH</name>
          <initializer>= 16</initializer>
          <briefdescription>
<para>XPath. </para>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1ab7ca5b67bda0c933c151e8fdb4aaaf78a261e5d515ee4860530978262920b2ec1" prot="public">
          <name>XML_WITH_XPTR</name>
          <initializer>= 17</initializer>
          <briefdescription>
<para>XPointer. </para>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1ab7ca5b67bda0c933c151e8fdb4aaaf78ad768f261fc12f45d486289515777bc96" prot="public">
          <name>XML_WITH_XINCLUDE</name>
          <initializer>= 18</initializer>
          <briefdescription>
<para>XInclude. </para>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1ab7ca5b67bda0c933c151e8fdb4aaaf78aa059b0b2af378b447950cfac46272902" prot="public">
          <name>XML_WITH_ICONV</name>
          <initializer>= 19</initializer>
          <briefdescription>
<para>iconv </para>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1ab7ca5b67bda0c933c151e8fdb4aaaf78a967975edbcebe26ed01d257be68f7125" prot="public">
          <name>XML_WITH_ISO8859X</name>
          <initializer>= 20</initializer>
          <briefdescription>
<para>Built-in ISO-8859-X. </para>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1ab7ca5b67bda0c933c151e8fdb4aaaf78a7c5468bb939d2759f95bed17520dd201" prot="public">
          <name>XML_WITH_UNICODE</name>
          <initializer>= 21</initializer>
          <briefdescription>
          </briefdescription>
          <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000058"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Removed </para>
</xrefdescription></xrefsect></para>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1ab7ca5b67bda0c933c151e8fdb4aaaf78a87a06324ade63d1cb53fda529255e9c2" prot="public">
          <name>XML_WITH_REGEXP</name>
          <initializer>= 22</initializer>
          <briefdescription>
<para>Regular expressions. </para>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1ab7ca5b67bda0c933c151e8fdb4aaaf78a92e31f8ff3e5ebb476e722a11686c8a8" prot="public">
          <name>XML_WITH_AUTOMATA</name>
          <initializer>= 23</initializer>
          <briefdescription>
          </briefdescription>
          <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000059"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Same as XML_WITH_REGEXP </para>
</xrefdescription></xrefsect></para>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1ab7ca5b67bda0c933c151e8fdb4aaaf78a4a1f5c17e3fa78da037134ca408248fb" prot="public">
          <name>XML_WITH_EXPR</name>
          <initializer>= 24</initializer>
          <briefdescription>
          </briefdescription>
          <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000060"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Removed </para>
</xrefdescription></xrefsect></para>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1ab7ca5b67bda0c933c151e8fdb4aaaf78a638348d985431d7ebcbb23caf67af251" prot="public">
          <name>XML_WITH_SCHEMAS</name>
          <initializer>= 25</initializer>
          <briefdescription>
<para>XML Schemas. </para>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1ab7ca5b67bda0c933c151e8fdb4aaaf78add5324817d5e42be52d8526da5bc56a8" prot="public">
          <name>XML_WITH_SCHEMATRON</name>
          <initializer>= 26</initializer>
          <briefdescription>
<para>Schematron. </para>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1ab7ca5b67bda0c933c151e8fdb4aaaf78a7204e79e6b537eb59deb9085b3351e2c" prot="public">
          <name>XML_WITH_MODULES</name>
          <initializer>= 27</initializer>
          <briefdescription>
<para>Loadable modules. </para>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1ab7ca5b67bda0c933c151e8fdb4aaaf78a019de3a7bdfcdb3b325804f72b9c3171" prot="public">
          <name>XML_WITH_DEBUG</name>
          <initializer>= 28</initializer>
          <briefdescription>
<para>Debugging API. </para>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1ab7ca5b67bda0c933c151e8fdb4aaaf78a1cc914713ceb076b337d0b4f31453637" prot="public">
          <name>XML_WITH_DEBUG_MEM</name>
          <initializer>= 29</initializer>
          <briefdescription>
          </briefdescription>
          <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000061"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Removed </para>
</xrefdescription></xrefsect></para>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1ab7ca5b67bda0c933c151e8fdb4aaaf78a21e9fea1810811ea443cf1e6166332ff" prot="public">
          <name>XML_WITH_DEBUG_RUN</name>
          <initializer>= 30</initializer>
          <briefdescription>
          </briefdescription>
          <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000062"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Removed </para>
</xrefdescription></xrefsect></para>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1ab7ca5b67bda0c933c151e8fdb4aaaf78aaca31b5811028a72241c15f067d98eaf" prot="public">
          <name>XML_WITH_ZLIB</name>
          <initializer>= 31</initializer>
          <briefdescription>
<para>GZIP compression. </para>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1ab7ca5b67bda0c933c151e8fdb4aaaf78ae2a42d8516cf994f2897dec2de9da22c" prot="public">
          <name>XML_WITH_ICU</name>
          <initializer>= 32</initializer>
          <briefdescription>
<para>ICU. </para>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1ab7ca5b67bda0c933c151e8fdb4aaaf78a8c1dbb462e2fd648158cc8acc08a8dde" prot="public">
          <name>XML_WITH_LZMA</name>
          <initializer>= 33</initializer>
          <briefdescription>
          </briefdescription>
          <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000063"><xreftitle>Deprecated</xreftitle><xrefdescription><para>LZMA support was removed </para>
</xrefdescription></xrefsect></para>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1ab7ca5b67bda0c933c151e8fdb4aaaf78a2b141bbb4ccc4ce0b6a70edccafb250d" prot="public">
          <name>XML_WITH_RELAXNG</name>
          <initializer>= 34</initializer>
          <briefdescription>
<para>RELAXNG, since 2.14. </para>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="parser_8h_1ab7ca5b67bda0c933c151e8fdb4aaaf78a7880ffe6787f3160f74bddb6dbd260e8" prot="public">
          <name>XML_WITH_NONE</name>
          <initializer>= 99999</initializer>
          <briefdescription>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <briefdescription>
<para>Used to examine the existence of features that can be enabled or disabled at compile-time. </para>
        </briefdescription>
        <detaileddescription>
<para>They used to be called XML_FEATURE_xxx but this clashed with Expat </para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="2083" column="1" bodyfile="parser.h" bodystart="2083" bodyend="2153"/>
      </memberdef>
    </sectiondef>
    <sectiondef kind="typedef">
      <memberdef kind="typedef" id="parser_8h_1a979dc8c3ee1afe87a23765aca2b3da86" prot="public" static="no">
        <type>void(*</type>
        <definition>typedef void(* xmlParserInputDeallocate) (xmlChar *str)</definition>
        <argsstring>)(xmlChar *str)</argsstring>
        <name>xmlParserInputDeallocate</name>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="96" column="9" bodyfile="parser.h" bodystart="96" bodyend="-1"/>
      </memberdef>
      <memberdef kind="typedef" id="parser_8h_1a7c18bf0fce4a02394bd219d9422c27ed" prot="public" static="no">
        <type><ref refid="xmlerror_8h_1adc147424b5aac85cccf5018513b9ec14" kindref="member">xmlParserErrors</ref>(*</type>
        <definition>typedef xmlParserErrors(* xmlResourceLoader) (void *ctxt, const char *url, const char *publicId, xmlResourceType type, xmlParserInputFlags flags, xmlParserInput **out)</definition>
        <argsstring>)(void *ctxt, const char *url, const char *publicId, xmlResourceType type, xmlParserInputFlags flags, xmlParserInput **out)</argsstring>
        <name>xmlResourceLoader</name>
        <briefdescription>
<para>Callback for custom resource loaders. </para>
        </briefdescription>
        <detaileddescription>
<para><computeroutput>flags</computeroutput> can contain XML_INPUT_UNZIP and XML_INPUT_NETWORK.</para>
<para>The URL is resolved using XML catalogs before being passed to the callback.</para>
<para>On success, <computeroutput>out</computeroutput> should be set to a new parser input object and XML_ERR_OK should be returned.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>parser context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>url</parametername>
</parameternamelist>
<parameterdescription>
<para>URL or system ID to load </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>publicId</parametername>
</parameternamelist>
<parameterdescription>
<para>publid ID from DTD (optional) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>type</parametername>
</parameternamelist>
<parameterdescription>
<para>resource type </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>flags</parametername>
</parameternamelist>
<parameterdescription>
<para>flags </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>out</parametername>
</parameternamelist>
<parameterdescription>
<para>result pointer </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>an xmlParserErrors code. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="249" column="9" bodyfile="parser.h" bodystart="250" bodyend="-1"/>
      </memberdef>
      <memberdef kind="typedef" id="parser_8h_1a2f6713769c7d76ee892c8d2b8440441c" prot="public" static="no">
        <type><ref refid="tree_8h_1aa05e6cbf6c68ec5a2e33ddabddf58b7d" kindref="member">xmlParserInput</ref> *(*</type>
        <definition>typedef xmlParserInput *(* resolveEntitySAXFunc) (void *ctx, const xmlChar *publicId, const xmlChar *systemId)</definition>
        <argsstring>)(void *ctx, const xmlChar *publicId, const xmlChar *systemId)</argsstring>
        <name>resolveEntitySAXFunc</name>
        <briefdescription>
<para>SAX callback to resolve external entities. </para>
        </briefdescription>
        <detaileddescription>
<para>This is only used to load DTDs. The preferred way to install custom resolvers is <ref refid="parser_8h_1a5e0c3103a2d3b1e9003760479e1e8704" kindref="member">xmlCtxtSetResourceLoader</ref>.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctx</parametername>
</parameternamelist>
<parameterdescription>
<para>the user data (XML parser context) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>publicId</parametername>
</parameternamelist>
<parameterdescription>
<para>The public identifier of the entity </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>systemId</parametername>
</parameternamelist>
<parameterdescription>
<para>The system identifier of the entity (URL) </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the xmlParserInput if inlined or NULL for DOM behaviour. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="667" column="9" bodyfile="parser.h" bodystart="667" bodyend="-1"/>
      </memberdef>
      <memberdef kind="typedef" id="parser_8h_1ae3be3f05449fd58f28dab948f98c0019" prot="public" static="no">
        <type>void(*</type>
        <definition>typedef void(* internalSubsetSAXFunc) (void *ctx, const xmlChar *name, const xmlChar *publicId, const xmlChar *systemId)</definition>
        <argsstring>)(void *ctx, const xmlChar *name, const xmlChar *publicId, const xmlChar *systemId)</argsstring>
        <name>internalSubsetSAXFunc</name>
        <briefdescription>
<para>SAX callback for the internal subset. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctx</parametername>
</parameternamelist>
<parameterdescription>
<para>the user data (XML parser context) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>name</parametername>
</parameternamelist>
<parameterdescription>
<para>the root element name </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>publicId</parametername>
</parameternamelist>
<parameterdescription>
<para>the public identifier </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>systemId</parametername>
</parameternamelist>
<parameterdescription>
<para>the system identifier (e.g. filename or URL) </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="678" column="9" bodyfile="parser.h" bodystart="678" bodyend="-1"/>
      </memberdef>
      <memberdef kind="typedef" id="parser_8h_1a97f9adc14726a761e46415cc938c8657" prot="public" static="no">
        <type>void(*</type>
        <definition>typedef void(* externalSubsetSAXFunc) (void *ctx, const xmlChar *name, const xmlChar *publicId, const xmlChar *systemId)</definition>
        <argsstring>)(void *ctx, const xmlChar *name, const xmlChar *publicId, const xmlChar *systemId)</argsstring>
        <name>externalSubsetSAXFunc</name>
        <briefdescription>
<para>SAX callback for the external subset. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctx</parametername>
</parameternamelist>
<parameterdescription>
<para>the user data (XML parser context) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>name</parametername>
</parameternamelist>
<parameterdescription>
<para>the root element name </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>publicId</parametername>
</parameternamelist>
<parameterdescription>
<para>the public identifier </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>systemId</parametername>
</parameternamelist>
<parameterdescription>
<para>the system identifier (e.g. filename or URL) </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="690" column="9" bodyfile="parser.h" bodystart="690" bodyend="-1"/>
      </memberdef>
      <memberdef kind="typedef" id="parser_8h_1aaa9c8e4e3ed37a64eced66e8d72840c1" prot="public" static="no">
        <type><ref refid="tree_8h_1a084cd84a8cefc3c95c7eaf95b2e652ce" kindref="member">xmlEntity</ref> *(*</type>
        <definition>typedef xmlEntity *(* getEntitySAXFunc) (void *ctx, const xmlChar *name)</definition>
        <argsstring>)(void *ctx, const xmlChar *name)</argsstring>
        <name>getEntitySAXFunc</name>
        <briefdescription>
<para>SAX callback to look up a general entity by name. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctx</parametername>
</parameternamelist>
<parameterdescription>
<para>the user data (XML parser context) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>name</parametername>
</parameternamelist>
<parameterdescription>
<para>The entity name </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the xmlEntity if found. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="701" column="9" bodyfile="parser.h" bodystart="701" bodyend="-1"/>
      </memberdef>
      <memberdef kind="typedef" id="parser_8h_1a01130568df5ed0f24653a00caf419cbf" prot="public" static="no">
        <type><ref refid="tree_8h_1a084cd84a8cefc3c95c7eaf95b2e652ce" kindref="member">xmlEntity</ref> *(*</type>
        <definition>typedef xmlEntity *(* getParameterEntitySAXFunc) (void *ctx, const xmlChar *name)</definition>
        <argsstring>)(void *ctx, const xmlChar *name)</argsstring>
        <name>getParameterEntitySAXFunc</name>
        <briefdescription>
<para>SAX callback to look up a parameter entity by name. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctx</parametername>
</parameternamelist>
<parameterdescription>
<para>the user data (XML parser context) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>name</parametername>
</parameternamelist>
<parameterdescription>
<para>The entity name </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the xmlEntity if found. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="710" column="9" bodyfile="parser.h" bodystart="710" bodyend="-1"/>
      </memberdef>
      <memberdef kind="typedef" id="parser_8h_1a85f408324c98a8d32b8e6555c952bb11" prot="public" static="no">
        <type>void(*</type>
        <definition>typedef void(* entityDeclSAXFunc) (void *ctx, const xmlChar *name, int type, const xmlChar *publicId, const xmlChar *systemId, xmlChar *content)</definition>
        <argsstring>)(void *ctx, const xmlChar *name, int type, const xmlChar *publicId, const xmlChar *systemId, xmlChar *content)</argsstring>
        <name>entityDeclSAXFunc</name>
        <briefdescription>
<para>SAX callback for entity declarations. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctx</parametername>
</parameternamelist>
<parameterdescription>
<para>the user data (XML parser context) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>name</parametername>
</parameternamelist>
<parameterdescription>
<para>the entity name </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>type</parametername>
</parameternamelist>
<parameterdescription>
<para>the entity type </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>publicId</parametername>
</parameternamelist>
<parameterdescription>
<para>The public ID of the entity </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>systemId</parametername>
</parameternamelist>
<parameterdescription>
<para>The system ID of the entity </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>content</parametername>
</parameternamelist>
<parameterdescription>
<para>the entity value (without processing). </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="722" column="9" bodyfile="parser.h" bodystart="722" bodyend="-1"/>
      </memberdef>
      <memberdef kind="typedef" id="parser_8h_1ae868d0df93c6a017772407d739099b5a" prot="public" static="no">
        <type>void(*</type>
        <definition>typedef void(* notationDeclSAXFunc) (void *ctx, const xmlChar *name, const xmlChar *publicId, const xmlChar *systemId)</definition>
        <argsstring>)(void *ctx, const xmlChar *name, const xmlChar *publicId, const xmlChar *systemId)</argsstring>
        <name>notationDeclSAXFunc</name>
        <briefdescription>
<para>SAX callback for notation declarations. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctx</parametername>
</parameternamelist>
<parameterdescription>
<para>the user data (XML parser context) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>name</parametername>
</parameternamelist>
<parameterdescription>
<para>The name of the notation </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>publicId</parametername>
</parameternamelist>
<parameterdescription>
<para>The public ID of the notation </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>systemId</parametername>
</parameternamelist>
<parameterdescription>
<para>The system ID of the notation </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="736" column="9" bodyfile="parser.h" bodystart="736" bodyend="-1"/>
      </memberdef>
      <memberdef kind="typedef" id="parser_8h_1a4a7d84270ecad8060391d9c4c7cf6d57" prot="public" static="no">
        <type>void(*</type>
        <definition>typedef void(* attributeDeclSAXFunc) (void *ctx, const xmlChar *elem, const xmlChar *fullname, int type, int def, const xmlChar *defaultValue, xmlEnumeration *tree)</definition>
        <argsstring>)(void *ctx, const xmlChar *elem, const xmlChar *fullname, int type, int def, const xmlChar *defaultValue, xmlEnumeration *tree)</argsstring>
        <name>attributeDeclSAXFunc</name>
        <briefdescription>
<para>SAX callback for attribute declarations. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctx</parametername>
</parameternamelist>
<parameterdescription>
<para>the user data (XML parser context) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>elem</parametername>
</parameternamelist>
<parameterdescription>
<para>the name of the element </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>fullname</parametername>
</parameternamelist>
<parameterdescription>
<para>the attribute name </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>type</parametername>
</parameternamelist>
<parameterdescription>
<para>the attribute type </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>def</parametername>
</parameternamelist>
<parameterdescription>
<para>the type of default value </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>defaultValue</parametername>
</parameternamelist>
<parameterdescription>
<para>the attribute default value </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>tree</parametername>
</parameternamelist>
<parameterdescription>
<para>the tree of enumerated value set </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="751" column="9" bodyfile="parser.h" bodystart="751" bodyend="-1"/>
      </memberdef>
      <memberdef kind="typedef" id="parser_8h_1ac5ec19a6df95c97d32144d4f8213c400" prot="public" static="no">
        <type>void(*</type>
        <definition>typedef void(* elementDeclSAXFunc) (void *ctx, const xmlChar *name, int type, xmlElementContent *content)</definition>
        <argsstring>)(void *ctx, const xmlChar *name, int type, xmlElementContent *content)</argsstring>
        <name>elementDeclSAXFunc</name>
        <briefdescription>
<para>SAX callback for element declarations. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctx</parametername>
</parameternamelist>
<parameterdescription>
<para>the user data (XML parser context) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>name</parametername>
</parameternamelist>
<parameterdescription>
<para>the element name </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>type</parametername>
</parameternamelist>
<parameterdescription>
<para>the element type </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>content</parametername>
</parameternamelist>
<parameterdescription>
<para>the element value tree </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="766" column="9" bodyfile="parser.h" bodystart="766" bodyend="-1"/>
      </memberdef>
      <memberdef kind="typedef" id="parser_8h_1a6354bab61867807bfd9604458f4cb895" prot="public" static="no">
        <type>void(*</type>
        <definition>typedef void(* unparsedEntityDeclSAXFunc) (void *ctx, const xmlChar *name, const xmlChar *publicId, const xmlChar *systemId, const xmlChar *notationName)</definition>
        <argsstring>)(void *ctx, const xmlChar *name, const xmlChar *publicId, const xmlChar *systemId, const xmlChar *notationName)</argsstring>
        <name>unparsedEntityDeclSAXFunc</name>
        <briefdescription>
<para>SAX callback for unparsed entity declarations. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctx</parametername>
</parameternamelist>
<parameterdescription>
<para>the user data (XML parser context) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>name</parametername>
</parameternamelist>
<parameterdescription>
<para>The name of the entity </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>publicId</parametername>
</parameternamelist>
<parameterdescription>
<para>The public ID of the entity </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>systemId</parametername>
</parameternamelist>
<parameterdescription>
<para>The system ID of the entity </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>notationName</parametername>
</parameternamelist>
<parameterdescription>
<para>the name of the notation </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="779" column="9" bodyfile="parser.h" bodystart="779" bodyend="-1"/>
      </memberdef>
      <memberdef kind="typedef" id="parser_8h_1a4a2cd6237b2699478b458e4850f2d063" prot="public" static="no">
        <type>void(*</type>
        <definition>typedef void(* setDocumentLocatorSAXFunc) (void *ctx, xmlSAXLocator *loc)</definition>
        <argsstring>)(void *ctx, xmlSAXLocator *loc)</argsstring>
        <name>setDocumentLocatorSAXFunc</name>
        <briefdescription>
<para>This callback receives the &quot;document locator&quot; at startup, which is always the global xmlDefaultSAXLocator. </para>
        </briefdescription>
        <detaileddescription>
<para>Everything is available on the context, so this is useless in our case.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctx</parametername>
</parameternamelist>
<parameterdescription>
<para>the user data (XML parser context) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>loc</parametername>
</parameternamelist>
<parameterdescription>
<para>A SAX Locator </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="794" column="9" bodyfile="parser.h" bodystart="794" bodyend="-1"/>
      </memberdef>
      <memberdef kind="typedef" id="parser_8h_1a4268bb28d5cde065e253072f9fb043f7" prot="public" static="no">
        <type>void(*</type>
        <definition>typedef void(* startDocumentSAXFunc) (void *ctx)</definition>
        <argsstring>)(void *ctx)</argsstring>
        <name>startDocumentSAXFunc</name>
        <briefdescription>
<para>SAX callback for start of document. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctx</parametername>
</parameternamelist>
<parameterdescription>
<para>the user data (XML parser context) </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="801" column="9" bodyfile="parser.h" bodystart="801" bodyend="-1"/>
      </memberdef>
      <memberdef kind="typedef" id="parser_8h_1ac608920fca862211a347b7e566da5f07" prot="public" static="no">
        <type>void(*</type>
        <definition>typedef void(* endDocumentSAXFunc) (void *ctx)</definition>
        <argsstring>)(void *ctx)</argsstring>
        <name>endDocumentSAXFunc</name>
        <briefdescription>
<para>SAX callback for end of document. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctx</parametername>
</parameternamelist>
<parameterdescription>
<para>the user data (XML parser context) </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="807" column="9" bodyfile="parser.h" bodystart="807" bodyend="-1"/>
      </memberdef>
      <memberdef kind="typedef" id="parser_8h_1acd161dbf36daa156e929c43f0da82a57" prot="public" static="no">
        <type>void(*</type>
        <definition>typedef void(* startElementSAXFunc) (void *ctx, const xmlChar *name, const xmlChar **atts)</definition>
        <argsstring>)(void *ctx, const xmlChar *name, const xmlChar **atts)</argsstring>
        <name>startElementSAXFunc</name>
        <briefdescription>
<para>SAX callback for start tags. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctx</parametername>
</parameternamelist>
<parameterdescription>
<para>the user data (XML parser context) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>name</parametername>
</parameternamelist>
<parameterdescription>
<para>The element name, including namespace prefix </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>atts</parametername>
</parameternamelist>
<parameterdescription>
<para>An array of name/value attributes pairs, NULL terminated </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="815" column="9" bodyfile="parser.h" bodystart="815" bodyend="-1"/>
      </memberdef>
      <memberdef kind="typedef" id="parser_8h_1aa95bf34c49f3de2488ef85a4c29e5b8f" prot="public" static="no">
        <type>void(*</type>
        <definition>typedef void(* endElementSAXFunc) (void *ctx, const xmlChar *name)</definition>
        <argsstring>)(void *ctx, const xmlChar *name)</argsstring>
        <name>endElementSAXFunc</name>
        <briefdescription>
<para>SAX callback for end tags. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctx</parametername>
</parameternamelist>
<parameterdescription>
<para>the user data (XML parser context) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>name</parametername>
</parameternamelist>
<parameterdescription>
<para>The element name </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="824" column="9" bodyfile="parser.h" bodystart="824" bodyend="-1"/>
      </memberdef>
      <memberdef kind="typedef" id="parser_8h_1a58ea5c070c26c3bb385152ef8f731e77" prot="public" static="no">
        <type>void(*</type>
        <definition>typedef void(* attributeSAXFunc) (void *ctx, const xmlChar *name, const xmlChar *value)</definition>
        <argsstring>)(void *ctx, const xmlChar *name, const xmlChar *value)</argsstring>
        <name>attributeSAXFunc</name>
        <briefdescription>
<para>Callback for attributes. </para>
        </briefdescription>
        <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000003"><xreftitle>Deprecated</xreftitle><xrefdescription><para>This typedef is unused.</para>
</xrefdescription></xrefsect></para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctx</parametername>
</parameternamelist>
<parameterdescription>
<para>the user data (XML parser context) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>name</parametername>
</parameternamelist>
<parameterdescription>
<para>The attribute name, including namespace prefix </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>value</parametername>
</parameternamelist>
<parameterdescription>
<para>The attribute value </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="835" column="9" bodyfile="parser.h" bodystart="835" bodyend="-1"/>
      </memberdef>
      <memberdef kind="typedef" id="parser_8h_1aec86c94e515536f0b51b49226fbc2d8c" prot="public" static="no">
        <type>void(*</type>
        <definition>typedef void(* referenceSAXFunc) (void *ctx, const xmlChar *name)</definition>
        <argsstring>)(void *ctx, const xmlChar *name)</argsstring>
        <name>referenceSAXFunc</name>
        <briefdescription>
<para>SAX callback for entity references. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctx</parametername>
</parameternamelist>
<parameterdescription>
<para>the user data (XML parser context) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>name</parametername>
</parameternamelist>
<parameterdescription>
<para>The entity name </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="844" column="9" bodyfile="parser.h" bodystart="844" bodyend="-1"/>
      </memberdef>
      <memberdef kind="typedef" id="parser_8h_1a7fd5e24151a5d5600ae4dce65969ec6c" prot="public" static="no">
        <type>void(*</type>
        <definition>typedef void(* charactersSAXFunc) (void *ctx, const xmlChar *ch, int len)</definition>
        <argsstring>)(void *ctx, const xmlChar *ch, int len)</argsstring>
        <name>charactersSAXFunc</name>
        <briefdescription>
<para>SAX callback for character data. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctx</parametername>
</parameternamelist>
<parameterdescription>
<para>the user data (XML parser context) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>ch</parametername>
</parameternamelist>
<parameterdescription>
<para>a xmlChar string </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>len</parametername>
</parameternamelist>
<parameterdescription>
<para>the number of xmlChar </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="853" column="9" bodyfile="parser.h" bodystart="853" bodyend="-1"/>
      </memberdef>
      <memberdef kind="typedef" id="parser_8h_1aa33097820941f90d7f40002ea1645522" prot="public" static="no">
        <type>void(*</type>
        <definition>typedef void(* ignorableWhitespaceSAXFunc) (void *ctx, const xmlChar *ch, int len)</definition>
        <argsstring>)(void *ctx, const xmlChar *ch, int len)</argsstring>
        <name>ignorableWhitespaceSAXFunc</name>
        <briefdescription>
<para>SAX callback for &quot;ignorable&quot; whitespace. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctx</parametername>
</parameternamelist>
<parameterdescription>
<para>the user data (XML parser context) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>ch</parametername>
</parameternamelist>
<parameterdescription>
<para>a xmlChar string </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>len</parametername>
</parameternamelist>
<parameterdescription>
<para>the number of xmlChar </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="863" column="9" bodyfile="parser.h" bodystart="863" bodyend="-1"/>
      </memberdef>
      <memberdef kind="typedef" id="parser_8h_1a67fec9511920e346c9cf8db23619bf94" prot="public" static="no">
        <type>void(*</type>
        <definition>typedef void(* processingInstructionSAXFunc) (void *ctx, const xmlChar *target, const xmlChar *data)</definition>
        <argsstring>)(void *ctx, const xmlChar *target, const xmlChar *data)</argsstring>
        <name>processingInstructionSAXFunc</name>
        <briefdescription>
<para>SAX callback for processing instructions. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctx</parametername>
</parameternamelist>
<parameterdescription>
<para>the user data (XML parser context) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>target</parametername>
</parameternamelist>
<parameterdescription>
<para>the target name </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>data</parametername>
</parameternamelist>
<parameterdescription>
<para>the PI data&apos;s </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="873" column="9" bodyfile="parser.h" bodystart="873" bodyend="-1"/>
      </memberdef>
      <memberdef kind="typedef" id="parser_8h_1a4c805c301c421fcc1706f23318089471" prot="public" static="no">
        <type>void(*</type>
        <definition>typedef void(* commentSAXFunc) (void *ctx, const xmlChar *value)</definition>
        <argsstring>)(void *ctx, const xmlChar *value)</argsstring>
        <name>commentSAXFunc</name>
        <briefdescription>
<para>SAX callback for comments. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctx</parametername>
</parameternamelist>
<parameterdescription>
<para>the user data (XML parser context) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>value</parametername>
</parameternamelist>
<parameterdescription>
<para>the comment content </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="882" column="9" bodyfile="parser.h" bodystart="882" bodyend="-1"/>
      </memberdef>
      <memberdef kind="typedef" id="parser_8h_1a0b0bc862805a2b3dda16c90504e5483f" prot="public" static="no">
        <type>void(*</type>
        <definition>typedef void(* cdataBlockSAXFunc) (void *ctx, const xmlChar *value, int len)</definition>
        <argsstring>)(void *ctx, const xmlChar *value, int len)</argsstring>
        <name>cdataBlockSAXFunc</name>
        <briefdescription>
<para>SAX callback for CDATA sections. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctx</parametername>
</parameternamelist>
<parameterdescription>
<para>the user data (XML parser context) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>value</parametername>
</parameternamelist>
<parameterdescription>
<para>The pcdata content </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>len</parametername>
</parameternamelist>
<parameterdescription>
<para>the block length </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="891" column="9" bodyfile="parser.h" bodystart="891" bodyend="-1"/>
      </memberdef>
      <memberdef kind="typedef" id="parser_8h_1a3c936add47426035072fa3c74c756a0d" prot="public" static="no">
        <type>void(*</type>
        <definition>typedef void(* warningSAXFunc) (void *ctx, const char *msg,...)</definition>
        <argsstring>)(void *ctx, const char *msg,...)</argsstring>
        <name>warningSAXFunc</name>
        <briefdescription>
<para>SAX callback for warning messages. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctx</parametername>
</parameternamelist>
<parameterdescription>
<para>an XML parser context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>msg</parametername>
</parameternamelist>
<parameterdescription>
<para>the message to display/transmit </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>...</parametername>
</parameternamelist>
<parameterdescription>
<para>extra parameters for the message display </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="902" column="9" bodyfile="parser.h" bodystart="902" bodyend="-1"/>
      </memberdef>
      <memberdef kind="typedef" id="parser_8h_1a17346e47f79a3e856155920008def17a" prot="public" static="no">
        <type>void(*</type>
        <definition>typedef void(* errorSAXFunc) (void *ctx, const char *msg,...)</definition>
        <argsstring>)(void *ctx, const char *msg,...)</argsstring>
        <name>errorSAXFunc</name>
        <briefdescription>
<para>SAX callback for error messages. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctx</parametername>
</parameternamelist>
<parameterdescription>
<para>an XML parser context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>msg</parametername>
</parameternamelist>
<parameterdescription>
<para>the message to display/transmit </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>...</parametername>
</parameternamelist>
<parameterdescription>
<para>extra parameters for the message display </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="911" column="9" bodyfile="parser.h" bodystart="911" bodyend="-1"/>
      </memberdef>
      <memberdef kind="typedef" id="parser_8h_1ae8355da372afe12a16911fab33885028" prot="public" static="no">
        <type>void(*</type>
        <definition>typedef void(* fatalErrorSAXFunc) (void *ctx, const char *msg,...)</definition>
        <argsstring>)(void *ctx, const char *msg,...)</argsstring>
        <name>fatalErrorSAXFunc</name>
        <briefdescription>
<para>SAX callback for fatal error messages. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctx</parametername>
</parameternamelist>
<parameterdescription>
<para>an XML parser context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>msg</parametername>
</parameternamelist>
<parameterdescription>
<para>the message to display/transmit </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>...</parametername>
</parameternamelist>
<parameterdescription>
<para>extra parameters for the message display </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="920" column="9" bodyfile="parser.h" bodystart="920" bodyend="-1"/>
      </memberdef>
      <memberdef kind="typedef" id="parser_8h_1aae47c44a3f35c4894abc632c9ee89274" prot="public" static="no">
        <type>int(*</type>
        <definition>typedef int(* isStandaloneSAXFunc) (void *ctx)</definition>
        <argsstring>)(void *ctx)</argsstring>
        <name>isStandaloneSAXFunc</name>
        <briefdescription>
<para>SAX callback to get standalone status. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctx</parametername>
</parameternamelist>
<parameterdescription>
<para>the user data (XML parser context) </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>1 if true </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="928" column="9" bodyfile="parser.h" bodystart="928" bodyend="-1"/>
      </memberdef>
      <memberdef kind="typedef" id="parser_8h_1aa2da3f4f60619e33a10fd52b699f2d4e" prot="public" static="no">
        <type>int(*</type>
        <definition>typedef int(* hasInternalSubsetSAXFunc) (void *ctx)</definition>
        <argsstring>)(void *ctx)</argsstring>
        <name>hasInternalSubsetSAXFunc</name>
        <briefdescription>
<para>SAX callback to get internal subset status. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctx</parametername>
</parameternamelist>
<parameterdescription>
<para>the user data (XML parser context) </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>1 if true </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="935" column="9" bodyfile="parser.h" bodystart="935" bodyend="-1"/>
      </memberdef>
      <memberdef kind="typedef" id="parser_8h_1a8ac7164d8c139e135e3a950215b6ca87" prot="public" static="no">
        <type>int(*</type>
        <definition>typedef int(* hasExternalSubsetSAXFunc) (void *ctx)</definition>
        <argsstring>)(void *ctx)</argsstring>
        <name>hasExternalSubsetSAXFunc</name>
        <briefdescription>
<para>SAX callback to get external subset status. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctx</parametername>
</parameternamelist>
<parameterdescription>
<para>the user data (XML parser context) </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>1 if true </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="943" column="9" bodyfile="parser.h" bodystart="943" bodyend="-1"/>
      </memberdef>
      <memberdef kind="typedef" id="parser_8h_1a08a6538a16841116b2e98bbeaea8fe17" prot="public" static="no">
        <type>void(*</type>
        <definition>typedef void(* startElementNsSAX2Func) (void *ctx, const xmlChar *localname, const xmlChar *prefix, const xmlChar *URI, int nb_namespaces, const xmlChar **namespaces, int nb_attributes, int nb_defaulted, const xmlChar **attributes)</definition>
        <argsstring>)(void *ctx, const xmlChar *localname, const xmlChar *prefix, const xmlChar *URI, int nb_namespaces, const xmlChar **namespaces, int nb_attributes, int nb_defaulted, const xmlChar **attributes)</argsstring>
        <name>startElementNsSAX2Func</name>
        <briefdescription>
<para>SAX2 callback for start tags. </para>
        </briefdescription>
        <detaileddescription>
<para>It provides the namespace information for the element, as well as the new namespace declarations on the element.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctx</parametername>
</parameternamelist>
<parameterdescription>
<para>the user data (XML parser context) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>localname</parametername>
</parameternamelist>
<parameterdescription>
<para>the local name of the element </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>prefix</parametername>
</parameternamelist>
<parameterdescription>
<para>the element namespace prefix if available </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>URI</parametername>
</parameternamelist>
<parameterdescription>
<para>the element namespace name if available </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>nb_namespaces</parametername>
</parameternamelist>
<parameterdescription>
<para>number of namespace definitions on that node </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>namespaces</parametername>
</parameternamelist>
<parameterdescription>
<para>pointer to the array of prefix/URI pairs namespace definitions </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>nb_attributes</parametername>
</parameternamelist>
<parameterdescription>
<para>the number of attributes on that node </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>nb_defaulted</parametername>
</parameternamelist>
<parameterdescription>
<para>the number of defaulted attributes. The defaulted ones are at the end of the array </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>attributes</parametername>
</parameternamelist>
<parameterdescription>
<para>pointer to the array of (localname/prefix/URI/value/end) attribute values. </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="974" column="9" bodyfile="parser.h" bodystart="974" bodyend="-1"/>
      </memberdef>
      <memberdef kind="typedef" id="parser_8h_1ae574d84a860f9183a7cc192c3cdd1f5f" prot="public" static="no">
        <type>void(*</type>
        <definition>typedef void(* endElementNsSAX2Func) (void *ctx, const xmlChar *localname, const xmlChar *prefix, const xmlChar *URI)</definition>
        <argsstring>)(void *ctx, const xmlChar *localname, const xmlChar *prefix, const xmlChar *URI)</argsstring>
        <name>endElementNsSAX2Func</name>
        <briefdescription>
<para>SAX2 callback for end tags. </para>
        </briefdescription>
        <detaileddescription>
<para>It provides the namespace information for the element.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctx</parametername>
</parameternamelist>
<parameterdescription>
<para>the user data (XML parser context) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>localname</parametername>
</parameternamelist>
<parameterdescription>
<para>the local name of the element </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>prefix</parametername>
</parameternamelist>
<parameterdescription>
<para>the element namespace prefix if available </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>URI</parametername>
</parameternamelist>
<parameterdescription>
<para>the element namespace name if available </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="995" column="9" bodyfile="parser.h" bodystart="995" bodyend="-1"/>
      </memberdef>
      <memberdef kind="typedef" id="parser_8h_1a7127f39ff5d23f7a6620ceabaf24dacd" prot="public" static="no">
        <type>struct <ref refid="struct__xmlSAXHandlerV1" kindref="compound">_xmlSAXHandlerV1</ref></type>
        <definition>typedef struct _xmlSAXHandlerV1 xmlSAXHandlerV1</definition>
        <argsstring></argsstring>
        <name>xmlSAXHandlerV1</name>
        <briefdescription>
<para>SAX handler, version 1. </para>
        </briefdescription>
        <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000004"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Use version 2 handlers. </para>
</xrefdescription></xrefsect></para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1197" column="31" bodyfile="parser.h" bodystart="1197" bodyend="-1"/>
      </memberdef>
      <memberdef kind="typedef" id="parser_8h_1a89ef914eed43b16605af4562092d0ea1" prot="public" static="no">
        <type><ref refid="parser_8h_1a7127f39ff5d23f7a6620ceabaf24dacd" kindref="member">xmlSAXHandlerV1</ref> *</type>
        <definition>typedef xmlSAXHandlerV1* xmlSAXHandlerV1Ptr</definition>
        <argsstring></argsstring>
        <name>xmlSAXHandlerV1Ptr</name>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1198" column="25" bodyfile="parser.h" bodystart="1198" bodyend="-1"/>
      </memberdef>
      <memberdef kind="typedef" id="parser_8h_1a6bbf92ce0c6b32b1cd373193d0f5f5f1" prot="public" static="no">
        <type><ref refid="tree_8h_1aa05e6cbf6c68ec5a2e33ddabddf58b7d" kindref="member">xmlParserInput</ref> *(*</type>
        <definition>typedef xmlParserInput *(* xmlExternalEntityLoader) (const char *URL, const char *publicId, xmlParserCtxt *context)</definition>
        <argsstring>)(const char *URL, const char *publicId, xmlParserCtxt *context)</argsstring>
        <name>xmlExternalEntityLoader</name>
        <briefdescription>
<para>Callback for external entity loader. </para>
        </briefdescription>
        <detaileddescription>
<para>The URL is not resolved using XML catalogs before being passed to the callback.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>URL</parametername>
</parameternamelist>
<parameterdescription>
<para>The URL or system ID of the resource requested </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>publicId</parametername>
</parameternamelist>
<parameterdescription>
<para>The public ID of the resource requested (optional) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>context</parametername>
</parameternamelist>
<parameterdescription>
<para>the XML parser context </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the entity input parser or NULL on error. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1247" column="9" bodyfile="parser.h" bodystart="1247" bodyend="-1"/>
      </memberdef>
    </sectiondef>
    <sectiondef kind="var">
      <memberdef kind="variable" id="parser_8h_1aae2711340a96a2dc9b6016f9b18e11db" prot="public" static="no" extern="yes" mutable="no">
        <type>const char *const</type>
        <definition>const char* const xmlParserVersion</definition>
        <argsstring></argsstring>
        <name>xmlParserVersion</name>
        <briefdescription>
<para>Constant string describing the version of the library used at run-time. </para>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1255" column="27" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="191" bodyend="-1" declfile="parser.h" declline="1255" declcolumn="27"/>
      </memberdef>
    </sectiondef>
    <sectiondef kind="func">
      <memberdef kind="function" id="parser_8h_1a642085a16c74b8352e92a89c348cc9c4" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>void xmlInitParser</definition>
        <argsstring>(void)</argsstring>
        <name>xmlInitParser</name>
        <param>
          <type>void</type>
        </param>
        <briefdescription>
<para>Initialization function for the XML parser. </para>
        </briefdescription>
        <detaileddescription>
<para>For older versions, it&apos;s recommended to call this function once from the main thread before using the library in multithreaded programs.</para>
<para>Since 2.14.0, there&apos;s no distinction between threads. It should be unnecessary to call this function. </para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1380" column="1" bodyfile="/builds/GNOME/libxml2/threads.c" bodystart="404" bodyend="415" declfile="parser.h" declline="1380" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a7eb4447bac68a016b428f51cc402369f" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>void xmlCleanupParser</definition>
        <argsstring>(void)</argsstring>
        <name>xmlCleanupParser</name>
        <param>
          <type>void</type>
        </param>
        <briefdescription>
<para>Free global memory allocations. </para>
        </briefdescription>
        <detaileddescription>
<para>This function is named somewhat misleadingly. It does not clean up parser state but frees global memory allocated by various components of the library.</para>
<para>Since 2.9.11, cleanup is performed automatically on most platforms and there&apos;s no need at all for manual cleanup. This includes all compilers and platforms that support GCC-style destructor attributes as well as Windows DLLs.</para>
<para>This function should only be used to avoid false positives from memory leak checkers if automatic cleanup isn&apos;t possible, for example with static builds on MSVC.</para>
<para>WARNING: xmlCleanupParser is not thread-safe. If this function is called and any threads that could make calls into libxml2 are still running, memory corruption is likely to occur.</para>
<para>No library calls must be made (from any thread) after calling this function. In general, <emphasis>this function should only be called right before the whole process exits.</emphasis> Calling this function too early will lead to memory corruption. </para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1382" column="1" bodyfile="/builds/GNOME/libxml2/threads.c" bodystart="443" bodyend="502" declfile="parser.h" declline="1382" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a78825cacd25f23ce04a5298e25a12df0" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>void xmlInitGlobals</definition>
        <argsstring>(void)</argsstring>
        <name>xmlInitGlobals</name>
        <param>
          <type>void</type>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000140"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Alias for <ref refid="parser_8h_1a642085a16c74b8352e92a89c348cc9c4" kindref="member">xmlInitParser</ref>. </para>
</xrefdescription></xrefsect></para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1385" column="1" bodyfile="/builds/GNOME/libxml2/globals.c" bodystart="350" bodyend="352" declfile="parser.h" declline="1385" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a82f973212972dfea97a84d0964f754a8" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>void xmlCleanupGlobals</definition>
        <argsstring>(void)</argsstring>
        <name>xmlCleanupGlobals</name>
        <param>
          <type>void</type>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000141"><xreftitle>Deprecated</xreftitle><xrefdescription><para>This function is a no-op. Call <ref refid="parser_8h_1a7eb4447bac68a016b428f51cc402369f" kindref="member">xmlCleanupParser</ref> to free global state but see the warnings there. <ref refid="parser_8h_1a7eb4447bac68a016b428f51cc402369f" kindref="member">xmlCleanupParser</ref> should be only called once at program exit. In most cases, you don&apos;t have call cleanup functions at all. </para>
</xrefdescription></xrefsect></para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1388" column="1" bodyfile="/builds/GNOME/libxml2/globals.c" bodystart="378" bodyend="379" declfile="parser.h" declline="1388" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1ad479ee83f15aefc875d075998f5a1c72" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlParserInputRead</definition>
        <argsstring>(xmlParserInput *in, int len)</argsstring>
        <name>xmlParserInputRead</name>
        <param>
          <type><ref refid="tree_8h_1aa05e6cbf6c68ec5a2e33ddabddf58b7d" kindref="member">xmlParserInput</ref> *</type>
          <declname>in</declname>
        </param>
        <param>
          <type>int</type>
          <declname>len</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000262"><xreftitle>Deprecated</xreftitle><xrefdescription><para>This function was internal and is deprecated.</para>
</xrefdescription></xrefsect></para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>in</parametername>
</parameternamelist>
<parameterdescription>
<para>an XML parser input </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>len</parametername>
</parameternamelist>
<parameterdescription>
<para>an indicative size for the lookahead </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>-1 as this is an error to use it. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1395" column="1" bodyfile="/builds/GNOME/libxml2/parserInternals.c" bodystart="605" bodyend="607" declfile="parser.h" declline="1395" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a1f96020da8017d1eb6bc203685fef58b" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlParserInputGrow</definition>
        <argsstring>(xmlParserInput *in, int len)</argsstring>
        <name>xmlParserInputGrow</name>
        <param>
          <type><ref refid="tree_8h_1aa05e6cbf6c68ec5a2e33ddabddf58b7d" kindref="member">xmlParserInput</ref> *</type>
          <declname>in</declname>
        </param>
        <param>
          <type>int</type>
          <declname>len</declname>
        </param>
        <briefdescription>
<para>This function increase the input for the parser. </para>
        </briefdescription>
        <detaileddescription>
<para>It tries to preserve pointers to the input buffer, and keep already read data</para>
<para><xrefsect id="deprecated_1_deprecated000263"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Don&apos;t use.</para>
</xrefdescription></xrefsect></para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>in</parametername>
</parameternamelist>
<parameterdescription>
<para>an XML parser input </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>len</parametername>
</parameternamelist>
<parameterdescription>
<para>an indicative size for the lookahead </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the amount of char read, or -1 in case of error, 0 indicate the end of this entity </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1398" column="1" bodyfile="/builds/GNOME/libxml2/parserInternals.c" bodystart="710" bodyend="741" declfile="parser.h" declline="1398" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a3cdaa768c05e5d18072f9ddbf7bab666" 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 * xmlParseDoc</definition>
        <argsstring>(const xmlChar *cur)</argsstring>
        <name>xmlParseDoc</name>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>cur</declname>
        </param>
        <briefdescription>
<para>Parse an XML in-memory document and build a tree. </para>
        </briefdescription>
        <detaileddescription>
<para>This function uses deprecated global variables to set parser options which default to XML_PARSE_NODICT.</para>
<para><xrefsect id="deprecated_1_deprecated000259"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Use xmlReadDoc.</para>
</xrefdescription></xrefsect></para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>cur</parametername>
</parameternamelist>
<parameterdescription>
<para>a pointer to an array of xmlChar </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the resulting document tree </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1406" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="12982" bodyend="12984" declfile="parser.h" declline="1406" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a60cc171f8a0f6e13ead2c28a13360a50" 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 * xmlParseFile</definition>
        <argsstring>(const char *filename)</argsstring>
        <name>xmlParseFile</name>
        <param>
          <type>const char *</type>
          <declname>filename</declname>
        </param>
        <briefdescription>
<para>Parse an XML 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.</para>
<para>This function uses deprecated global variables to set parser options which default to XML_PARSE_NODICT.</para>
<para><xrefsect id="deprecated_1_deprecated000249"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Use xmlReadFile.</para>
</xrefdescription></xrefsect></para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>filename</parametername>
</parameternamelist>
<parameterdescription>
<para>the filename </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the resulting document tree if the file was wellformed, NULL otherwise. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1408" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="12579" bodyend="12581" declfile="parser.h" declline="1408" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a1e5cd56788b6ebb7a527be0eb725b775" 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 * xmlParseMemory</definition>
        <argsstring>(const char *buffer, int size)</argsstring>
        <name>xmlParseMemory</name>
        <param>
          <type>const char *</type>
          <declname>buffer</declname>
        </param>
        <param>
          <type>int</type>
          <declname>size</declname>
        </param>
        <briefdescription>
<para>Parse an XML in-memory block and build a tree. </para>
        </briefdescription>
        <detaileddescription>
<para>This function uses deprecated global variables to set parser options which default to XML_PARSE_NODICT.</para>
<para><xrefsect id="deprecated_1_deprecated000255"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Use xmlReadMemory.</para>
</xrefdescription></xrefsect></para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>buffer</parametername>
</parameternamelist>
<parameterdescription>
<para>an 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 resulting document tree </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1410" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="12817" bodyend="12819" declfile="parser.h" declline="1410" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1acf14c9a79459dbc52c8c986cffba536f" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlSubstituteEntitiesDefault</definition>
        <argsstring>(int val)</argsstring>
        <name>xmlSubstituteEntitiesDefault</name>
        <param>
          <type>int</type>
          <declname>val</declname>
        </param>
        <briefdescription>
<para>Set and return the previous value for default entity support. </para>
        </briefdescription>
        <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000288"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Use the modern options API with XML_PARSE_NOENT.</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 substitution, 1 for substitution. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1415" column="1" bodyfile="/builds/GNOME/libxml2/parserInternals.c" bodystart="3721" bodyend="3726" declfile="parser.h" declline="1415" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a4dac6ea02c12e14236d983a585a621f8" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlKeepBlanksDefault</definition>
        <argsstring>(int val)</argsstring>
        <name>xmlKeepBlanksDefault</name>
        <param>
          <type>int</type>
          <declname>val</declname>
        </param>
        <briefdescription>
<para>Set and return the previous value for default blanks text nodes support. </para>
        </briefdescription>
        <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000289"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Use the modern options API with XML_PARSE_NOBLANKS.</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 substitution, 1 for substitution. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1417" column="1" bodyfile="/builds/GNOME/libxml2/parserInternals.c" bodystart="3738" bodyend="3747" declfile="parser.h" declline="1417" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1ac8f08dc2974a39af78b68e6cdd018d4c" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>void xmlStopParser</definition>
        <argsstring>(xmlParserCtxt *ctxt)</argsstring>
        <name>xmlStopParser</name>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
<para>Blocks further parser processing. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an XML parser context </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1419" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="11391" bodyend="11409" declfile="parser.h" declline="1419" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1aafb28d9ba022b6d851d224cabe0ff512" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlPedanticParserDefault</definition>
        <argsstring>(int val)</argsstring>
        <name>xmlPedanticParserDefault</name>
        <param>
          <type>int</type>
          <declname>val</declname>
        </param>
        <briefdescription>
<para>Set and return the previous value for enabling pedantic warnings. </para>
        </briefdescription>
        <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000286"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Use the modern options API with XML_PARSE_PEDANTIC.</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 substitution, 1 for substitution. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1422" column="1" bodyfile="/builds/GNOME/libxml2/parserInternals.c" bodystart="3690" bodyend="3695" declfile="parser.h" declline="1422" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1ae04283f4733c035b7cac5bb3841aa60a" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlLineNumbersDefault</definition>
        <argsstring>(int val)</argsstring>
        <name>xmlLineNumbersDefault</name>
        <param>
          <type>int</type>
          <declname>val</declname>
        </param>
        <briefdescription>
<para>Has no effect. </para>
        </briefdescription>
        <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000287"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Line numbers are always enabled.</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>1 </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1425" column="1" bodyfile="/builds/GNOME/libxml2/parserInternals.c" bodystart="3707" bodyend="3709" declfile="parser.h" declline="1425" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1ae2e7b0e5f8db606038c38eae63c13663" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlThrDefSubstituteEntitiesDefaultValue</definition>
        <argsstring>(int v)</argsstring>
        <name>xmlThrDefSubstituteEntitiesDefaultValue</name>
        <param>
          <type>int</type>
          <declname>v</declname>
        </param>
        <briefdescription>
<para>Set per-thread default value. </para>
        </briefdescription>
        <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000153"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Use xmlParserOption XML_PARSE_NOENT.</para>
</xrefdescription></xrefsect></para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>v</parametername>
</parameternamelist>
<parameterdescription>
<para>new value </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the old value </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1429" column="17" bodyfile="/builds/GNOME/libxml2/globals.c" bodystart="1030" bodyend="1037" declfile="parser.h" declline="1429" declcolumn="17"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a0a1df3e4c96db656f4b97d8a5b63bc95" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlThrDefKeepBlanksDefaultValue</definition>
        <argsstring>(int v)</argsstring>
        <name>xmlThrDefKeepBlanksDefaultValue</name>
        <param>
          <type>int</type>
          <declname>v</declname>
        </param>
        <briefdescription>
<para>Set per-thread default value. </para>
        </briefdescription>
        <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000149"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Whitespace is kept by default. Use xmlParserOption XML_PARSE_NOBLANKS to remove whitespace.</para>
</xrefdescription></xrefsect></para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>v</parametername>
</parameternamelist>
<parameterdescription>
<para>new value </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the old value </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1432" column="1" bodyfile="/builds/GNOME/libxml2/globals.c" bodystart="967" bodyend="974" declfile="parser.h" declline="1432" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a488e4b86741fc86f96c909de67bde87d" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlThrDefPedanticParserDefaultValue</definition>
        <argsstring>(int v)</argsstring>
        <name>xmlThrDefPedanticParserDefaultValue</name>
        <param>
          <type>int</type>
          <declname>v</declname>
        </param>
        <briefdescription>
<para>Set per-thread default value. </para>
        </briefdescription>
        <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000152"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Use xmlParserOption XML_PARSE_PEDANTIC.</para>
</xrefdescription></xrefsect></para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>v</parametername>
</parameternamelist>
<parameterdescription>
<para>new value </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the old value </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1435" column="17" bodyfile="/builds/GNOME/libxml2/globals.c" bodystart="1013" bodyend="1020" declfile="parser.h" declline="1435" declcolumn="17"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1aa9008805db392e631bc73865ee71e4f2" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlThrDefLineNumbersDefaultValue</definition>
        <argsstring>(int v)</argsstring>
        <name>xmlThrDefLineNumbersDefaultValue</name>
        <param>
          <type>int</type>
          <declname>v</declname>
        </param>
        <briefdescription>
<para>Set per-thread default value. </para>
        </briefdescription>
        <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000150"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Has no effect.</para>
</xrefdescription></xrefsect></para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>v</parametername>
</parameternamelist>
<parameterdescription>
<para>unused </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>1 </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1438" column="17" bodyfile="/builds/GNOME/libxml2/globals.c" bodystart="984" bodyend="986" declfile="parser.h" declline="1438" declcolumn="17"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a245dd5654f2c6538e305a1fb99766365" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlThrDefDoValidityCheckingDefaultValue</definition>
        <argsstring>(int v)</argsstring>
        <name>xmlThrDefDoValidityCheckingDefaultValue</name>
        <param>
          <type>int</type>
          <declname>v</declname>
        </param>
        <briefdescription>
<para>Set per-thread default value. </para>
        </briefdescription>
        <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000144"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Use xmlParserOption XML_PARSE_DTDVALID.</para>
</xrefdescription></xrefsect></para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>v</parametername>
</parameternamelist>
<parameterdescription>
<para>new value </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the old value </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1441" column="17" bodyfile="/builds/GNOME/libxml2/globals.c" bodystart="878" bodyend="885" declfile="parser.h" declline="1441" declcolumn="17"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a7d47fb3082b2f1078c677ce728c8bd8b" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlThrDefGetWarningsDefaultValue</definition>
        <argsstring>(int v)</argsstring>
        <name>xmlThrDefGetWarningsDefaultValue</name>
        <param>
          <type>int</type>
          <declname>v</declname>
        </param>
        <briefdescription>
<para>Set per-thread default value. </para>
        </briefdescription>
        <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000145"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Use xmlParserOption XML_PARSE_NOWARNING.</para>
</xrefdescription></xrefsect></para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>v</parametername>
</parameternamelist>
<parameterdescription>
<para>new value </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the old value </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1444" column="17" bodyfile="/builds/GNOME/libxml2/globals.c" bodystart="895" bodyend="902" declfile="parser.h" declline="1444" declcolumn="17"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a55b6f562caa0000ed8132a29206e98db" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlThrDefLoadExtDtdDefaultValue</definition>
        <argsstring>(int v)</argsstring>
        <name>xmlThrDefLoadExtDtdDefaultValue</name>
        <param>
          <type>int</type>
          <declname>v</declname>
        </param>
        <briefdescription>
<para>Set per-thread default value. </para>
        </briefdescription>
        <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000151"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Use xmlParserOption XML_PARSE_DTDLOAD.</para>
</xrefdescription></xrefsect></para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>v</parametername>
</parameternamelist>
<parameterdescription>
<para>new value </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the old value </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1447" column="17" bodyfile="/builds/GNOME/libxml2/globals.c" bodystart="996" bodyend="1003" declfile="parser.h" declline="1447" declcolumn="17"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a96c51daa43cb979147d4b59a7df5539f" 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 * xmlRecoverDoc</definition>
        <argsstring>(const xmlChar *cur)</argsstring>
        <name>xmlRecoverDoc</name>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>cur</declname>
        </param>
        <briefdescription>
<para>Parse an XML in-memory document and build a tree. </para>
        </briefdescription>
        <detaileddescription>
<para>In the case the document is not Well Formed, a attempt to build a tree is tried anyway</para>
<para>This function uses deprecated global variables to set parser options which default to XML_PARSE_NODICT | XML_PARSE_RECOVER.</para>
<para><xrefsect id="deprecated_1_deprecated000248"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Use xmlReadDoc with XML_PARSE_RECOVER.</para>
</xrefdescription></xrefsect></para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>cur</parametername>
</parameternamelist>
<parameterdescription>
<para>a pointer to an array of xmlChar </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the resulting document tree or NULL in case of failure </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1455" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="12560" bodyend="12562" declfile="parser.h" declline="1455" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1aca94dcb236daaa298bf1cf7dc347d568" 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 * xmlRecoverMemory</definition>
        <argsstring>(const char *buffer, int size)</argsstring>
        <name>xmlRecoverMemory</name>
        <param>
          <type>const char *</type>
          <declname>buffer</declname>
        </param>
        <param>
          <type>int</type>
          <declname>size</declname>
        </param>
        <briefdescription>
<para>Parse an XML in-memory block and build a tree. </para>
        </briefdescription>
        <detaileddescription>
<para>In the case the document is not Well Formed, an attempt to build a tree is tried anyway</para>
<para>This function uses deprecated global variables to set parser options which default to XML_PARSE_NODICT | XML_PARSE_RECOVER.</para>
<para><xrefsect id="deprecated_1_deprecated000256"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Use xmlReadMemory with XML_PARSE_RECOVER.</para>
</xrefdescription></xrefsect></para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>buffer</parametername>
</parameternamelist>
<parameterdescription>
<para>an 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 resulting document tree or NULL in case of error </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1458" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="12836" bodyend="12838" declfile="parser.h" declline="1458" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a0a29dbed6b9b6c37bba110af0fe3c8cd" 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 * xmlRecoverFile</definition>
        <argsstring>(const char *filename)</argsstring>
        <name>xmlRecoverFile</name>
        <param>
          <type>const char *</type>
          <declname>filename</declname>
        </param>
        <briefdescription>
<para>Parse an XML 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. In the case the document is not Well Formed, it attempts to build a tree anyway</para>
<para>This function uses deprecated global variables to set parser options which default to XML_PARSE_NODICT | XML_PARSE_RECOVER.</para>
<para><xrefsect id="deprecated_1_deprecated000250"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Use xmlReadFile with XML_PARSE_RECOVER.</para>
</xrefdescription></xrefsect></para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>filename</parametername>
</parameternamelist>
<parameterdescription>
<para>the filename </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the resulting document tree or NULL in case of failure </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1462" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="12599" bodyend="12601" declfile="parser.h" declline="1462" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a9715fdf5856a6c888126444b0200f373" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlParseDocument</definition>
        <argsstring>(xmlParserCtxt *ctxt)</argsstring>
        <name>xmlParseDocument</name>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
<para>Parse an XML 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 xmlCtxtParseDocument.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an XML parser context </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>0, -1 in case of error. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1469" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="10381" bodyend="10489" declfile="parser.h" declline="1469" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a44e0f2d4959c20b2ea1451313877a083" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlParseExtParsedEnt</definition>
        <argsstring>(xmlParserCtxt *ctxt)</argsstring>
        <name>xmlParseExtParsedEnt</name>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
<para>Parse a general parsed entity An external general parsed entity is well-formed if it matches the production labeled extParsedEnt. </para>
        </briefdescription>
        <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000237"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Internal function, don&apos;t use. </para>
</xrefdescription></xrefsect><verbatim>[78] extParsedEnt ::= TextDecl? content
</verbatim> <parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an XML parser context </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>0, -1 in case of error. the parser context is augmented as a result of the parsing. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1472" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="10506" bodyend="10560" declfile="parser.h" declline="1472" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a137fee3c89112868c8868d1c30638fa7" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlSAXUserParseFile</definition>
        <argsstring>(xmlSAXHandler *sax, void *user_data, const char *filename)</argsstring>
        <name>xmlSAXUserParseFile</name>
        <param>
          <type><ref refid="tree_8h_1a45238c4ba896d6577bb4986e98122e03" kindref="member">xmlSAXHandler</ref> *</type>
          <declname>sax</declname>
        </param>
        <param>
          <type>void *</type>
          <declname>user_data</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>filename</declname>
        </param>
        <briefdescription>
<para>Parse an XML file and call the given SAX handler routines. </para>
        </briefdescription>
        <detaileddescription>
<para>Automatic support for ZLIB/Compress compressed document is provided</para>
<para>This function uses deprecated global variables to set parser options which default to XML_PARSE_NODICT.</para>
<para><xrefsect id="deprecated_1_deprecated000252"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Use <ref refid="parser_8h_1a036f5369ee016ac90287ec7012f9cb25" kindref="member">xmlNewSAXParserCtxt</ref> and xmlCtxtReadFile.</para>
</xrefdescription></xrefsect></para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>sax</parametername>
</parameternamelist>
<parameterdescription>
<para>a SAX handler </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>user_data</parametername>
</parameternamelist>
<parameterdescription>
<para>The user data returned on SAX callbacks </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>filename</parametername>
</parameternamelist>
<parameterdescription>
<para>a file name </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>0 in case of success or a error number otherwise </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1476" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="12649" bodyend="12683" declfile="parser.h" declline="1476" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a45831bf156ea6a5bfb2c0c89fd1d016c" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlSAXUserParseMemory</definition>
        <argsstring>(xmlSAXHandler *sax, void *user_data, const char *buffer, int size)</argsstring>
        <name>xmlSAXUserParseMemory</name>
        <param>
          <type><ref refid="tree_8h_1a45238c4ba896d6577bb4986e98122e03" kindref="member">xmlSAXHandler</ref> *</type>
          <declname>sax</declname>
        </param>
        <param>
          <type>void *</type>
          <declname>user_data</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>buffer</declname>
        </param>
        <param>
          <type>int</type>
          <declname>size</declname>
        </param>
        <briefdescription>
<para>Parse an XML in-memory buffer and call the given SAX handler routines. </para>
        </briefdescription>
        <detaileddescription>
<para>This function uses deprecated global variables to set parser options which default to XML_PARSE_NODICT.</para>
<para><xrefsect id="deprecated_1_deprecated000257"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Use <ref refid="parser_8h_1a036f5369ee016ac90287ec7012f9cb25" kindref="member">xmlNewSAXParserCtxt</ref> and xmlCtxtReadMemory.</para>
</xrefdescription></xrefsect></para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>sax</parametername>
</parameternamelist>
<parameterdescription>
<para>a SAX handler </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>user_data</parametername>
</parameternamelist>
<parameterdescription>
<para>The user data returned on SAX callbacks </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>buffer</parametername>
</parameternamelist>
<parameterdescription>
<para>an in-memory XML document input </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>size</parametername>
</parameternamelist>
<parameterdescription>
<para>the length of the XML document in bytes </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>0 in case of success or a error number otherwise </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1481" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="12854" bodyend="12888" declfile="parser.h" declline="1481" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1ac20b6ea78cc873dc87755631d02c38b9" 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 * xmlSAXParseDoc</definition>
        <argsstring>(xmlSAXHandler *sax, const xmlChar *cur, int recovery)</argsstring>
        <name>xmlSAXParseDoc</name>
        <param>
          <type><ref refid="tree_8h_1a45238c4ba896d6577bb4986e98122e03" kindref="member">xmlSAXHandler</ref> *</type>
          <declname>sax</declname>
        </param>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>cur</declname>
        </param>
        <param>
          <type>int</type>
          <declname>recovery</declname>
        </param>
        <briefdescription>
<para>Parse an XML in-memory document and build a tree. </para>
        </briefdescription>
        <detaileddescription>
<para>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>This function uses deprecated global variables to set parser options which default to XML_PARSE_NODICT.</para>
<para><xrefsect id="deprecated_1_deprecated000258"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Use <ref refid="parser_8h_1a036f5369ee016ac90287ec7012f9cb25" kindref="member">xmlNewSAXParserCtxt</ref> and xmlCtxtReadDoc.</para>
</xrefdescription></xrefsect></para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>sax</parametername>
</parameternamelist>
<parameterdescription>
<para>the SAX handler block </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>cur</parametername>
</parameternamelist>
<parameterdescription>
<para>a pointer to an array of xmlChar </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>recovery</parametername>
</parameternamelist>
<parameterdescription>
<para>work in recovery mode, i.e. tries to read no Well Formed documents </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the resulting document tree </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1487" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="12939" bodyend="12967" declfile="parser.h" declline="1487" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1ad617a1cf77ce670322fcf3d2a6a5166b" 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 * xmlSAXParseMemory</definition>
        <argsstring>(xmlSAXHandler *sax, const char *buffer, int size, int recovery)</argsstring>
        <name>xmlSAXParseMemory</name>
        <param>
          <type><ref refid="tree_8h_1a45238c4ba896d6577bb4986e98122e03" kindref="member">xmlSAXHandler</ref> *</type>
          <declname>sax</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>buffer</declname>
        </param>
        <param>
          <type>int</type>
          <declname>size</declname>
        </param>
        <param>
          <type>int</type>
          <declname>recovery</declname>
        </param>
        <briefdescription>
<para>Parse an XML in-memory block and use the given SAX function block to handle the parsing callback. </para>
        </briefdescription>
        <detaileddescription>
<para>If sax is NULL, fallback to the default DOM tree building routines.</para>
<para>This function uses deprecated global variables to set parser options which default to XML_PARSE_NODICT.</para>
<para><xrefsect id="deprecated_1_deprecated000254"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Use <ref refid="parser_8h_1a036f5369ee016ac90287ec7012f9cb25" kindref="member">xmlNewSAXParserCtxt</ref> and xmlCtxtReadMemory.</para>
</xrefdescription></xrefsect></para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>sax</parametername>
</parameternamelist>
<parameterdescription>
<para>the SAX handler block </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>buffer</parametername>
</parameternamelist>
<parameterdescription>
<para>an 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>recovery</parametername>
</parameternamelist>
<parameterdescription>
<para>work in recovery mode, i.e. tries to read not Well Formed documents </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the resulting document tree </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1492" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="12799" bodyend="12802" declfile="parser.h" declline="1492" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a922a3ab00ea5be53abf48fd4db1946f6" 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 * xmlSAXParseMemoryWithData</definition>
        <argsstring>(xmlSAXHandler *sax, const char *buffer, int size, int recovery, void *data)</argsstring>
        <name>xmlSAXParseMemoryWithData</name>
        <param>
          <type><ref refid="tree_8h_1a45238c4ba896d6577bb4986e98122e03" kindref="member">xmlSAXHandler</ref> *</type>
          <declname>sax</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>buffer</declname>
        </param>
        <param>
          <type>int</type>
          <declname>size</declname>
        </param>
        <param>
          <type>int</type>
          <declname>recovery</declname>
        </param>
        <param>
          <type>void *</type>
          <declname>data</declname>
        </param>
        <briefdescription>
<para>Parse an XML in-memory block and use the given SAX function block to handle the parsing callback. </para>
        </briefdescription>
        <detaileddescription>
<para>If sax is NULL, fallback to the default DOM tree building routines.</para>
<para>This function uses deprecated global variables to set parser options which default to XML_PARSE_NODICT.</para>
<para><xrefsect id="deprecated_1_deprecated000253"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Use <ref refid="parser_8h_1a036f5369ee016ac90287ec7012f9cb25" kindref="member">xmlNewSAXParserCtxt</ref> and xmlCtxtReadMemory.</para>
</xrefdescription></xrefsect></para>
<para>User data (void *) is stored within the parser context in the context&apos;s _private member, so it is available nearly everywhere in libxml</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>sax</parametername>
</parameternamelist>
<parameterdescription>
<para>the SAX handler block </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>buffer</parametername>
</parameternamelist>
<parameterdescription>
<para>an 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>recovery</parametername>
</parameternamelist>
<parameterdescription>
<para>work in recovery mode, i.e. tries to read no Well Formed documents </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>data</parametername>
</parameternamelist>
<parameterdescription>
<para>the userdata </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the resulting document tree </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1498" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="12750" bodyend="12779" declfile="parser.h" declline="1498" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1aff4f6a873195e22bb8a7a428be4e26a3" 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 * xmlSAXParseFile</definition>
        <argsstring>(xmlSAXHandler *sax, const char *filename, int recovery)</argsstring>
        <name>xmlSAXParseFile</name>
        <param>
          <type><ref refid="tree_8h_1a45238c4ba896d6577bb4986e98122e03" kindref="member">xmlSAXHandler</ref> *</type>
          <declname>sax</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>filename</declname>
        </param>
        <param>
          <type>int</type>
          <declname>recovery</declname>
        </param>
        <briefdescription>
<para>Parse an XML 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>This function uses deprecated global variables to set parser options which default to XML_PARSE_NODICT.</para>
<para><xrefsect id="deprecated_1_deprecated000247"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Use <ref refid="parser_8h_1a036f5369ee016ac90287ec7012f9cb25" kindref="member">xmlNewSAXParserCtxt</ref> and xmlCtxtReadFile.</para>
</xrefdescription></xrefsect></para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>sax</parametername>
</parameternamelist>
<parameterdescription>
<para>the SAX handler block </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>filename</parametername>
</parameternamelist>
<parameterdescription>
<para>the filename </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>recovery</parametername>
</parameternamelist>
<parameterdescription>
<para>work in recovery mode, i.e. tries to read no Well Formed documents </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the resulting document tree </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1505" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="12540" bodyend="12543" declfile="parser.h" declline="1505" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1af8557c82ccb023f8f2fd1a13df63ba6f" 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 * xmlSAXParseFileWithData</definition>
        <argsstring>(xmlSAXHandler *sax, const char *filename, int recovery, void *data)</argsstring>
        <name>xmlSAXParseFileWithData</name>
        <param>
          <type><ref refid="tree_8h_1a45238c4ba896d6577bb4986e98122e03" kindref="member">xmlSAXHandler</ref> *</type>
          <declname>sax</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>filename</declname>
        </param>
        <param>
          <type>int</type>
          <declname>recovery</declname>
        </param>
        <param>
          <type>void *</type>
          <declname>data</declname>
        </param>
        <briefdescription>
<para>Parse an XML 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>This function uses deprecated global variables to set parser options which default to XML_PARSE_NODICT.</para>
<para><xrefsect id="deprecated_1_deprecated000246"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Use <ref refid="parser_8h_1a036f5369ee016ac90287ec7012f9cb25" kindref="member">xmlNewSAXParserCtxt</ref> and xmlCtxtReadFile.</para>
</xrefdescription></xrefsect></para>
<para>User data (void *) is stored within the parser context in the context&apos;s _private member, so it is available nearly everywhere in libxml</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>sax</parametername>
</parameternamelist>
<parameterdescription>
<para>the SAX handler block </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>filename</parametername>
</parameternamelist>
<parameterdescription>
<para>the filename </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>recovery</parametername>
</parameternamelist>
<parameterdescription>
<para>work in recovery mode, i.e. tries to read no Well Formed documents </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>data</parametername>
</parameternamelist>
<parameterdescription>
<para>the userdata </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the resulting document tree </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1510" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="12491" bodyend="12519" declfile="parser.h" declline="1510" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1ac750de15aae13432df21102d0502038f" 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 * xmlSAXParseEntity</definition>
        <argsstring>(xmlSAXHandler *sax, const char *filename)</argsstring>
        <name>xmlSAXParseEntity</name>
        <param>
          <type><ref refid="tree_8h_1a45238c4ba896d6577bb4986e98122e03" kindref="member">xmlSAXHandler</ref> *</type>
          <declname>sax</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>filename</declname>
        </param>
        <briefdescription>
<para>Parse an XML external entity out of context and build a tree. </para>
        </briefdescription>
        <detaileddescription>
<para>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_deprecated000241"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Don&apos;t use. </para>
</xrefdescription></xrefsect><verbatim>[78] extParsedEnt ::= TextDecl? content
</verbatim> This correspond to a &quot;Well Balanced&quot; chunk</para>
<para>This function uses deprecated global variables to set parser options which default to XML_PARSE_NODICT.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>sax</parametername>
</parameternamelist>
<parameterdescription>
<para>the SAX handler block </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>filename</parametername>
</parameternamelist>
<parameterdescription>
<para>the filename </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the resulting document tree </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1516" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="12305" bodyend="12335" declfile="parser.h" declline="1516" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a02d0860cff17ad4eba809a5f5125b1b5" 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 * xmlParseEntity</definition>
        <argsstring>(const char *filename)</argsstring>
        <name>xmlParseEntity</name>
        <param>
          <type>const char *</type>
          <declname>filename</declname>
        </param>
        <briefdescription>
<para>Parse an XML external entity out of context and build a tree. </para>
        </briefdescription>
        <detaileddescription>
<para><verbatim>[78] extParsedEnt ::= TextDecl? content
</verbatim> This correspond to a &quot;Well Balanced&quot; chunk</para>
<para>This function uses deprecated global variables to set parser options which default to XML_PARSE_NODICT.</para>
<para><xrefsect id="deprecated_1_deprecated000242"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Don&apos;t use.</para>
</xrefdescription></xrefsect></para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>filename</parametername>
</parameternamelist>
<parameterdescription>
<para>the filename </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the resulting document tree </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1520" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="12354" bodyend="12356" declfile="parser.h" declline="1520" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1ab2fea6618db56eec2054ffa7a3a96484" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="tree_8h_1af3e371049fefe3bc6aa9d3caaa651a0d" kindref="member">xmlDtd</ref> *</type>
        <definition>xmlDtd * xmlCtxtParseDtd</definition>
        <argsstring>(xmlParserCtxt *ctxt, xmlParserInput *input, const xmlChar *publicId, const xmlChar *systemId)</argsstring>
        <name>xmlCtxtParseDtd</name>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type><ref refid="tree_8h_1aa05e6cbf6c68ec5a2e33ddabddf58b7d" kindref="member">xmlParserInput</ref> *</type>
          <declname>input</declname>
        </param>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>publicId</declname>
        </param>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>systemId</declname>
        </param>
        <briefdescription>
<para>Parse a DTD. </para>
        </briefdescription>
        <detaileddescription>
<para>Option XML_PARSE_DTDLOAD should be enabled in the parser context to make external entities work.</para>
<para><simplesect kind="since"><para>2.14.0</para>
</simplesect>
<parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>a parser context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>input</parametername>
</parameternamelist>
<parameterdescription>
<para>a parser input </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>publicId</parametername>
</parameternamelist>
<parameterdescription>
<para>public ID of the DTD (optional) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>systemId</parametername>
</parameternamelist>
<parameterdescription>
<para>system ID of the DTD (optional) </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the resulting xmlDtd or NULL in case of error. <computeroutput>input</computeroutput> will be freed by the function in any case. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1525" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="11475" bodyend="11534" declfile="parser.h" declline="1525" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a78f8254d62233d6bdff644747111d1f6" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlCtxtValidateDocument</definition>
        <argsstring>(xmlParserCtxt *ctxt, xmlDoc *doc)</argsstring>
        <name>xmlCtxtValidateDocument</name>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type><ref refid="tree_8h_1ae94acff8b6413934705e29389bcddc17" kindref="member">xmlDoc</ref> *</type>
          <declname>doc</declname>
        </param>
        <briefdescription>
<para>Validate a document. </para>
        </briefdescription>
        <detaileddescription>
<para>Like xmlValidateDocument but uses the parser context&apos;s error handler.</para>
<para>Option XML_PARSE_DTDLOAD should be enabled in the parser context to make external entities work.</para>
<para><simplesect kind="since"><para>2.14.0</para>
</simplesect>
<parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>a parser context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>doc</parametername>
</parameternamelist>
<parameterdescription>
<para>a document instance </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>1 if valid or 0 otherwise. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1530" column="1" bodyfile="/builds/GNOME/libxml2/valid.c" bodystart="6368" bodyend="6375" declfile="parser.h" declline="1530" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1ad3b7d78af3201bb6351271e601ac3a98" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlCtxtValidateDtd</definition>
        <argsstring>(xmlParserCtxt *ctxt, xmlDoc *doc, xmlDtd *dtd)</argsstring>
        <name>xmlCtxtValidateDtd</name>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type><ref refid="tree_8h_1ae94acff8b6413934705e29389bcddc17" kindref="member">xmlDoc</ref> *</type>
          <declname>doc</declname>
        </param>
        <param>
          <type><ref refid="tree_8h_1af3e371049fefe3bc6aa9d3caaa651a0d" kindref="member">xmlDtd</ref> *</type>
          <declname>dtd</declname>
        </param>
        <briefdescription>
<para>Validate a document against a DTD. </para>
        </briefdescription>
        <detaileddescription>
<para>Like xmlValidateDtd but uses the parser context&apos;s error handler.</para>
<para><simplesect kind="since"><para>2.14.0</para>
</simplesect>
<parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>a parser context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>doc</parametername>
</parameternamelist>
<parameterdescription>
<para>a document instance </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>dtd</parametername>
</parameternamelist>
<parameterdescription>
<para>a dtd instance </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>1 if valid or 0 otherwise. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1533" column="1" bodyfile="/builds/GNOME/libxml2/valid.c" bodystart="6106" bodyend="6113" declfile="parser.h" declline="1533" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a7b05a96c8a3d1a5250134ba201997831" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="tree_8h_1af3e371049fefe3bc6aa9d3caaa651a0d" kindref="member">xmlDtd</ref> *</type>
        <definition>xmlDtd * xmlSAXParseDTD</definition>
        <argsstring>(xmlSAXHandler *sax, const xmlChar *publicId, const xmlChar *systemId)</argsstring>
        <name>xmlSAXParseDTD</name>
        <param>
          <type><ref refid="tree_8h_1a45238c4ba896d6577bb4986e98122e03" kindref="member">xmlSAXHandler</ref> *</type>
          <declname>sax</declname>
        </param>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>publicId</declname>
        </param>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>systemId</declname>
        </param>
        <briefdescription>
<para>Load and parse an external subset. </para>
        </briefdescription>
        <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000239"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Use xmlCtxtParseDtd.</para>
</xrefdescription></xrefsect></para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>sax</parametername>
</parameternamelist>
<parameterdescription>
<para>the SAX handler block </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>publicId</parametername>
</parameternamelist>
<parameterdescription>
<para>public identifier of the DTD (optional) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>systemId</parametername>
</parameternamelist>
<parameterdescription>
<para>system identifier (URL) of the DTD </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the resulting xmlDtd or NULL in case of error. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1538" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="11598" bodyend="11645" declfile="parser.h" declline="1538" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a80d75ad9fbfe0e99531bdd9fbb6afb4e" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="tree_8h_1af3e371049fefe3bc6aa9d3caaa651a0d" kindref="member">xmlDtd</ref> *</type>
        <definition>xmlDtd * xmlParseDTD</definition>
        <argsstring>(const xmlChar *publicId, const xmlChar *systemId)</argsstring>
        <name>xmlParseDTD</name>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>publicId</declname>
        </param>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>systemId</declname>
        </param>
        <briefdescription>
<para>Load and parse an external subset. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>publicId</parametername>
</parameternamelist>
<parameterdescription>
<para>public identifier of the DTD (optional) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>systemId</parametername>
</parameternamelist>
<parameterdescription>
<para>system identifier (URL) of the DTD </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the resulting xmlDtd or NULL in case of error. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1542" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="11657" bodyend="11659" declfile="parser.h" declline="1542" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a9ce418ac9417f048700417af1af8a8e1" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="tree_8h_1af3e371049fefe3bc6aa9d3caaa651a0d" kindref="member">xmlDtd</ref> *</type>
        <definition>xmlDtd * xmlIOParseDTD</definition>
        <argsstring>(xmlSAXHandler *sax, xmlParserInputBuffer *input, xmlCharEncoding enc)</argsstring>
        <name>xmlIOParseDTD</name>
        <param>
          <type><ref refid="tree_8h_1a45238c4ba896d6577bb4986e98122e03" kindref="member">xmlSAXHandler</ref> *</type>
          <declname>sax</declname>
        </param>
        <param>
          <type><ref refid="tree_8h_1a7a0ca7c6b30d7a9103b28626f820cab9" kindref="member">xmlParserInputBuffer</ref> *</type>
          <declname>input</declname>
        </param>
        <param>
          <type><ref refid="encoding_8h_1a662791d23b3d1e0a37244d35c57a02e5" kindref="member">xmlCharEncoding</ref></type>
          <declname>enc</declname>
        </param>
        <briefdescription>
<para>Load and parse a DTD. </para>
        </briefdescription>
        <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000238"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Use xmlCtxtParseDtd.</para>
</xrefdescription></xrefsect></para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>sax</parametername>
</parameternamelist>
<parameterdescription>
<para>the SAX handler block or NULL </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>input</parametername>
</parameternamelist>
<parameterdescription>
<para>an Input Buffer </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>enc</parametername>
</parameternamelist>
<parameterdescription>
<para>the charset encoding if known </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the resulting xmlDtd or NULL in case of error. <computeroutput>input</computeroutput> will be freed by the function in any case. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1545" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="11549" bodyend="11584" declfile="parser.h" declline="1545" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1ab0a8614315479e526e848fe371c9a014" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlParseBalancedChunkMemory</definition>
        <argsstring>(xmlDoc *doc, xmlSAXHandler *sax, void *user_data, int depth, const xmlChar *string, xmlNode **lst)</argsstring>
        <name>xmlParseBalancedChunkMemory</name>
        <param>
          <type><ref refid="tree_8h_1ae94acff8b6413934705e29389bcddc17" kindref="member">xmlDoc</ref> *</type>
          <declname>doc</declname>
        </param>
        <param>
          <type><ref refid="tree_8h_1a45238c4ba896d6577bb4986e98122e03" kindref="member">xmlSAXHandler</ref> *</type>
          <declname>sax</declname>
        </param>
        <param>
          <type>void *</type>
          <declname>user_data</declname>
        </param>
        <param>
          <type>int</type>
          <declname>depth</declname>
        </param>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>string</declname>
        </param>
        <param>
          <type><ref refid="tree_8h_1ac8c054adbdabc014ab4584dfb1ce841e" kindref="member">xmlNode</ref> **</type>
          <declname>lst</declname>
        </param>
        <briefdescription>
<para>Parse a well-balanced chunk of an XML document called by the parser The allowed sequence for the Well Balanced Chunk is the one defined by the content production in the XML grammar: </para>
        </briefdescription>
        <detaileddescription>
<para><verbatim>[43] content ::= (element | CharData | Reference | CDSect | PI |
                  Comment)*
</verbatim> This function uses deprecated global variables to set parser options which default to XML_PARSE_NODICT.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>doc</parametername>
</parameternamelist>
<parameterdescription>
<para>the document the chunk pertains to (must not be NULL) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>sax</parametername>
</parameternamelist>
<parameterdescription>
<para>the SAX handler block (possibly NULL) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>user_data</parametername>
</parameternamelist>
<parameterdescription>
<para>The user data returned on SAX callbacks (possibly NULL) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>depth</parametername>
</parameternamelist>
<parameterdescription>
<para>Used for loop detection, use 0 </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>string</parametername>
</parameternamelist>
<parameterdescription>
<para>the input string in UTF8 or ISO-Latin (zero terminated) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>lst</parametername>
</parameternamelist>
<parameterdescription>
<para>the return value for the set of parsed nodes </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>0 if the chunk is well balanced, -1 in case of args problem and the parser error code otherwise </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1551" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="11983" bodyend="11987" declfile="parser.h" declline="1551" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1ac5cc0e4b5de7a6fe886cd4a34a665012" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="xmlerror_8h_1adc147424b5aac85cccf5018513b9ec14" kindref="member">xmlParserErrors</ref></type>
        <definition>xmlParserErrors xmlParseInNodeContext</definition>
        <argsstring>(xmlNode *node, const char *data, int datalen, int options, xmlNode **lst)</argsstring>
        <name>xmlParseInNodeContext</name>
        <param>
          <type><ref refid="tree_8h_1ac8c054adbdabc014ab4584dfb1ce841e" kindref="member">xmlNode</ref> *</type>
          <declname>node</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>data</declname>
        </param>
        <param>
          <type>int</type>
          <declname>datalen</declname>
        </param>
        <param>
          <type>int</type>
          <declname>options</declname>
        </param>
        <param>
          <type><ref refid="tree_8h_1ac8c054adbdabc014ab4584dfb1ce841e" kindref="member">xmlNode</ref> **</type>
          <declname>lst</declname>
          <defname>listOut</defname>
        </param>
        <briefdescription>
<para>Parse a well-balanced chunk of an XML document within the context (DTD, namespaces, etc ...) of the given node. </para>
        </briefdescription>
        <detaileddescription>
<para>The allowed sequence for the data is a Well Balanced Chunk defined by the content production in the XML grammar: <verbatim>[43] content ::= (element | CharData | Reference | CDSect | PI |
                  Comment)*
</verbatim> This function assumes the encoding of <computeroutput>node</computeroutput>&apos;s document which is typically not what you want. A better alternative is xmlCtxtParseContent.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>node</parametername>
</parameternamelist>
<parameterdescription>
<para>the context node </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>data</parametername>
</parameternamelist>
<parameterdescription>
<para>the input string </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>datalen</parametername>
</parameternamelist>
<parameterdescription>
<para>the input string length in bytes </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>options</parametername>
</parameternamelist>
<parameterdescription>
<para>a combination of xmlParserOption </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>listOut</parametername>
</parameternamelist>
<parameterdescription>
<para>the return value for the set of parsed nodes </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>XML_ERR_OK if the chunk is well balanced, and the parser error code otherwise </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1559" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="12151" bodyend="12205" declfile="parser.h" declline="1559" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1ac091b1b1acf58fff8348308ab0adb6e5" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlParseBalancedChunkMemoryRecover</definition>
        <argsstring>(xmlDoc *doc, xmlSAXHandler *sax, void *user_data, int depth, const xmlChar *string, xmlNode **lst, int recover)</argsstring>
        <name>xmlParseBalancedChunkMemoryRecover</name>
        <param>
          <type><ref refid="tree_8h_1ae94acff8b6413934705e29389bcddc17" kindref="member">xmlDoc</ref> *</type>
          <declname>doc</declname>
        </param>
        <param>
          <type><ref refid="tree_8h_1a45238c4ba896d6577bb4986e98122e03" kindref="member">xmlSAXHandler</ref> *</type>
          <declname>sax</declname>
        </param>
        <param>
          <type>void *</type>
          <declname>user_data</declname>
        </param>
        <param>
          <type>int</type>
          <declname>depth</declname>
        </param>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>string</declname>
        </param>
        <param>
          <type><ref refid="tree_8h_1ac8c054adbdabc014ab4584dfb1ce841e" kindref="member">xmlNode</ref> **</type>
          <declname>lst</declname>
          <defname>listOut</defname>
        </param>
        <param>
          <type>int</type>
          <declname>recover</declname>
        </param>
        <briefdescription>
<para>Parse a well-balanced chunk of an XML document. </para>
        </briefdescription>
        <detaileddescription>
<para>The allowed sequence for the Well Balanced Chunk is the one defined by the content production in the XML grammar: <verbatim>[43] content ::= (element | CharData | Reference | CDSect | PI |
                  Comment)*
</verbatim> In case recover is set to 1, the nodelist will not be empty even if the parsed chunk is not well balanced, assuming the parsing succeeded to some extent.</para>
<para>This function uses deprecated global variables to set parser options which default to XML_PARSE_NODICT.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>doc</parametername>
</parameternamelist>
<parameterdescription>
<para>the document the chunk pertains to (must not be NULL) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>sax</parametername>
</parameternamelist>
<parameterdescription>
<para>the SAX handler block (possibly NULL) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>user_data</parametername>
</parameternamelist>
<parameterdescription>
<para>The user data returned on SAX callbacks (possibly NULL) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>depth</parametername>
</parameternamelist>
<parameterdescription>
<para>Used for loop detection, use 0 </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>string</parametername>
</parameternamelist>
<parameterdescription>
<para>the input string in UTF8 or ISO-Latin (zero terminated) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>listOut</parametername>
</parameternamelist>
<parameterdescription>
<para>the return value for the set of parsed nodes </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>recover</parametername>
</parameternamelist>
<parameterdescription>
<para>return nodes even if the data is broken (use 0) </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>0 if the chunk is well balanced, or thehe parser error code otherwise. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1566" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="12235" bodyend="12283" declfile="parser.h" declline="1566" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a3582384112e3c98c95a4c002546f61b9" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlParseExternalEntity</definition>
        <argsstring>(xmlDoc *doc, xmlSAXHandler *sax, void *user_data, int depth, const xmlChar *URL, const xmlChar *ID, xmlNode **lst)</argsstring>
        <name>xmlParseExternalEntity</name>
        <param>
          <type><ref refid="tree_8h_1ae94acff8b6413934705e29389bcddc17" kindref="member">xmlDoc</ref> *</type>
          <declname>doc</declname>
        </param>
        <param>
          <type><ref refid="tree_8h_1a45238c4ba896d6577bb4986e98122e03" kindref="member">xmlSAXHandler</ref> *</type>
          <declname>sax</declname>
        </param>
        <param>
          <type>void *</type>
          <declname>user_data</declname>
        </param>
        <param>
          <type>int</type>
          <declname>depth</declname>
        </param>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>URL</declname>
        </param>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>ID</declname>
        </param>
        <param>
          <type><ref refid="tree_8h_1ac8c054adbdabc014ab4584dfb1ce841e" kindref="member">xmlNode</ref> **</type>
          <declname>lst</declname>
          <defname>list</defname>
        </param>
        <briefdescription>
<para>Parse an external general entity An external general parsed entity is well-formed if it matches the production labeled extParsedEnt. </para>
        </briefdescription>
        <detaileddescription>
<para>This function uses deprecated global variables to set parser options which default to XML_PARSE_NODICT.</para>
<para><xrefsect id="deprecated_1_deprecated000240"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Use xmlParseCtxtExternalEntity. </para>
</xrefdescription></xrefsect><verbatim>[78] extParsedEnt ::= TextDecl? content
</verbatim> <parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>doc</parametername>
</parameternamelist>
<parameterdescription>
<para>the document the chunk pertains to </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>sax</parametername>
</parameternamelist>
<parameterdescription>
<para>the SAX handler block (possibly NULL) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>user_data</parametername>
</parameternamelist>
<parameterdescription>
<para>The user data returned on SAX callbacks (possibly NULL) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>depth</parametername>
</parameternamelist>
<parameterdescription>
<para>Used for loop detection, use 0 </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>URL</parametername>
</parameternamelist>
<parameterdescription>
<para>the URL for the entity to load </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>ID</parametername>
</parameternamelist>
<parameterdescription>
<para>the System ID for the entity to load </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>list</parametername>
</parameternamelist>
<parameterdescription>
<para>the return value for the set of parsed nodes </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>0 if the entity is well formed, -1 in case of args problem and the parser error code otherwise </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1575" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="11937" bodyend="11958" declfile="parser.h" declline="1575" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a882b085ddf37b967bfeb055f33d366a0" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlParseCtxtExternalEntity</definition>
        <argsstring>(xmlParserCtxt *ctx, const xmlChar *URL, const xmlChar *ID, xmlNode **lst)</argsstring>
        <name>xmlParseCtxtExternalEntity</name>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</ref> *</type>
          <declname>ctx</declname>
          <defname>ctxt</defname>
        </param>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>URL</declname>
        </param>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>ID</declname>
        </param>
        <param>
          <type><ref refid="tree_8h_1ac8c054adbdabc014ab4584dfb1ce841e" kindref="member">xmlNode</ref> **</type>
          <declname>lst</declname>
          <defname>listOut</defname>
        </param>
        <briefdescription>
<para>Parse an external general entity within an existing parsing context An external general parsed entity is well-formed if it matches the production labeled extParsedEnt. </para>
        </briefdescription>
        <detaileddescription>
<para><verbatim>[78] extParsedEnt ::= TextDecl? content
</verbatim> <parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>the existing parsing context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>URL</parametername>
</parameternamelist>
<parameterdescription>
<para>the URL for the entity to load </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>ID</parametername>
</parameternamelist>
<parameterdescription>
<para>the System ID for the entity to load </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>listOut</parametername>
</parameternamelist>
<parameterdescription>
<para>the return value for the set of parsed nodes </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>0 if the entity is well formed, -1 in case of args problem and the parser error code otherwise </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1584" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="11884" bodyend="11910" declfile="parser.h" declline="1584" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1ab730009088cf3642152ff832fa5e79dc" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</ref> *</type>
        <definition>xmlParserCtxt * xmlNewParserCtxt</definition>
        <argsstring>(void)</argsstring>
        <name>xmlNewParserCtxt</name>
        <param>
          <type>void</type>
        </param>
        <briefdescription>
<para>Allocate and initialize a new parser context. </para>
        </briefdescription>
        <detaileddescription>
<para><simplesect kind="return"><para>the xmlParserCtxt or NULL </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1593" column="1" bodyfile="/builds/GNOME/libxml2/parserInternals.c" bodystart="3032" bodyend="3035" declfile="parser.h" declline="1593" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a036f5369ee016ac90287ec7012f9cb25" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</ref> *</type>
        <definition>xmlParserCtxt * xmlNewSAXParserCtxt</definition>
        <argsstring>(const xmlSAXHandler *sax, void *userData)</argsstring>
        <name>xmlNewSAXParserCtxt</name>
        <param>
          <type>const <ref refid="tree_8h_1a45238c4ba896d6577bb4986e98122e03" kindref="member">xmlSAXHandler</ref> *</type>
          <declname>sax</declname>
        </param>
        <param>
          <type>void *</type>
          <declname>userData</declname>
        </param>
        <briefdescription>
<para>Allocate and initialize a new SAX parser context. </para>
        </briefdescription>
        <detaileddescription>
<para>If userData 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 xmlNewParserCtxt and set ctxt-&gt;sax with struct assignment.</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 xmlParserCtxt or NULL if memory allocation failed. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1595" column="1" bodyfile="/builds/GNOME/libxml2/parserInternals.c" bodystart="3053" bodyend="3068" declfile="parser.h" declline="1595" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a794f128082e06388857039a20921c84e" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlInitParserCtxt</definition>
        <argsstring>(xmlParserCtxt *ctxt)</argsstring>
        <name>xmlInitParserCtxt</name>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
<para>Initialize a parser context. </para>
        </briefdescription>
        <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000279"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Internal function which will be made private in a future version.</para>
</xrefdescription></xrefsect></para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an XML parser context </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="parser.h" line="1598" column="1" bodyfile="/builds/GNOME/libxml2/parserInternals.c" bodystart="2933" bodyend="2936" declfile="parser.h" declline="1598" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1aef6ab3a68e206bf96da3a613ee2f8cce" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>void xmlClearParserCtxt</definition>
        <argsstring>(xmlParserCtxt *ctxt)</argsstring>
        <name>xmlClearParserCtxt</name>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
<para>Same as <ref refid="parser_8h_1a85c2b1914d05bd33c0b8f905d1f63982" kindref="member">xmlCtxtReset</ref>. </para>
        </briefdescription>
        <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000280"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Use <ref refid="parser_8h_1a85c2b1914d05bd33c0b8f905d1f63982" kindref="member">xmlCtxtReset</ref></para>
</xrefdescription></xrefsect></para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an XML parser context </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1601" column="1" bodyfile="/builds/GNOME/libxml2/parserInternals.c" bodystart="3506" bodyend="3509" declfile="parser.h" declline="1601" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a39e4f53698570be6a917a2d12f3a0d26" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>void xmlFreeParserCtxt</definition>
        <argsstring>(xmlParserCtxt *ctxt)</argsstring>
        <name>xmlFreeParserCtxt</name>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</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 ctxt-&gt;myDoc is not freed.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an XML parser context </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1603" column="1" bodyfile="/builds/GNOME/libxml2/parserInternals.c" bodystart="2946" bodyend="3023" declfile="parser.h" declline="1603" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1af788b0aaeeb86dedd818380908fb754a" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>void xmlSetupParserForBuffer</definition>
        <argsstring>(xmlParserCtxt *ctxt, const xmlChar *buffer, const char *filename)</argsstring>
        <name>xmlSetupParserForBuffer</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>buffer</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>filename</declname>
        </param>
        <briefdescription>
<para>Setup the parser context to parse a new buffer; Clears any prior contents from the parser context. </para>
        </briefdescription>
        <detaileddescription>
<para>The buffer parameter must not be NULL, but the filename parameter can be</para>
<para><xrefsect id="deprecated_1_deprecated000251"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Don&apos;t use.</para>
</xrefdescription></xrefsect></para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an XML parser context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>buffer</parametername>
</parameternamelist>
<parameterdescription>
<para>a xmlChar * buffer </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>filename</parametername>
</parameternamelist>
<parameterdescription>
<para>a file name </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1607" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="12616" bodyend="12632" declfile="parser.h" declline="1607" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a0f6046599c6c4f28e9fd7320753f8075" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</ref> *</type>
        <definition>xmlParserCtxt * xmlCreateDocParserCtxt</definition>
        <argsstring>(const xmlChar *cur)</argsstring>
        <name>xmlCreateDocParserCtxt</name>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>cur</declname>
          <defname>str</defname>
        </param>
        <briefdescription>
<para>Creates a parser context for an XML in-memory document. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>str</parametername>
</parameternamelist>
<parameterdescription>
<para>a pointer to an array of xmlChar </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the new parser context or NULL </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1612" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="12898" bodyend="12918" declfile="parser.h" declline="1612" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a8db6d6bb17223e76909f42f391cb306a" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</ref> *</type>
        <definition>xmlParserCtxt * xmlCreatePushParserCtxt</definition>
        <argsstring>(xmlSAXHandler *sax, void *user_data, const char *chunk, int size, const char *filename)</argsstring>
        <name>xmlCreatePushParserCtxt</name>
        <param>
          <type><ref refid="tree_8h_1a45238c4ba896d6577bb4986e98122e03" kindref="member">xmlSAXHandler</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>
        <briefdescription>
<para>Create a parser context for using the XML parser in push mode. </para>
        </briefdescription>
        <detaileddescription>
<para>See xmlParseChunk.</para>
<para>Passing an initial chunk is useless and deprecated.</para>
<para>The push parser doesn&apos;t support recovery mode or the XML_PARSE_NOBLANKS option.</para>
<para><computeroutput>filename</computeroutput> is used as base URI to fetch external entities and for error reports.</para>
<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>user data for SAX callbacks (optional) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>chunk</parametername>
</parameternamelist>
<parameterdescription>
<para>initial chunk (optional, deprecated) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>size</parametername>
</parameternamelist>
<parameterdescription>
<para>size of initial chunk in bytes </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>filename</parametername>
</parameternamelist>
<parameterdescription>
<para>file name or URI (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="parser.h" line="1619" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="11358" bodyend="11382" declfile="parser.h" declline="1619" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a77247b6884cf9784f6add908ac434d76" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlParseChunk</definition>
        <argsstring>(xmlParserCtxt *ctxt, const char *chunk, int size, int terminate)</argsstring>
        <name>xmlParseChunk</name>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</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 xmlCreatePushParserCtxt.</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 ctxt-&gt;myDoc. This pointer will not be freed when calling <ref refid="parser_8h_1a39e4f53698570be6a917a2d12f3a0d26" kindref="member">xmlFreeParserCtxt</ref> and must be freed by the caller. If the document isn&apos;t well-formed, it will still be returned in ctxt-&gt;myDoc.</para>
<para>As an exception, xmlCtxtResetPush will free the document in ctxt-&gt;myDoc. So ctxt-&gt;myDoc should be set to NULL after extracting the document.</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 XML 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 xmlParserErrors code (0 on success). </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1625" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="11237" bodyend="11328" declfile="parser.h" declline="1625" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a8aebd9f7b642f30f623b271aa217f5a6" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</ref> *</type>
        <definition>xmlParserCtxt * xmlCreateIOParserCtxt</definition>
        <argsstring>(xmlSAXHandler *sax, void *user_data, xmlInputReadCallback ioread, xmlInputCloseCallback ioclose, void *ioctx, xmlCharEncoding enc)</argsstring>
        <name>xmlCreateIOParserCtxt</name>
        <param>
          <type><ref refid="tree_8h_1a45238c4ba896d6577bb4986e98122e03" kindref="member">xmlSAXHandler</ref> *</type>
          <declname>sax</declname>
        </param>
        <param>
          <type>void *</type>
          <declname>user_data</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><ref refid="encoding_8h_1a662791d23b3d1e0a37244d35c57a02e5" kindref="member">xmlCharEncoding</ref></type>
          <declname>enc</declname>
        </param>
        <briefdescription>
<para>Create a parser context for using the XML parser with an existing I/O stream. </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>user data for SAX callbacks (optional) </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 (optional) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>ioctx</parametername>
</parameternamelist>
<parameterdescription>
<para>an I/O handler </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>enc</parametername>
</parameternamelist>
<parameterdescription>
<para>the charset encoding if known (deprecated) </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the new parser context or NULL </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1636" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="11424" bodyend="11450" declfile="parser.h" declline="1636" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1ac8a5c804b0ba7ed964f8dd27b8e9f433" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="tree_8h_1aa05e6cbf6c68ec5a2e33ddabddf58b7d" kindref="member">xmlParserInput</ref> *</type>
        <definition>xmlParserInput * xmlNewIOInputStream</definition>
        <argsstring>(xmlParserCtxt *ctxt, xmlParserInputBuffer *input, xmlCharEncoding enc)</argsstring>
        <name>xmlNewIOInputStream</name>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type><ref refid="tree_8h_1a7a0ca7c6b30d7a9103b28626f820cab9" kindref="member">xmlParserInputBuffer</ref> *</type>
          <declname>input</declname>
          <defname>buf</defname>
        </param>
        <param>
          <type><ref refid="encoding_8h_1a662791d23b3d1e0a37244d35c57a02e5" kindref="member">xmlCharEncoding</ref></type>
          <declname>enc</declname>
        </param>
        <briefdescription>
<para>Create a new input stream structure encapsulating the <computeroutput>input</computeroutput> into a stream suitable for the parser. </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>buf</parametername>
</parameternamelist>
<parameterdescription>
<para>an input buffer </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>enc</parametername>
</parameternamelist>
<parameterdescription>
<para>the charset encoding if known </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the new input stream or NULL </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1644" column="1" bodyfile="/builds/GNOME/libxml2/parserInternals.c" bodystart="2193" bodyend="2212" declfile="parser.h" declline="1644" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a77bf456113b1b0b8102e7398af94d49c" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>const xmlParserNodeInfo *</type>
        <definition>const xmlParserNodeInfo * xmlParserFindNodeInfo</definition>
        <argsstring>(xmlParserCtxt *ctxt, xmlNode *node)</argsstring>
        <name>xmlParserFindNodeInfo</name>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
          <defname>ctx</defname>
        </param>
        <param>
          <type><ref refid="tree_8h_1ac8c054adbdabc014ab4584dfb1ce841e" kindref="member">xmlNode</ref> *</type>
          <declname>node</declname>
        </param>
        <briefdescription>
<para>Find the parser node info struct for a given node. </para>
        </briefdescription>
        <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000281"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Don&apos;t use.</para>
</xrefdescription></xrefsect></para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctx</parametername>
</parameternamelist>
<parameterdescription>
<para>an XML parser context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>node</parametername>
</parameternamelist>
<parameterdescription>
<para>an XML node within the tree </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>an xmlParserNodeInfo block pointer or NULL </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1653" column="1" bodyfile="/builds/GNOME/libxml2/parserInternals.c" bodystart="3522" bodyend="3535" declfile="parser.h" declline="1653" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1adf45d26e222cba480fa3ad80cc19da9d" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>void xmlInitNodeInfoSeq</definition>
        <argsstring>(xmlParserNodeInfoSeq *seq)</argsstring>
        <name>xmlInitNodeInfoSeq</name>
        <param>
          <type>xmlParserNodeInfoSeq *</type>
          <declname>seq</declname>
        </param>
        <briefdescription>
<para>Initialize (set to initial state) node info sequence. </para>
        </briefdescription>
        <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000282"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Don&apos;t use.</para>
</xrefdescription></xrefsect></para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>seq</parametername>
</parameternamelist>
<parameterdescription>
<para>a node info sequence pointer </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1657" column="1" bodyfile="/builds/GNOME/libxml2/parserInternals.c" bodystart="3546" bodyend="3553" declfile="parser.h" declline="1657" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1ab7dbc56de3c39559171d2bccaf609030" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>void xmlClearNodeInfoSeq</definition>
        <argsstring>(xmlParserNodeInfoSeq *seq)</argsstring>
        <name>xmlClearNodeInfoSeq</name>
        <param>
          <type>xmlParserNodeInfoSeq *</type>
          <declname>seq</declname>
        </param>
        <briefdescription>
<para>Clear (release memory and reinitialize) node info sequence. </para>
        </briefdescription>
        <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000283"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Don&apos;t use.</para>
</xrefdescription></xrefsect></para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>seq</parametername>
</parameternamelist>
<parameterdescription>
<para>a node info sequence pointer </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1660" column="1" bodyfile="/builds/GNOME/libxml2/parserInternals.c" bodystart="3563" bodyend="3570" declfile="parser.h" declline="1660" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a3b4a41cab9cf503570f2352b16498858" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>unsigned long</type>
        <definition>unsigned long xmlParserFindNodeInfoIndex</definition>
        <argsstring>(xmlParserNodeInfoSeq *seq, xmlNode *node)</argsstring>
        <name>xmlParserFindNodeInfoIndex</name>
        <param>
          <type>xmlParserNodeInfoSeq *</type>
          <declname>seq</declname>
        </param>
        <param>
          <type><ref refid="tree_8h_1ac8c054adbdabc014ab4584dfb1ce841e" kindref="member">xmlNode</ref> *</type>
          <declname>node</declname>
        </param>
        <briefdescription>
<para>Find the index that the info record for the given node is or should be at in a sorted sequence. </para>
        </briefdescription>
        <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000284"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Don&apos;t use.</para>
</xrefdescription></xrefsect></para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>seq</parametername>
</parameternamelist>
<parameterdescription>
<para>a node info sequence pointer </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>node</parametername>
</parameternamelist>
<parameterdescription>
<para>an XML node pointer </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>a long indicating the position of the record </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1663" column="1" bodyfile="/builds/GNOME/libxml2/parserInternals.c" bodystart="3583" bodyend="3611" declfile="parser.h" declline="1663" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1aa31bf49d0534d8c8e02bdd4e65193406" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>void xmlParserAddNodeInfo</definition>
        <argsstring>(xmlParserCtxt *ctxt, xmlParserNodeInfo *info)</argsstring>
        <name>xmlParserAddNodeInfo</name>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type>xmlParserNodeInfo *</type>
          <declname>info</declname>
        </param>
        <briefdescription>
<para>Insert node info record into the sorted sequence. </para>
        </briefdescription>
        <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000285"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Don&apos;t use.</para>
</xrefdescription></xrefsect></para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an XML parser context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>info</parametername>
</parameternamelist>
<parameterdescription>
<para>a node info sequence pointer </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1667" column="1" bodyfile="/builds/GNOME/libxml2/parserInternals.c" bodystart="3623" bodyend="3673" declfile="parser.h" declline="1667" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a3e0a3ea3ee3338c9c5ff6b98903dbd9c" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>void xmlSetExternalEntityLoader</definition>
        <argsstring>(xmlExternalEntityLoader f)</argsstring>
        <name>xmlSetExternalEntityLoader</name>
        <param>
          <type><ref refid="parser_8h_1a6bbf92ce0c6b32b1cd373193d0f5f5f1" kindref="member">xmlExternalEntityLoader</ref></type>
          <declname>f</declname>
        </param>
        <briefdescription>
<para>Changes the default external entity resolver function for the application. </para>
        </briefdescription>
        <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000277"><xreftitle>Deprecated</xreftitle><xrefdescription><para>This is a global setting and not thread-safe. Use xmlCtxtSetResourceLoader or similar functions.</para>
</xrefdescription></xrefsect></para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>f</parametername>
</parameternamelist>
<parameterdescription>
<para>the new entity resolver function </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1675" column="1" bodyfile="/builds/GNOME/libxml2/parserInternals.c" bodystart="2616" bodyend="2618" declfile="parser.h" declline="1675" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1aa90c77a86e7a68726649967aa7a16d07" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="parser_8h_1a6bbf92ce0c6b32b1cd373193d0f5f5f1" kindref="member">xmlExternalEntityLoader</ref></type>
        <definition>xmlExternalEntityLoader xmlGetExternalEntityLoader</definition>
        <argsstring>(void)</argsstring>
        <name>xmlGetExternalEntityLoader</name>
        <param>
          <type>void</type>
        </param>
        <briefdescription>
<para>Get the default external entity resolver function for the application. </para>
        </briefdescription>
        <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000278"><xreftitle>Deprecated</xreftitle><xrefdescription><para>See xmlSetExternalEntityLoader.</para>
</xrefdescription></xrefsect></para>
<para><simplesect kind="return"><para>the <ref refid="parser_8h_1a6bbf92ce0c6b32b1cd373193d0f5f5f1" kindref="member">xmlExternalEntityLoader</ref> function pointer </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1677" column="1" bodyfile="/builds/GNOME/libxml2/parserInternals.c" bodystart="2628" bodyend="2630" declfile="parser.h" declline="1677" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a227708b74937cfc1b90387c2f1a0397a" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="tree_8h_1aa05e6cbf6c68ec5a2e33ddabddf58b7d" kindref="member">xmlParserInput</ref> *</type>
        <definition>xmlParserInput * xmlLoadExternalEntity</definition>
        <argsstring>(const char *URL, const char *ID, xmlParserCtxt *ctxt)</argsstring>
        <name>xmlLoadExternalEntity</name>
        <param>
          <type>const char *</type>
          <declname>URL</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>ID</declname>
          <defname>publicId</defname>
        </param>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
<para><computeroutput>URL</computeroutput> is a filename or URL. </para>
        </briefdescription>
        <detaileddescription>
<para>If if contains the substring &quot;://&quot;, it is assumed to be a Legacy Extended IRI. Otherwise, it is treated as a filesystem path.</para>
<para><computeroutput>publicId</computeroutput> is an optional XML public ID, typically from a doctype declaration. It is used for catalog lookups.</para>
<para>If catalog lookup is enabled (default is yes) and URL or ID are found in system or local XML catalogs, URL is replaced with the result. Then the following resource loaders will be called if they were registered (in order of precedence):</para>
<para><itemizedlist>
<listitem><para>the resource loader set with xmlCtxtSetResourceLoader</para>
</listitem><listitem><para>the global external entity loader set with xmlSetExternalEntityLoader (without catalog resolution, deprecated)</para>
</listitem><listitem><para>the per-thread <ref refid="xmlIO_8h_1a3d74afc4eb6b1aa8b5521b2690459714" kindref="member">xmlParserInputBufferCreateFilenameFunc</ref> set with <ref refid="xmlIO_8h_1a69305091df0800559923f17822353d9c" kindref="member">xmlParserInputBufferCreateFilenameDefault</ref> (deprecated)</para>
</listitem><listitem><para>the default loader which will return<itemizedlist>
<listitem><para>the result from a matching global input callback set with <ref refid="xmlIO_8h_1ab6b38e75f9858b2872ae51a06909fbdc" kindref="member">xmlRegisterInputCallbacks</ref> (deprecated)</para>
</listitem><listitem><para>a file opened from the filesystem, with automatic detection of compressed files if support is compiled in.</para>
</listitem></itemizedlist>
</para>
</listitem></itemizedlist>
</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>URL</parametername>
</parameternamelist>
<parameterdescription>
<para>the URL or system ID for the entity to load </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>publicId</parametername>
</parameternamelist>
<parameterdescription>
<para>the public ID for the entity to load (optional) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>the context in which the entity is called or NULL </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the xmlParserInput or NULL </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1679" column="1" bodyfile="/builds/GNOME/libxml2/parserInternals.c" bodystart="2743" bodyend="2746" declfile="parser.h" declline="1679" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a760f4b7aa4d2f83108648b92f981afb9" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>long</type>
        <definition>long xmlByteConsumed</definition>
        <argsstring>(xmlParserCtxt *ctxt)</argsstring>
        <name>xmlByteConsumed</name>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
<para>This function provides the current index of the parser relative to the start of the current entity. </para>
        </briefdescription>
        <detaileddescription>
<para>This function is computed in bytes from the beginning starting at zero and finishing at the size in byte of the file if parsing a file. The function is of constant cost if the input is UTF-8 but can be costly if run on non-UTF-8 input.</para>
<para><xrefsect id="deprecated_1_deprecated000123"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Don&apos;t use.</para>
</xrefdescription></xrefsect></para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an XML parser context </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the index in bytes from the beginning of the entity or -1 in case the index could not be computed. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1685" column="1" bodyfile="/builds/GNOME/libxml2/encoding.c" bodystart="2223" bodyend="2266" declfile="parser.h" declline="1685" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a85c2b1914d05bd33c0b8f905d1f63982" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>void xmlCtxtReset</definition>
        <argsstring>(xmlParserCtxt *ctxt)</argsstring>
        <name>xmlCtxtReset</name>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
<para>Reset a parser context. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an XML parser context </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1891" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="12999" bodyend="13093" declfile="parser.h" declline="1891" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a5622de790857d73d44c65cce2bf74ae5" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlCtxtResetPush</definition>
        <argsstring>(xmlParserCtxt *ctxt, const char *chunk, int size, const char *filename, const char *encoding)</argsstring>
        <name>xmlCtxtResetPush</name>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</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>const char *</type>
          <declname>filename</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>encoding</declname>
        </param>
        <briefdescription>
<para>Reset a push parser context. </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>chunk</parametername>
</parameternamelist>
<parameterdescription>
<para>a pointer to an array of chars </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>an optional file name or URI </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>encoding</parametername>
</parameternamelist>
<parameterdescription>
<para>the document encoding, or NULL </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="parser.h" line="1893" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="13106" bodyend="13129" declfile="parser.h" declline="1893" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a539694793176574f4318fadc71468165" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlCtxtGetOptions</definition>
        <argsstring>(xmlParserCtxt *ctxt)</argsstring>
        <name>xmlCtxtGetOptions</name>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
<para>Get the current options of the parser context. </para>
        </briefdescription>
        <detaileddescription>
<para><simplesect kind="since"><para>2.14.0</para>
</simplesect>
<parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an XML parser context </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the current options set in the parser context, or -1 if ctxt is NULL. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1899" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="13235" bodyend="13241" declfile="parser.h" declline="1899" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a0e34a099a124079abeeac709a2445279" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlCtxtSetOptions</definition>
        <argsstring>(xmlParserCtxt *ctxt, int options)</argsstring>
        <name>xmlCtxtSetOptions</name>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</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.13.0</para>
</simplesect>
With older versions, you can use xmlCtxtUseOptions.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an XML parser context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>options</parametername>
</parameternamelist>
<parameterdescription>
<para>a bitmask of xmlParserOption 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="parser.h" line="1901" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="13216" bodyend="13224" declfile="parser.h" declline="1901" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1ae47f76b45b93114d3fc9d6f627f061ef" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlCtxtUseOptions</definition>
        <argsstring>(xmlParserCtxt *ctxt, int options)</argsstring>
        <name>xmlCtxtUseOptions</name>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</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><itemizedlist>
<listitem><para>XML_PARSE_NOERROR</para>
</listitem><listitem><para>XML_PARSE_NOWARNING</para>
</listitem><listitem><para>XML_PARSE_NONET</para>
</listitem><listitem><para>XML_PARSE_NSCLEAN</para>
</listitem><listitem><para>XML_PARSE_NOCDATA</para>
</listitem><listitem><para>XML_PARSE_COMPACT</para>
</listitem><listitem><para>XML_PARSE_OLD10</para>
</listitem><listitem><para>XML_PARSE_HUGE</para>
</listitem><listitem><para>XML_PARSE_OLDSAX</para>
</listitem><listitem><para>XML_PARSE_IGNORE_ENC</para>
</listitem><listitem><para>XML_PARSE_BIG_LINES</para>
<para><xrefsect id="deprecated_1_deprecated000260"><xreftitle>Deprecated</xreftitle><xrefdescription><para>Use xmlCtxtSetOptions.</para>
</xrefdescription></xrefsect></para>
</listitem></itemizedlist>
</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an XML parser context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>options</parametername>
</parameternamelist>
<parameterdescription>
<para>a combination of xmlParserOption </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="parser.h" line="1904" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="13267" bodyend="13292" declfile="parser.h" declline="1904" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a416b57ce9df30de4eb36507648b3987b" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void *</type>
        <definition>void * xmlCtxtGetPrivate</definition>
        <argsstring>(xmlParserCtxt *ctxt)</argsstring>
        <name>xmlCtxtGetPrivate</name>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para><simplesect kind="since"><para>2.14.0</para>
</simplesect>
<parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>parser context </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the private application data. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1907" column="1" bodyfile="/builds/GNOME/libxml2/parserInternals.c" bodystart="3077" bodyend="3082" declfile="parser.h" declline="1907" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1adf8a364b2fbcee2f78d6d47483f040a2" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>void xmlCtxtSetPrivate</definition>
        <argsstring>(xmlParserCtxt *ctxt, void *priv)</argsstring>
        <name>xmlCtxtSetPrivate</name>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type>void *</type>
          <declname>priv</declname>
        </param>
        <briefdescription>
<para>Set the private application data. </para>
        </briefdescription>
        <detaileddescription>
<para><simplesect kind="since"><para>2.14.0</para>
</simplesect>
<parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>parser context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>priv</parametername>
</parameternamelist>
<parameterdescription>
<para>private application data </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1909" column="1" bodyfile="/builds/GNOME/libxml2/parserInternals.c" bodystart="3093" bodyend="3098" declfile="parser.h" declline="1909" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a649621391f9d03f0de610a0082d81e58" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void *</type>
        <definition>void * xmlCtxtGetCatalogs</definition>
        <argsstring>(xmlParserCtxt *ctxt)</argsstring>
        <name>xmlCtxtGetCatalogs</name>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para><simplesect kind="since"><para>2.14.0</para>
</simplesect>
<parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>parser context </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the local catalogs. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1912" column="1" bodyfile="/builds/GNOME/libxml2/parserInternals.c" bodystart="3107" bodyend="3112" declfile="parser.h" declline="1912" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a72e4bdaa2e1278821b849c7abc3b818b" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>void xmlCtxtSetCatalogs</definition>
        <argsstring>(xmlParserCtxt *ctxt, void *catalogs)</argsstring>
        <name>xmlCtxtSetCatalogs</name>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type>void *</type>
          <declname>catalogs</declname>
        </param>
        <briefdescription>
<para>Set the local catalogs. </para>
        </briefdescription>
        <detaileddescription>
<para><simplesect kind="since"><para>2.14.0</para>
</simplesect>
<parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>parser context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>catalogs</parametername>
</parameternamelist>
<parameterdescription>
<para>catalogs pointer </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1914" column="1" bodyfile="/builds/GNOME/libxml2/parserInternals.c" bodystart="3123" bodyend="3128" declfile="parser.h" declline="1914" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1ac5d476cd48aed48ba8bdc316704f91c0" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="dict_8h_1a72d327232a49f4337b4357e6417cdad3" kindref="member">xmlDict</ref> *</type>
        <definition>xmlDict * xmlCtxtGetDict</definition>
        <argsstring>(xmlParserCtxt *ctxt)</argsstring>
        <name>xmlCtxtGetDict</name>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para><simplesect kind="since"><para>2.14.0</para>
</simplesect>
<parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>parser context </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the dictionary. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1917" column="1" bodyfile="/builds/GNOME/libxml2/parserInternals.c" bodystart="3137" bodyend="3142" declfile="parser.h" declline="1917" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1aab51622c52892838c58083227bc0cead" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>void xmlCtxtSetDict</definition>
        <argsstring>(xmlParserCtxt *ctxt, xmlDict *)</argsstring>
        <name>xmlCtxtSetDict</name>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type><ref refid="dict_8h_1a72d327232a49f4337b4357e6417cdad3" kindref="member">xmlDict</ref> *</type>
          <declname>dict</declname>
        </param>
        <briefdescription>
<para>Set the dictionary. </para>
        </briefdescription>
        <detaileddescription>
<para>This should only be done immediately after creating a parser context.</para>
<para><simplesect kind="since"><para>2.14.0</para>
</simplesect>
<parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>parser context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>dict</parametername>
</parameternamelist>
<parameterdescription>
<para>dictionary </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1919" column="1" bodyfile="/builds/GNOME/libxml2/parserInternals.c" bodystart="3154" bodyend="3163" declfile="parser.h" declline="1919" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1acbb3e2b891672b5351aed8162d974b44" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="tree_8h_1a45238c4ba896d6577bb4986e98122e03" kindref="member">xmlSAXHandler</ref> *</type>
        <definition>xmlSAXHandler * xmlCtxtGetSaxHandler</definition>
        <argsstring>(xmlParserCtxt *ctxt)</argsstring>
        <name>xmlCtxtGetSaxHandler</name>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para><simplesect kind="since"><para>2.14.0</para>
</simplesect>
<parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>parser context </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the SAX handler struct. This is not a copy and must not be freed. Handlers can be updated. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1922" column="1" bodyfile="/builds/GNOME/libxml2/parserInternals.c" bodystart="3173" bodyend="3178" declfile="parser.h" declline="1922" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1ade34cc9274ed0c3336545e48564e66ef" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlCtxtSetSaxHandler</definition>
        <argsstring>(xmlParserCtxt *ctxt, const xmlSAXHandler *sax)</argsstring>
        <name>xmlCtxtSetSaxHandler</name>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type>const <ref refid="tree_8h_1a45238c4ba896d6577bb4986e98122e03" kindref="member">xmlSAXHandler</ref> *</type>
          <declname>sax</declname>
        </param>
        <briefdescription>
<para>Set the SAX handler struct to a copy of <computeroutput>sax</computeroutput>. </para>
        </briefdescription>
        <detaileddescription>
<para><simplesect kind="since"><para>2.14.0</para>
</simplesect>
<parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>parser context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>sax</parametername>
</parameternamelist>
<parameterdescription>
<para>SAX handler </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>0 on success or -1 if arguments are invalid or a memory allocation failed. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1924" column="1" bodyfile="/builds/GNOME/libxml2/parserInternals.c" bodystart="3191" bodyend="3205" declfile="parser.h" declline="1924" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a298011fdad3362493ce7afcb0abdd572" 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 * xmlCtxtGetDocument</definition>
        <argsstring>(xmlParserCtxt *ctxt)</argsstring>
        <name>xmlCtxtGetDocument</name>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para><simplesect kind="since"><para>2.14.0</para>
</simplesect>
<parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>parser context </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the parsed document or NULL if a fatal error occurred when parsing. The document must be freed by the caller. Resets the context&apos;s document to NULL. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1927" column="1" bodyfile="/builds/GNOME/libxml2/parserInternals.c" bodystart="3216" bodyend="3235" declfile="parser.h" declline="1927" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a92077b375fcf9e241c9751c3c91f65ca" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlCtxtIsHtml</definition>
        <argsstring>(xmlParserCtxt *ctxt)</argsstring>
        <name>xmlCtxtIsHtml</name>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para><simplesect kind="since"><para>2.14.0</para>
</simplesect>
<parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>parser context </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>1 if this is a HTML parser context, 0 otherwise. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1929" column="1" bodyfile="/builds/GNOME/libxml2/parserInternals.c" bodystart="3244" bodyend="3249" declfile="parser.h" declline="1929" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a42c2fb7c292c2b60900aeddbe412a194" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlCtxtIsStopped</definition>
        <argsstring>(xmlParserCtxt *ctxt)</argsstring>
        <name>xmlCtxtIsStopped</name>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
<para>Check whether the parser is stopped. </para>
        </briefdescription>
        <detaileddescription>
<para>The parser is stopped on fatal (non-wellformedness) errors or on user request with <ref refid="parser_8h_1ac8f08dc2974a39af78b68e6cdd018d4c" kindref="member">xmlStopParser</ref>.</para>
<para><simplesect kind="since"><para>2.14.0</para>
</simplesect>
<parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>parser context </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>1 if the parser is stopped, 0 otherwise. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1931" column="1" bodyfile="/builds/GNOME/libxml2/parserInternals.c" bodystart="3263" bodyend="3268" declfile="parser.h" declline="1931" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1aa1523d418cd92068a5819d7aa47c743e" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlCtxtIsInSubset</definition>
        <argsstring>(xmlParserCtxt *ctxt)</argsstring>
        <name>xmlCtxtIsInSubset</name>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
<para>Check whether a DTD subset is being parsed. </para>
        </briefdescription>
        <detaileddescription>
<para>Should only be used by SAX callbacks.</para>
<para>Return values are</para>
<para><itemizedlist>
<listitem><para>0: not in DTD</para>
</listitem><listitem><para>1: in internal DTD subset</para>
</listitem><listitem><para>2: in external DTD subset</para>
</listitem></itemizedlist>
</para>
<para><simplesect kind="since"><para>2.15.0</para>
</simplesect>
<parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>parser context </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the subset status </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1933" column="1" bodyfile="/builds/GNOME/libxml2/parserInternals.c" bodystart="3287" bodyend="3292" declfile="parser.h" declline="1933" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1aaacf2733f3e40fc30dab089ee1355ebc" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="struct__xmlValidCtxt" kindref="compound">xmlValidCtxt</ref> *</type>
        <definition>xmlValidCtxt * xmlCtxtGetValidCtxt</definition>
        <argsstring>(xmlParserCtxt *ctxt)</argsstring>
        <name>xmlCtxtGetValidCtxt</name>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para><simplesect kind="since"><para>2.14.0</para>
</simplesect>
<parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>parser context </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the validation context. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1936" column="1" bodyfile="/builds/GNOME/libxml2/parserInternals.c" bodystart="3302" bodyend="3307" declfile="parser.h" declline="1936" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1aeb4d40a990cc73c7dfc15cc7d9f7d2aa" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
        <definition>const xmlChar * xmlCtxtGetVersion</definition>
        <argsstring>(xmlParserCtxt *ctxt)</argsstring>
        <name>xmlCtxtGetVersion</name>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para><simplesect kind="since"><para>2.14.0</para>
</simplesect>
<parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>parser context </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the version from the XML declaration. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1939" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="10305" bodyend="10310" declfile="parser.h" declline="1939" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a94d9434a8bdcc2348feca88552f95a0b" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
        <definition>const xmlChar * xmlCtxtGetDeclaredEncoding</definition>
        <argsstring>(xmlParserCtxt *ctxt)</argsstring>
        <name>xmlCtxtGetDeclaredEncoding</name>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para><simplesect kind="since"><para>2.14.0</para>
</simplesect>
<parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>parser context </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the encoding from the encoding declaration. This can differ from the actual encoding. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1941" column="1" bodyfile="/builds/GNOME/libxml2/parserInternals.c" bodystart="1727" bodyend="1732" declfile="parser.h" declline="1941" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a5b83afa81d9c7870731039fe2b277910" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlCtxtGetStandalone</definition>
        <argsstring>(xmlParserCtxt *ctxt)</argsstring>
        <name>xmlCtxtGetStandalone</name>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para><simplesect kind="since"><para>2.14.0</para>
</simplesect>
<parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>parser context </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the value from the standalone document declaration. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1943" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="10319" bodyend="10324" declfile="parser.h" declline="1943" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1af2c13485b4f93dac83e915cc21b2122c" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="parser_8h_1a14fa3a3a961854f140a3e5403954abc1" kindref="member">xmlParserStatus</ref></type>
        <definition>xmlParserStatus xmlCtxtGetStatus</definition>
        <argsstring>(xmlParserCtxt *ctxt)</argsstring>
        <name>xmlCtxtGetStatus</name>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
<para>Get well-formedness and validation status after parsing. </para>
        </briefdescription>
        <detaileddescription>
<para>Also reports catastrophic errors which are not related to parsing like out-of-memory, I/O or other errors.</para>
<para><simplesect kind="since"><para>2.14.0</para>
</simplesect>
<parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an XML parser context </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>a bitmask of XML_STATUS_* flags ORed together. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1945" column="1" bodyfile="/builds/GNOME/libxml2/parserInternals.c" bodystart="449" bodyend="470" declfile="parser.h" declline="1945" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1abd7ac198c80839e8808f233d29e02fc1" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void *</type>
        <definition>void * xmlCtxtGetUserData</definition>
        <argsstring>(xmlParserCtxt *ctxt)</argsstring>
        <name>xmlCtxtGetUserData</name>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
<para>Return user data. </para>
        </briefdescription>
        <detaileddescription>
<para>Return user data of a custom SAX parser or the parser context itself if unset.</para>
<para><simplesect kind="since"><para>2.15.0</para>
</simplesect>
<parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>parser context </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the user data. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1947" column="1" bodyfile="/builds/GNOME/libxml2/parserInternals.c" bodystart="3322" bodyend="3327" declfile="parser.h" declline="1947" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1ae847f35d4d290e3a76f93b99afb3636e" 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 * xmlCtxtGetNode</definition>
        <argsstring>(xmlParserCtxt *ctxt)</argsstring>
        <name>xmlCtxtGetNode</name>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
<para>Return the current node being parsed. </para>
        </briefdescription>
        <detaileddescription>
<para>This is only useful if the default SAX callbacks which build a document tree are intercepted. This mode of operation is fragile and discouraged.</para>
<para>Returns the current element node, or the document node if no element was parsed yet.</para>
<para><simplesect kind="since"><para>2.15.0</para>
</simplesect>
<parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>parser context </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the current node. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1949" column="1" bodyfile="/builds/GNOME/libxml2/parserInternals.c" bodystart="3345" bodyend="3352" declfile="parser.h" declline="1949" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1ac457f016ceaa7cea92f3bf823a09c362" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlCtxtGetDocTypeDecl</definition>
        <argsstring>(xmlParserCtxt *ctxt, const xmlChar **name, const xmlChar **systemId, const xmlChar **publicId)</argsstring>
        <name>xmlCtxtGetDocTypeDecl</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>name</declname>
        </param>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> **</type>
          <declname>systemId</declname>
        </param>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> **</type>
          <declname>publicId</declname>
        </param>
        <briefdescription>
<para>Return data from the doctype declaration. </para>
        </briefdescription>
        <detaileddescription>
<para>Should only be used by SAX callbacks.</para>
<para><simplesect kind="since"><para>2.15.0</para>
</simplesect>
<parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>parser context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>name</parametername>
</parameternamelist>
<parameterdescription>
<para>name of the root element (output) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>systemId</parametername>
</parameternamelist>
<parameterdescription>
<para>system ID (URI) of the external subset (output) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>publicId</parametername>
</parameternamelist>
<parameterdescription>
<para>public ID of the external subset (output) </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>0 on success, -1 if argument is invalid </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1951" column="1" bodyfile="/builds/GNOME/libxml2/parserInternals.c" bodystart="3368" bodyend="3383" declfile="parser.h" declline="1951" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1ad28619d7a08511e570dc279dd38bf0fc" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlCtxtGetInputPosition</definition>
        <argsstring>(xmlParserCtxt *ctxt, int inputIndex, const char **filname, int *line, int *col, unsigned long *bytePos)</argsstring>
        <name>xmlCtxtGetInputPosition</name>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type>int</type>
          <declname>inputIndex</declname>
        </param>
        <param>
          <type>const char **</type>
          <declname>filname</declname>
          <defname>filename</defname>
        </param>
        <param>
          <type>int *</type>
          <declname>line</declname>
        </param>
        <param>
          <type>int *</type>
          <declname>col</declname>
        </param>
        <param>
          <type>unsigned long *</type>
          <declname>bytePos</declname>
          <defname>utf8BytePos</defname>
        </param>
        <briefdescription>
<para>Return input position. </para>
        </briefdescription>
        <detaileddescription>
<para>Should only be used by error handlers or SAX callbacks.</para>
<para>Because of entities, there can be multiple inputs. Non-negative values of <computeroutput>inputIndex</computeroutput> (0, 1, 2, ...) select inputs starting from the outermost input. Negative values (-1, -2, ...) select inputs starting from the innermost input.</para>
<para>The byte position is counted in possibly decoded UTF-8 bytes, so it won&apos;t match the position in the raw input data.</para>
<para><simplesect kind="since"><para>2.15.0</para>
</simplesect>
<parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>parser context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>inputIndex</parametername>
</parameternamelist>
<parameterdescription>
<para>input index </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>filename</parametername>
</parameternamelist>
<parameterdescription>
<para>filename (output) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>line</parametername>
</parameternamelist>
<parameterdescription>
<para>line number (output) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>col</parametername>
</parameternamelist>
<parameterdescription>
<para>column number (output) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>utf8BytePos</parametername>
</parameternamelist>
<parameterdescription>
<para>byte position (output) </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>0 on success, -1 if arguments are invalid </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1956" column="1" bodyfile="/builds/GNOME/libxml2/parserInternals.c" bodystart="3409" bodyend="3443" declfile="parser.h" declline="1956" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1aaed78db63b3868f3e682ca0a72cbc22d" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlCtxtGetInputWindow</definition>
        <argsstring>(xmlParserCtxt *ctxt, int inputIndex, const xmlChar **startOut, int *sizeInOut, int *offsetOut)</argsstring>
        <name>xmlCtxtGetInputWindow</name>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type>int</type>
          <declname>inputIndex</declname>
        </param>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> **</type>
          <declname>startOut</declname>
        </param>
        <param>
          <type>int *</type>
          <declname>sizeInOut</declname>
        </param>
        <param>
          <type>int *</type>
          <declname>offsetOut</declname>
        </param>
        <briefdescription>
<para>Return window into input data. </para>
        </briefdescription>
        <detaileddescription>
<para>Should only be used by error handlers or SAX callbacks. The returned pointer is only valid until the callback returns.</para>
<para>Because of entities, there can be multiple inputs. Non-negative values of <computeroutput>inputIndex</computeroutput> (0, 1, 2, ...) select inputs starting from the outermost input. Negative values (-1, -2, ...) select inputs starting from the innermost input.</para>
<para><simplesect kind="since"><para>2.15.0</para>
</simplesect>
<parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>parser context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>inputIndex</parametername>
</parameternamelist>
<parameterdescription>
<para>input index </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>startOut</parametername>
</parameternamelist>
<parameterdescription>
<para>start of window (output) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>sizeInOut</parametername>
</parameternamelist>
<parameterdescription>
<para>maximum size of window (in) actual size of window (out) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>offsetOut</parametername>
</parameternamelist>
<parameterdescription>
<para>offset of current position inside window (out) </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>0 on success, -1 if arguments are invalid </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1963" column="1" bodyfile="/builds/GNOME/libxml2/parserInternals.c" bodystart="3468" bodyend="3490" declfile="parser.h" declline="1963" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1ae5ed5da325b136d630c2f774623ff06a" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>void xmlCtxtSetErrorHandler</definition>
        <argsstring>(xmlParserCtxt *ctxt, xmlStructuredErrorFunc handler, void *data)</argsstring>
        <name>xmlCtxtSetErrorHandler</name>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type><ref refid="xmlerror_8h_1a43ce1e8b08b983fe847fdf074b021127" kindref="member">xmlStructuredErrorFunc</ref></type>
          <declname>handler</declname>
        </param>
        <param>
          <type>void *</type>
          <declname>data</declname>
        </param>
        <briefdescription>
<para>Register a callback function that will be called on errors and warnings. </para>
        </briefdescription>
        <detaileddescription>
<para>If handler is NULL, the error handler will be deactivated.</para>
<para>If you only want to disable parser errors being printed to stderr, use xmlParserOption XML_PARSE_NOERROR.</para>
<para>This is the recommended way to collect errors from the parser and takes precedence over all other error reporting mechanisms. These are (in order of precedence):</para>
<para><itemizedlist>
<listitem><para>per-context structured handler (xmlCtxtSetErrorHandler)</para>
</listitem><listitem><para>per-context structured &quot;serror&quot; SAX handler</para>
</listitem><listitem><para>global structured handler (<ref refid="xmlerror_8h_1a45950b585823204441216f768579b5f4" kindref="member">xmlSetStructuredErrorFunc</ref>)</para>
</listitem><listitem><para>per-context generic &quot;error&quot; and &quot;warning&quot; SAX handlers</para>
</listitem><listitem><para>global generic handler (<ref refid="xmlerror_8h_1ab1b127a183bcaaf7de7f08928dd5994a" kindref="member">xmlSetGenericErrorFunc</ref>)</para>
</listitem><listitem><para>print to stderr</para>
</listitem></itemizedlist>
</para>
<para><simplesect kind="since"><para>2.13.0 </para>
</simplesect>
<parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an XML parser context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>handler</parametername>
</parameternamelist>
<parameterdescription>
<para>error handler </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>data</parametername>
</parameternamelist>
<parameterdescription>
<para>data for error handler </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1969" column="1" bodyfile="/builds/GNOME/libxml2/parserInternals.c" bodystart="120" bodyend="127" declfile="parser.h" declline="1969" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a5e0c3103a2d3b1e9003760479e1e8704" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>void xmlCtxtSetResourceLoader</definition>
        <argsstring>(xmlParserCtxt *ctxt, xmlResourceLoader loader, void *vctxt)</argsstring>
        <name>xmlCtxtSetResourceLoader</name>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type><ref refid="parser_8h_1a7c18bf0fce4a02394bd219d9422c27ed" kindref="member">xmlResourceLoader</ref></type>
          <declname>loader</declname>
        </param>
        <param>
          <type>void *</type>
          <declname>vctxt</declname>
        </param>
        <briefdescription>
<para>Installs a custom callback to load documents, DTDs or external entities. </para>
        </briefdescription>
        <detaileddescription>
<para>If <computeroutput>vctxt</computeroutput> is NULL, the parser context will be passed.</para>
<para><simplesect kind="since"><para>2.14.0 </para>
</simplesect>
<parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>parser context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>loader</parametername>
</parameternamelist>
<parameterdescription>
<para>callback </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>vctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>user data (optional) </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1973" column="1" bodyfile="/builds/GNOME/libxml2/parserInternals.c" bodystart="2644" bodyend="2651" declfile="parser.h" declline="1973" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1ac734aadfdb03544bbcb81778778ecc9b" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>void xmlCtxtSetCharEncConvImpl</definition>
        <argsstring>(xmlParserCtxt *ctxt, xmlCharEncConvImpl impl, void *vctxt)</argsstring>
        <name>xmlCtxtSetCharEncConvImpl</name>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type><ref refid="encoding_8h_1aeaace285ae5305c799468365fb3f4ec1" kindref="member">xmlCharEncConvImpl</ref></type>
          <declname>impl</declname>
        </param>
        <param>
          <type>void *</type>
          <declname>vctxt</declname>
        </param>
        <briefdescription>
<para>Installs a custom implementation to convert between character encodings. </para>
        </briefdescription>
        <detaileddescription>
<para>This bypasses legacy feature like global encoding handlers or encoding aliases.</para>
<para><simplesect kind="since"><para>2.14.0 </para>
</simplesect>
<parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>parser context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>impl</parametername>
</parameternamelist>
<parameterdescription>
<para>callback </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>vctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>user data </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1977" column="1" bodyfile="/builds/GNOME/libxml2/parserInternals.c" bodystart="1158" bodyend="1165" declfile="parser.h" declline="1977" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1aee040b0b5497253fa0555f10eebb46e7" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>void xmlCtxtSetMaxAmplification</definition>
        <argsstring>(xmlParserCtxt *ctxt, unsigned maxAmpl)</argsstring>
        <name>xmlCtxtSetMaxAmplification</name>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type>unsigned</type>
          <declname>maxAmpl</declname>
        </param>
        <briefdescription>
<para>To protect against exponential entity expansion (&quot;billion laughs&quot;), the size of serialized output is (roughly) limited to the input size multiplied by this factor. </para>
        </briefdescription>
        <detaileddescription>
<para>The default value is 5.</para>
<para>When working with documents making heavy use of entity expansion, it can be necessary to increase the value. For security reasons, this should only be considered when processing trusted input.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an XML parser context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>maxAmpl</parametername>
</parameternamelist>
<parameterdescription>
<para>maximum amplification factor </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1981" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="13307" bodyend="13312" declfile="parser.h" declline="1981" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1abafd139b6651421e3c8b2a7f2525e183" 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 * xmlReadDoc</definition>
        <argsstring>(const xmlChar *cur, const char *URL, const char *encoding, int options)</argsstring>
        <name>xmlReadDoc</name>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>cur</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 XML document from a zero-terminated string. </para>
        </briefdescription>
        <detaileddescription>
<para>See xmlCtxtReadDoc for details.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>cur</parametername>
</parameternamelist>
<parameterdescription>
<para>a pointer to a zero terminated string </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>URL</parametername>
</parameternamelist>
<parameterdescription>
<para>base URL (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 xmlParserOption </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the resulting document tree </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1984" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="13368" bodyend="13389" declfile="parser.h" declline="1984" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a1f86eefcbde10975fcf8d5cec5b0cae7" 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 * xmlReadFile</definition>
        <argsstring>(const char *URL, const char *encoding, int options)</argsstring>
        <name>xmlReadFile</name>
        <param>
          <type>const char *</type>
          <declname>URL</declname>
          <defname>filename</defname>
        </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 XML file from the filesystem or a global, user-defined resource loader. </para>
        </briefdescription>
        <detaileddescription>
<para>If a &quot;-&quot; filename is passed, the function will read from stdin. This feature is potentially insecure and might be removed from later versions.</para>
<para>See xmlCtxtReadFile 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 xmlParserOption </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the resulting document tree </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1989" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="13407" bodyend="13435" declfile="parser.h" declline="1989" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a783c647cf82b51f93a5cd27faf5fbe2f" 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 * xmlReadMemory</definition>
        <argsstring>(const char *buffer, int size, const char *URL, const char *encoding, int options)</argsstring>
        <name>xmlReadMemory</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>
          <defname>url</defname>
        </param>
        <param>
          <type>const char *</type>
          <declname>encoding</declname>
        </param>
        <param>
          <type>int</type>
          <declname>options</declname>
        </param>
        <briefdescription>
<para>Parse an XML in-memory document and build a tree. </para>
        </briefdescription>
        <detaileddescription>
<para>The input buffer must not contain a terminating null byte.</para>
<para>See xmlCtxtReadMemory 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>base URL (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 xmlParserOption </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the resulting document tree </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1993" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="13451" bodyend="13475" declfile="parser.h" declline="1993" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a5f1ffeb994696a11b8aa015bd69e1205" 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 * xmlReadFd</definition>
        <argsstring>(int fd, const char *URL, const char *encoding, int options)</argsstring>
        <name>xmlReadFd</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>Parse an XML from a file descriptor and build a tree. </para>
        </briefdescription>
        <detaileddescription>
<para>See xmlCtxtReadFd 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>fd</parametername>
</parameternamelist>
<parameterdescription>
<para>an open file descriptor </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>URL</parametername>
</parameternamelist>
<parameterdescription>
<para>base URL (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 xmlParserOption </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the resulting document tree </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="1999" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="13492" bodyend="13511" declfile="parser.h" declline="1999" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a183ee5d8f9c0d2041bb17dbd104aea19" 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 * xmlReadIO</definition>
        <argsstring>(xmlInputReadCallback ioread, xmlInputCloseCallback ioclose, void *ioctx, const char *URL, const char *encoding, int options)</argsstring>
        <name>xmlReadIO</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>Parse an XML document from I/O functions and context and build a tree. </para>
        </briefdescription>
        <detaileddescription>
<para>See xmlCtxtReadIO 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>base URL (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 xmlParserOption </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the resulting document tree </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="2004" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="13527" bodyend="13548" declfile="parser.h" declline="2004" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a3392ecd9fb78c14323393059d3ae9652" 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 * xmlCtxtParseDocument</definition>
        <argsstring>(xmlParserCtxt *ctxt, xmlParserInput *input)</argsstring>
        <name>xmlCtxtParseDocument</name>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</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 XML document and return the resulting document tree. </para>
        </briefdescription>
        <detaileddescription>
<para>Takes ownership of the input object.</para>
<para><simplesect kind="since"><para>2.13.0</para>
</simplesect>
<parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an XML 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="parser.h" line="2011" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="13325" bodyend="13353" declfile="parser.h" declline="2011" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1ad9556fdbc45d529e94fa524298724fb8" 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 * xmlCtxtParseContent</definition>
        <argsstring>(xmlParserCtxt *ctxt, xmlParserInput *input, xmlNode *node, int hasTextDecl)</argsstring>
        <name>xmlCtxtParseContent</name>
        <param>
          <type><ref refid="tree_8h_1afe4cc6b7bf2e4d3858f4aee47370d3d8" kindref="member">xmlParserCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type><ref refid="tree_8h_1aa05e6cbf6c68ec5a2e33ddabddf58b7d" kindref="member">xmlParserInput</ref> *</type>
          <declname>input</declname>
        </param>
        <param>
          <type><ref refid="tree_8h_1ac8c054adbdabc014ab4584dfb1ce841e" kindref="member">xmlNode</ref> *</type>
          <declname>node</declname>
        </param>
        <param>
          <type>int</type>
          <declname>hasTextDecl</declname>
        </param>
        <briefdescription>
<para>Parse a well-balanced chunk of XML matching the &apos;content&apos; production. </para>
        </briefdescription>
        <detaileddescription>
<para>Namespaces in scope of <computeroutput>node</computeroutput> and entities of <computeroutput>node</computeroutput>&apos;s document are recognized. When validating, the DTD of <computeroutput>node</computeroutput>&apos;s document is used.</para>
<para>Always consumes <computeroutput>input</computeroutput> even in error case.</para>
<para><simplesect kind="since"><para>2.14.0</para>
</simplesect>
<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>
<parameteritem>
<parameternamelist>
<parametername>node</parametername>
</parameternamelist>
<parameterdescription>
<para>target node or document </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>hasTextDecl</parametername>
</parameternamelist>
<parameterdescription>
<para>whether to parse text declaration </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>a node list or NULL in case of error. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="2014" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="12007" bodyend="12126" declfile="parser.h" declline="2014" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a75b5ec9558b29e6371557c491fb888c0" 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 * xmlCtxtReadDoc</definition>
        <argsstring>(xmlParserCtxt *ctxt, const xmlChar *cur, const char *URL, const char *encoding, int options)</argsstring>
        <name>xmlCtxtReadDoc</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>cur</declname>
          <defname>str</defname>
        </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 XML in-memory document and build a tree. </para>
        </briefdescription>
        <detaileddescription>
<para><computeroutput>URL</computeroutput> is used as base to resolve external entities and for error reporting.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an XML 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>base URL (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 xmlParserOption </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the resulting document tree </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="2019" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="13564" bodyend="13581" declfile="parser.h" declline="2019" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a0cd872bfb02c708cc137fb5877cd25e1" 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 * xmlCtxtReadFile</definition>
        <argsstring>(xmlParserCtxt *ctxt, const char *filename, const char *encoding, int options)</argsstring>
        <name>xmlCtxtReadFile</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 XML file from the filesystem or a global, user-defined resource loader. </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>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 xmlParserOption </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the resulting document tree </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="2025" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="13594" bodyend="13610" declfile="parser.h" declline="2025" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1aa02be1c2cbed349fd725aa920f1a65a1" 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 * xmlCtxtReadMemory</definition>
        <argsstring>(xmlParserCtxt *ctxt, const char *buffer, int size, const char *URL, const char *encoding, int options)</argsstring>
        <name>xmlCtxtReadMemory</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 XML in-memory document and build a tree. </para>
        </briefdescription>
        <detaileddescription>
<para>The input buffer must not contain a terminating null byte.</para>
<para><computeroutput>URL</computeroutput> is used as base to resolve external entities and for error reporting.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an XML 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>base URL (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 xmlParserOption </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the resulting document tree </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="2030" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="13628" bodyend="13645" declfile="parser.h" declline="2030" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a4dc2c051a0d059776df8c4261f8bcdda" 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 * xmlCtxtReadFd</definition>
        <argsstring>(xmlParserCtxt *ctxt, int fd, const char *URL, const char *encoding, int options)</argsstring>
        <name>xmlCtxtReadFd</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 XML document from a file descriptor and build a tree. </para>
        </briefdescription>
        <detaileddescription>
<para>NOTE that the file descriptor will not be closed when the context is freed or reset.</para>
<para><computeroutput>URL</computeroutput> is used as base to resolve external entities and for error reporting.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an XML 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>base URL (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 xmlParserOption </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the resulting document tree </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="2037" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="13664" bodyend="13680" declfile="parser.h" declline="2037" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1abfade32247691b852243fc71690c4c87" 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 * xmlCtxtReadIO</definition>
        <argsstring>(xmlParserCtxt *ctxt, xmlInputReadCallback ioread, xmlInputCloseCallback ioclose, void *ioctx, const char *URL, const char *encoding, int options)</argsstring>
        <name>xmlCtxtReadIO</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 XML document from I/O functions and source and build a tree. </para>
        </briefdescription>
        <detaileddescription>
<para>This reuses the existing <computeroutput>ctxt</computeroutput> parser context</para>
<para><computeroutput>URL</computeroutput> is used as base to resolve external entities and for error reporting.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>an XML 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 xmlParserOption </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the resulting document tree </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="2043" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="13699" bodyend="13718" declfile="parser.h" declline="2043" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a07aefa97e2d3a6e3735accb899f1a154" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="xmlerror_8h_1adc147424b5aac85cccf5018513b9ec14" kindref="member">xmlParserErrors</ref></type>
        <definition>xmlParserErrors xmlNewInputFromUrl</definition>
        <argsstring>(const char *url, xmlParserInputFlags flags, xmlParserInput **out)</argsstring>
        <name>xmlNewInputFromUrl</name>
        <param>
          <type>const char *</type>
          <declname>url</declname>
        </param>
        <param>
          <type><ref refid="parser_8h_1affb1c6c9ba998cfa7d2e97ef5c756da8" kindref="member">xmlParserInputFlags</ref></type>
          <declname>flags</declname>
        </param>
        <param>
          <type><ref refid="tree_8h_1aa05e6cbf6c68ec5a2e33ddabddf58b7d" kindref="member">xmlParserInput</ref> **</type>
          <declname>out</declname>
        </param>
        <briefdescription>
<para>Create a new input stream based on a file or a URL. </para>
        </briefdescription>
        <detaileddescription>
<para>The flag XML_INPUT_UNZIP allows decompression.</para>
<para>The flag XML_INPUT_NETWORK allows network access.</para>
<para>The following resource loaders will be called if they were registered (in order of precedence):</para>
<para><itemizedlist>
<listitem><para>the per-thread <ref refid="xmlIO_8h_1a3d74afc4eb6b1aa8b5521b2690459714" kindref="member">xmlParserInputBufferCreateFilenameFunc</ref> set with <ref refid="xmlIO_8h_1a69305091df0800559923f17822353d9c" kindref="member">xmlParserInputBufferCreateFilenameDefault</ref> (deprecated)</para>
</listitem><listitem><para>the default loader which will return<itemizedlist>
<listitem><para>the result from a matching global input callback set with <ref refid="xmlIO_8h_1ab6b38e75f9858b2872ae51a06909fbdc" kindref="member">xmlRegisterInputCallbacks</ref> (deprecated)</para>
</listitem><listitem><para>a file opened from the filesystem, with automatic detection of compressed files if support is compiled in.</para>
</listitem></itemizedlist>
</para>
</listitem></itemizedlist>
</para>
<para><simplesect kind="since"><para>2.14.0</para>
</simplesect>
<parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>url</parametername>
</parameternamelist>
<parameterdescription>
<para>the filename to use as entity </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>flags</parametername>
</parameternamelist>
<parameterdescription>
<para>XML_INPUT flags </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>out</parametername>
</parameternamelist>
<parameterdescription>
<para>pointer to new parser input </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>an xmlParserErrors code. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="2056" column="1" bodyfile="/builds/GNOME/libxml2/parserInternals.c" bodystart="2446" bodyend="2490" declfile="parser.h" declline="2056" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a8ec1d739fb500cffed62c06ac139678b" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="tree_8h_1aa05e6cbf6c68ec5a2e33ddabddf58b7d" kindref="member">xmlParserInput</ref> *</type>
        <definition>xmlParserInput * xmlNewInputFromMemory</definition>
        <argsstring>(const char *url, const void *mem, size_t size, xmlParserInputFlags flags)</argsstring>
        <name>xmlNewInputFromMemory</name>
        <param>
          <type>const char *</type>
          <declname>url</declname>
        </param>
        <param>
          <type>const void *</type>
          <declname>mem</declname>
        </param>
        <param>
          <type>size_t</type>
          <declname>size</declname>
        </param>
        <param>
          <type><ref refid="parser_8h_1affb1c6c9ba998cfa7d2e97ef5c756da8" kindref="member">xmlParserInputFlags</ref></type>
          <declname>flags</declname>
        </param>
        <briefdescription>
<para>Creates a new parser input to read from a memory area. </para>
        </briefdescription>
        <detaileddescription>
<para><computeroutput>url</computeroutput> is used as base to resolve external entities and for error reporting.</para>
<para>If the XML_INPUT_BUF_STATIC flag is set, the memory area must stay unchanged until parsing has finished. This can avoid temporary copies.</para>
<para>If the XML_INPUT_BUF_ZERO_TERMINATED flag is set, the memory area must contain a zero byte after the buffer at position <computeroutput>size</computeroutput>. This can avoid temporary copies.</para>
<para><simplesect kind="since"><para>2.14.0</para>
</simplesect>
<parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>url</parametername>
</parameternamelist>
<parameterdescription>
<para>base URL (optional) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>mem</parametername>
</parameternamelist>
<parameterdescription>
<para>pointer to char array </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>size</parametername>
</parameternamelist>
<parameterdescription>
<para>size of array </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>flags</parametername>
</parameternamelist>
<parameterdescription>
<para>optimization hints </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>a new parser input or NULL if a memory allocation failed. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="2059" column="1" bodyfile="/builds/GNOME/libxml2/parserInternals.c" bodystart="1891" bodyend="1903" declfile="parser.h" declline="2059" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a0a4d6fd6fa0bca9a7cc3249b4730e67b" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="tree_8h_1aa05e6cbf6c68ec5a2e33ddabddf58b7d" kindref="member">xmlParserInput</ref> *</type>
        <definition>xmlParserInput * xmlNewInputFromString</definition>
        <argsstring>(const char *url, const char *str, xmlParserInputFlags flags)</argsstring>
        <name>xmlNewInputFromString</name>
        <param>
          <type>const char *</type>
          <declname>url</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>str</declname>
        </param>
        <param>
          <type><ref refid="parser_8h_1affb1c6c9ba998cfa7d2e97ef5c756da8" kindref="member">xmlParserInputFlags</ref></type>
          <declname>flags</declname>
        </param>
        <briefdescription>
<para>Creates a new parser input to read from a zero-terminated string. </para>
        </briefdescription>
        <detaileddescription>
<para><computeroutput>url</computeroutput> is used as base to resolve external entities and for error reporting.</para>
<para>If the XML_INPUT_BUF_STATIC flag is set, the string must stay unchanged until parsing has finished. This can avoid temporary copies.</para>
<para><simplesect kind="since"><para>2.14.0</para>
</simplesect>
<parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>url</parametername>
</parameternamelist>
<parameterdescription>
<para>base URL (optional) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>str</parametername>
</parameternamelist>
<parameterdescription>
<para>zero-terminated string </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>flags</parametername>
</parameternamelist>
<parameterdescription>
<para>optimization hints </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>a new parser input or NULL if a memory allocation failed. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="2062" column="1" bodyfile="/builds/GNOME/libxml2/parserInternals.c" bodystart="1953" bodyend="1965" declfile="parser.h" declline="2062" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1aea9e0f1f05e24e2ca58099b64f98b707" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="tree_8h_1aa05e6cbf6c68ec5a2e33ddabddf58b7d" kindref="member">xmlParserInput</ref> *</type>
        <definition>xmlParserInput * xmlNewInputFromFd</definition>
        <argsstring>(const char *url, int fd, xmlParserInputFlags flags)</argsstring>
        <name>xmlNewInputFromFd</name>
        <param>
          <type>const char *</type>
          <declname>url</declname>
        </param>
        <param>
          <type>int</type>
          <declname>fd</declname>
        </param>
        <param>
          <type><ref refid="parser_8h_1affb1c6c9ba998cfa7d2e97ef5c756da8" kindref="member">xmlParserInputFlags</ref></type>
          <declname>flags</declname>
        </param>
        <briefdescription>
<para>Creates a new parser input to read from a file descriptor. </para>
        </briefdescription>
        <detaileddescription>
<para><computeroutput>url</computeroutput> is used as base to resolve external entities and for error reporting.</para>
<para><computeroutput>fd</computeroutput> is closed after parsing has finished.</para>
<para>Supported <computeroutput>flags</computeroutput> are XML_INPUT_UNZIP to decompress data automatically. This feature is deprecated and will be removed in a future release.</para>
<para><simplesect kind="since"><para>2.14.0</para>
</simplesect>
<parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>url</parametername>
</parameternamelist>
<parameterdescription>
<para>base URL (optional) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>fd</parametername>
</parameternamelist>
<parameterdescription>
<para>file descriptor </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>flags</parametername>
</parameternamelist>
<parameterdescription>
<para>input flags </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>a new parser input or NULL if a memory allocation failed. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="2065" column="1" bodyfile="/builds/GNOME/libxml2/parserInternals.c" bodystart="2016" bodyend="2032" declfile="parser.h" declline="2065" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1af8d60f677d2d414378569046a4e1c9b9" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="tree_8h_1aa05e6cbf6c68ec5a2e33ddabddf58b7d" kindref="member">xmlParserInput</ref> *</type>
        <definition>xmlParserInput * xmlNewInputFromIO</definition>
        <argsstring>(const char *url, xmlInputReadCallback ioRead, xmlInputCloseCallback ioClose, void *ioCtxt, xmlParserInputFlags flags)</argsstring>
        <name>xmlNewInputFromIO</name>
        <param>
          <type>const char *</type>
          <declname>url</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>ioCtxt</declname>
        </param>
        <param>
          <type><ref refid="parser_8h_1affb1c6c9ba998cfa7d2e97ef5c756da8" kindref="member">xmlParserInputFlags</ref></type>
          <declname>flags</declname>
        </param>
        <briefdescription>
<para>Creates a new parser input to read from input callbacks and context. </para>
        </briefdescription>
        <detaileddescription>
<para><computeroutput>url</computeroutput> is used as base to resolve external entities and for error reporting.</para>
<para><computeroutput>ioRead</computeroutput> is called to read new data into a provided buffer. It must return the number of bytes written into the buffer ot a negative xmlParserErrors code on failure.</para>
<para><computeroutput>ioClose</computeroutput> is called after parsing has finished.</para>
<para><computeroutput>ioCtxt</computeroutput> is an opaque pointer passed to the callbacks.</para>
<para><simplesect kind="since"><para>2.14.0</para>
</simplesect>
<parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>url</parametername>
</parameternamelist>
<parameterdescription>
<para>base URL (optional) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>ioRead</parametername>
</parameternamelist>
<parameterdescription>
<para>read callback </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>ioClose</parametername>
</parameternamelist>
<parameterdescription>
<para>close callback (optional) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>ioCtxt</parametername>
</parameternamelist>
<parameterdescription>
<para>IO context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>flags</parametername>
</parameternamelist>
<parameterdescription>
<para>unused, pass 0 </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>a new parser input or NULL if a memory allocation failed. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="2067" column="1" bodyfile="/builds/GNOME/libxml2/parserInternals.c" bodystart="2091" bodyend="2111" declfile="parser.h" declline="2067" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1acafdb55d60e8b44d67e0be9b4509afe1" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="xmlerror_8h_1adc147424b5aac85cccf5018513b9ec14" kindref="member">xmlParserErrors</ref></type>
        <definition>xmlParserErrors xmlInputSetEncodingHandler</definition>
        <argsstring>(xmlParserInput *input, xmlCharEncodingHandler *handler)</argsstring>
        <name>xmlInputSetEncodingHandler</name>
        <param>
          <type><ref refid="tree_8h_1aa05e6cbf6c68ec5a2e33ddabddf58b7d" kindref="member">xmlParserInput</ref> *</type>
          <declname>input</declname>
        </param>
        <param>
          <type><ref refid="encoding_8h_1ab7a2ebb635d1329533900e404576e1f3" kindref="member">xmlCharEncodingHandler</ref> *</type>
          <declname>handler</declname>
        </param>
        <briefdescription>
<para>Use encoding handler to decode input data. </para>
        </briefdescription>
        <detaileddescription>
<para>Closes the handler on error.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>input</parametername>
</parameternamelist>
<parameterdescription>
<para>the input stream </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>handler</parametername>
</parameternamelist>
<parameterdescription>
<para>the encoding handler </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>an xmlParserErrors code. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="2071" column="1" bodyfile="/builds/GNOME/libxml2/parserInternals.c" bodystart="1352" bodyend="1438" declfile="parser.h" declline="2071" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="parser_8h_1a0c3129ffc61c842d7645d1e3b3f5e12c" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlHasFeature</definition>
        <argsstring>(xmlFeature feature)</argsstring>
        <name>xmlHasFeature</name>
        <param>
          <type><ref refid="parser_8h_1ab7ca5b67bda0c933c151e8fdb4aaaf78" kindref="member">xmlFeature</ref></type>
          <declname>feature</declname>
        </param>
        <briefdescription>
<para>Examines if the library has been compiled with a given feature. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>feature</parametername>
</parameternamelist>
<parameterdescription>
<para>the feature to be examined </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>zero (0) if the feature does not exist or an unknown feature is requested, non-zero otherwise. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="parser.h" line="2156" column="1" bodyfile="/builds/GNOME/libxml2/parser.c" bodystart="494" bodyend="665" declfile="parser.h" declline="2156" declcolumn="1"/>
      </memberdef>
    </sectiondef>
    <briefdescription>
<para>Validating XML 1.0 parser. </para>
    </briefdescription>
    <detaileddescription>
<para>Interfaces, constants and types related to the XML parser.</para>
<para><simplesect kind="copyright"><para>See Copyright for the status of this software.</para>
</simplesect>
<simplesect kind="author"><para>Daniel Veillard </para>
</simplesect>
</para>
    </detaileddescription>
    <location file="parser.h"/>
  </compounddef>
</doxygen>
