This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: how to get xsltproc to generate "tidy" html?
- From: Jirka Kosek <jirka at kosek dot cz>
- To: "Robert P. J. Day" <rpjday at mindspring dot com>
- Cc: docbook apps list <docbook-apps at lists dot oasis-open dot org>
- Date: Tue, 12 Nov 2002 23:44:45 +0100
- Subject: Re: DOCBOOK-APPS: how to get xsltproc to generate "tidy" html?
- References: <Pine.LNX.4.44.0211121736330.30029-100000@dell>
"Robert P. J. Day" wrote:
>
> i'm sure numerous folks will tell me that this is a silly
> thing to do, but is there a parameter somewhere that will
> tell xsltproc to generate tidy html from docbook, so that
> it's at least remotely humanly readable, rather than one
> long line? just curious. having it a bit more readable
> makes it easier to debug glitches when one is forced to
> look at the page source. thanks.
If you are using chunk.xsl stylesheet, you can set parameter
chunker.output.indent to "yes". But note that this can mungle
programlistings and other literal environments in some XSLT processors.
Jirka
--
-----------------------------------------------------------------
Jirka Kosek
e-mail: jirka@kosek.cz
http://www.kosek.cz