View stylesheet

XML schemas http://water.eionet.europa.eu/schemas/dir200760ec/CA_UoM_1p0.xsd
Output type HTML
Description HTML factsheet
XSL file CA_UOM_0p1.xslt (Last modified: 04 Jan 2011 10:34 )
<?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:fd="http://water.eionet.europa.eu/schemas/dir200760ec/fdcommon" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:n1="http://water.eionet.europa.eu/schemas/dir200760ec" 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 fd fn link 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:xx-large;
font-weight:bold;
 }
 h2 { color:#003399;
font-family:Arial;
font-size:large;
 }
 h3 { color:#003399;
font-family:Arial;
font-size:medium;
 }
 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 { page-break-after:always;
 }
 .content { font-size:small;
 }</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>Floods reporting: Competent authorities and Units of Management for </xsl:text>
							</span>
							<xsl:for-each select="n1:CA_UoM">
								<xsl:for-each select="n1:C_CD">
									<xsl:apply-templates/>
								</xsl:for-each>
							</xsl:for-each>
						</h1>
						<h2>
							<span style="text-decoration:underline; ">
								<xsl:text>XML File details</xsl:text>
							</span>
						</h2>
						<table border="1">
							<xsl:variable name="altova:CurrContextGrid_068E9BC0" select="."/>
							<tbody>
								<tr>
									<th style="border-width:0; font-size:small; text-align:left; ">
										<span>
											<xsl:text>CreationDate</xsl:text>
										</span>
									</th>
									<xsl:for-each select="n1:CA_UoM">
										<td style="border-width:0; font-size:small; text-align:left; ">
											<xsl:for-each select="@CreationDate">
												<span>
													<xsl:value-of select="string(.)"/>
												</span>
											</xsl:for-each>
										</td>
									</xsl:for-each>
								</tr>
								<tr>
									<th style="border-width:0; font-size:small; text-align:left; ">
										<span>
											<xsl:text>Creator</xsl:text>
										</span>
									</th>
									<xsl:for-each select="n1:CA_UoM">
										<td style="border-width:0; font-size:small; text-align:left; ">
											<xsl:for-each select="@Creator">
												<span>
													<xsl:value-of select="string(.)"/>
												</span>
											</xsl:for-each>
										</td>
									</xsl:for-each>
								</tr>
								<tr>
									<th style="border-width:0; font-size:small; text-align:left; ">
										<span>
											<xsl:text>Email</xsl:text>
										</span>
									</th>
									<xsl:for-each select="n1:CA_UoM">
										<td style="border-width:0; font-size:small; text-align:left; ">
											<xsl:for-each select="@Email">
												<span>
													<xsl:value-of select="string(.)"/>
												</span>
											</xsl:for-each>
										</td>
									</xsl:for-each>
								</tr>
								<tr>
									<th style="border-width:0; font-size:small; text-align:left; ">
										<span>
											<xsl:text>Description</xsl:text>
										</span>
									</th>
									<xsl:for-each select="n1:CA_UoM">
										<td style="border-width:0; font-size:small; text-align:left; ">
											<xsl:for-each select="@Description">
												<span>
													<xsl:value-of select="string(.)"/>
												</span>
											</xsl:for-each>
										</td>
									</xsl:for-each>
								</tr>
								<tr>
									<th style="border-width:0; font-size:small; text-align:left; ">
										<span>
											<xsl:text>GeneratedBy</xsl:text>
										</span>
									</th>
									<xsl:for-each select="n1:CA_UoM">
										<td style="border-width:0; font-size:small; text-align:left; ">
											<xsl:for-each select="@GeneratedBy">
												<span>
													<xsl:value-of select="string(.)"/>
												</span>
											</xsl:for-each>
										</td>
									</xsl:for-each>
								</tr>
								<tr>
									<th style="border-width:0; font-size:small; text-align:left; ">
										<span>
											<xsl:text>METADATA</xsl:text>
										</span>
									</th>
									<xsl:for-each select="n1:CA_UoM">
										<td style="border-width:0; font-size:small; text-align:left; ">
											<xsl:for-each select="n1:METADATA">
												<xsl:apply-templates/>
											</xsl:for-each>
										</td>
									</xsl:for-each>
								</tr>
								<tr>
									<th style="border-width:0; font-size:small; text-align:left; ">
										<span>
											<xsl:text>URL</xsl:text>
										</span>
									</th>
									<xsl:for-each select="n1:CA_UoM">
										<td style="border-width:0; font-size:small; text-align:left; ">
											<xsl:for-each select="n1:URL">
												<xsl:apply-templates/>
											</xsl:for-each>
										</td>
									</xsl:for-each>
								</tr>
							</tbody>
						</table>
						<br/>
						<br/>
						<div>
							<h1>
								<span>
									<xsl:text>Contents</xsl:text>
								</span>
							</h1>
							<a>
								<xsl:choose>
									<xsl:when test="substring(string(&apos;#1&apos;), 1, 1) = '#'">
										<xsl:attribute name="href">
											<xsl:value-of select="&apos;#1&apos;"/>
										</xsl:attribute>
									</xsl:when>
									<xsl:otherwise>
										<xsl:attribute name="href">
											<xsl:if test="substring(string(&apos;#1&apos;), 2, 1) = ':'">
												<xsl:text>file:///</xsl:text>
											</xsl:if>
											<xsl:value-of select="translate(string(&apos;#1&apos;), '&#x5c;', '/')"/>
										</xsl:attribute>
									</xsl:otherwise>
								</xsl:choose>
								<span>
									<xsl:text>1. Competent authorities</xsl:text>
								</span>
							</a>
							<br/>
							<a>
								<xsl:choose>
									<xsl:when test="substring(string(&apos;#2&apos;), 1, 1) = '#'">
										<xsl:attribute name="href">
											<xsl:value-of select="&apos;#2&apos;"/>
										</xsl:attribute>
									</xsl:when>
									<xsl:otherwise>
										<xsl:attribute name="href">
											<xsl:if test="substring(string(&apos;#2&apos;), 2, 1) = ':'">
												<xsl:text>file:///</xsl:text>
											</xsl:if>
											<xsl:value-of select="translate(string(&apos;#2&apos;), '&#x5c;', '/')"/>
										</xsl:attribute>
									</xsl:otherwise>
								</xsl:choose>
								<span>
									<xsl:text>2. Units of Management</xsl:text>
								</span>
							</a>
							<br/>
						</div>
					</div>
					<br/>
					<br/>
					<div class="section">
						<h1>
							<a>
								<xsl:attribute name="name">
									<xsl:value-of select="&apos;1&apos;"/>
								</xsl:attribute>
							</a>
							<span>
								<xsl:text>1. Competent authorities</xsl:text>
							</span>
						</h1>
						<table border="1">
							<xsl:variable name="altova:CurrContextGrid_06859358" select="."/>
							<thead>
								<tr>
									<th style="border-width:0; font-size:small; text-align:left; ">
										<span>
											<xsl:text>EUCACode</xsl:text>
										</span>
									</th>
									<th style="border-width:0; font-size:small; text-align:left; ">
										<span>
											<xsl:text>CompetentAuthorityName</xsl:text>
										</span>
									</th>
									<th style="border-width:0; font-size:small; text-align:left; ">
										<span>
											<xsl:text>CompetentAuthorityNameNL</xsl:text>
										</span>
									</th>
									<th style="border-width:0; font-size:small; text-align:left; ">
										<span>
											<xsl:text>Acronym</xsl:text>
										</span>
									</th>
									<th style="border-width:0; font-size:small; text-align:left; ">
										<span>
											<xsl:text>Auth_CD</xsl:text>
										</span>
									</th>
									<th style="border-width:0; font-size:small; text-align:left; ">
										<span>
											<xsl:text>LegalStatus</xsl:text>
										</span>
									</th>
									<th style="border-width:0; font-size:small; text-align:left; ">
										<span>
											<xsl:text>Street</xsl:text>
										</span>
									</th>
									<th style="border-width:0; font-size:small; text-align:left; ">
										<span>
											<xsl:text>City</xsl:text>
										</span>
									</th>
									<th style="border-width:0; font-size:small; text-align:left; ">
										<span>
											<xsl:text>CityNL</xsl:text>
										</span>
									</th>
									<th style="border-width:0; font-size:small; text-align:left; ">
										<span>
											<xsl:text>Country</xsl:text>
										</span>
									</th>
									<th style="border-width:0; font-size:small; text-align:left; ">
										<span>
											<xsl:text>Postcode</xsl:text>
										</span>
									</th>
									<th style="border-width:0; font-size:small; text-align:left; ">
										<span>
											<xsl:text>URL</xsl:text>
										</span>
									</th>
								</tr>
							</thead>
							<tbody>
								<xsl:for-each select="n1:CA_UoM">
									<xsl:for-each select="n1:CompetentAuthority">
										<tr>
											<td style="border-width:0; font-size:small; text-align:left; ">
												<xsl:for-each select="n1:EUCACode">
													<xsl:apply-templates/>
												</xsl:for-each>
											</td>
											<td style="border-width:0; font-size:small; text-align:left; ">
												<xsl:for-each select="n1:CompetentAuthorityName">
													<xsl:apply-templates/>
												</xsl:for-each>
											</td>
											<td style="border-width:0; font-size:small; text-align:left; ">
												<xsl:for-each select="n1:CompetentAuthorityNameNL">
													<xsl:apply-templates/>
												</xsl:for-each>
											</td>
											<td style="border-width:0; font-size:small; text-align:left; ">
												<xsl:for-each select="n1:Acronym">
													<xsl:apply-templates/>
												</xsl:for-each>
											</td>
											<td style="border-width:0; font-size:small; text-align:left; ">
												<xsl:for-each select="n1:Auth_CD">
													<xsl:apply-templates/>
												</xsl:for-each>
											</td>
											<td style="border-width:0; font-size:small; text-align:left; ">
												<xsl:for-each select="n1:LegalStatus">
													<xsl:apply-templates/>
												</xsl:for-each>
											</td>
											<td style="border-width:0; font-size:small; text-align:left; ">
												<xsl:for-each select="n1:Street">
													<xsl:apply-templates/>
												</xsl:for-each>
											</td>
											<td style="border-width:0; font-size:small; text-align:left; ">
												<xsl:for-each select="n1:City">
													<xsl:apply-templates/>
												</xsl:for-each>
											</td>
											<td style="border-width:0; font-size:small; text-align:left; ">
												<xsl:for-each select="n1:CityNL">
													<xsl:apply-templates/>
												</xsl:for-each>
											</td>
											<td style="border-width:0; font-size:small; text-align:left; ">
												<xsl:for-each select="n1:Country">
													<xsl:apply-templates/>
												</xsl:for-each>
											</td>
											<td style="border-width:0; font-size:small; text-align:left; ">
												<xsl:for-each select="n1:Postcode">
													<xsl:apply-templates/>
												</xsl:for-each>
											</td>
											<td style="border-width:0; font-size:small; text-align:left; ">
												<xsl:for-each select="n1:URL">
													<xsl:apply-templates/>
												</xsl:for-each>
											</td>
										</tr>
									</xsl:for-each>
								</xsl:for-each>
							</tbody>
						</table>
						<br/>
						<h2>
							<span>
								<xsl:text>1.1 Competent authority further details</xsl:text>
							</span>
						</h2>
					</div>
					<div class="section">
						<xsl:for-each select="n1:CA_UoM">
							<xsl:for-each select="n1:CompetentAuthority">
								<h4>
									<span>
										<xsl:value-of select="position()"/>
									</span>
									<span>
										<xsl:text>. </xsl:text>
									</span>
									<xsl:for-each select="n1:EUCACode">
										<xsl:apply-templates/>
									</xsl:for-each>
								</h4>
								<h5>
									<span>
										<xsl:text>Competent authority roles</xsl:text>
									</span>
								</h5>
								<div>
									<table border="1">
										<xsl:variable name="altova:CurrContextGrid_06DC3660" select="."/>
										<thead>
											<tr>
												<th style="border-width:0; font-size:small; text-align:left; ">
													<span>
														<xsl:text>RoleCode</xsl:text>
													</span>
												</th>
												<th style="border-width:0; font-size:small; text-align:left; ">
													<span>
														<xsl:text>Comment</xsl:text>
													</span>
												</th>
											</tr>
										</thead>
										<tbody>
											<xsl:for-each select="n1:Roles">
												<xsl:for-each select="n1:Role">
													<tr>
														<td style="border-width:0; font-size:small; text-align:left; ">
															<xsl:for-each select="n1:RoleCode">
																<xsl:apply-templates/>
															</xsl:for-each>
														</td>
														<td style="border-width:0; font-size:small; text-align:left; ">
															<xsl:for-each select="n1:Comment">
																<xsl:apply-templates/>
															</xsl:for-each>
														</td>
													</tr>
												</xsl:for-each>
											</xsl:for-each>
										</tbody>
									</table>
								</div>
								<h5>
									<span>
										<xsl:text>Competent authority references</xsl:text>
									</span>
								</h5>
								<ul class="content">
									<xsl:for-each select="n1:Reference">
										<li>
											<div>
												<xsl:apply-templates/>
											</div>
										</li>
									</xsl:for-each>
								</ul>
								<br/>
								<br/>
							</xsl:for-each>
						</xsl:for-each>
						<br/>
					</div>
					<h1>
						<a>
							<xsl:attribute name="name">
								<xsl:value-of select="&apos;2&apos;"/>
							</xsl:attribute>
						</a>
						<span>
							<xsl:text>2. Units of Management</xsl:text>
						</span>
					</h1>
					<table border="1">
						<xsl:variable name="altova:CurrContextGrid_069936A8" select="."/>
						<thead>
							<tr>
								<th style="border-width:0; font-size:small; text-align:left; ">
									<span>
										<xsl:text>EUUOMCode</xsl:text>
									</span>
								</th>
								<th style="border-width:0; font-size:small; text-align:left; ">
									<span>
										<xsl:text>UOMName</xsl:text>
									</span>
								</th>
								<th style="border-width:0; font-size:small; text-align:left; ">
									<span>
										<xsl:text>UOMNameNL</xsl:text>
									</span>
								</th>
								<th style="border-width:0; font-size:small; text-align:left; ">
									<span>
										<xsl:text>UOM_MS_CD</xsl:text>
									</span>
								</th>
								<th style="border-width:0; font-size:small; text-align:left; ">
									<span>
										<xsl:text>Area</xsl:text>
									</span>
								</th>
								<th style="border-width:0; font-size:small; text-align:left; ">
									<span>
										<xsl:text>NationalRelationships</xsl:text>
									</span>
								</th>
								<th style="border-width:0; font-size:small; text-align:left; ">
									<span>
										<xsl:text>International</xsl:text>
									</span>
								</th>
								<th style="border-width:0; font-size:small; text-align:left; ">
									<span>
										<xsl:text>InternationalName</xsl:text>
									</span>
								</th>
								<th style="border-width:0; font-size:small; text-align:left; ">
									<span>
										<xsl:text>InternationalRelationships</xsl:text>
									</span>
								</th>
								<th style="border-width:0; font-size:small; text-align:left; ">
									<span>
										<xsl:text>OtherRelevantRoles</xsl:text>
									</span>
								</th>
							</tr>
						</thead>
						<tbody>
							<xsl:for-each select="n1:CA_UoM">
								<xsl:for-each select="n1:UnitOfManagement">
									<tr>
										<td style="border-width:0; font-size:small; text-align:left; ">
											<xsl:for-each select="n1:EUUOMCode">
												<xsl:apply-templates/>
											</xsl:for-each>
										</td>
										<td style="border-width:0; font-size:small; text-align:left; ">
											<xsl:for-each select="n1:UOMName">
												<xsl:apply-templates/>
											</xsl:for-each>
										</td>
										<td style="border-width:0; font-size:small; text-align:left; ">
											<xsl:for-each select="n1:UOMNameNL">
												<xsl:apply-templates/>
											</xsl:for-each>
										</td>
										<td style="border-width:0; font-size:small; text-align:left; ">
											<xsl:for-each select="n1:UOM_MS_CD">
												<xsl:apply-templates/>
											</xsl:for-each>
										</td>
										<td style="border-width:0; font-size:small; text-align:left; ">
											<xsl:for-each select="n1:Area">
												<xsl:apply-templates/>
											</xsl:for-each>
										</td>
										<td style="border-width:0; font-size:small; text-align:left; ">
											<xsl:for-each select="n1:NationalRelationships">
												<xsl:apply-templates/>
											</xsl:for-each>
										</td>
										<td style="border-width:0; font-size:small; text-align:left; ">
											<xsl:for-each select="n1:International">
												<xsl:apply-templates/>
											</xsl:for-each>
										</td>
										<td style="border-width:0; font-size:small; text-align:left; ">
											<xsl:for-each select="n1:InternationalName">
												<xsl:apply-templates/>
											</xsl:for-each>
										</td>
										<td style="border-width:0; font-size:small; text-align:left; ">
											<xsl:for-each select="n1:InternationalRelationships">
												<xsl:apply-templates/>
											</xsl:for-each>
										</td>
										<td style="border-width:0; font-size:small; text-align:left; ">
											<xsl:for-each select="n1:OtherRelevantRoles">
												<xsl:apply-templates/>
											</xsl:for-each>
										</td>
									</tr>
								</xsl:for-each>
							</xsl:for-each>
						</tbody>
					</table>
					<br/>
					<br/>
					<h2>
						<span>
							<xsl:text>2.1 Unit of Management further details</xsl:text>
						</span>
					</h2>
					<xsl:for-each select="n1:CA_UoM">
						<xsl:for-each select="n1:UnitOfManagement">
							<h4>
								<span>
									<xsl:value-of select="position()"/>
								</span>
								<span>
									<xsl:text>. </xsl:text>
								</span>
								<xsl:for-each select="n1:EUUOMCode">
									<xsl:apply-templates/>
								</xsl:for-each>
							</h4>
							<h5>
								<span>
									<xsl:text>Unit of Management Prime Competent Authority(s)</xsl:text>
								</span>
							</h5>
							<ul class="content">
								<xsl:for-each select="n1:PrimeCompetentAuthority">
									<li>
										<div>
											<xsl:apply-templates/>
										</div>
									</li>
								</xsl:for-each>
							</ul>
							<h5>
								<span>
									<xsl:text>Unit of Management Other Competent Authority(s)</xsl:text>
								</span>
							</h5>
							<ul class="content">
								<xsl:for-each select="n1:OtherCompetentAuthorities">
									<li>
										<div>
											<xsl:apply-templates/>
										</div>
									</li>
								</xsl:for-each>
							</ul>
							<h5>
								<span>
									<xsl:text>River Basin District linkages</xsl:text>
								</span>
							</h5>
							<table border="1">
								<xsl:variable name="altova:CurrContextGrid_0710F8D8" select="."/>
								<thead>
									<tr>
										<th style="border-width:0; font-size:small; text-align:left; ">
											<span>
												<xsl:text>EURBDCode</xsl:text>
											</span>
										</th>
										<th style="border-width:0; font-size:small; text-align:left; ">
											<span>
												<xsl:text>TypeOfAssociation</xsl:text>
											</span>
										</th>
									</tr>
								</thead>
								<tbody>
									<xsl:for-each select="n1:WaterFrameworkDirectiveLink">
										<xsl:for-each select="n1:WFDDetails">
											<tr>
												<td style="border-width:0; font-size:small; text-align:left; ">
													<xsl:for-each select="n1:EURBDCode">
														<xsl:apply-templates/>
													</xsl:for-each>
												</td>
												<td style="border-width:0; font-size:small; text-align:left; ">
													<xsl:for-each select="n1:TypeOfAssociation">
														<xsl:apply-templates/>
													</xsl:for-each>
												</td>
											</tr>
										</xsl:for-each>
									</xsl:for-each>
								</tbody>
							</table>
							<br/>
						</xsl:for-each>
					</xsl:for-each>
					<br/>
				</xsl:for-each>
			</body>
		</html>
	</xsl:template>
</xsl:stylesheet>