Fixing an issue with output parameters that are of type IntPtr
[castle.git] / Samples / MonoRail / MRCCnetDashboard / Dashboard.Web / xsl / SimianSummary.xsl
bloba99aaf178976871992acb0781c51e26a1651f645
1 <?xml version="1.0"?>
2 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://schemas.microsoft.com/intellisense/ie5">
4 <xsl:output method="html"/>
6 <xsl:variable name="simian.root" select="//simian"/>
7 <xsl:variable name="simian.version" select="$simian.root/@version" />
9 <xsl:template match="/">
11 <div id="simian-summary">
12 <table class="section-table" cellSpacing="0" cellPadding="2" width="98%" border="0">
13 <tr>
14 <td class="sectionheader" colSpan="4">Simian <xsl:value-of select="$simian.version" /> Summary</td>
15 </tr>
16 <tr>
17 <td><b><xsl:text>Configuration</xsl:text></b></td>
18 </tr>
19 <xsl:apply-templates select="$simian.root//check"/>
20 </table>
21 </div>
22 </xsl:template>
24 <xsl:template match="check">
25 <xsl:for-each select="./@*" >
26 <tr>
27 <td colspan="2" class="section-data">
28 <xsl:value-of select="name()"/>
29 </td>
30 <td colspan="2" class="section-data">
31 <xsl:value-of select="."/>
32 </td>
33 </tr>
34 </xsl:for-each>
35 <xsl:apply-templates select="./summary"/>
36 </xsl:template>
38 <!-- Reports rules relating specifically to namespaces -->
39 <xsl:template match="summary">
40 <tr>
41 <td><b><xsl:text>Results</xsl:text></b></td>
42 </tr>
43 <xsl:for-each select="./@*" >
44 <tr>
45 <td colspan="2" class="section-data">
46 <xsl:value-of select="name()"/>
47 </td>
48 <td colspan="2" class="section-data">
49 <xsl:value-of select="."/>
50 </td>
51 </tr>
52 </xsl:for-each>
53 </xsl:template>
55 </xsl:stylesheet>