mirror of
https://github.com/php/doc-zh.git
synced 2026-03-24 15:12:20 +01:00
70 lines
1.9 KiB
XML
70 lines
1.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<!-- EN-Revision: 765b2d6eec7dfbaeed900b32aa91a1360d73df42 Maintainer: HonestQiao Status: ready -->
|
|
<!-- CREDITS: mowangjuanzi, Luffy -->
|
|
<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>
|
|
默认情况下,此扩展使用 <productname>expat compat layer
|
|
</productname>。也可使用 <productname>expat</productname>,此库位于
|
|
<link xlink:href="&url.expat;">&url.expat;</link>。使用
|
|
<productname>expat</productname> 库中的 Makefile
|
|
是不会默认构建出库文件的,可使用以下构建规则进行构建:
|
|
<programlisting role="makefile">
|
|
<![CDATA[
|
|
libexpat.a: $(OBJS)
|
|
ar -rc $@ $(OBJS)
|
|
ranlib $@
|
|
]]>
|
|
</programlisting>
|
|
expat 的源代码 RPM 安装包可在
|
|
<link xlink:href="&url.expat.rpm;">&url.expat.rpm;</link>
|
|
找到。
|
|
</para>
|
|
</section>
|
|
<!-- }}} -->
|
|
|
|
<!-- {{{ Installation -->
|
|
&reference.xml.configure;
|
|
<!-- }}} -->
|
|
|
|
<!-- {{{ Resources -->
|
|
<section xml:id="xml.resources">
|
|
&reftitle.resources;
|
|
<para>
|
|
在 PHP 8.0.0 之前,<function>xml_parser_create</function> 与
|
|
<function>xml_parser_create_ns</function> 返回的
|
|
<literal>XML</literal> 资源会引用 XML 解析器实例,以被此扩展提供的函数使用。
|
|
</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
|
|
-->
|
|
|