Re: <qandaset> list of questions not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 20:17 06/05/2004, Karsten Wade wrote:

Anyway ... I resolved it this way.

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=122665 includes a
simple two line patch to fedora-docs/xsl/main-html.xsl:

--- main-html.xsl       1 Oct 2003 19:02:56 -0000       1.2
+++ main-html.xsl       6 May 2004 18:52:51 -0000
@@ -24,6 +24,8 @@
 book toc
 article toc
 chapter nop
+qandadiv toc
+qandaset toc
 sect1 nop
 sect2 nop
 sect3 nop

Then I added this one line to my XML:

    <qandaset defaultlabel="qanda" id="selinux-faq-list">
+     <?dbhtml toc="1"?>
      <qandaentry>

This generated the TOC.  It could be prettier, but it works for me for
now.

I've seen the pi's being used, but have you tried

<toc/>
    <qandaset defaultlabel="qanda" id="selinux-faq-list">
+     <?dbhtml toc="1"?>
      <qandaentry>


instead? That normally causes the toc insertion.
Its not valid (the toc element) where you have the pi, must it be there?

regards DaveP




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Red Hat 9]     [Yosemite News]     [KDE Users]

  Powered by Linux