This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Re: xsl and toc deepness
- From: Gabor Hojtsy <gabor at hojtsy dot hu>
- To: Bob Stayton <bobs at caldera dot com>, Norman Walsh <ndw at nwalsh dot com>
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Wed, 17 Jul 2002 10:38:54 +0200
- Subject: Re: DOCBOOK-APPS: Re: xsl and toc deepness
- References: <029f01c21150$74f47970$7f37a3d5@home> <3D060EBC.29D1F8D3@kosek.cz><031801c21158$81770390$7f37a3d5@home> <87hejplz45.fsf@nwalsh.com><018901c22cd3$859ee5a0$b5c14d3e@mia> <20020716162059.F7875@caldera.com>
> I can at least clarify the meaning of the 'toc.section.depth'
> parameter. The 'section' means section or sect*, not
> any level in a toc. Setting it to '1' means you want
> to include sect1 elements, which is what is happening.
> I don't think you can do what you want with just
> stylesheet parameters.
>
> You'll probably need to customize some templates in
> autotoc.xsl in your customization layer so as to not
> apply-templates to child elements.
Well, if this is really what this means, then I am really said,
that the default behaviour of the XSLT sheets differ that much
from the DSSSL sheets. It's not too easy to migrate to an XSLT
system from DSSSL. I though as the creators are the same, they
at least try to be compatible, and provide the same default
behaviours :((( BTW thanks for the tip, I'll see what needs to
be customized in autotoc.xsl.
Goba