5713N/A<?xml version="1.0"?>
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<!-- a stylesheet to display changelogs ala netbeans -->
0N/A<xsl:stylesheet
0N/A xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
0N/A version="1.0">
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"/>
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="tagdiff">
809N/A <html>
809N/A <head>
809N/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;
0N/A font-size: 80%;
0N/A color:#000000;
0N/A }
0N/A .dateAndAuthor {
0N/A font-family: verdana,arial,helvetica;
0N/A font-size: 80%;
0N/A font-weight: bold;
0N/A text-align:left;
0N/A background:#a6caf0;
0N/A }
0N/A tr, td{
0N/A font-family: verdana,arial,helvetica;
0N/A font-size: 80%;
0N/A background:#eeeee0;
0N/A }
809N/A </style>
809N/A </head>
809N/A <body link="#000000" alink="#000000" vlink="#000000" text="#000000">
0N/A <h1>
0N/A <a name="top"><xsl:value-of select="$title"/></a>
0N/A </h1>
0N/A Tagdiff between <xsl:value-of select="@startTag"/> <xsl:value-of select="@startDate"/> and
0N/A <xsl:value-of select="@endTag"/> <xsl:value-of select="@endDate"/>
0N/A <p align="right">Designed for use with <a href="http://ant.apache.org/">Ant</a>.</p>
0N/A <hr size="2"/>
0N/A <a name="TOP"/>
0N/A <table width="100%">
0N/A <tr>
0N/A <td align="right">
0N/A <a href="#New">New Files</a> |
0N/A <a href="#Modified">Modified Files</a> |
0N/A <a href="#Removed">Removed Files</a>
0N/A </td>
0N/A </tr>
0N/A </table>
809N/A <table border="0" width="100%" cellpadding="3" cellspacing="1">
0N/A <xsl:call-template name="show-entries">
0N/A <xsl:with-param name="title">New Files</xsl:with-param>
0N/A <xsl:with-param name="anchor">New</xsl:with-param>
0N/A <xsl:with-param name="entries" select=".//entry[file/revision][not(file/prevrevision)]"/>
0N/A </xsl:call-template>
0N/A
0N/A <xsl:call-template name="show-entries">
0N/A <xsl:with-param name="title">Modified Files</xsl:with-param>
0N/A <xsl:with-param name="anchor">Modified</xsl:with-param>
0N/A <xsl:with-param name="entries" select=".//entry[file/revision][file/prevrevision]"/>
0N/A </xsl:call-template>
0N/A
809N/A <!-- change to entries select to address bug #36827 -->
0N/A <xsl:call-template name="show-entries">
0N/A <xsl:with-param name="title">Removed Files</xsl:with-param>
0N/A <xsl:with-param name="anchor">Removed</xsl:with-param>
809N/A <xsl:with-param name="entries" select=".//entry[not(file/revision)][file/prevrevision]"/>
0N/A </xsl:call-template>
809N/A </table>
0N/A
809N/A </body>
809N/A </html>
0N/A </xsl:template>
0N/A
0N/A <xsl:template name="show-entries">
0N/A <xsl:param name="title"/>
0N/A <xsl:param name="anchor"/>
0N/A <xsl:param name="entries"/>
809N/A <tr>
809N/A <td colspan="2" class="dateAndAuthor">
0N/A <a>
0N/A <xsl:attribute name="name"><xsl:value-of select="$anchor"/></xsl:attribute>
0N/A <xsl:value-of select="$title"/> - <xsl:value-of select="count($entries)"/> entries
0N/A </a>
0N/A <a href="#TOP">(back to top)</a>
809N/A </td>
809N/A </tr>
809N/A <tr>
809N/A <td width="20">
0N/A <xsl:text> </xsl:text>
809N/A </td>
809N/A <td>
0N/A <ul>
0N/A <xsl:apply-templates select="$entries"/>
0N/A </ul>
809N/A </td>
809N/A </tr>
0N/A </xsl:template>
0N/A
0N/A <xsl:template match="entry">
0N/A <xsl:apply-templates select="file"/>
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="."/>
0N/A </a>
0N/A </i>
0N/A </xsl:template>
0N/A
0N/A <xsl:template match="file">
0N/A <li>
0N/A <a target="_new">
0N/A <xsl:attribute name="href"><xsl:value-of select="$cvsweb"/><xsl:value-of select="$module" />/<xsl:value-of select="name" /></xsl:attribute>
0N/A <xsl:value-of select="name" />
0N/A </a>
0N/A <xsl:if test="string-length(prevrevision) > 0 or string-length(revision) > 0">
0N/A <xsl:text> </xsl:text>
0N/A <a target="_new">
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"/>&amp;diff_format=h</xsl:attribute>
0N/A </xsl:otherwise>
5713N/A </xsl:choose> (<xsl:if test="count(prevrevision) &gt; 0"> <xsl:value-of select="prevrevision"/> --&gt; </xsl:if> <xsl:value-of select="revision"/>)
0N/A </a>
0N/A </xsl:if>
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 <b><xsl:apply-templates/></b>
0N/A </xsl:template>
0N/A
0N/A</xsl:stylesheet>