<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<head>
<style type="text/css">
body
{
font-family:"Arial";
}
th
{
font-weight:"normal";
}
</style>
</head>
<body>
<xsl:for-each select="ReportData/BodyType">
<div style="height:50px;background:#FFFFFF;text-align:center">
</div> <!-- getting space between two tables -->
<xsl:variable name="BkColour" select="BkColourCode"/>
<xsl:variable name="BrdColour" select="BorderColourCode"/>
<table width="80%" border="2" bordercolor="{$BrdColour}" cellpadding="10" cellspacing="0" valign="center" align="center">
<tr bgcolor="{$BkColour}">
<th><CENTER><b><font size="50" color="white"><b><xsl:value-of select="BodyTypeName"/></b></font></b></CENTER></th>
</tr>
</table>
<xsl:if test = " position() != last()"> <!-- to avoid to print sureIQ and sureExpo data while generatiing report for trauma -->
<div style="height:50px;background:#FFFFFF;text-align:center">
</div> <!-- getting space between two tables -->
<table width="80%" height="5px" border="2" bordercolor="{$BrdColour}" cellpadding="10" cellspacing="0" valign="center" align="center">
<tr bgcolor="{$BkColour}">
<td><CENTER><b><font size="4" color="white"><xsl:value-of