[52d29f7] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[52d29f7] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[3c985d94] | 7 | <!ENTITY libxml2-download-http "http://xmlsoft.org/sources/libxml2-&libxml2-version;.tar.gz">
|
---|
| 8 | <!ENTITY libxml2-download-ftp "ftp://xmlsoft.org/libxml2-&libxml2-version;.tar.gz">
|
---|
[437700ae] | 9 | <!ENTITY libxml2-size "4.4 MB">
|
---|
| 10 | <!ENTITY libxml2-md5sum "1db8d06b4f49a665a8f47dc6d94450e6">
|
---|
| 11 | <!ENTITY libxml2-buildsize "83.3 MB (additional 183 MB to run the test suite)">
|
---|
| 12 | <!ENTITY libxml2-time "1.3 SBU (additional 0.8 SBU to run the test suite)">
|
---|
[52d29f7] | 13 | ]>
|
---|
| 14 |
|
---|
[f45b1953] | 15 | <sect1 id="libxml2" xreflabel="libxml2-&libxml2-version;">
|
---|
[1515ed8a] | 16 | <?dbhtml filename="libxml2.html"?>
|
---|
[8e75f8b9] | 17 |
|
---|
[1515ed8a] | 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
[8e75f8b9] | 22 |
|
---|
[437700ae] | 23 | <title>libxml2-&libxml2-version;</title>
|
---|
[8e75f8b9] | 24 |
|
---|
[1515ed8a] | 25 | <indexterm zone="libxml2">
|
---|
| 26 | <primary sortas="a-Libxml2">Libxml2</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
[437700ae] | 30 | <title>Introduction to libxml2</title>
|
---|
[8e75f8b9] | 31 |
|
---|
[1515ed8a] | 32 | <para>The <application>libxml2</application> package contains
|
---|
| 33 | XML libraries. These are useful for parsing XML files.</para>
|
---|
[8e75f8b9] | 34 |
|
---|
[1515ed8a] | 35 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 36 | <itemizedlist spacing="compact">
|
---|
| 37 | <listitem>
|
---|
| 38 | <para>Download (HTTP): <ulink url="&libxml2-download-http;"/></para>
|
---|
| 39 | </listitem>
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Download (FTP): <ulink url="&libxml2-download-ftp;"/></para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download MD5 sum: &libxml2-md5sum;</para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download size: &libxml2-size;</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Estimated disk space required: &libxml2-buildsize;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Estimated build time: &libxml2-time;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | </itemizedlist>
|
---|
[8e75f8b9] | 56 |
|
---|
[437700ae] | 57 | <bridgehead renderas="sect3">libxml2 Dependencies</bridgehead>
|
---|
[8e75f8b9] | 58 |
|
---|
[3c985d94] | 59 | <bridgehead renderas="sect4">Optional (Required to Run the Full Suite of
|
---|
| 60 | Tests)</bridgehead>
|
---|
| 61 | <para><xref linkend="python"/> and <xref linkend="wget"/></para>
|
---|
[8e75f8b9] | 62 |
|
---|
[03b3210] | 63 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 64 | <para><xref linkend="libxslt"/> (used for the test suite if found,
|
---|
| 65 | but not required) and <xref linkend="python"/> (will create a
|
---|
| 66 | <application>Python</application> library module if found)</para>
|
---|
| 67 |
|
---|
[1515ed8a] | 68 | </sect2>
|
---|
[8e75f8b9] | 69 |
|
---|
[1515ed8a] | 70 | <sect2 role="installation">
|
---|
[437700ae] | 71 | <title>Installation of libxml2</title>
|
---|
[1515ed8a] | 72 |
|
---|
[74390482] | 73 | <para>Install <application>libxml2</application> by running the following
|
---|
[1515ed8a] | 74 | commands:</para>
|
---|
| 75 |
|
---|
| 76 | <screen><userinput>./configure --prefix=/usr --with-history &&
|
---|
| 77 | make</userinput></screen>
|
---|
| 78 |
|
---|
| 79 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
[8e75f8b9] | 80 |
|
---|
[1515ed8a] | 81 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[8e75f8b9] | 82 |
|
---|
[1515ed8a] | 83 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[8e75f8b9] | 84 |
|
---|
[1515ed8a] | 85 | </sect2>
|
---|
[8e75f8b9] | 86 |
|
---|
[1515ed8a] | 87 | <sect2 role="commands">
|
---|
| 88 | <title>Command Explanations</title>
|
---|
| 89 |
|
---|
[74390482] | 90 | <para><parameter>--with-history</parameter>: Enables
|
---|
[1515ed8a] | 91 | <application>readline</application> support.</para>
|
---|
[8e75f8b9] | 92 |
|
---|
[1515ed8a] | 93 | </sect2>
|
---|
[8e75f8b9] | 94 |
|
---|
[1515ed8a] | 95 | <sect2 role="content">
|
---|
| 96 | <title>Contents</title>
|
---|
| 97 |
|
---|
| 98 | <segmentedlist>
|
---|
| 99 | <segtitle>Installed Programs</segtitle>
|
---|
| 100 | <segtitle>Installed Libraries</segtitle>
|
---|
| 101 | <segtitle>Installed Directories</segtitle>
|
---|
[8e75f8b9] | 102 |
|
---|
[1515ed8a] | 103 | <seglistitem>
|
---|
| 104 | <seg>xml2-config, xmlcatalog, and xmllint</seg>
|
---|
[74390482] | 105 | <seg>libxml2.[so,a] and optionally, the libxml2mod.[so,a]
|
---|
[1515ed8a] | 106 | <application>Python</application> module</seg>
|
---|
[437700ae] | 107 | <seg>/usr/include/libxml2, /usr/share/doc/libxml2-&libxml2-version;,
|
---|
| 108 | /usr/share/doc/libxml2-python-&libxml2-version; and
|
---|
| 109 | /usr/share/gtk-doc/html/libxml2</seg>
|
---|
[1515ed8a] | 110 | </seglistitem>
|
---|
| 111 | </segmentedlist>
|
---|
[8e75f8b9] | 112 |
|
---|
[1515ed8a] | 113 | <variablelist>
|
---|
| 114 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 115 | <?dbfo list-presentation="list"?>
|
---|
| 116 | <?dbhtml list-presentation="table"?>
|
---|
[8e75f8b9] | 117 |
|
---|
[1515ed8a] | 118 | <varlistentry id="xml2-config">
|
---|
| 119 | <term><command>xml2-config</command></term>
|
---|
| 120 | <listitem>
|
---|
[74390482] | 121 | <para>determines the compile and linker flags that should be used to
|
---|
| 122 | compile and link programs that use
|
---|
[1515ed8a] | 123 | <filename class='libraryfile'>libxml2</filename>.</para>
|
---|
| 124 | <indexterm zone="libxml2 xml2-config">
|
---|
| 125 | <primary sortas="b-xml2-config">xml2-config</primary>
|
---|
| 126 | </indexterm>
|
---|
| 127 | </listitem>
|
---|
| 128 | </varlistentry>
|
---|
[8e75f8b9] | 129 |
|
---|
[1515ed8a] | 130 | <varlistentry id="xmlcatalog">
|
---|
| 131 | <term><command>xmlcatalog</command></term>
|
---|
| 132 | <listitem>
|
---|
[74390482] | 133 | <para>is used to monitor and manipulate XML
|
---|
[1515ed8a] | 134 | and SGML catalogs.</para>
|
---|
| 135 | <indexterm zone="libxml2 xmlcatalog">
|
---|
| 136 | <primary sortas="b-xmlcatalog">xmlcatalog</primary>
|
---|
| 137 | </indexterm>
|
---|
| 138 | </listitem>
|
---|
| 139 | </varlistentry>
|
---|
[8e75f8b9] | 140 |
|
---|
[1515ed8a] | 141 | <varlistentry id="xmllint">
|
---|
| 142 | <term><command>xmllint</command></term>
|
---|
| 143 | <listitem>
|
---|
[74390482] | 144 | <para>parses XML files and outputs reports (based
|
---|
[1515ed8a] | 145 | upon options) to detect errors in XML coding.</para>
|
---|
| 146 | <indexterm zone="libxml2 xmllint">
|
---|
| 147 | <primary sortas="b-xmllint">xmllint</primary>
|
---|
| 148 | </indexterm>
|
---|
| 149 | </listitem>
|
---|
| 150 | </varlistentry>
|
---|
[8e75f8b9] | 151 |
|
---|
[1515ed8a] | 152 | <varlistentry id="libxml2-lib">
|
---|
| 153 | <term><filename class='libraryfile'>libxml2.[so,a]</filename></term>
|
---|
| 154 | <listitem>
|
---|
[74390482] | 155 | <para> libraries provide the functions for programs to parse files
|
---|
[1515ed8a] | 156 | that use the XML format.</para>
|
---|
| 157 | <indexterm zone="libxml2 libxml2-lib">
|
---|
| 158 | <primary sortas="c-libxml2">libxml2.[so,a]</primary>
|
---|
| 159 | </indexterm>
|
---|
| 160 | </listitem>
|
---|
| 161 | </varlistentry>
|
---|
[8e75f8b9] | 162 |
|
---|
[1515ed8a] | 163 | </variablelist>
|
---|
| 164 |
|
---|
| 165 | </sect2>
|
---|
[f45b1953] | 166 |
|
---|
| 167 | </sect1>
|
---|