OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Adding a Book level TOC to an appendix


I've been really looking around and I cant seem to figure out how to publish a higher level of table of contents into a lower toc-context.

The goal is to move the Book level Table of Figures, or Book level Table of Tables or Book Level Table of Examples into an Appendix.

Modifing the basic params will NOT do this..
example.. It generates a toc of existing items in the Appendix itself..

<xsl:param name="generate.toc" select="'appendix toc'">

Somewhere I need to modify a xsl template

I was looking at the html\component.xsl

<xsl:template match="appendix">
   <!-- Test Mod here -->

    <xsl:if test="contains($toc.params, 'figure') and .//figure">
         <xsl:call-template name="list.of.titles">
          <xsl:with-param name="titles" select="'figure'"/>
          <xsl:with-param name="nodes" select=".//figure"/>
         </xsl:call-template>
    </xsl:if>


I think the toc-context variable may be adjust the tree level but I am still new at xsl processing.

Can you call something like parent::book ?

<xsl:param name="toc-context" select="."/>

Please Help..


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]