This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: XSL print StyleSheets
- To: steinbeck at ice dot mpg dot de
- Subject: Re: DOCBOOK-APPS: XSL print StyleSheets
- From: Bob Stayton <bobs at sco dot com>
- Date: Thu, 4 May 2000 13:14:30 PDT
- Cc: docbook-apps at lists dot oasis-open dot org, harry at inpharmatica dot co dot uk
> From sco.sco.com!ice.mpg.de!steinbeck Thu May 4 12:07:34 2000
>
> But another problem bugs me more: There must be simple switch to make xt
> + ../html/docbook.xsl produce multiple html files instead of dumping one
> large pile of text to stdout. I searched extensivly but did not find a
> solution. Only some cryptic explanation :-) on
> http://www.jclark.com/xml/xt.html.
> Shouldn't there just be one nice little commandline switch, or am I
> getting something completely wrong.
Keep in mind that Norm's XSL stylesheets are still in
development. He has an experimental version that
does "chunking", that is, writing to many smaller HTML
files. It uses a different stylesheet driver file. Instead
of specifying the html/docbook.xsl driver file as your
stylesheet, specify html/xtchunk.xsl as your stylesheet.
I think Norm is keeping this experimental feature separate
at this point because it makes use of the XSL extension
xt:document implemented only in Clark's XT (hence the name
xtchunk). Not everyone uses XT as their XSLT processor.
The chunking behavior (where it breaks into a new file) is
currently hardwired as described at the top of
xtchunk.xsl. Norm said he plans to make that more flexible
in the future using parameters, but for now you will have
to modify xtchunk.xsl to change it. Be prepared to learn a
lot of XSL if you want to do that.
bobs
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
The Santa Cruz Operation, Inc. fax: (831) 429-1887
email: bobs@sco.com