View stylesheet

XML schema http://icm.eionet.europa.eu/schemas/dir200856ec/MSFD8aFeatures_2p0.xsd
Output type HTML
Description Assessment table 6, NIS inventory
XSL file Table6_NIS.xslt (Last modified: 29 May 2013 08:48 )
<?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;
font-size:xx-small;
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:xx-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:xx-small;
page-break-after:always;
 }
 .content { font-size:xx-small;
 }
 .table { font-family:Arial;
font-size:xx-small;
text-align:center;
 }
 .priority { background-color:#ff8000;
 }
 .nonpriority { background-color:#ffc057;
 }
 .BlueHeader { background-color:#8fc5dc;
color:maroon;
font-size:xx-small;
 }</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>
						<xsl:text>Table 6, Reported elements for NIS inventory</xsl:text>
					</span>
					<br/>
					<xsl:for-each select="n1:Features">
						<br/>
						<xsl:for-each select="n1:NISInventoryFeature">
							<br/>
							<span style="font-size:x-small; ">
								<xsl:text>MarineUnitID:</xsl:text>
							</span>
							<xsl:for-each select="n1:MarineUnitID">
								<span style="display: table-header-group; font-size:x-small; ">
									<xsl:apply-templates/>
								</span>
							</xsl:for-each>
							<br/>
							<table style="background-color:#b4b4b4; font-size:xx-small; " border="1">
								<xsl:variable name="altova:CurrContextGrid_0" select="."/>
								<thead style="display: table-header-group; ">
									<tr style="background-color:olive; font-size:xx-small; height:0.33in; ">
										<th style="background-color:#8fc5dc; ">
											<span>
												<xsl:text>NIS Inventory</xsl:text>
											</span>
										</th>
										<th style="background-color:#8fc5dc; ">
											<span>
												<xsl:text>Species name</xsl:text>
											</span>
										</th>
										<th style="background-color:#8fc5dc; ">
											<span>
												<xsl:text>Relevant predominant habitat/ functional group</xsl:text>
											</span>
										</th>
										<th style="background-color:#8fc5dc; ">
											<span>
												<xsl:text>Means of arrival</xsl:text>
											</span>
										</th>
									</tr>
									<tr style="font-size:xx-small; height:0.48in; ">
										<th style="background-color:silver; ">
											<span style="font-style:italic; ">
												<xsl:text>Possible answer</xsl:text>
											</span>
										</th>
										<th style="background-color:silver; ">
											<span style="font-style:italic; ">
												<xsl:text>Scientific name, authority and date</xsl:text>
											</span>
										</th>
										<th style="background-color:silver; ">
											<span style="font-style:italic; ">
												<xsl:text>Predominant habitat or functional group to which the species belongs or is associated </xsl:text>
											</span>
										</th>
										<th style="background-color:silver; ">
											<span style="font-style:italic; ">
												<xsl:text>NIS pathways</xsl:text>
											</span>
										</th>
									</tr>
								</thead>
								<tbody style="font-size:xx-small; ">
									<xsl:for-each select="n1:Inventories[n1:ReportingFeature=&apos;NonIndigenous&apos;]">
										<xsl:for-each select="n1:Inventory">
											<tr style="background-color:#f0f0f0; font-size:xx-small; " bgcolor="aqua">
												<td style="background-color:white; ">
													<span style="font-size:xx-small; ">
														<xsl:text>Non-indigenous species inventory</xsl:text>
													</span>
												</td>
												<td style="background-color:white; ">
													<xsl:for-each select="n1:ScientificName">
														<xsl:apply-templates/>
													</xsl:for-each>
												</td>
												<td style="background-color:white; ">
													<xsl:for-each select="n1:Habitat_FunctionalGroup">
														<xsl:apply-templates/>
													</xsl:for-each>
												</td>
												<td style="background-color:white; ">
													<xsl:for-each select="n1:MeansofArrival">
														<xsl:apply-templates/>
													</xsl:for-each>
												</td>
											</tr>
										</xsl:for-each>
									</xsl:for-each>
								</tbody>
								<tbody style="font-size:xx-small; ">
									<xsl:for-each select="n1:Inventories[n1:ReportingFeature=&apos;GeneticallyDistinct&apos;]">
										<xsl:for-each select="n1:Inventory">
											<tr style="background-color:#f0f0f0; font-size:xx-small; " bgcolor="aqua">
												<td style="background-color:white; ">
													<span>
														<xsl:text>Genetically distinct forms of native species inventory</xsl:text>
													</span>
												</td>
												<td style="background-color:white; ">
													<xsl:for-each select="n1:ScientificName">
														<xsl:apply-templates/>
													</xsl:for-each>
												</td>
												<td style="background-color:white; ">
													<xsl:for-each select="n1:Habitat_FunctionalGroup">
														<xsl:apply-templates/>
													</xsl:for-each>
												</td>
												<td style="background-color:white; ">
													<xsl:for-each select="n1:MeansofArrival">
														<xsl:apply-templates/>
													</xsl:for-each>
												</td>
											</tr>
										</xsl:for-each>
									</xsl:for-each>
								</tbody>
							</table>
						</xsl:for-each>
						<br/>
					</xsl:for-each>
					<br/>
					<br/>
				</xsl:for-each>
			</body>
		</html>
	</xsl:template>
</xsl:stylesheet>