vmassol 2003/11/10 07:55:48 Modified: dashboard/src/plugin-resources/templates dashboard.jsl Log: Binary --> Ascii Revision Changes Path 1.3 +48 -48 maven-plugins/dashboard/src/plugin-resources/templates/dashboard.jsl Index: dashboard.jsl =================================================================== RCS file: /home/cvs/maven-plugins/dashboard/src/plugin-resources/templates/dashboard.jsl,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- dashboard.jsl 5 Nov 2003 19:26:59 -0000 1.2 +++ dashboard.jsl 10 Nov 2003 15:55:48 -0000 1.3 @@ -1,48 +1,48 @@ -<?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="dashboard"> - <document> - <properties> - <title>Dashboard Report</title> - </properties> - <body> - <section name="Dashboard report"> - <table> - <tr> - <th>Project</th> - <x:forEach var="aggregatorName" select="project[1]/aggregator/@name"> - <th> - <j:set var="labelProperty" - value="maven.dashboard.aggregator.${aggregatorName.value}.label"/> - <j:expr value="${context.getVariable(labelProperty)}"/> - </th> - </x:forEach> - </tr> - <jsl:applyTemplates/> - </table> - </section> - </body> - </document> - </jsl:template> - - <jsl:template match="project"> - <tr> - <td><x:expr select="@name"/></td> - <jsl:applyTemplates select="aggregator"/> - </tr> - </jsl:template> - - <jsl:template match="aggregator"> - <td> - <x:expr select="text()"/> - </td> - </jsl:template> - -</jsl:stylesheet> +<?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="dashboard"> + <document> + <properties> + <title>Dashboard Report</title> + </properties> + <body> + <section name="Dashboard report"> + <table> + <tr> + <th>Project</th> + <x:forEach var="aggregatorName" select="project[1]/aggregator/@name"> + <th> + <j:set var="labelProperty" + value="maven.dashboard.aggregator.${aggregatorName.value}.label"/> + <j:expr value="${context.getVariable(labelProperty)}"/> + </th> + </x:forEach> + </tr> + <jsl:applyTemplates/> + </table> + </section> + </body> + </document> + </jsl:template> + + <jsl:template match="project"> + <tr> + <td><x:expr select="@name"/></td> + <jsl:applyTemplates select="aggregator"/> + </tr> + </jsl:template> + + <jsl:template match="aggregator"> + <td> + <x:expr select="text()"/> + </td> + </jsl:template> + +</jsl:stylesheet>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]