This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: what is a qandaset supposed to generate?
- From: Bob Stayton <bobs at sco dot com>
- To: DocBookApps <docbook-apps at lists dot oasis-open dot org>
- Cc: "Robert P. J. Day" <rpjday at mindspring dot com>,docbook mailing list <docbook at lists dot oasis-open dot org>
- Date: Thu, 27 Feb 2003 09:25:54 -0800
- Subject: Re: DOCBOOK: what is a qandaset supposed to generate?
- References: <Pine.LNX.4.44.0302261223090.26692-100000@dell><20030227092247.GA19519@nic.fr>
On Thu, Feb 27, 2003 at 10:22:47AM +0100, Stephane Bortzmeyer wrote:
> On Wed, Feb 26, 2003 at 12:26:04PM -0500,
> Robert P. J. Day <rpjday at mindspring dot com> wrote
> a message of 13 lines which said:
>
> > for the first time, i'm incorporating a <qandaset> into a document,
> > and when generating the chunked HTML, what i'm getting doesn't match
> > what is in the latest TDG online documentation.
>
> It makes sense: this list is about the Docbook
> <emphasis>markup</emphasis>, not about the special effects you get
> when transforming it into various formats. Your question should be on
> the docbook-apps mailing list.
>
> > what i get is, first, the list of questions (which are links),
> > followed by the question and answer pairs. but this is *not*
> > what the online docs say should be produced, which is just the
> > Q/A pairs.
>
> Adding:
>
> <xsl:template match="qandaentry" mode="qandatoc.mode">
> <!-- I do not want the TOC -->
> </xsl:template>
>
> in your stylesheet driver <untested>should</untested> be sufficient.
While this would probably work, the qanda TOCs
can also be controlled with the 'generate.toc'
stylesheet parameter. See:
http://docbook.sourceforge.net/release/xsl/current/doc/html/generate.toc.html
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
The SCO Group fax: (831) 429-1887
email: bobs at sco dot com