3 xmlns:
xsl=
"http://www.w3.org/1999/XSL/Transform" version=
"1.0">
5 <xsl:output method=
"html"/>
7 <xsl:variable name=
"testcase.list" select=
"//test-case"/>
9 <xsl:template match=
"/">
10 <table cellpadding=
"2" cellspacing=
"0" border=
"0" width=
"98%">
14 <td class=
"sectionheader" colspan=
"2">
19 <xsl:apply-templates select=
"$testcase.list">
20 <xsl:sort select=
"@time" order=
"descending" data-type=
"number" />
21 </xsl:apply-templates>
23 <tr><td colspan=
"2"> </td></tr>
27 <xsl:template match=
"test-case">
29 <xsl:if test=
"position() mod 2 = 0">
30 <xsl:attribute name=
"class">unittests-oddrow
</xsl:attribute>
32 <td class=
"section-data">
33 <xsl:value-of select=
"./@name"/>
35 <td class=
"section-data">
37 <xsl:when test=
"@executed[.='True']">
38 <xsl:value-of select=
"./@time"/>