cvs: php-gtk /docs/stylesheets/xsl/html chunk-common.xsl
| From: | James Moore | Date: | Sun, 18 Mar 2001 15:40:51 +0000 |
| Subject: | cvs: php-gtk /docs/stylesheets/xsl/html chunk-common.xsl | ||
| Groups: | php.gtk | ||
| Request: | Send a blank email to php-gtk+get-980@lists.php.net to get a copy of this message | ||
jmoore Sun Mar 18 07:40:51 2001 EDT
Modified files:
/php-gtk/docs/stylesheets/xsl/html chunk-common.xsl
Log:
Make it all build again
Index: php-gtk/docs/stylesheets/xsl/html/chunk-common.xsl
diff -u php-gtk/docs/stylesheets/xsl/html/chunk-common.xsl:1.1
php-gtk/docs/stylesheets/xsl/html/chunk-common.xsl:1.2
--- php-gtk/docs/stylesheets/xsl/html/chunk-common.xsl:1.1 Sun Mar 18 06:59:56 2001
+++ php-gtk/docs/stylesheets/xsl/html/chunk-common.xsl Sun Mar 18 07:40:51 2001
@@ -11,9 +11,6 @@
encoding="ISO-8859-1"
indent="no"/>
-<xsl:param name="html.ext" select="'.html'"/>
-<xsl:param name="root.filename" select="'index'"/>
-<xsl:param name="base.dir" select="''"/>
<doc:param name="base.dir" xmlns="">
<refpurpose>Output directory for chunks</refpurpose>
<refdescription>
@@ -129,6 +126,18 @@
<xsl:value-of select="@id"/>
<xsl:value-of select="$html.ext"/>
</xsl:when>
+
+ <xsl:when test="not($recursive) and name(.) = 'book'">
+ <xsl:choose>
+ <xsl:when test="$root.filename">
+ <xsl:value-of select="$root.filename" />
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>error</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:value-of select="$html.ext"/>
+ </xsl:when>
<xsl:otherwise>
<xsl:text>chunk-filename-error-</xsl:text>