<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->

<chapter xml:id="xml.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
 &reftitle.setup;

 <!-- {{{ Requirements -->
 <section xml:id="xml.requirements">
  &reftitle.required;
  &libxml.required;
  <para>
   This extension uses an <productname>expat compat layer</productname> by
   default. It can use also <productname>expat</productname>, which can
   be found at <link xlink:href="&url.expat;">&url.expat;</link>.  The
   Makefile that comes with <productname>expat</productname> does not build a library by
   default, you can use this make rule for that:
   <programlisting role="makefile">
<![CDATA[
libexpat.a: $(OBJS)
    ar -rc $@ $(OBJS)
    ranlib $@
]]>
   </programlisting>
   A source RPM package of expat can be found at <link
   xlink:href="&url.expat.rpm;">&url.expat.rpm;</link>.
  </para>
 </section>
 <!-- }}} -->

 <!-- {{{ Installation -->
 &reference.xml.configure;
 <!-- }}} -->

 <!-- {{{ Configuration -->
 <section xml:id="xml.configuration">
  &reftitle.runtime;
  &no.config;
 </section>
 <!-- }}} -->

 <!-- {{{ Resources -->
 <section xml:id="xml.resources">
  &reftitle.resources;
  <para>
   Prior to PHP 8.0.0, the <literal>xml</literal> resource as returned by
   <function>xml_parser_create</function> and
   <function>xml_parser_create_ns</function> referenced an xml
   parser instance to be used with the functions provided by this
   extension.
  </para>
 </section>
 <!-- }}} -->

</chapter>

<!-- 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:"~/.phpdoc/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
-->