From: Norman Walsh Date: Tue, 17 Sep 2002 00:49:59 +0000 (+0000) Subject: Use html.ext parameter instead of .html for filename extensions X-Git-Tag: release/1.79.1~6^2~5254 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5dfba0d7985801f0f786acef1a061c8518d44d20;p=docbook-dsssl Use html.ext parameter instead of .html for filename extensions --- diff --git a/slides/xsl/default.xsl b/slides/xsl/default.xsl index 0f94a95c9..4486865c6 100644 --- a/slides/xsl/default.xsl +++ b/slides/xsl/default.xsl @@ -158,7 +158,7 @@ - Next diff --git a/slides/xsl/frames.xsl b/slides/xsl/frames.xsl index efe01fb56..687fc8fae 100644 --- a/slides/xsl/frames.xsl +++ b/slides/xsl/frames.xsl @@ -4,7 +4,7 @@ - + @@ -32,19 +32,19 @@ - + <xsl:value-of select="$title"/> - + <body class="frameset"> <xsl:call-template name="body.attributes"/> - <a href="titleframe.html"> + <a href="{concat('titleframe', $html.ext)}"> <xsl:text>Your browser doesn't support frames.</xsl:text> </a> </body> @@ -56,7 +56,7 @@ <xsl:call-template name="write.chunk"> <xsl:with-param name="indent" select="$output.indent"/> - <xsl:with-param name="filename" select="concat($base.dir,'toc.html')"/> + <xsl:with-param name="filename" select="concat($base.dir,'toc',$html.ext)"/> <xsl:with-param name="content"> <html> <head> @@ -492,7 +492,7 @@ function init() { </span> </td> <td align="right" width="20%" valign="top"> - <a href="foil01.html"> + <a href="{concat('foil01', $html.ext)}"> <img alt="{$text.next}" border="0"> <xsl:attribute name="src"> <xsl:call-template name="next.image"/> @@ -726,7 +726,7 @@ function init() { <xsl:variable name="thisfoilgroup"> <xsl:text>foilgrp</xsl:text> <xsl:number count="foilgroup" level="any" format="01"/> - <xsl:text>.html</xsl:text> + <xsl:value-of select="$html.ext"/> </xsl:variable> <frameset rows="{$multiframe.navigation.height},*,{$multiframe.navigation.height}" @@ -751,7 +751,7 @@ function init() { <xsl:variable name="foilgroup"> <xsl:text>foilgrp</xsl:text> <xsl:number count="foilgroup" level="any" format="01"/> - <xsl:text>.html</xsl:text> + <xsl:value-of select="$html.ext"/> </xsl:variable> <xsl:variable name="home" select="/slides"/> @@ -816,7 +816,7 @@ function init() { <xsl:variable name="thisfoilgroup"> <xsl:text>foilgrp</xsl:text> <xsl:number count="foilgroup" level="any" format="01"/> - <xsl:text>.html</xsl:text> + <xsl:value-of select="$html.ext"/> </xsl:variable> <xsl:call-template name="write.chunk"> @@ -865,7 +865,7 @@ function init() { <xsl:variable name="thisfoilgroup"> <xsl:text>foilgrp</xsl:text> <xsl:number count="foilgroup" level="any" format="01"/> - <xsl:text>.html</xsl:text> + <xsl:value-of select="$html.ext"/> </xsl:variable> <xsl:variable name="home" select="/slides"/> @@ -1385,7 +1385,7 @@ function init() { <xsl:variable name="thisfoilgroup"> <xsl:text>foilgrp</xsl:text> <xsl:number count="foilgroup" level="any" format="01"/> - <xsl:text>.html</xsl:text> + <xsl:value-of select="$html.ext"/> </xsl:variable> <DIV class="toc-foilgroup" id="{$id}"> diff --git a/slides/xsl/param.xweb b/slides/xsl/param.xweb index 570037f63..74279e753 100644 --- a/slides/xsl/param.xweb +++ b/slides/xsl/param.xweb @@ -117,7 +117,7 @@ can be set in the source document with the &lt;?dbhtml?&gt; pseudo-attribute <refsynopsisdiv> <src:fragment id='titlefoil.html.frag'> -<xsl:param name="titlefoil.html" select="'index.html'"/> +<xsl:param name="titlefoil.html" select="concat('index', $html.ext)"/> </src:fragment> </refsynopsisdiv> @@ -140,7 +140,7 @@ can be set in the source document with the &lt;?dbhtml?&gt; pseudo-attribute <refsynopsisdiv> <src:fragment id='toc.html.frag'> -<xsl:param name="toc.html" select="'toc.html'"/> +<xsl:param name="toc.html" select="concat('toc', $html.ext)"/> </src:fragment> </refsynopsisdiv> diff --git a/slides/xsl/plain.xsl b/slides/xsl/plain.xsl index 82cfed293..d3816e502 100644 --- a/slides/xsl/plain.xsl +++ b/slides/xsl/plain.xsl @@ -321,7 +321,7 @@ <xsl:param name="home" select="/slides"/> <xsl:param name="up"/> <xsl:param name="prev"/> - <xsl:param name="next" select="(foil|foilset)[1]"/> + <xsl:param name="next" select="(foil|foilgroup)[1]"/> <xsl:param name="toc"/> <div class="navhead"> diff --git a/slides/xsl/vslides.xsl b/slides/xsl/vslides.xsl index 5c2b3e06b..c88a218ab 100644 --- a/slides/xsl/vslides.xsl +++ b/slides/xsl/vslides.xsl @@ -18,7 +18,7 @@ <xsl:param name="but-xrewind.png" select="'inactive/but-rewind.png'"/> <!-- overrides for this stylesheet --> -<xsl:param name="titlefoil.html" select="'index.html'"/> +<xsl:param name="titlefoil.html" select="concat('index', $html.ext)"/> <xsl:param name="toc.width" select="20"/> <!-- ============================================================ -->