Introduction to xmlto

The xmlto is a front-end to an XSL toolchain. It chooses an appropriate stylesheet for the conversion you want and applies it using an external XSL-T processor. It also performs any necessary post-processing.

This package is known to build and work properly using an LFS-7.10 platform.

Package Information

xmlto Dependencies


docbook-xml-4.5, docbook-xsl-1.79.1, and libxslt-1.1.29

Optional (for DVI, PDF, and postscript backend post-processing)

fop-2.1, dblatex, and PassiveTeX

Optional (for text backend post-processing)

One of Links-2.13, Lynx-2.8.8rel.2, w3m-0.5.3, or ELinks

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/xmlto

Installation of xmlto

Install xmlto by running the following commands:

LINKS="/usr/bin/links" \
./configure --prefix=/usr &&


To test the results, issue: make check.

Now, as the root user:

make install

Command Explanations

LINKS="/usr/bin/links": This environment variable fixes a bug causing xmlto to think that links command is the same as elinks. Setting this variable does not cause problem if links is not installed, unless you have ELinks installed, and wishes to use it for text backend post-processing, in which case, remove it.


Installed Programs: xmlif and xmlto
Installed Libraries: None
Installed Directory: /usr/share/xmlto

Short Descriptions


is a conditional processing instructions for XML.


applies an XSL stylesheet to an XML document.

Last updated on 2016-08-27 13:19:14 -0700