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 xmlto-download-http "https://pagure.io/xmlto/archive/&xmlto-version;/xmlto-&xmlto-version;.tar.gz">
|
---|
8 | <!ENTITY xmlto-download-ftp " ">
|
---|
9 | <!ENTITY xmlto-md5sum "556f2642cdcd005749bd4c08bc621c37">
|
---|
10 | <!ENTITY xmlto-size "64 KB">
|
---|
11 | <!ENTITY xmlto-buildsize "1.9 MB (with tests)">
|
---|
12 | <!ENTITY xmlto-time "less than 0.1 SBU (with tests)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="xmlto" xreflabel="xmlto-&xmlto-version;">
|
---|
16 | <?dbhtml filename="xmlto.html"?>
|
---|
17 |
|
---|
18 |
|
---|
19 | <title>xmlto-&xmlto-version;</title>
|
---|
20 |
|
---|
21 | <indexterm zone="xmlto">
|
---|
22 | <primary sortas="a-xmlto">xmlto</primary>
|
---|
23 | </indexterm>
|
---|
24 |
|
---|
25 | <sect2 role="package">
|
---|
26 | <title>Introduction to xmlto</title>
|
---|
27 |
|
---|
28 | <para>
|
---|
29 | The <application>xmlto</application> package is a front-end to a XSL
|
---|
30 | toolchain. It chooses an appropriate stylesheet for the conversion you
|
---|
31 | want and applies it using an external XSLT processor. It also performs
|
---|
32 | any necessary post-processing.
|
---|
33 | </para>
|
---|
34 |
|
---|
35 | &lfs122_checked;
|
---|
36 |
|
---|
37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
38 | <itemizedlist spacing="compact">
|
---|
39 | <listitem>
|
---|
40 | <para>
|
---|
41 | Download (HTTP): <ulink url="&xmlto-download-http;"/>
|
---|
42 | </para>
|
---|
43 | </listitem>
|
---|
44 | <listitem>
|
---|
45 | <para>
|
---|
46 | Download (FTP): <ulink url="&xmlto-download-ftp;"/>
|
---|
47 | </para>
|
---|
48 | </listitem>
|
---|
49 | <listitem>
|
---|
50 | <para>
|
---|
51 | Download MD5 sum: &xmlto-md5sum;
|
---|
52 | </para>
|
---|
53 | </listitem>
|
---|
54 | <listitem>
|
---|
55 | <para>
|
---|
56 | Download size: &xmlto-size;
|
---|
57 | </para>
|
---|
58 | </listitem>
|
---|
59 | <listitem>
|
---|
60 | <para>
|
---|
61 | Estimated disk space required: &xmlto-buildsize;
|
---|
62 | </para>
|
---|
63 | </listitem>
|
---|
64 | <listitem>
|
---|
65 | <para>
|
---|
66 | Estimated build time: &xmlto-time;
|
---|
67 | </para>
|
---|
68 | </listitem>
|
---|
69 | </itemizedlist>
|
---|
70 |
|
---|
71 | <bridgehead renderas="sect3">xmlto Dependencies</bridgehead>
|
---|
72 |
|
---|
73 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
74 | <para role="required">
|
---|
75 | <xref linkend="DocBook"/>,
|
---|
76 | <xref linkend="docbook-xsl"/>, and
|
---|
77 | <xref linkend="libxslt"/>
|
---|
78 | </para>
|
---|
79 |
|
---|
80 | <bridgehead renderas="sect4">Optional (for DVI, PDF, and postscript
|
---|
81 | backend post-processing)</bridgehead>
|
---|
82 | <para role="optional">
|
---|
83 | <xref role="runtime" linkend="fop"/>,
|
---|
84 | <ulink url="https://sourceforge.net/projects/dblatex/files/dblatex/">dblatex</ulink>, and
|
---|
85 | <ulink url="https://www.garshol.priv.no/download/xmltools/prod/PassiveTeX.html">
|
---|
86 | PassiveTeX</ulink>
|
---|
87 | </para>
|
---|
88 |
|
---|
89 | <bridgehead renderas="sect4">Optional (for text backend
|
---|
90 | post-processing)</bridgehead>
|
---|
91 | <para role="optional">
|
---|
92 | One of
|
---|
93 | <xref role="runtime" linkend="Links"/>,
|
---|
94 | <xref role="runtime" linkend="lynx"/>,
|
---|
95 | <ulink url="&w3m-url;">W3m</ulink>, or
|
---|
96 | <ulink url="&elinks-url;">ELinks</ulink>
|
---|
97 | </para>
|
---|
98 |
|
---|
99 | <para condition="html" role="usernotes">Editor Notes:
|
---|
100 | <ulink url="&blfs-wiki;/xmlto"/></para>
|
---|
101 |
|
---|
102 | </sect2>
|
---|
103 |
|
---|
104 | <sect2 role="installation">
|
---|
105 | <title>Installation of xmlto</title>
|
---|
106 |
|
---|
107 | <para>
|
---|
108 | Install <application>xmlto</application> by running the following
|
---|
109 | commands:
|
---|
110 | </para>
|
---|
111 |
|
---|
112 | <screen><userinput>autoreconf -fiv &&
|
---|
113 | LINKS="/usr/bin/links" ./configure --prefix=/usr &&
|
---|
114 |
|
---|
115 | make</userinput></screen>
|
---|
116 |
|
---|
117 | <para>
|
---|
118 | To test the results, issue: <command>make check</command>.
|
---|
119 | </para>
|
---|
120 |
|
---|
121 | <para>
|
---|
122 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
123 | </para>
|
---|
124 |
|
---|
125 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
126 |
|
---|
127 | </sect2>
|
---|
128 |
|
---|
129 | <sect2 role="commands">
|
---|
130 | <title>Command Explanations</title>
|
---|
131 |
|
---|
132 | <para>
|
---|
133 | <envar>LINKS="/usr/bin/links"</envar>: This environment variable fixes a
|
---|
134 | bug causing <command>xmlto</command> to think that
|
---|
135 | <command>links</command> command is the same as
|
---|
136 | <command>elinks</command>. Setting this variable does not cause problems
|
---|
137 | if <xref linkend="links"/> is not installed, unless
|
---|
138 | you have <ulink url="http://elinks.or.cz/">ELinks</ulink> installed, and
|
---|
139 | wish to use it for text backend post-processing, in which case,
|
---|
140 | remove it.
|
---|
141 | </para>
|
---|
142 |
|
---|
143 | </sect2>
|
---|
144 |
|
---|
145 | <sect2 role="content">
|
---|
146 | <title>Contents</title>
|
---|
147 |
|
---|
148 | <segmentedlist>
|
---|
149 | <segtitle>Installed Programs</segtitle>
|
---|
150 | <segtitle>Installed Libraries</segtitle>
|
---|
151 | <segtitle>Installed Directory</segtitle>
|
---|
152 |
|
---|
153 | <seglistitem>
|
---|
154 | <seg>xmlif and xmlto</seg>
|
---|
155 | <seg>None</seg>
|
---|
156 | <seg>/usr/share/xmlto</seg>
|
---|
157 | </seglistitem>
|
---|
158 | </segmentedlist>
|
---|
159 |
|
---|
160 | <variablelist>
|
---|
161 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
162 | <?dbfo list-presentation="list"?>
|
---|
163 | <?dbhtml list-presentation="table"?>
|
---|
164 |
|
---|
165 | <varlistentry id="xmlif">
|
---|
166 | <term><command>xmlif</command></term>
|
---|
167 | <listitem>
|
---|
168 | <para>
|
---|
169 | is a conditional processing instructions for XML
|
---|
170 | </para>
|
---|
171 | <indexterm zone="xmlto xmlif">
|
---|
172 | <primary sortas="b-xmlif">xmlif</primary>
|
---|
173 | </indexterm>
|
---|
174 | </listitem>
|
---|
175 | </varlistentry>
|
---|
176 |
|
---|
177 | <varlistentry id="xmlto-prog">
|
---|
178 | <term><command>xmlto</command></term>
|
---|
179 | <listitem>
|
---|
180 | <para>
|
---|
181 | applies an XSL stylesheet to an XML document
|
---|
182 | </para>
|
---|
183 | <indexterm zone="xmlto xmlto-prog">
|
---|
184 | <primary sortas="b-xmlto">xmlto</primary>
|
---|
185 | </indexterm>
|
---|
186 | </listitem>
|
---|
187 | </varlistentry>
|
---|
188 |
|
---|
189 | </variablelist>
|
---|
190 |
|
---|
191 | </sect2>
|
---|
192 |
|
---|
193 | </sect1>
|
---|