diff --git a/modules/build-date.xml b/modules/build-date.xml index 7f89d70..c17075b 100644 --- a/modules/build-date.xml +++ b/modules/build-date.xml @@ -9,7 +9,7 @@ 3. A "private" function to generate the actual date string in the desired format. - These templates use the stylesheet global variable $date-built, which is set to the current date-time when the stylesheet is executed. They also use some of the global $cvs-xxx variables, which contain items extracted from the CVS ID of the document being processed. + These templates use the stylesheet global variable $date-built, which is set to the current date-time when the stylesheet is executed. They also use the global $document-name variable, which contains the name of the document currently being processed. --> <stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" @@ -40,7 +40,7 @@ </xsl:when> <xsl:when test="$style = 'footer'"> <address> - <xsl:value-of select="$cvs-file" /> + <xsl:value-of select="$document-name" /> <xsl:text>, last built </xsl:text> <xsl:value-of select="infosci:generate-build-date( $format )" /> </address> @@ -64,7 +64,7 @@ <xsl:call-template name="newline-internal" /> <xsl:call-template name="newline-internal" /> <xsl:text>{\scriptsize \hfill \verb+</xsl:text> - <xsl:value-of select="$cvs-file" /> + <xsl:value-of select="$document-name" /> <xsl:text>, last built </xsl:text> <xsl:value-of select="infosci:generate-build-date( $format )" /> <xsl:text>+}</xsl:text>