This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: some parameters ignored in chunk.xsl
- From: Bob Stayton <bobs at caldera dot com>
- To: Camille Bégnis <camille at mandrakesoft dot com>,apps docbook <docbook-apps at lists dot oasis-open dot org>
- Date: Tue, 07 May 2002 01:45:02 -0700
- Subject: Re: DOCBOOK-APPS: some parameters ignored in chunk.xsl
- References: <3CD669FC.8040906@mandrakesoft.com>
On Mon, May 06, 2002 at 01:33:16PM +0200, Camille Bignis wrote:
> Hello,
>
> With XSL 1.50.0, xsltproc, and the following customization:
>
> 1) only index.html goes into html/ The rest is written in current directory
I think this is a bug in the "make-relative-filename"
template in chunker.xsl. xsltproc uses <exsl:document>
and there is a comment there from Norm that says:
<!-- EXSL document does make the chunks relative, I think -->
But xsltproc doesn't, so the template should still add $base.dir.
It works if I change:
<xsl:value-of select="$base.name"/>
to:
<xsl:value-of select="concat($base.dir,$base.name)"/>
I'd change it in CVS except I don't know what exsl:document
should be doing and whether xsltproc conforms to it.
> 2) "chunk.quietly" is ignored
> Is something missing?
No, my fault. I forgot to commit to CVS a change to chunk.xsl
after testing it. I've checked it in now to
the html stylesheet. It will get built into the
xhtml set on the next release.
> Also, I'm wondering what the "using.chunker" parameter is for??
Good question. It seems to do very little for such
an important sounding name. I wonder why the
chunk.xsl stylesheet doesn't just set it by default?
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
Caldera International, Inc. fax: (831) 429-1887
email: bobs@caldera.com