View stylesheet

XML schemas http://water.eionet.europa.eu/schemas/dir200060ec/GWB_3p0.xsd
Output type HTML
Description HTML Factsheet
XSL file GWB_3p0.xslt (Last modified: 22 Oct 2009 20:44 )
<?xml version="1.0" encoding="UTF-8"?>
<!--Designed and generated by Altova StyleVision Professional Edition 2009 sp1 - see http://www.altova.com/stylevision for more information.-->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:n1="http://water.eionet.europa.eu/schemas/dir200060ec" xmlns:wfd="http://water.eionet.europa.eu/schemas/dir200060ec/wfdcommon" xmlns:xbrldi="http://xbrl.org/2006/xbrldi" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:xdt="http://www.w3.org/2005/xpath-datatypes" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:altova="http://www.altova.com" exclude-result-prefixes="dc fn link n1 wfd xbrldi xbrli xdt xlink xs xsi">
	<xsl:output version="4.0" method="html" indent="no" encoding="UTF-8" doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" doctype-system="http://www.w3.org/TR/html4/loose.dtd"/>
	<xsl:param name="SV_OutputFormat" select="'HTML'"/>
	<xsl:variable name="XML" select="/"/>
	<xsl:template match="/">
		<html>
			<head>
				<title/>
				<style type="text/css">
					<xsl:comment>body { font-family:Arial;
 }
 table { border-width:0;
font-size:medium;
vertical-align:top;
 }
 th { background-color:#dbdbdb;
border-width:0;
font-size:small;
text-align:left;
vertical-align:top;
 }
 td { border-width:0;
font-size:smaller;
text-align:left;
vertical-align:top;
 }
 h1 { color:#003399;
font-family:Arial;
font-size:xx-large;
font-weight:bold;
 }
 h2 { color:#003399;
font-family:Arial;
font-size:large;
text-decoration:underline;
 }
 h3 { color:#003399;
font-family:Arial;
font-size:medium;
 }
 h4 { color:#003399;
font-family:Arial;
font-size:small;
 }
 .tov1 { font-family:Arial;
font-size:larger;
font-weight:bold;
 }
 .tov2 { font-family:Arial;
font-size:large;
 }
 .section { page-break-after:always;
 }
 .content { font-size:small;
 }
 .subtitle { font-size:small;
font-weight:bold;
 }
 p { font-size:smaller;
 }</xsl:comment>
				</style>
			</head>
			<body style="margin-left=0.6in; margin-right=0.6in; margin-top=0.79in; margin-bottom=0.79in">
				<br/>
				<xsl:for-each select="$XML">
					<br/>
					<div class="section">
						<h1>
							<span>
								<xsl:text>Ground water bodies for </xsl:text>
							</span>
							<xsl:for-each select="n1:GroundWaterBodies">
								<xsl:for-each select="n1:C_CD">
									<xsl:apply-templates/>
								</xsl:for-each>
							</xsl:for-each>
						</h1>
						<h2>
							<span style="text-decoration:underline; ">
								<xsl:text>XML File details</xsl:text>
							</span>
						</h2>
						<table border="1">
							<xsl:variable name="altova:CurrContextGrid_077D34A0" select="."/>
							<tbody>
								<tr>
									<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
										<span>
											<xsl:text>CreationDate</xsl:text>
										</span>
									</th>
									<xsl:for-each select="n1:GroundWaterBodies">
										<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
											<xsl:for-each select="@CreationDate">
												<span>
													<xsl:value-of select="string(.)"/>
												</span>
											</xsl:for-each>
										</td>
									</xsl:for-each>
								</tr>
								<tr>
									<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
										<span>
											<xsl:text>Creator</xsl:text>
										</span>
									</th>
									<xsl:for-each select="n1:GroundWaterBodies">
										<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
											<xsl:for-each select="@Creator">
												<span>
													<xsl:value-of select="string(.)"/>
												</span>
											</xsl:for-each>
										</td>
									</xsl:for-each>
								</tr>
								<tr>
									<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
										<span>
											<xsl:text>Email</xsl:text>
										</span>
									</th>
									<xsl:for-each select="n1:GroundWaterBodies">
										<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
											<xsl:for-each select="@Email">
												<span>
													<xsl:value-of select="string(.)"/>
												</span>
											</xsl:for-each>
										</td>
									</xsl:for-each>
								</tr>
								<tr>
									<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
										<span>
											<xsl:text>Description</xsl:text>
										</span>
									</th>
									<xsl:for-each select="n1:GroundWaterBodies">
										<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
											<xsl:for-each select="@Description">
												<span>
													<xsl:value-of select="string(.)"/>
												</span>
											</xsl:for-each>
										</td>
									</xsl:for-each>
								</tr>
								<tr>
									<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
										<span>
											<xsl:text>GeneratedBy</xsl:text>
										</span>
									</th>
									<xsl:for-each select="n1:GroundWaterBodies">
										<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
											<xsl:for-each select="@GeneratedBy">
												<span>
													<xsl:value-of select="string(.)"/>
												</span>
											</xsl:for-each>
										</td>
									</xsl:for-each>
								</tr>
								<tr>
									<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
										<span>
											<xsl:text>MD_ClassificationCode</xsl:text>
										</span>
									</th>
									<xsl:for-each select="n1:GroundWaterBodies">
										<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
											<xsl:for-each select="@MD_ClassificationCode">
												<span>
													<xsl:value-of select="string(.)"/>
												</span>
											</xsl:for-each>
										</td>
									</xsl:for-each>
								</tr>
								<tr>
									<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
										<span>
											<xsl:text>C_CD</xsl:text>
										</span>
									</th>
									<xsl:for-each select="n1:GroundWaterBodies">
										<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
											<xsl:for-each select="n1:C_CD">
												<xsl:apply-templates/>
											</xsl:for-each>
										</td>
									</xsl:for-each>
								</tr>
								<tr>
									<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
										<span>
											<xsl:text>EURBDCode</xsl:text>
										</span>
									</th>
									<xsl:for-each select="n1:GroundWaterBodies">
										<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
											<xsl:for-each select="n1:EURBDCode">
												<xsl:apply-templates/>
											</xsl:for-each>
										</td>
									</xsl:for-each>
								</tr>
								<tr>
									<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
										<span>
											<xsl:text>METADATA</xsl:text>
										</span>
									</th>
									<xsl:for-each select="n1:GroundWaterBodies">
										<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
											<xsl:for-each select="n1:METADATA">
												<xsl:apply-templates/>
											</xsl:for-each>
										</td>
									</xsl:for-each>
								</tr>
								<tr>
									<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
										<span>
											<xsl:text>URL</xsl:text>
										</span>
									</th>
									<xsl:for-each select="n1:GroundWaterBodies">
										<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
											<xsl:for-each select="n1:URL">
												<xsl:apply-templates/>
											</xsl:for-each>
										</td>
									</xsl:for-each>
								</tr>
							</tbody>
						</table>
						<br/>
						<br/>
						<div>
							<h1>
								<span>
									<xsl:text>Contents</xsl:text>
								</span>
							</h1>
							<a>
								<xsl:choose>
									<xsl:when test="substring(string(&apos;#1&apos;), 1, 1) = '#'">
										<xsl:attribute name="href">
											<xsl:value-of select="&apos;#1&apos;"/>
										</xsl:attribute>
									</xsl:when>
									<xsl:otherwise>
										<xsl:attribute name="href">
											<xsl:if test="substring(string(&apos;#1&apos;), 2, 1) = ':'">
												<xsl:text>file:///</xsl:text>
											</xsl:if>
											<xsl:value-of select="translate(string(&apos;#1&apos;), '&#x5c;', '/')"/>
										</xsl:attribute>
									</xsl:otherwise>
								</xsl:choose>
								<span>
									<xsl:text>1. Ground Water bodies overview</xsl:text>
								</span>
							</a>
							<br/>
							<a>
								<xsl:choose>
									<xsl:when test="substring(string(&apos;#2&apos;), 1, 1) = '#'">
										<xsl:attribute name="href">
											<xsl:value-of select="&apos;#2&apos;"/>
										</xsl:attribute>
									</xsl:when>
									<xsl:otherwise>
										<xsl:attribute name="href">
											<xsl:if test="substring(string(&apos;#2&apos;), 2, 1) = ':'">
												<xsl:text>file:///</xsl:text>
											</xsl:if>
											<xsl:value-of select="translate(string(&apos;#2&apos;), '&#x5c;', '/')"/>
										</xsl:attribute>
									</xsl:otherwise>
								</xsl:choose>
								<span>
									<xsl:text>2. Ground water bodies details</xsl:text>
								</span>
							</a>
							<br/>
							<br/>
						</div>
						<br/>
						<br/>
					</div>
					<div class="section">
						<div class="section">
							<h1>
								<a>
									<xsl:attribute name="name">
										<xsl:value-of select="&apos;1&apos;"/>
									</xsl:attribute>
								</a>
								<span>
									<xsl:text>1. Ground Water bodies overview</xsl:text>
								</span>
							</h1>
							<table border="1">
								<xsl:variable name="altova:CurrContextGrid_0448E508" select="."/>
								<thead>
									<tr>
										<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; "/>
										<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
											<span>
												<xsl:text>EUGroundWaterBodyCode</xsl:text>
											</span>
										</th>
										<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
											<span>
												<xsl:text>GWB_MS_CD</xsl:text>
											</span>
										</th>
										<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
											<span>
												<xsl:text>LAT</xsl:text>
											</span>
										</th>
										<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
											<span>
												<xsl:text>LON</xsl:text>
											</span>
										</th>
										<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
											<span>
												<xsl:text>GWB_NAME</xsl:text>
											</span>
										</th>
										<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
											<span>
												<xsl:text>OUT_OF_RBD</xsl:text>
											</span>
										</th>
										<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
											<span>
												<xsl:text>TRANSBOUNDARY</xsl:text>
											</span>
										</th>
										<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
											<span>
												<xsl:text>METADATA</xsl:text>
											</span>
										</th>
										<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
											<span>
												<xsl:text>URL</xsl:text>
											</span>
										</th>
									</tr>
								</thead>
								<tbody>
									<xsl:for-each select="n1:GroundWaterBodies">
										<xsl:for-each select="n1:GroundWaterBody">
											<tr>
												<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
													<a>
														<xsl:choose>
															<xsl:when test="substring(string(concat(&apos;#&apos;,n1:EUGroundWaterBodyCode)), 1, 1) = '#'">
																<xsl:attribute name="href">
																	<xsl:value-of select="concat(&apos;#&apos;,n1:EUGroundWaterBodyCode)"/>
																</xsl:attribute>
															</xsl:when>
															<xsl:otherwise>
																<xsl:attribute name="href">
																	<xsl:if test="substring(string(concat(&apos;#&apos;,n1:EUGroundWaterBodyCode)), 2, 1) = ':'">
																		<xsl:text>file:///</xsl:text>
																	</xsl:if>
																	<xsl:value-of select="translate(string(concat(&apos;#&apos;,n1:EUGroundWaterBodyCode)), '&#x5c;', '/')"/>
																</xsl:attribute>
															</xsl:otherwise>
														</xsl:choose>
														<span>
															<xsl:value-of select="position()"/>
														</span>
													</a>
												</td>
												<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
													<xsl:for-each select="n1:EUGroundWaterBodyCode">
														<xsl:apply-templates/>
													</xsl:for-each>
												</td>
												<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
													<xsl:for-each select="n1:GWB_MS_CD">
														<xsl:apply-templates/>
													</xsl:for-each>
												</td>
												<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
													<xsl:for-each select="n1:LAT">
														<xsl:apply-templates/>
													</xsl:for-each>
												</td>
												<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
													<xsl:for-each select="n1:LON">
														<xsl:apply-templates/>
													</xsl:for-each>
												</td>
												<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
													<xsl:for-each select="n1:GWB_NAME">
														<xsl:apply-templates/>
													</xsl:for-each>
												</td>
												<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
													<xsl:for-each select="n1:OUT_OF_RBD">
														<xsl:apply-templates/>
													</xsl:for-each>
												</td>
												<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
													<xsl:for-each select="n1:TRANSBOUNDARY">
														<xsl:apply-templates/>
													</xsl:for-each>
												</td>
												<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
													<xsl:for-each select="n1:METADATA">
														<xsl:apply-templates/>
													</xsl:for-each>
												</td>
												<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
													<xsl:for-each select="n1:URL">
														<xsl:apply-templates/>
													</xsl:for-each>
												</td>
											</tr>
										</xsl:for-each>
									</xsl:for-each>
								</tbody>
							</table>
						</div>
					</div>
					<br/>
					<br/>
					<h1>
						<a>
							<xsl:attribute name="name">
								<xsl:value-of select="&apos;2&apos;"/>
							</xsl:attribute>
						</a>
						<span>
							<xsl:text>2. Ground water bodies details</xsl:text>
						</span>
					</h1>
					<div class="section">
						<xsl:for-each select="n1:GroundWaterBodies">
							<xsl:for-each select="n1:GroundWaterBody">
								<br/>
								<br/>
								<h2>
									<a>
										<xsl:attribute name="name">
											<xsl:value-of select="n1:EUGroundWaterBodyCode"/>
										</xsl:attribute>
									</a>
									<span>
										<xsl:value-of select="position()"/>
									</span>
									<span>
										<xsl:text>. </xsl:text>
									</span>
									<xsl:for-each select="n1:EUGroundWaterBodyCode">
										<xsl:apply-templates/>
									</xsl:for-each>
								</h2>
								<br/>
								<table border="1">
									<xsl:variable name="altova:CurrContextGrid_078420C0" select="."/>
									<tbody>
										<tr>
											<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
												<span>
													<xsl:text>EUGroundWaterBodyCode</xsl:text>
												</span>
											</th>
											<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
												<xsl:for-each select="n1:EUGroundWaterBodyCode">
													<xsl:apply-templates/>
												</xsl:for-each>
											</td>
										</tr>
										<tr>
											<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
												<span>
													<xsl:text>GWB_MS_CD</xsl:text>
												</span>
											</th>
											<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
												<xsl:for-each select="n1:GWB_MS_CD">
													<xsl:apply-templates/>
												</xsl:for-each>
											</td>
										</tr>
										<tr>
											<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
												<span>
													<xsl:text>LAT</xsl:text>
												</span>
											</th>
											<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
												<xsl:for-each select="n1:LAT">
													<xsl:apply-templates/>
												</xsl:for-each>
											</td>
										</tr>
										<tr>
											<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
												<span>
													<xsl:text>LON</xsl:text>
												</span>
											</th>
											<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
												<xsl:for-each select="n1:LON">
													<xsl:apply-templates/>
												</xsl:for-each>
											</td>
										</tr>
										<tr>
											<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
												<span>
													<xsl:text>GWB_NAME</xsl:text>
												</span>
											</th>
											<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
												<xsl:for-each select="n1:GWB_NAME">
													<xsl:apply-templates/>
												</xsl:for-each>
											</td>
										</tr>
										<tr>
											<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
												<span>
													<xsl:text>OUT_OF_RBD</xsl:text>
												</span>
											</th>
											<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
												<xsl:for-each select="n1:OUT_OF_RBD">
													<xsl:apply-templates/>
												</xsl:for-each>
											</td>
										</tr>
										<tr>
											<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
												<span>
													<xsl:text>TRANSBOUNDARY</xsl:text>
												</span>
											</th>
											<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
												<xsl:for-each select="n1:TRANSBOUNDARY">
													<xsl:apply-templates/>
												</xsl:for-each>
											</td>
										</tr>
										<tr>
											<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
												<span>
													<xsl:text>METADATA</xsl:text>
												</span>
											</th>
											<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
												<xsl:for-each select="n1:METADATA">
													<xsl:apply-templates/>
												</xsl:for-each>
											</td>
										</tr>
										<tr>
											<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
												<span>
													<xsl:text>URL</xsl:text>
												</span>
											</th>
											<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
												<xsl:for-each select="n1:URL">
													<xsl:apply-templates/>
												</xsl:for-each>
											</td>
										</tr>
									</tbody>
								</table>
								<br/>
								<br/>
								<h3>
									<span>
										<xsl:text>Hydrogelogical characteristics</xsl:text>
									</span>
								</h3>
								<table border="1">
									<xsl:variable name="altova:CurrContextGrid_07BD85C0" select="."/>
									<tbody>
										<tr>
											<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
												<span>
													<xsl:text>Layered</xsl:text>
												</span>
											</th>
											<xsl:for-each select="n1:HydrogeologicalCharacteristics">
												<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
													<xsl:for-each select="n1:Layered">
														<xsl:apply-templates/>
													</xsl:for-each>
												</td>
											</xsl:for-each>
										</tr>
										<tr>
											<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
												<span>
													<xsl:text>AREA</xsl:text>
												</span>
											</th>
											<xsl:for-each select="n1:HydrogeologicalCharacteristics">
												<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
													<xsl:for-each select="n1:AREA">
														<xsl:apply-templates/>
													</xsl:for-each>
												</td>
											</xsl:for-each>
										</tr>
										<tr>
											<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
												<span>
													<xsl:text>Scale</xsl:text>
												</span>
											</th>
											<xsl:for-each select="n1:HydrogeologicalCharacteristics">
												<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
													<xsl:for-each select="n1:Scale">
														<xsl:apply-templates/>
													</xsl:for-each>
												</td>
											</xsl:for-each>
										</tr>
										<tr>
											<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
												<span>
													<xsl:text>ScaleExplanation</xsl:text>
												</span>
											</th>
											<xsl:for-each select="n1:HydrogeologicalCharacteristics">
												<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
													<xsl:for-each select="n1:ScaleExplanation">
														<xsl:apply-templates/>
													</xsl:for-each>
												</td>
											</xsl:for-each>
										</tr>
										<tr>
											<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
												<span>
													<xsl:text>AverageDepth</xsl:text>
												</span>
											</th>
											<xsl:for-each select="n1:HydrogeologicalCharacteristics">
												<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
													<xsl:for-each select="n1:AverageDepth">
														<xsl:apply-templates/>
													</xsl:for-each>
												</td>
											</xsl:for-each>
										</tr>
										<tr>
											<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
												<span>
													<xsl:text>AverageThickness</xsl:text>
												</span>
											</th>
											<xsl:for-each select="n1:HydrogeologicalCharacteristics">
												<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
													<xsl:for-each select="n1:AverageThickness">
														<xsl:apply-templates/>
													</xsl:for-each>
												</td>
											</xsl:for-each>
										</tr>
										<tr>
											<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
												<span>
													<xsl:text>DepthRange</xsl:text>
												</span>
											</th>
											<xsl:for-each select="n1:HydrogeologicalCharacteristics">
												<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
													<xsl:for-each select="n1:DepthRange">
														<xsl:apply-templates/>
													</xsl:for-each>
												</td>
											</xsl:for-each>
										</tr>
										<tr>
											<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
												<span>
													<xsl:text>LinkSurfaceWaterBodies</xsl:text>
												</span>
											</th>
											<xsl:for-each select="n1:HydrogeologicalCharacteristics">
												<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
													<xsl:for-each select="n1:LinkSurfaceWaterBodies">
														<xsl:apply-templates/>
													</xsl:for-each>
												</td>
											</xsl:for-each>
										</tr>
										<tr>
											<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
												<span>
													<xsl:text>LinkTerrestrialEcosystems</xsl:text>
												</span>
											</th>
											<xsl:for-each select="n1:HydrogeologicalCharacteristics">
												<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
													<xsl:for-each select="n1:LinkTerrestrialEcosystems">
														<xsl:apply-templates/>
													</xsl:for-each>
												</td>
											</xsl:for-each>
										</tr>
										<tr>
											<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
												<span>
													<xsl:text>GeologicalFormation</xsl:text>
												</span>
											</th>
											<xsl:for-each select="n1:HydrogeologicalCharacteristics">
												<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
													<xsl:for-each select="n1:GeologicalFormation">
														<xsl:apply-templates/>
													</xsl:for-each>
												</td>
											</xsl:for-each>
										</tr>
										<tr>
											<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
												<span>
													<xsl:text>VerticalOrientation</xsl:text>
												</span>
											</th>
											<xsl:for-each select="n1:HydrogeologicalCharacteristics">
												<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
													<xsl:for-each select="n1:VerticalOrientation">
														<xsl:apply-templates/>
													</xsl:for-each>
												</td>
											</xsl:for-each>
										</tr>
										<tr>
											<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
												<span>
													<xsl:text>CAPACITY</xsl:text>
												</span>
											</th>
											<xsl:for-each select="n1:HydrogeologicalCharacteristics">
												<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
													<xsl:for-each select="n1:CAPACITY">
														<xsl:apply-templates/>
													</xsl:for-each>
												</td>
											</xsl:for-each>
										</tr>
									</tbody>
								</table>
								<br/>
								<h3>
									<span>
										<xsl:text>Pressures and Impacts</xsl:text>
									</span>
								</h3>
								<div class="content">
									<div class="subtitle">
										<span>
											<xsl:text>Significant pressure types:</xsl:text>
										</span>
									</div>
									<ul>
										<xsl:for-each select="n1:PressuresAndImpacts">
											<xsl:for-each select="n1:SignificantPresureTypes">
												<li>
													<xsl:apply-templates/>
												</li>
											</xsl:for-each>
										</xsl:for-each>
									</ul>
									<br/>
									<div class="subtitle">
										<span>
											<xsl:text>Other pressure description:</xsl:text>
										</span>
									</div>
									<ul>
										<xsl:for-each select="n1:PressuresAndImpacts">
											<xsl:for-each select="n1:OtherPressureDescription">
												<li>
													<xsl:apply-templates/>
												</li>
											</xsl:for-each>
										</xsl:for-each>
									</ul>
									<br/>
									<div class="subtitle">
										<span>
											<xsl:text>Significant Impact Types:</xsl:text>
										</span>
									</div>
									<ul>
										<xsl:for-each select="n1:PressuresAndImpacts">
											<xsl:for-each select="n1:SignificantImpactTypes">
												<li>
													<xsl:apply-templates/>
												</li>
											</xsl:for-each>
										</xsl:for-each>
									</ul>
									<br/>
									<div class="subtitle">
										<span>
											<xsl:text>Other impact description:</xsl:text>
										</span>
									</div>
									<ul>
										<xsl:for-each select="n1:PressuresAndImpacts">
											<xsl:for-each select="n1:OtherImpactDescription">
												<li>
													<xsl:apply-templates/>
												</li>
											</xsl:for-each>
										</xsl:for-each>
									</ul>
								</div>
								<br/>
								<h3>
									<span>
										<xsl:text>Ground water body status</xsl:text>
									</span>
								</h3>
								<xsl:for-each select="n1:GroundwaterBodyStatus">
									<h4>
										<span>
											<xsl:text>QuantitativeStatus</xsl:text>
										</span>
									</h4>
									<xsl:for-each select="n1:QuantitativeStatus">
										<div class="subtitle">
											<span>
												<xsl:text>Quantitative status value: </xsl:text>
											</span>
											<xsl:for-each select="n1:QuantitativeStatusValue">
												<xsl:apply-templates/>
											</xsl:for-each>
										</div>
										<br/>
										<div class="subtitle">
											<span>
												<xsl:text>Reasons for failure:</xsl:text>
											</span>
										</div>
										<div class="content">
											<ul>
												<xsl:for-each select="n1:ReasonsForFailure">
													<li>
														<xsl:apply-templates/>
													</li>
												</xsl:for-each>
											</ul>
										</div>
										<br/>
										<div class="subtitle">
											<span>
												<xsl:text>Good quantitative status exemption:</xsl:text>
											</span>
										</div>
										<div class="content">
											<ul>
												<xsl:for-each select="n1:GoodQuantitativeStatusExemption">
													<li>
														<xsl:apply-templates/>
													</li>
												</xsl:for-each>
											</ul>
										</div>
										<div class="subtitle">
											<span>
												<xsl:text>Good quantitative status exemption explanation:</xsl:text>
											</span>
										</div>
										<xsl:for-each select="n1:GoodQuantitativeStatusExemptionComment">
											<p>
												<xsl:apply-templates/>
											</p>
										</xsl:for-each>
									</xsl:for-each>
									<br/>
									<br/>
									<h4>
										<span>
											<xsl:text>ChemicalStatus</xsl:text>
										</span>
									</h4>
									<xsl:for-each select="n1:ChemicalStatus">
										<div class="subtitle">
											<span>
												<xsl:text>Chemical status value: </xsl:text>
											</span>
											<xsl:for-each select="n1:ChemicalStatusValue">
												<xsl:apply-templates/>
											</xsl:for-each>
										</div>
										<br/>
										<div class="subtitle">
											<span>
												<xsl:text>Reasons for failure:</xsl:text>
											</span>
										</div>
										<div class="content">
											<ul>
												<xsl:for-each select="n1:ReasonsForFailure">
													<li>
														<xsl:apply-templates/>
													</li>
												</xsl:for-each>
											</ul>
										</div>
										<br/>
										<div class="subtitle">
											<span>
												<xsl:text>Pollutants causing failure:</xsl:text>
											</span>
										</div>
										<ul>
											<xsl:for-each select="n1:PollutantsCausingFailure">
												<xsl:for-each select="n1:PollutantCausingFailure">
													<li>
														<div class="content">
															<xsl:apply-templates/>
														</div>
													</li>
												</xsl:for-each>
											</xsl:for-each>
										</ul>
										<div class="subtitle">
											<span>
												<xsl:text>Other relevant pollutant exceedance:</xsl:text>
											</span>
										</div>
										<br/>
										<table border="1">
											<xsl:variable name="altova:CurrContextGrid_07C336F0" select="."/>
											<thead>
												<tr>
													<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
														<span>
															<xsl:text>OtherRelevantPollutantCASNumber</xsl:text>
														</span>
													</th>
													<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
														<span>
															<xsl:text>OtherRelevantPollutantName</xsl:text>
														</span>
													</th>
												</tr>
											</thead>
											<tbody>
												<xsl:for-each select="n1:PollutantsCausingFailure">
													<xsl:for-each select="n1:OtherRelevantPollutantExceedance">
														<tr>
															<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
																<xsl:for-each select="n1:OtherRelevantPollutantCASNumber">
																	<xsl:apply-templates/>
																</xsl:for-each>
															</td>
															<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
																<xsl:for-each select="n1:OtherRelevantPollutantName">
																	<xsl:apply-templates/>
																</xsl:for-each>
															</td>
														</tr>
													</xsl:for-each>
												</xsl:for-each>
											</tbody>
										</table>
										<br/>
										<br/>
										<div class="subtitle">
											<span>
												<xsl:text>Chemical exemptions:</xsl:text>
											</span>
										</div>
										<xsl:for-each select="n1:ChemicalExemptions">
											<xsl:for-each select="n1:ChemicalExemption">
												<br/>
												<br/>
												<table border="1">
													<xsl:variable name="altova:CurrContextGrid_0813F760" select="."/>
													<thead>
														<tr>
															<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
																<span>
																	<xsl:text>ChemicalExemptionType</xsl:text>
																</span>
															</th>
															<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
																<span>
																	<xsl:text>PollutantCausingExemption</xsl:text>
																</span>
															</th>
															<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
																<span>
																	<xsl:text>OtherRelevantPollutantExemption</xsl:text>
																</span>
															</th>
															<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
																<span>
																	<xsl:text>ExemptionComment</xsl:text>
																</span>
															</th>
														</tr>
													</thead>
													<tbody>
														<tr>
															<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
																<xsl:for-each select="n1:ChemicalExemptionType">
																	<xsl:apply-templates/>
																</xsl:for-each>
															</td>
															<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
																<ul>
																	<xsl:for-each select="n1:PollutantCausingExemption">
																		<li>
																			<xsl:apply-templates/>
																		</li>
																	</xsl:for-each>
																</ul>
															</td>
															<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
																<table border="1">
																	<xsl:variable name="altova:CurrContextGrid_0997FDE0" select="."/>
																	<tbody>
																		<xsl:for-each select="n1:OtherRelevantPollutantExemption">
																			<tr>
																				<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
																					<xsl:for-each select="n1:OtherRelevantPollutantCASNumber">
																						<xsl:apply-templates/>
																					</xsl:for-each>
																				</td>
																				<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
																					<xsl:for-each select="n1:OtherRelevantPollutantName">
																						<xsl:apply-templates/>
																					</xsl:for-each>
																				</td>
																			</tr>
																		</xsl:for-each>
																	</tbody>
																</table>
															</td>
															<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
																<xsl:for-each select="n1:ExemptionComment">
																	<xsl:apply-templates/>
																</xsl:for-each>
															</td>
														</tr>
													</tbody>
												</table>
												<br/>
												<br/>
												<br/>
											</xsl:for-each>
										</xsl:for-each>
										<br/>
										<div class="subtitle">
											<span>
												<xsl:text>Natural background levels:</xsl:text>
											</span>
										</div>
										<br/>
										<table border="1">
											<xsl:variable name="altova:CurrContextGrid_0812C908" select="."/>
											<thead>
												<tr>
													<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
														<span>
															<xsl:text>BackgroundNaturalSubstancesIndicators</xsl:text>
														</span>
													</th>
													<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
														<span>
															<xsl:text>BackgroundOtherNaturalSubstances</xsl:text>
														</span>
													</th>
													<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
														<span>
															<xsl:text>ConcentrationLevel</xsl:text>
														</span>
													</th>
													<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
														<span>
															<xsl:text>ConcentrationUnits</xsl:text>
														</span>
													</th>
												</tr>
											</thead>
											<tbody>
												<xsl:for-each select="n1:NaturalBackgroundLevels">
													<xsl:for-each select="n1:NaturalBackgroundLevel">
														<tr>
															<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
																<xsl:for-each select="n1:BackgroundNaturalSubstancesIndicators">
																	<xsl:apply-templates/>
																</xsl:for-each>
															</td>
															<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
																<xsl:for-each select="n1:BackgroundOtherNaturalSubstances">
																	<xsl:apply-templates/>
																</xsl:for-each>
															</td>
															<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
																<xsl:for-each select="n1:ConcentrationLevel">
																	<xsl:apply-templates/>
																</xsl:for-each>
															</td>
															<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
																<xsl:for-each select="n1:ConcentrationUnits">
																	<xsl:apply-templates/>
																</xsl:for-each>
															</td>
														</tr>
													</xsl:for-each>
												</xsl:for-each>
											</tbody>
										</table>
										<br/>
										<br/>
									</xsl:for-each>
									<br/>
									<br/>
									<br/>
									<h4>
										<span>
											<xsl:text>Significant upward trends</xsl:text>
										</span>
									</h4>
									<xsl:for-each select="n1:SignificantUpwardTrends">
										<br/>
										<div class="subtitle">
											<span>
												<xsl:text>Pollutant/indicator of pollution is showing a significant and sustained upward trend: </xsl:text>
											</span>
											<xsl:for-each select="n1:UpwardTrend">
												<xsl:apply-templates/>
											</xsl:for-each>
										</div>
										<br/>
										<table border="1">
											<xsl:variable name="altova:CurrContextGrid_076EDF40" select="."/>
											<thead>
												<tr>
													<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
														<span>
															<xsl:text>Pollutant</xsl:text>
														</span>
													</th>
													<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
														<span>
															<xsl:text>OtherRelevantPollutant</xsl:text>
														</span>
													</th>
												</tr>
											</thead>
											<tbody>
												<xsl:for-each select="n1:UpwardTrendPollutant">
													<tr>
														<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
															<xsl:for-each select="n1:Pollutant">
																<xsl:apply-templates/>
															</xsl:for-each>
														</td>
														<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
															<table border="1">
																<xsl:variable name="altova:CurrContextGrid_080ED4A0" select="."/>
																<tbody>
																	<xsl:for-each select="n1:OtherRelevantPollutant">
																		<tr>
																			<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
																				<xsl:for-each select="n1:OtherRelevantPollutantCASNumber">
																					<xsl:apply-templates/>
																				</xsl:for-each>
																			</td>
																			<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
																				<xsl:for-each select="n1:OtherRelevantPollutantName">
																					<xsl:apply-templates/>
																				</xsl:for-each>
																			</td>
																		</tr>
																	</xsl:for-each>
																</tbody>
															</table>
														</td>
													</tr>
												</xsl:for-each>
											</tbody>
										</table>
										<br/>
										<div class="content">
											<span style="font-weight:bold; ">
												<xsl:text>Comment</xsl:text>
											</span>
											<span>
												<xsl:text>: </xsl:text>
											</span>
											<xsl:for-each select="n1:UpwardTrendComment">
												<xsl:apply-templates/>
											</xsl:for-each>
										</div>
										<br/>
									</xsl:for-each>
									<br/>
									<h4>
										<span>
											<xsl:text>Significant trend reversal</xsl:text>
										</span>
									</h4>
									<xsl:for-each select="n1:SignificantTrendReversal">
										<br/>
										<div class="subtitle">
											<span>
												<xsl:text>Pollutant/indicator of pollution is showing a trend reversal: </xsl:text>
											</span>
											<xsl:for-each select="n1:TrendReversal">
												<xsl:apply-templates/>
											</xsl:for-each>
										</div>
										<br/>
										<table border="1">
											<xsl:variable name="altova:CurrContextGrid_09A2EC30" select="."/>
											<thead>
												<tr>
													<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
														<span>
															<xsl:text>Pollutant</xsl:text>
														</span>
													</th>
													<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
														<span>
															<xsl:text>OtherRelevantPollutant</xsl:text>
														</span>
													</th>
												</tr>
											</thead>
											<tbody>
												<xsl:for-each select="n1:TrendReversalPollutant">
													<tr>
														<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
															<xsl:for-each select="n1:Pollutant">
																<xsl:apply-templates/>
															</xsl:for-each>
														</td>
														<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
															<table border="1">
																<xsl:variable name="altova:CurrContextGrid_07781DD0" select="."/>
																<tbody>
																	<xsl:for-each select="n1:OtherRelevantPollutant">
																		<tr>
																			<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
																				<xsl:for-each select="n1:OtherRelevantPollutantCASNumber">
																					<xsl:apply-templates/>
																				</xsl:for-each>
																			</td>
																			<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
																				<xsl:for-each select="n1:OtherRelevantPollutantName">
																					<xsl:apply-templates/>
																				</xsl:for-each>
																			</td>
																		</tr>
																	</xsl:for-each>
																</tbody>
															</table>
														</td>
													</tr>
												</xsl:for-each>
											</tbody>
										</table>
										<br/>
										<div class="content">
											<span style="font-weight:bold; ">
												<xsl:text>Comment</xsl:text>
											</span>
											<span>
												<xsl:text>: </xsl:text>
											</span>
											<xsl:for-each select="n1:TrendReversalComment">
												<xsl:apply-templates/>
											</xsl:for-each>
										</div>
										<br/>
									</xsl:for-each>
									<br/>
									<br/>
								</xsl:for-each>
								<br/>
								<h3>
									<span>
										<xsl:text>Status protected areas</xsl:text>
									</span>
								</h3>
								<xsl:for-each select="n1:StatusProtectedAreas">
									<br/>
									<div class="content">
										<span>
											<xsl:text>Is the Water Body associated with a Protected Area? </xsl:text>
										</span>
										<xsl:for-each select="n1:PROT_AREA_ASSOC">
											<xsl:apply-templates/>
										</xsl:for-each>
									</div>
									<br/>
									<table border="1">
										<xsl:variable name="altova:CurrContextGrid_092E94C0" select="."/>
										<thead>
											<tr>
												<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
													<span>
														<xsl:text>TypeOfProtectedArea</xsl:text>
													</span>
												</th>
												<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
													<span>
														<xsl:text>ProtectedAreaCode</xsl:text>
													</span>
												</th>
												<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
													<span>
														<xsl:text>TypeOfAssociation</xsl:text>
													</span>
												</th>
												<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
													<span>
														<xsl:text>ValueStatusProtectedArea</xsl:text>
													</span>
												</th>
												<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
													<span>
														<xsl:text>CommentValueStatusProtArea</xsl:text>
													</span>
												</th>
												<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
													<span>
														<xsl:text>ProtAreaExemptions</xsl:text>
													</span>
												</th>
												<th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
													<span>
														<xsl:text>ProtAreaExemptionComment</xsl:text>
													</span>
												</th>
											</tr>
										</thead>
										<tbody>
											<xsl:for-each select="n1:GWProtectedAreaDetails">
												<tr>
													<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
														<xsl:for-each select="n1:TypeOfProtectedArea">
															<xsl:apply-templates/>
														</xsl:for-each>
													</td>
													<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
														<ul>
															<xsl:for-each select="n1:ProtectedAreaCode">
																<li>
																	<xsl:apply-templates/>
																</li>
															</xsl:for-each>
														</ul>
													</td>
													<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
														<xsl:for-each select="n1:TypeOfAssociation">
															<xsl:apply-templates/>
														</xsl:for-each>
													</td>
													<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
														<xsl:for-each select="n1:ValueStatusProtectedArea">
															<xsl:apply-templates/>
														</xsl:for-each>
													</td>
													<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
														<xsl:for-each select="n1:CommentValueStatusProtArea">
															<xsl:apply-templates/>
														</xsl:for-each>
													</td>
													<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
														<ul>
															<xsl:for-each select="n1:ProtAreaExemptions">
																<li>
																	<xsl:apply-templates/>
																</li>
															</xsl:for-each>
														</ul>
													</td>
													<td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; ">
														<xsl:for-each select="n1:ProtAreaExemptionComment">
															<xsl:apply-templates/>
														</xsl:for-each>
													</td>
												</tr>
											</xsl:for-each>
										</tbody>
									</table>
									<br/>
									<br/>
								</xsl:for-each>
								<br/>
							</xsl:for-each>
						</xsl:for-each>
					</div>
					<br/>
					<br/>
					<br/>
				</xsl:for-each>
			</body>
		</html>
	</xsl:template>
</xsl:stylesheet>