ndai | a5b2766 | 2005-07-09 19:41:27 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?> |
| 2 | <xsl:stylesheet version="1.0" |
| 3 | xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
| 4 | xmlns:use="http://eclipse.org/wtp/releng/tools/component-use"> |
| 5 | <xsl:template match="/"> |
| 6 | <html> |
| 7 | <body> |
| 8 | <h2>Component Violation Summary</h2> |
| 9 | <table border="1"> |
| 10 | <tr> |
| 11 | <th><h3><b>Component name</b></h3></th> |
| 12 | <th><h3><b>Violation count</b></h3></th> |
| 13 | </tr> |
| 14 | <xsl:for-each select="component-violation-summary/component-violation"> |
| 15 | <xsl:sort select="@name"/> |
| 16 | <tr> |
| 17 | <td><a href="{@ref}"><xsl:value-of select="@name"/></a> </td> |
| 18 | <td><xsl:value-of select="@count"/></td> |
| 19 | </tr> |
| 20 | </xsl:for-each> |
| 21 | </table> |
| 22 | </body> |
| 23 | </html> |
| 24 | </xsl:template> |
| 25 | </xsl:stylesheet> |