../params/htmlhelp.hhp.tail.xml \
../params/htmlhelp.hhp.window.xml \
../params/htmlhelp.map.file.xml \
+ ../params/htmlhelp.only.xml \
../params/htmlhelp.title.xml \
../params/htmlhelp.show.menu.xml \
../params/htmlhelp.show.advanced.search.xml \
<!ENTITY htmlhelp.hhp.tail SYSTEM "../params/htmlhelp.hhp.tail.xml">
<!ENTITY htmlhelp.hhp.window SYSTEM "../params/htmlhelp.hhp.window.xml">
<!ENTITY htmlhelp.map.file SYSTEM "../params/htmlhelp.map.file.xml">
+<!ENTITY htmlhelp.only SYSTEM "../params/htmlhelp.only.xml">
<!ENTITY htmlhelp.title SYSTEM "../params/htmlhelp.title.xml">
<!ENTITY htmlhelp.show.menu SYSTEM "../params/htmlhelp.show.menu.xml">
<!ENTITY htmlhelp.show.advanced.search SYSTEM "../params/htmlhelp.show.advanced.search.xml">
&htmlhelp.button.next;
&htmlhelp.button.prev;
&htmlhelp.button.zoom;
+&htmlhelp.only;
</reference>
<appendix><title>The Stylesheet</title>
<src:fragref linkend="htmlhelp.button.next.frag"/>
<src:fragref linkend="htmlhelp.button.prev.frag"/>
<src:fragref linkend="htmlhelp.button.zoom.frag"/>
+<src:fragref linkend="htmlhelp.only.frag"/>
<src:fragref linkend="inherit.keywords.frag"/>
<src:fragref linkend="label.from.part.frag"/>
<src:fragref linkend="linenumbering.everyNth.frag"/>
<!-- ==================================================================== -->
<xsl:template match="/">
- <xsl:choose>
- <xsl:when test="$rootid != ''">
- <xsl:choose>
- <xsl:when test="count(key('id',$rootid)) = 0">
- <xsl:message terminate="yes">
- <xsl:text>ID '</xsl:text>
- <xsl:value-of select="$rootid"/>
- <xsl:text>' not found in document.</xsl:text>
- </xsl:message>
- </xsl:when>
- <xsl:otherwise>
- <xsl:message>Formatting from <xsl:value-of select="$rootid"/></xsl:message>
- <xsl:apply-templates select="key('id',$rootid)" mode="process.root"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates select="/" mode="process.root"/>
- </xsl:otherwise>
- </xsl:choose>
+ <xsl:if test="$htmlhelp.only != 1">
+ <xsl:choose>
+ <xsl:when test="$rootid != ''">
+ <xsl:choose>
+ <xsl:when test="count(key('id',$rootid)) = 0">
+ <xsl:message terminate="yes">
+ <xsl:text>ID '</xsl:text>
+ <xsl:value-of select="$rootid"/>
+ <xsl:text>' not found in document.</xsl:text>
+ </xsl:message>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:message>Formatting from <xsl:value-of select="$rootid"/></xsl:message>
+ <xsl:apply-templates select="key('id',$rootid)" mode="process.root"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="/" mode="process.root"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:if>
<xsl:call-template name="hhp"/>
<xsl:call-template name="hhc"/>
<xsl:if test="$htmlhelp.hhp.window != ''">
<xsl:text>
+
[WINDOWS]
</xsl:text>
<xsl:value-of select="$htmlhelp.hhp.window"/>