blob: 4617663b9bf8296daa3207d20f2708429904db72 [file] [log] [blame]
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<body>
<table border="0" cellpadding="2" cellspacing="5" width="100%">
<tr>
<td align="left" width="60%">
<font style="font-size: x-large;; font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold">
Code Usage Report
</font>
</td>
</tr>
</table>
<table border="0" cellpadding="2" cellspacing="5" width="100%">
<tr>
<td ALIGN="LEFT" VALIGN="TOP" COLSPAN="2" BGCOLOR="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica">
Code usage summary
</font></b></td>
</tr>
</table>
<xsl:for-each select="root/team">
<xsl:sort select="@lead"/>
<xsl:apply-templates select="."/>
</xsl:for-each>
</body>
</html>
</xsl:template>
<xsl:template match="team">
<h2><xsl:value-of select="@lead"/></h2>
<table id="data" border="1" width="80%">
<tr>
<th width="95%">Package name</th>
<th>Internal code usage count</th>
<th>API usage count</th>
</tr>
<xsl:for-each select="package">
<xsl:sort select="@name"/>
<xsl:apply-templates select="."/>
</xsl:for-each>
</table>
</xsl:template>
<xsl:template match="package">
<tr>
<td><xsl:value-of select="@name"/></td>
<td><xsl:value-of select="@internal"/></td>
<td><xsl:value-of select="@api"/></td>
</tr>
</xsl:template>
</xsl:stylesheet>