forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <>
Subject faq-to-document.xsl
Date Wed, 22 Aug 2007 13:15:04 GMT
Hi all,

the is caused by
the faq-to-document.xsl:
          <xsl:apply-templates select="faq|part"/>

This causes only one level 1 section:
<tocitem level="1" href="#Questions" title="Questions">
<tocitem level="2" href="#getting_started" title="1. Getting Started and Building Lenya">

But if one configures the skinconf toc @min-sections to 2 then it results in the above bug.

I would like to patch it the following way:
-        <section>
-          <title>Questions</title>
-          <xsl:apply-templates select="faq|part"/>
-        </section>
+        <xsl:apply-templates select="faq|part"/>

Did I miss something or can I go ahead and change the code?

Thorsten Scherler                       
Open Source Java                      consulting, training and solutions

View raw message