comparison src/org/ssdt_ohio/tools/ant/junit-summary_1.xsl @ 4:bace8c04e066

Correct type in xslt
author smith@nwoca.org
date Thu, 09 Jun 2011 12:24:29 -0400
parents af958c5027b1
children
comparison
equal deleted inserted replaced
3:af958c5027b1 4:bace8c04e066
10 10
11 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> 11 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
12 <xsl:output method="text"/> 12 <xsl:output method="text"/>
13 <xsl:template match="/"> 13 <xsl:template match="/">
14 <xsl:for-each select="//testcase"> 14 <xsl:for-each select="//testcase">
15 <xsl:value-of select="@classname"/>.<xsl:value-of select="@name"/> failure=<xsl:value-of select="count(falure)"/> error=<xsl:value-of select="count(error)"/> 15 <xsl:value-of select="@classname"/>.<xsl:value-of select="@name"/> failure=<xsl:value-of select="count(failure)"/> error=<xsl:value-of select="count(error)"/>
16 <xsl:text> 16 <xsl:text>
17 </xsl:text> 17 </xsl:text>
18 </xsl:for-each> 18 </xsl:for-each>
19 </xsl:template> 19 </xsl:template>
20 </xsl:stylesheet> 20 </xsl:stylesheet>