summaryrefslogtreecommitdiff
blob: de0c2e0f40d1998358f0a5c0865a6210ecf534b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?xml version='1.0' encoding="iso-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output encoding="iso-8859-1" method="xml" indent="yes"/>

<xsl:template match="/changelog">
	<mainpage id="changelog">
	<title>Gentoo Linux Development Changelog for <xsl:value-of select="entry/date"/></title>
	<author title="script">cvs-xml.xsl</author>

	<standout>
		<title>About the Development Changelog</title>
		<body>
			This page contains a daily Changelog, listing all modifications made to our
			CVS tree on <xsl:value-of select="entry/date"/> (yesterday).
		</body>
	</standout>
	<version>1.0.0</version>
	<date><xsl:value-of select="entry/date"/></date>
	<chapter>
		<xsl:apply-templates select="entry"/>
	</chapter>
	</mainpage>
</xsl:template>

<xsl:template match="entry">
	<section>
		<title>Files modified by <xsl:value-of select="author"/> at <xsl:value-of select="time"/></title>
		<body>
			<note><xsl:value-of select="msg"/></note>
			<ul>
				<xsl:apply-templates select="file"/>
			</ul>
		</body>
	</section>
</xsl:template>

<xsl:template match="file">
	<li><path><xsl:value-of select="name"/></path>, <xsl:value-of select="revision"/></li>
</xsl:template>

</xsl:stylesheet>