1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
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 |
|
---|
8 | <sect1 id="ch-system-expat" role="wrap">
|
---|
9 | <?dbhtml filename="expat.html"?>
|
---|
10 |
|
---|
11 | <title>Expat-&expat-version;</title>
|
---|
12 |
|
---|
13 | <indexterm zone="ch-system-expat">
|
---|
14 | <primary sortas="a-Expat">Expat</primary>
|
---|
15 | </indexterm>
|
---|
16 |
|
---|
17 | <sect2 role="package">
|
---|
18 | <title/>
|
---|
19 |
|
---|
20 | <para>Expat is a stream-oriented XML parser library written in C.</para>
|
---|
21 |
|
---|
22 | </sect2>
|
---|
23 |
|
---|
24 | <sect2 role="installation">
|
---|
25 | <title>Installation of Expat</title>
|
---|
26 |
|
---|
27 | <para os="a">Prepare Expat for compilation:</para>
|
---|
28 |
|
---|
29 | <screen os="b"><userinput>./configure \
|
---|
30 | --prefix=/usr</userinput></screen>
|
---|
31 |
|
---|
32 | <para os="c">Compile the package:</para>
|
---|
33 |
|
---|
34 | <screen os="d"><userinput>make</userinput></screen>
|
---|
35 |
|
---|
36 | <para os="e">To test the results, issue:</para>
|
---|
37 |
|
---|
38 | <screen os="e2"><userinput remap="test">make check</userinput></screen>
|
---|
39 |
|
---|
40 | <para os="f">Install the package:</para>
|
---|
41 |
|
---|
42 | <screen os="g"><userinput>make install</userinput></screen>
|
---|
43 |
|
---|
44 | <para os="h">Install the documentation:</para>
|
---|
45 |
|
---|
46 | <screen os="i"><userinput>install -v -m755 -d /usr/share/doc/expat-&expat-version;
|
---|
47 | install -v -m644 doc/*.{html,png,css} /usr/share/doc/expat-&expat-version;</userinput></screen>
|
---|
48 |
|
---|
49 |
|
---|
50 | </sect2>
|
---|
51 |
|
---|
52 | <sect2 id="contents-expat" role="content">
|
---|
53 | <title>Contents of Expat</title>
|
---|
54 |
|
---|
55 | <segmentedlist>
|
---|
56 | <segtitle>Installed program</segtitle>
|
---|
57 | <segtitle>Installed library</segtitle>
|
---|
58 | <segtitle>Installed directory</segtitle>
|
---|
59 |
|
---|
60 | <seglistitem>
|
---|
61 | <seg>xmlwf</seg>
|
---|
62 | <seg>libexpat.[so,a]</seg>
|
---|
63 | <seg>/usr/share/doc/expat-&expat-version;</seg>
|
---|
64 | </seglistitem>
|
---|
65 | </segmentedlist>
|
---|
66 |
|
---|
67 | <variablelist>
|
---|
68 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
69 | <?dbfo list-presentation="list"?>
|
---|
70 | <?dbhtml list-presentation="table"?>
|
---|
71 |
|
---|
72 | <varlistentry id="xmlwf">
|
---|
73 | <term><command>xmlwf</command></term>
|
---|
74 | <listitem>
|
---|
75 | <para>is a non-validating utility to check whether or not XML
|
---|
76 | documents are well formed</para>
|
---|
77 | <indexterm zone="ch-system-expat xmlwf">
|
---|
78 | <primary sortas="b-xmlwf">xmlwf</primary>
|
---|
79 | </indexterm>
|
---|
80 | </listitem>
|
---|
81 | </varlistentry>
|
---|
82 |
|
---|
83 | <varlistentry id="libexpat">
|
---|
84 | <term><filename class="libraryfile">libexpat</filename></term>
|
---|
85 | <listitem>
|
---|
86 | <para>contains API functions for parsing XML</para>
|
---|
87 | <indexterm zone="ch-system-expat libexpat">
|
---|
88 | <primary sortas="c-libexpat">libexpat</primary>
|
---|
89 | </indexterm>
|
---|
90 | </listitem>
|
---|
91 | </varlistentry>
|
---|
92 |
|
---|
93 | </variablelist>
|
---|
94 |
|
---|
95 | </sect2>
|
---|
96 |
|
---|
97 | </sect1>
|
---|