<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.6 $ -->
<section id="libxml.constants">
 &reftitle.constants;
 &extension.constants;
 <variablelist>
  <varlistentry>
   <term>
    <constant>LIBXML_COMPACT</constant>
     (<type>integer</type>)
   </term>
   <listitem>
    <simpara>
     Activate small nodes allocation optimization. This may speed up your
     application without needing to change the code.
    </simpara>
    <note>
     <para>
      Only available in Libxml &gt;= 2.6.21
     </para>
    </note>
   </listitem>
  </varlistentry>
  <varlistentry>
   <term>
    <constant>LIBXML_DTDATTR</constant>
     (<type>integer</type>)
   </term>
   <listitem>
    <simpara>
     Default DTD attributes
    </simpara>
   </listitem>
  </varlistentry>
  <varlistentry>
   <term>
    <constant>LIBXML_DTDLOAD</constant>
     (<type>integer</type>)
   </term>
   <listitem>
    <simpara>
     Load the external subset
    </simpara>
   </listitem>
  </varlistentry>
  <varlistentry>
   <term>
    <constant>LIBXML_DTDVALID</constant>
     (<type>integer</type>)
   </term>
   <listitem>
    <simpara>
     Validate with the DTD
    </simpara>
   </listitem>
  </varlistentry>
  <varlistentry>
   <term>
    <constant>LIBXML_NOBLANKS</constant>
     (<type>integer</type>)
   </term>
   <listitem>
    <simpara>
     Remove blank nodes
    </simpara>
   </listitem>
  </varlistentry>
  <varlistentry>
   <term>
    <constant>LIBXML_NOCDATA</constant>
     (<type>integer</type>)
   </term>
   <listitem>
    <simpara>
     Merge CDATA as text nodes
    </simpara>
   </listitem>
  </varlistentry>
  <varlistentry>
   <term>
    <constant>LIBXML_NOEMPTYTAG</constant>
     (<type>integer</type>)
   </term>
   <listitem>
    <simpara>
     Expand empty tags (e.g. <literal>&lt;br/&gt;</literal> to
     <literal>&lt;br&gt;&lt;/br&gt;</literal>)
    </simpara>
    <note>
     <para>
      This option is currently just available in the
      <xref linkend="function.dom-domdocument-save" /> and
      <xref linkend="function.dom-domdocument-savexml" /> functions.
     </para>
    </note>
   </listitem>
  </varlistentry>
  <varlistentry>
   <term>
    <constant>LIBXML_NOENT</constant>
     (<type>integer</type>)
   </term>
   <listitem>
    <simpara>
     Substitute entities
    </simpara>
   </listitem>
  </varlistentry>
  <varlistentry>
   <term>
    <constant>LIBXML_NOERROR</constant>
     (<type>integer</type>)
   </term>
   <listitem>
    <simpara>
     Suppress error reports
    </simpara>
   </listitem>
  </varlistentry>
  <varlistentry>
   <term>
    <constant>LIBXML_NONET</constant>
     (<type>integer</type>)
   </term>
   <listitem>
    <simpara>
     Disable network access when loading documents
    </simpara>
   </listitem>
  </varlistentry>
  <varlistentry>
   <term>
    <constant>LIBXML_NOWARNING</constant>
     (<type>integer</type>)
   </term>
   <listitem>
    <simpara>
     Suppress warning reports
    </simpara>
   </listitem>
  </varlistentry>
  <varlistentry>
   <term>
    <constant>LIBXML_NOXMLDECL</constant>
     (<type>integer</type>)
   </term>
   <listitem>
    <simpara>
     Drop the XML declaration when saving a document
    </simpara>
    <note>
     <para>
      Only available in Libxml &gt;= 2.6.21
     </para>
    </note>
   </listitem>
  </varlistentry>
  <varlistentry>
   <term>
    <constant>LIBXML_NSCLEAN</constant>
     (<type>integer</type>)
   </term>
   <listitem>
    <simpara>
     Remove redundant namespaces declarations
    </simpara>
   </listitem>
  </varlistentry>
  <varlistentry>
   <term>
    <constant>LIBXML_XINCLUDE</constant>
     (<type>integer</type>)
   </term>
   <listitem>
    <simpara>
     Implement XInclude substitution
    </simpara>
   </listitem>
  </varlistentry>
  <varlistentry>
   <term>
    <constant>LIBXML_ERR_ERROR</constant>
     (<type>integer</type>)
   </term>
   <listitem>
    <simpara>
     A recoverable error
    </simpara>
   </listitem>
  </varlistentry>
  <varlistentry>
   <term>
    <constant>LIBXML_ERR_FATAL</constant>
     (<type>integer</type>)
   </term>
   <listitem>
    <simpara>
     A fatal error
    </simpara>
   </listitem>
  </varlistentry>
  <varlistentry>
   <term>
    <constant>LIBXML_ERR_NONE</constant>
     (<type>integer</type>)
   </term>
   <listitem>
    <simpara>
     No errors
    </simpara>
   </listitem>
  </varlistentry>
  <varlistentry>
   <term>
    <constant>LIBXML_ERR_WARNING</constant>
     (<type>integer</type>)
   </term>
   <listitem>
    <simpara>
     A simple warning
    </simpara>
   </listitem>
  </varlistentry>
  <varlistentry>
   <term>
    <constant>LIBXML_VERSION</constant>
     (<type>integer</type>)
   </term>
   <listitem>
    <simpara>
     libxml version like 20605 or 20617
    </simpara>
   </listitem>
  </varlistentry>
  <varlistentry>
   <term>
    <constant>LIBXML_DOTTED_VERSION</constant>
     (<type>string</type>)
   </term>
   <listitem>
    <simpara>
     libxml version like 2.6.5 or 2.6.17
    </simpara>
   </listitem>
  </varlistentry>
 </variablelist>
</section>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->