On Wed, 05 Aug 2009 21:50:55 +0200, Jakub Wilk wrote: > * Laurent Guignard <lguignard.debian@gmail.com>, 2009-08-05, 20:48: >>> > 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. > > I believe you are wrong: > > $ xsltproc | grep -- --html > --html: the input document is(are) an HTML file(s) > I found a limit : all HTML tags (a, body,...) have to be lower character in the XSL sheet. Otherwise, yes i was wrong but i don't use it every day ;) Before saying something i have to verify. That is a lesson ;) Best regards. -- Laurent Guignard, Registered as user #301590 with the Linux Counter Site : http://www.famille-guignard.org Blog : http://blog.famille-guignard.org Projet : http://sicontact.sourceforge.net GULL de Villefranche sur Saône : http://www.cagull.org
Attachment:
signature.asc
Description: Digital signature