1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY libxml2-download-http "http://ftp.gnome.org/pub/GNOME/sources/libxml2/2.6/libxml2-&libxml2-version;.tar.bz2">
|
---|
8 | <!ENTITY libxml2-download-ftp "ftp://xmlsoft.org/libxml2-&libxml2-version;.tar.gz">
|
---|
9 | <!ENTITY libxml2-size "3.0 MB">
|
---|
10 | <!ENTITY libxml2-buildsize "154 MB">
|
---|
11 | <!ENTITY libxml2-time "0.96 SBU">
|
---|
12 | ]>
|
---|
13 |
|
---|
14 | <sect1 id="libxml2" xreflabel="libxml2-&libxml2-version;">
|
---|
15 | <sect1info>
|
---|
16 | <othername>$LastChangedBy$</othername>
|
---|
17 | <date>$Date$</date>
|
---|
18 | </sect1info>
|
---|
19 | <?dbhtml filename="libxml2.html"?>
|
---|
20 | <title>libxml2-&libxml2-version;</title>
|
---|
21 |
|
---|
22 | <sect2>
|
---|
23 | <title>Introduction to <application>libxml2</application></title>
|
---|
24 |
|
---|
25 | <para>The <application>libxml2</application> package contains
|
---|
26 | <acronym>XML</acronym> libraries. These are useful for parsing
|
---|
27 | <acronym>XML</acronym> files.</para>
|
---|
28 |
|
---|
29 | <sect3><title>Package information</title>
|
---|
30 | <itemizedlist spacing='compact'>
|
---|
31 | <listitem><para>Download (HTTP): <ulink
|
---|
32 | url="&libxml2-download-http;"/></para></listitem>
|
---|
33 | <listitem><para>Download (FTP): <ulink
|
---|
34 | url="&libxml2-download-ftp;"/></para></listitem>
|
---|
35 | <listitem><para>Download size: &libxml2-size;</para></listitem>
|
---|
36 | <listitem><para>Estimated disk space
|
---|
37 | required: &libxml2-buildsize;</para></listitem>
|
---|
38 | <listitem><para>Estimated build time:
|
---|
39 | &libxml2-time;</para></listitem></itemizedlist>
|
---|
40 | </sect3>
|
---|
41 |
|
---|
42 | <sect3><title><application>libxml2</application> dependencies</title>
|
---|
43 | <sect4><title>Optional</title>
|
---|
44 | <para><xref linkend="Python"/></para></sect4>
|
---|
45 | </sect3>
|
---|
46 |
|
---|
47 | </sect2>
|
---|
48 |
|
---|
49 | <sect2>
|
---|
50 | <title>Installation of <application>libxml2</application></title>
|
---|
51 |
|
---|
52 | <para>Install <application>libxml2</application> by running the following
|
---|
53 | commands:</para>
|
---|
54 |
|
---|
55 | <screen><userinput><command>./configure --prefix=/usr --with-history &&
|
---|
56 | make &&
|
---|
57 | make install</command></userinput></screen>
|
---|
58 |
|
---|
59 | </sect2>
|
---|
60 |
|
---|
61 | <sect2>
|
---|
62 | <title>Command explanations</title>
|
---|
63 |
|
---|
64 | <para><option>--with-history</option>: Enables
|
---|
65 | <application>readline</application> support.</para>
|
---|
66 |
|
---|
67 | </sect2>
|
---|
68 |
|
---|
69 | <sect2>
|
---|
70 | <title>Contents</title>
|
---|
71 |
|
---|
72 | <para>The <application>libxml2</application> package contains
|
---|
73 | <filename class='libraryfile'>libxml2</filename> libraries,
|
---|
74 | <command>xmllint</command>,
|
---|
75 | <command>xmlcatalog</command> and
|
---|
76 | <command>xml2-config</command>.
|
---|
77 | </para>
|
---|
78 |
|
---|
79 | </sect2>
|
---|
80 |
|
---|
81 | <sect2><title>Description</title>
|
---|
82 |
|
---|
83 | <sect3><title>libxml2 libraries</title>
|
---|
84 | <para><filename class='libraryfile'>libxml2</filename> libraries provide
|
---|
85 | the functions for programs to parse files that use the <acronym>XML</acronym>
|
---|
86 | format.</para></sect3>
|
---|
87 |
|
---|
88 | <sect3><title>xmllint</title>
|
---|
89 | <para><command>xmllint</command> parses <acronym>XML</acronym> files and
|
---|
90 | outputs reports (based upon options) to detect errors in
|
---|
91 | <acronym>XML</acronym> coding.</para></sect3>
|
---|
92 |
|
---|
93 | <sect3><title>xmlcatalog</title>
|
---|
94 | <para><command>xmlcatalog</command> allows users to monitor and manipulate
|
---|
95 | <acronym>XML</acronym> and <acronym>SGML</acronym> catalogs.</para></sect3>
|
---|
96 |
|
---|
97 | </sect2>
|
---|
98 |
|
---|
99 | </sect1>
|
---|