This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Re: chunking problem
- From: Giuseppe Greco <giuseppe dot greco at bluewin dot ch>
- To: Bob Stayton <bobs at caldera dot com>
- Cc: Con Validas <cvalidas at yahoo dot com dot au>,DocBook Apps <docbook-apps at lists dot oasis-open dot org>, vygen at gmx dot de,dgrace at us dot ibm dot com
- Date: Mon, 04 Nov 2002 18:26:03 +0100
- Subject: Re: DOCBOOK-APPS: Re: chunking problem
- References: <20021104085611.56082.qmail@web14410.mail.yahoo.com><1036416955.1034.21.camel@gonzo.agamura.com><20021104085638.A13894@caldera.com>
Thanks you all for your feedback!
Gius_.
On Mon, 2002-11-04 at 17:56, Bob Stayton wrote:
> 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
--
Giuseppe Greco
Strada Regina 40
6928 Manno (TI)
Switzerland
Mobile: +41 (0) 76 390 60 32
Email : giuseppe.greco@bluewin.ch