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

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 6.4 6.5 6.6 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since e747759 was 60a5a938, checked in by Manuel Canales Esparcia <manuel@…>, 17 years ago

Merged r8226 from new-xsl branch.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8228 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • 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.