| 1 |
xmltoman and xmlmantohtml are two very simple scripts for converting xml |
| 2 |
to groff or html. |
| 3 |
|
| 4 |
To test the examples: |
| 5 |
xmltoman xml/masqmail.8.xml > masqmail.8 |
| 6 |
Look at the result with |
| 7 |
man -l masqmail.8 |
| 8 |
|
| 9 |
installation: |
| 10 |
make |
| 11 |
make install |
| 12 |
|
| 13 |
By default, the scripts will be installed to /usr/local. Override |
| 14 |
this with setting PREFIX, eg.: |
| 15 |
|
| 16 |
make PREFIX=/usr |
| 17 |
make install PREFIX=/usr |
| 18 |
|
| 19 |
An alternative to use xmlmantohtml is to pass the XML source through |
| 20 |
an XSLT interpreter such das "xsltproc" (available as Debian package |
| 21 |
under this name). A XSL template for HTML may be found in |
| 22 |
/usr/share/xmltoman/xmltoman.xsl. |
| 23 |
|
| 24 |
If this proves to be a usefule alternative, xmlmantohtml will |
| 25 |
be dprecated. |
| 26 |
|
| 27 |
Many thanks to Lennart Poettering, who provided the stylesheets |
| 28 |
and the dtd. |
| 29 |
|
| 30 |
Oliver Kurth <[email protected]> |
| 31 |
Tue, 08 Oct 2002 22:32:46 +0200 |
| 32 |
and |
| 33 |
Fri, 03 Oct 2003 14:55:42 +0200 |