This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[docbook-apps] simplesect out of TOC


Hi,
I have a documents,
<book>
  <appendix>
    <title>GFDL</title>
    <simplesect>
      <title>PREAMBLE</title>
      <para>...</para>

When I transform that into HTML, it seems that everything in simplesect
is into TOC. I used following  

  <xsl:template match="simplesect" mode="toc">
    <xsl:param name="toc-context" select="."/>

    <xsl:call-template name="subtoc">
      <xsl:with-param name="toc-context" select="$toc-context"/>
    </xsl:call-template>
  </xsl:template>

to avoid it, but it has no effect on title in simplesect. So Is there a
better way to solve this problem?

Thanks,
-- 
Cai Qian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]