This is a first, working version of an XSLT script that will turn any ol' properly formatted XHTML file into a troff file compatible with the 'man' utility, thus allowing you to easily produce man pages for things you already documented in XHTML - if you wrote proper, semantic XHTML.
The package also includes a simple shell script wrapper using tidy, xsltproc and - optionally - curl for added ease of use. See the included man page(!) for more details.