docbook: Updated XSL Stylesheets
Subject:
Re: Updated XSL Stylesheets
From:
Bob Stayton ####@####.####
Date:
1 Jul 2003 21:01:17 -0000
Message-Id: <20030701141533.K13640@sco.com>
On Tue, Jul 01, 2003 at 04:04:13PM -0400, Emma Jane Hogbin wrote:
> On Mon, Jun 30, 2003 at 08:07:03PM -0500, David Horton wrote:
> > A while back I volunteered to try to fix the ldp-xsl stylesheets that
> > Dan York originally wrote. I have gotten them to work with Saxon and
> > docbook-xsl-1.61.3. They probably work with other parsers as well. If
> > anyone is interested in using them, the updated version can be found at:
> > http://my.core.com/~dhorton/docbook/tldp-xsl/tldp-xsl-30jun2003.tar.gz
>
> Maybe I don't undersatnd what they're supposed to output...but there are
> virtually no line breaks in the document that I get when I use the
> following:
> xsltproc
> -o tldp-testing.html
> /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/fo/tldp-html.xsl
> acpi.xml
>
> I find line breaks immensely useful when trying to grok plain text files.
> When I'm done I get the following printed to the screen:
> Making portrait pages on USletter paper (8.5inx11in)
>
> As far as I can tell this is *not* outputing HTML content which makes the
> name tldp-html.xsl very misleading to me.
>
> As far as testing it with saxon....I've not had any luck installing the
> debian packages, but I'm still trying.
You are correct, it is not outputting HTML.
I haven't used these stylesheets, but
the "Making portait pages ..." messages indicates
it is outputting XSL-FO. Perhaps changing
the "/fo/" in the path to "/html/" would fix it,
but I don't know why the filename itself includes
"html" if it is putting out FO.
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
The SCO Group fax: (831) 429-1887
email: ####@####.####