4
* Licensed to the Apache Software Foundation (ASF) under one
5
* or more contributor license agreements. See the NOTICE file
6
* distributed with this work for additional information
7
* regarding copyright ownership. The ASF licenses this file
8
* to you under the Apache License, Version 2.0 (the "License");
9
* you may not use this file except in compliance with the License.
10
* You may obtain a copy of the License at
12
* http://www.apache.org/licenses/LICENSE-2.0
14
* Unless required by applicable law or agreed to in writing, software
15
* distributed under the License is distributed on an "AS IS" BASIS,
16
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
* See the License for the specific language governing permissions and
18
* limitations under the License.
21
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
22
<xsl:variable name="title" select="concat(todo/@project, ' ', todo/@major-version)"/>
23
<xsl:template match="/">
26
<TITLE><xsl:value-of select="$title"/></TITLE>
30
<H2><xsl:value-of select="concat($title, ': ', todo/@title)"/></H2>
31
<p><font size="-1">See a
32
<xsl:element name="a">
33
<xsl:attribute name="href">#developer-list</xsl:attribute>
34
<xsl:text>list of developers/initials.</xsl:text>
37
<font size="-1"><p>Planned releases:
38
<BR/><xsl:for-each select="todo/actions/target-release-description">
39
<xsl:element name="a">
40
<xsl:attribute name="href">#release-date-<xsl:value-of select="date"/></xsl:attribute>
41
<xsl:value-of select="date"/>
42
</xsl:element><xsl:text> </xsl:text><xsl:text> </xsl:text>
44
<xsl:element name="a">
45
<xsl:attribute name="href">#release-date-completed</xsl:attribute>
46
<xsl:text>Completed</xsl:text>
50
<xsl:for-each select="todo">
51
<xsl:for-each select="actions">
52
<xsl:for-each select="target-release-description">
54
<xsl:apply-templates/>
57
<xsl:for-each select="action">
58
<xsl:if test="normalize-space(.)">
60
<xsl:number/>) <xsl:apply-templates/>
64
<xsl:apply-templates select="@*"/>
71
<xsl:for-each select="completed">
72
<xsl:element name="a">
73
<xsl:attribute name="name">release-date-completed</xsl:attribute>
76
<xsl:for-each select="action">
77
<xsl:if test="normalize-space(.)">
79
<xsl:number/>) <xsl:apply-templates/>
83
<xsl:apply-templates select="@*"/>
90
<xsl:call-template name="developer-list"/>
97
<xsl:template match="action/@*">
98
<!-- Add link to the who attributes to corresponding item in developer-list -->
99
<b><xsl:value-of select="name(.)"/>:</b><xsl:text> </xsl:text>
101
<xsl:when test="name(.)='who'">
102
<xsl:element name="a">
103
<xsl:attribute name="href">#personref-<xsl:value-of select="."/></xsl:attribute>
104
<xsl:value-of select="."/>
108
<xsl:value-of select="."/>
111
<xsl:if test="not (position()=last())">
112
<xsl:text>, </xsl:text>
116
<xsl:template match="target-release-description/date">
117
<xsl:element name="a">
118
<xsl:attribute name="name">release-date-<xsl:value-of select="."/></xsl:attribute>
119
<b><xsl:text>For release: </xsl:text><xsl:value-of select="."/></b>
124
<xsl:template match="issue">
125
<BR/><b>Issue </b><xsl:text>[</xsl:text><xsl:value-of select="@id"/>
126
<xsl:text>]: </xsl:text>
127
<xsl:apply-templates/>
130
<xsl:template match="target-release-description/level">
131
<xsl:text>, </xsl:text><xsl:apply-templates/>
134
<xsl:template match="target-release-description/goal">
135
<BR/><b>Goal </b><xsl:text>[</xsl:text><xsl:value-of select="@type"/>
136
<xsl:text>]: </xsl:text>
137
<xsl:apply-templates/>
141
<xsl:template name="developer-list">
143
<xsl:element name="a">
144
<xsl:attribute name="name">developer-list</xsl:attribute>
145
<xsl:text>Developers:</xsl:text>
148
<p>A list of some of the people currently working on <xsl:value-of select="/todo/@project"/>:</p>
150
<xsl:for-each select="devs/person[not(@status = 'emeritus')]">
152
<xsl:apply-templates select="."/>
156
<xsl:if test="boolean(devs/person[@status = 'emeritus'])">
157
<p>And the Hall-of-Fame list of past developers:</p>
159
<xsl:for-each select="devs/person[@status = 'emeritus']">
161
<xsl:apply-templates select="."/>
168
<xsl:template match="person">
169
<a href="mailto:{@email}">
170
<xsl:value-of select="@name"/>
172
<xsl:element name="a">
173
<xsl:attribute name="name"><xsl:text>personref-</xsl:text><xsl:value-of select="@id"/></xsl:attribute>
174
<xsl:text> (</xsl:text><xsl:value-of select="@id"/><xsl:text>)</xsl:text>
176
<BR/><xsl:value-of select="."/>