<?xml version="1.0" encoding="UTF-8"?>
<!--Designed and generated by Altova StyleVision Enterprise Edition 2008 rel. 2 sp2 - see http://www.altova.com/stylevision for more information.-->
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:xdt="http://www.w3.org/2005/xpath-datatypes" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:altova="http://www.altova.com">
	<xsl:output version="4.0" method="html" indent="no" encoding="UTF-8"/>
	<xsl:param name="SV_OutputFormat" select="'HTML'"/>
	<xsl:variable name="XML" select="/"/>
	<xsl:template match="/">
		<html>
			<head>
				<title/>
			</head>
			<body>
				<xsl:for-each select="$XML">
					<span style="font-family:@Arial Unicode MS; font-size:large; ">
						<xsl:text>XML validation report</xsl:text>
					</span>
					<table style="border-collapse:collapse; empty-cells:show; table-layout:fixed; " border="1" width="900">
						<thead>
							<tr>
								<th width="320">
									<span>
										<xsl:text>File</xsl:text>
									</span>
								</th>
								<th width="50">
									<span>
										<xsl:text>Valid</xsl:text>
									</span>
								</th>
								<th width="130">
									<span>
										<xsl:text>Time</xsl:text>
									</span>
								</th>
								<th width="200">
									<span>
										<xsl:text>General result</xsl:text>
									</span>
								</th>
								<th width="200">
									<span>
										<xsl:text>Details</xsl:text>
									</span>
								</th>
							</tr>
						</thead>
						<tbody>
							<xsl:for-each select="log">
								<xsl:for-each select="batch_unit">
									<xsl:for-each select="file">
										<tr>
											<td valign="top" width="320">
												<xsl:for-each select="@path">
													<span>
														<xsl:value-of select="string(.)"/>
													</span>
												</xsl:for-each>
											</td>
											<td valign="top" width="50">
												<xsl:for-each select="@valid">
													<xsl:if test="string() = &apos;false&apos;">
														<span style="background-color:red; ">
															<xsl:value-of select="string(.)"/>
														</span>
													</xsl:if>
													<xsl:if test="string() = &apos;true&apos;">
														<span style="background-color:lime; ">
															<xsl:value-of select="string(.)"/>
														</span>
													</xsl:if>
												</xsl:for-each>
											</td>
											<td valign="top" width="130">
												<xsl:for-each select="@time">
													<span>
														<xsl:value-of select="string(.)"/>
													</span>
												</xsl:for-each>
											</td>
											<td style="empty-cells:show; " valign="top" width="200">
												<xsl:for-each select="general">
													<xsl:apply-templates/>
												</xsl:for-each>
											</td>
											<td style="color:black; " width="200">
												<xsl:for-each select="results">
													<xsl:for-each select="result">
														<xsl:for-each select="description">
															<p>
																<xsl:apply-templates/>
															</p>
														</xsl:for-each>
													</xsl:for-each>
												</xsl:for-each>
											</td>
										</tr>
									</xsl:for-each>
								</xsl:for-each>
							</xsl:for-each>
						</tbody>
					</table>
				</xsl:for-each>
			</body>
		</html>
	</xsl:template>
</xsl:stylesheet>
