checkstyle-noframes.xsl from Negest at Krugle
Show checkstyle-noframes.xsl syntax highlighted
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="html" indent="yes"/>
<xsl:decimal-format decimal-separator="." grouping-separator="," />
<!-- Checkstyle XML Style Sheet by Stephane Bailliez <sbailliez@apache.org> -->
<!-- Part of the Checkstyle distribution found at http://checkstyle.sourceforge.net -->
<!-- Usage (generates checkstyle_report.html): -->
<!-- <checkstyle -->
<!-- allowTabs="true" -->
<!-- allowProtected="false" -->
<!-- allowNoAuthor="false" -->
<!-- maxLineLen="132" -->
<!-- memberPattern="." -->
<!-- publicMemberPattern="^[a-z][a-zA-Z0-9]*$" -->
<!-- paramPattern="^[a-z][a-zA-Z0-9]*$" -->
<!-- constPattern="^[A-Z][A-Z0-9_]*$" -->
<!-- staticPattern="^[a-z][a-zA-Z0-9]*$" -->
<!-- typePattern="^[A-Z][a-zA-Z0-9]*$" -->
<!-- ignoreImports="true" -->
<!-- ignoreWhitespace="true" -->
<!-- ignoreBraces="false" -->
<!-- failOnViolation="false"> -->
<!-- <fileset dir="${src.dir}" includes="**/*.java"/> -->
<!-- <formatter type="plain"/> -->
<!-- <formatter type="xml" toFile="${doc.dir}/checkstyle_report.xml"/> -->
<!-- </checkstyle> -->
<!-- <style basedir="${doc.dir}" destdir="${doc.dir}" -->
<!-- includes="checkstyle_report.xml" -->
<!-- style="${doc.dir}/checkstyle-noframes.xsl"/> -->
<xsl:template match="checkstyle">
<html>
<head>
<style type="text/css">
.bannercell {
border: 0px;
padding: 0px;
}
body {
margin-left: 10;
margin-right: 10;
font:normal 80% arial,helvetica,sanserif;
background-color:#FFFFFF;
color:#000000;
}
.a td {
background: #efefef;
}
.b td {
background: #fff;
}
th, td {
text-align: left;
vertical-align: top;
}
th {
font-weight:bold;
background: #ccc;
color: black;
}
table, th, td {
font-size:100%;
border: none
}
table.log tr td, tr th {
}
h2 {
font-weight:bold;
font-size:140%;
margin-bottom: 5;
}
h3 {
font-size:100%;
font-weight:bold;
background: #525D76;
color: white;
text-decoration: none;
padding: 5px;
margin-right: 2px;
margin-left: 2px;
margin-bottom: 0;
}
</style>
</head>
<body>
<a name="top"></a>
<!-- jakarta logo -->
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td class="bannercell" rowspan="2">
<!--a href="http://jakarta.apache.org/">
<img src="http://jakarta.apache.org/images/jakarta-logo.gif" alt="http://jakarta.apache.org" align="left" border="0"/>
</a-->
</td>
<td class="text-align:right"><h2>CheckStyle Audit</h2></td>
</tr>
<tr>
<td class="text-align:right">Designed for use with <a href='http://checkstyle.sourceforge.net/'>CheckStyle</a> and <a href='http://jakarta.apache.org'>Ant</a>.</td>
</tr>
</table>
<hr size="1"/>
<!-- Summary part -->
<xsl:apply-templates select="." mode="summary"/>
<hr size="1" width="100%" align="left"/>
<!-- Package List part -->
<xsl:apply-templates select="." mode="filelist"/>
<hr size="1" width="100%" align="left"/>
<!-- For each package create its part -->
<xsl:for-each select="file">
<xsl:sort select="@name"/>
<xsl:apply-templates select="."/>
<p/>
<p/>
</xsl:for-each>
<hr size="1" width="100%" align="left"/>
</body>
</html>
</xsl:template>
<xsl:template match="checkstyle" mode="filelist">
<h3>Files</h3>
<table class="log" border="0" cellpadding="5" cellspacing="2" width="100%">
<tr>
<th>Name</th>
<th>Errors</th>
</tr>
<xsl:for-each select="file">
<xsl:sort select="@name"/>
<xsl:variable name="errorCount" select="count(error)"/>
<tr>
<xsl:call-template name="alternated-row"/>
<td><a href="#f-{@name}"><xsl:value-of select="@name"/></a></td>
<td><xsl:value-of select="$errorCount"/></td>
</tr>
</xsl:for-each>
</table>
</xsl:template>
<xsl:template match="file">
<a name="f-{@name}"></a>
<h3>File <xsl:value-of select="@name"/></h3>
<table class="log" border="0" cellpadding="5" cellspacing="2" width="100%">
<tr>
<th>Error Description</th>
<th>Line</th>
</tr>
<xsl:for-each select="error">
<tr>
<xsl:call-template name="alternated-row"/>
<td><xsl:value-of select="@message"/></td>
<td><xsl:value-of select="@line"/></td>
</tr>
</xsl:for-each>
</table>
<a href="#top">Back to top</a>
</xsl:template>
<xsl:template match="checkstyle" mode="summary">
<h3>Summary</h3>
<xsl:variable name="fileCount" select="count(file)"/>
<xsl:variable name="errorCount" select="count(file/error)"/>
<table class="log" border="0" cellpadding="5" cellspacing="2" width="100%">
<tr>
<th>Files</th>
<th>Errors</th>
</tr>
<tr>
<xsl:call-template name="alternated-row"/>
<td><xsl:value-of select="$fileCount"/></td>
<td><xsl:value-of select="$errorCount"/></td>
</tr>
</table>
</xsl:template>
<xsl:template name="alternated-row">
<xsl:attribute name="class">
<xsl:if test="position() mod 2 = 1">a</xsl:if>
<xsl:if test="position() mod 2 = 0">b</xsl:if>
</xsl:attribute>
</xsl:template>
</xsl:stylesheet>
See more files for this project here
This project aims to offer the SOHO integrated platform to track their customers, the events generated by/with them, the orders and billing, warehouses, customer locations and equipment. Its a CMP/ERP, with its focus on water treatment business, for this
Project homepage:
http://sourceforge.net/projects/negest
Programming language(s): Java,XML
License: other
activation.jar
ant-jmeter-2.0.3.jar
ant-optional-1.5.3-1.jar
antlr-2.7.6.jar
auth.conf
avalon-framework.jar
checkstyle-all-4.0-beta4.jar
checkstyle-frames.xsl
checkstyle-noframes.xsl
commons-beanutils-1.7.0.jar
commons-collections-3.1.jar
commons-digester-1.7.jar
commons-httpclient.jar
commons-lang-2.1.jar
commons-logging-1.0.4.jar
commons-logging.jar
commons-validator-1.1.3.jar
concurrent.jar
displaytag-1.1.jar
displaytag-export-poi-1.1.jar
ejb3-persistence.jar
emma-2.0.5312.jar
emma_ant-2.0.5312.jar
errors-taglib-1.1.jar
finalist-ant-1.3.jar
finalist-taglib-1.0.jar
finalist_checks.xml
generic-exceptions-1.0.jar
generic-exceptions-struts-1.2.jar
getopt.jar
hibernate-annotations.jar
hibernate-client.jar
hsqldb-1.7.3.3.jar
itext-1.3.1.jar
j2ee.jar
jacorb.jar
jakarta-regexp-1.3.jar
javassist.jar
javax.servlet.jar
jboss-annotations-ejb3.jar
jboss-aop-jdk50-client.jar
jboss-aspect-jdk50-client.jar
jboss-client.jar
jboss-common-client.jar
jboss-deployment.jar
jboss-ejb3-client.jar
jboss-ejb3x.jar
jboss-iiop-client.jar
jboss-j2ee.jar
jboss-jaxrpc.jar
jboss-jsr77-client.jar
jboss-remoting.jar
jboss-saaj.jar
jboss-serialization.jar
jboss-srp-client.jar
jboss-system-client.jar
jboss-transaction-client.jar
jboss-xml-binding.jar
jbossall-client.jar
jbosscx-client.jar
jbossha-client.jar
jbossjmx-ant.jar
jbossmq-client.jar
jbosssx-client.jar
jbossws-client.jar
jmx-client.jar
jmx-invoker-adaptor-client.jar
jnp-client.jar
juddisaaj.jar
junit-3.8.1.jar
log4j-1.2.8.jar
log4j.jar
logkit.jar
mail.jar
mysql-connector-java-3.1.13-bin.jar
poi-2.5.1.jar
postgresql-8.0-312.jdbc3.jar
scout.jar
sequencegenerator-ejb-1.0.jar
statementexecutor-1.1.jar
struts-1.2.4.jar
trove.jar
wsdl4j.jar
xdoclet-1.2.jar
xdoclet-apache-module-1.2.2.jar
xdoclet-bea-module-1.2-patch.jar
xdoclet-ejb-module-1.2.jar
xdoclet-hibernate-module-1.2.jar
xdoclet-jboss-module-1.2.jar
xdoclet-jmx-module-1.2.jar
xdoclet-oracle-module-1.2.jar
xdoclet-sun-module-1.2-cmr-patch.jar
xdoclet-web-module-1.2.jar
xdoclet-xdoclet-module-1.2.jar
xjavadoc-1.0.2.jar
xmlsec.jar