jvanzyl 2004/01/06 09:58:47
Modified: xdoc/src/plugin-resources site.jsl
Log:
o change log plugin takes care of its own transformation now and has for
a while. Just getting rid of the cruft that's grown in here.
Revision Changes Path
1.43 +0 -45 maven-plugins/xdoc/src/plugin-resources/site.jsl
Index: site.jsl
===================================================================
RCS file: /home/cvs/maven-plugins/xdoc/src/plugin-resources/site.jsl,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- site.jsl 6 Jan 2004 17:54:01 -0000 1.42
+++ site.jsl 6 Jan 2004 17:58:47 -0000 1.43
@@ -193,7 +193,6 @@
<jsl:applyTemplates select="$doc/document/body/section"/>
<jsl:applyTemplates select="$doc/document/body/glossary" />
<jsl:applyTemplates select="$doc/document/body/release" />
- <jsl:applyTemplates select="$doc/document/body/changelog" />
<jsl:applyTemplates select="$doc/document/body/goals" />
</div>
</div>
@@ -447,50 +446,6 @@
<jsl:copy trim="false">
<jsl:applyTemplates trim="false"/>
</jsl:copy>
- </jsl:template>
-
- <!--************************-->
- <!-- changelog documentation-->
- <!--************************-->
- <jsl:template match="changelog" trim="false">
- <j:set var="rowMode" value="" />
- <table width="100%">
- <tr>
- <th>Date</th><th>Author</th><th>Files/Message</th>
- </tr>
- <jsl:applyTemplates select="changelog-entry" />
- </table>
- </jsl:template>
-
- <!-- transform a changelog entry -->
- <!-- FIXME: tr code copied from above -->
- <jsl:template match="changelog-entry" trim="false">
- <j:choose>
- <j:when test="${rowMode == 'a'}">
- <j:set var="rowMode" value="b"/>
- </j:when>
- <j:otherwise>
- <j:set var="rowMode" value="a"/>
- </j:otherwise>
- </j:choose>
-
- <x:element name="tr"><j:whitespace trim="true">
- <x:attribute name="class">${rowMode}</x:attribute>
-
- <td><x:expr select="date" /> <x:expr select="time" /></td>
- <td><x:expr select="author"/></td>
- <td><jsl:applyTemplates select="*" />
- <pre><x:expr select="msg"/></pre>
- </td>
-</j:whitespace></x:element>
- </jsl:template>
-
- <jsl:template match="file">
- <j:set var="url">${pom.repository.url}<x:expr select="name"/></j:set>
- <j:set var="revUrl">${url}?<x:expr
select="revision"/>&content-type=text/vnd.viewcvs-markup</j:set>
- <a href="${url}"><x:expr select="name"/></a> -
- <a href="${revUrl}">v<x:expr select="revision"/></a>
- <br/>
</jsl:template>
<!-- remove the space at the end of parsed "a" anchors -->
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]