The xmlto package is a front-end to a XSL toolchain. It chooses an appropriate stylesheet for the conversion you want and applies it using an external XSLT processor. It also performs any necessary post-processing.
This package is known to build and work properly using an LFS-11.2 platform.
Download (HTTP): https://releases.pagure.org/xmlto/xmlto-0.0.28.tar.bz2
Download MD5 sum: 93bab48d446c826399d130d959fe676f
Download size: 128 KB
Estimated disk space required: 1.5 MB (with tests)
Estimated build time: less than 0.1 SBU (with tests)
docbook-xml-4.5, docbook-xsl-nons-1.79.2, and libxslt-1.1.36
fop-2.7, dblatex, and PassiveTeX
One of Links-2.27, Lynx-2.8.9rel.1, W3m, or ELinks
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/xmlto
Install xmlto by running the following commands:
LINKS="/usr/bin/links" \ ./configure --prefix=/usr && make
To test the results, issue: make check.
Now, as the root
user:
make install
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 problems if links is not installed,
unless you have ELinks installed, and wish to use it for
text backend post-processing, in which case, remove it.