#### Beyond Linux® From Scratch (System V Edition) - Version 12.3

### Chapter 49. Extensible Markup Language (XML)

- Prev

  itstool-2.0.7

- Next

  PostScript

- Up
- Home

# xmlto-0.0.29

## Introduction to xmlto

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 12.3 platform.

### Package Information

- Download (HTTP): https://pagure.io/xmlto/archive/0.0.29/xmlto-0.0.29.tar.gz

- Download MD5 sum: 556f2642cdcd005749bd4c08bc621c37

- Download size: 64 KB

- Estimated disk space required: 1.9 MB (with tests)

- Estimated build time: less than 0.1 SBU (with tests)

### xmlto Dependencies

#### Required

docbook-xml-4.5, docbook-xsl-nons-1.79.2, and libxslt-1.1.42

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

fop-2.10, dblatex, and PassiveTeX

#### Optional (for text backend post-processing)

One of Links-2.30, Lynx-2.9.2, W3m, or ELinks

Editor Notes: https://wiki.linuxfromscratch.org/blfs/wiki/xmlto

## Installation of xmlto

Install xmlto by running the following commands:

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

    make

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 problems if Links-2.30 is not installed, unless you have ELinks installed, and you wish to use it for text backend post-processing. If you do wish to ELinks, you should remove this environment variable.

## Contents

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

### Short Descriptions

xmlif | is a conditional processing instructions for XML
xmlto | applies an XSL stylesheet to an XML document

- Prev

  itstool-2.0.7

- Next

  PostScript

- Up
- Home