diff options
Diffstat (limited to 'stylesheets/lfs-xsl/docbook-xsl-snapshot/VERSION')
-rw-r--r-- | stylesheets/lfs-xsl/docbook-xsl-snapshot/VERSION | 50 |
1 files changed, 36 insertions, 14 deletions
diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/VERSION b/stylesheets/lfs-xsl/docbook-xsl-snapshot/VERSION index 146b24160..665ffa2fc 100644 --- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/VERSION +++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/VERSION @@ -2,23 +2,31 @@ <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fm="http://freshmeat.net/projects/freshmeat-submit/" xmlns:sf="http://sourceforge.net/" + xmlns:dyn="http://exslt.org/dynamic" + xmlns:saxon="http://icl.com/saxon" exclude-result-prefixes="fm sf" version='1.0'> +<xsl:output omit-xml-declaration="yes"/> + +<xsl:param name="get"/> <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.72.0</xsl:param> -<xsl:param name="PreviousReleaseRevision">6553</xsl:param> +<xsl:param name="PreviousReleaseRevision">6549</xsl:param> <xsl:param name="Revision">$Revision$</xsl:param> <xsl:param name="VersionFileURL">$URL: https://docbook.svn.sourceforge.net/svnroot/docbook/trunk/xsl/VERSION $</xsl:param> -<xsl:param name="sf-relid" select="0"/> + <xsl:strip-space elements="fm:*"/> <fm:project> <fm:Project>DocBook</fm:Project> <fm:Branch>XSL Stylesheets</fm:Branch> - <fm:Version>snapshot_7094</fm:Version> + <fm:Version>1.73.2</fm:Version> <!-- <fm:License>MIT/X Consortium License</fm:License> --> @@ -27,8 +35,8 @@ <!-- * Documentation --> <!-- * Code cleanup --> <!-- * Minor feature enhancements --> -Major feature enhancements -<!-- * Minor bugfixes --> +<!-- * Major feature enhancements --> +Minor bugfixes <!-- * Major bugfixes --> <!-- * Minor security fixes --> <!-- * Major security fixes --> @@ -40,22 +48,36 @@ Major feature enhancements <fm:Changelog-URL>http://sourceforge.net/project/shownotes.php?release_id={SFRELID}</fm:Changelog-URL> <fm:CVS-URL>http://docbook.svn.sourceforge.net/viewvc/docbook/</fm:CVS-URL> <fm:Mailing-List-URL>http://lists.oasis-open.org/archives/docbook-apps/</fm:Mailing-List-URL> - <fm:Changes>This is a bug-fix release with a few feature enhancements. + <fm:Changes>This is a bug-fix update to the 1.73.1 release. </fm:Changes> </fm:project> <xsl:template match="/" priority="-100"> - <xsl:if test="$sf-relid = 0"> - <xsl:message terminate="yes"> - <xsl:text>You must specify the sf-relid as a parameter.</xsl:text> - </xsl:message> - </xsl:if> - - <xsl:apply-templates select="//fm:project"/> + <xsl:choose> + <xsl:when test="$get = 'Tag'"> + <xsl:value-of select="$Tag"/> + </xsl:when> + <xsl:when test="$get = 'PreviousRelease'"> + <xsl:value-of select="$PreviousRelease"/> + </xsl:when> + <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"> + <xsl:text>You must specify the sf-relid as a parameter.</xsl:text> + </xsl:message> + </xsl:if> + <xsl:apply-templates select="//fm:project"/> + </xsl:otherwise> + </xsl:choose> </xsl:template> <xsl:template match="fm:project"> - <xsl:text> </xsl:text> <xsl:apply-templates/> <xsl:text> </xsl:text> <xsl:apply-templates select="fm:Changes" mode="text"/> |