BSD Ports

textproc/xmlto 0.0.28_3 DragonFly

Front-end to an XSL toolchain

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
GPLv2
Categories
textproc
Package size
44.0 KiB, 183.0 KiB installed

Description

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.

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

Currently the only XSL-T processor supported is xsltproc (textproc/libxslt). For DVI, PDF and PostScript output, PassiveTeX (print/passivetex) is required.

In the other systems

SystemPortVersion
DragonFlytextproc/xmlto0.0.28_3
FreeBSDtextproc/xmlto0.0.28_3
OpenBSDtextproc/xmlto0.0.29p0
NetBSDtextproc/xmlto0.0.29nb3
MidnightBSDtextproc/xmlto0.0.28_1

Install

Binary package:

pkg install xmlto

From DPorts:

cd /usr/dports/textproc/xmlto && make install clean

Dependencies

Run dependencies 8

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

For benefits of conversions away from XHTML1 through XSL-FO,
a stylesheet xhtml2fo.xsl has been installed
into /usr/local/share/xmlto. Example use:

  xmlto pdf -x /usr/local/share/xmlto/xhtml2fo.xsl myXHTML1file.xml

More style sheets for XHTML1 conversions can be found at
<http://www.antennahouse.com/XSLsample/XSLsample.htm>
under "Stylesheet for XHTML to XSL-FO transformation"