xml-parser.xml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
  3. "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  4. <!ENTITY % general-entities SYSTEM "../general.ent">
  5. %general-entities;
  6. ]>
  7. <sect1 id="ch-system-xml-parser" role="wrap">
  8. <?dbhtml filename="xml-parser.html"?>
  9. <sect1info condition="script">
  10. <productname>xml-parser</productname>
  11. <productnumber>&xml-parser-version;</productnumber>
  12. <address>&xml-parser-url;</address>
  13. </sect1info>
  14. <title>XML::Parser-&xml-parser-version;</title>
  15. <indexterm zone="ch-system-xml-parser">
  16. <primary sortas="a-Xml-Parser">XML::Parser</primary>
  17. </indexterm>
  18. <sect2 role="package">
  19. <title/>
  20. <para>XML::Parser 模块是 James Clark 的 XML 解析器 Expat 的
  21. Perl 接口。</para>
  22. <segmentedlist>
  23. <segtitle>&buildtime;</segtitle>
  24. <segtitle>&diskspace;</segtitle>
  25. <seglistitem>
  26. <seg>&xml-parser-ch6-sbu;</seg>
  27. <seg>&xml-parser-ch6-du;</seg>
  28. </seglistitem>
  29. </segmentedlist>
  30. </sect2>
  31. <sect2 role="installation">
  32. <title>安装 XML::Parser</title>
  33. <para>准备安装 XML::Parser:</para>
  34. <screen><userinput remap="configure">perl Makefile.PL</userinput></screen>
  35. <para>编译该软件包:</para>
  36. <screen><userinput remap="make">make</userinput></screen>
  37. <para>运行以下命令以测试编译结果:</para>
  38. <screen><userinput remap="test">make test</userinput></screen>
  39. <para>安装该软件包:</para>
  40. <screen><userinput remap="install">make install</userinput></screen>
  41. </sect2>
  42. <sect2 id="contents-xml-parser" role="content">
  43. <title>XML::Parser 的内容</title>
  44. <segmentedlist>
  45. <segtitle>安装的模块</segtitle>
  46. <seglistitem>
  47. <seg>Expat.so</seg>
  48. </seglistitem>
  49. </segmentedlist>
  50. <variablelist>
  51. <bridgehead renderas="sect3">简要描述</bridgehead>
  52. <?dbfo list-presentation="list"?>
  53. <?dbhtml list-presentation="table"?>
  54. <varlistentry id="Expat">
  55. <term><filename class="libraryfile">Expat</filename></term>
  56. <listitem>
  57. <para>提供 Expat 的 Perl 接口</para>
  58. <indexterm zone="ch-system-xml-parser Expat">
  59. <primary sortas="c-Expat">Expat</primary>
  60. </indexterm>
  61. </listitem>
  62. </varlistentry>
  63. </variablelist>
  64. </sect2>
  65. </sect1>