Re: Convert HTML Table into man pages
Am Mittwoch, den 05.08.2009, 20:48 +0200 schrieb Laurent Guignard:
> On Fri, 31 Jul 2009 18:41:28 +0200, Daniel Leidert wrote:
> > Mathieu Malaterre wrote:
> >
> > > I need to generate a man page for KWStyle the only available
> > > documentation is in HTML:
> > >
> > > http://public.kitware.com/KWStyle/documentation.htm
> > >
> > > Is there a way to turn this HTML table into something 'nice' as a man
> > > page ?
> >
> > Of course. xsltproc can process XML as well as HTML. Write an
> > XSLT stylesheet, which processes the HTML page and outputs
> > a text document (your manual page).
> >
> > Should be pretty easy to do, if you have some XSLT knowledge.
> >
>
> This is true only if HTML is well-formed XHTML.
That's wrong. See xsltproc(1) -> --html.
Regards, Daniel
Reply to: