logo       

More requested xsl stylesheet help for Findbugs: msg#00073

java.findbugs.general

Subject: More requested xsl stylesheet help for Findbugs

I'm trying to clean up default.xsl.

One problem is that for some reason:

<xsl:template match="Project">
<p>Project: <xsl:value-of select="@filename"/></p>
<p>FindBugs version: <xsl:value-of select="/BugCollection/@version"/ ></p>

<p>Code analyzed:</p>
<ul>
<xsl:for-each select="./Jar">
<li><xsl:value-of select="text()"/></li>
</xsl:for-each>
</ul>
</xsl:template>


doesn't seem to be matching any Jar nodes in the xml document. As a result, the output doesn't
contain that information, and we get a <ul/> tag, which doesn't validate.

Any ideas?

Bill


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise