git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113800 13f79535-47bb-0310-9956-ffa450edef68
69 lines
2.7 KiB
XML
69 lines
2.7 KiB
XML
<?xml version="1.0"?>
|
|
|
|
<jsl:stylesheet
|
|
select="$doc"
|
|
xmlns:j="jelly:core"
|
|
xmlns:jsl="jelly:jsl"
|
|
xmlns:x="jelly:xml"
|
|
xmlns="dummy" trim="false">
|
|
|
|
<jsl:template match="document">
|
|
<document>
|
|
<jsl:applyTemplates select="*"/>
|
|
</document>
|
|
</jsl:template>
|
|
|
|
<jsl:template match="body" trim="false">
|
|
<body>
|
|
<!-- Index of releases -->
|
|
<section name="Release History">
|
|
<table>
|
|
<tr><th style='width:50px'>Version</th><th>Date</th><th>Description</th></tr>
|
|
<x:forEach select="release">
|
|
<tr>
|
|
<j:set var="version"><x:expr select="@version"/></j:set>
|
|
<j:set var="date"><x:expr select="@date"/></j:set>
|
|
<j:set var="description"><x:expr select="@description"/></j:set>
|
|
<td><a href="#${version}">${version}</a></td>
|
|
<td>${date}</td>
|
|
<td>${description}</td>
|
|
</tr>
|
|
</x:forEach>
|
|
</table>
|
|
</section>
|
|
|
|
<!-- Release details -->
|
|
<x:forEach select="release">
|
|
<j:set var="sectionName">Release <x:expr select="@version"/> - <x:expr select="@date"/></j:set>
|
|
<j:set var="version"><x:expr select="@version"/></j:set>
|
|
<section name="${sectionName}">
|
|
<a name="${version}"/>
|
|
<table>
|
|
<tr><th style='width:50px'>Type</th><th>Changes</th><th style='width:70px'>By</th></tr>
|
|
<x:forEach var="action" select="action">
|
|
<j:set var="type"><x:expr select="@type"/></j:set>
|
|
<j:set var="dev"><x:expr select="@dev"/></j:set>
|
|
<tr>
|
|
<td><img src="images/${type}.gif" alt="${type}"/></td>
|
|
<td><x:expr select="string(.)"/></td>
|
|
<td><a href="team-list.html#${dev}">${dev}</a></td>
|
|
</tr>
|
|
</x:forEach>
|
|
</table>
|
|
</section>
|
|
</x:forEach>
|
|
</body>
|
|
</jsl:template>
|
|
|
|
<!-- copy any other elements through -->
|
|
<jsl:template match="*" trim="false">
|
|
<jsl:copy trim="false">
|
|
<jsl:applyTemplates trim="false"/>
|
|
</jsl:copy>
|
|
</jsl:template>
|
|
|
|
<!-- element values don't pass through as text -->
|
|
<jsl:template match="@*"/>
|
|
|
|
</jsl:stylesheet>
|