View stylesheet

XML schemas http://icm.eionet.europa.eu/schemas/dir200856ec/MSFDFeature_Overview.xsd
Output type HTML
Description HTML Factsheet
XSL file MSFD_OverviewFeatures.xslt (Last modified: 20 Jul 2012 03:01 )
<?xml version="1.0" encoding="UTF-8"?>
<!--Designed and generated by Altova StyleVision Professional Edition 2009 sp1 - see http://www.altova.com/stylevision for more information.-->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:ms="http://water.eionet.europa.eu/schemas/dir200856ec/mscommon" xmlns:n1="http://water.eionet.europa.eu/schemas/dir200856ec" xmlns:xbrldi="http://xbrl.org/2006/xbrldi" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:xdt="http://www.w3.org/2005/xpath-datatypes" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:altova="http://www.altova.com" exclude-result-prefixes="dc fn link ms n1 xbrldi xbrli xdt xlink xs xsi">
	<xsl:output version="4.0" method="html" indent="no" encoding="UTF-8" doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" doctype-system="http://www.w3.org/TR/html4/loose.dtd"/>
	<xsl:param name="SV_OutputFormat" select="'HTML'"/>
	<xsl:variable name="XML" select="/"/>
	<xsl:template match="/">
		<html>
			<head>
				<title/>
				<style type="text/css">
					<xsl:comment>body { font-family:Arial;
 }
 table { border-width:0;
 }
 th { background-color:#dbdbdb;
border-width:0;
font-size:small;
text-align:left;
vertical-align:top;
 }
 td { border-width:0;
font-size:small;
text-align:left;
 }
 h1 { color:#003399;
font-family:Arial;
font-size:x-large;
font-weight:bold;
 }
 h2 { color:#003399;
font-family:Arial;
font-size:large;
 }
 h3 { color:#003399;
font-family:Arial;
font-size:medium;
font-weight:bold;
 }
 h4 { color:#003399;
font-family:Arial;
font-size:small;
 }
 .tov1 { font-family:Arial;
font-size:larger;
font-weight:bold;
 }
 .tov2 { font-family:Arial;
font-size:large;
 }
 .section { font-family:Arial;
font-size:medium;
page-break-after:always;
 }
 .content { font-size:small;
 }
 .table { font-family:Arial;
font-size:xx-small;
 }
 .priority { background-color:#ff8000;
 }
 .nonpriority { background-color:#ffc057;
 }</xsl:comment>
				</style>
			</head>
			<body style="margin-left=0.6in; margin-right=0.6in; margin-top=0.79in; margin-bottom=0.79in">
				<br/>
				<xsl:for-each select="$XML">
					<div class="section">
						<h1>
							<span>
								<xsl:text>Overview of Features reported</xsl:text>
							</span>
						</h1>
					</div>
					<br/>
					<xsl:for-each select="n1:FeatureOverview">
						<table border="1">
							<xsl:variable name="altova:CurrContextGrid_0B96C100" select="."/>
							<thead>
								<tr>
									<th style="border-width:0; font-size:small; text-align:left; ">
										<span>
											<xsl:text>RScode</xsl:text>
										</span>
									</th>
									<th style="border-width:0; font-size:small; text-align:left; ">
										<span>
											<xsl:text>ReportingSection</xsl:text>
										</span>
									</th>
									<th style="border-width:0; font-size:small; text-align:left; ">
										<span>
											<xsl:text>RFCode</xsl:text>
										</span>
									</th>
									<th style="border-width:0; font-size:small; text-align:left; ">
										<span>
											<xsl:text>ReportingFeature</xsl:text>
										</span>
									</th>
									<th style="border-width:0; font-size:small; text-align:left; ">
										<span>
											<xsl:text>FeatureType</xsl:text>
										</span>
									</th>
									<th style="border-width:0; font-size:small; text-align:left; ">
										<span>
											<xsl:text>SourceClassification</xsl:text>
										</span>
									</th>
									<th style="border-width:0; font-size:small; text-align:left; ">
										<span>
											<xsl:text>FeatureRelevant</xsl:text>
										</span>
									</th>
									<th style="border-width:0; font-size:small; text-align:left; ">
										<span>
											<xsl:text>FeatureReported</xsl:text>
										</span>
									</th>
									<th style="border-width:0; font-size:small; text-align:left; ">
										<span>
											<xsl:text>Comments</xsl:text>
										</span>
									</th>
								</tr>
							</thead>
							<tbody>
								<xsl:for-each select="n1:Features">
									<tr bgcolor="aqua">
										<td style="border-width:0; font-size:small; text-align:left; ">
											<xsl:for-each select="n1:RScode">
												<xsl:apply-templates/>
											</xsl:for-each>
										</td>
										<td style="border-width:0; font-size:small; text-align:left; ">
											<xsl:for-each select="n1:ReportingSection">
												<xsl:apply-templates/>
											</xsl:for-each>
										</td>
										<td style="border-width:0; font-size:small; text-align:left; ">
											<xsl:for-each select="n1:RFCode">
												<xsl:apply-templates/>
											</xsl:for-each>
										</td>
										<td style="border-width:0; font-size:small; text-align:left; ">
											<xsl:for-each select="n1:ReportingFeature">
												<xsl:apply-templates/>
											</xsl:for-each>
										</td>
										<td style="border-width:0; font-size:small; text-align:left; ">
											<xsl:for-each select="n1:FeatureType">
												<xsl:apply-templates/>
											</xsl:for-each>
										</td>
										<td style="border-width:0; font-size:small; text-align:left; ">
											<xsl:for-each select="n1:SourceClassification">
												<xsl:apply-templates/>
											</xsl:for-each>
										</td>
										<td style="background-color:#ff8000; border-width:0; font-size:small; text-align:left; " class="priority">
											<xsl:for-each select="n1:FeatureRelevant">
												<xsl:apply-templates/>
											</xsl:for-each>
										</td>
										<td style="background-color:#ff8000; border-width:0; font-size:small; text-align:left; " class="priority">
											<xsl:for-each select="n1:FeatureReported">
												<xsl:apply-templates/>
											</xsl:for-each>
										</td>
										<td style="background-color:#ffc057; border-width:0; font-size:small; text-align:left; " class="nonpriority">
											<xsl:for-each select="n1:Comments">
												<xsl:apply-templates/>
											</xsl:for-each>
										</td>
									</tr>
								</xsl:for-each>
							</tbody>
						</table>
						<br/>
					</xsl:for-each>
					<br/>
				</xsl:for-each>
			</body>
		</html>
	</xsl:template>
</xsl:stylesheet>