<?xml version="1.0" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html >
<head>
<title>Result</title>
</head>
<body>
<table border="2" bgcolor="white">
<CAPTION style="font-size: 150%; font-weight: bold">
Check Result
</CAPTION>
<tr>
<th>Line</th>
<th>Level</th>
<th>Message</th>
</tr>
<xsl:for-each select="*">
<tr>
<td>
<a>
<xsl:attribute name="href"><xsl:value-of select="name()"/>.txt</xsl:attribute>
<xsl:value-of select="name()"/>
</a>
</td>
<td>
<xsl:if test="attribute::result = 'False'">
<span style="color:red;">FAILED
</span>
</xsl:if>
<xsl:if test="attribute::result = 'True'">
<span style="color:black;">PASS
</span>
</xsl:if>
</td>
<td>
<xsl:value-of select="attribute::timestamp"/>
</td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>