View stylesheet

XML schemas http://wise2.jrc.it/wfdwebinterface/xmlschemas/RBD.xsd
Output type HTML
Description Simple HTML table (incomplete)
XSL file RBD_HTML-wise2.xsl (Last modified: 23 Jun 2008 15:22 )
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:wf="http://wise2.jrc.it">
	<xsl:output omit-xml-declaration="yes" encoding="UTF-8"/>
	<!-- Created by Yvonne Walker WRc plc 21/04/2005 for WFD 2005 Reporting -->
	<xsl:param name="code">we</xsl:param>
	<xsl:param name="flagpath">http://wise2.jrc.it/wfdview/images/flags/</xsl:param>
	<xsl:template match="/">
		<html>
			<head>
				<title>WFD 2005 Submission Report</title>
				<link rel="stylesheet" href="http://wise2.jrc.it/wfdwebinterface/xmlschemas/style.css" type="text/css"/>
			</head>
			<body>
				<xsl:apply-templates/>
			</body>
		</html>
	</xsl:template>
	<xsl:template match="wf:RiverBasinDistrict">
		<table width="600">
			<tbody>
				<tr>
					<td valign="top" align="left">
						<table>
							<tbody>
								<tr>
									<td valign="top" align="left">
										<h1>
										Water Framework Directive Article 5 Submission For
										<xsl:call-template name="Country">
												<xsl:with-param name="MS" select="wf:C_CD"/>
											</xsl:call-template>
										</h1>
									</td>
									<td valign="top" align="right" width="100">
										<image>
											<xsl:attribute name="src"><xsl:value-of select="$flagpath"/><xsl:value-of select="wf:C_CD"/><xsl:text>.gif</xsl:text></xsl:attribute>
											<xsl:attribute name="width">100</xsl:attribute>
											<xsl:attribute name="height">70</xsl:attribute>
										</image>
									</td>
								</tr>
							</tbody>
						</table>
						<div class="Section">
							<h2>River Basin District: <xsl:value-of select="wf:EU_CD"/>
							</h2>
							<table width="600">
								<tbody>
									<tr>
										<td class="table_header_left" width="300">European Code:</td>
										<td valign="top" align="left" width="300">
											<xsl:value-of select="wf:EU_CD"/>
										</td>
									</tr>
									<tr>
										<td class="table_header_left">Member State Code:></td>
										<td valign="top" align="left">
											<xsl:value-of select="wf:MS_CD"/>
										</td>
									</tr>
									<tr>
										<td class="table_header_left">Name:</td>
										<td valign="top" align="left">
											<xsl:value-of select="wf:Name"/>
										</td>
									</tr>
									<tr>
										<td class="table_header_left">Metadata:</td>
										<td valign="top" align="left">
											<xsl:value-of select="wf:METADATA"/>
										</td>
									</tr>
									<tr>
										<td class="table_header_left">URL to further information:</td>
										<td valign="top" align="left">
											<a>
												<xsl:attribute name="href"><xsl:value-of select="wf:URL"/></xsl:attribute>
												<xsl:value-of select="wf:URL"/>
											</a>
										</td>
									</tr>
								</tbody>
							</table>
						</div>
						<!-- SWB1 -->
						<div class="Section">
							<h3>
							Reporting Sheet SWB 1: Typology of Surface Water Bodies
						</h3>
							<xsl:apply-templates select="wf:SWB1"/>
						</div>
						<!-- SWB2 -->
						<div class="Section">
							<h3>
							Reporting Sheet SWB 2: Identification of Surface Water Bodies
						</h3>
							<xsl:apply-templates select="wf:SWB2"/>
						</div>
						<!-- SWB3 -->
						<div class="Section">
							<h3>
							Reporting Sheet SWB 3: Provisional identification of Artificial and Heavily Modified Water Bodies
						</h3>
							<xsl:apply-templates select="wf:SWB3"/>
						</div>
						<!--SWPI1 -->
						<div class="Section">
							<h3>
							Reporting Sheet SWPI 1: Summary of significant pressures on surface waters in the RBD. 
						</h3>
							<p>
							Each pressure should be assessed	according to importance within the RBD as Not Applicable, 
							Very Important, Important, Less Important or Unknown.
						</p>
							<xsl:apply-templates select="wf:SWPI1"/>
						</div>
						<!-- SWPI2 -->
						<div class="Section">
							<h3>
							Reporting Sheet SWPI 2: Identification of surface water bodies at Risk.
						</h3>
							<xsl:apply-templates select="wf:SWPI2"/>
						</div>
						<!-- SWPI3 -->
						<div class="Section">
							<h3>
							Reporting Sheet SWPI 3: Significant point source pollution on surface waters.
						</h3>
							<xsl:apply-templates select="wf:SWPI3"/>
						</div>
						<!-- SWPI4 -->
						<div class="Section">
							<h3>
									Reporting Sheet SWPI 4: Significant diffuse source pollution on surface waters.
								</h3>
							<xsl:apply-templates select="wf:SWPI4"/>
						</div>
						<!-- SWPI5 -->
						<div class="Section">
							<h3>
							Reporting Sheet SWPI 5: Significant water abstractions from surface water.
						</h3>
							<xsl:apply-templates select="wf:SWPI5"/>
						</div>
						<!-- SWPI6 -->
						<div class="Section">
							<h3>
							Reporting Sheet SWPI 6: Significant water flow regulations and morphological alterations.
						</h3>
							<xsl:apply-templates select="wf:SWPI6"/>
						</div>
						<!-- SWPI7 -->
						<div class="Section">
							<h3>
							Reporting Sheet SWPI 7: Assessment of the impacts on surface water bodies.
						</h3>
							<xsl:apply-templates select="wf:SWPI7"/>
						</div>
						<!-- SWPI8 -->
						<div class="Section">
							<h3>
							Reporting Sheet SWPI 8: Uncertainties and data gaps.
						</h3>
							<xsl:apply-templates select="wf:SWPI8"/>
						</div>
						<!-- SWPI9 -->
						<div class="Section">
							<h3>
							Reporting Sheet SWPI 9: Preliminary recommendations for surveillence monitoring.
						</h3>
							<xsl:apply-templates select="wf:SWPI9"/>
						</div>
						<!-- GWB1 -->
						<div class="Section">
							<h3>
							Reporting Sheet GWB 1: Identification / delineation of groundwater bodies.
						</h3>
							<xsl:apply-templates select="wf:GWB1"/>
						</div>
						<!-- GWPI1 -->
						<div class="Section">
							<h3>
							Reporting Sheet GWPI 1:  Summary of significant pressures on groundwaters in the RBD. 
						</h3>
							<p>
							Each pressure should be assessed according to importance within the RBD as Not Applicable, 
							Very Important, Important, Less Important or Unknown. 
						</p>
							<xsl:apply-templates select="wf:GWPI1"/>
						</div>
						<!-- GWPI2 -->
						<div class="Section">
							<h3>
							Reporting Sheet GWPI 2: Identification of ground water bodies at Risk. 
						</h3>
							<xsl:apply-templates select="wf:GWPI2"/>
						</div>
						<!-- GWPI3 -->
						<div class="Section">
							<h3>
							Reporting Sheet GWPI 3: Significant diffuse source pollution in groundwater. 
						</h3>
							<xsl:apply-templates select="wf:GWPI3"/>
						</div>
						<!-- GWPI4 -->
						<div class="Section">
							<h3>
							Reporting Sheet GWPI 4: Significant point source pollution in groundwater. 
						</h3>
							<xsl:apply-templates select="wf:GWPI4"/>
						</div>
						<!-- GWPI5 -->
						<div class="Section">
							<h3>
							Reporting Sheet GWPI 5: Significant groundwater abstractions. 
						</h3>
							<xsl:apply-templates select="wf:GWPI5"/>
						</div>
						<!-- GWPI6 -->
						<div class="Section">
							<h3>
							Reporting Sheet GWPI 6: Significant artificial groundwater recharge. 
						</h3>
							<xsl:apply-templates select="wf:GWPI6"/>
						</div>
						<!-- GWPI7 -->
						<div class="Section">
							<h3>
							Reporting Sheet GWPI 7: Significant saltwater or other intrusion. 
						</h3>
							<xsl:apply-templates select="wf:GWPI7"/>
						</div>
						<!-- GWPI8 -->
						<div class="Section">
							<h3>
							Reporting Sheet GWPI 8: Assessment of the human impacts on ground water bodies
						</h3>
							<xsl:apply-templates select="wf:GWPI8"/>
						</div>
						<!-- GWPI10 -->
						<div class="Section">
							<h3>
							Reporting Sheet GWPI 10: Uncertainties and data gaps. 
						</h3>
							<xsl:apply-templates select="wf:GWPI10"/>
						</div>
						<!-- GWPI11 -->
						<div class="Section">
							<h3>
							Reporting Sheet GWPI 11: Recommendations for monitoring
						</h3>
							<xsl:apply-templates select="wf:GWPI11"/>
						</div>
						<!-- ECO1 -->
						<div class="Section">
							<h3>
							Reporting Sheet ECO 1: Economic analysis.
						</h3>
							<xsl:apply-templates select="wf:ECO1"/>
						</div>
						<!-- RPA11 -->
						<div class="Section">
							<h3>
							Reporting Sheet RPA 1: Register of protected areas.
						</h3>
							<xsl:apply-templates select="wf:RPA1"/>
						</div>
					</td>
				</tr>
			</tbody>
		</table>
	</xsl:template>
	<!-- SWB1 Implementation -->
	<xsl:template match="wf:SWB1">
		<!-- Types -->
		<table width="600">
			<tbody>
				<tr>
					<td class="table_header_top">
						Type
					</td>
					<td class="table_header_top">
						Type Name
					</td>
					<td class="table_header_top">
						Category
					</td>
					<td class="table_header_top">
						Count
					</td>
				</tr>
				<xsl:for-each select="wf:TYPES/wf:TYPE">
					<tr>
						<td valign="top" align="left">
							<xsl:value-of select="wf:TYPE_CODE"/>
						</td>
						<td valign="top" align="left">
							<xsl:value-of select="wf:TYPE_NAME"/>
						</td>
						<td valign="top" align="left">
							<xsl:call-template name="WaterBodyCategory">
								<xsl:with-param name="RLTC" select="wf:CATEGORY"/>
							</xsl:call-template>
						</td>
						<td valign="top" align="left">
							<xsl:value-of select="wf:COUNT"/>
						</td>
					</tr>
				</xsl:for-each>
			</tbody>
		</table>
		<br/>
		<!-- other SWB1 data -->
		<table width="600">
			<tbody>
				<tr>
					<td class="table_header_left" width="300">
						Is typology consistent with typology system as defined in the directive:
					</td>
					<td valign="top" align="left" width="300">
						<xsl:call-template name="YesNoUnknown">
							<xsl:with-param name="YNU" select="wf:CONSISTENT"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
						Summary of approach used for dealing with very small water bodies
					</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:SMALL_BODIES"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left_italic">
						More details:
					</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:SMALL_BODIES_REF"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
							Summary of the way coordination was ensured across the different Member States for international river basin districts
					</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:COORDINATION"/>
						<br/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
						If coordination has not been achieved the details of what has been put in place to achieve this by 2009
					</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:COORDINATION_PLANS"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left_italic">
						More details:
					</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:SMALL_BODIES_REF"/>
					</td>
				</tr>
			</tbody>
		</table>
		<!-- Try to do something with System B attributes -->
		<!-- We are only outputing River System B factors if SYSTEM_RW = B -->
		<!-- We should try to figure out if any of the water body types are B - not output heading if not -->
		<h4>System B</h4>
		<br/>
		<xsl:apply-templates select="wf:SYSTEMB_RW">
			<xsl:with-param name="RiverB" select="wf:SYSTEM_RW"/>
		</xsl:apply-templates>
		<xsl:apply-templates select="wf:SYSTEMB_LW">
			<xsl:with-param name="LakeB" select="wf:SYSTEM_LW"/>
		</xsl:apply-templates>
		<xsl:apply-templates select="wf:SYSTEMB_TW">
			<xsl:with-param name="TransB" select="wf:SYSTEM_TW"/>
		</xsl:apply-templates>
		<xsl:apply-templates select="wf:SYSTEMB_CW">
			<xsl:with-param name="CoastB" select="wf:SYSTEM_CW"/>
		</xsl:apply-templates>
	</xsl:template>
	<!-- SWB2 Implementation -->
	<xsl:template match="wf:SWB2">
		<table width="600">
			<tbody>
				<tr>
					<td class="table_header_left" width="300">
					Area of the River Basin District in km<sup>2</sup>
					</td>
					<td valign="top" align="left" width="300">
						<xsl:value-of select="wf:AREAKM2"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Number of river water bodies within the RBD
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:RWB"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Number of lake water bodies within the RBD
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:LWB"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Number of transitional water bodies within the RBD
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:TWB"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Number of coastal water bodies within the RBD
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:CWB"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Length of coastline within the RBD in km
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:COASTKM"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Geographical scale at which the data (e.g. length, area) have been calculated in the form 1:nnnnnnnn
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:SCALE"/>
					</td>
				</tr>
			</tbody>
		</table>
		<!-- methodology implementrations -->
		<h4>Methodologies</h4>
		<table width="600">
			<tbody>
				<tr>
					<td class="table_header_left" width="300">
					River Water Bodies
				</td>
					<td valign="top" align="left" width="300">
						<xsl:value-of select="wf:RWB_METHOD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left_italic">
					Further Information:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:RWB_METHOD_REF"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Lake Water Bodies
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:LWB_METHOD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left_italic">
					Further Information:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:LWB_METHOD_REF"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Transitional Water Bodies
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:TWB_METHOD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left_italic">
					Further Information:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:TWB_METHOD_REF"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Coastal Water Bodies
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:CWB_METHOD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left_italic">
					Further Information:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:CWB_METHOD_REF"/>
					</td>
				</tr>
			</tbody>
		</table>
	</xsl:template>
	<!-- SWB3 implementation -->
	<xsl:template match="wf:SWB3">
		<table width="600">
			<tbody>
				<tr>
					<td class="table_header_left" width="300">
					Number of provisional Heavily Modified water bodies within the RBD
				</td>
					<td valign="top" align="left" width="300">
						<xsl:value-of select="wf:HMWB"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Number of provisional artificial water bodies within the RBD
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:AWB"/>
					</td>
				</tr>
			</tbody>
		</table>
		<h4>Methodologies</h4>
		<table width="600">
			<tbody>
				<tr>
					<td class="table_header_left" width="300">
					Heavily Modified water bodies 
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:HMWB_METHOD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left_italic">
					Further Information: 
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:HMWB_METHOD_REF"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left_italic">
					Future work planned: 
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:HMWB_CONFIRM"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left" width="300">
					Artificial Modified water bodies 
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:AWB_METHOD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left_italic">
					Further Information: 
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:AWB_METHOD_REF"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left_italic">
					Future work planned: 
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:AWB_CONFIRM"/>
					</td>
				</tr>
			</tbody>
		</table>
	</xsl:template>
	<!-- SWPI1 implementation-->
	<xsl:template match="wf:SWPI1">
		<h5>Point Sources</h5>
		<table width="600">
			<tbody>
				<tr>
					<td class="table_header_left" width="300">
					UWWT Plants
				</td>
					<td valign="top" align="left" width="300">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:PS_UWWT"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Storm overflows
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:PS_OVERFLOW"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Sludge treatment plants
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:PS_SLUDGE"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					IPPC industries
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:PS_IND_IPPC"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Non- IPPC industries
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:PS_IND"/>
						</xsl:call-template>
					</td>
				</tr>
			</tbody>
		</table>
		<h5>Diffuse Sources</h5>
		<table width="600">
			<tbody>
				<tr>
					<td class="table_header_left" width="300">
					Via drainage and deep ground water
				</td>
					<td valign="top" align="left" width="300">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:DS_DRAINAGE"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Due to agricultural activities
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:DS_AGRI"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Due to transport and infrastructure without connection to canalisation/sewers
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:DS_TRANS"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Accidental spills
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:DS_SPILLS"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Abandoned industrial sites
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:DS_SITES"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Release from materials and constructions in non-sewered areas
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:DS_RELEASE"/>
						</xsl:call-template>
					</td>
				</tr>
			</tbody>
		</table>
		<h5>Water Abstractions</h5>
		<table width="600">
			<tbody>
				<tr>
					<td class="table_header_left" width="300">
					Abstractions for agriculture, forestry and fishing
				</td>
					<td valign="top" align="left" width="300">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:WA_AGRI"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					For public water systems
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:WA_PWS"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					By manufacturing industry
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:WA_IND"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					For the production of electricity (cooling)
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:WA_ELEC"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					For fish farms
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:WA_FISH"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					For hydro energy (not for cooling)
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:WA_HYDRO"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					For quarries / open cast coal sites
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:WA_QUARRY"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					For navigation (eg supplying canals)
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:WA_NAV"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Other major abstractions
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:WA_OTHER"/>
						</xsl:call-template>
					</td>
				</tr>
			</tbody>
		</table>
		<h5>Water Flow Regulations</h5>
		<table width="600">
			<tbody>
				<tr>
					<td class="table_header_left" width="300">
					Groundwater recharge
				</td>
					<td valign="top" align="left" width="300">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:WF_RCHG"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Hydroelectric dams
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:WF_ELEC"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Water supply reservoirs
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:WF_RES"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Flood defence dams
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:WF_FLOOD"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Diversions
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:WF_DIV"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Weirs
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:WF_WEIRS"/>
						</xsl:call-template>
					</td>
				</tr>
			</tbody>
		</table>
		<h5>River Management</h5>
		<table width="600">
			<tbody>
				<tr>
					<td class="table_header_left" width="300">
					Physical alteration of the channel
				</td>
					<td valign="top" align="left" width="300">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:RM_ALT"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Alteration / Loss of the Riparian area
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:RM_RIPARIAN"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Engineering activities
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:RM_ENG"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Agricultural enhancement
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:RM_AGRI"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Fisheries enhancement
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:RM_FISH"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Land infrastructure (road / bridge building)
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:RM_INFRASTRUCTURE"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Dredging
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:RM_DREDGING"/>
						</xsl:call-template>
					</td>
				</tr>
			</tbody>
		</table>
		<h5>Transitional And Coastal Water Management</h5>
		<table width="600">
			<tbody>
				<tr>
					<td class="table_header_left" width="300">
					Estuarine / coastal dredging
				</td>
					<td valign="top" align="left" width="300">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:WM_DREDGING"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Marine constuctions, shipyards and harbours
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:WM_MARINE"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Marinas
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:WM_MARINAS"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Tidal barrages, weirs
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:WM_BARRAGES"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Land reclamation and polders
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:WM_RECLAIM"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Coastal sand suppletion (safety)
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:WM_SAFETY"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Marine constuctions, shipyards and harbours
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:WM_MARINE"/>
						</xsl:call-template>
					</td>
				</tr>
			</tbody>
		</table>
		<h5>Other Morphiological Alterations</h5>
		<table width="600">
			<tbody>
				<tr>
					<td class="table_header_left" width="300">
					Barriers
				</td>
					<td valign="top" align="left" width="300">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:MA_BARRIERS"/>
						</xsl:call-template>
					</td>
				</tr>
			</tbody>
		</table>
		<h5>Other Pressures</h5>
		<table width="600">
			<tbody>
				<tr>
					<td class="table_header_left" width="300">
					Litter / fly tipping
				</td>
					<td valign="top" align="left" width="300">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:OP_LITTER"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Sludge disposal to sea (historic)
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:OP_SLUDGE"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Exploitaion / removal of animals and / or plants
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:OP_EXPLOITATION"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Recreation
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:OP_RECREATION"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Fishing / angling
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:OP_FISHING"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Introduced species
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:OP_SPECIES"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Introduced diseases
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:OP_DISEASES"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Climate Change
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:OP_CLIMATE"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Land Drainage
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:OP_DRAINAGE"/>
						</xsl:call-template>
					</td>
				</tr>
			</tbody>
		</table>
		<h5>Other Information</h5>
		<table width="600">
			<tbody>
				<tr>
					<td class="table_header_left" width="300">
					Descriptive definition of the current position within the RBD
				</td>
					<td valign="top" align="left" width="300">
						<xsl:value-of select="wf:CURRENT_POS"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Methodology
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:METHOD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Hyperlink or reference to supporting information on methodology
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:METHOD_REF"/>
					</td>
				</tr>
			</tbody>
		</table>
	</xsl:template>
	<!-- SWPI2 implementation -->
	<xsl:template match="wf:SWPI2">
		<table width="600">
			<tbody>
				<tr>
					<td class="table_header_left" width="300">
					Methodology used to categorise surface water bodies
				</td>
					<td valign="top" align="left" width="300">
						<xsl:value-of select="wf:RISK_METHOD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Hyperlink or reference to supporting information for methodology
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:RISK_METHOD_REF"/>
					</td>
				</tr>
			</tbody>
		</table>
	</xsl:template>
	<!-- SWPI3 implementation -->
	<xsl:template match="wf:SWPI3">
		<table width="600">
			<tbody>
				<tr>
					<td class="table_header_left" width="300">
					Total number of significant sources in the RBD:
				</td>
					<td valign="top" align="left" width="300">
						<xsl:value-of select="wf:NO_SOURCES"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Percentage (by number) of surface water bodies in the RBD at risk as a result of point source pollution:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:SWB"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Is organic loading a significant point source pollutant within the RBD:
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="YesNoUnknown">
							<xsl:with-param name="YNU" select="wf:ORGANIC"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Is nitrogen a significant point source pollutant within the RBD:
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="YesNoUnknown">
							<xsl:with-param name="YNU" select="wf:NITROGEN"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Method of measurement: Kjeldahl N or IR spectroscopy:
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="MeasurementMethod">
							<xsl:with-param name="IK" select="wf:NITROGEN_METHOD"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Is phosphorus a significant point source pollutant within the RBD:
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="YesNoUnknown">
							<xsl:with-param name="YNU" select="wf:PHOSPHORUS"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Summary of methodology used for identifying significant point sources in the RBD:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:SOURCE_METHOD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Estimate of the TOC load from point sources in the RBD in tonnes/yr:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:TOC_LOAD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Estimate of the BOD load from point sources in the RBD in tonnes/yr:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:BOD_LOAD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Estimate of the COD load from point sources in the RBD in tonnes/yr:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:COD_LOAD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Estimate of the NH3 load from point sources in the RBD in tonnes/yr:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:NH3_LOAD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Estimate of the NO3 load from point sources in the RBD in tonnes/yr:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:NO3_LOAD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Estimate of the total N load from point sources in the RBD in tonnes/yr:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:TOTALN_LOAD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Estimate of the PO4 load from point sources in the RBD in tonnes/yr:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:PO4_LOAD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Estimate of the total P load from point sources in the RBD in tonnes/yr:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:TOTALP_LOAD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Summary of current position in the RBD if detailed data not provided:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:CURRENT_POS"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Hyperlink or reference to supporting information on the methodogy:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:SOURCE_METHOD_REF"/>
					</td>
				</tr>
			</tbody>
		</table>
		<h5>Substances</h5>
		<table width="600">
			<tbody>
				<tr>
					<td class="table_header_top" width="200">
					CAS Number
				</td>
					<td class="table_header_top" width="200">
					Name
				</td>
					<td class="table_header_top" width="200">
					Load
				</td>
				</tr>
				<xsl:for-each select="wf:SUBSTANCES/wf:SUBSTANCE">
					<tr>
						<td valign="top" align="left">
							<xsl:value-of select="wf:CAS_NUMBER"/>
						</td>
						<td valign="top" align="left">
							<xsl:value-of select="wf:NAME"/>
						</td>
						<td valign="top" align="left">
							<xsl:value-of select="wf:LOAD"/>
						</td>
					</tr>
				</xsl:for-each>
			</tbody>
		</table>
	</xsl:template>
	<!-- SWPI4 implementation -->
	<xsl:template match="wf:SWPI4">
		<table width="600">
			<tbody>
				<tr>
					<td class="table_header_left" width="300">
					Total number of significant sources in the RBD:
				</td>
					<td valign="top" align="left" width="300">
						<xsl:value-of select="wf:NO_SOURCES"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Percentage (by number) of surface water bodies in the RBD at risk as a result of diffuse source pollution:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:SWB"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Is organic loading a significant diffuse source pollutant within the RBD:
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="YesNoUnknown">
							<xsl:with-param name="YNU" select="wf:ORGANIC"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Is nitrogen a significant diffuse source pollutant within the RBD:
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="YesNoUnknown">
							<xsl:with-param name="YNU" select="wf:NITROGEN"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Method of measurement: Kjeldahl N or IR spectroscopy:
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="MeasurementMethod">
							<xsl:with-param name="IK" select="wf:NITROGEN_METHOD"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Is phosphorus a significant point source pollutant within the RBD:
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="YesNoUnknown">
							<xsl:with-param name="YNU" select="wf:PHOSPHORUS"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Summary of methodology used for identifying significant point sources in the RBD:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:SOURCE_METHOD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Estimate of the TOC load from point sources in the RBD in tonnes/yr:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:TOC_LOAD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Estimate of the BOD load from point sources in the RBD in tonnes/yr:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:BOD_LOAD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Estimate of the COD load from point sources in the RBD in tonnes/yr:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:COD_LOAD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Estimate of the NH3 load from point sources in the RBD in tonnes/yr:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:NH3_LOAD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Estimate of the NO3 load from point sources in the RBD in tonnes/yr:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:NO3_LOAD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Estimate of the total N load from point sources in the RBD in tonnes/yr:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:TOTALN_LOAD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Permanent pasture available for application of fertiliser in km<sup>2</sup>:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:PASTURE"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Permanent crop land available for application of fertiliser in km<sup>2</sup>:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:CROPS"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Annual contribution from Mineral N in kg/ha:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:MINERALN_LOAD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Annual contribution from organic N in kg/ha:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:ORGANICN_LOAD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Estimate of the PO4 load from point sources in the RBD in tonnes/yr:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:PO4_LOAD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Estimate of the total P load from point sources in the RBD in tonnes/yr:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:TOTALP_LOAD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Summary of current position in the RBD if detailed data not provided:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:CURRENT_POS"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Hyperlink or reference to supporting information on the methodogy:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:SOURCE_METHOD_REF"/>
					</td>
				</tr>
			</tbody>
		</table>
		<h5>Substances</h5>
		<table width="600">
			<tbody>
				<tr>
					<td class="table_header_top" width="200">
					CAS Number
				</td>
					<td class="table_header_top" width="200">
					Name
				</td>
					<td class="table_header_top" width="200">
					Load
				</td>
				</tr>
				<xsl:for-each select="wf:SUBSTANCES/wf:SUBSTANCE">
					<tr>
						<td valign="top" align="left">
							<xsl:value-of select="wf:CAS_NUMBER"/>
						</td>
						<td valign="top" align="left">
							<xsl:value-of select="wf:NAME"/>
						</td>
						<td valign="top" align="left">
							<xsl:value-of select="wf:LOAD"/>
						</td>
					</tr>
				</xsl:for-each>
			</tbody>
		</table>
	</xsl:template>
	<!-- SWPI5 implementation -->
	<xsl:template match="wf:SWPI5">
		<table width="600">
			<tbody>
				<tr>
					<td class="table_header_left" width="300">
					Percentage (by number) of surface water bodies at risk of significant abstractions in the RBD:
				</td>
					<td valign="top" align="left" width="300">
						<xsl:value-of select="wf:SWB"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Number of abstraction points in the RBD:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:NO_ABSTRACTION"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Methodology used for identifying significant abstractions:
				</td>
					<td>
						<xsl:value-of select="wf:ABS_METHOD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Total volume abstracted from the RBD in m<sup>3</sup>/year:
				</td>
					<td>
						<xsl:value-of select="wf:VOL_ABSTRACTION"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Volume abstracted by agriculture, forestry and fishing in m<sup>3</sup>/yr:
				</td>
					<td valign="top" align="left" width="300">
						<xsl:value-of select="wf:VOL_AGRI"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Volume abstracted by public water supply in m<sup>3</sup>/yr:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:VOL_PWS"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Volume abstracted by manufacturing industry in m<sup>3</sup>/yr:
				</td>
					<td>
						<xsl:value-of select="wf:VOL_MANU"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Volume abstracted for electricity production in m<sup>3</sup>/yr:
				</td>
					<td>
						<xsl:value-of select="wf:VOL_ELEC"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Volume abstracted for fish farms in m<sup>3</sup>/yr:
				</td>
					<td>
						<xsl:value-of select="wf:VOL_FISH"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Volume abstracted for hydro enegy (not cooling) in m<sup>3</sup>/yr:
				</td>
					<td>
						<xsl:value-of select="wf:VOL_HYDRO"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Volume abstracted for quarries/open cast coal sites in m<sup>3</sup>/yr:
				</td>
					<td>
						<xsl:value-of select="wf:VOL_QUARRY"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Volume abstracted for navigation (e.g. supplying canals) in m<sup>3</sup>/yr:
				</td>
					<td>
						<xsl:value-of select="wf:VOL_NAVIG"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Volume abstracted for other major uses in m<sup>3</sup>/yr:
				</td>
					<td>
						<xsl:value-of select="wf:MINERALN_LOAD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Water exploitation index:
				</td>
					<td>
						<xsl:value-of select="wf:WEI"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Withdrawal ratio:
				</td>
					<td>
						<xsl:value-of select="wf:WITHDRAW_RATIO"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Current position in the RBD if detailed data not provided:
				</td>
					<td>
						<xsl:value-of select="wf:CURRENT_POS"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Hyperlink or reference to supporting documentation:
				</td>
					<td>
						<xsl:value-of select="wf:ABS_METHOD_REF"/>
					</td>
				</tr>
			</tbody>
		</table>
	</xsl:template>
	<!-- SWPI6 implementation -->
	<xsl:template match="wf:SWPI6">
		<table width="600">
			<tbody>
				<tr>
					<td class="table_header_left" width="300">
					Total number of significant morphological alterations in the RBD:
				</td>
					<td valign="top" align="left" width="300">
						<xsl:value-of select="wf:NO_ALT"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Number (NOT percentage) of surface water bodies at risk as a result of morphological alterations:
				</td>
					<td>
						<xsl:value-of select="wf:SWB"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Methodology used for identifying significant morphological alterations:
				</td>
					<td>
						<xsl:value-of select="wf:ALT_METHOD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Current situation with the assessment of morphological alterations:
				</td>
					<td>
						<xsl:value-of select="wf:CURR_POS"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Hyperlink or reference to supporting documentation for teh identification of significant morphological alterations:
				</td>
					<td>
						<xsl:value-of select="wf:ALT_METHOD_REF"/>
					</td>
				</tr>
			</tbody>
		</table>
	</xsl:template>
	<!-- SWPI7 implementation -->
	<xsl:template match="wf:SWPI7">
		<table width="600">
			<tbody>
				<tr>
					<td class="table_header_left" width="300">
						Summary of the main impacts on surface water bodies occuring in the RBD as a result of the
						significant pressures:
					
				</td>
					<td valign="top" align="left" width="300">
						<xsl:value-of select="wf:IMPACT_SWB"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Hyperlink or reference to supporting documentation or more detailed information:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:IMPACT_REF"/>
					</td>
				</tr>
			</tbody>
		</table>
	</xsl:template>
	<!-- SWPI8 implementation -->
	<xsl:template match="wf:SWPI8">
		<table width="600">
			<tbody>
				<tr>
					<td class="table_header_left" width="300">
					
						Main uncertainties and data gaps identified in the process of carrying out the 
						pressure and impact analysis on surface water bodies:
					
				</td>
					<td valign="top" align="left" width="300">
						<xsl:value-of select="wf:DATA_GAPS"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Summary of actions planned to address uncertainties and data gaps:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:DATA_ACTIONS"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Hyperlink or references to more detailed sources of  information:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:DATA_REF"/>
					</td>
				</tr>
			</tbody>
		</table>
	</xsl:template>
	<!-- SWPI9 implementation -->
	<xsl:template match="wf:SWPI9">
		<table width="600">
			<tbody>
				<tr>
					<td class="table_header_left" width="300">
					Summary of the preliminary recommendations for surveillence monitoring:
				</td>
					<td valign="top" align="left" width="300">
						<xsl:value-of select="wf:PRELIM_REC"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Hyperlink or reference to more detailed sources of information:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:PRELIM_REC_REF"/>
					</td>
				</tr>
			</tbody>
		</table>
	</xsl:template>
	<!-- GWB1 implementation -->
	<xsl:template match="wf:GWB1">
		<table width="600">
			<tbody>
				<tr>
					<td class="table_header_left" width="300">
					Number of groundwater bodies within the RBD:
				</td>
					<td valign="top" align="left" width="300">
						<xsl:value-of select="wf:GWB"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Methodology/ criteria used to delineate the groundwaters:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:GWB_METHOD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Number of trans-boundary grwoundwater bodies associated with the RBD:
				</td>
					<td>
						<xsl:value-of select="wf:OUT_OF_RBD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Number of groundwater bodies for which there are directly dependent surface water or terrestrial ecosystems:
				</td>
					<td>
						<xsl:value-of select="wf:SWB_ASSOC"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Hyperlink or reference to supporting information for delineation of groundwater bodies:
				</td>
					<td>
						<xsl:value-of select="wf:GWB_METHOD_REF"/>
					</td>
				</tr>
			</tbody>
		</table>
	</xsl:template>
	<!-- GWPI1 implementation -->
	<xsl:template match="wf:GWPI1">
		<h5>Diffuse Sources</h5>
		<table width="600">
			<tbody>
				<tr>
					<td class="table_header_left" width="300">
					Due to agricultural activities:
				</td>
					<td valign="top" align="left" width="300">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:DS_AGRI"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Due to non-sewered population:
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:DS_NSP"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Due to urban land use:
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:DS_LANDUSE"/>
						</xsl:call-template>
					</td>
				</tr>
			</tbody>
		</table>
		<h5>Point Sources</h5>
		<table>
			<tbody>
				<tr>
					<td class="table_header_left" width="300">
					Leakages from contaminated sites:
				</td>
					<td valign="top" align="left" width="300">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:PS_CONT"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Leakages from waste disposal sites (landfill and agricultural waste disposal):
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:PS_WASTEDISP"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Leakages associated with oil industry infrastructure:
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:PS_OIL"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Mine water discharge:
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:PS_MINE"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Discharges to ground such as disposal of contaminated water to soakaways:
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:PS_DISCHARGE"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Other significant point sources:
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:PS_OTHER"/>
						</xsl:call-template>
					</td>
				</tr>
			</tbody>
		</table>
		<h5>Water Abstractions</h5>
		<table>
			<tbody>
				<tr>
					<td class="table_header_left" width="300">
					For agriculture:
				</td>
					<td valign="top" align="left" width="300">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:WA_AGRI"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					For Public Water Supply:
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:WA_PWS"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					By IPPC industry:
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:WA_IND_IPPC"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					By non-IPPC industry:
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:WA_IND"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					For quarries/open cast coal sites:
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:WA_QUARRY"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Other major abstractions:
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:WA_OTHER"/>
						</xsl:call-template>
					</td>
				</tr>
			</tbody>
		</table>
		<h5>Artificial Recharges</h5>
		<table>
			<tbody>
				<tr>
					<td class="table_header_left" width="300">
					Discharges to groundwater for artificial recharge purposes:
				</td>
					<td valign="top" align="left" width="300">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:AR_DISCHARGE"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Urns of groundwater to groundwater body from which it was abstracted (e.g. for sand and gravel washing):
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:AR_RETURNS"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Minewater rebound:
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:AR_MINE"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Other significant artificial recharge:
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:AR_OTHER"/>
						</xsl:call-template>
					</td>
				</tr>
			</tbody>
		</table>
		<h5>Intrusions</h5>
		<table>
			<tbody>
				<tr>
					<td class="table_header_left" width="300">
					Saltwater Intrusions:
				</td>
					<td valign="top" align="left" width="300">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:INT_SALT"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Other significant intrusions:
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="Importance">
							<xsl:with-param name="NVILU" select="wf:INT_OTHER"/>
						</xsl:call-template>
					</td>
				</tr>
			</tbody>
		</table>
		<h5>Other Information</h5>
		<table>
			<tbody>
				<tr>
					<td class="table_header_left" width="300">
					Descriptive definition of the current position within the RBD
				</td>
					<td valign="top" align="left" width="300">
						<xsl:value-of select="wf:CURRENT_POS"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Methodology
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:METHOD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Hyperlink or reference to supporting information on methodology
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:METHOD_REF"/>
					</td>
				</tr>
			</tbody>
		</table>
	</xsl:template>
	<!-- GWPI2 implementation -->
	<xsl:template match="wf:GWPI2">
		<table width="600">
			<tbody>
				<tr>
					<td class="table_header_left" width="300">
					Methodology used to assess ground water bodies
				</td>
					<td valign="top" align="left" width="300">
						<xsl:value-of select="wf:RISK_METHOD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Hyperlink or reference to supporting information for methodology
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:RISK_METHOD_REF"/>
					</td>
				</tr>
			</tbody>
		</table>
	</xsl:template>
	<!-- GWPI3 implementation -->
	<xsl:template match="wf:GWPI3">
		<table width="600">
			<tbody>
				<tr>
					<td class="table_header_left" width="300">
					Total number of significant diffuse sources to groundwaters in the RBD:
				</td>
					<td valign="top" align="left" width="300">
						<xsl:value-of select="wf:NO_SOURCES"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Percentage (by number) of ground water bodies in the RBD at risk as a result of diffuse source pollution:
				</td>
					<td>
						<xsl:value-of select="wf:GWB"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Is organic loading a significant diffuse source pollutant within the RBD:
				</td>
					<td>
						<xsl:call-template name="YesNoUnknown">
							<xsl:with-param name="YNU" select="wf:ORGANIC"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Is nitrogen a significant diffuse source pollutant within the RBD:
				</td>
					<td>
						<xsl:call-template name="YesNoUnknown">
							<xsl:with-param name="YNU" select="wf:NITROGEN"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Method of measurement: Kjeldahl N or IR spectroscopy:
				</td>
					<td>
						<xsl:call-template name="MeasurementMethod">
							<xsl:with-param name="IK" select="wf:NITROGEN_METHOD"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Is phosphorus a significant diffuse source pollutant within the RBD:
				</td>
					<td>
						<xsl:call-template name="YesNoUnknown">
							<xsl:with-param name="YNU" select="wf:PHOSPHORUS"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Summary of methodology used for identifying significant diffuse sources in the RBD:
				</td>
					<td>
						<xsl:value-of select="wf:SOURCE_METHOD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Estimate of the TOC load from diffuse sources in the RBD in tonnes/yr:
				</td>
					<td>
						<xsl:value-of select="wf:TOC_LOAD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Estimate of the BOD load from diffuse sources in the RBD in tonnes/yr:
				</td>
					<td>
						<xsl:value-of select="wf:BOD_LOAD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Estimate of the COD load from diffuse sources in the RBD in tonnes/yr:
				</td>
					<td>
						<xsl:value-of select="wf:COD_LOAD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Estimate of the NH3 load from diffuse sources in the RBD in tonnes/yr:
				</td>
					<td>
						<xsl:value-of select="wf:NH3_LOAD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Estimate of the NO3 load from diffuse sources in the RBD in tonnes/yr:
				</td>
					<td>
						<xsl:value-of select="wf:NO3_LOAD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Estimate of the total N load from diffuse sources in the RBD in tonnes/yr:
				</td>
					<td>
						<xsl:value-of select="wf:TOTALN_LOAD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Estimate of the PO4 load from diffuse sources in the RBD in tonnes/yr:
				</td>
					<td>
						<xsl:value-of select="wf:PO4_LOAD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Estimate of the total P load from diffuse sources in the RBD in tonnes/yr:
				</td>
					<td>
						<xsl:value-of select="wf:TOTALP_LOAD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Summary of current position in the RBD if detailed data not provided:
				</td>
					<td>
						<xsl:value-of select="wf:CURRENT_POS"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Hyperlink or reference to supporting information on the methodogy:
				</td>
					<td>
						<xsl:value-of select="wf:SOURCE_METHOD_REF"/>
					</td>
				</tr>
			</tbody>
		</table>
		<h5>Substances</h5>
		<table width="600">
			<tbody>
				<tr>
					<td class="table_header_top" width="200">
					CAS Number
				</td>
					<td class="table_header_top" width="200">
					Name
				</td>
					<td class="table_header_top" width="200">
					Load
				</td>
				</tr>
				<xsl:for-each select="wf:SUBSTANCES/wf:SUBSTANCE">
					<tr>
						<td valign="top" align="left">
							<xsl:value-of select="wf:CAS_NUMBER"/>
						</td>
						<td valign="top" align="left">
							<xsl:value-of select="wf:NAME"/>
						</td>
						<td valign="top" align="left">
							<xsl:value-of select="wf:LOAD"/>
						</td>
					</tr>
				</xsl:for-each>
			</tbody>
		</table>
	</xsl:template>
	<!-- GWPI4 implementation -->
	<xsl:template match="wf:GWPI4">
		<table width="600">
			<tbody>
				<tr>
					<td class="table_header_left" width="300">
					Total number of significant point sources to groundwatrer in the RBD:
				</td>
					<td valign="top" align="left" width="300">
						<xsl:value-of select="wf:NO_SOURCES"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Percentage (by number) of surface water bodies in the RBD at risk as a result of diffuse source pollution:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:GWB"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Is organic loading a significant point source pollutant within the RBD:
				</td>
					<td>
						<xsl:call-template name="YesNoUnknown">
							<xsl:with-param name="YNU" select="wf:ORGANIC"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Is nitrogen a significant diffuse point pollutant within the RBD:
				</td>
					<td>
						<xsl:call-template name="YesNoUnknown">
							<xsl:with-param name="YNU" select="wf:NITROGEN"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Is phosphorus a significant point source pollutant within the RBD:
				</td>
					<td>
						<xsl:call-template name="YesNoUnknown">
							<xsl:with-param name="YNU" select="wf:PHOSPHORUS"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Summary of methodology used for identifying significant point sources in the RBD:
				</td>
					<td>
						<xsl:value-of select="wf:SOURCE_METHOD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Estimate of the TOC load from point sources in the RBD in tonnes/yr:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:TOC_LOAD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Estimate of the BOD load from point sources in the RBD in tonnes/yr:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:BOD_LOAD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Estimate of the COD load from point sources in the RBD in tonnes/yr:
				</td>
					<td>
						<xsl:value-of select="wf:COD_LOAD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Method of measurement: Kjeldahl N or IR spectroscopy:
				</td>
					<td>
						<xsl:call-template name="MeasurementMethod">
							<xsl:with-param name="IK" select="wf:NITROGEN_METHOD"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Estimate of the NH3 load from point sources in the RBD in tonnes/yr:
				</td>
					<td>
						<xsl:value-of select="wf:NH3_LOAD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Estimate of the NO3 load from point sources in the RBD in tonnes/yr:
				</td>
					<td>
						<xsl:value-of select="wf:NO3_LOAD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Estimate of the total N load from point sources in the RBD in tonnes/yr:
				</td>
					<td>
						<xsl:value-of select="wf:TOTALN_LOAD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Estimate of the PO4 load from point sources in the RBD in tonnes/yr:
				</td>
					<td>
						<xsl:value-of select="wf:PO4_LOAD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Estimate of the total P load from point sources in the RBD in tonnes/yr:
				</td>
					<td>
						<xsl:value-of select="wf:TOTALP_LOAD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Summary of current position in the RBD if detailed data not provided:
				</td>
					<td>
						<xsl:value-of select="wf:CURRENT_POS"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Hyperlink or reference to supporting information on the methodogy:
				</td>
					<td>
						<xsl:value-of select="wf:SOURCE_METHOD_REF"/>
					</td>
				</tr>
			</tbody>
		</table>
		<h5>Substances</h5>
		<table width="600">
			<tbody>
				<tr>
					<td class="table_header_top" width="200">
					CAS Number
				</td>
					<td class="table_header_top" width="200">
					Name
				</td>
					<td class="table_header_top" width="200">
					Load
				</td>
				</tr>
				<xsl:for-each select="wf:SUBSTANCES/wf:SUBSTANCE">
					<tr>
						<td valign="top" align="left">
							<xsl:value-of select="wf:CAS_NUMBER"/>
						</td>
						<td valign="top" align="left">
							<xsl:value-of select="wf:NAME"/>
						</td>
						<td valign="top" align="left">
							<xsl:value-of select="wf:LOAD"/>
						</td>
					</tr>
				</xsl:for-each>
			</tbody>
		</table>
	</xsl:template>
	<!-- GWPI5 implementation -->
	<xsl:template match="wf:GWPI5">
		<table width="600">
			<tbody>
				<tr>
					<td class="table_header_left" width="300">
					Number of significant groundwater abstractions in the RBD:
				</td>
					<td valign="top" align="left" width="300">
						<xsl:value-of select="wf:NO_ABSTRACTION"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Percentage (by number) of ground water bodies at risk in the RBD as a result of groundwater abstractions:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:GWB"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Methodology used for identifying significant abstractions:
				</td>
					<td>
						<xsl:value-of select="wf:ABS_METHOD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Total volume abstracted from the RBD from significant groundwater abstractions in m<sup>3</sup>/year:
				</td>
					<td>
						<xsl:value-of select="wf:VOL_ABSTRACTION"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Proportion of average GWB content abstracted per year:
				</td>
					<td>
						<xsl:value-of select="wf:GWB_CONTENT"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Current position in the RBD if detailed data not provided:
				</td>
					<td>
						<xsl:value-of select="wf:CURR_POS"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Hyperlink or reference to supporting documentation:
				</td>
					<td>
						<xsl:value-of select="wf:ABS_METHOD_REF"/>
					</td>
				</tr>
			</tbody>
		</table>
	</xsl:template>
	<!-- GWPI6 implementation -->
	<xsl:template match="wf:GWPI6">
		<table width="600">
			<tbody>
				<tr>
					<td class="table_header_left" width="300">
					Number of significant artificial rechargesto groundwaters in the RBD:
				</td>
					<td valign="top" align="left" width="300">
						<xsl:value-of select="wf:NO_RECHARGES"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Percentage (by number) of ground water bodies at risk in the RBD as a result of artificial recharge:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:GWB"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Methodology used for identifying significant groundwater recharges:
				</td>
					<td>
						<xsl:value-of select="wf:RCHG_METHOD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Annual volume of significant water recharge in the RBD in m<sup>3</sup>/year:
				</td>
					<td>
						<xsl:value-of select="wf:VOL_RECHARGE"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Current position in the RBD if detailed data not provided:
				</td>
					<td>
						<xsl:value-of select="wf:CURR_POS"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Hyperlink or reference to supporting documentation:
				</td>
					<td>
						<xsl:value-of select="wf:RCHG_METHOD_REF"/>
					</td>
				</tr>
			</tbody>
		</table>
	</xsl:template>
	<!-- GWPI7 implementation -->
	<xsl:template match="wf:GWPI7">
		<table width="600">
			<tbody>
				<tr>
					<td class="table_header_left" width="300">
					Number (not percentage) groundwater bodies at risk as a result of saltwater intrusion:
				</td>
					<td valign="top" align="left" width="300">
						<xsl:value-of select="wf:GWB_SALT"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Number (not percentage) of groundwater bodies at risk as a result of other intrusions:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:GWB_OTHER"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Methodology used for identifying significant groundwater intrusions:
				</td>
					<td>
						<xsl:value-of select="wf:INTR_METHOD"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Current position in the RBD if detailed data not provided:
				</td>
					<td>
						<xsl:value-of select="wf:CURR_POS"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Hyperlink or reference to supporting documentation:
				</td>
					<td>
						<xsl:value-of select="wf:INTR_METHOD_REF"/>
					</td>
				</tr>
			</tbody>
		</table>
	</xsl:template>
	<!-- GWPI8 implementation -->
	<xsl:template match="wf:GWPI8">
		<table width="600">
			<tbody>
				<tr>
					<td class="table_header_left" width="300">
						Summary of the main impacts on ground water bodies occuring in the 
						RBD as a result of the significant pressures:
				</td>
					<td valign="top" align="left" width="300">
						<xsl:value-of select="wf:IMPACT_GWB"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Hyperlink or reference to supporting documentation or more detailed information:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:IMPACT_REF"/>
					</td>
				</tr>
			</tbody>
		</table>
	</xsl:template>
	<!-- GWPI10 implementation -->
	<xsl:template match="wf:GWPI10">
		<table width="600">
			<tbody>
				<tr>
					<td class="table_header_left" width="300">
						Main uncertainties and data gaps identified in the process of carrying out the pressure and impact 
						analysis and further characterisation of ground water bodies
				</td>
					<td valign="top" align="left" width="300">
						<xsl:value-of select="wf:DATA_GAPS"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Summary of actions planned to address uncertainties and data gaps:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:DATA_ACTIONS"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Hyperlink or references to more detailed sources of  information:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:DATA_REF"/>
					</td>
				</tr>
			</tbody>
		</table>
	</xsl:template>
	<!-- GWPI11 implementation -->
	<xsl:template match="wf:GWPI11">
		<table width="600">
			<tbody>
				<tr>
					<td class="table_header_left" width="300">
					Summary of the preliminary recommendations for groundwater monitoring:
				</td>
					<td valign="top" align="left" width="300">
						<xsl:value-of select="wf:PRELIM_REC"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Hyperlink or reference to more detailed sources of information:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:PRELIM_REC_REF"/>
					</td>
				</tr>
			</tbody>
		</table>
	</xsl:template>
	<!-- ECO1 implementation -->
	<xsl:template match="wf:ECO1">
		<table width="600">
			<tbody>
				<tr>
					<td class="table_header_left" width="300">
					Level of cost recovery as a percentage of water services for Households:
				</td>
					<td valign="top" align="left" width="300">
						<xsl:value-of select="wf:CR_HOUSE"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Level of cost recovery as a percentage of water services for Agriculture:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:CR_AGRI"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Level of cost recovery as a percentage of water services for Industry:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:CR_INDUSTRY"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					
						Scale at which cost recovery has been calculated, ie. River Basin District, 
						Water service area, municipal, other etc:
					
				</td>
					<td valign="top" align="left">
						<xsl:call-template name="CRScale">
							<xsl:with-param name="SCALE" select="wf:CR_SCALE"/>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					
						Overview of the socio-economic importance of water uses in relation to the significant pressures 
						identified in SWPI1 and GWPI1:
					
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:ECO_IMPORTANCE"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					
						Summary of the economic information used to develop overview:
					
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:ECO_INFO"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Summary of the links between economic and technical information and the information on pressures:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:ECO_LINKS"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Summary of future economic analysis planned
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:ECO_FUTURE"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Summary of how the level of cost recovery has been calculated :
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:ECO_LEVEL"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Summary of the work completed to date to establish a base-line scenario
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:ECO_WORK"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Scale at which recovery has been calculated if not above:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:CR_SCALE_OTHER"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					
						Hyperlink or reference to more detailed information on the overview of the socio-economic 
						importance of water uses in relation to the significant pressures identified in SWPI1 and GWPI1
					
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:ECO_IMPORTANCE_REF"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					
						Hyperlink or reference to further detail or supporting information on the economic 
						information used to develop overview:
					
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:ECO_INFO_REF"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					
						Hyperlink or reference to further detail or supporting information on the links 
						between economic and technical information and the information on pressures
					
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:ECO_LINKS_REF"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Hyperlink or reference to further detail or supporting information on thefuture economic analysis planned:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:ECO_FUTURE_REF"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Summary of the links between economic and technical information and the information on pressures
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:ECO_FUTURE"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					
						Hyperlink or reference to further detail or supporting information on how the 
						level of cost recovery has been calculated :
					
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:ECO_LEVEL_REF"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					
						Hyperlink or reference to more detailed sources of information on the work completed 
						to date to establish a base-line scenario
					
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:ECO_WORK_REF"/>
					</td>
				</tr>
			</tbody>
		</table>
	</xsl:template>
	<!-- RPA1 implementation -->
	<xsl:template match="wf:RPA1">
		<table width="600">
			<tbody>
				<tr>
					<td class="table_header_left" width="300">
					Summary of the Community, national or local legislation under which the protected areas have been designated:
				</td>
					<td valign="top" align="left" width="300">
						<xsl:value-of select="wf:PA_LEGISLATION"/>
					</td>
				</tr>
				<tr>
					<td class="table_header_left">
					Hyperlink or reference to more detailed information or further documentation:
				</td>
					<td valign="top" align="left">
						<xsl:value-of select="wf:PA_LEGISLATION_REF"/>
					</td>
				</tr>
			</tbody>
		</table>
	</xsl:template>
	<!-- Country implementation -->
	<xsl:template name="Country">
		<xsl:param name="MS"/>
		<xsl:choose>
			<xsl:when test="$MS = 'UK'">United Kingdom</xsl:when>
			<xsl:when test="$MS = 'IE'">Ireland</xsl:when>
			<xsl:when test="$MS = 'FR'">France</xsl:when>
			<xsl:when test="$MS='DE'">Germany</xsl:when>
			<xsl:when test="$MS='AT'">Austria</xsl:when>
			<xsl:when test="$MS='BE'">Belgium</xsl:when>
			<xsl:when test="$MS='BG'">Bulgaria</xsl:when>
			<xsl:when test="$MS='CH'">Switzerland</xsl:when>
			<xsl:when test="$MS='CZ'">Czech Republic</xsl:when>
			<xsl:when test="$MS='CY'">Cyprus</xsl:when>
			<xsl:when test="$MS='DK'">Denmark</xsl:when>
			<xsl:when test="$MS='EE'">Estonia</xsl:when>
			<xsl:when test="$MS='ES'">Spain</xsl:when>
			<xsl:when test="$MS='FI'">Finland</xsl:when>
			<xsl:when test="$MS='GR'">Greece</xsl:when>
			<xsl:when test="$MS='HU'">Hungary</xsl:when>
			<xsl:when test="$MS='IS'">Iceland</xsl:when>
			<xsl:when test="$MS='IT'">Italy</xsl:when>
			<xsl:when test="$MS='LT'">Lithuania</xsl:when>
			<xsl:when test="$MS='LU'">Luxembourg</xsl:when>
			<xsl:when test="$MS='LV'">Latvia</xsl:when>
			<xsl:when test="$MS='MT'">Malta</xsl:when>
			<xsl:when test="$MS='NO'">Norway</xsl:when>
			<xsl:when test="$MS='NL'">The Netherlands</xsl:when>
			<xsl:when test="$MS='PL'">Poland</xsl:when>
			<xsl:when test="$MS='PT'">Portugal</xsl:when>
			<xsl:when test="$MS='RO'">Romania</xsl:when>
			<xsl:when test="$MS='SE'">Sweden</xsl:when>
			<xsl:when test="$MS='SI'">Slovenia</xsl:when>
			<xsl:when test="$MS='SK'">Slovakia</xsl:when>
			<xsl:when test="$MS='TR'">Turkey</xsl:when>
		</xsl:choose>
	</xsl:template>
	<!-- YesNoUnknown implementation -->
	<xsl:template name="YesNoUnknown">
		<xsl:param name="YNU"/>
		<xsl:choose>
			<xsl:when test="$YNU = 'Y'">Yes</xsl:when>
			<xsl:when test="$YNU = 'N'">No</xsl:when>
			<xsl:when test="$YNU = 'U'">Unknown</xsl:when>
		</xsl:choose>
	</xsl:template>
	<!-- MeasurementMethod implementation -->
	<xsl:template name="MeasurementMethod">
		<xsl:param name="IK"/>
		<xsl:choose>
			<xsl:when test="$IK = 'IR'">IR Spectroscopy</xsl:when>
			<xsl:when test="$IK = 'KN'">Kjeldahl N</xsl:when>
		</xsl:choose>
	</xsl:template>
	<!-- CRScale implementation -->
	<xsl:template name="CRScale">
		<xsl:param name="SCALE"/>
		<xsl:choose>
			<xsl:when test="$SCALE= 'MUN'">Municipal</xsl:when>
			<xsl:when test="$SCALE = 'NAT'">National</xsl:when>
			<xsl:when test="$SCALE = 'WSA'">Water Service Area</xsl:when>
			<xsl:when test="$SCALE = 'RBD'">River Basin District</xsl:when>
			<xsl:when test="$SCALE = 'REG'">Regional</xsl:when>
			<xsl:when test="$SCALE = 'OTH'">Other</xsl:when>
		</xsl:choose>
	</xsl:template>
	<!-- WaterBodyCategory implementation -->
	<xsl:template name="WaterBodyCategory">
		<xsl:param name="RLTC"/>
		<xsl:choose>
			<xsl:when test="$RLTC = 'RW'">River</xsl:when>
			<xsl:when test="$RLTC = 'LW'">Lake</xsl:when>
			<xsl:when test="$RLTC = 'TW'">Transitional</xsl:when>
			<xsl:when test="$RLTC = 'CW'">Coastal</xsl:when>
		</xsl:choose>
	</xsl:template>
	<!-- Importance implementation -->
	<xsl:template name="Importance">
		<xsl:param name="NVILU"/>
		<xsl:choose>
			<xsl:when test="$NVILU = 'N'">Not Applicable</xsl:when>
			<xsl:when test="$NVILU = 'V'">Very Important</xsl:when>
			<xsl:when test="$NVILU = 'I'">Important</xsl:when>
			<xsl:when test="$NVILU = 'L'">Less Important</xsl:when>
			<xsl:when test="$NVILU = 'U'">Unknown</xsl:when>
		</xsl:choose>
	</xsl:template>
	<!-- System B criteria for Rivers -->
	<xsl:template match="wf:SYSTEMB_RW">
		<xsl:param name="RiverB"/>
		<xsl:if test="$RiverB = 'B'">
			<h5>River Water Bodies</h5>
			<table width="600">
				<caption>
			System B factors used for the definition of typology of River Water bodies.
		</caption>
				<tbody>
					<tr>
						<td class="table_header_left" width="400">
						Altitude
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:ALTITUDE"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Latitude
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:LAT"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Longditude
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:LON"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Geology
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:GEOLOGY"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Size measurement (length)
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:SIZE"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Distance from the river source
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:GEOLOGY"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Energy of flow
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:ENERGY"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Mean water width
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:AV_WIDTH"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Mean water depth
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:AV_DEPTH"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Mean water slope
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:AV_SLOPE"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Form and shape of the main river bed
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:RIV_MORPH"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						River discharge
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:DISCHARGE"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Valley shape
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:VAL_MORPH"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Transport of solids
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:SOLIDS"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Acid neutralising capacity
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:ACID_NEUT"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Mean substratum composition
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:SUBSTRATUM"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Chloride
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:CHLORIDE"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Air temperature range
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:A_TEMP_RGE"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Mean air temperature
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:AV_A_TEMP"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Precipitation
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:PPT"/>
							</xsl:call-template>
						</td>
					</tr>
					<xsl:for-each select="wf:OTHER">
						<tr>
							<td class="table_header_left">
							Other
						</td>
							<td valign="top" align="left">
								<xsl:value-of select="."/>
							</td>
						</tr>
					</xsl:for-each>
				</tbody>
			</table>
		</xsl:if>
	</xsl:template>
	<!-- System B criteria for Lakes -->
	<xsl:template match="wf:SYSTEMB_LW">
		<xsl:param name="LakeB"/>
		<xsl:if test="$LakeB = 'B'">
			<h5>Lake Water Bodies</h5>
			<table width="600">
				<caption>
			System B factors used for the definition of typology of Lake Water Bodies.
		</caption>
				<tbody>
					<tr>
						<td class="table_header_left" width="400">
						Altitude
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:ALTITUDE"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Latitude
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:LAT"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Longditude
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:LON"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Depth
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:DEPTH"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Geology
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:GEOLOGY"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Size measurement (area)
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:SIZE"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Mean water depth
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:AV_DEPTH"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Shape of the lake
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:LAKE_SHAPE"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Residence time
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:RES_TIME"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Mean air temperature
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:AV_A_TEMP"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Air temperature range
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:A_TEMP_RGE"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Mixing characteristics (e.g. monomictic, dimictic, polymictic)
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:MIXING"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Acid neutralising capacity
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:ACID_NEUT"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Background neutrient status
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:NUTRIENT"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Mean substratum composition
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:SUBSTRATUM"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Water level fluctuation
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:LEVEL_FLUC"/>
							</xsl:call-template>
						</td>
					</tr>
					<xsl:for-each select="wf:OTHER">
						<tr>
							<td class="table_header_left">
							Other
						</td>
							<td valign="top" align="left">
								<xsl:value-of select="."/>
							</td>
						</tr>
					</xsl:for-each>
				</tbody>
			</table>
		</xsl:if>
	</xsl:template>
	<!-- System B criteria for Transitional Water Bodies -->
	<xsl:template match="wf:SYSTEMB_TW">
		<xsl:param name="TransB"/>
		<xsl:if test="$TransB = 'B'">
			<h5>Transitional Water Bodies</h5>
			<table width="600">
				<caption>
				System B factors used for the definition of typology of Transitional Water Bodies.
			</caption>
				<tbody>
					<tr>
						<td class="table_header_left" width="400">
						Latitude
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:LAT"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Longditude
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:LON"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Tidal range
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:TIDAL"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Salinity
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:SALINITY"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Depth
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:DEPTH"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Current velocity
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:VELOCITY"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Wave exposure
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:WAV_EXPO"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Residence time
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:RES_TIME"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Mean water temperature
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:AV_W_TEMP"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Mixing characteristics
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:MIXING"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Turbidity
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:TURBIDITY"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Mean substratum composition
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:SUBSTRATUM"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Shape
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:SHAPE"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Water temperature range
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:W_TEMP_RGE"/>
							</xsl:call-template>
						</td>
					</tr>
					<xsl:for-each select="wf:OTHER">
						<tr>
							<td class="table_header_left">
							Other
						</td>
							<td valign="top" align="left">
								<xsl:value-of select="."/>
							</td>
						</tr>
					</xsl:for-each>
				</tbody>
			</table>
		</xsl:if>
	</xsl:template>
	<!-- System B criteria for Coastal Water Bodies -->
	<xsl:template match="wf:SYSTEMB_CW">
		<xsl:param name="CoastB"/>
		<xsl:if test="$CoastB = 'B'">
			<h5>Coastal Water Bodies</h5>
			<table width="600">
				<caption>
				System B factors used for the definition of typology of Coastal Water Bodies.
			</caption>
				<tbody>
					<tr>
						<td class="table_header_left" width="400">
						Latitude
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:LAT"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Longditude
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:LON"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Tidal range
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:TIDAL"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Salinity
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:SALINITY"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Current velocity
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:VELOCITY"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Wave exposure
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:WAV_EXPO"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Mean water temperature
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:AV_W_TEMP"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Mixing characteristics
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:MIXING"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Turbidity
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:TURBIDITY"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Retention time
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:RET_TIME"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Mean substratum composition
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:SUBSTRATUM"/>
							</xsl:call-template>
						</td>
					</tr>
					<tr>
						<td class="table_header_left">
						Water temperature range
					</td>
						<td valign="top" align="left">
							<xsl:call-template name="YesNoUnknown">
								<xsl:with-param name="YNU" select="wf:W_TEMP_RGE"/>
							</xsl:call-template>
						</td>
					</tr>
					<xsl:for-each select="wf:OTHER">
						<tr>
							<td class="table_header_left">
							Other
						</td>
							<td valign="top" align="left">
								<xsl:value-of select="."/>
							</td>
						</tr>
					</xsl:for-each>
				</tbody>
			</table>
		</xsl:if>
	</xsl:template>
</xsl:stylesheet>