<a href="http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPCHANGES-3">MPCHANGES-3</a>. HTML tags entered inside <code>&lt;action&gt;</code> tags now show up in the generated report.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114336 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
vmassol committed 2003-11-15 19:10:47 +00:00
1 parent a995e292e3
commit f18cbaf95e
3 files changed
+51 -34

No files matched your search

+38 -31
View File
@@ -31,38 +31,45 @@
</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>
<!-- Release information -->
<jsl:applyTemplates select="*"/>
</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 match="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>
<jsl:applyTemplates select="*"/>
</table>
</section>
</jsl:template>
<!-- element values don't pass through as text -->
<jsl:template match="@*"/>
<jsl:template match="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><jsl:applyTemplates trim="false"/></td>
<td><a href="team-list.html#${dev}">${dev}</a></td>
</tr>
</jsl:template>
<jsl:template match="*">
<jsl:copy trim="false">
<jsl:applyTemplates trim="false"/>
</jsl:copy>
</jsl:template>
<!-- element values don't pass through as text -->
<jsl:template match="@*"/>
<!-- CDATA and text nodes pass-thru -->
<jsl:template match="text()">
<x:expr select="."/>
</jsl:template>
</jsl:stylesheet>