forrest-dev mailing list archives

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

the http://issues.apache.org/bugzilla/show_bug.cgi?id=42350 is caused by
the faq-to-document.xsl:
...
<body>
        <section>
          <title>Questions</title>
          <xsl:apply-templates select="faq|part"/>
        </section>
      </body>
...

This causes only one level 1 section:
<tocitems>
<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?

salu2
-- 
Thorsten Scherler                                 thorsten.at.apache.org
Open Source Java                      consulting, training and solutions


Mime
View raw message