XML schema |
http://water.eionet.europa.eu/schemas/dir200760ec/APSFR_3p0.xsd
|
---|---|
Output type | HTML |
Description | HTML Factsheet |
XSL file | APSFR.xslt (Last modified: 11 May 2011 19:43 ) |
<?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; font-size:small; } table { border-width:0; font-size:medium; vertical-align:top; } th { background-color:#dbdbdb; border-width:0; font-size:small; text-align:left; vertical-align:top; } td { border-width:0; font-size:smaller; text-align:left; vertical-align:top; } h1 { color:#003399; font-family:Arial; font-size:xx-large; font-weight:bold; } h2 { color:#003399; font-family:Arial; font-size:large; text-decoration:underline; } h3 { color:#003399; font-family:Arial; font-size:medium; font-weight:bolder; } h4 { color:#003399; font-family:Arial; font-size:medium; font-weight:bold; } .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; } .subtitle { font-size:small; font-weight:bold; }</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>Areas of Potential Significant Flood Risk for </xsl:text> </span> <xsl:for-each select="n1:APSFR"> <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_039AE910" select="."/> <tbody> <tr> <th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; "> <span> <xsl:text>CreationDate</xsl:text> </span> </th> <xsl:for-each select="n1:APSFR"> <td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; "> <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:smaller; text-align:left; vertical-align:top; "> <span> <xsl:text>Creator</xsl:text> </span> </th> <xsl:for-each select="n1:APSFR"> <td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; "> <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:smaller; text-align:left; vertical-align:top; "> <span> <xsl:text>Email</xsl:text> </span> </th> <xsl:for-each select="n1:APSFR"> <td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; "> <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:smaller; text-align:left; vertical-align:top; "> <span> <xsl:text>Description</xsl:text> </span> </th> <xsl:for-each select="n1:APSFR"> <td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; "> <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:smaller; text-align:left; vertical-align:top; "> <span> <xsl:text>Language</xsl:text> </span> </th> <xsl:for-each select="n1:APSFR"> <td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; "> <xsl:for-each select="@Language"> <span> <xsl:value-of select="string(.)"/> </span> </xsl:for-each> </td> </xsl:for-each> </tr> <tr> <th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; "> <span> <xsl:text>GeneratedBy</xsl:text> </span> </th> <xsl:for-each select="n1:APSFR"> <td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; "> <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:smaller; text-align:left; vertical-align:top; "> <span> <xsl:text>C_CD</xsl:text> </span> </th> <xsl:for-each select="n1:APSFR"> <td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; "> <xsl:for-each select="n1:C_CD"> <xsl:apply-templates/> </xsl:for-each> </td> </xsl:for-each> </tr> <tr> <th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; "> <span> <xsl:text>EUUOMCode</xsl:text> </span> </th> <xsl:for-each select="n1:APSFR"> <td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; "> <xsl:for-each select="n1:EUUOMCode"> <xsl:apply-templates/> </xsl:for-each> </td> </xsl:for-each> </tr> <tr> <th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; "> <span> <xsl:text>METADATA</xsl:text> </span> </th> <xsl:for-each select="n1:APSFR"> <td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; "> <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:smaller; text-align:left; vertical-align:top; "> <span> <xsl:text>URL</xsl:text> </span> </th> <xsl:for-each select="n1:APSFR"> <td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; "> <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('#1'), 1, 1) = '#'"> <xsl:attribute name="href"> <xsl:value-of select="'#1'"/> </xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="href"> <xsl:if test="substring(string('#1'), 2, 1) = ':'"> <xsl:text>file:///</xsl:text> </xsl:if> <xsl:value-of select="translate(string('#1'), '\', '/')"/> </xsl:attribute> </xsl:otherwise> </xsl:choose> <span> <xsl:text>1. Areas of Flood Risk</xsl:text> </span> </a> <br/> <a> <xsl:choose> <xsl:when test="substring(string('#2'), 1, 1) = '#'"> <xsl:attribute name="href"> <xsl:value-of select="'#2'"/> </xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="href"> <xsl:if test="substring(string('#2'), 2, 1) = ':'"> <xsl:text>file:///</xsl:text> </xsl:if> <xsl:value-of select="translate(string('#2'), '\', '/')"/> </xsl:attribute> </xsl:otherwise> </xsl:choose> <span> <xsl:text>2. Summary Information</xsl:text> </span> </a> <br/> </div> <div> <xsl:for-each select="n1:APSFR"> <h2> <a> <xsl:attribute name="name"> <xsl:value-of select="'1'"/> </xsl:attribute> <xsl:choose> <xsl:when test="substring(string('#1'), 1, 1) = '#'"> <xsl:attribute name="href"> <xsl:value-of select="'#1'"/> </xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="href"> <xsl:if test="substring(string('#1'), 2, 1) = ':'"> <xsl:text>file:///</xsl:text> </xsl:if> <xsl:value-of select="translate(string('#1'), '\', '/')"/> </xsl:attribute> </xsl:otherwise> </xsl:choose> <span> <xsl:text>1. Areas of Flood Risk</xsl:text> </span> </a> </h2> <xsl:for-each select="n1:AreasofFloodRisk"> <br/> <br/> <h4> <span> <xsl:text>Area of flood risk: </xsl:text> </span> <xsl:for-each select="n1:APSFRCode"> <xsl:apply-templates/> </xsl:for-each> </h4> <table border="1" width="100%"> <xsl:variable name="altova:CurrContextGrid_0890E9C0" select="."/> <thead> <tr style="height:18px; "> <th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; width:160px; "> <span> <xsl:text>APSFRCode</xsl:text> </span> </th> <th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; width:160px; "> <span> <xsl:text>NameofAPSFR</xsl:text> </span> </th> <th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; width:160px; "> <span> <xsl:text>LAT</xsl:text> </span> </th> <th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; width:160px; "> <span> <xsl:text>LON</xsl:text> </span> </th> </tr> </thead> <tbody> <tr> <td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; width:160px; "> <xsl:for-each select="n1:APSFRCode"> <xsl:apply-templates/> </xsl:for-each> </td> <td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; width:160px; "> <xsl:for-each select="n1:NameofAPSFR"> <xsl:apply-templates/> </xsl:for-each> </td> <td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; width:160px; "> <xsl:for-each select="n1:LAT"> <xsl:apply-templates/> </xsl:for-each> </td> <td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; width:160px; "> <xsl:for-each select="n1:LON"> <xsl:apply-templates/> </xsl:for-each> </td> </tr> </tbody> </table> <br/> <br/> <span style="font-weight:bold; "> <xsl:text>Type of Floods:</xsl:text> </span> <br/> <br/> <table border="1"> <xsl:variable name="altova:CurrContextGrid_08A7FB90" select="."/> <thead> <tr> <th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; "> <span> <xsl:text>SourceofFlooding</xsl:text> </span> </th> <th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; "> <span> <xsl:text>OtherSource</xsl:text> </span> </th> <th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; "> <span> <xsl:text>MechanismofFlooding</xsl:text> </span> </th> <th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; "> <span> <xsl:text>OtherMechanism</xsl:text> </span> </th> <th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; "> <span> <xsl:text>CharacteristicsofFlooding</xsl:text> </span> </th> <th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; "> <span> <xsl:text>OtherCharacteristics</xsl:text> </span> </th> </tr> </thead> <tbody> <xsl:for-each select="n1:TypeofFloods"> <tr> <td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; "> <ul> <xsl:for-each select="n1:SourceofFlooding"> <li> <xsl:apply-templates/> </li> </xsl:for-each> </ul> </td> <td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; "> <xsl:for-each select="n1:OtherSource"> <xsl:apply-templates/> </xsl:for-each> </td> <td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; "> <ul> <xsl:for-each select="n1:MechanismofFlooding"> <li> <xsl:apply-templates/> </li> </xsl:for-each> </ul> </td> <td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; "> <xsl:for-each select="n1:OtherMechanism"> <xsl:apply-templates/> </xsl:for-each> </td> <td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; "> <ul> <xsl:for-each select="n1:CharacteristicsofFlooding"> <li> <xsl:apply-templates/> </li> </xsl:for-each> </ul> </td> <td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; "> <xsl:for-each select="n1:OtherCharacteristics"> <xsl:apply-templates/> </xsl:for-each> </td> </tr> </xsl:for-each> </tbody> </table> <br/> <br/> <span style="font-weight:bold; "> <xsl:text>Type of Potential Consequences:</xsl:text> </span> <br/> <br/> <table border="1"> <xsl:variable name="altova:CurrContextGrid_06D04CE0" select="."/> <thead> <tr> <th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; width:113px; "> <span> <xsl:text>HumanHealth</xsl:text> </span> </th> <th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; width:149px; "> <span> <xsl:text>OtherConsequenceDescription</xsl:text> </span> </th> <th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; "> <span> <xsl:text>Environment</xsl:text> </span> </th> <th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; "> <span> <xsl:text>OtherConsequenceDescription</xsl:text> </span> </th> <th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; width:54px; "> <span> <xsl:text>CulturalHeritage</xsl:text> </span> </th> <th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; "> <span> <xsl:text>OtherConsequenceDescription</xsl:text> </span> </th> <th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; "> <span> <xsl:text>EconomicActivity</xsl:text> </span> </th> <th style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; "> <span> <xsl:text>OtherConsequenceDescription</xsl:text> </span> </th> </tr> </thead> <tbody> <xsl:for-each select="n1:TypeofPotentialConsequences"> <tr> <td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; width:113px; "> <ul> <xsl:for-each select="n1:HumanHealthSocial"> <xsl:for-each select="n1:TypeHumanHealth"> <li> <xsl:apply-templates/> </li> </xsl:for-each> </xsl:for-each> </ul> </td> <td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; width:149px; "> <xsl:for-each select="n1:HumanHealthSocial"> <xsl:for-each select="n1:OtherConsequenceDescription"> <xsl:apply-templates/> </xsl:for-each> </xsl:for-each> </td> <td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; "> <ul> <xsl:for-each select="n1:Environment"> <xsl:for-each select="n1:TypeEnvironment"> <li> <xsl:apply-templates/> </li> </xsl:for-each> </xsl:for-each> </ul> </td> <td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; "> <xsl:for-each select="n1:Environment"> <xsl:for-each select="n1:OtherConsequenceDescription"> <xsl:apply-templates/> </xsl:for-each> </xsl:for-each> </td> <td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; width:54px; "> <ul> <xsl:for-each select="n1:CulturalHeritage"> <xsl:for-each select="n1:TypeCulturalHeritage"> <li> <xsl:apply-templates/> </li> </xsl:for-each> </xsl:for-each> </ul> </td> <td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; "> <xsl:for-each select="n1:CulturalHeritage"> <xsl:for-each select="n1:OtherConsequenceDescription"> <xsl:apply-templates/> </xsl:for-each> </xsl:for-each> </td> <td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; "> <ul> <xsl:for-each select="n1:EconomicActivity"> <xsl:for-each select="n1:TypeEconomicActivity"> <li> <xsl:apply-templates/> </li> </xsl:for-each> </xsl:for-each> </ul> </td> <td style="border-width:0; font-size:smaller; text-align:left; vertical-align:top; "> <xsl:for-each select="n1:EconomicActivity"> <xsl:for-each select="n1:OtherConsequenceDescription"> <xsl:apply-templates/> </xsl:for-each> </xsl:for-each> </td> </tr> </xsl:for-each> </tbody> </table> <br/> </xsl:for-each> <br/> <br/> <br/> </xsl:for-each> </div> <br/> <h2> <a> <xsl:attribute name="name"> <xsl:value-of select="'2'"/> </xsl:attribute> <xsl:choose> <xsl:when test="substring(string('#2'), 1, 1) = '#'"> <xsl:attribute name="href"> <xsl:value-of select="'#2'"/> </xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="href"> <xsl:if test="substring(string('#2'), 2, 1) = ':'"> <xsl:text>file:///</xsl:text> </xsl:if> <xsl:value-of select="translate(string('#2'), '\', '/')"/> </xsl:attribute> </xsl:otherwise> </xsl:choose> <span> <xsl:text>2. Summary Information</xsl:text> </span> </a> </h2> <div> <xsl:for-each select="n1:APSFR"> <br/> <br/> <span style="text-decoration:underline; "> <xsl:text>Summary of Methodology:</xsl:text> </span> <br/> <xsl:for-each select="n1:SummaryofMethodology"> <xsl:apply-templates/> </xsl:for-each> <br/> <br/> <span style="text-decoration:underline; "> <xsl:text>Summary of Coordination:</xsl:text> </span> <br/> <xsl:for-each select="n1:SummaryofCoordination"> <xsl:apply-templates/> </xsl:for-each> <br/> <br/> <span> <xsl:text>METADATA:</xsl:text> </span> <xsl:for-each select="n1:METADATA"> <xsl:apply-templates/> </xsl:for-each> <br/> <span> <xsl:text>URL:</xsl:text> </span> <xsl:for-each select="n1:URL"> <xsl:apply-templates/> </xsl:for-each> <br/> </xsl:for-each> </div> <br/> </div> <br/> </xsl:for-each> </body> </html> </xsl:template> </xsl:stylesheet>
European Environment Agency
Kgs. Nytorv 6, DK-1050 Copenhagen K, Denmark