[jboss-svn-commits] JBL Code SVN: r31091 - labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/xsl.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Thu Jan 14 08:54:44 EST 2010
Author: whitingjr
Date: 2010-01-14 08:54:44 -0500 (Thu, 14 Jan 2010)
New Revision: 31091
Modified:
labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/xsl/convert-xml-to-csv.xsl
Log:
Corrected the node count.
Modified: labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/xsl/convert-xml-to-csv.xsl
===================================================================
--- labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/xsl/convert-xml-to-csv.xsl 2010-01-14 13:48:23 UTC (rev 31090)
+++ labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/xsl/convert-xml-to-csv.xsl 2010-01-14 13:54:44 UTC (rev 31091)
@@ -8,8 +8,8 @@
<xsl:template match="/">
<xsl:text>category,gross,net,gross-average,net-average,hibernate,arjuna,caveat-emptor,jboss,log4j,db-vendor-A[,db-vendor-B]</xsl:text>
<xsl:for-each select="/analysis/summary-analysis/*/frame/methodDuration">
- <xsl:text>
- </xsl:text>
+<xsl:text>
+</xsl:text>
<xsl:text><xsl:value-of select="name(../..)"/> </xsl:text>
<xsl:text>,</xsl:text>
<xsl:text><xsl:value-of select="./gross"/></xsl:text>
@@ -31,7 +31,7 @@
<xsl:text><xsl:value-of select="../*/org.apache.log4j"/></xsl:text>
<xsl:choose>
- <xsl:when test="7 = count(../*/*)">
+ <xsl:when test="6 = count(../*/*)">
<xsl:text>,</xsl:text>
<xsl:text><xsl:value-of select="../*/*[position()=last()]"/></xsl:text>
</xsl:when>
More information about the jboss-svn-commits
mailing list