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 | <!ENTITY xmlto-download-http "https://releases.pagure.org/xmlto/xmlto-&xmlto-version;.tar.bz2">
|
---|
8 | <!ENTITY xmlto-download-ftp " ">
|
---|
9 | <!ENTITY xmlto-md5sum "93bab48d446c826399d130d959fe676f">
|
---|
10 | <!ENTITY xmlto-size "128 KB">
|
---|
11 | <!ENTITY xmlto-buildsize "1.5 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 | &lfs120_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://dblatex.sourceforge.net/">dblatex</ulink>, and -->
|
---|
85 | <ulink url="https://sourceforge.net/projects/dblatex/files/dblatex/">dblatex</ulink>, and
|
---|
86 | <ulink url="https://www.garshol.priv.no/download/xmltools/prod/PassiveTeX.html">
|
---|
87 | PassiveTeX</ulink>
|
---|
88 | </para>
|
---|
89 |
|
---|
90 | <bridgehead renderas="sect4">Optional (for text backend
|
---|
91 | post-processing)</bridgehead>
|
---|
92 | <para role="optional">
|
---|
93 | One of
|
---|
94 | <xref role="runtime" linkend="Links"/>,
|
---|
95 | <xref role="runtime" linkend="lynx"/>,
|
---|
96 | <ulink url="&w3m-url;">W3m</ulink>, or
|
---|
97 | <ulink url="&elinks-url;">ELinks</ulink>
|
---|
98 | </para>
|
---|
99 |
|
---|
100 | <para condition="html" role="usernotes">Editor Notes:
|
---|
101 | <ulink url="&blfs-wiki;/xmlto"/></para>
|
---|
102 |
|
---|
103 | </sect2>
|
---|
104 |
|
---|
105 | <sect2 role="installation">
|
---|
106 | <title>Installation of xmlto</title>
|
---|
107 |
|
---|
108 | <para>
|
---|
109 | Install <application>xmlto</application> by running the following
|
---|
110 | commands:
|
---|
111 | </para>
|
---|
112 |
|
---|
113 | <screen><userinput>LINKS="/usr/bin/links" \
|
---|
114 | ./configure --prefix=/usr &&
|
---|
115 |
|
---|
116 | make</userinput></screen>
|
---|
117 |
|
---|
118 | <para>
|
---|
119 | To test the results, issue: <command>make check</command>.
|
---|
120 | </para>
|
---|
121 |
|
---|
122 | <para>
|
---|
123 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
124 | </para>
|
---|
125 |
|
---|
126 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
127 |
|
---|
128 | </sect2>
|
---|
129 |
|
---|
130 | <sect2 role="commands">
|
---|
131 | <title>Command Explanations</title>
|
---|
132 |
|
---|
133 | <para>
|
---|
134 | <envar>LINKS="/usr/bin/links"</envar>: This environment variable fixes a
|
---|
135 | bug causing <command>xmlto</command> to think that
|
---|
136 | <command>links</command> command is the same as
|
---|
137 | <command>elinks</command>. Setting this variable does not cause problems
|
---|
138 | if <xref linkend="links"/> is not installed, unless
|
---|
139 | you have <ulink url="http://elinks.or.cz/">ELinks</ulink> installed, and
|
---|
140 | wish to use it for text backend post-processing, in which case,
|
---|
141 | remove it.
|
---|
142 | </para>
|
---|
143 |
|
---|
144 | </sect2>
|
---|
145 |
|
---|
146 | <sect2 role="content">
|
---|
147 | <title>Contents</title>
|
---|
148 |
|
---|
149 | <segmentedlist>
|
---|
150 | <segtitle>Installed Programs</segtitle>
|
---|
151 | <segtitle>Installed Libraries</segtitle>
|
---|
152 | <segtitle>Installed Directory</segtitle>
|
---|
153 |
|
---|
154 | <seglistitem>
|
---|
155 | <seg>xmlif and xmlto</seg>
|
---|
156 | <seg>None</seg>
|
---|
157 | <seg>/usr/share/xmlto</seg>
|
---|
158 | </seglistitem>
|
---|
159 | </segmentedlist>
|
---|
160 |
|
---|
161 | <variablelist>
|
---|
162 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
163 | <?dbfo list-presentation="list"?>
|
---|
164 | <?dbhtml list-presentation="table"?>
|
---|
165 |
|
---|
166 | <varlistentry id="xmlif">
|
---|
167 | <term><command>xmlif</command></term>
|
---|
168 | <listitem>
|
---|
169 | <para>
|
---|
170 | is a conditional processing instructions for XML
|
---|
171 | </para>
|
---|
172 | <indexterm zone="xmlto xmlif">
|
---|
173 | <primary sortas="b-xmlif">xmlif</primary>
|
---|
174 | </indexterm>
|
---|
175 | </listitem>
|
---|
176 | </varlistentry>
|
---|
177 |
|
---|
178 | <varlistentry id="xmlto-prog">
|
---|
179 | <term><command>xmlto</command></term>
|
---|
180 | <listitem>
|
---|
181 | <para>
|
---|
182 | applies an XSL stylesheet to an XML document
|
---|
183 | </para>
|
---|
184 | <indexterm zone="xmlto xmlto-prog">
|
---|
185 | <primary sortas="b-xmlto">xmlto</primary>
|
---|
186 | </indexterm>
|
---|
187 | </listitem>
|
---|
188 | </varlistentry>
|
---|
189 |
|
---|
190 | </variablelist>
|
---|
191 |
|
---|
192 | </sect2>
|
---|
193 |
|
---|
194 | </sect1>
|
---|