<?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="xmlsave_8c" kind="file" language="C++">
    <compoundname>xmlsave.c</compoundname>
    <includes local="yes">libxml.h</includes>
    <includes local="no">limits.h</includes>
    <includes local="no">stdlib.h</includes>
    <includes local="no">string.h</includes>
    <includes refid="xmlmemory_8h" local="no">libxml/xmlmemory.h</includes>
    <includes refid="parserInternals_8h" local="no">libxml/parserInternals.h</includes>
    <includes refid="tree_8h" local="no">libxml/tree.h</includes>
    <includes refid="xmlsave_8h" local="no">libxml/xmlsave.h</includes>
    <includes refid="HTMLtree_8h" local="no">libxml/HTMLtree.h</includes>
    <includes local="yes">private/buf.h</includes>
    <includes local="yes">private/enc.h</includes>
    <includes local="yes">private/error.h</includes>
    <includes local="yes">private/html.h</includes>
    <includes local="yes">private/io.h</includes>
    <includes local="yes">private/save.h</includes>
    <incdepgraph>
      <node id="28">
        <label>libxml/HTMLparser.h</label>
        <link refid="HTMLparser_8h"/>
        <childnode refid="8" relation="include">
        </childnode>
        <childnode refid="11" relation="include">
        </childnode>
      </node>
      <node id="31">
        <label>libxml/HTMLtree.h</label>
        <link refid="HTMLtree_8h"/>
        <childnode refid="7" relation="include">
        </childnode>
        <childnode refid="8" relation="include">
        </childnode>
        <childnode refid="12" relation="include">
        </childnode>
        <childnode refid="28" relation="include">
        </childnode>
      </node>
      <node id="26">
        <label>libxml/SAX2.h</label>
        <link refid="SAX2_8h"/>
        <childnode refid="8" relation="include">
        </childnode>
        <childnode refid="11" relation="include">
        </childnode>
      </node>
      <node id="29">
        <label>libxml/chvalid.h</label>
        <link refid="chvalid_8h"/>
        <childnode refid="8" relation="include">
        </childnode>
        <childnode refid="13" relation="include">
        </childnode>
      </node>
      <node id="16">
        <label>libxml/dict.h</label>
        <link refid="dict_8h"/>
        <childnode refid="17" relation="include">
        </childnode>
        <childnode refid="8" relation="include">
        </childnode>
        <childnode refid="13" relation="include">
        </childnode>
      </node>
      <node id="24">
        <label>libxml/encoding.h</label>
        <link refid="encoding_8h"/>
        <childnode refid="8" relation="include">
        </childnode>
        <childnode refid="20" relation="include">
        </childnode>
      </node>
      <node id="23">
        <label>libxml/entities.h</label>
        <link refid="entities_8h"/>
        <childnode refid="8" relation="include">
        </childnode>
        <childnode refid="12" relation="include">
        </childnode>
      </node>
      <node id="18">
        <label>libxml/hash.h</label>
        <link refid="hash_8h"/>
        <childnode refid="8" relation="include">
        </childnode>
        <childnode refid="16" relation="include">
        </childnode>
        <childnode refid="13" relation="include">
        </childnode>
      </node>
      <node id="21">
        <label>libxml/list.h</label>
        <link refid="list_8h"/>
        <childnode refid="8" relation="include">
        </childnode>
      </node>
      <node id="11">
        <label>libxml/parser.h</label>
        <link refid="parser_8h"/>
        <childnode refid="8" relation="include">
        </childnode>
        <childnode refid="12" relation="include">
        </childnode>
        <childnode refid="16" relation="include">
        </childnode>
        <childnode refid="18" relation="include">
        </childnode>
        <childnode refid="19" relation="include">
        </childnode>
        <childnode refid="23" relation="include">
        </childnode>
        <childnode refid="20" relation="include">
        </childnode>
        <childnode refid="13" relation="include">
        </childnode>
        <childnode refid="6" relation="include">
        </childnode>
        <childnode refid="24" relation="include">
        </childnode>
        <childnode refid="25" relation="include">
        </childnode>
        <childnode refid="26" relation="include">
        </childnode>
        <childnode refid="27" relation="include">
        </childnode>
      </node>
      <node id="10">
        <label>libxml/parserInternals.h</label>
        <link refid="parserInternals_8h"/>
        <childnode refid="8" relation="include">
        </childnode>
        <childnode refid="11" relation="include">
        </childnode>
        <childnode refid="28" relation="include">
        </childnode>
        <childnode refid="29" relation="include">
        </childnode>
        <childnode refid="26" relation="include">
        </childnode>
      </node>
      <node id="27">
        <label>libxml/threads.h</label>
        <link refid="threads_8h"/>
        <childnode refid="8" relation="include">
        </childnode>
      </node>
      <node id="12">
        <label>libxml/tree.h</label>
        <link refid="tree_8h"/>
        <childnode refid="7" relation="include">
        </childnode>
        <childnode refid="3" relation="include">
        </childnode>
        <childnode refid="8" relation="include">
        </childnode>
        <childnode refid="13" relation="include">
        </childnode>
        <childnode refid="6" relation="include">
        </childnode>
        <childnode refid="15" relation="include">
        </childnode>
      </node>
      <node id="19">
        <label>libxml/valid.h</label>
        <link refid="valid_8h"/>
        <childnode refid="8" relation="include">
        </childnode>
        <childnode refid="20" relation="include">
        </childnode>
        <childnode refid="12" relation="include">
        </childnode>
        <childnode refid="21" relation="include">
        </childnode>
        <childnode refid="22" relation="include">
        </childnode>
        <childnode refid="15" relation="include">
        </childnode>
      </node>
      <node id="25">
        <label>libxml/xmlIO.h</label>
        <link refid="xmlIO_8h"/>
        <childnode refid="7" relation="include">
        </childnode>
        <childnode refid="8" relation="include">
        </childnode>
        <childnode refid="24" relation="include">
        </childnode>
        <childnode refid="12" relation="include">
        </childnode>
      </node>
      <node id="22">
        <label>libxml/xmlautomata.h</label>
        <link refid="xmlautomata_8h"/>
        <childnode refid="8" relation="include">
        </childnode>
        <childnode refid="13" relation="include">
        </childnode>
      </node>
      <node id="20">
        <label>libxml/xmlerror.h</label>
        <link refid="xmlerror_8h"/>
        <childnode refid="8" relation="include">
        </childnode>
      </node>
      <node id="6">
        <label>libxml/xmlmemory.h</label>
        <link refid="xmlmemory_8h"/>
        <childnode refid="7" relation="include">
        </childnode>
        <childnode refid="8" relation="include">
        </childnode>
      </node>
      <node id="15">
        <label>libxml/xmlregexp.h</label>
        <link refid="xmlregexp_8h"/>
        <childnode refid="7" relation="include">
        </childnode>
        <childnode refid="8" relation="include">
        </childnode>
        <childnode refid="13" relation="include">
        </childnode>
      </node>
      <node id="30">
        <label>libxml/xmlsave.h</label>
        <link refid="xmlsave_8h"/>
        <childnode refid="8" relation="include">
        </childnode>
        <childnode refid="12" relation="include">
        </childnode>
        <childnode refid="24" relation="include">
        </childnode>
        <childnode refid="25" relation="include">
        </childnode>
      </node>
      <node id="13">
        <label>libxml/xmlstring.h</label>
        <link refid="xmlstring_8h"/>
        <childnode refid="14" relation="include">
        </childnode>
        <childnode refid="8" relation="include">
        </childnode>
      </node>
      <node id="8">
        <label>libxml/xmlversion.h</label>
        <link refid="xmlversion_8h"/>
        <childnode refid="9" relation="include">
        </childnode>
      </node>
      <node id="1">
        <label>/builds/GNOME/libxml2/xmlsave.c</label>
        <link refid="xmlsave_8c"/>
        <childnode refid="2" relation="include">
        </childnode>
        <childnode refid="3" relation="include">
        </childnode>
        <childnode refid="4" relation="include">
        </childnode>
        <childnode refid="5" relation="include">
        </childnode>
        <childnode refid="6" relation="include">
        </childnode>
        <childnode refid="10" relation="include">
        </childnode>
        <childnode refid="12" relation="include">
        </childnode>
        <childnode refid="30" relation="include">
        </childnode>
        <childnode refid="31" relation="include">
        </childnode>
        <childnode refid="32" relation="include">
        </childnode>
        <childnode refid="33" relation="include">
        </childnode>
        <childnode refid="34" relation="include">
        </childnode>
        <childnode refid="35" relation="include">
        </childnode>
        <childnode refid="36" relation="include">
        </childnode>
        <childnode refid="37" relation="include">
        </childnode>
      </node>
      <node id="2">
        <label>libxml.h</label>
      </node>
      <node id="9">
        <label>libxml/xmlexports.h</label>
      </node>
      <node id="3">
        <label>limits.h</label>
      </node>
      <node id="32">
        <label>private/buf.h</label>
      </node>
      <node id="33">
        <label>private/enc.h</label>
      </node>
      <node id="34">
        <label>private/error.h</label>
      </node>
      <node id="35">
        <label>private/html.h</label>
      </node>
      <node id="36">
        <label>private/io.h</label>
      </node>
      <node id="37">
        <label>private/save.h</label>
      </node>
      <node id="14">
        <label>stdarg.h</label>
      </node>
      <node id="17">
        <label>stddef.h</label>
      </node>
      <node id="7">
        <label>stdio.h</label>
      </node>
      <node id="4">
        <label>stdlib.h</label>
      </node>
      <node id="5">
        <label>string.h</label>
      </node>
    </incdepgraph>
    <innerclass refid="struct__xmlSaveCtxt" prot="public">_xmlSaveCtxt</innerclass>
    <sectiondef kind="define">
      <memberdef kind="define" id="xmlsave_8c_1a2e0dfa3e1bcca0ce16dfbe14da3a27be" prot="public" static="no">
        <name>IN_LIBXML</name>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="9" column="9" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="9" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="xmlsave_8c_1ab9ac5ee1679830523bb24f3b2c212059" prot="public" static="no">
        <name>MAX_INDENT</name>
        <initializer>60</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="20" column="9" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="20" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="xmlsave_8c_1ac1934aa487e8095f906afb194686b1e6" prot="public" static="no">
        <name>XHTML_NS_NAME</name>
        <initializer><ref refid="xmlstring_8h_1ad0a78338bf196a676079310a7b9c7599" kindref="member">BAD_CAST</ref> &quot;http://www.w3.org/1999/xhtml&quot;</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="33" column="9" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="33" bodyend="-1"/>
      </memberdef>
    </sectiondef>
    <sectiondef kind="func">
      <memberdef kind="function" id="xmlsave_8c_1a43de9a5584a29953fafe3478d5a4c6a5" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>static void xmlSaveErrMemory</definition>
        <argsstring>(xmlOutputBufferPtr out)</argsstring>
        <name>xmlSaveErrMemory</name>
        <param>
          <type><ref refid="struct__xmlOutputBuffer" kindref="compound">xmlOutputBufferPtr</ref></type>
          <declname>out</declname>
        </param>
        <briefdescription>
<para>Handle an out of memory condition. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>out</parametername>
</parameternamelist>
<parameterdescription>
<para>an output buffer </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="59" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="59" bodyend="64"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1a15ebf752ce31b4aa96adb6d1a72a7879" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>static void xmlSaveErr</definition>
        <argsstring>(xmlOutputBufferPtr out, int code, xmlNodePtr node, const char *extra)</argsstring>
        <name>xmlSaveErr</name>
        <param>
          <type><ref refid="struct__xmlOutputBuffer" kindref="compound">xmlOutputBufferPtr</ref></type>
          <declname>out</declname>
        </param>
        <param>
          <type>int</type>
          <declname>code</declname>
        </param>
        <param>
          <type><ref refid="struct__xmlNode" kindref="compound">xmlNodePtr</ref></type>
          <declname>node</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>extra</declname>
        </param>
        <briefdescription>
<para>Handle an out of memory condition. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>out</parametername>
</parameternamelist>
<parameterdescription>
<para>an output buffer </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>code</parametername>
</parameternamelist>
<parameterdescription>
<para>the error number </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>node</parametername>
</parameternamelist>
<parameterdescription>
<para>the location of the error. </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>extra</parametername>
</parameternamelist>
<parameterdescription>
<para>extra information </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="75" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="75" bodyend="108"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1a770239ed982d5bf2d232bd4b20da2bbd" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlSaveSetIndentString</definition>
        <argsstring>(xmlSaveCtxt *ctxt, const char *indent)</argsstring>
        <name>xmlSaveSetIndentString</name>
        <param>
          <type><ref refid="xmlsave_8h_1a4fff479c5425a129d2ed27b293ff3122" kindref="member">xmlSaveCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>indent</declname>
        </param>
        <briefdescription>
<para>Sets the indent string. </para>
        </briefdescription>
        <detaileddescription>
<para><simplesect kind="since"><para>2.14.0</para>
</simplesect>
<parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>save context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>indent</parametername>
</parameternamelist>
<parameterdescription>
<para>indent string </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>0 on success, -1 if the string is NULL, empty or too long. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="126" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="126" bodyend="143"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1a1940212b4eb2f82e35dcb646e53fe7e6" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>static void xmlSaveCtxtInit</definition>
        <argsstring>(xmlSaveCtxtPtr ctxt, int options)</argsstring>
        <name>xmlSaveCtxtInit</name>
        <param>
          <type>xmlSaveCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type>int</type>
          <declname>options</declname>
        </param>
        <briefdescription>
<para>Initialize a saving context. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>the saving context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>options</parametername>
</parameternamelist>
<parameterdescription>
<para>save options </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="152" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="152" bodyend="168"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1a4d4651ef385eccbd93b08d8f40d2feb7" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>static void xmlFreeSaveCtxt</definition>
        <argsstring>(xmlSaveCtxtPtr ctxt)</argsstring>
        <name>xmlFreeSaveCtxt</name>
        <param>
          <type>xmlSaveCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
<para>Free a saving context, destroying the output in any remaining buffer. </para>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="174" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="174" bodyend="182"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1ab54ae5268a91c6621e31416529900d01" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>xmlSaveCtxtPtr</type>
        <definition>static xmlSaveCtxtPtr xmlNewSaveCtxt</definition>
        <argsstring>(const char *encoding, int options)</argsstring>
        <name>xmlNewSaveCtxt</name>
        <param>
          <type>const char *</type>
          <declname>encoding</declname>
        </param>
        <param>
          <type>int</type>
          <declname>options</declname>
        </param>
        <briefdescription>
<para>Create a new saving context. </para>
        </briefdescription>
        <detaileddescription>
<para><simplesect kind="return"><para>the new structure or NULL in case of error </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="190" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="190" bodyend="217"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1a06b17c7fe3577e9e914dd733c2f1c079" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>static void xmlSaveWriteText</definition>
        <argsstring>(xmlSaveCtxt *ctxt, const xmlChar *text, unsigned flags)</argsstring>
        <name>xmlSaveWriteText</name>
        <param>
          <type><ref refid="xmlsave_8h_1a4fff479c5425a129d2ed27b293ff3122" kindref="member">xmlSaveCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>text</declname>
        </param>
        <param>
          <type>unsigned</type>
          <declname>flags</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="226" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="226" bodyend="231"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1a6459d61fba00c484dcb7ce08c0eaefde" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>static void xmlSaveWriteAttrContent</definition>
        <argsstring>(xmlSaveCtxt *ctxt, xmlAttrPtr attr)</argsstring>
        <name>xmlSaveWriteAttrContent</name>
        <param>
          <type><ref refid="xmlsave_8h_1a4fff479c5425a129d2ed27b293ff3122" kindref="member">xmlSaveCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type><ref refid="struct__xmlAttr" kindref="compound">xmlAttrPtr</ref></type>
          <declname>attr</declname>
        </param>
        <briefdescription>
<para>Serialize the attribute in the buffer. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>save context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>attr</parametername>
</parameternamelist>
<parameterdescription>
<para>the attribute pointer </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="240" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="240" bodyend="262"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1a814b2253f7e6479c5c671a73c35858bf" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>static void xmlBufDumpNotationDecl</definition>
        <argsstring>(xmlOutputBufferPtr buf, xmlNotationPtr nota)</argsstring>
        <name>xmlBufDumpNotationDecl</name>
        <param>
          <type><ref refid="struct__xmlOutputBuffer" kindref="compound">xmlOutputBufferPtr</ref></type>
          <declname>buf</declname>
        </param>
        <param>
          <type><ref refid="struct__xmlNotation" kindref="compound">xmlNotationPtr</ref></type>
          <declname>nota</declname>
        </param>
        <briefdescription>
<para>This will dump the content the notation declaration as an XML DTD definition. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>buf</parametername>
</parameternamelist>
<parameterdescription>
<para>the XML buffer output </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>nota</parametername>
</parameternamelist>
<parameterdescription>
<para>A notation declaration </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="271" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="271" bodyend="288"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1ae0316f24becf7e09fc1848ba8b7f5f63" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>static void xmlBufDumpNotationDeclScan</definition>
        <argsstring>(void *nota, void *buf, const xmlChar *name)</argsstring>
        <name>xmlBufDumpNotationDeclScan</name>
        <param>
          <type>void *</type>
          <declname>nota</declname>
        </param>
        <param>
          <type>void *</type>
          <declname>buf</declname>
        </param>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>name</declname>
        </param>
        <briefdescription>
<para>This is called with the hash scan function, and just reverses args. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>nota</parametername>
</parameternamelist>
<parameterdescription>
<para>A notation declaration </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>buf</parametername>
</parameternamelist>
<parameterdescription>
<para>the XML buffer output </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>name</parametername>
</parameternamelist>
<parameterdescription>
<para>unused </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="298" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="298" bodyend="301"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1a05c5902a5c819795efe6883f0abee618" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>static void xmlBufDumpNotationTable</definition>
        <argsstring>(xmlOutputBufferPtr buf, xmlNotationTablePtr table)</argsstring>
        <name>xmlBufDumpNotationTable</name>
        <param>
          <type><ref refid="struct__xmlOutputBuffer" kindref="compound">xmlOutputBufferPtr</ref></type>
          <declname>buf</declname>
        </param>
        <param>
          <type>xmlNotationTablePtr</type>
          <declname>table</declname>
        </param>
        <briefdescription>
<para>This will dump the content of the notation table as an XML DTD definition. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>buf</parametername>
</parameternamelist>
<parameterdescription>
<para>an xmlBuf output </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>table</parametername>
</parameternamelist>
<parameterdescription>
<para>A notation table </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="310" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="310" bodyend="312"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1aa25ec5e420cc08d1b6e99449292832ce" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>static void xmlBufDumpElementOccur</definition>
        <argsstring>(xmlOutputBufferPtr buf, xmlElementContentPtr cur)</argsstring>
        <name>xmlBufDumpElementOccur</name>
        <param>
          <type><ref refid="struct__xmlOutputBuffer" kindref="compound">xmlOutputBufferPtr</ref></type>
          <declname>buf</declname>
        </param>
        <param>
          <type><ref refid="struct__xmlElementContent" kindref="compound">xmlElementContentPtr</ref></type>
          <declname>cur</declname>
        </param>
        <briefdescription>
<para>Dump the occurrence operator of an element. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>buf</parametername>
</parameternamelist>
<parameterdescription>
<para>output buffer </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>cur</parametername>
</parameternamelist>
<parameterdescription>
<para>element table </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="321" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="321" bodyend="335"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1a4ced3826b6d47fdd18ab74593f33ed87" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>static void xmlBufDumpElementContent</definition>
        <argsstring>(xmlOutputBufferPtr buf, xmlElementContentPtr content)</argsstring>
        <name>xmlBufDumpElementContent</name>
        <param>
          <type><ref refid="struct__xmlOutputBuffer" kindref="compound">xmlOutputBufferPtr</ref></type>
          <declname>buf</declname>
        </param>
        <param>
          <type><ref refid="struct__xmlElementContent" kindref="compound">xmlElementContentPtr</ref></type>
          <declname>content</declname>
        </param>
        <briefdescription>
<para>This will dump the content of the element table as an XML DTD definition. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>buf</parametername>
</parameternamelist>
<parameterdescription>
<para>output buffer </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>content</parametername>
</parameternamelist>
<parameterdescription>
<para>element table </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="344" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="344" bodyend="407"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1a3308185fdbe295508cfc7e9bd8d1e739" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>static void xmlBufDumpElementDecl</definition>
        <argsstring>(xmlOutputBufferPtr buf, xmlElementPtr elem)</argsstring>
        <name>xmlBufDumpElementDecl</name>
        <param>
          <type><ref refid="struct__xmlOutputBuffer" kindref="compound">xmlOutputBufferPtr</ref></type>
          <declname>buf</declname>
        </param>
        <param>
          <type><ref refid="struct__xmlElement" kindref="compound">xmlElementPtr</ref></type>
          <declname>elem</declname>
        </param>
        <briefdescription>
<para>This will dump the content of the element declaration as an XML DTD definition. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>buf</parametername>
</parameternamelist>
<parameterdescription>
<para>an xmlBuf output </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>elem</parametername>
</parameternamelist>
<parameterdescription>
<para>An element table </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="417" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="417" bodyend="443"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1a1df22d42af254d6391613f0818e04d5a" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>static void xmlBufDumpEnumeration</definition>
        <argsstring>(xmlOutputBufferPtr buf, xmlEnumerationPtr cur)</argsstring>
        <name>xmlBufDumpEnumeration</name>
        <param>
          <type><ref refid="struct__xmlOutputBuffer" kindref="compound">xmlOutputBufferPtr</ref></type>
          <declname>buf</declname>
        </param>
        <param>
          <type><ref refid="struct__xmlEnumeration" kindref="compound">xmlEnumerationPtr</ref></type>
          <declname>cur</declname>
        </param>
        <briefdescription>
<para>This will dump the content of the enumeration. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>buf</parametername>
</parameternamelist>
<parameterdescription>
<para>output buffer </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>cur</parametername>
</parameternamelist>
<parameterdescription>
<para>an enumeration </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="452" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="452" bodyend="462"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1a5538943e9b9c8bba7a4d8b817a5c4184" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>static void xmlSaveWriteAttributeDecl</definition>
        <argsstring>(xmlSaveCtxtPtr ctxt, xmlAttributePtr attr)</argsstring>
        <name>xmlSaveWriteAttributeDecl</name>
        <param>
          <type>xmlSaveCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type><ref refid="struct__xmlAttribute" kindref="compound">xmlAttributePtr</ref></type>
          <declname>attr</declname>
        </param>
        <briefdescription>
<para>This will dump the content of the attribute declaration as an XML DTD definition. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>save context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>attr</parametername>
</parameternamelist>
<parameterdescription>
<para>an attribute declaration </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="471" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="471" bodyend="545"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1a834570afe5ed9f51dfaa77431d8fe648" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>static void xmlBufDumpEntityContent</definition>
        <argsstring>(xmlOutputBufferPtr buf, const xmlChar *content)</argsstring>
        <name>xmlBufDumpEntityContent</name>
        <param>
          <type><ref refid="struct__xmlOutputBuffer" kindref="compound">xmlOutputBufferPtr</ref></type>
          <declname>buf</declname>
        </param>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>content</declname>
        </param>
        <briefdescription>
<para>This will dump the quoted string value, taking care of the special treatment required by %. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>buf</parametername>
</parameternamelist>
<parameterdescription>
<para>output buffer </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>content</parametername>
</parameternamelist>
<parameterdescription>
<para>entity content. </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="555" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="555" bodyend="583"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1ad57b82f36aee1eec3882c4a27a1b26d8" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>static void xmlBufDumpEntityDecl</definition>
        <argsstring>(xmlOutputBufferPtr buf, xmlEntityPtr ent)</argsstring>
        <name>xmlBufDumpEntityDecl</name>
        <param>
          <type><ref refid="struct__xmlOutputBuffer" kindref="compound">xmlOutputBufferPtr</ref></type>
          <declname>buf</declname>
        </param>
        <param>
          <type><ref refid="struct__xmlEntity" kindref="compound">xmlEntityPtr</ref></type>
          <declname>ent</declname>
        </param>
        <briefdescription>
<para>This will dump the content of the entity table as an XML DTD definition. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>buf</parametername>
</parameternamelist>
<parameterdescription>
<para>an xmlBuf output </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>ent</parametername>
</parameternamelist>
<parameterdescription>
<para>An entity table </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="592" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="592" bodyend="637"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1a1bf3a2f04e7dc00d0c7f2ce64d3494f6" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>static int xmlSaveSwitchEncoding</definition>
        <argsstring>(xmlSaveCtxtPtr ctxt, const char *encoding)</argsstring>
        <name>xmlSaveSwitchEncoding</name>
        <param>
          <type>xmlSaveCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>encoding</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="646" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="646" bodyend="684"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1ab0d384141edd0d36197c9e6c61d9a4a8" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>static int xmlSaveClearEncoding</definition>
        <argsstring>(xmlSaveCtxtPtr ctxt)</argsstring>
        <name>xmlSaveClearEncoding</name>
        <param>
          <type>xmlSaveCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="687" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="687" bodyend="703"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1a08e3443761c399e70bef95021785f243" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>static void xhtmlNodeDumpOutput</definition>
        <argsstring>(xmlSaveCtxtPtr ctxt, xmlNodePtr cur)</argsstring>
        <name>xhtmlNodeDumpOutput</name>
        <param>
          <type>xmlSaveCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type><ref refid="struct__xmlNode" kindref="compound">xmlNodePtr</ref></type>
          <declname>cur</declname>
        </param>
        <briefdescription>
<para>Dump an XHTML node, recursive behaviour, children are printed too. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>the save context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>cur</parametername>
</parameternamelist>
<parameterdescription>
<para>the current node </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="1489" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="1489" bodyend="1806" declfile="/builds/GNOME/libxml2/xmlsave.c" declline="707" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1afc5c19ba1ba971b1639bfc6842ae4285" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>static void xmlNodeDumpOutputInternal</definition>
        <argsstring>(xmlSaveCtxtPtr ctxt, xmlNodePtr cur)</argsstring>
        <name>xmlNodeDumpOutputInternal</name>
        <param>
          <type>xmlSaveCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type><ref refid="struct__xmlNode" kindref="compound">xmlNodePtr</ref></type>
          <declname>cur</declname>
        </param>
        <briefdescription>
<para>Dump an XML node, recursive behaviour, children are printed too. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>the save context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>cur</parametername>
</parameternamelist>
<parameterdescription>
<para>the current node </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="961" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="961" bodyend="1215" declfile="/builds/GNOME/libxml2/xmlsave.c" declline="710" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1aba04ff302391d39cc428297812b6a85a" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>static int xmlSaveDocInternal</definition>
        <argsstring>(xmlSaveCtxtPtr ctxt, xmlDocPtr cur, const xmlChar *encoding)</argsstring>
        <name>xmlSaveDocInternal</name>
        <param>
          <type>xmlSaveCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type><ref refid="struct__xmlDoc" kindref="compound">xmlDocPtr</ref></type>
          <declname>cur</declname>
        </param>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>encoding</declname>
        </param>
        <briefdescription>
<para>Dump an XML document. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>the save context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>cur</parametername>
</parameternamelist>
<parameterdescription>
<para>the document </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>encoding</parametername>
</parameternamelist>
<parameterdescription>
<para>character encoding (optional) </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="1225" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="1225" bodyend="1340" declfile="/builds/GNOME/libxml2/xmlsave.c" declline="712" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1ab064bff1cb6d3f0cc91dafcd81baf161" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>static void xmlSaveWriteIndent</definition>
        <argsstring>(xmlSaveCtxtPtr ctxt, int extra)</argsstring>
        <name>xmlSaveWriteIndent</name>
        <param>
          <type>xmlSaveCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type>int</type>
          <declname>extra</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="716" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="716" bodyend="729"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1a4bf18f19bce276970c7233dc1ce97acb" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>static void xmlOutputBufferWriteWSNonSig</definition>
        <argsstring>(xmlSaveCtxtPtr ctxt, int extra)</argsstring>
        <name>xmlOutputBufferWriteWSNonSig</name>
        <param>
          <type>xmlSaveCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type>int</type>
          <declname>extra</declname>
        </param>
        <briefdescription>
<para>Write out formatting for non-significant whitespace output. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>The save context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>extra</parametername>
</parameternamelist>
<parameterdescription>
<para>Number of extra indents to apply to ctxt-&gt;level </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="738" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="738" bodyend="750"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1adcb92e28ef2568054f11023b0c0e4762" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>static void xmlNsDumpOutput</definition>
        <argsstring>(xmlOutputBufferPtr buf, xmlNsPtr cur, xmlSaveCtxtPtr ctxt)</argsstring>
        <name>xmlNsDumpOutput</name>
        <param>
          <type><ref refid="struct__xmlOutputBuffer" kindref="compound">xmlOutputBufferPtr</ref></type>
          <declname>buf</declname>
        </param>
        <param>
          <type><ref refid="struct__xmlNs" kindref="compound">xmlNsPtr</ref></type>
          <declname>cur</declname>
        </param>
        <param>
          <type>xmlSaveCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
<para>Dump a local Namespace definition. </para>
        </briefdescription>
        <detaileddescription>
<para>Should be called in the context of attributes dumps. If <computeroutput>ctxt</computeroutput> is supplied, <computeroutput>buf</computeroutput> should be its buffer.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>buf</parametername>
</parameternamelist>
<parameterdescription>
<para>the XML buffer output </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>cur</parametername>
</parameternamelist>
<parameterdescription>
<para>a namespace </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>the output save context. Optional. </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="762" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="762" bodyend="789"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1ae5e58d320e7024f195b54e1bad1a7042" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>static void xmlNsListDumpOutputCtxt</definition>
        <argsstring>(xmlSaveCtxtPtr ctxt, xmlNsPtr cur)</argsstring>
        <name>xmlNsListDumpOutputCtxt</name>
        <param>
          <type>xmlSaveCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type><ref refid="struct__xmlNs" kindref="compound">xmlNsPtr</ref></type>
          <declname>cur</declname>
        </param>
        <briefdescription>
<para>Dump a list of local namespace definitions to a save context. </para>
        </briefdescription>
        <detaileddescription>
<para>Should be called in the context of attribute dumps.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>the save context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>cur</parametername>
</parameternamelist>
<parameterdescription>
<para>the first namespace </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="799" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="799" bodyend="804"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1a922432eba7ccc2528dbcfe832c7730e1" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>void xmlNsListDumpOutput</definition>
        <argsstring>(xmlOutputBuffer *buf, xmlNs *cur)</argsstring>
        <name>xmlNsListDumpOutput</name>
        <param>
          <type><ref refid="tree_8h_1a5a833f0c7502e1b15b6571271fa4c541" kindref="member">xmlOutputBuffer</ref> *</type>
          <declname>buf</declname>
        </param>
        <param>
          <type><ref refid="tree_8h_1a79683a004465ef75a960604fada53ab3" kindref="member">xmlNs</ref> *</type>
          <declname>cur</declname>
        </param>
        <briefdescription>
<para>Serialize a list of namespace definitions. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>buf</parametername>
</parameternamelist>
<parameterdescription>
<para>the XML buffer output </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>cur</parametername>
</parameternamelist>
<parameterdescription>
<para>the first namespace </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="813" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="813" bodyend="818"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1aeeee7a314305fa63e3f03ac92a22d15e" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>static void xmlDtdDumpOutput</definition>
        <argsstring>(xmlSaveCtxtPtr ctxt, xmlDtdPtr dtd)</argsstring>
        <name>xmlDtdDumpOutput</name>
        <param>
          <type>xmlSaveCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type><ref refid="struct__xmlDtd" kindref="compound">xmlDtdPtr</ref></type>
          <declname>dtd</declname>
        </param>
        <briefdescription>
<para>Dump the XML document DTD, if any. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>the save context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>dtd</parametername>
</parameternamelist>
<parameterdescription>
<para>the pointer to the DTD </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="827" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="827" bodyend="872"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1a6b85a3bf1012d0f6f899ac1fa92be961" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>static void xmlAttrDumpOutput</definition>
        <argsstring>(xmlSaveCtxtPtr ctxt, xmlAttrPtr cur)</argsstring>
        <name>xmlAttrDumpOutput</name>
        <param>
          <type>xmlSaveCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type><ref refid="struct__xmlAttr" kindref="compound">xmlAttrPtr</ref></type>
          <declname>cur</declname>
        </param>
        <briefdescription>
<para>Dump an XML attribute. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>the save context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>cur</parametername>
</parameternamelist>
<parameterdescription>
<para>the attribute pointer </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="881" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="881" bodyend="911"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1a6c6eacfab5b992bd2a2bfa2cf36eab41" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>static int htmlNodeDumpOutputInternal</definition>
        <argsstring>(xmlSaveCtxtPtr ctxt, xmlNodePtr cur)</argsstring>
        <name>htmlNodeDumpOutputInternal</name>
        <param>
          <type>xmlSaveCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type><ref refid="struct__xmlNode" kindref="compound">xmlNodePtr</ref></type>
          <declname>cur</declname>
        </param>
        <briefdescription>
<para>Dump an HTML node, recursive behaviour, children are printed too. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>the save context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>cur</parametername>
</parameternamelist>
<parameterdescription>
<para>the current node </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="921" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="921" bodyend="951"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1acc894467c298e106fa7ef79b82cb4d28" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>static int xhtmlIsEmpty</definition>
        <argsstring>(xmlNodePtr node)</argsstring>
        <name>xhtmlIsEmpty</name>
        <param>
          <type><ref refid="struct__xmlNode" kindref="compound">xmlNodePtr</ref></type>
          <declname>node</declname>
        </param>
        <briefdescription>
<para>Check if a node is an empty xhtml node. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>node</parametername>
</parameternamelist>
<parameterdescription>
<para>the node </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>1 if the node is an empty node, 0 if not and -1 in case of error </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="1356" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="1356" bodyend="1412"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1a0b3695dfe1c03bdec5214588296d4f26" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>static void xhtmlAttrListDumpOutput</definition>
        <argsstring>(xmlSaveCtxtPtr ctxt, xmlAttrPtr cur)</argsstring>
        <name>xhtmlAttrListDumpOutput</name>
        <param>
          <type>xmlSaveCtxtPtr</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type><ref refid="struct__xmlAttr" kindref="compound">xmlAttrPtr</ref></type>
          <declname>cur</declname>
        </param>
        <briefdescription>
<para>Dump a list of XML attributes. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>the save context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>cur</parametername>
</parameternamelist>
<parameterdescription>
<para>the first attribute pointer </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="1421" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="1421" bodyend="1480"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1ab08dfe038bac9e9777fec9bfd5584880" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="xmlsave_8h_1a4fff479c5425a129d2ed27b293ff3122" kindref="member">xmlSaveCtxt</ref> *</type>
        <definition>xmlSaveCtxt * xmlSaveToFd</definition>
        <argsstring>(int fd, const char *encoding, int options)</argsstring>
        <name>xmlSaveToFd</name>
        <param>
          <type>int</type>
          <declname>fd</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>encoding</declname>
        </param>
        <param>
          <type>int</type>
          <declname>options</declname>
        </param>
        <briefdescription>
<para>Create a document saving context serializing to a file descriptor with the encoding and the options given. </para>
        </briefdescription>
        <detaileddescription>
<para>If <computeroutput>encoding</computeroutput> is NULL, xmlSaveDoc uses the document&apos;s encoding and xmlSaveTree uses UTF-8.</para>
<para>This function doesn&apos;t allow to distinguish unsupported encoding errors from failed memory allocations.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>fd</parametername>
</parameternamelist>
<parameterdescription>
<para>a file descriptor number </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>encoding</parametername>
</parameternamelist>
<parameterdescription>
<para>the encoding name to use (optional) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>options</parametername>
</parameternamelist>
<parameterdescription>
<para>a set of xmlSaveOptions </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>a new serialization context or NULL in case of error. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="1831" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="1831" bodyend="1844"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1addd795fafe9275a3a126c2496b234a34" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="xmlsave_8h_1a4fff479c5425a129d2ed27b293ff3122" kindref="member">xmlSaveCtxt</ref> *</type>
        <definition>xmlSaveCtxt * xmlSaveToFilename</definition>
        <argsstring>(const char *filename, const char *encoding, int options)</argsstring>
        <name>xmlSaveToFilename</name>
        <param>
          <type>const char *</type>
          <declname>filename</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>encoding</declname>
        </param>
        <param>
          <type>int</type>
          <declname>options</declname>
        </param>
        <briefdescription>
<para>Create a document saving context serializing to a filename with the encoding and the options given. </para>
        </briefdescription>
        <detaileddescription>
<para>If <computeroutput>encoding</computeroutput> is NULL, xmlSaveDoc uses the document&apos;s encoding and xmlSaveTree uses UTF-8.</para>
<para>This function doesn&apos;t allow to distinguish unsupported encoding errors from failed memory allocations.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>filename</parametername>
</parameternamelist>
<parameterdescription>
<para>a file name or an URL </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>encoding</parametername>
</parameternamelist>
<parameterdescription>
<para>the encoding name to use or NULL </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>options</parametername>
</parameternamelist>
<parameterdescription>
<para>a set of xmlSaveOptions </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>a new serialization context or NULL in case of error. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="1862" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="1862" bodyend="1877"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1ac29074a3ecf6f54e54e2afda0048d8c4" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="xmlsave_8h_1a4fff479c5425a129d2ed27b293ff3122" kindref="member">xmlSaveCtxt</ref> *</type>
        <definition>xmlSaveCtxt * xmlSaveToBuffer</definition>
        <argsstring>(xmlBuffer *buffer, const char *encoding, int options)</argsstring>
        <name>xmlSaveToBuffer</name>
        <param>
          <type><ref refid="tree_8h_1a2ee128432290a53a930b36702abd1ef4" kindref="member">xmlBuffer</ref> *</type>
          <declname>buffer</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>encoding</declname>
        </param>
        <param>
          <type>int</type>
          <declname>options</declname>
        </param>
        <briefdescription>
<para>Create a document saving context serializing to a buffer with the encoding and the options given. </para>
        </briefdescription>
        <detaileddescription>
<para>If <computeroutput>encoding</computeroutput> is NULL, xmlSaveDoc uses the document&apos;s encoding and xmlSaveTree uses UTF-8.</para>
<para>This function doesn&apos;t allow to distinguish unsupported encoding errors from failed memory allocations.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>buffer</parametername>
</parameternamelist>
<parameterdescription>
<para>a buffer </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>encoding</parametername>
</parameternamelist>
<parameterdescription>
<para>the encoding name to use or NULL </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>options</parametername>
</parameternamelist>
<parameterdescription>
<para>a set of xmlSaveOptions </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>a new serialization context or NULL in case of error. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="1896" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="1896" bodyend="1909"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1a1018780d48829895a01464335076748c" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="xmlsave_8h_1a4fff479c5425a129d2ed27b293ff3122" kindref="member">xmlSaveCtxt</ref> *</type>
        <definition>xmlSaveCtxt * xmlSaveToIO</definition>
        <argsstring>(xmlOutputWriteCallback iowrite, xmlOutputCloseCallback ioclose, void *ioctx, const char *encoding, int options)</argsstring>
        <name>xmlSaveToIO</name>
        <param>
          <type><ref refid="xmlIO_8h_1a77e13204f2024d8643f29f98ec6f2f2b" kindref="member">xmlOutputWriteCallback</ref></type>
          <declname>iowrite</declname>
        </param>
        <param>
          <type><ref refid="xmlIO_8h_1a1b78d8c2e0fa02f8aa1a2fd4dc9f6f57" kindref="member">xmlOutputCloseCallback</ref></type>
          <declname>ioclose</declname>
        </param>
        <param>
          <type>void *</type>
          <declname>ioctx</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>encoding</declname>
        </param>
        <param>
          <type>int</type>
          <declname>options</declname>
        </param>
        <briefdescription>
<para>Create a document saving context serializing to a file descriptor with the encoding and the options given. </para>
        </briefdescription>
        <detaileddescription>
<para>If <computeroutput>encoding</computeroutput> is NULL, xmlSaveDoc uses the document&apos;s encoding and xmlSaveTree uses UTF-8.</para>
<para>This function doesn&apos;t allow to distinguish unsupported encoding errors from failed memory allocations.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>iowrite</parametername>
</parameternamelist>
<parameterdescription>
<para>an I/O write 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>encoding</parametername>
</parameternamelist>
<parameterdescription>
<para>the encoding name to use or NULL </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>options</parametername>
</parameternamelist>
<parameterdescription>
<para>a set of xmlSaveOptions </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>a new serialization context or NULL in case of error. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="1929" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="1929" bodyend="1944"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1aea4488b9ce630799d61709acdf31903a" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>long</type>
        <definition>long xmlSaveDoc</definition>
        <argsstring>(xmlSaveCtxt *ctxt, xmlDoc *doc)</argsstring>
        <name>xmlSaveDoc</name>
        <param>
          <type><ref refid="xmlsave_8h_1a4fff479c5425a129d2ed27b293ff3122" kindref="member">xmlSaveCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type><ref refid="tree_8h_1ae94acff8b6413934705e29389bcddc17" kindref="member">xmlDoc</ref> *</type>
          <declname>doc</declname>
        </param>
        <briefdescription>
<para>Serialize a document. </para>
        </briefdescription>
        <detaileddescription>
<para>If the save context has no encoding, uses the document&apos;s encoding. If the document has no encoding, uses ASCII without an encoding declaration.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>a document saving context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>doc</parametername>
</parameternamelist>
<parameterdescription>
<para>a document </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>0 on success or -1 in case of error. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="1958" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="1958" bodyend="1966"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1ad3c64ac6493b66e95c2298828fa40983" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>long</type>
        <definition>long xmlSaveTree</definition>
        <argsstring>(xmlSaveCtxt *ctxt, xmlNode *cur)</argsstring>
        <name>xmlSaveTree</name>
        <param>
          <type><ref refid="xmlsave_8h_1a4fff479c5425a129d2ed27b293ff3122" kindref="member">xmlSaveCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type><ref refid="tree_8h_1ac8c054adbdabc014ab4584dfb1ce841e" kindref="member">xmlNode</ref> *</type>
          <declname>cur</declname>
        </param>
        <briefdescription>
<para>Serialize a subtree starting. </para>
        </briefdescription>
        <detaileddescription>
<para>If the save context has no encoding, uses UTF-8.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>a document saving context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>cur</parametername>
</parameternamelist>
<parameterdescription>
<para>the root of the subtree to save </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>0 on success or -1 in case of error. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="1978" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="1978" bodyend="1998"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1a79bed179556215f23f593c319de63f7a" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlSaveNotationDecl</definition>
        <argsstring>(xmlSaveCtxt *ctxt, xmlNotation *cur)</argsstring>
        <name>xmlSaveNotationDecl</name>
        <param>
          <type><ref refid="xmlsave_8h_1a4fff479c5425a129d2ed27b293ff3122" kindref="member">xmlSaveCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type><ref refid="tree_8h_1ab5edcaca20bf051640b2dfb0149653ab" kindref="member">xmlNotation</ref> *</type>
          <declname>cur</declname>
        </param>
        <briefdescription>
<para>Serialize a notation declaration. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>save context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>cur</parametername>
</parameternamelist>
<parameterdescription>
<para>notation </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>0 on succes, -1 on error. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="2008" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="2008" bodyend="2013"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1a3910aa4ded57742bfd0c2da8891fb8c1" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlSaveNotationTable</definition>
        <argsstring>(xmlSaveCtxt *ctxt, xmlNotationTable *cur)</argsstring>
        <name>xmlSaveNotationTable</name>
        <param>
          <type><ref refid="xmlsave_8h_1a4fff479c5425a129d2ed27b293ff3122" kindref="member">xmlSaveCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type>xmlNotationTable *</type>
          <declname>cur</declname>
        </param>
        <briefdescription>
<para>Serialize notation declarations of a document. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>save context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>cur</parametername>
</parameternamelist>
<parameterdescription>
<para>notation table </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>0 on succes, -1 on error. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="2023" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="2023" bodyend="2028"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1a9262a2052b138035fe8bd84c55c0e5c9" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlSaveFlush</definition>
        <argsstring>(xmlSaveCtxt *ctxt)</argsstring>
        <name>xmlSaveFlush</name>
        <param>
          <type><ref refid="xmlsave_8h_1a4fff479c5425a129d2ed27b293ff3122" kindref="member">xmlSaveCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
<para>Flush a document saving context, i.e. </para>
        </briefdescription>
        <detaileddescription>
<para>make sure that all buffered input has been processed.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>a document saving context </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the number of bytes written or -1 in case of error. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="2038" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="2038" bodyend="2043"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1a29cae0c577b8bfac64765a651ad5beb0" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlSaveClose</definition>
        <argsstring>(xmlSaveCtxt *ctxt)</argsstring>
        <name>xmlSaveClose</name>
        <param>
          <type><ref refid="xmlsave_8h_1a4fff479c5425a129d2ed27b293ff3122" kindref="member">xmlSaveCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
<para>Close a document saving context, i.e. </para>
        </briefdescription>
        <detaileddescription>
<para>make sure that all buffered input has been processed and free the context struct.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>a document saving context </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the number of bytes written or -1 in case of error. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="2053" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="2053" bodyend="2061"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1ae1519fde357e88b26dc5c5576adc1131" 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 xmlSaveFinish</definition>
        <argsstring>(xmlSaveCtxt *ctxt)</argsstring>
        <name>xmlSaveFinish</name>
        <param>
          <type><ref refid="xmlsave_8h_1a4fff479c5425a129d2ed27b293ff3122" kindref="member">xmlSaveCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <briefdescription>
<para>Close a document saving context, i.e. </para>
        </briefdescription>
        <detaileddescription>
<para>make sure that all buffered input has been processed and free the context struct.</para>
<para><simplesect kind="since"><para>2.13.0</para>
</simplesect>
<parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>ctxt</parametername>
</parameternamelist>
<parameterdescription>
<para>a document saving context </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>an xmlParserErrors code. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="2073" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="2073" bodyend="2089"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1a6d500dd505af69195bbcb8a4eab86fa6" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlSaveSetEscape</definition>
        <argsstring>(xmlSaveCtxt *ctxt, xmlCharEncodingOutputFunc escape)</argsstring>
        <name>xmlSaveSetEscape</name>
        <param>
          <type><ref refid="xmlsave_8h_1a4fff479c5425a129d2ed27b293ff3122" kindref="member">xmlSaveCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type><ref refid="encoding_8h_1a167ac51fa3e644243494671248c56b67" kindref="member">xmlCharEncodingOutputFunc</ref></type>
          <declname>escape</declname>
        </param>
        <briefdescription>
<para>Set a custom escaping function to be used for text in element content. </para>
        </briefdescription>
        <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000426"><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>a document saving context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>escape</parametername>
</parameternamelist>
<parameterdescription>
<para>the escaping function </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>0 if successful or -1 in case of error. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="2102" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="2102" bodyend="2107"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1a5514f755d9404a1bb42d8ae6ab0a862d" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlSaveSetAttrEscape</definition>
        <argsstring>(xmlSaveCtxt *ctxt, xmlCharEncodingOutputFunc escape)</argsstring>
        <name>xmlSaveSetAttrEscape</name>
        <param>
          <type><ref refid="xmlsave_8h_1a4fff479c5425a129d2ed27b293ff3122" kindref="member">xmlSaveCtxt</ref> *</type>
          <declname>ctxt</declname>
        </param>
        <param>
          <type><ref refid="encoding_8h_1a167ac51fa3e644243494671248c56b67" kindref="member">xmlCharEncodingOutputFunc</ref></type>
          <declname>escape</declname>
        </param>
        <briefdescription>
<para>Has no effect. </para>
        </briefdescription>
        <detaileddescription>
<para><xrefsect id="deprecated_1_deprecated000427"><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>a document saving context </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>escape</parametername>
</parameternamelist>
<parameterdescription>
<para>the escaping function </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>0 if successful or -1 in case of error. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="2119" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="2119" bodyend="2124"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1ac4ed0f0deaa01d9a2f109af856cc706c" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>void xmlBufAttrSerializeTxtContent</definition>
        <argsstring>(xmlOutputBuffer *buf, xmlDoc *doc, const xmlChar *string)</argsstring>
        <name>xmlBufAttrSerializeTxtContent</name>
        <param>
          <type><ref refid="tree_8h_1a5a833f0c7502e1b15b6571271fa4c541" kindref="member">xmlOutputBuffer</ref> *</type>
          <declname>buf</declname>
        </param>
        <param>
          <type><ref refid="tree_8h_1ae94acff8b6413934705e29389bcddc17" kindref="member">xmlDoc</ref> *</type>
          <declname>doc</declname>
        </param>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>string</declname>
        </param>
        <briefdescription>
<para>Serialize attribute text to an output buffer. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>buf</parametername>
</parameternamelist>
<parameterdescription>
<para>output buffer </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>doc</parametername>
</parameternamelist>
<parameterdescription>
<para>the document </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>string</parametername>
</parameternamelist>
<parameterdescription>
<para>the text content </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="2140" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="2140" bodyend="2148"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1a528889b085bd3d5149e710fda9833e7d" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>void xmlAttrSerializeTxtContent</definition>
        <argsstring>(xmlBuffer *buf, xmlDoc *doc, xmlAttr *attr, const xmlChar *string)</argsstring>
        <name>xmlAttrSerializeTxtContent</name>
        <param>
          <type><ref refid="tree_8h_1a2ee128432290a53a930b36702abd1ef4" kindref="member">xmlBuffer</ref> *</type>
          <declname>buf</declname>
        </param>
        <param>
          <type><ref refid="tree_8h_1ae94acff8b6413934705e29389bcddc17" kindref="member">xmlDoc</ref> *</type>
          <declname>doc</declname>
        </param>
        <param>
          <type><ref refid="tree_8h_1a94c0908950e8e798cf7eb5ed524da0af" kindref="member">xmlAttr</ref> *</type>
          <declname>attr</declname>
        </param>
        <param>
          <type>const <ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> *</type>
          <declname>string</declname>
        </param>
        <briefdescription>
<para>Serialize attribute text to an xmlBuffer. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>buf</parametername>
</parameternamelist>
<parameterdescription>
<para>the XML buffer output </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>doc</parametername>
</parameternamelist>
<parameterdescription>
<para>the document </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>attr</parametername>
</parameternamelist>
<parameterdescription>
<para>the attribute node </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>string</parametername>
</parameternamelist>
<parameterdescription>
<para>the text content </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="2159" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="2159" bodyend="2173"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1a4341a04dd833398b5a40f2cbd15eadef" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlNodeDump</definition>
        <argsstring>(xmlBuffer *buf, xmlDoc *doc, xmlNode *cur, int level, int format)</argsstring>
        <name>xmlNodeDump</name>
        <param>
          <type><ref refid="tree_8h_1a2ee128432290a53a930b36702abd1ef4" kindref="member">xmlBuffer</ref> *</type>
          <declname>buf</declname>
        </param>
        <param>
          <type><ref refid="tree_8h_1ae94acff8b6413934705e29389bcddc17" kindref="member">xmlDoc</ref> *</type>
          <declname>doc</declname>
        </param>
        <param>
          <type><ref refid="tree_8h_1ac8c054adbdabc014ab4584dfb1ce841e" kindref="member">xmlNode</ref> *</type>
          <declname>cur</declname>
        </param>
        <param>
          <type>int</type>
          <declname>level</declname>
        </param>
        <param>
          <type>int</type>
          <declname>format</declname>
        </param>
        <briefdescription>
<para>Serialize an XML node to an xmlBuffer. </para>
        </briefdescription>
        <detaileddescription>
<para>Uses the document&apos;s encoding. If the document has no encoding, uses ASCII without an encoding declaration.</para>
<para>Note that <computeroutput>format</computeroutput> only works if the document was parsed with XML_PARSE_NOBLANKS.</para>
<para>Since this is using xmlBuffer structures it is limited to 2GB and somewhat deprecated, use xmlNodeDumpOutput instead.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>buf</parametername>
</parameternamelist>
<parameterdescription>
<para>the XML buffer output </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>doc</parametername>
</parameternamelist>
<parameterdescription>
<para>the document </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>cur</parametername>
</parameternamelist>
<parameterdescription>
<para>the current node </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>level</parametername>
</parameternamelist>
<parameterdescription>
<para>the initial indenting level </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>format</parametername>
</parameternamelist>
<parameterdescription>
<para>is formatting allowed </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the number of bytes written to the buffer or -1 in case of error </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="2195" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="2195" bodyend="2216"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1a904ea3a2e8a686ea17d041dbb124f4dd" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>size_t</type>
        <definition>size_t xmlBufNodeDump</definition>
        <argsstring>(xmlBuf *buf, xmlDoc *doc, xmlNode *cur, int level, int format)</argsstring>
        <name>xmlBufNodeDump</name>
        <param>
          <type><ref refid="tree_8h_1a8a549ab0cfa53cd9e4c47eeb7ceb7094" kindref="member">xmlBuf</ref> *</type>
          <declname>buf</declname>
        </param>
        <param>
          <type><ref refid="tree_8h_1ae94acff8b6413934705e29389bcddc17" kindref="member">xmlDoc</ref> *</type>
          <declname>doc</declname>
        </param>
        <param>
          <type><ref refid="tree_8h_1ac8c054adbdabc014ab4584dfb1ce841e" kindref="member">xmlNode</ref> *</type>
          <declname>cur</declname>
        </param>
        <param>
          <type>int</type>
          <declname>level</declname>
        </param>
        <param>
          <type>int</type>
          <declname>format</declname>
        </param>
        <briefdescription>
<para>Serialize an XML node to an xmlBuf. </para>
        </briefdescription>
        <detaileddescription>
<para>Uses the document&apos;s encoding. If the document has no encoding, uses ASCII without an encoding declaration.</para>
<para>Note that <computeroutput>format</computeroutput> only works if the document was parsed with XML_PARSE_NOBLANKS.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>buf</parametername>
</parameternamelist>
<parameterdescription>
<para>the XML buffer output </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>doc</parametername>
</parameternamelist>
<parameterdescription>
<para>the document </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>cur</parametername>
</parameternamelist>
<parameterdescription>
<para>the current node </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>level</parametername>
</parameternamelist>
<parameterdescription>
<para>the imbrication level for indenting </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>format</parametername>
</parameternamelist>
<parameterdescription>
<para>is formatting allowed </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the number of bytes written to the buffer, in case of error 0 is returned or <computeroutput>buf</computeroutput> stores the error </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="2237" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="2237" bodyend="2273"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1a9fbeb188c7f0ef942d607cc93190ff80" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>void xmlElemDump</definition>
        <argsstring>(FILE *f, xmlDoc *doc, xmlNode *cur)</argsstring>
        <name>xmlElemDump</name>
        <param>
          <type>FILE *</type>
          <declname>f</declname>
        </param>
        <param>
          <type><ref refid="tree_8h_1ae94acff8b6413934705e29389bcddc17" kindref="member">xmlDoc</ref> *</type>
          <declname>doc</declname>
        </param>
        <param>
          <type><ref refid="tree_8h_1ac8c054adbdabc014ab4584dfb1ce841e" kindref="member">xmlNode</ref> *</type>
          <declname>cur</declname>
        </param>
        <briefdescription>
<para>Serialize an XML node to a <computeroutput>FILE</computeroutput>. </para>
        </briefdescription>
        <detaileddescription>
<para>Uses the document&apos;s encoding. If the document has no encoding, uses ASCII without an encoding declaration.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>f</parametername>
</parameternamelist>
<parameterdescription>
<para>the FILE * for the output </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>doc</parametername>
</parameternamelist>
<parameterdescription>
<para>the document </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>cur</parametername>
</parameternamelist>
<parameterdescription>
<para>the current node </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="2286" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="2286" bodyend="2306"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1aaa733674a2c2ea881f63144e033691fe" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>void xmlNodeDumpOutput</definition>
        <argsstring>(xmlOutputBuffer *buf, xmlDoc *doc, xmlNode *cur, int level, int format, const char *encoding)</argsstring>
        <name>xmlNodeDumpOutput</name>
        <param>
          <type><ref refid="tree_8h_1a5a833f0c7502e1b15b6571271fa4c541" kindref="member">xmlOutputBuffer</ref> *</type>
          <declname>buf</declname>
        </param>
        <param>
          <type><ref refid="tree_8h_1ae94acff8b6413934705e29389bcddc17" kindref="member">xmlDoc</ref> *</type>
          <declname>doc</declname>
        </param>
        <param>
          <type><ref refid="tree_8h_1ac8c054adbdabc014ab4584dfb1ce841e" kindref="member">xmlNode</ref> *</type>
          <declname>cur</declname>
        </param>
        <param>
          <type>int</type>
          <declname>level</declname>
        </param>
        <param>
          <type>int</type>
          <declname>format</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>encoding</declname>
        </param>
        <briefdescription>
<para>Serialize an XML node to an output buffer. </para>
        </briefdescription>
        <detaileddescription>
<para>If <computeroutput>encoding</computeroutput> is NULL, uses the document&apos;s encoding. If the document has no encoding, serializes as ASCII without an encoding declaration.</para>
<para>Note that <computeroutput>format</computeroutput> only works if the document was parsed with XML_PARSE_NOBLANKS.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>buf</parametername>
</parameternamelist>
<parameterdescription>
<para>the XML buffer output </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>doc</parametername>
</parameternamelist>
<parameterdescription>
<para>the document </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>cur</parametername>
</parameternamelist>
<parameterdescription>
<para>the current node </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>level</parametername>
</parameternamelist>
<parameterdescription>
<para>the imbrication level for indenting </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>format</parametername>
</parameternamelist>
<parameterdescription>
<para>is formatting allowed </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>encoding</parametername>
</parameternamelist>
<parameterdescription>
<para>an optional encoding string </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="2332" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="2332" bodyend="2379"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1a905d957d05bcbc16162dfd4ed043be39" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>static void xmlDocDumpInternal</definition>
        <argsstring>(xmlOutputBufferPtr buf, xmlDocPtr doc, const char *encoding, int format)</argsstring>
        <name>xmlDocDumpInternal</name>
        <param>
          <type><ref refid="struct__xmlOutputBuffer" kindref="compound">xmlOutputBufferPtr</ref></type>
          <declname>buf</declname>
        </param>
        <param>
          <type><ref refid="struct__xmlDoc" kindref="compound">xmlDocPtr</ref></type>
          <declname>doc</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>encoding</declname>
        </param>
        <param>
          <type>int</type>
          <declname>format</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="2382" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="2382" bodyend="2404"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1ac309b449ccf0e615c6f1bbb9da16aa52" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>void xmlDocDumpFormatMemoryEnc</definition>
        <argsstring>(xmlDoc *out_doc, xmlChar **doc_txt_ptr, int *doc_txt_len, const char *txt_encoding, int format)</argsstring>
        <name>xmlDocDumpFormatMemoryEnc</name>
        <param>
          <type><ref refid="tree_8h_1ae94acff8b6413934705e29389bcddc17" kindref="member">xmlDoc</ref> *</type>
          <declname>out_doc</declname>
        </param>
        <param>
          <type><ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> **</type>
          <declname>doc_txt_ptr</declname>
        </param>
        <param>
          <type>int *</type>
          <declname>doc_txt_len</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>txt_encoding</declname>
        </param>
        <param>
          <type>int</type>
          <declname>format</declname>
        </param>
        <briefdescription>
<para>Serialize an XML document to memory. </para>
        </briefdescription>
        <detaileddescription>
<para>If <computeroutput>encoding</computeroutput> is NULL, uses the document&apos;s encoding. If the document has no encoding, serializes as ASCII without an encoding declaration.</para>
<para>It is up to the caller of this function to free the returned memory with <ref refid="xmlmemory_8h_1a30231cbab46e8d659a5262c3b781164b" kindref="member">xmlFree</ref>.</para>
<para>Note that <computeroutput>format</computeroutput> only works if the document was parsed with XML_PARSE_NOBLANKS.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>out_doc</parametername>
</parameternamelist>
<parameterdescription>
<para>Document to generate XML text from </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>doc_txt_ptr</parametername>
</parameternamelist>
<parameterdescription>
<para>Memory pointer for allocated XML text </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>doc_txt_len</parametername>
</parameternamelist>
<parameterdescription>
<para>Length of the generated XML text </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>txt_encoding</parametername>
</parameternamelist>
<parameterdescription>
<para>Character encoding to use when generating XML text </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>format</parametername>
</parameternamelist>
<parameterdescription>
<para>should formatting spaces been added </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="2427" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="2427" bodyend="2459"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1a755fe89e7592192b8565bd6cb48f7df6" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>void xmlDocDumpMemory</definition>
        <argsstring>(xmlDoc *cur, xmlChar **mem, int *size)</argsstring>
        <name>xmlDocDumpMemory</name>
        <param>
          <type><ref refid="tree_8h_1ae94acff8b6413934705e29389bcddc17" kindref="member">xmlDoc</ref> *</type>
          <declname>cur</declname>
        </param>
        <param>
          <type><ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> **</type>
          <declname>mem</declname>
        </param>
        <param>
          <type>int *</type>
          <declname>size</declname>
        </param>
        <briefdescription>
<para>Same as xmlDocDumpFormatMemoryEnc with <computeroutput>encoding</computeroutput> set to NULL and <computeroutput>format</computeroutput> set to 0. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>cur</parametername>
</parameternamelist>
<parameterdescription>
<para>the document </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>mem</parametername>
</parameternamelist>
<parameterdescription>
<para>OUT: the memory pointer </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>size</parametername>
</parameternamelist>
<parameterdescription>
<para>OUT: the memory length </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="2470" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="2470" bodyend="2472"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1a3fe5e32e4a4bc711b7bc15e2870a88d8" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>void xmlDocDumpFormatMemory</definition>
        <argsstring>(xmlDoc *cur, xmlChar **mem, int *size, int format)</argsstring>
        <name>xmlDocDumpFormatMemory</name>
        <param>
          <type><ref refid="tree_8h_1ae94acff8b6413934705e29389bcddc17" kindref="member">xmlDoc</ref> *</type>
          <declname>cur</declname>
        </param>
        <param>
          <type><ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> **</type>
          <declname>mem</declname>
        </param>
        <param>
          <type>int *</type>
          <declname>size</declname>
        </param>
        <param>
          <type>int</type>
          <declname>format</declname>
        </param>
        <briefdescription>
<para>Same as xmlDocDumpFormatMemoryEnc with <computeroutput>encoding</computeroutput> set to NULL. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>cur</parametername>
</parameternamelist>
<parameterdescription>
<para>the document </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>mem</parametername>
</parameternamelist>
<parameterdescription>
<para>OUT: the memory pointer </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>size</parametername>
</parameternamelist>
<parameterdescription>
<para>OUT: the memory length </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>format</parametername>
</parameternamelist>
<parameterdescription>
<para>should formatting spaces been added </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="2484" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="2484" bodyend="2486"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1ab7aaf578bc605ec6af453ec323651f6b" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>void xmlDocDumpMemoryEnc</definition>
        <argsstring>(xmlDoc *out_doc, xmlChar **doc_txt_ptr, int *doc_txt_len, const char *txt_encoding)</argsstring>
        <name>xmlDocDumpMemoryEnc</name>
        <param>
          <type><ref refid="tree_8h_1ae94acff8b6413934705e29389bcddc17" kindref="member">xmlDoc</ref> *</type>
          <declname>out_doc</declname>
        </param>
        <param>
          <type><ref refid="xmlstring_8h_1afb1489b546f7800463867523ffaee1d3" kindref="member">xmlChar</ref> **</type>
          <declname>doc_txt_ptr</declname>
        </param>
        <param>
          <type>int *</type>
          <declname>doc_txt_len</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>txt_encoding</declname>
        </param>
        <briefdescription>
<para>Same as xmlDocDumpFormatMemoryEnc with <computeroutput>format</computeroutput> set to 0. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>out_doc</parametername>
</parameternamelist>
<parameterdescription>
<para>Document to generate XML text from </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>doc_txt_ptr</parametername>
</parameternamelist>
<parameterdescription>
<para>Memory pointer for allocated XML text </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>doc_txt_len</parametername>
</parameternamelist>
<parameterdescription>
<para>Length of the generated XML text </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>txt_encoding</parametername>
</parameternamelist>
<parameterdescription>
<para>Character encoding to use when generating XML text </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="2498" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="2498" bodyend="2502"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1a6c5f12e589fe2fc6aea5281d91aa65b9" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlDocFormatDump</definition>
        <argsstring>(FILE *f, xmlDoc *cur, int format)</argsstring>
        <name>xmlDocFormatDump</name>
        <param>
          <type>FILE *</type>
          <declname>f</declname>
        </param>
        <param>
          <type><ref refid="tree_8h_1ae94acff8b6413934705e29389bcddc17" kindref="member">xmlDoc</ref> *</type>
          <declname>cur</declname>
        </param>
        <param>
          <type>int</type>
          <declname>format</declname>
        </param>
        <briefdescription>
<para>Serialize an XML document to a <computeroutput>FILE</computeroutput>. </para>
        </briefdescription>
        <detaileddescription>
<para>Uses the document&apos;s encoding. If the document has no encoding, uses ASCII without an encoding declaration.</para>
<para>Note that <computeroutput>format</computeroutput> only works if the document was parsed with XML_PARSE_NOBLANKS.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>f</parametername>
</parameternamelist>
<parameterdescription>
<para>the FILE* </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>cur</parametername>
</parameternamelist>
<parameterdescription>
<para>the document </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>format</parametername>
</parameternamelist>
<parameterdescription>
<para>should formatting spaces been added </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the number of bytes written or -1 in case of failure. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="2519" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="2519" bodyend="2532"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1ae3cfe2424946a32daf04198c80dc4d08" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlDocDump</definition>
        <argsstring>(FILE *f, xmlDoc *cur)</argsstring>
        <name>xmlDocDump</name>
        <param>
          <type>FILE *</type>
          <declname>f</declname>
        </param>
        <param>
          <type><ref refid="tree_8h_1ae94acff8b6413934705e29389bcddc17" kindref="member">xmlDoc</ref> *</type>
          <declname>cur</declname>
        </param>
        <briefdescription>
<para>Serialize an XML document to a <computeroutput>FILE</computeroutput>. </para>
        </briefdescription>
        <detaileddescription>
<para>Uses the document&apos;s encoding. If the document has no encoding, uses ASCII without an encoding declaration.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>f</parametername>
</parameternamelist>
<parameterdescription>
<para>the FILE* </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>cur</parametername>
</parameternamelist>
<parameterdescription>
<para>the document </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the number of bytes written or -1 in case of failure. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="2545" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="2545" bodyend="2547"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1aff62a4c92443ad79476725a65a648e5a" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlSaveFileTo</definition>
        <argsstring>(xmlOutputBuffer *buf, xmlDoc *cur, const char *encoding)</argsstring>
        <name>xmlSaveFileTo</name>
        <param>
          <type><ref refid="tree_8h_1a5a833f0c7502e1b15b6571271fa4c541" kindref="member">xmlOutputBuffer</ref> *</type>
          <declname>buf</declname>
        </param>
        <param>
          <type><ref refid="tree_8h_1ae94acff8b6413934705e29389bcddc17" kindref="member">xmlDoc</ref> *</type>
          <declname>cur</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>encoding</declname>
        </param>
        <briefdescription>
<para>Same as xmlSaveFormatFileTo with <computeroutput>format</computeroutput> set to 0. </para>
        </briefdescription>
        <detaileddescription>
<para>WARNING: This calls <ref refid="xmlIO_8h_1a36fe9cce2bb1dff29f251a993ccb745c" kindref="member">xmlOutputBufferClose</ref> and frees <computeroutput>buf</computeroutput>.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>buf</parametername>
</parameternamelist>
<parameterdescription>
<para>an output I/O buffer </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>cur</parametername>
</parameternamelist>
<parameterdescription>
<para>the document </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>encoding</parametername>
</parameternamelist>
<parameterdescription>
<para>the encoding if any assuming the I/O layer handles the transcoding </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the number of bytes written or -1 in case of failure. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="2560" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="2560" bodyend="2562"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1a26a3f60010e119bb566e3c94ef80f820" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlSaveFormatFileTo</definition>
        <argsstring>(xmlOutputBuffer *buf, xmlDoc *cur, const char *encoding, int format)</argsstring>
        <name>xmlSaveFormatFileTo</name>
        <param>
          <type><ref refid="tree_8h_1a5a833f0c7502e1b15b6571271fa4c541" kindref="member">xmlOutputBuffer</ref> *</type>
          <declname>buf</declname>
        </param>
        <param>
          <type><ref refid="tree_8h_1ae94acff8b6413934705e29389bcddc17" kindref="member">xmlDoc</ref> *</type>
          <declname>cur</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>encoding</declname>
        </param>
        <param>
          <type>int</type>
          <declname>format</declname>
        </param>
        <briefdescription>
<para>Serialize an XML document to an output buffer. </para>
        </briefdescription>
        <detaileddescription>
<para>If the output buffer already uses a (non-default) encoding, <computeroutput>encoding</computeroutput> is ignored. If the output buffer has no encoding and <computeroutput>encoding</computeroutput> is NULL, uses the document&apos;s encoding or ASCII without an encoding declaration.</para>
<para>Note that <computeroutput>format</computeroutput> only works if the document was parsed with XML_PARSE_NOBLANKS.</para>
<para>WARNING: This calls <ref refid="xmlIO_8h_1a36fe9cce2bb1dff29f251a993ccb745c" kindref="member">xmlOutputBufferClose</ref> and frees <computeroutput>buf</computeroutput>.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>buf</parametername>
</parameternamelist>
<parameterdescription>
<para>an output I/O buffer </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>cur</parametername>
</parameternamelist>
<parameterdescription>
<para>the document </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>encoding</parametername>
</parameternamelist>
<parameterdescription>
<para>the encoding if any assuming the I/O layer handles the transcoding </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>format</parametername>
</parameternamelist>
<parameterdescription>
<para>should formatting spaces been added </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the number of bytes written or -1 in case of failure. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="2584" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="2584" bodyend="2598"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1ac5c9bf5e6faa3fca384f340bf9f5faba" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlSaveFormatFileEnc</definition>
        <argsstring>(const char *filename, xmlDoc *cur, const char *encoding, int format)</argsstring>
        <name>xmlSaveFormatFileEnc</name>
        <param>
          <type>const char *</type>
          <declname>filename</declname>
        </param>
        <param>
          <type><ref refid="tree_8h_1ae94acff8b6413934705e29389bcddc17" kindref="member">xmlDoc</ref> *</type>
          <declname>cur</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>encoding</declname>
        </param>
        <param>
          <type>int</type>
          <declname>format</declname>
        </param>
        <briefdescription>
<para>Serialize an XML document to a file using the given encoding. </para>
        </briefdescription>
        <detaileddescription>
<para>If <computeroutput>filename</computeroutput> is <computeroutput>&quot;-&quot;</computeroutput>, stdout is used. This is potentially insecure and might be changed in a future version.</para>
<para>If <computeroutput>encoding</computeroutput> is NULL, uses the document&apos;s encoding. If the document has no encoding, serializes as ASCII without an encoding declaration.</para>
<para>Note that <computeroutput>format</computeroutput> only works if the document was parsed with XML_PARSE_NOBLANKS.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>filename</parametername>
</parameternamelist>
<parameterdescription>
<para>the filename or URL to output </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>cur</parametername>
</parameternamelist>
<parameterdescription>
<para>the document being saved </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>encoding</parametername>
</parameternamelist>
<parameterdescription>
<para>the name of the encoding to use or NULL. </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>format</parametername>
</parameternamelist>
<parameterdescription>
<para>should formatting spaces be added. </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the number of bytes written or -1 in case of error. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="2619" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="2619" bodyend="2638"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1a7ee84def7525c67c17f309d8dbba691c" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlSaveFileEnc</definition>
        <argsstring>(const char *filename, xmlDoc *cur, const char *encoding)</argsstring>
        <name>xmlSaveFileEnc</name>
        <param>
          <type>const char *</type>
          <declname>filename</declname>
        </param>
        <param>
          <type><ref refid="tree_8h_1ae94acff8b6413934705e29389bcddc17" kindref="member">xmlDoc</ref> *</type>
          <declname>cur</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>encoding</declname>
        </param>
        <briefdescription>
<para>Same as xmlSaveFormatFileEnc with <computeroutput>format</computeroutput> set to 0. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>filename</parametername>
</parameternamelist>
<parameterdescription>
<para>the filename (or URL) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>cur</parametername>
</parameternamelist>
<parameterdescription>
<para>the document </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>encoding</parametername>
</parameternamelist>
<parameterdescription>
<para>the name of an encoding (or NULL) </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the number of bytes written or -1 in case of failure. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="2650" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="2650" bodyend="2652"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1a65385474cbfeef4ff90464203ac65f44" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlSaveFormatFile</definition>
        <argsstring>(const char *filename, xmlDoc *cur, int format)</argsstring>
        <name>xmlSaveFormatFile</name>
        <param>
          <type>const char *</type>
          <declname>filename</declname>
        </param>
        <param>
          <type><ref refid="tree_8h_1ae94acff8b6413934705e29389bcddc17" kindref="member">xmlDoc</ref> *</type>
          <declname>cur</declname>
        </param>
        <param>
          <type>int</type>
          <declname>format</declname>
        </param>
        <briefdescription>
<para>Same as xmlSaveFormatFileEnc with <computeroutput>encoding</computeroutput> set to NULL. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>filename</parametername>
</parameternamelist>
<parameterdescription>
<para>the filename (or URL) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>cur</parametername>
</parameternamelist>
<parameterdescription>
<para>the document </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>format</parametername>
</parameternamelist>
<parameterdescription>
<para>should formatting spaces been added </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the number of bytes written or -1 in case of failure. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="2663" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="2663" bodyend="2665"/>
      </memberdef>
      <memberdef kind="function" id="xmlsave_8c_1a425bc5df50cd5e658e159a8f6ea78cb7" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int xmlSaveFile</definition>
        <argsstring>(const char *filename, xmlDoc *cur)</argsstring>
        <name>xmlSaveFile</name>
        <param>
          <type>const char *</type>
          <declname>filename</declname>
        </param>
        <param>
          <type><ref refid="tree_8h_1ae94acff8b6413934705e29389bcddc17" kindref="member">xmlDoc</ref> *</type>
          <declname>cur</declname>
        </param>
        <briefdescription>
<para>Same as xmlSaveFormatFileEnc with <computeroutput>encoding</computeroutput> set to NULL and <computeroutput>format</computeroutput> set to 0. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>filename</parametername>
</parameternamelist>
<parameterdescription>
<para>the filename (or URL) </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>cur</parametername>
</parameternamelist>
<parameterdescription>
<para>the document </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the number of bytes written or -1 in case of failure. </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/builds/GNOME/libxml2/xmlsave.c" line="2676" column="1" bodyfile="/builds/GNOME/libxml2/xmlsave.c" bodystart="2676" bodyend="2678"/>
      </memberdef>
    </sectiondef>
    <briefdescription>
    </briefdescription>
    <detaileddescription>
    </detaileddescription>
    <location file="/builds/GNOME/libxml2/xmlsave.c"/>
  </compounddef>
</doxygen>
