View stylesheet

XML schemas http://biodiversity.eionet.europa.eu/schemas/barcelona_convention/offshore.xsd
Output type HTML
Description XSL for Offshore Protocol
XSL file offshore.xslt (Last modified: 26 May 2008 15:00 )
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xsl:stylesheet [ <!ENTITY nbsp "&#160;"> ]>
<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"/>
  <xsl:preserve-space elements="difficulty-type"/>
  <xsl:param name="xml_folder_uri"/>
  <xsl:include href="http://converters.eionet.europa.eu/xsl/common.xslt"/>
  <xsl:variable name="labels_xml" select="document(concat($xml_folder_uri,'offshore-labels-en.xml'))"/>
  <xsl:variable name="labels" select="$labels_xml/labels"/>
  
  <xsl:template match="offshore">
    <html>
      <xsl:attribute name="xml:lang">
        <xsl:value-of select="@xml:lang"/>
      </xsl:attribute>
      <head>
          <style type="text/css"><![CDATA[
html
{
  font-family: arial, sans-serif;
  font-size: .8em;
}          
.zebra0
{
  background-color: white;
}          
.zebra1
{
  background-color: lightgrey;
}          
.datatable
{
  border-collapse: collapse;
}
.datatable td
{
  border: 1px solid black;
}

#description pre
{
  font-family: arial, sans-serif;
}

.vertical-text
{
  text-align: center;
}

.check-column
{
  text-align: center;
  font-weight: bold;
}

.center-text
{
  text-align: center;
}
]]>       </style> 
        <title>Offshore Protocol</title>
      </head>
      <body>
        <h1><xsl:value-of select="$labels/label[@id='title']"/></h1>
        <!-- METADATA INFORMATION -->
        <xsl:apply-templates select="reporting-party"/>
        <!-- REPORT -->
        <xsl:apply-templates select="report"/>
      </body>
    </html>
  </xsl:template>
  
  <!-- REPORT -->
  <xsl:template match="report">
    <xsl:apply-templates select="legal-measures"/>
    <br />
    <xsl:apply-templates select="resource-allocation"/>
    <br />
    <xsl:apply-templates select="administrative-measures"/>
    <br />
    <xsl:apply-templates select="enforcement-measures"/>
    <br />
    <xsl:apply-templates select="effectiveness"/>
  </xsl:template>
  
  <xsl:template match="legal-measures">
    <h2><xsl:value-of select="$labels/label[@id='p1-title']"/></h2>
    <p>
      <strong>
        <xsl:value-of select="$labels/label[@id='p1-q1']"/>
      </strong>
    </p>      
    <table border="1" cellpadding="1" cellspacing="0" class="datatable">
      <caption>
        <xsl:value-of select="$labels/label[@id='p1-t1-caption']"/>
      </caption>
      <thead>
        <tr>
          <th rowspan="2"><xsl:value-of select="$labels/label[@id='p1-t1-col1']"/></th>
          <th rowspan="2"><xsl:value-of select="$labels/label[@id='number']"/></th>
          <th rowspan="2"><xsl:value-of select="$labels/label[@id='p1-t1-col3']"/></th>
          <th colspan="5">
            <xsl:value-of select="$labels/label[@id='status']"/>
            <br />
            <em><xsl:value-of select="$labels/label[@id='tick-answer']"/></em>
          </th>
          <th colspan="6">
            <xsl:value-of select="$labels/label[@id='difficulties']"/>
            <br />
            <em><xsl:value-of select="$labels/label[@id='tick-answers']"/></em>
          </th>
        </tr>
        <tr>
          <td class="vertical-text"><xsl:value-of select="$labels/label[@id='status-yes']"/></td>
          <td class="vertical-text"><xsl:value-of select="$labels/label[@id='status-no']"/></td>
          <td class="vertical-text"><xsl:value-of select="$labels/label[@id='status-dev']"/></td>
          <td class="vertical-text"><xsl:value-of select="$labels/label[@id='status-other']"/></td>
          <td class="vertical-text"><xsl:value-of select="$labels/label[@id='status-na']"/></td>
          <td class="vertical-text"><xsl:value-of select="$labels/label[@id='diff-policy']"/></td>
          <td class="vertical-text"><xsl:value-of select="$labels/label[@id='diff-regul']"/></td>
          <td class="vertical-text"><xsl:value-of select="$labels/label[@id='diff-finance']"/></td>
          <td class="vertical-text"><xsl:value-of select="$labels/label[@id='diff-admin']"/></td>
          <td class="vertical-text"><xsl:value-of select="$labels/label[@id='diff-tech']"/></td>
          <td class="vertical-text"><xsl:value-of select="$labels/label[@id='diff-public']"/></td>
        </tr>
      </thead>
      <tbody>
        <xsl:for-each select="table/*">
          <tr class="zebra{position() mod 2}">
            <xsl:variable name="relart" select="concat(concat('p1-t1-row', position()), '-ra')" />
            <xsl:variable name="descob" select="concat(concat('p1-t1-row', position()), '-od')" />
            <td rowspan="3"><xsl:value-of select="$labels/label[@id=$relart]"/></td>
            <td rowspan="3" class="center-text"><xsl:value-of select="position()"/></td>
            <td rowspan="3"><xsl:value-of select="$labels/label[@id=$descob]"/></td>
            <td class="check-column">
              <xsl:if test="./status-column/status-type = 00">X</xsl:if>
              <xsl:if test="./status-column/status-type != 00">&nbsp;</xsl:if>
            </td>
            <td class="check-column">
              <xsl:if test="./status-column/status-type = 01">X</xsl:if>
              <xsl:if test="./status-column/status-type != 01">&nbsp;</xsl:if>
            </td>
            <td class="check-column">
              <xsl:if test="./status-column/status-type = 02">X</xsl:if>
              <xsl:if test="./status-column/status-type != 02">&nbsp;</xsl:if>
            </td>
            <td class="check-column">
              <xsl:if test="./status-column/status-type = 03">X</xsl:if>
              <xsl:if test="./status-column/status-type != 03">&nbsp;</xsl:if>
            </td>
            <td class="check-column">
              <xsl:if test="./status-column/status-type = 04">X</xsl:if>
              <xsl:if test="./status-column/status-type != 04">&nbsp;</xsl:if>
            </td>
            <td class="check-column">
              <xsl:call-template name="decode-difficulty">
                <xsl:with-param name="text" select="./difficulties-column/difficulty-type" />
                <xsl:with-param name="pattern" select="'00'"/>
              </xsl:call-template>
            </td>
            <td class="check-column">
              <xsl:call-template name="decode-difficulty">
                <xsl:with-param name="text" select="./difficulties-column/difficulty-type" />
                <xsl:with-param name="pattern" select="'01'"/>
              </xsl:call-template>
            </td>
            <td class="check-column">
              <xsl:call-template name="decode-difficulty">
                <xsl:with-param name="text" select="./difficulties-column/difficulty-type" />
                <xsl:with-param name="pattern" select="'02'"/>
              </xsl:call-template>
            </td>
            <td class="check-column">
              <xsl:call-template name="decode-difficulty">
                <xsl:with-param name="text" select="./difficulties-column/difficulty-type" />
                <xsl:with-param name="pattern" select="'03'"/>
              </xsl:call-template>
            </td>
            <td class="check-column">
              <xsl:call-template name="decode-difficulty">
                <xsl:with-param name="text" select="./difficulties-column/difficulty-type" />
                <xsl:with-param name="pattern" select="'04'"/>
              </xsl:call-template>
            </td>
            <td class="check-column">
              <xsl:call-template name="decode-difficulty">
                <xsl:with-param name="text" select="./difficulties-column/difficulty-type" />
                <xsl:with-param name="pattern" select="'05'"/>
              </xsl:call-template>
            </td>
          </tr>
          <tr class="zebra{position() mod 2}">
            <td colspan="5" class="center-text">
              <xsl:value-of select="./status-column/reference"/>
            </td>
            <td colspan="6" rowspan="2" class="center-text">
              <xsl:value-of select="./difficulties-column/comment"/>
            </td>
          </tr>
          <tr class="zebra{position() mod 2}">
            <td colspan="5" class="center-text">
              <xsl:value-of select="./status-column/comment"/>
            </td>
          </tr>
        </xsl:for-each>  
      </tbody>      
    </table>
  </xsl:template>  
  <xsl:template match="resource-allocation">
    <h2><xsl:value-of select="$labels/label[@id='p2-title']"/></h2>
    <p>
      <strong>
        <xsl:value-of select="$labels/label[@id='p2-q1']"/>
      </strong>
    </p>      
    <table border="1" cellpadding="1" cellspacing="0" class="datatable">
      <caption>
        <xsl:value-of select="$labels/label[@id='p2-t1-caption']"/>
      </caption>
      <thead>
        <tr>
          <th rowspan="2"><xsl:value-of select="$labels/label[@id='number']"/></th>
          <th rowspan="2"><xsl:value-of select="$labels/label[@id='p2-t1-col2']"/></th>
          <th colspan="5">
            <xsl:value-of select="$labels/label[@id='status']"/>
            <br />
            <em><xsl:value-of select="$labels/label[@id='tick-answer']"/></em>
          </th>
          <th colspan="6">
            <xsl:value-of select="$labels/label[@id='difficulties']"/>
            <br />
            <em><xsl:value-of select="$labels/label[@id='tick-answers']"/></em>
          </th>
        </tr>
        <tr>
          <td class="vertical-text"><xsl:value-of select="$labels/label[@id='status-yes']"/></td>
          <td class="vertical-text"><xsl:value-of select="$labels/label[@id='status-no']"/></td>
          <td class="vertical-text"><xsl:value-of select="$labels/label[@id='status-dev']"/></td>
          <td class="vertical-text"><xsl:value-of select="$labels/label[@id='status-other']"/></td>
          <td class="vertical-text"><xsl:value-of select="$labels/label[@id='status-na']"/></td>
          <td class="vertical-text"><xsl:value-of select="$labels/label[@id='diff-policy']"/></td>
          <td class="vertical-text"><xsl:value-of select="$labels/label[@id='diff-regul']"/></td>
          <td class="vertical-text"><xsl:value-of select="$labels/label[@id='diff-finance']"/></td>
          <td class="vertical-text"><xsl:value-of select="$labels/label[@id='diff-admin']"/></td>
          <td class="vertical-text"><xsl:value-of select="$labels/label[@id='diff-tech']"/></td>
          <td class="vertical-text"><xsl:value-of select="$labels/label[@id='diff-public']"/></td>
        </tr>
      </thead>
      <tbody>
        <xsl:for-each select="table/*">
          <tr class="zebra{position() mod 2}">
            <xsl:variable name="relart" select="concat(concat('p1-t1-row', position()), '-ra')" />
            <xsl:variable name="descob" select="concat('p2-t1-row', position())" />
            <td rowspan="3" class="center-text"><xsl:value-of select="position()"/></td>
            <td rowspan="3"><xsl:value-of select="$labels/label[@id=$descob]"/></td>
            <td class="check-column">
              <xsl:if test="./status-column/status-type = 00">X</xsl:if>
              <xsl:if test="./status-column/status-type != 00">&nbsp;</xsl:if>
            </td>
            <td class="check-column">
              <xsl:if test="./status-column/status-type = 01">X</xsl:if>
              <xsl:if test="./status-column/status-type != 01">&nbsp;</xsl:if>
            </td>
            <td class="check-column">
              <xsl:if test="./status-column/status-type = 02">X</xsl:if>
              <xsl:if test="./status-column/status-type != 02">&nbsp;</xsl:if>
            </td>
            <td class="check-column">
              <xsl:if test="./status-column/status-type = 03">X</xsl:if>
              <xsl:if test="./status-column/status-type != 03">&nbsp;</xsl:if>
            </td>
            <td class="check-column">
              <xsl:if test="./status-column/status-type = 04">X</xsl:if>
              <xsl:if test="./status-column/status-type != 04">&nbsp;</xsl:if>
            </td>
            <td class="check-column">
              <xsl:call-template name="decode-difficulty">
                <xsl:with-param name="text" select="./difficulties-column/difficulty-type" />
                <xsl:with-param name="pattern" select="'00'"/>
              </xsl:call-template>
            </td>
            <td class="check-column">
              <xsl:call-template name="decode-difficulty">
                <xsl:with-param name="text" select="./difficulties-column/difficulty-type" />
                <xsl:with-param name="pattern" select="'01'"/>
              </xsl:call-template>
            </td>
            <td class="check-column">
              <xsl:call-template name="decode-difficulty">
                <xsl:with-param name="text" select="./difficulties-column/difficulty-type" />
                <xsl:with-param name="pattern" select="'02'"/>
              </xsl:call-template>
            </td>
            <td class="check-column">
              <xsl:call-template name="decode-difficulty">
                <xsl:with-param name="text" select="./difficulties-column/difficulty-type" />
                <xsl:with-param name="pattern" select="'03'"/>
              </xsl:call-template>
            </td>
            <td class="check-column">
              <xsl:call-template name="decode-difficulty">
                <xsl:with-param name="text" select="./difficulties-column/difficulty-type" />
                <xsl:with-param name="pattern" select="'04'"/>
              </xsl:call-template>
            </td>
            <td class="check-column">
              <xsl:call-template name="decode-difficulty">
                <xsl:with-param name="text" select="./difficulties-column/difficulty-type" />
                <xsl:with-param name="pattern" select="'05'"/>
              </xsl:call-template>
            </td>
          </tr>
          <tr class="zebra{position() mod 2}">
            <td colspan="5" class="center-text">
              <xsl:value-of select="./status-column/reference"/>
            </td>
            <td colspan="6" rowspan="2" class="center-text">
              <xsl:value-of select="./difficulties-column/comment"/>
            </td>
          </tr>
          <tr class="zebra{position() mod 2}">
            <td colspan="5" class="center-text">
              <xsl:value-of select="./status-column/comment"/>
            </td>
          </tr>
        </xsl:for-each>  
      </tbody>      
    </table>
  </xsl:template>
  <xsl:template match="administrative-measures">
    <h2><xsl:value-of select="$labels/label[@id='p3-title']"/></h2>
    <table border="1" cellpadding="1" cellspacing="0" class="datatable">
      <caption>
        <xsl:value-of select="$labels/label[@id='p3-t1-caption']"/>
      </caption>
      <thead>
        <tr>
          <th rowspan="2"><xsl:value-of select="$labels/label[@id='p3-t1-col1']"/></th>
          <th rowspan="2"><xsl:value-of select="$labels/label[@id='p3-t1-col2']"/></th>
          <th rowspan="2"><xsl:value-of select="$labels/label[@id='p3-t1-col3']"/></th>
          <th rowspan="2"><xsl:value-of select="$labels/label[@id='p3-t1-col4']"/></th>
          <th rowspan="2"><xsl:value-of select="$labels/label[@id='p3-t1-col5']"/></th>
          <th colspan="3"><xsl:value-of select="$labels/label[@id='p3-t1-col-comm1']"/></th>
          <th colspan="3"><xsl:value-of select="$labels/label[@id='p3-t1-col-comm2']"/></th>
          <th rowspan="2"><xsl:value-of select="$labels/label[@id='p3-t1-col12']"/></th>
        </tr>
        <tr>
          <th><xsl:value-of select="$labels/label[@id='p3-t1-col6']"/></th>
          <th><xsl:value-of select="$labels/label[@id='p3-t1-col7']"/></th>
          <th><xsl:value-of select="$labels/label[@id='p3-t1-col8']"/></th>
          <th><xsl:value-of select="$labels/label[@id='p3-t1-col9']"/></th>
          <th><xsl:value-of select="$labels/label[@id='p3-t1-col10']"/></th>
          <th><xsl:value-of select="$labels/label[@id='p3-t1-col11']"/></th>
        </tr>
      </thead>
      <tbody>
        <xsl:for-each select="/offshore/report/administrative-measures/table3/*">
          <tr>
            <td><xsl:value-of select="granted-authorizations"/></td>
            <td><xsl:value-of select="date"/></td>
            <td><xsl:value-of select="duration"/></td>
            <td><xsl:value-of select="activity"/></td>
            <td><xsl:value-of select="site"/></td>
            <td><xsl:value-of select="prior-special-permit/substance"/></td>
            <td><xsl:value-of select="prior-special-permit/quantity"/></td>
            <td><xsl:value-of select="prior-special-permit/site"/></td>
            <td><xsl:value-of select="prior-general-permit/substances"/></td>
            <td><xsl:value-of select="prior-general-permit/quantity"/></td>
            <td><xsl:value-of select="prior-general-permit/site"/></td>
            <td><xsl:value-of select="waste-quantity"/></td>
          </tr>
          <tr>
            <th colspan="2" rowspan="2"><xsl:value-of select="$labels/label[@id='p3-t1-col-x1']"/></th>
            <th rowspan="2"><xsl:value-of select="$labels/label[@id='p3-t1-col-x2']"/></th>
            <th rowspan="2"><xsl:value-of select="$labels/label[@id='p3-t1-col-x3']"/></th>
            <th rowspan="2"><xsl:value-of select="$labels/label[@id='p3-t1-col-x4']"/></th>
            <th colspan="7"><xsl:value-of select="$labels/label[@id='p3-t1-col-x5']"/></th>
          </tr>          
          <tr>
            <th><xsl:value-of select="$labels/label[@id='p3-t1-col-x6']"/></th>
            <th><xsl:value-of select="$labels/label[@id='p3-t1-col-x7']"/></th>
            <th><xsl:value-of select="$labels/label[@id='p3-t1-col-x8']"/></th>
            <th colspan="2"><xsl:value-of select="$labels/label[@id='p3-t1-col-x9']"/></th>
            <th colspan="2"><xsl:value-of select="$labels/label[@id='p3-t1-col-x10']"/></th>
          </tr>          
          <tr>
            <td colspan="2"><xsl:value-of select="monitoring-art19-para2"/></td>
            <td><xsl:value-of select="reception-art13"/></td>
            <td><xsl:value-of select="contingency-art16"/></td>
            <td><xsl:value-of select="safety-art15"/></td>
            <td><xsl:value-of select="restricted-measures/eia"/></td>
            <td><xsl:value-of select="restricted-measures/monitoring"/></td>
            <td><xsl:value-of select="restricted-measures/prohibition"/></td>
            <td colspan="2"><xsl:value-of select="restricted-measures/removal"/></td>
            <td colspan="2"><xsl:value-of select="restricted-measures/exchange-info"/></td>
          </tr>
        </xsl:for-each>
      </tbody>
    </table>
    <br />
    <br />
    <table border="1" cellpadding="1" cellspacing="0" class="datatable">
      <caption>
        <xsl:value-of select="$labels/label[@id='p3-t2-caption']"/>
      </caption>
      <thead>
        <tr>
          <th><xsl:value-of select="$labels/label[@id='p3-t2-col1']"/></th>
          <th colspan="4"><xsl:value-of select="$labels/label[@id='p3-t2-col2']"/></th>
          <th><xsl:value-of select="$labels/label[@id='p3-t2-col3']"/></th>
          <th><xsl:value-of select="$labels/label[@id='p3-t2-col4']"/></th>
          <th><xsl:value-of select="$labels/label[@id='p3-t2-col5']"/></th>
        </tr>
        <tr>
          <th><xsl:value-of select="$labels/label[@id='p3-t2-col-x1']"/></th>
          <th><xsl:value-of select="$labels/label[@id='p3-t2-col-x2']"/></th>
          <th><xsl:value-of select="$labels/label[@id='p3-t2-col-x3']"/></th>
          <th><xsl:value-of select="$labels/label[@id='p3-t2-col-x4']"/></th>
          <th><xsl:value-of select="$labels/label[@id='p3-t2-col-x5']"/></th>
          <th colspan="3"><xsl:value-of select="$labels/label[@id='p3-t2-col-x6']"/></th>
        </tr>
      </thead>
      <tbody>
        <xsl:for-each select="table4/*">
        <tr>
          <td><xsl:value-of select="date"/></td>
          <td><xsl:value-of select="disposal-reasons/save-life"/></td>
          <td><xsl:value-of select="disposal-reasons/navigation-safety"/></td>
          <td><xsl:value-of select="disposal-reasons/damage"/></td>
          <td><xsl:value-of select="disposal-reasons/minimize-pollution"/></td>
          <td><xsl:value-of select="materials"/></td>
          <td><xsl:value-of select="quantity"/></td>
          <td><xsl:value-of select="sites"/></td>
        </tr>
        </xsl:for-each>
      </tbody>
    </table>
    <br />
    <br />
    <table border="1" cellpadding="1" cellspacing="0" class="datatable">
      <caption>
        <xsl:value-of select="$labels/label[@id='p3-t3-caption']"/>
      </caption>
      <thead>
        <tr>
          <th rowspan="2"><xsl:value-of select="$labels/label[@id='p3-t3-col-x1']"/></th>
          <th rowspan="2"><xsl:value-of select="$labels/label[@id='p3-t3-col-x2']"/></th>
          <th colspan="4"><xsl:value-of select="$labels/label[@id='p3-t3-col1']"/></th>
          <th colspan="3"><xsl:value-of select="$labels/label[@id='p3-t3-col2']"/></th>
        </tr>
        <tr>
          <th><xsl:value-of select="$labels/label[@id='p3-t3-col-x3']"/></th>
          <th><xsl:value-of select="$labels/label[@id='p3-t3-col-x4']"/></th>
          <th><xsl:value-of select="$labels/label[@id='p3-t3-col-x5']"/></th>
          <th><xsl:value-of select="$labels/label[@id='p3-t3-col-x6']"/></th>
          <th><xsl:value-of select="$labels/label[@id='p3-t3-col-x7']"/></th>
          <th><xsl:value-of select="$labels/label[@id='p3-t3-col-x8']"/></th>
          <th><xsl:value-of select="$labels/label[@id='p3-t3-col-x9']"/></th>
        </tr>
      </thead>
      <tbody>
        <xsl:for-each select="table5/*">
        <tr>
          <td><xsl:value-of select="installation-removed"/></td>
          <td><xsl:value-of select="date"/></td>
          <td><xsl:value-of select="measures/navigation-safety"/></td>
          <td><xsl:value-of select="measures/fishing"/></td>
          <td><xsl:value-of select="measures/marine-protection"/></td>
          <td><xsl:value-of select="measures/other-cp-rights"/></td>
          <td><xsl:value-of select="depth"/></td>
          <td><xsl:value-of select="position"/></td>
          <td><xsl:value-of select="location"/></td>
        </tr>
        </xsl:for-each>
      </tbody>
    </table>    
  </xsl:template>
  <xsl:template match="enforcement-measures">
    <h2><xsl:value-of select="$labels/label[@id='p4-title']"/></h2>
    <p>
      <strong>
        <xsl:value-of select="$labels/label[@id='p4-desc']"/>
      </strong>
    </p>      
    <table border="1" cellpadding="1" cellspacing="0" class="datatable">
      <caption>
        <xsl:value-of select="$labels/label[@id='p4-t1-caption']"/>
      </caption>
      <thead>
        <tr>
          <th><xsl:value-of select="$labels/label[@id='p4-t1-col1']"/></th>
          <th><xsl:value-of select="$labels/label[@id='p4-t1-col2']"/></th>
          <th><xsl:value-of select="$labels/label[@id='p4-t1-col3']"/></th>
          <th><xsl:value-of select="$labels/label[@id='p4-t1-col4']"/></th>
          <th><xsl:value-of select="$labels/label[@id='p4-t1-col5']"/></th>
          <th><xsl:value-of select="$labels/label[@id='p4-t1-col6']"/></th>
          <th><xsl:value-of select="$labels/label[@id='p4-t1-col7']"/></th>
          <th><xsl:value-of select="$labels/label[@id='p4-t1-col8']"/></th>
          <th><xsl:value-of select="$labels/label[@id='p4-t1-col9']"/></th>
        </tr>
      </thead>
      <tbody>
        <xsl:for-each select="table6/*">
          <xsl:variable name="relart" select="concat('p4-t1-row', position())" />
          <tr>
            <td><xsl:value-of select="$labels/label[@id=$relart]"/></td>
            <td><xsl:value-of select="inspections"/></td>
            <td><xsl:value-of select="non-compliance-cases"/></td>
            <td><xsl:value-of select="fines"/></td>
            <td><xsl:value-of select="suspensions"/></td>
            <td><xsl:value-of select="shutdowns"/></td>
            <td><xsl:value-of select="other-measures"/></td>
            <td><xsl:value-of select="clean-measures"/></td>
            <td><xsl:value-of select="remarks"/></td>
          </tr>
        </xsl:for-each>
      </tbody>
    </table>
  </xsl:template>
  
  <xsl:template match="effectiveness">
    <h2><xsl:value-of select="$labels/label[@id='p5-title']"/></h2>
    <p>
      <xsl:value-of select="$labels/label[@id='p5-1']"/>
      <strong>
        <xsl:value-of select="/offshore/report/effectiveness/authorizations"/>
      </strong>
    </p>
    <p>
      <xsl:value-of select="$labels/label[@id='p5-2']"/>
      <strong>
        <xsl:value-of select="/offshore/report/effectiveness/mediterranean-sea-surface"/>
      </strong>
    </p>
    <p>
      <xsl:value-of select="$labels/label[@id='p5-3']"/>
      <strong>
        <xsl:value-of select="/offshore/report/effectiveness/materials"/>
      </strong>
    </p>
    <p>
      <xsl:value-of select="$labels/label[@id='p5-4']"/>
      <strong>
        <xsl:value-of select="/offshore/report/effectiveness/inspections"/>
      </strong>
    </p>
    <p>
      <xsl:value-of select="$labels/label[@id='p5-5']"/>
      <strong>
        <xsl:value-of select="/offshore/report/effectiveness/non-compliance"/>
      </strong>
    </p>
    <p>
      <xsl:value-of select="$labels/label[@id='p5-6']"/>
      <strong>
        <xsl:value-of select="/offshore/report/effectiveness/non-compliance-sanctioned"/>
      </strong>
    </p>
    <p>
      <xsl:value-of select="$labels/label[@id='p5-7']"/>
      <strong>
        <xsl:value-of select="/offshore/report/effectiveness/burried-installations"/>
      </strong>
    </p>
  </xsl:template>  
</xsl:stylesheet>