View stylesheet

XML schemas http://dd.eionet.eu.int/GetSchema?id=TBL2551
Output type HTML
Description Nicely laid out HTML page
XSL file gw_gc2htmllist_2551.xml (Last modified: 06 Jan 2006 15:37 )
<?xml version="1.0" encoding="UTF-8"?>

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" 
	 xmlns:dd8="http://dd.eionet.eu.int/namespace.jsp?ns_id=8" xmlns:dd37="http://dd.eionet.eu.int/namespace.jsp?ns_id=37">

	 <xsl:output indent="yes" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" omit-xml-declaration="yes"/>   

    <xsl:param name="table-tag" select="'dd8:GeneralCharacterisation'"/>
    <xsl:param name="row-tag"  select="'dd8:Row'"/>

<xsl:template match="dd8:GeneralCharacterisation">
	<html>
		<head>
			<style type="text/css">
	      	.itemheading {
					font-family: Verdana, Arial, "MS Sans Serif", sans-serif; 
					font-size: 9pt;
       		   font-weight: bold; 
       		   border-bottom: 2px solid black; 
       		   width: 670px;
       		   padding-bottom: 2px; 
       	   }
	      	.sectionheading {
					font-family: Verdana, Arial, "MS Sans Serif", sans-serif; 
					font-size: 8pt;
       		   font-weight: bold; 
       		   border-bottom: 1px solid black; 
       		   width: 670px; 
       	   }
				.label {
					font-family: Verdana, Arial, "MS Sans Serif", sans-serif;
					font-size: 8pt;
					text-align: right;
				}
				.value {
					font-family: Verdana, Arial, "MS Sans Serif", sans-serif; 
					font-size: 8pt;
				}
				h1 {
					font-family: Arial, Helvetica, sans-serif; 
					font-size: 1.2em; 
					line-height: 120%; 
				}
       	</style>

			<title>Groundwater Body Characteristics and Pressures</title>
		</head>
		<body>
			<h1>Groundwater Body Characteristics and Pressures</h1>
			<xsl:apply-templates select="dd8:Row"/>
		</body>
	</html>
</xsl:template>

<xsl:template match="dd8:Row">
	<div class="itemheading">
		<xsl:value-of select="dd37:EWN-Code"/> (GW Body status: <xsl:value-of select="@status"/>)
	</div>
	<table>
		<tr>
			<td class="label" style="width: 144px">EWN-Code:</td><td class="value" style="width: 177px"><xsl:value-of select="dd37:EWN-Code"/></td>
			<td class="label" style="width: 144px">Area:</td><td class="value" style="width: 177px"><xsl:value-of select="dd37:Area"/></td>
		</tr>
		<tr>
			<td class="label">National Code:</td><td class="value"><xsl:value-of select="dd37:National_code"/></td>
			<td class="label">Main Aquifer Type:</td><td class="value"><xsl:value-of select="dd37:Main_aquifer_type"/></td>
		</tr>
		<tr>
			<td class="label">Name:</td><td class="value"><xsl:value-of select="dd37:Name"/></td>
			<td class="label">Groundwater horizon:</td><td class="value"><xsl:value-of select="dd37:Horizon"/></td>
		</tr>
		<tr>
			<td class="label">Reference year:</td><td class="value"><xsl:value-of select="dd37:Reference_year"/></td>
			<td class="label">Maximum length:</td><td class="value"><xsl:value-of select="dd37:Maximum_length"/></td>
		</tr>
		<tr>
			<td class="label">Location:</td><td class="value"><xsl:value-of select="dd37:Location"/></td>
			<td class="label">Maximum width:</td><td class="value"><xsl:value-of select="dd37:Maximum_width"/></td>
		</tr>
	</table>
	<div style="height:0.8em"/>

	<div class="sectionheading">Hydrology</div>
	<table>
		<tr>
			<td class="label" style="width: 300px">Annual Precipitation - Minimum:</td><td class="value" style="width: 70px"><xsl:value-of select="dd37:Annual_precipitation_min"/></td>
			<td class="label" style="width: 40px">Mean:</td><td class="value" style="width: 70px"><xsl:value-of select="dd37:Annual_precipitation_mean"/></td>
			<td class="label" style="width: 65px">Maximum:</td><td class="value" style="width: 70px"><xsl:value-of select="dd37:Annual_precipitation_max"/></td>
		</tr>
	</table>
	<div style="height:0.8em"/>

	<div class="sectionheading">Geology</div>
	<table>
		<tr><td class="label" style="width: 300px">Stratigraphy:</td><td class="value" colspan="5"><xsl:value-of select="dd37:Stratigraphy"/></td></tr>
		<tr><td class="label">Petrographic Description:</td><td class="value" colspan="5"><xsl:value-of select="dd37:Petrographic_descript"/></td></tr>
		<tr>
			<td class="label" style="width: 300px">Thickness - Minimum:</td><td class="value" style="width: 70px"><xsl:value-of select="dd37:Thickness_min"/></td>
			<td class="label" style="width: 40px">Mean:</td><td class="value" style="width: 70px"><xsl:value-of select="dd37:Thickness_mean"/></td>
			<td class="label" style="width: 65px">Maximum:</td><td class="value" style="width: 70px"><xsl:value-of select="dd37:Thickness_max"/></td>
		</tr>
		<tr><td class="label">Overlaying Strata:</td><td class="value" colspan="5"><xsl:value-of select="dd37:Overlaying_strata"/></td></tr>
		<tr>
			<td class="label">Depth to Groundwater Body - Minimum:</td><td class="value"><xsl:value-of select="dd37:Depth_to_groundwater_min"/></td>
			<td class="label">Mean:</td><td class="value"><xsl:value-of select="dd37:Depth_to_groundwater_mean"/></td>
			<td class="label">Maximum:</td><td class="value"><xsl:value-of select="dd37:Depth_to_groundwater_max"/></td>
		</tr>
	</table>
	<div style="height:0.8em"/>

	<div class="sectionheading">Hydrogeology</div>
	<table>
		<tr><td class="label" style="width: 300px">Main recharge source:</td><td class="value" colspan="5"><xsl:value-of select="dd37:Main_recharge_source"/></td></tr>
		<tr>
			<td class="label" style="width: 300px">Hydraulic Conductivity - Minimum:</td><td class="value" style="width: 70px"><xsl:value-of select="dd37:Hydraulic_conductivity_min"/></td>
			<td class="label" style="width: 40px">Mean:</td><td class="value" style="width: 70px"><xsl:value-of select="dd37:Hydraulic_conductivity_mean"/></td>
			<td class="label" style="width: 65px">Maximum:</td><td class="value" style="width: 70px"><xsl:value-of select="dd37:Hydraulic_conductivity_max"/></td>
		</tr>
		<tr>
			<td class="label">Annual Groundwater Level Amplitude - Minimum:</td><td class="value"><xsl:value-of select="dd37:Annual_gw_level_amplitude_min"/></td>
			<td class="label">Mean:</td><td class="value"><xsl:value-of select="dd37:Annual_gw_level_amplitude_mean"/></td>
			<td class="label">Maximum:</td><td class="value"><xsl:value-of select="dd37:Annual_gw_level_amplitude_max"/></td>
		</tr>
	</table>
	<div style="height:0.8em"/>

	<div class="sectionheading">Pressures</div>
	<table>
		<tr><td class="label" style="width: 300px">Arable Land:</td><td class="value" style="width: 355px"><xsl:value-of select="dd37:Land_use_arable_land"/></td></tr>
		<tr><td class="label">Permanent Crops:</td><td class="value"><xsl:value-of select="dd37:Land_use_permanent_crops"/></td></tr>
		<tr><td class="label">Permanent Pasture:</td><td class="value"><xsl:value-of select="dd37:Land_use_permanent_pasture"/></td></tr>
		<tr><td class="label">Forest and Woodland:</td><td class="value"><xsl:value-of select="dd37:Land_use_forest_and_woodland"/></td></tr>
		<tr><td class="label">Urban Areas:</td><td class="value"><xsl:value-of select="dd37:Land_use_urban_areas"/></td></tr>
		<tr><td class="label">Other:</td><td class="value"><xsl:value-of select="dd37:Land_use_other"/></td></tr>
		<tr><td class="label">Water Abstractions:</td><td class="value"><xsl:value-of select="dd37:water_abstraction"/></td></tr>
		<tr><td class="label">Water Abstractions Purpose:</td><td class="value"><xsl:value-of select="dd37:water_abstraction_purpose"/></td></tr>
		<tr><td class="label">Artificial Recharge:</td><td class="value"><xsl:value-of select="dd37:artificial_recharge"/></td></tr>
		<tr><td class="label">Artificial Recharge Purpose:</td><td class="value"><xsl:value-of select="dd37:artificial_recharge_purpose"/></td></tr>
		<tr><td class="label">Main Infrastructures:</td><td class="value"><xsl:value-of select="dd37:main_infrastructures"/></td></tr>
		<tr><td class="label">Main Infrastructures Purpose:</td><td class="value"><xsl:value-of select="dd37:main_infrastructures_which"/></td></tr>
		<tr><td class="label">Associated Aquatic Ecosystems:</td><td class="value"><xsl:value-of select="dd37:associated_aquatic_ecosystems"/></td></tr>
		<tr><td class="label">Associated Aquatic Ecosystems Purpose:</td><td class="value"><xsl:value-of select="dd37:associated_aquatic_ecosystems_which"/></td></tr>
	</table>
	<div style="height:2em"/>
</xsl:template>

</xsl:stylesheet>