</xsl:if>
<xsl:if test="book">
<xsl:text><UL></xsl:text>
+ <xsl:if test="$generate.set.toc != 0 and $htmlhelp.hhc.show.root = 0">
+ <xsl:text><LI> <OBJECT type="text/sitemap">
+ <param name="Name" value="</xsl:text>
+ <xsl:call-template name="gentext">
+ <xsl:with-param name="key" select="'TableofContents'"/>
+ </xsl:call-template>
+ <xsl:text>">
+ <param name="Local" value="</xsl:text>
+ <xsl:call-template name="href.target.with.base.dir"/>
+ <xsl:text>">
+ </OBJECT></xsl:text>
+ </xsl:if>
<xsl:apply-templates select="book" mode="hhc"/>
<xsl:text></UL></xsl:text>
</xsl:if>
</xsl:if>
<xsl:if test="part|reference|preface|chapter|appendix|bibliography|article|colophon">
<xsl:text><UL></xsl:text>
+ <xsl:if test="$generate.book.toc != 0 and $htmlhelp.hhc.show.root = 0 and not(parent::*)">
+ <xsl:text><LI> <OBJECT type="text/sitemap">
+ <param name="Name" value="</xsl:text>
+ <xsl:call-template name="gentext">
+ <xsl:with-param name="key" select="'TableofContents'"/>
+ </xsl:call-template>
+ <xsl:text>">
+ <param name="Local" value="</xsl:text>
+ <xsl:call-template name="href.target.with.base.dir"/>
+ <xsl:text>">
+ </OBJECT></xsl:text>
+ </xsl:if>
<xsl:apply-templates select="part|reference|preface|chapter|bibliography|appendix|article|colophon"
mode="hhc"/>
<xsl:text></UL></xsl:text>