<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/xml.setup.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'zh',
  ),
  'this' => 
  array (
    0 => 'xml.installation.php',
    1 => '安装',
    2 => '安装',
  ),
  'up' => 
  array (
    0 => 'xml.setup.php',
    1 => '安装/配置',
  ),
  'prev' => 
  array (
    0 => 'xml.requirements.php',
    1 => '需求',
  ),
  'next' => 
  array (
    0 => 'xml.resources.php',
    1 => '资源类型',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'zh',
    'path' => 'reference/xml/configure.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="xml.installation" class="section">
 <h2 class="title">安装</h2>
 <p class="para">
  此扩展默认为启用，编译时可通过下列选项禁用：
  <strong class="option configure">--disable-xml</strong>
 </p>
 <p class="para">
  这些函数默认启用，使用了捆绑的 expat 库。可以通过参数 <strong class="option configure">--disable-xml</strong> 来禁用 XML 的支持。如果将
  PHP 编译为 Apache 1.3.9 或更高版本的一个模块，PHP 将自动使用 Apache 捆绑的 <span class="productname">expat</span> 库。如果不希望使用该捆绑的
  expat 库，请使用 <strong class="option configure">--with-expat-dir=DIR</strong> 配置（configure） PHP，其中 DIR 应该指向 expat 安装的根目录。
 </p>
 <p class="simpara">PHP
的 Windows 版本已内建对此扩展的支持。不需要载入额外的扩展来使用这些函数。</p>
</div><?php manual_footer($setup); ?>