XML schema |
http://converters.eionet.europa.eu/schema/schema-343.xsd
|
---|---|
Output type | HTML |
Description | HTML report |
XSL file | df7_10-noise-action-plan-olds-schema.xsl (Last modified: 10 Aug 2012 10:51 ) |
<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0"> <xsl:output method="xml" indent="yes" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" omit-xml-declaration="yes" encoding="UTF-8"/> <xsl:template match="/"> <html> <head> <title>Action plan summaries (DF 7 and DF 10)</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <style type="text/css"> ul {list-style-type: none; margin: 0; padding: 0} span.lbl {float: right; font-weight: bold; text-align: right; padding-right: 3px; width: 100%} table.list{ border-collapse:collapse; } table.list td, th{ border:1px solid black; padding:2px; } .lbl2{ font-weight:bold; padding:3px; } </style> </head> <body> <h1>Action plan summaries (DF 7 and DF 10)</h1> <table class="list"> <tr> <th>Name of DF_7_10</th> <th>Unique code</th> <th>Reporting issue</th> <th>Reporting issue ID</th> <th>Cost (in €)</th> <th>Adoption date</th> <th>Completion date</th> </tr> <xsl:for-each select="NoiseDirective_DF7_10/NoiseActionPlan"> <tr> <td> <a> <xsl:attribute name="href">#<xsl:value-of select="position()"/></xsl:attribute> <xsl:value-of select="NameOfNoiseActionPlan"/> </a> </td> <td> <xsl:value-of select="ReportingEntityUniqueCode"/> </td> <td> <xsl:call-template name="getReportingIssueTypeName"> <xsl:with-param name="type"> <xsl:value-of select="ReportingIssue/@type"/> </xsl:with-param> </xsl:call-template> </td> <td> <xsl:apply-templates select="ReportingIssue"/> </td> <td> <xsl:value-of select="Cost"/> </td> <td> <xsl:choose> <xsl:when test="DateOfAdoption/@notavailable='true'">Not available</xsl:when> <xsl:otherwise><xsl:value-of select="DateOfAdoption"/></xsl:otherwise> </xsl:choose> </td> <td> <xsl:choose> <xsl:when test="DateOfCompletion/@notavailable='true'">Not available</xsl:when> <xsl:otherwise><xsl:value-of select="DateOfCompletion"/></xsl:otherwise> </xsl:choose> </td> </tr> </xsl:for-each> </table> <xsl:for-each select="NoiseDirective_DF7_10/NoiseActionPlan"> <div> <a> <xsl:attribute name="name"><xsl:value-of select="position()"/></xsl:attribute> </a> <h3> Name of DF_7_10: <xsl:value-of select="NameOfNoiseActionPlan"/></h3> </div> <div style="padding-bottom: 7px; border: 1px solid black"> <table border="0" cellspacing="1"> <tr> <td> <span class="lbl">Full name of Noise Action Plan report</span> </td> <td> <xsl:value-of select="FullNameOfActionPlan"/> </td> </tr> <tr> <td> <span class="lbl">Reporting entity unique code</span> </td> <td> <xsl:value-of select="ReportingEntityUniqueCode"/> </td> </tr> <tr> <td> <span class="lbl">Reporting issue</span> </td> <td> <xsl:call-template name="getReportingIssueTypeName"> <xsl:with-param name="type"> <xsl:value-of select="ReportingIssue/@type"/> </xsl:with-param> </xsl:call-template> </td> </tr> <tr> <td> <span class="lbl">Reporting a Noise Action Plan for </span> </td> <td> <xsl:apply-templates select="ReportingIssue"/> </td> </tr> <tr> <td> <span class="lbl">Cost (in €)</span> </td> <td> <xsl:value-of select="Cost"/> </td> </tr> <tr> <td> <span class="lbl">Adoption date</span> </td> <td> <xsl:choose> <xsl:when test="DateOfAdoption/@notavailable='true'">Not available</xsl:when> <xsl:otherwise><xsl:value-of select="DateOfAdoption"/></xsl:otherwise> </xsl:choose> </td> </tr> <tr> <td> <span class="lbl">Expected completion date</span> </td> <td> <xsl:choose> <xsl:when test="DateOfCompletion/@notavailable='true'">Not available</xsl:when> <xsl:otherwise><xsl:value-of select="DateOfCompletion"/></xsl:otherwise> </xsl:choose> </td> </tr> <tr> <td> <span class="lbl">Number of people expected to experience noise reduction</span> </td> <td> <xsl:value-of select="NofPeopleExperiencingNoiseReduction"/> </td> </tr> </table> <p class="lbl2">Limit values in place (preferably converted where relevant in Lden, Lday, Levening, Lnight as defined by Annex I of the Directive 2002/49/EC)</p> <p class="val2"> <xsl:value-of select="LimitValues"/> </p> <p class="lbl2">Summary of the results of noise mapping (problems, situations that need to be improved)</p> <p class="val2"> <xsl:value-of select="SummaryOfProblems"/> </p> <p class="lbl2">Summary of the results of public consultations organized in relation to this noise action plan</p> <p class="val2"> <xsl:value-of select="SummaryOfResults"/> </p> <p class="lbl2">Summary of noise management actions, including measures to preserve quiet areas (and related budget and targets) envisaged</p> <p class="val2"> <xsl:value-of select="SummaryOfActions"/> </p> <p class="lbl2">Summary of provisions envisaged for evaluating the implementation and results of the noise action plan</p> <p class="val2"> <xsl:value-of select="SummaryOfProvisions"/> </p> <p class="lbl2">Web links to the full noise action plan</p> <p class="val2"> <xsl:value-of select="WebLinks"/> </p> </div> </xsl:for-each> </body> </html> </xsl:template> <xsl:template name="getReportingIssueTypeName"> <xsl:param name="type"/> <xsl:choose> <xsl:when test="$type='agg'">Agglomeration</xsl:when> <xsl:when test="$type='road'">Roads</xsl:when> <xsl:when test="$type='rail'">Railways</xsl:when> <xsl:when test="$type='air'">Airport</xsl:when> </xsl:choose> </xsl:template> <!-- Display reporting entity name or ID --> <xsl:template match="ReportingIssue"> <xsl:choose> <xsl:when test="@type='agg'"> <xsl:choose> <xsl:when test="@entireEntity='true'">entire entity</xsl:when> <xsl:otherwise> <xsl:value-of select="concat('UniqueAgglomerationId= ', UniqueAgglomerationId)"/> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:when test="@type='road'"> <xsl:choose> <xsl:when test="@entireEntity='true'">entire entity</xsl:when> <xsl:otherwise> <xsl:if test="string-length(normalize-space(PartialArea)) > 0"><xsl:value-of select="concat('PartialArea= ', PartialArea, '; ')"/></xsl:if> <xsl:if test="string-length(normalize-space(UniqueRoadId)) > 0"><xsl:value-of select="concat('UniqueueRoadID= ', UniqueRoadId)"/></xsl:if> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:when test="@type='rail'"> <xsl:choose> <xsl:when test="@entireEntity='true'">entire entity</xsl:when> <xsl:otherwise> <xsl:if test="string-length(normalize-space(PartialArea)) > 0"><xsl:value-of select="concat('PartialArea= ', PartialArea, '; ')"/></xsl:if> <xsl:if test="string-length(normalize-space(UniqueRailId)) > 0"><xsl:value-of select="concat('UniqueRailId= ', UniqueRailId)"/></xsl:if> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:when test="@type='air'"> <xsl:choose> <xsl:when test="@entireEntity='true'">entire entity</xsl:when> <xsl:otherwise> <xsl:value-of select="concat('ICAO code= ',IcaoCode)"/> </xsl:otherwise> </xsl:choose> </xsl:when> </xsl:choose> </xsl:template> </xsl:stylesheet>
European Environment Agency
Kgs. Nytorv 6, DK-1050 Copenhagen K, Denmark