Fixing an issue with output parameters that are of type IntPtr
[castle.git] / Samples / MonoRail / MRCCnetDashboard / Dashboard.Web / xsl / timing.xsl
blob2a55afa24225924068d046e7d423fa6c7bb2c710
1 <?xml version="1.0"?>
2 <xsl:stylesheet
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%">
12 <!-- Unit Tests -->
13 <tr>
14 <td class="sectionheader" colspan="2">
15 Test Timing
16 </td>
17 </tr>
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>
24 </table>
25 </xsl:template>
27 <xsl:template match="test-case">
28 <tr>
29 <xsl:if test="position() mod 2 = 0">
30 <xsl:attribute name="class">unittests-oddrow</xsl:attribute>
31 </xsl:if>
32 <td class="section-data">
33 <xsl:value-of select="./@name"/>
34 </td>
35 <td class="section-data">
36 <xsl:choose>
37 <xsl:when test="@executed[.='True']">
38 <xsl:value-of select="./@time"/>
39 </xsl:when>
40 <xsl:otherwise>
41 not run
42 </xsl:otherwise>
43 </xsl:choose>
44 </td>
45 </tr>
46 </xsl:template>
48 </xsl:stylesheet>