This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Re: chunking problem
- From: Bob Stayton <bobs at caldera dot com>
- To: Giuseppe Greco <giuseppe dot greco at bluewin dot ch>,Con Validas <cvalidas at yahoo dot com dot au>
- Cc: DocBook Apps <docbook-apps at lists dot oasis-open dot org>
- Date: Mon, 04 Nov 2002 08:56:38 -0800
- Subject: Re: DOCBOOK-APPS: Re: chunking problem
- References: <20021104085611.56082.qmail@web14410.mail.yahoo.com><1036416955.1034.21.camel@gonzo.agamura.com>
On Mon, Nov 04, 2002 at 02:35:55PM +0100, Giuseppe Greco wrote:
> Hi Con,
>
> I modified my stylesheet by adding
> <xsl:param name="use.id.as.filename" select="1"/>.
>
> This works for all the chunks except for the
> main one, for which I still get index.html.
>
> For me it is OK, but it would be interesting to
> know how to replace index.html with a name
> coming form the id attribute.
The root.filename parameter sets the default index filename.
This is the default:
<xsl:param name="root.filename" select="'index'"/>
However, if you set this parameter to empty, then
the chunk stylesheet will use the id instead.
--
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