1 <?xml version=
"1.0" encoding=
"ISO-8859-1"?>
3 xmlns:xsl='http://www.w3.org/
1999/XSL/Transform'
7 /* ====================================================================
8 Licensed to the Apache Software Foundation (ASF) under one or more
9 contributor license agreements. See the NOTICE file distributed with
10 this work for additional information regarding copyright ownership.
11 The ASF licenses this file to You under the Apache License, Version 2.0
12 (the "License"); you may not use this file except in compliance with
13 the License. You may obtain a copy of the License at
15 http://www.apache.org/licenses/LICENSE-2.0
17 Unless required by applicable law or agreed to in writing, software
18 distributed under the License is distributed on an "AS IS" BASIS,
19 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20 See the License for the specific language governing permissions and
21 limitations under the License.
22 ==================================================================== */
24 <xsl:param name=
"title"/>
25 <xsl:param name=
"module"/>
26 <xsl:param name=
"cvsweb"/>
28 <xsl:output method=
"html" indent=
"yes" encoding=
"US-ASCII"/>
30 <!-- Copy standard document elements. Elements that
31 should be ignored must be filtered by apply-templates
33 <xsl:template match=
"*">
35 <xsl:copy-of select=
"attribute::*[. != '']"/>
36 <xsl:apply-templates/>
40 <xsl:template match=
"changelog">
43 <TITLE><xsl:value-of select=
"$title"/></TITLE>
45 <BODY link=
"#000000" alink=
"#000000" vlink=
"#000000" text=
"#000000">
46 <style type=
"text/css">
48 font-family: verdana,arial,helvetica;
53 font-family: verdana,arial,helvetica;
60 font-family: verdana,arial,helvetica;
66 <a name=
"top"><xsl:value-of select=
"$title"/></a>
70 <TABLE BORDER=
"0" WIDTH=
"100%" CELLPADDING=
"3" CELLSPACING=
"1">
72 <xsl:apply-templates select=
".//entry">
73 <xsl:sort select=
"date" data-type=
"text" order=
"descending"/>
74 <xsl:sort select=
"time" data-type=
"text" order=
"descending"/>
75 </xsl:apply-templates>
83 <xsl:template match=
"entry">
85 <TD colspan=
"2" class=
"dateAndAuthor">
86 <xsl:value-of select=
"date"/><xsl:text> </xsl:text><xsl:value-of select=
"time"/><xsl:text> </xsl:text><xsl:value-of select=
"author"/>
91 <xsl:text> </xsl:text>
95 <xsl:apply-templates select=
"msg"/></pre>
97 <xsl:apply-templates select=
"file"/>
103 <xsl:template match=
"date">
104 <i><xsl:value-of select=
"."/></i>
107 <xsl:template match=
"time">
108 <i><xsl:value-of select=
"."/></i>
111 <xsl:template match=
"author">
114 <xsl:attribute name=
"href">mailto:
<xsl:value-of select=
"."/></xsl:attribute>
115 <xsl:value-of select=
"."/>
120 <xsl:template match=
"file">
124 <xsl:when test=
"string-length(prevrevision) = 0 ">
125 <xsl:attribute name=
"href"><xsl:value-of select=
"$cvsweb"/><xsl:value-of select=
"$module" />/
<xsl:value-of select=
"name" />?rev=
<xsl:value-of select=
"revision" />&content-type=text/x-cvsweb-markup
</xsl:attribute>
128 <xsl:attribute name=
"href"><xsl:value-of select=
"$cvsweb"/><xsl:value-of select=
"$module" />/
<xsl:value-of select=
"name" />?r1=
<xsl:value-of select=
"revision" />&r2=
<xsl:value-of select=
"prevrevision"/></xsl:attribute>
131 <xsl:value-of select=
"name" /> (
<xsl:value-of select=
"revision"/>)
136 <!-- Any elements within a msg are processed,
137 so that we can preserve HTML tags. -->
138 <xsl:template match=
"msg">
139 <b><xsl:apply-templates/></b>