0N/A<?xml version="1.0" encoding="ISO-8859-1"?>
0N/A
0N/A<xsl:stylesheet
0N/A xmlns:xsl='http://www.w3.org/1999/XSL/Transform'
0N/A version='1.0'>
0N/A
0N/A<!--
809N/A Licensed to the Apache Software Foundation (ASF) under one or more
809N/A contributor license agreements. See the NOTICE file distributed with
809N/A this work for additional information regarding copyright ownership.
809N/A The ASF licenses this file to You under the Apache License, Version 2.0
809N/A (the "License"); you may not use this file except in compliance with
809N/A the License. You may obtain a copy of the License at
809N/A
809N/A http://www.apache.org/licenses/LICENSE-2.0
809N/A
809N/A Unless required by applicable law or agreed to in writing, software
809N/A distributed under the License is distributed on an "AS IS" BASIS,
809N/A WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
809N/A See the License for the specific language governing permissions and
809N/A limitations under the License.
0N/A
0N/A-->
0N/A <xsl:param name="title"/>
0N/A <xsl:param name="module"/>
0N/A <xsl:param name="cvsweb"/>
0N/A
0N/A <xsl:output method="html" indent="yes" encoding="US-ASCII"
0N/A doctype-public="-//W3C//DTD HTML 4.01//EN"
0N/A doctype-system="http://www.w3.org/TR/html401/strict.dtd"/>
0N/A
0N/A <!-- Copy standard document elements. Elements that
0N/A should be ignored must be filtered by apply-templates
0N/A tags. -->
0N/A <xsl:template match="*">
0N/A <xsl:copy>
0N/A <xsl:copy-of select="attribute::*[. != '']"/>
0N/A <xsl:apply-templates/>
0N/A </xsl:copy>
0N/A </xsl:template>
0N/A
0N/A <xsl:template match="changelog">
0N/A <html>
0N/A <head>
0N/A <title><xsl:value-of select="$title"/></title>
0N/A <style type="text/css">
0N/A body, p {
0N/A font-family: Verdana, Arial, Helvetica, sans-serif;
0N/A font-size: 80%;
0N/A color: #000000;
0N/A background-color: #ffffff;
0N/A }
0N/A tr, td {
0N/A font-family: Verdana, Arial, Helvetica, sans-serif;
0N/A background: #eeeee0;
0N/A }
0N/A td {
0N/A padding-left: 20px;
0N/A }
0N/A .dateAndAuthor {
0N/A font-family: Verdana, Arial, Helvetica, sans-serif;
0N/A font-weight: bold;
0N/A text-align: left;
0N/A background: #a6caf0;
0N/A padding-left: 3px;
0N/A }
0N/A a {
0N/A color: #000000;
0N/A }
0N/A pre {
0N/A font-weight: bold;
0N/A }
0N/A </style>
0N/A </head>
0N/A <body>
0N/A <h1>
0N/A <a name="top"><xsl:value-of select="$title"/></a>
0N/A </h1>
809N/A <p style="text-align: right">Designed for use with <a href="http://ant.apache.org/">Apache Ant</a>.</p>
0N/A <hr/>
0N/A <table border="0" width="100%" cellspacing="1">
0N/A
0N/A <xsl:apply-templates select=".//entry">
0N/A <xsl:sort select="date" data-type="text" order="descending"/>
0N/A <xsl:sort select="time" data-type="text" order="descending"/>
0N/A </xsl:apply-templates>
0N/A
0N/A </table>
0N/A
0N/A </body>
0N/A </html>
0N/A </xsl:template>
0N/A
0N/A <xsl:template match="entry">
0N/A <tr>
0N/A <td class="dateAndAuthor">
0N/A <xsl:value-of select="date"/><xsl:text> </xsl:text><xsl:value-of select="time"/><xsl:text> </xsl:text><xsl:value-of select="author"/>
0N/A </td>
0N/A </tr>
0N/A <tr>
0N/A <td>
0N/A <pre>
0N/A<xsl:apply-templates select="msg"/></pre>
0N/A <ul>
0N/A <xsl:apply-templates select="file"/>
0N/A </ul>
0N/A </td>
0N/A </tr>
0N/A </xsl:template>
0N/A
0N/A <xsl:template match="date">
0N/A <i><xsl:value-of select="."/></i>
0N/A </xsl:template>
0N/A
0N/A <xsl:template match="time">
0N/A <i><xsl:value-of select="."/></i>
0N/A </xsl:template>
0N/A
0N/A <xsl:template match="author">
0N/A <i>
0N/A <a>
0N/A <xsl:attribute name="href">mailto:<xsl:value-of select="."/></xsl:attribute>
0N/A <xsl:value-of select="."/></a>
0N/A </i>
0N/A </xsl:template>
0N/A
0N/A <xsl:template match="file">
0N/A <li>
0N/A <a>
0N/A <xsl:choose>
0N/A <xsl:when test="string-length(prevrevision) = 0 ">
0N/A <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" />&amp;content-type=text/x-cvsweb-markup</xsl:attribute>
0N/A </xsl:when>
0N/A <xsl:otherwise>
0N/A <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" />&amp;r2=<xsl:value-of select="prevrevision"/></xsl:attribute>
0N/A </xsl:otherwise>
0N/A </xsl:choose>
0N/A <xsl:value-of select="name" /> (<xsl:value-of select="revision"/>)</a>
0N/A </li>
0N/A </xsl:template>
0N/A
0N/A <!-- Any elements within a msg are processed,
0N/A so that we can preserve HTML tags. -->
0N/A <xsl:template match="msg">
0N/A <xsl:apply-templates/>
0N/A </xsl:template>
0N/A
0N/A</xsl:stylesheet>