Make a scratch directory:
mkdir mydir
cd mydir
Copy an example XML file, and the DTD from the source distribution, in
the scratch dir:
cp xmlmp-X.Y/examples/picocom.8.xml .
cp xmlmp-X.Y/dtds/xmlmp-1.1.dtd .
OPTIONALLY validate the XML file (to see that it is really ok):
xmlproc_val picocom.8.xml
Convert it to a man-page, a postscipt document, and an HTML
document:
xmlmp2man < picocom.8.xml > picocom.8
groff -Tps -mandoc picocom.8 > picocom.8.ps
xmlmp2html < picocom.8.html > picocom.8.html
ATTENTION: The example XML documents in the xmlmp
distribution search for the xmlmp 1.1 DTD online. If you want to
use a local copy instead (and you probably should), then edit the
SYSTEM identifier in the first line of the respective XML
document. The SYSTEM identifier can be any url, or any valid relative
or absolute local path. If the DTD is in the same directory as the XML
document it can simply be: "xmlmp-1.1.dtd"
Nick Patavalis <npat [at] efault [dot] net>
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA