source: stylesheets/lfs-xsl/docbook-xsl-snapshot/VERSION@ bbe9b3da

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since bbe9b3da was bbe9b3da, checked in by Manuel Canales Esparcia <manuel@…>, 17 years ago

Merged r8226 from new-xsl branch.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6943 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 3.5 KB
Line 
1<?xml version='1.0'?> <!-- -*- nxml -*- vim: set foldlevel=2: -->
2<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3 xmlns:fm="http://freshmeat.net/projects/freshmeat-submit/"
4 xmlns:sf="http://sourceforge.net/"
5 exclude-result-prefixes="fm sf"
6 version='1.0'>
7
8<xsl:param name="VERSION" select="string(document('')//fm:Version[1])"/>
9<xsl:param name="DistroTitle" select="string(document('')//fm:Branch[1])"/>
10<xsl:param name="DistroName">docbook-xsl</xsl:param>
11<xsl:param name="PreviousRelease">1.72.0</xsl:param>
12<xsl:param name="PreviousReleaseRevision">6553</xsl:param>
13<xsl:param name="Revision">$Revision$</xsl:param>
14<xsl:param name="VersionFileURL">$URL: https://docbook.svn.sourceforge.net/svnroot/docbook/trunk/xsl/VERSION $</xsl:param>
15<xsl:param name="sf-relid" select="0"/>
16<xsl:strip-space elements="fm:*"/>
17
18<fm:project>
19 <fm:Project>DocBook</fm:Project>
20 <fm:Branch>XSL Stylesheets</fm:Branch>
21 <fm:Version>snapshot_7094</fm:Version>
22<!--
23 <fm:License>MIT/X Consortium License</fm:License>
24-->
25 <fm:Release-Focus>
26<!-- * Initial freshmeat announcement -->
27<!-- * Documentation -->
28<!-- * Code cleanup -->
29<!-- * Minor feature enhancements -->
30Major feature enhancements
31<!-- * Minor bugfixes -->
32<!-- * Major bugfixes -->
33<!-- * Minor security fixes -->
34<!-- * Major security fixes -->
35 </fm:Release-Focus>
36 <fm:Home-Page-URL>http://sourceforge.net/projects/docbook/</fm:Home-Page-URL>
37 <fm:Gzipped-Tar-URL>http://prdownloads.sourceforge.net/docbook/{DISTRONAME-VERSION}.tar.gz?download</fm:Gzipped-Tar-URL>
38 <fm:Zipped-Tar-URL>http://prdownloads.sourceforge.net/docbook/{DISTRONAME-VERSION}.zip?download</fm:Zipped-Tar-URL>
39 <fm:Bzipped-Tar-URL>http://prdownloads.sourceforge.net/docbook/{DISTRONAME-VERSION}.bz2?download</fm:Bzipped-Tar-URL>
40 <fm:Changelog-URL>http://sourceforge.net/project/shownotes.php?release_id={SFRELID}</fm:Changelog-URL>
41 <fm:CVS-URL>http://docbook.svn.sourceforge.net/viewvc/docbook/</fm:CVS-URL>
42 <fm:Mailing-List-URL>http://lists.oasis-open.org/archives/docbook-apps/</fm:Mailing-List-URL>
43 <fm:Changes>This is a bug-fix release with a few feature enhancements.
44</fm:Changes>
45</fm:project>
46
47<xsl:template match="/" priority="-100">
48 <xsl:if test="$sf-relid = 0">
49 <xsl:message terminate="yes">
50 <xsl:text>You must specify the sf-relid as a parameter.</xsl:text>
51 </xsl:message>
52 </xsl:if>
53
54 <xsl:apply-templates select="//fm:project"/>
55</xsl:template>
56
57<xsl:template match="fm:project">
58 <xsl:text>&#10;</xsl:text>
59 <xsl:apply-templates/>
60 <xsl:text>&#10;</xsl:text>
61 <xsl:apply-templates select="fm:Changes" mode="text"/>
62</xsl:template>
63
64<xsl:template match="fm:Changes"/>
65
66<xsl:template match="fm:Gzipped-Tar-URL|fm:Zipped-Tar-URL|fm:Bzipped-Tar-URL">
67 <xsl:value-of select="local-name(.)"/>
68 <xsl:text>: </xsl:text>
69 <xsl:value-of select="substring-before(., '{DISTRONAME-VERSION}')"/>
70 <xsl:value-of select="concat($DistroName, '-', $VERSION)"/>
71 <xsl:value-of select="substring-after(., '{DISTRONAME-VERSION}')"/>
72 <xsl:text>&#10;</xsl:text>
73</xsl:template>
74
75<xsl:template match="fm:Changelog-URL">
76 <xsl:value-of select="local-name(.)"/>
77 <xsl:text>: </xsl:text>
78 <xsl:value-of select="substring-before(., '{SFRELID}')"/>
79 <xsl:value-of select="$sf-relid"/>
80 <xsl:value-of select="substring-after(., '{SFRELID}')"/>
81 <xsl:text>&#10;</xsl:text>
82</xsl:template>
83
84<xsl:template match="fm:*">
85 <xsl:value-of select="local-name(.)"/>
86 <xsl:text>: </xsl:text>
87 <xsl:value-of select="normalize-space(.)"/>
88 <xsl:text>&#10;</xsl:text>
89</xsl:template>
90
91</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.