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 | <!ENTITY my-download-http "&metacpan_authors;/G/GR/GRANTM/XML-SAX-&XML-SAX-version;.tar.gz">
|
---|
8 | <!ENTITY my-md5sum "b62e3754523695c7f5bbcafa3676a38d">
|
---|
9 |
|
---|
10 | ]>
|
---|
11 |
|
---|
12 | <!-- Begin XML::SAX -->
|
---|
13 | <sect2 id="perl-xml-sax" xreflabel="XML-SAX-&XML-SAX-version;">
|
---|
14 |
|
---|
15 | <title>XML::SAX-&XML-SAX-version;</title>
|
---|
16 |
|
---|
17 | <indexterm zone="perl-xml-sax">
|
---|
18 | <primary sortas="a-XML-SAX">XML::SAX</primary>
|
---|
19 | </indexterm>
|
---|
20 |
|
---|
21 | <sect3 role="package">
|
---|
22 | <title>Introduction to XML::SAX</title>
|
---|
23 |
|
---|
24 | <para>
|
---|
25 | XML::SAX is a SAX parser access API for Perl. It includes classes and
|
---|
26 | APIs required for implementing SAX drivers, along with a factory class
|
---|
27 | for returning any SAX parser installed on the user's system.
|
---|
28 | </para>
|
---|
29 |
|
---|
30 | &lfs122_checked;
|
---|
31 |
|
---|
32 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
33 | <itemizedlist spacing="compact">
|
---|
34 | <listitem>
|
---|
35 | <para>
|
---|
36 | Download (HTTP): <ulink url="&my-download-http;"/>
|
---|
37 | </para>
|
---|
38 | </listitem>
|
---|
39 | <listitem>
|
---|
40 | <para>
|
---|
41 | Download MD5 sum: &my-md5sum;
|
---|
42 | </para>
|
---|
43 | </listitem>
|
---|
44 | </itemizedlist>
|
---|
45 |
|
---|
46 | <bridgehead renderas="sect4">XML::SAX Dependencies</bridgehead>
|
---|
47 |
|
---|
48 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
49 | <para role="required">
|
---|
50 | <xref linkend="libxml2"/>,
|
---|
51 | <xref linkend="perl-xml-namespacesupport"/>, and
|
---|
52 | <xref linkend="perl-xml-sax-base"/>
|
---|
53 | </para>
|
---|
54 |
|
---|
55 | </sect3>
|
---|
56 |
|
---|
57 | <sect3 role="installation">
|
---|
58 | <title>Installation of XML::SAX</title>
|
---|
59 |
|
---|
60 | <!-- claimed to not support parallel building, but all it does is
|
---|
61 | copy a few files, works with -j4 although running parallel builds
|
---|
62 | on modules is usually not beneficial : Ken -->
|
---|
63 |
|
---|
64 | <para>
|
---|
65 | This module uses a variant of the standard build and installation
|
---|
66 | instructions:
|
---|
67 |
|
---|
68 | <screen><userinput>yes | perl Makefile.PL &&
|
---|
69 | make &&
|
---|
70 | make test</userinput></screen>
|
---|
71 |
|
---|
72 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
73 |
|
---|
74 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
75 |
|
---|
76 | </para>
|
---|
77 |
|
---|
78 | </sect3>
|
---|
79 |
|
---|
80 | <sect3 role="commands">
|
---|
81 | <title>Command Explanations</title>
|
---|
82 |
|
---|
83 | <para>
|
---|
84 | <command>yes</command>: Perl will ask if you want it to alter
|
---|
85 | ParserDetails.ini and then wait for a response. The default is
|
---|
86 | 'y'. Using 'yes' allows you to script this.
|
---|
87 | </para>
|
---|
88 |
|
---|
89 | </sect3>
|
---|
90 |
|
---|
91 | </sect2>
|
---|