xmlto

What is it?

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.Take a look at the manual page here.

Where is it?

Here: https://fedorahosted.org/xmlto
(Old distribution site: http://cyberelk.net/tim/data/xmlto/)

Requirements

The actual program itself is a bash shell script, which also uses the GNU getopt utility (it requires long option support).Currently the only XSL-T processor that is supported is xsltproc, from Daniel Veillard’s libxslt package.

The xsltproc support requires a system with properly configured XML Catalogs, such as Red Hat Linux 9.

For DVI, PDF and PostScript output, Sebastian Rahtz’s PassiveTeX is required.

RPM packages of these are available in Red Hat Linux. Check your local Red Hat mirror.

If you would rather use a different XSL-T or XSL-FO processor than those listed above, please feel free to send me a patch. I would like for xmlto to be configurable for different XSL tool chains.

Formats

Supported conversions from DocBook XML: dvi, fo, html, html-nochunks, htmlhelp, javahelp, man, pdf, ps, txt, xhtml, xhtml-nochunks.Supported conversions from XSL-FO: dvi, pdf, ps.

Problems

Attempt to load network entity … failed to load external entity

This is caused by the absence of correctly configured XML Catalogs on your system. When XML Catalogs are available, URLs are transformed into local file references. In particular, Debian does not provide XML Catalogs. For more information about XML Catalogs see the xsltproc documentation.

Comments are closed.