View stylesheet

XML schema http://dd.eionet.europa.eu/schemas/mmr-concluded-transfers/ConcludedTransfers.xsd
Output type HTML
Description HTML preview
XSL file mmr-art7-concluded_transfers-html_view.xsl (Last modified: 15 Jan 2015 14:37 )
<?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"
        exclude-result-prefixes="xml">

<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" />
<xsl:template match="/">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">

<head>
	<style>
      h1{
         color:grey;
      }
      .headers{
         background-color:#4C678C;
         color:white;
      }
      .data{
         background-color:#477187;
         color:white;
      }
      table{
         border: 3px solid grey;
         border-collapse: collapse;
      }
      td{
         border: 3px solid grey;
         padding: 15px;
      }
   </style>
</head>

<body>

	<h1>ANNEX XV<br/>Reporting on summary information on concluded transfers pursuant to Article 26 </h1>
  	<h2>Information on concluded transfers for the year</h2>
  	<table>
   	 	<tr class="headers">
      		<th>Transfers</th>
      		<th>Quantity of Annual Emission Allocation units (AEAs) </th>
      		<th>Transferring Member State </th>
      		<th>Acquiring Member State</th>
      		<th>Price per AEA (in euro)</th>
      		<th>Date of the transfer agreement </th>
      		<th>Year of the expected transaction in the registry </th>
      		<th>Other information (such as greening schemes) </th>
    	</tr>
    	<xsl:for-each select="ConcludedTransfersQuestionnaire/Transfer">
    		<tr class="data">
    			<td>Transfer <xsl:value-of select="position()"/></td>
      			<td><xsl:value-of select="AEA"/></td>
      			<td><xsl:value-of select="TransferringMemberState"/></td>
      			<td><xsl:value-of select="AcquiringMemberState"/></td>
      			<td><xsl:value-of select="AEA-Price"/></td>
      			<td><xsl:value-of select="TransferAgreementDate"/></td>
      			<td><xsl:value-of select="ExpectedTransactionYear"/></td>
      			<td><xsl:value-of select="Other"/></td>
    		</tr>
    	</xsl:for-each>
  	</table>
</body>
</html>
</xsl:template>

</xsl:stylesheet>