</OBJECT>
</xsl:text>
</xsl:if>
+ <xsl:if test="$htmlhelp.hhc.show.root != 0">
<xsl:text><UL>
</xsl:text>
+ </xsl:if>
<xsl:choose>
<xsl:when test="$rootid != ''">
</xsl:otherwise>
</xsl:choose>
+ <xsl:if test="$htmlhelp.hhc.show.root != 0">
<xsl:text></UL>
-</BODY>
+</xsl:text>
+ </xsl:if>
+ <xsl:text></BODY>
</HTML></xsl:text>
</xsl:template>
<xsl:apply-templates select="." mode="title.markup"/>
</xsl:variable>
- <xsl:text><LI> <OBJECT type="text/sitemap">
- <param name="Name" value="</xsl:text>
- <xsl:value-of select="normalize-space($title)"/>
- <xsl:text>">
- <param name="Local" value="</xsl:text>
- <xsl:call-template name="href.target.with.base.dir"/>
- <xsl:text>">
- </OBJECT></xsl:text>
+ <xsl:if test="$htmlhelp.hhc.show.root != 0">
+ <xsl:text><LI> <OBJECT type="text/sitemap">
+ <param name="Name" value="</xsl:text>
+ <xsl:value-of select="normalize-space($title)"/>
+ <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:if test="book">
<xsl:text><UL></xsl:text>
<xsl:apply-templates select="book" mode="hhc"/>
<xsl:apply-templates select="." mode="title.markup"/>
</xsl:variable>
- <xsl:text><LI> <OBJECT type="text/sitemap">
- <param name="Name" value="</xsl:text>
- <xsl:value-of select="normalize-space($title)"/>
- <xsl:text>">
- <param name="Local" value="</xsl:text>
- <xsl:call-template name="href.target.with.base.dir"/>
- <xsl:text>">
- </OBJECT></xsl:text>
+ <xsl:if test="$htmlhelp.hhc.show.root != 0 or parent::*">
+ <xsl:text><LI> <OBJECT type="text/sitemap">
+ <param name="Name" value="</xsl:text>
+ <xsl:value-of select="normalize-space($title)"/>
+ <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:if test="part|reference|preface|chapter|appendix|bibliography|article|colophon">
<xsl:text><UL></xsl:text>
<xsl:apply-templates select="part|reference|preface|chapter|bibliography|appendix|article|colophon"
<xsl:apply-templates select="." mode="title.markup"/>
</xsl:variable>
- <xsl:text><LI> <OBJECT type="text/sitemap">
- <param name="Name" value="</xsl:text>
- <xsl:value-of select="normalize-space($title)"/>
- <xsl:text>">
- <param name="Local" value="</xsl:text>
- <xsl:call-template name="href.target.with.base.dir"/>
- <xsl:text>">
- </OBJECT></xsl:text>
+ <xsl:if test="$htmlhelp.hhc.show.root != 0 or parent::*">
+ <xsl:text><LI> <OBJECT type="text/sitemap">
+ <param name="Name" value="</xsl:text>
+ <xsl:value-of select="normalize-space($title)"/>
+ <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:if test="reference|preface|chapter|appendix|refentry|section|sect1|bibliodiv">
<xsl:text><UL></xsl:text>
<xsl:apply-templates
<xsl:apply-templates select="." mode="title.markup"/>
</xsl:variable>
- <xsl:text><LI> <OBJECT type="text/sitemap">
- <param name="Name" value="</xsl:text>
- <xsl:value-of select="normalize-space($title)"/>
- <xsl:text>">
- <param name="Local" value="</xsl:text>
- <xsl:call-template name="href.target.with.base.dir"/>
- <xsl:text>">
- </OBJECT></xsl:text>
+ <xsl:if test="$htmlhelp.hhc.show.root != 0 or parent::*">
+ <xsl:text><LI> <OBJECT type="text/sitemap">
+ <param name="Name" value="</xsl:text>
+ <xsl:value-of select="normalize-space($title)"/>
+ <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:if test="section[count(ancestor::section) < $htmlhelp.hhc.section.depth]">
<xsl:text><UL></xsl:text>
<xsl:apply-templates select="section" mode="hhc"/>
<xsl:apply-templates select="." mode="title.markup"/>
</xsl:variable>
- <xsl:text><LI> <OBJECT type="text/sitemap">
- <param name="Name" value="</xsl:text>
- <xsl:value-of select="normalize-space($title)"/>
- <xsl:text>">
- <param name="Local" value="</xsl:text>
- <xsl:call-template name="href.target.with.base.dir"/>
- <xsl:text>">
- </OBJECT></xsl:text>
+ <xsl:if test="$htmlhelp.hhc.show.root != 0 or parent::*">
+ <xsl:text><LI> <OBJECT type="text/sitemap">
+ <param name="Name" value="</xsl:text>
+ <xsl:value-of select="normalize-space($title)"/>
+ <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:if test="sect2[$htmlhelp.hhc.section.depth > 1]">
<xsl:text><UL></xsl:text>
<xsl:apply-templates select="sect2"
<xsl:apply-templates select="." mode="title.markup"/>
</xsl:variable>
- <xsl:text><LI> <OBJECT type="text/sitemap">
- <param name="Name" value="</xsl:text>
- <xsl:value-of select="normalize-space($title)"/>
- <xsl:text>">
- <param name="Local" value="</xsl:text>
- <xsl:call-template name="href.target.with.base.dir"/>
- <xsl:text>">
- </OBJECT></xsl:text>
+ <xsl:if test="$htmlhelp.hhc.show.root != 0 or parent::*">
+ <xsl:text><LI> <OBJECT type="text/sitemap">
+ <param name="Name" value="</xsl:text>
+ <xsl:value-of select="normalize-space($title)"/>
+ <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:if test="sect3[$htmlhelp.hhc.section.depth > 2]">
<xsl:text><UL></xsl:text>
<xsl:apply-templates select="sect3"
<xsl:apply-templates select="." mode="title.markup"/>
</xsl:variable>
- <xsl:text><LI> <OBJECT type="text/sitemap">
- <param name="Name" value="</xsl:text>
- <xsl:value-of select="normalize-space($title)"/>
- <xsl:text>">
- <param name="Local" value="</xsl:text>
- <xsl:call-template name="href.target.with.base.dir"/>
- <xsl:text>">
- </OBJECT></xsl:text>
+ <xsl:if test="$htmlhelp.hhc.show.root != 0 or parent::*">
+ <xsl:text><LI> <OBJECT type="text/sitemap">
+ <param name="Name" value="</xsl:text>
+ <xsl:value-of select="normalize-space($title)"/>
+ <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:if test="sect4[$htmlhelp.hhc.section.depth > 3]">
<xsl:text><UL></xsl:text>
<xsl:apply-templates select="sect4"
<xsl:apply-templates select="." mode="title.markup"/>
</xsl:variable>
- <xsl:text><LI> <OBJECT type="text/sitemap">
- <param name="Name" value="</xsl:text>
- <xsl:value-of select="normalize-space($title)"/>
- <xsl:text>">
- <param name="Local" value="</xsl:text>
- <xsl:call-template name="href.target.with.base.dir"/>
- <xsl:text>">
- </OBJECT></xsl:text>
+ <xsl:if test="$htmlhelp.hhc.show.root != 0 or parent::*">
+ <xsl:text><LI> <OBJECT type="text/sitemap">
+ <param name="Name" value="</xsl:text>
+ <xsl:value-of select="normalize-space($title)"/>
+ <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:if test="sect5[$htmlhelp.hhc.section.depth > 4]">
<xsl:text><UL></xsl:text>
<xsl:apply-templates select="sect5"
<xsl:apply-templates select="." mode="title.markup"/>
</xsl:variable>
- <xsl:text><LI> <OBJECT type="text/sitemap">
- <param name="Name" value="</xsl:text>
- <xsl:value-of select="normalize-space($title)"/>
- <xsl:text>">
- <param name="Local" value="</xsl:text>
- <xsl:call-template name="href.target.with.base.dir"/>
- <xsl:text>">
- </OBJECT></xsl:text>
+ <xsl:if test="$htmlhelp.hhc.show.root != 0 or parent::*">
+ <xsl:text><LI> <OBJECT type="text/sitemap">
+ <param name="Name" value="</xsl:text>
+ <xsl:value-of select="normalize-space($title)"/>
+ <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:template>
<!-- ==================================================================== -->