<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
<xsl:template>
<html>
<head><title>ScanMasterCAN Report</title></head>
<body>
<table align="center" border="1" cellpadding="2" cellspacing="0" bordercolor="#000000" bgcolor='#FFFFFF' width="640">
	<tr><td><center> <img src='../xsl/logo.gif' /> </center></td></tr>
	<tr><td>
<!-- USER Information Start -->
	<xsl:for-each select="doc/USER_INFO">
	<table align="center" border="0" cellpadding="1" cellspacing="0" bordercolor="#000000" bgcolor='#FFFFFF' width="640">
	<tr>
		<td align="right" width="10 "><font face="Arial, Verdana" size="1"></font></td>
		<td align="left"   width="310"><font face="Arial, Verdana" size="1"><xsl:value-of select="USER_NAME" /> </font></td>
		<td align="right" width="100"><font face="Arial, Verdana" size="1"><b><xsl:value-of select="USER_PHONE_LAB" /></b> </font></td>
		<td align="left"   width="220"><font face="Arial, Verdana" size="1"><xsl:value-of select="USER_PHONE" /> </font></td>
	</tr>
	<tr>
		<td align="right" width="10 "><font face="Arial, Verdana" size="1"><b></b> </font></td>
		<td align="left"   width="310"><font face="Arial, Verdana" size="1"><xsl:value-of select="USER_ADDRESS1" /> </font></td>
		<td align="right" width="100"><font face="Arial, Verdana" size="1"><b><xsl:value-of select="USER_FAX_LAB" /></b> </font></td>
		<td align="left"   width="220"><font face="Arial, Verdana" size="1"><xsl:value-of select="USER_FAX" /> </font></td>
	</tr>
	<tr>
		<td align="right" width="10 "><font face="Arial, Verdana" size="1"><b></b> </font></td>
		<td align="left"   width="310"><font face="Arial, Verdana" size="1"><xsl:value-of select="USER_ADDRESS2" /> </font></td>
		<td align="right" width="100"><font face="Arial, Verdana" size="1"><b><xsl:value-of select="USER_EMAIL_LAB" /></b> </font></td>
		<td align="left"   width="220"><font face="Arial, Verdana" size="1"><xsl:value-of select="USER_EMAIL" /> </font></td>
	</tr>
	<tr>
		<td align="right" width="10 "><font face="Arial, Verdana" size="1"><b></b> </font></td>
		<td align="left"   width="310"><font face="Arial, Verdana" size="1"><xsl:value-of select="USER_ADDRESS3" /> </font></td>
		<td align="right" width="100"><font face="Arial, Verdana" size="1"><b><xsl:value-of select="USER_INTERNET_LAB" /></b> </font></td>
		<td align="left"   width="220"><font face="Arial, Verdana" size="1"><xsl:value-of select="USER_INTERNET" /> </font></td>
	</tr>
	<tr>
		<td align="right" width="10 "><font face="Arial, Verdana" size="1"><b></b> </font></td>
		<td align="left"   width="310"><font face="Arial, Verdana" size="1"></font></td>
		<td align="right" width="100"><font face="Arial, Verdana" size="1"><b><xsl:value-of select="DATE_TIME_LAB" /></b> </font></td>
		<td align="left"   width="220"><font face="Arial, Verdana" size="1"><xsl:value-of select="DATE_TIME" /> </font></td>
	</tr>
	</table>
	</xsl:for-each>
<!--  USER Information End  -->
	</td></tr>	
	<tr><td>
	<xsl:for-each select="doc/LAYOUT_REPORT">	
		<center> <font face="Arial, Verdana" size='4'><xsl:value-of select="TITLE" /></font></center>
	</xsl:for-each>
	</td></tr>	
	<tr><td>
<!-- Vehicle and Customer Information Start -->
	<xsl:for-each select="doc/VEHICLE_CUSTOMER_INFO">	
	<table border="0" cellpadding="0" cellspacing="0" bordercolor="#000000" bgcolor='#FFFFFF' width='640' align='center'>
	<tr>
		<td align='left' width="320"><b><font face="Arial, Verdana" size='2'><xsl:value-of select="TITLE_VEHICLE_INFO" /></font></b></td>
		<td align='left' width="320"><b><font face="Arial, Verdana" size='2'><xsl:value-of select="TITLE_CUSTOMER_ADDRESS" /></font></b></td>
	</tr>
	</table>
	<table align="center" border="0" cellpadding="1" cellspacing="0" bordercolor="#000000" bgcolor='#FFFFFF' width="640">
	<tr>
		<td align="right" width="100"> <font face="Arial, Verdana" size="1"><b><xsl:value-of select="VEHICLE_MAKE_LAB" /></b> </font></td>
		<td align="left"   width="220"> <font face="Arial, Verdana" size="1"><xsl:value-of select="VEHICLE_MAKE" /> </font></td>
		<td align="left"   width="320"> <font face="Arial, Verdana" size="1"><xsl:value-of select="ADDRESS1" /></font></td>
	</tr>
	<tr>
		<td align="right" width="100"> <font face="Arial, Verdana" size="1"><b><xsl:value-of select="VEHICLE_MODEL_LAB" /></b> </font></td>
		<td align="left"   width="220"> <font face="Arial, Verdana" size="1"><xsl:value-of select="VEHICLE_MODEL" /> </font></td>
		<td align="left"   width="320"> <font face="Arial, Verdana" size="1"><xsl:value-of select="ADDRESS2" /></font></td>
	</tr>
	<tr>
		<td align="right" width="100"> <font face="Arial, Verdana" size="1"><b><xsl:value-of select="VEHICLE_YEAR_LAB" /></b> </font></td>
		<td align="left"   width="220"> <font face="Arial, Verdana" size="1"><xsl:value-of select="VEHICLE_YEAR" /> </font></td>
		<td align="left"   width="320"> <font face="Arial, Verdana" size="1"><xsl:value-of select="ADDRESS3" /></font></td>
	</tr>
	<tr>
		<td align="right" width="100"> <font face="Arial, Verdana" size="1"><b><xsl:value-of select="VEHICLE_VIN_LAB" /></b> </font></td>
		<td align="left"   width="220"> <font face="Arial, Verdana" size="1"><xsl:value-of select="VEHICLE_VIN" /></font></td>
		<td align="left"   width="320"> <font face="Arial, Verdana" size="1"><xsl:value-of select="ADDRESS4" /></font></td>
	</tr>
	</table>
	</xsl:for-each>
<!--  Vehicle and Customer Information End  -->
	</td></tr>	
	<tr><td>
<!-- System Status Start-->
	<xsl:for-each select="doc/SYSTEM_STATUS">	
	<table border="0" cellpadding="0" cellspacing="0" bordercolor="#000000" bgcolor='#FFFFFF' width='640' align='center'>
	<tr>
		<td align='left'><b><font face="Arial, Verdana" size='2'><xsl:value-of select="TITLE_SYSTEM_STATUS" /></font></b></td>
	</tr>
	</table>
	<table border="0" cellpadding="2" cellspacing="0" align='center' width="640">
	<tr>
		<td align="left" width='35' bgcolor='#FFFFFF'><font face="Arial, Verdana" size='1'><b>MIL:</b> </font></td>
		<td align="left"> <font face="Arial, Verdana" size='1'> <b><xsl:value-of select="MIL_STATE" /></b> </font></td>
	</tr>
	</table>
	<table border="0" cellpadding="2" cellspacing="0" bordercolor="#000000" align='center' width='640'>
	<tr>
		<td align='left' width='250'><font face="Arial, Verdana" size='1'><b><xsl:value-of select="TITLE_READINESS_1" /></b></font></td>
		<td align='center' width='70'><font face="Arial, Verdana" size='1'><b>S/C</b></font></td>
		<td align='left' width='250'><font face="Arial, Verdana" size='1'><b><xsl:value-of select="TITLE_READINESS_2" /></b></font></td>
		<td align='center' width='70'><font face="Arial, Verdana" size='1'><b>S/C</b></font></td>
	</tr>
	</table>
	<table border="0" cellpadding="2" cellspacing="0" bordercolor="#000000" align='center' width='640'>
	<tr>
		<td align="left" width='250' bgcolor='#FFFFFF'> <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST_1_C" /></font></td>
		<td align="center" width='70'> <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST_1_C_S" />/<xsl:value-of select="TEST_1_C_C" /> </font></td>
		<td align="left" width='250' bgcolor='#FFFFFF'> <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST_1_N" /></font></td>
		<td align="center" width='70'> <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST_1_N_S" />/<xsl:value-of select="TEST_1_N_C" /> </font></td>
	</tr>
	<tr>
		<td align="left" width='250' bgcolor='#FFFFFF'> <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST_2_C" /></font></td>
		<td align="center" width='70'> <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST_2_C_S" />/<xsl:value-of select="TEST_2_C_C" />  </font></td>								
		<td align="left" width='250' bgcolor='#FFFFFF'> <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST_2_N" /></font></td>
		<td align="center" width='70'> <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST_2_N_S" />/<xsl:value-of select="TEST_2_N_C" />  </font></td>							
	</tr>
	<tr>
		<td align="left" width='250' bgcolor='#FFFFFF'> <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST_3_C" /></font></td>
		<td align="center" width='70'> <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST_3_C_S" />/<xsl:value-of select="TEST_3_C_C" />  </font></td>							
		<td align="left" width='250' bgcolor='#FFFFFF'> <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST_3_N" /></font></td>
		<td align="center" width='70'> <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST_3_N_S" />/<xsl:value-of select="TEST_3_N_C" />  </font></td>						
	</tr>
	<tr>
		<td align="left" width='250' bgcolor='#FFFFFF'> <font face="Arial, Verdana" size="1"></font></td>
		<td align="center" width='70'> <font face="Arial, Verdana" size="1"></font></td>							
		<td align="left" width='250' bgcolor='#FFFFFF'> <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST_4_N" /> </font></td>
		<td align="center" width='70'> <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST_4_N_S" />/<xsl:value-of select="TEST_4_N_C" />  </font></td>						
	</tr>
	<tr>
		<td align="left" width='250' bgcolor='#FFFFFF'> <font face="Arial, Verdana" size="1"></font></td>
		<td align="center" width='70'> <font face="Arial, Verdana" size="1"></font> </td>								
		<td align="left" width='250' bgcolor='#FFFFFF'> <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST_5_N" /></font></td>
		<td align="center" width='70'> <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST_5_N_S" />/<xsl:value-of select="TEST_5_N_C" /> </font></td>						
	</tr>
	<tr>
		<td align="left" width='250' bgcolor='#FFFFFF'> <font face="Arial, Verdana" size="1"></font></td>
		<td align="center" width='70'> <font face="Arial, Verdana" size="1"></font> </td>									
		<td align="left" width='250' bgcolor='#FFFFFF'> <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST_6_N" /></font></td>
		<td align="center" width='70'> <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST_6_N_S" />/<xsl:value-of select="TEST_6_N_C" />  </font></td>				
	</tr>
	<tr>
		<td align="left" width='250' bgcolor='#FFFFFF'> <font face="Arial, Verdana" size="1"></font></td>
		<td align="center" width='70'> <font face="Arial, Verdana" size="1"></font> </td>									
		<td align="left" width='250' bgcolor='#FFFFFF'> <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST_7_N" /></font></td>
		<td align="center" width='70'> <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST_7_N_S" />/<xsl:value-of select="TEST_7_N_C" />  </font></td>				
	</tr>
	<tr>
		<td align="left" width='250' bgcolor='#FFFFFF'> <font face="Arial, Verdana" size="1"></font></td>
		<td align="center" width='70'> <font face="Arial, Verdana" size="1"></font> </td>									
		<td align="left" width='250' bgcolor='#FFFFFF'> <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST_8_N" /></font></td>
		<td align="center" width='70'> <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST_8_N_S" />/<xsl:value-of select="TEST_8_N_C" />  </font></td>				
	</tr>
	</table>
	<table border="0" cellpadding="0" cellspacing="0" bordercolor="#000000" bgcolor='#FFFFFF' width='640' align='center'>
	<tr>
		<td align='left'><b><font face="Arial, Verdana" size='1'><xsl:value-of select="TITLE_S_C" /></font></b></td>
	</tr>
	</table>
	</xsl:for-each>
<!--  System Status End  -->
	</td></tr>	
	<tr><td>
<!-- Stored DTC Results Start -->
	<table border="0" cellpadding="0" cellspacing="0" bordercolor="#000000" bgcolor='#FFFFFF' width='640' align='center'>
	<tr>
	<xsl:for-each select="doc/STORED_DTCS">	
		<td align='left'><b><font face="Arial, Verdana" size='2'><xsl:value-of select="TITLE_STORED_DTCS" /></font></b></td>
	</xsl:for-each>
	</tr>
	</table>
	<xsl:for-each select="doc/STORED_DTC_RESULTS" >
	<table border="0" cellpadding="2" cellspacing="0" align='center' width='640'>
	<tr>
		<td align="left" width='50'> <font face="Arial, Verdana" size="1"><xsl:value-of select="DTC_NUMBER" /> </font></td>
		<td align="left"     width='550'><font face="Arial, Verdana" size="1"><xsl:value-of select="DTC_DESCRIPTION" />  </font></td>	
	</tr>
	</table>
	</xsl:for-each>
<!--  Stored DTC Results End  -->
	</td></tr>	
	<tr><td>
<!-- Pending DTC Results Start -->
	<xsl:for-each select="doc/PENDING_DTCS">	
	<table border="0" cellpadding="0" cellspacing="0" bordercolor="#000000" bgcolor='#FFFFFF' width='640' align='center'>
	<tr>
		<td align='left'><b><font face="Arial, Verdana" size='2'><xsl:value-of select="TITLE_PENDING_DTCS" /></font></b></td>
	</tr>
	</table>
	</xsl:for-each>
	<xsl:for-each select="doc/PENDING_DTC_RESULTS" >
	<table border="0" cellpadding="2" cellspacing="0" align='center' width='640'>
	<tr>
		<td align="left" width='50' > <font face="Arial, Verdana" size="1"><xsl:value-of select="DTC_NUMBER" /> </font></td>
		<td align="left" width='550'> <font face="Arial, Verdana" size="1"><xsl:value-of select="DTC_DESCRIPTION" />  </font></td>									
	</tr>
	</table>
	</xsl:for-each>
<!--  Pending DTC Results End  -->
	</td></tr>	
	<tr><td>
<!-- Freeze Frame Start-->
	<xsl:for-each select="doc/FREEZE_FRAME">	
	<table border="0" cellpadding="0" cellspacing="0" bordercolor="#000000" bgcolor='#FFFFFF' width='640' align='center'>
	<tr>
		<td align='left'><b><font face="Arial, Verdana" size='2'><xsl:value-of select="TITLE_FREEZE_FRAME" /></font></b></td>
	</tr>
	</table>
	<table border="0" cellpadding="2" cellspacing="0" bordercolor="#000000" align='center' width='640'>
	<tr>
		<td align="left" width='250' bgcolor='#FFFFFF'> <font face="Arial, Verdana" size="1"><xsl:value-of select="FF_DTC_LAB" /></font></td>
		<td align="center" width='150'> <font face="Arial, Verdana" size="1"><xsl:value-of select="FF_DTC" /> </font></td>
		<td align="left" width='250' bgcolor='#FFFFFF'> <font face="Arial, Verdana" size="1"><xsl:value-of select="FF_FUEL_SYSTEM_LAB" /></font></td>
		<td align="center" width='150'> <font face="Arial, Verdana" size="1"><xsl:value-of select="FF_FUEL_SYSTEM" /> </font></td>
	</tr>
	<tr>
		<td align="left" width='250' bgcolor='#FFFFFF'> <font face="Arial, Verdana" size="1"><xsl:value-of select="FF_CALCULATED_LOAD_LAB" /></font></td>
		<td align="center" width='150'> <font face="Arial, Verdana" size="1"><xsl:value-of select="FF_CALCULATED_LOAD" />  </font></td>								
		<td align="left" width='250' bgcolor='#FFFFFF'> <font face="Arial, Verdana" size="1"><xsl:value-of select="FF_COOLANT_TEMPERATURE_LAB" /></font></td>
		<td align="center" width='150'> <font face="Arial, Verdana" size="1"><xsl:value-of select="FF_COOLANT_TEMPERATURE" />  </font></td>							
	</tr>
	<tr>
		<td align="left" width='250' bgcolor='#FFFFFF'> <font face="Arial, Verdana" size="1"><xsl:value-of select="FF_SHORT_TERM_FUEL_TRIM_B1_LAB" /></font></td>
		<td align="center" width='150'> <font face="Arial, Verdana" size="1"><xsl:value-of select="FF_SHORT_TERM_FUEL_TRIM_B1" />  </font></td>							
		<td align="left" width='250' bgcolor='#FFFFFF'> <font face="Arial, Verdana" size="1"><xsl:value-of select="FF_LONG_TERM_FUEL_TRIM_B1_LAB" /></font></td>
		<td align="center" width='150'> <font face="Arial, Verdana" size="1"><xsl:value-of select="FF_LONG_TERM_FUEL_TRIM_B1" />  </font></td>						
	</tr>
	<tr>
		<td align="left" width='250' bgcolor='#FFFFFF'> <font face="Arial, Verdana" size="1"><xsl:value-of select="FF_SHORT_TERM_FUEL_TRIM_B2_LAB" /></font></td>
		<td align="center" width='150'> <font face="Arial, Verdana" size="1"><xsl:value-of select="FF_SHORT_TERM_FUEL_TRIM_B2" />  </font></td>							
		<td align="left" width='250' bgcolor='#FFFFFF'> <font face="Arial, Verdana" size="1"><xsl:value-of select="FF_LONG_TERM_FUEL_TRIM_B2_LAB" /></font></td>
		<td align="center" width='150'> <font face="Arial, Verdana" size="1"><xsl:value-of select="FF_LONG_TERM_FUEL_TRIM_B2" />  </font></td>						
	</tr>
	<tr>
		<td align="left" width='250' bgcolor='#FFFFFF'> <font face="Arial, Verdana" size="1"><xsl:value-of select="FF_FUEL_PRESSURE_LAB" /></font></td>
		<td align="center" width='150'> <font face="Arial, Verdana" size="1"><xsl:value-of select="FF_FUEL_PRESSURE" /> </font> </td>								
		<td align="left" width='250' bgcolor='#FFFFFF'> <font face="Arial, Verdana" size="1"><xsl:value-of select="FF_INTAKE_MANIFOLD_PRESSURE_LAB" /></font></td>
		<td align="center" width='150'> <font face="Arial, Verdana" size="1"><xsl:value-of select="FF_INTAKE_MANIFOLD_PRESSURE" /> </font></td>						
	</tr>
	<tr>
		<td align="left" width='250' bgcolor='#FFFFFF'> <font face="Arial, Verdana" size="1"><xsl:value-of select="FF_ENGINE_RPM_LAB" /></font></td>
		<td align="center" width='150'> <font face="Arial, Verdana" size="1"><xsl:value-of select="FF_ENGINE_RPM" /> </font> </td>									
		<td align="left" width='250' bgcolor='#FFFFFF'> <font face="Arial, Verdana" size="1"><xsl:value-of select="FF_VEHICLE_SPEED_LAB" /></font></td>
		<td align="center" width='150'> <font face="Arial, Verdana" size="1"><xsl:value-of select="FF_VEHICLE_SPEED" />  </font></td>				
	</tr>
	</table>
	</xsl:for-each>
<!--  Freeze Frame End  -->
	</td></tr>	
	<tr><td>
<!-- Oxygen Sensor Start-->
	<xsl:for-each select="doc/OXYGEN_SENSOR">	
	<table border="0" cellpadding="0" cellspacing="0" bordercolor="#000000" bgcolor='#FFFFFF' width='640' align='center'>
	<tr>
		<td align='left'><b><font face="Arial, Verdana" size='2'><xsl:value-of select="TITLE_OXYGEN_SENSOR" /></font></b></td>
	</tr>
	</table>
	<table border="0" cellpadding="2" cellspacing="0" bordercolor="#000000" align='center' width='640'>
	<tr>
		<td align="left"     width='440'> <font face="Arial, Verdana" size="1"><b><xsl:value-of select="TITLE_LAB" /></b></font></td>
		<td align="center" width='50' > <font face="Arial, Verdana" size="1"><b><xsl:value-of select="TITLE_VAL" /></b></font></td>
		<td align="center" width='50' > <font face="Arial, Verdana" size="1"><b><xsl:value-of select="TITLE_MIN" /></b></font></td>
		<td align="center" width='50' > <font face="Arial, Verdana" size="1"><b><xsl:value-of select="TITLE_MAX" /></b></font></td>
		<td align="center" width='50' > <font face="Arial, Verdana" size="1"><b><xsl:value-of select="TITLE_UNI" /></b></font></td>
	</tr>
	<tr>
		<td align="left"     width='440'> <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST0_LAB" /></font></td>
		<td align="center" width='50' > <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST0_VAL" /> </font></td>
		<td align="center" width='50' > <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST0_MIN" /></font></td>
		<td align="center" width='50' > <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST0_MAX" /> </font></td>
		<td align="center" width='50' > <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST0_UNI" /> </font></td>
	</tr>
	<tr>
		<td align="left"     width='440'> <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST1_LAB" /></font></td>
		<td align="center" width='50' > <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST1_VAL" /> </font></td>
		<td align="center" width='50' > <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST1_MIN" /></font></td>
		<td align="center" width='50' > <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST1_MAX" /> </font></td>
		<td align="center" width='50' > <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST1_UNI" /> </font></td>
	</tr>
	<tr>
		<td align="left"     width='440'> <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST2_LAB" /></font></td>
		<td align="center" width='50' > <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST2_VAL" /> </font></td>
		<td align="center" width='50' > <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST2_MIN" /></font></td>
		<td align="center" width='50' > <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST2_MAX" /> </font></td>
		<td align="center" width='50' > <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST2_UNI" /> </font></td>
	</tr>
	<tr>
		<td align="left"     width='440'> <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST3_LAB" /></font></td>
		<td align="center" width='50' > <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST3_VAL" /> </font></td>
		<td align="center" width='50' > <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST3_MIN" /></font></td>
		<td align="center" width='50' > <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST3_MAX" /> </font></td>
		<td align="center" width='50' > <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST3_UNI" /> </font></td>
	</tr>
	<tr>
		<td align="left"     width='440'> <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST4_LAB" /></font></td>
		<td align="center" width='50' > <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST4_VAL" /> </font></td>
		<td align="center" width='50' > <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST4_MIN" /></font></td>
		<td align="center" width='50' > <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST4_MAX" /> </font></td>
		<td align="center" width='50' > <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST4_UNI" /> </font></td>
	</tr>
	<tr>
		<td align="left"     width='440'> <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST5_LAB" /></font></td>
		<td align="center" width='50' > <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST5_VAL" /> </font></td>
		<td align="center" width='50' > <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST5_MIN" /></font></td>
		<td align="center" width='50' > <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST5_MAX" /> </font></td>
		<td align="center" width='50' > <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST5_UNI" /> </font></td>
	</tr>
	<tr>
		<td align="left"     width='440'> <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST6_LAB" /></font></td>
		<td align="center" width='50' > <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST6_VAL" /> </font></td>
		<td align="center" width='50' > <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST6_MIN" /></font></td>
		<td align="center" width='50' > <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST6_MAX" /> </font></td>
		<td align="center" width='50' > <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST6_UNI" /> </font></td>
	</tr>
	<tr>
		<td align="left"     width='440'> <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST7_LAB" /></font></td>
		<td align="center" width='50' > <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST7_VAL" /> </font></td>
		<td align="center" width='50' > <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST7_MIN" /></font></td>
		<td align="center" width='50' > <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST7_MAX" /> </font></td>
		<td align="center" width='50' > <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST7_UNI" /> </font></td>
	</tr>
	<tr>
		<td align="left"     width='440'> <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST8_LAB" /></font></td>
		<td align="center" width='50' > <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST8_VAL" /> </font></td>
		<td align="center" width='50' > <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST8_MIN" /></font></td>
		<td align="center" width='50' > <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST8_MAX" /> </font></td>
		<td align="center" width='50' > <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST8_UNI" /> </font></td>
	</tr>
	<tr>
		<td align="left"     width='440'> <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST9_LAB" /></font></td>
		<td align="center" width='50' > <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST9_VAL" /> </font></td>
		<td align="center" width='50' > <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST9_MIN" /></font></td>
		<td align="center" width='50' > <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST9_MAX" /> </font></td>
		<td align="center" width='50' > <font face="Arial, Verdana" size="1"><xsl:value-of select="TEST9_UNI" /> </font></td>
	</tr>
	</table>
	</xsl:for-each>
<!--  Oxygeb Sensor End  -->
	</td></tr>	
	<tr><td>
<!-- MONITORED TEST RESULTS Start -->
	<xsl:for-each select="doc/MONITORED_TEST_RESULTS" >
	<table border="0" cellpadding="0" cellspacing="0" bordercolor="#000000" bgcolor='#FFFFFF' width='640' align='center'>
	<tr>
		<td align='left'><b><font face="Arial, Verdana" size='2'><xsl:value-of select="TITLE_MONITORED_TEST_RESULTS" /></font></b></td>
	</tr>
	</table>
	<table border="0" cellpadding="0" cellspacing="0" bordercolor="#000000" bgcolor='#FFFFFF' width='640' align='center'>
	<tr>
		<td align='center' width='20' ><b><font face="Arial, Verdana" size='2'><xsl:value-of select="TITLE_TID" /></font></b></td>
		<td align='center' width='20' ><b><font face="Arial, Verdana" size='2'><xsl:value-of select="TITLE_MID" /></font></b></td>
		<td align='left' width='200' ><b><font face="Arial, Verdana" size='2'><xsl:value-of select="TITLE_DESCRIPTION" /></font></b></td>
		<td align='center' width='70' ><b><font face="Arial, Verdana" size='2'><xsl:value-of select="TITLE_VALUE" /></font></b></td>
		<td align='center' width='70' ><b><font face="Arial, Verdana" size='2'><xsl:value-of select="TITLE_MINVALUE" /></font></b></td>
		<td align='center' width='70' ><b><font face="Arial, Verdana" size='2'><xsl:value-of select="TITLE_MAXVALUE" /></font></b></td>
		<td align='center' width='70' ><b><font face="Arial, Verdana" size='2'><xsl:value-of select="TITLE_UNITS" /></font></b></td>
		<td align='center' width='70' ><b><font face="Arial, Verdana" size='2'><xsl:value-of select="TITLE_RESULT" /></font></b></td>
	</tr>
	</table>
	</xsl:for-each>
	<xsl:for-each select="doc/MONITORED_TEST_RESULTS_DATA" >
	<table border="0" cellpadding="2" cellspacing="0" align='center' width='640'>
	<tr>
		<td align="center" width='20' > <font face="Arial, Verdana" size="1"><xsl:value-of select="TID" /> </font></td>
		<td align="center" width='20' > <font face="Arial, Verdana" size="1"><xsl:value-of select="MID" /> </font></td>
		<td align="left" width='200' > <font face="Arial, Verdana" size="1"><xsl:value-of select="DESCRIPTION" /> </font></td>
		<td align="center" width='70' > <font face="Arial, Verdana" size="1"><xsl:value-of select="VALUE" /> </font></td>
		<td align="center" width='70' > <font face="Arial, Verdana" size="1"><xsl:value-of select="MINVALUE" /> </font></td>
		<td align="center" width='70' > <font face="Arial, Verdana" size="1"><xsl:value-of select="MAXVALUE" /> </font></td>
		<td align="center" width='70' > <font face="Arial, Verdana" size="1"><xsl:value-of select="UNITS" /> </font></td>
		<td align="center" width='70' > <font face="Arial, Verdana" size="1"><xsl:value-of select="RESULT" /> </font></td>
	</tr>
	</table>
	</xsl:for-each>
<!--  MONITORED TEST RESULTS End  -->

	</td></tr>	
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>