]> granicus.if.org Git - docbook-dsssl/commitdiff
Added hook to return title of distribution.
authorMichael Smith <xmldoc@users.sourceforge.net>
Tue, 28 Aug 2007 09:13:34 +0000 (09:13 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Tue, 28 Aug 2007 09:13:34 +0000 (09:13 +0000)
xsl/VERSION

index 9840618fdf6b291475d2feb4a73a6e0d015f3b9b..840b13b49ca73e1f9fd972806aca11af8554f270 100644 (file)
 <xsl:param name="VERSION" select="string(document('')//fm:Version[1])"/>
 <xsl:param name="Tag" select="concat('V',translate(string(document('')//fm:Version[1]),'.',''))"/>
 <xsl:param name="DistroTitle" select="string(document('')//fm:Branch[1])"/>
+<xsl:param name="sf-relid" select="0"/>
+
 <xsl:param name="DistroName">docbook-xsl</xsl:param>
-<xsl:param name="PreviousRelease">1.73.1</xsl:param>
-<xsl:param name="PreviousReleaseRevision">7257</xsl:param>
+<xsl:param name="PreviousRelease">1.72.0</xsl:param>
+<xsl:param name="PreviousReleaseRevision">6553</xsl:param>
 <xsl:param name="Revision">$Revision$</xsl:param>
 <xsl:param name="VersionFileURL">$URL$</xsl:param>
-<xsl:param name="sf-relid" select="0"/>
+
 <xsl:strip-space elements="fm:*"/>
 
 <fm:project>
@@ -61,6 +63,9 @@ Major bugfixes
     <xsl:when test="$get = 'PreviousReleaseRevision'">
       <xsl:value-of select="$PreviousReleaseRevision"/>
     </xsl:when>
+    <xsl:when test="$get = 'DistroTitle'">
+      <xsl:value-of select="$DistroTitle"/>
+    </xsl:when>
     <xsl:otherwise>
       <xsl:if test="$sf-relid = 0">
         <xsl:message terminate="yes">