source: clfs-embedded/BOOK/stylesheets/lfs-xsl/docbook-xsl-snapshot/VERSION@ c2f4c89

Last change on this file since c2f4c89 was 9882b55, checked in by Manuel Canales Esparcia <manuel@…>, 17 years ago

Added the new lfs-xsl stylesheets.

  • Property mode set to 100644
File size: 3.5 KB
RevLine 
[9882b55]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://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_6933</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.