]> granicus.if.org Git - docbook-dsssl/commitdiff
baseuri attribute in website.database.xml now adds
authorBob Stayton <bobs@sagehill.net>
Tue, 25 Nov 2003 23:45:03 +0000 (23:45 +0000)
committerBob Stayton <bobs@sagehill.net>
Tue, 25 Nov 2003 23:45:03 +0000 (23:45 +0000)
the $filename-prefix value.

website/xsl/website-common.xsl

index f690c1ab7d9bd76c46914be3d3bff28b87f8f407..d36db957a1d2ed276e1b4bf1baf8fdd7a626c391 100644 (file)
@@ -712,12 +712,14 @@ node.</para>
       <xsl:variable name="filename">
         <xsl:choose>
           <xsl:when test="@filename">
+            <xsl:value-of select="$filename-prefix"/>
             <xsl:value-of select="@filename"/>
           </xsl:when>
           <xsl:when test="/layout/config[@param='default-filename']">
+            <xsl:value-of select="$filename-prefix"/>
             <xsl:value-of select="(/layout/config[@param='default-filename'])[1]/@value"/>
           </xsl:when>
-          <xsl:otherwise>index.html</xsl:otherwise>
+          <xsl:otherwise><xsl:value-of select="$filename-prefix"/>index.html</xsl:otherwise>
         </xsl:choose>
       </xsl:variable>