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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
