xmltoman and xmlmantohtml are two small scripts to convert XML to man pages in GROFF or HTML formats. It features the usual man page items such a "description", "options", "see also" etc.
Installation
make
make install
By default, the scripts will be installed to /usr/local. Override this with setting PREFIX, eg.:
make PREFIX=/usr
make install PREFIX=/usr
An alternative to use xmlmantohtml is to pass the XML source through an XSLT interpreter such das "xsltproc" (available as Debian package under this name). A XSL template for HTML may be found in /usr/share/xmltoma /xmltoman.xsl.
If this proves to be a useful alternative, xmlmantohtml will be deprecated.
What's New in This Release:
· Generated HTML entities to &".
· Show error message when no file is passed.
Product's homepage