Red Hat Bugzilla – Bug 122665
patch to make <qandaset> generate a table of contents (TOC)
Last modified: 2009-07-07 00:08:11 EDT
Description of problem:
I've been trying to get TOC support to work for a <qandaset>, and I
finally figured it out.
In addition to the two line patch to main-html.xsl (below), I had to
include this line in the XML:
<qandaset defaultlabel="qanda" id="selinux-faq-list">
+ <?dbhtml toc="1"?>
Here is what the patch entails; I will file an attachment following
+ qandadiv toc
+ qandaset toc
Version-Release number of selected component (if applicable):
Created attachment 100053 [details]
adds TOC support for <qandaset> and <qandadiv>
Thanks Karsten. The patch has been applied to CVS (CVS version 1.3 for
the file main-html.xsl).
Ticket moved to allow products to be removed from BZ.