View stylesheet

XML schema http://icm.eionet.europa.eu/schemas/dir200856ec/MSFDFeature_Overview.xsd
Output type HTML
Description Assessment table 3a, Overview of article 3,4,5 and 6
XSL file Table3a_Overview.xslt (Last modified: 25 Oct 2012 11:45 )
<?xml version="1.0" encoding="UTF-8"?>
<!--Designed and generated by Altova StyleVision Professional Edition 2012 rel. 2 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:altova="http://www.altova.com" xmlns:altovaext="http://www.altova.com/xslt-extensions" xmlns:clitype="clitype" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:iso4217="http://www.xbrl.org/2003/iso4217" xmlns:ix="http://www.xbrl.org/2008/inlineXBRL" xmlns:java="java" 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:sps="http://www.altova.com/StyleVision/user-xpath-functions" xmlns:xbrldi="http://xbrl.org/2006/xbrldi" xmlns:xbrli="http://www.xbrl.org/2003/instance" 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" exclude-result-prefixes="altova altovaext clitype dc fn iso4217 ix java link ms n1 sps xbrldi xbrli 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:variable name="altova:nPxPerIn" select="96"/>
	<xsl:template match="/">
		<html>
			<head>
				<title/>
				<meta name="generator" content="Altova StyleVision Professional Edition 2012 rel. 2 sp1 (http://www.altova.com)"/>
				<meta http-equiv="X-UA-Compatible" content="IE=7"/>
				<style type="text/css">
					<xsl:comment>body { font-family:Arial;
 }
 table { border-width:0;
text-align:center;
 }
 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;
text-align:center;
 }
 .priority { background-color:#ff8000;
 }
 .nonpriority { background-color:#ffc057;
 }
 .BlueHeader { background-color:#8fc5dc;
 }</xsl:comment>
				</style>
				<xsl:comment>[if IE]&gt;&lt;STYLE type=&quot;text/css&quot;&gt;.altova-rotate-left-textbox{filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3)} .altova-rotate-right-textbox{filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1)} &lt;/STYLE&gt;&lt;![endif]</xsl:comment>
				<xsl:comment>[if !IE]&gt;&lt;!</xsl:comment>
				<style type="text/css">.altova-rotate-left-textbox{-webkit-transform: rotate(-90deg) translate(-100%, 0%); -webkit-transform-origin: 0% 0%;-moz-transform: rotate(-90deg) translate(-100%, 0%); -moz-transform-origin: 0% 0%;-ms-transform: rotate(-90deg) translate(-100%, 0%); -ms-transform-origin: 0% 0%;}.altova-rotate-right-textbox{-webkit-transform: rotate(90deg) translate(0%, -100%); -webkit-transform-origin: 0% 0%;-moz-transform: rotate(90deg) translate(0%, -100%); -moz-transform-origin: 0% 0%;-ms-transform: rotate(90deg) translate(0%, -100%); -ms-transform-origin: 0% 0%;}</style>
				<xsl:comment>&lt;![endif]</xsl:comment>
				<style type="text/css">@page { margin-left:0.6in; margin-right:0.6in; margin-top:0.79in; margin-bottom:0.79in } @media print { br.altova-page-break { page-break-before: always; } }</style>
			</head>
			<body>
				<br/>
				<xsl:for-each select="$XML">
					<br/>
					<span style="font-size:medium; ">
						<xsl:text>Table 3a, Overview of relevant and reported elements of Article 3, 4, 5 and 6</xsl:text>
					</span>
					<br/>
					<xsl:for-each select="n1:FeatureOverview">
						<table style="background-color:#b4b4b4; " border="1">
							<xsl:variable name="altova:CurrContextGrid_0" select="."/>
							<thead style="display: table-header-group; font-size:x-small; ">
								<tr style="font-size:xx-small; height:0.32in; ">
									<th colspan="2" style="background-color:#8fc5dc; font-size:x-small; ">
										<span style="font-size:xx-small; font-weight:bold; ">
											<xsl:text>Features &amp; Characteristics</xsl:text>
										</span>
									</th>
									<th style="background-color:#8fc5dc; font-size:xx-small; ">
										<span>
											<xsl:text>Found relevant by MS?</xsl:text>
										</span>
									</th>
									<th style="background-color:#8fc5dc; font-size:xx-small; ">
										<span>
											<xsl:text>Reported by MS?</xsl:text>
										</span>
									</th>
									<th style="background-color:#8fc5dc; font-size:xx-small; ">
										<span>
											<xsl:text>Comments/ justification for not reporting</xsl:text>
										</span>
									</th>
								</tr>
								<tr style="font-size:xx-small; height:0.30in; ">
									<th colspan="2" style="background-color:silver; font-size:xx-small; ">
										<span style="font-style:italic; ">
											<xsl:text>Possible answers</xsl:text>
										</span>
									</th>
									<th style="background-color:silver; font-size:xx-small; ">
										<span style="font-style:italic; ">
											<xsl:text>Yes or No</xsl:text>
										</span>
									</th>
									<th style="background-color:silver; font-size:xx-small; ">
										<span style="font-style:italic; ">
											<xsl:text>Yes or No</xsl:text>
										</span>
									</th>
									<th style="background-color:silver; font-size:xx-small; ">
										<span style="font-style:italic; ">
											<xsl:text>Descriptive text from report</xsl:text>
										</span>
									</th>
								</tr>
							</thead>
							<tbody>
								<xsl:for-each select="n1:Features[n1:RScode=&apos;0304&apos;]">
									<tr style="font-size:xx-small; " bgcolor="aqua">
										<td style="background-color:white; font-size:xx-small; ">
											<span>
												<xsl:text>Geographic areas</xsl:text>
											</span>
										</td>
										<td style="background-color:white; font-size:xx-small; ">
											<xsl:for-each select="n1:ReportingFeature">
												<xsl:apply-templates/>
											</xsl:for-each>
										</td>
										<td style="background-color:white; font-size:xx-small; " class="priority">
											<xsl:for-each select="n1:FeatureRelevant">
												<xsl:apply-templates/>
											</xsl:for-each>
										</td>
										<td style="background-color:white; font-size:xx-small; " class="priority">
											<xsl:for-each select="n1:FeatureReported">
												<xsl:apply-templates/>
											</xsl:for-each>
										</td>
										<td style="background-color:white; font-size:xx-small; " class="nonpriority">
											<xsl:for-each select="n1:Comments">
												<xsl:apply-templates/>
											</xsl:for-each>
										</td>
									</tr>
								</xsl:for-each>
							</tbody>
							<tbody>
								<xsl:for-each select="n1:Features[n1:RScode=&apos;0506&apos;]">
									<tr style="font-size:xx-small; " bgcolor="aqua">
										<td style="background-color:white; font-size:xx-small; ">
											<span>
												<xsl:text>Regional coordination</xsl:text>
											</span>
										</td>
										<td style="background-color:white; font-size:xx-small; ">
											<xsl:for-each select="n1:ReportingFeature">
												<xsl:apply-templates/>
											</xsl:for-each>
										</td>
										<td style="background-color:white; font-size:xx-small; " class="priority">
											<xsl:for-each select="n1:FeatureRelevant">
												<xsl:apply-templates/>
											</xsl:for-each>
										</td>
										<td style="background-color:white; font-size:xx-small; " class="priority">
											<xsl:for-each select="n1:FeatureReported">
												<xsl:apply-templates/>
											</xsl:for-each>
										</td>
										<td style="background-color:white; font-size:xx-small; " class="nonpriority">
											<xsl:for-each select="n1:Comments">
												<xsl:apply-templates/>
											</xsl:for-each>
										</td>
									</tr>
								</xsl:for-each>
							</tbody>
						</table>
					</xsl:for-each>
					<br/>
				</xsl:for-each>
			</body>
		</html>
	</xsl:template>
</xsl:stylesheet>