View stylesheet

XML schema http://dd.eionet.europa.eu/schemas/MSFD2018/ART11_Programmes.xsd
Output type HTML
Description HTML view
XSL file ART11_Programmes-HTML_v2.xslt (Last modified: 19 May 2021 12:58 )
<?xml version="1.0" encoding="UTF-8"?>

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                xmlns:dc="http://purl.org/dc/elements/1.1/"
                xmlns:fn="http://www.w3.org/2005/xpath-functions"
                xmlns:xs="http://www.w3.org/2001/XMLSchema"
                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                version="1.0"
                >
  <xsl:output version="4.0"
              method="html"
              indent="yes"
              encoding="UTF-8"
              doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"
              doctype-system="http://www.w3.org/TR/html4/loose.dtd"/>

  <xsl:template match="/">
    <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
      <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
        <meta name="viewport" content="width=device-width, initial-scale=1"/>
        <title>Reporting on MSFD Article 11 Programmes</title>
        <meta content="text/html; charset=utf-8"/>
        <link rel="icon" href="//cdr.eionet.europa.eu/help/msfd/Stylesheets/MSFD-logo.ico"/>
        <!-- Bootstrap core CSS -->
        <link href="//cdr.eionet.europa.eu/help/msfd/Stylesheets/bootstrap.min.css" rel="stylesheet"/>

        <!-- Custom styles for this template -->
        <link href="//cdr.eionet.europa.eu/help/msfd/Stylesheets/dashboard.css" rel="stylesheet"/>

        <script src="//cdr.eionet.europa.eu/help/msfd/Stylesheets/jquery.min.js"></script>
        <script src="//cdr.eionet.europa.eu/help/msfd/Stylesheets/bootstrap.min.js"></script>
      </head>
      <body>
        <div class="container-fluid">
          <div class="row">
            <div class="col-sm-4 col-md-3 sidebar">
              <div class="nav nav-sidebar text-center">
                <a href="//cdr.eionet.europa.eu/help/msfd/MSFD%20ART11" target="_blank">
                  <img height="50" alt="MSFD" src="//cdr.eionet.europa.eu/help/msfd/Stylesheets/MSFD-logo.png"/>
                </a>
              </div>
              <ul class="nav nav-sidebar">
                <li>
                  <a href="#info">Reporter info</a>
                </li>
              </ul>
              <xsl:if test="ART11_Programmes/MonitoringProgramme">
                <h4>Monitoring Programmes</h4>
                <ul class="nav nav-sidebar">
                  <xsl:for-each select="ART11_Programmes/MonitoringProgramme">
                    <li>
                      <a href="#heading{position()}">
                        <xsl:value-of select="ProgrammeCode" /> - <xsl:value-of select="ProgrammeName" />
                      </a>
                    </li>
                  </xsl:for-each>
                </ul>
              </xsl:if>
            </div>
            <div class="col-sm-8 col-sm-offset-4 col-md-9 col-md-offset-3 main">
              <h1 class="page-header">Reporting on MSFD Article 11 Programmes</h1>
              <xsl:call-template name="Reporter"></xsl:call-template>
              <xsl:call-template name="MonitoringProgrammes"></xsl:call-template>
            </div>
          </div>
        </div>
        <script>
          function toggleIcon(e) {
          $(e.target)
          .prev('.panel-heading')
          .find(".more-less")
          .toggleClass('glyphicon-plus glyphicon-minus');
          }
          $('.panel-group').on('hidden.bs.collapse', toggleIcon);
          $('.panel-group').on('shown.bs.collapse', toggleIcon);
        </script>
      </body>
    </html>
  </xsl:template>
  <xsl:template name="Reporter">
    <h2 id="info" class="sub-header">Reporter info</h2>
    <div class="table-reponsive">
      <table class="table table-striped">
        <tr>
          <td>
            <label>Country</label>
          </td>
          <td>
            <span class="form-control" readonly="readonly">
              <xsl:call-template name="CountriesCode"></xsl:call-template>
            </span>
          </td>
        </tr>
        <tr>
          <td>
            <label>Name of the reporter</label>
          </td>
          <td>
            <span class="form-control" readonly="readonly">
              <xsl:value-of select="ART11_Programmes/@ContactName" />
            </span>
          </td>
        </tr>
        <tr>
          <td>
            <label>Email of the reporter</label>
          </td>
          <td>
            <span class="form-control" readonly="readonly">
              <xsl:value-of select="ART11_Programmes/@ContactMail" />
            </span>
          </td>
        </tr>
        <tr>
          <td>
            <label>Reporter organisation</label>
          </td>
          <td>
            <span class="form-control" readonly="readonly">
              <xsl:value-of select="ART11_Programmes/@ContactOrganisation" />
            </span>
          </td>
        </tr>
        <tr>
          <td>
            <label>Reporting date</label>
          </td>
          <td>
            <span class="form-control" readonly="readonly">
              <xsl:value-of select="ART11_Programmes/@ReportingDate" />
            </span>
          </td>
        </tr>
      </table>
    </div>
  </xsl:template>
  <xsl:template name="MonitoringProgrammes">
    <xsl:if test="ART11_Programmes/MonitoringProgramme">
      <div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
        <xsl:for-each select="ART11_Programmes/MonitoringProgramme">
          <div class="panel panel-default">
            <div class="panel-heading" role="tab" id="heading{position()}">
              <h4 class="panel-title">
                <a role="button" data-toggle="collapse" href="#collapse{position()}" aria-expanded="false" aria-controls="collapse{position()}">
                  <i class="more-less glyphicon glyphicon-plus"></i>
                  <xsl:value-of select="ProgrammeCode" /> - <xsl:value-of select="ProgrammeName" />
                </a>
              </h4>
            </div>
            <div id="collapse{position()}" class="panel-collapse collapse" role="tabpanel" aria-labelledby="heading{position()}">
              <div class="panel-body">
                <div class="table-reponsive">
                  <table class="table table-striped">
                    <tr>
                      <td>
                        <label>Programme Code</label>
                      </td>
                      <td>
                        <span class="form-control" readonly="readonly">
                          <xsl:value-of select="ProgrammeCode" />
                        </span>
                      </td>
                    </tr>
                    <tr>
                      <td>
                        <label>Programme Name</label>
                      </td>
                      <td>
                        <span class="form-control" readonly="readonly">
                          <xsl:value-of select="ProgrammeName" />
                        </span>
                      </td>
                    </tr>
                    <tr>
                      <td>
                        <label>Update Type</label>
                      </td>
                      <td>
                        <span class="form-control" readonly="readonly">
                          <xsl:value-of select="UpdateType" />
                        </span>
                      </td>
                    </tr>
                    <xsl:if test="UpdateType = 'Change of codes from 2014'">
                      <tr>
                        <td>
                          <label>Old Programme Codes</label>
                        </td>
                        <td>
                          <span class="form-control" readonly="readonly">
                            <xsl:for-each select="OldProgrammeCodes">
                              <xsl:value-of select="string(.)"/>
                              <xsl:if test="position() != last()">
                                <br/>
                              </xsl:if>
                            </xsl:for-each>
                          </span>
                        </td>
                      </tr>
                    </xsl:if>
                    <tr>
                      <td>
                        <label>Programme Description</label>
                      </td>
                      <td>
                        <span class="form-control" readonly="readonly">
                          <xsl:value-of select="ProgrammeDescription" />
                        </span>
                      </td>
                    </tr>
                    <xsl:if test="UpdateType != 'Programme no longer in place'">
                      <tr>
                        <td>
                          <label>Other Policies Conventions</label>
                        </td>
                        <td>
                          <span class="form-control" readonly="readonly">
                            <xsl:for-each select="OtherPoliciesConventions">
                              <xsl:call-template name="OtherPoliciesConventionsCode"></xsl:call-template>
                              <xsl:if test="position() != last()">
                                <br/>
                              </xsl:if>
                            </xsl:for-each>
                          </span>
                        </td>
                      </tr>
                      <tr>
                        <td>
                          <label>Regional Cooperation Coordination</label>
                        </td>
                        <td>
                          <span class="form-control" readonly="readonly">
                            <xsl:for-each select="RegionalCooperation_coordination">
                              <xsl:value-of select="string(.)" />
                              <xsl:if test="position() != last()">
                                <br/>
                              </xsl:if>
                            </xsl:for-each>
                          </span>
                        </td>
                      </tr>
                      <tr>
                        <td>
                          <label>Regional Cooperation Countries</label>
                        </td>
                        <td>
                          <span class="form-control" readonly="readonly">
                            <xsl:for-each select="RegionalCooperation_countries">
                              <xsl:call-template name="RegionalCooperationCountryCode"></xsl:call-template>
                              <xsl:if test="position() != last()">
                                <br/>
                              </xsl:if>
                            </xsl:for-each>
                          </span>
                        </td>
                      </tr>
                      <tr>
                        <td>
                          <label>Regional Cooperation Implementation</label>
                        </td>
                        <td>
                          <span class="form-control" readonly="readonly">
                            <xsl:value-of select="RegionalCooperation_implementation" />
                          </span>
                        </td>
                      </tr>
                      <tr>
                        <td>
                          <label>Temporal Scope</label>
                        </td>
                        <td>
                          <span class="form-control" readonly="readonly">
                            <xsl:value-of select="TemporalScope" />
                          </span>
                        </td>
                      </tr>
                      <tr>
                        <td>
                          <label>Spatial Scope</label>
                        </td>
                        <td>
                          <span class="form-control" readonly="readonly">
                            <xsl:for-each select="SpatialScope">
                              <xsl:value-of select="string(.)" />
                              <xsl:if test="position() != last()">
                                <br/>
                              </xsl:if>
                            </xsl:for-each>
                          </span>
                        </td>
                      </tr>
                      <tr>
                        <td>
                          <label>Marine Reporting Unit</label>
                        </td>
                        <td>
                          <span class="form-control" readonly="readonly">
                            <xsl:for-each select="MarineReportingUnit">
                              <xsl:value-of select="string(.)" />
                              <xsl:if test="position() != last()">
                                <br/>
                              </xsl:if>
                            </xsl:for-each>
                          </span>
                        </td>
                      </tr>
                      <tr>
                        <td>
                          <label>Monitoring Purpose</label>
                        </td>
                        <td>
                          <span class="form-control" readonly="readonly">
                            <xsl:for-each select="MonitoringPurpose">
                              <xsl:value-of select="string(.)" />
                              <xsl:if test="position() != last()">
                                <br/>
                              </xsl:if>
                            </xsl:for-each>
                          </span>
                        </td>
                      </tr>
                      <tr>
                        <td>
                          <label>Monitoring Type</label>
                        </td>
                        <td>
                          <span class="form-control" readonly="readonly">
                            <xsl:for-each select="MonitoringType">
                              <xsl:value-of select="string(.)" />
                              <xsl:if test="position() != last()">
                                <br/>
                              </xsl:if>
                            </xsl:for-each>
                          </span>
                        </td>
                      </tr>
                      <tr>
                        <td>
                          <label>Monitoring Details</label>
                        </td>
                        <td>
                          <span class="form-control" readonly="readonly">
                            <xsl:value-of select="MonitoringDetails" />
                          </span>
                        </td>
                      </tr>
                      <tr>
                        <td>
                          <label>Monitoring Method</label>
                        </td>
                        <td>
                          <span class="form-control" readonly="readonly">
                            <xsl:for-each select="MonitoringMethod">
                              <xsl:call-template name="MonitoringMethodCode"></xsl:call-template>
                              <xsl:if test="position() != last()">
                                <br/>
                              </xsl:if>
                            </xsl:for-each>
                          </span>
                        </td>
                      </tr>
                      <xsl:if test="MonitoringMethodOther">
                        <tr>
                          <td>
                            <label>Monitoring Method Other</label>
                          </td>
                          <td>
                            <span class="form-control" readonly="readonly">
                              <xsl:value-of select="MonitoringMethodOther" />
                            </span>
                          </td>
                        </tr>
                      </xsl:if>
                      <tr>
                        <td>
                          <label>Quality Control</label>
                        </td>
                        <td>
                          <span class="form-control" readonly="readonly">
                            <xsl:value-of select="QualityControl" />
                          </span>
                        </td>
                      </tr>
                      <tr>
                        <td>
                          <label>Monitoring Frequency</label>
                        </td>
                        <td>
                          <span class="form-control" readonly="readonly">
                            <xsl:call-template name="MonitoringFrequencyCode"></xsl:call-template>
                          </span>
                        </td>
                      </tr>
                      <tr>
                        <td>
                          <label>Data Management</label>
                        </td>
                        <td>
                          <span class="form-control" readonly="readonly">
                            <xsl:value-of select="DataManagement" />
                          </span>
                        </td>
                      </tr>
                      <tr>
                        <td>
                          <label>Data Access</label>
                        </td>
                        <td>
                          <span class="form-control" readonly="readonly">
                            <xsl:for-each select="DataAccess">
                              <xsl:value-of select="string(.)" />
                              <xsl:if test="position() != last()">
                                <br/>
                              </xsl:if>
                            </xsl:for-each>
                          </span>
                        </td>
                      </tr>
                      <tr>
                        <td>
                          <label>Contact</label>
                        </td>
                        <td>
                          <span class="form-control" readonly="readonly">
                            <xsl:value-of select="Contact" />
                          </span>
                        </td>
                      </tr>
                      <tr>
                        <td>
                          <label>References</label>
                        </td>
                        <td>
                          <span class="form-control" readonly="readonly">
                            <xsl:value-of select="References" />
                          </span>
                        </td>
                      </tr>
                      <xsl:if test="Feature">
                        <xsl:for-each select="Feature">
                          <tr class="tableBorder">
                            <td>
                              <label>Feature</label>
                            </td>
                            <td>
                              <span class="form-control" readonly="readonly">
                                <xsl:call-template name="FeatureCode"></xsl:call-template>
                              </span>
                            </td>
                          </tr>
                          <xsl:if test="Element">
                            <tr>
                              <td></td>
                              <td>
                                <div class="table-reponsive">
                                  <table class="table table-striped tableBorder">
                                    <xsl:for-each select="Element">
                                      <tr>
                                        <td>
                                          <label>Element</label>
                                        </td>
                                        <td>
                                          <span class="form-control" readonly="readonly">
                                            <xsl:value-of select="Element" />
                                          </span>
                                        </td>
                                      </tr>
                                      <xsl:if test="Criteria">
                                        <tr>
                                          <td></td>
                                          <td>
                                            <div class="table-reponsive">
                                              <table class="table table-striped tableBorder">
                                                <xsl:for-each select="Criteria">
                                                  <tr>
                                                    <td>
                                                      <label>GES Criteria</label>
                                                    </td>
                                                    <td>
                                                      <span class="form-control" readonly="readonly">
                                                        <xsl:call-template name="GEScomponentCode"></xsl:call-template>
                                                      </span>
                                                    </td>
                                                  </tr>
                                                  <xsl:if test="Parameter">
                                                    <tr>
                                                      <td></td>
                                                      <td>
                                                        <div class="table-reponsive">
                                                          <table class="table table-striped tableBorder">
                                                            <tr>
                                                              <td>
                                                                <label>Parameter</label>
                                                              </td>
                                                              <td>
                                                                <span class="form-control" readonly="readonly">
                                                                  <xsl:for-each select="Parameter">
                                                                    <xsl:call-template name="ParameterCode"></xsl:call-template>
                                                                    <xsl:if test="position() != last()">
                                                                      <br/>
                                                                    </xsl:if>
                                                                  </xsl:for-each>
                                                                </span>
                                                              </td>
                                                            </tr>
                                                            <xsl:if test="ParameterOther">
                                                              <tr>
                                                                <td>
                                                                  <label>Parameter Other</label>
                                                                </td>
                                                                <td>
                                                                  <span class="form-control" readonly="readonly">
                                                                    <xsl:value-of select="ParameterOther" />
                                                                  </span>
                                                                </td>
                                                              </tr>
                                                            </xsl:if>
                                                          </table>
                                                        </div>
                                                      </td>
                                                    </tr>
                                                  </xsl:if>
                                                </xsl:for-each>
                                              </table>
                                            </div>
                                          </td>
                                        </tr>
                                      </xsl:if>
                                    </xsl:for-each>
                                  </table>
                                </div>
                              </td>
                            </tr>
                          </xsl:if>
                        </xsl:for-each>
                      </xsl:if>
                      <xsl:if test="RelatedIndicator">
                        <tr>
                          <td>
                            <label>Related Indicator</label>
                          </td>
                          <td>
                            <div class="table-reponsive">
                              <table class="table table-striped">
                                <xsl:for-each select="RelatedIndicator">
                                  <tr class="tableBorderTop">
                                    <td>
                                      <label>Related Indicator Code</label>
                                    </td>
                                    <td>
                                      <span class="form-control" readonly="readonly">
                                        <xsl:value-of select="RelatedIndicator_code" />
                                      </span>
                                    </td>
                                  </tr>
                                  <tr class="tableBorderBottom">
                                    <td>
                                      <label>Related Indicator Name</label>
                                    </td>
                                    <td>
                                      <span class="form-control" readonly="readonly">
                                        <xsl:value-of select="RelatedIndicator_name" />
                                      </span>
                                    </td>
                                  </tr>
                                </xsl:for-each>
                              </table>
                            </div>
                          </td>
                        </tr>
                      </xsl:if>
                    </xsl:if>
                  </table>
                </div>
              </div>
            </div>
          </div>
        </xsl:for-each>
      </div>
    </xsl:if>
  </xsl:template>
  <xsl:template name="CountriesCode">
    <xsl:choose>
      <xsl:when test="ART11_Programmes/CountryCode = 'BE'">Belgium</xsl:when>
      <xsl:when test="ART11_Programmes/CountryCode = 'BG'">Bulgaria</xsl:when>
      <xsl:when test="ART11_Programmes/CountryCode = 'CY'">Cyprus</xsl:when>
      <xsl:when test="ART11_Programmes/CountryCode = 'DE'">Germany</xsl:when>
      <xsl:when test="ART11_Programmes/CountryCode = 'DK'">Denmark</xsl:when>
      <xsl:when test="ART11_Programmes/CountryCode = 'EE'">Estonia</xsl:when>
      <xsl:when test="ART11_Programmes/CountryCode = 'EL'">Greece</xsl:when>
      <xsl:when test="ART11_Programmes/CountryCode = 'ES'">Spain</xsl:when>
      <xsl:when test="ART11_Programmes/CountryCode = 'FI'">Finland</xsl:when>
      <xsl:when test="ART11_Programmes/CountryCode = 'FR'">France</xsl:when>
      <xsl:when test="ART11_Programmes/CountryCode = 'HR'">Croatia</xsl:when>
      <xsl:when test="ART11_Programmes/CountryCode = 'IE'">Ireland</xsl:when>
      <xsl:when test="ART11_Programmes/CountryCode = 'IT'">Italy</xsl:when>
      <xsl:when test="ART11_Programmes/CountryCode = 'LT'">Lithuania</xsl:when>
      <xsl:when test="ART11_Programmes/CountryCode = 'LV'">Latvia</xsl:when>
      <xsl:when test="ART11_Programmes/CountryCode = 'MT'">Malta</xsl:when>
      <xsl:when test="ART11_Programmes/CountryCode = 'NL'">Netherlands</xsl:when>
      <xsl:when test="ART11_Programmes/CountryCode = 'PL'">Poland</xsl:when>
      <xsl:when test="ART11_Programmes/CountryCode = 'PT'">Portugal</xsl:when>
      <xsl:when test="ART11_Programmes/CountryCode = 'RO'">Romania</xsl:when>
      <xsl:when test="ART11_Programmes/CountryCode = 'SE'">Sweden</xsl:when>
      <xsl:when test="ART11_Programmes/CountryCode = 'SI'">Slovenia</xsl:when>
      <xsl:when test="ART11_Programmes/CountryCode = 'UK'">United Kingdom</xsl:when>
    </xsl:choose>
  </xsl:template>
  <xsl:template name="GEScomponentCode">
    <xsl:choose>
      <xsl:when test="GEScriteria = 'D1'">D1 Biodiversity</xsl:when>
      <xsl:when test="GEScriteria = 'D1.1'">D1 Biodiversity - birds</xsl:when>
      <xsl:when test="GEScriteria = 'D1.5'">D1 Biodiversity - cephalopods</xsl:when>
      <xsl:when test="GEScriteria = 'D1.4'">D1 Biodiversity - fish</xsl:when>
      <xsl:when test="GEScriteria = 'D1.2'">D1 Biodiversity - mammals</xsl:when>
      <xsl:when test="GEScriteria = 'D1.3'">D1 Biodiversity - reptiles</xsl:when>
      <xsl:when test="GEScriteria = 'D1.6'">D1 Biodiversity – pelagic habitats</xsl:when>
      <xsl:when test="GEScriteria = 'D2'">D2 Non-indigenous species</xsl:when>
      <xsl:when test="GEScriteria = 'D3'">D3 Commercial fish and shellfish</xsl:when>
      <xsl:when test="GEScriteria = 'D4/D1'">D4 Food webs/D1 Biodiversity - ecosystems</xsl:when>
      <xsl:when test="GEScriteria = 'D5'">D5 Eutrophication</xsl:when>
      <xsl:when test="GEScriteria = 'D6/D1'">D6 Sea-floor integrity/D1 Biodiversity - benthic habitats</xsl:when>
      <xsl:when test="GEScriteria = 'D7'">D7 Hydrographical changes</xsl:when>
      <xsl:when test="GEScriteria = 'D8'">D8 Contaminants</xsl:when>
      <xsl:when test="GEScriteria = 'D9'">D9 Contaminants in seafood</xsl:when>
      <xsl:when test="GEScriteria = 'D10'">D10 Litter</xsl:when>
      <xsl:when test="GEScriteria = 'D11'">D11 Energy, including underwater noise</xsl:when>
      <xsl:when test="GEScriteria = 'D1C1'">D1C1 Mortality rate from incidental by-catch</xsl:when>
      <xsl:when test="GEScriteria = 'D1C2'">D1C2 Population abundance</xsl:when>
      <xsl:when test="GEScriteria = 'D1C3'">D1C3 Population demographic characteristics</xsl:when>
      <xsl:when test="GEScriteria = 'D1C4'">D1C4 Population distributional range and pattern</xsl:when>
      <xsl:when test="GEScriteria = 'D1C5'">D1C5 Habitat for the species</xsl:when>
      <xsl:when test="GEScriteria = 'D1C6'">D1C6 Pelagic habitat condition</xsl:when>
      <xsl:when test="GEScriteria = 'D2C1'">D2C1 Newly-introduced NIS</xsl:when>
      <xsl:when test="GEScriteria = 'D2C2'">D2C2 Established NIS</xsl:when>
      <xsl:when test="GEScriteria = 'D2C3'">D2C3 Adverse effects of NIS</xsl:when>
      <xsl:when test="GEScriteria = 'D3C1'">D3C1 Fishing mortality rate (F)</xsl:when>
      <xsl:when test="GEScriteria = 'D3C2'">D3C2 Spawning stock biomass (SSB)</xsl:when>
      <xsl:when test="GEScriteria = 'D3C3'">D3C3 Population age/size distribution</xsl:when>
      <xsl:when test="GEScriteria = 'D4C1'">D4C1 Trophic guild species diversity</xsl:when>
      <xsl:when test="GEScriteria = 'D4C2'">D4C2 Abundance across trophic guilds</xsl:when>
      <xsl:when test="GEScriteria = 'D4C3'">D4C3 Trophic guild size distribution</xsl:when>
      <xsl:when test="GEScriteria = 'D4C4'">D4C4 Trophic guild productivity</xsl:when>
      <xsl:when test="GEScriteria = 'D5C1'">D5C1 Nutrient concentrations</xsl:when>
      <xsl:when test="GEScriteria = 'D5C2'">D5C2 Chlorophyll-a concentration</xsl:when>
      <xsl:when test="GEScriteria = 'D5C3'">D5C3 Harmful algal blooms</xsl:when>
      <xsl:when test="GEScriteria = 'D5C4'">D5C4 Photic limit</xsl:when>
      <xsl:when test="GEScriteria = 'D5C5'">D5C5 Dissolved oxygen concentration</xsl:when>
      <xsl:when test="GEScriteria = 'D5C6'">D5C6 Opportunistic macroalgae of benthic habitats</xsl:when>
      <xsl:when test="GEScriteria = 'D5C7'">D5C7 Macrophyte communities of benthic habitats</xsl:when>
      <xsl:when test="GEScriteria = 'D5C8'">D5C8 Macrofaunal communities of benthic habitats</xsl:when>
      <xsl:when test="GEScriteria = 'D6C1'">D6C1 Physical loss of the seabed</xsl:when>
      <xsl:when test="GEScriteria = 'D6C2'">D6C2 Physical disturbance to the seabed</xsl:when>
      <xsl:when test="GEScriteria = 'D6C3'">D6C3 Adverse effects from physical disturbance</xsl:when>
      <xsl:when test="GEScriteria = 'D6C4'">D6C4 Benthic habitat extent</xsl:when>
      <xsl:when test="GEScriteria = 'D6C5'">D6C5 Benthic habitat condition</xsl:when>
      <xsl:when test="GEScriteria = 'D7C1'">D7C1 Alteration of hydrographical conditions</xsl:when>
      <xsl:when test="GEScriteria = 'D7C2'">D7C2 Adverse effects from alteration of hydrographical conditions</xsl:when>
      <xsl:when test="GEScriteria = 'D8C1'">D8C1 Contaminant in environment</xsl:when>
      <xsl:when test="GEScriteria = 'D8C2'">D8C2 Adverse effects of contaminants</xsl:when>
      <xsl:when test="GEScriteria = 'D8C3'">D8C3 Acute pollution events</xsl:when>
      <xsl:when test="GEScriteria = 'D8C4'">D8C4 Adverse effects of acute pollution events</xsl:when>
      <xsl:when test="GEScriteria = 'D9C1'">D9C1 Contaminants in seafood</xsl:when>
      <xsl:when test="GEScriteria = 'D10C1'">D10C1 Litter (excluding micro-litter)</xsl:when>
      <xsl:when test="GEScriteria = 'D10C2'">D10C2 Micro-litter</xsl:when>
      <xsl:when test="GEScriteria = 'D10C3'">D10C3 Litter ingested</xsl:when>
      <xsl:when test="GEScriteria = 'D10C4'">D10C4 Adverse effects of litter</xsl:when>
      <xsl:when test="GEScriteria = 'D11C1'">D11C1 Anthropogenic impulsive sound</xsl:when>
      <xsl:when test="GEScriteria = 'D11C2'">D11C2 Anthropogenic continuous low-frequency sound</xsl:when>
      <xsl:when test="GEScriteria = 'NotRelevant'">Non related GES component</xsl:when>
    </xsl:choose>
  </xsl:template>
  <xsl:template name="FeatureCode">
    <xsl:choose>
      <xsl:when test="Feature = 'BirdsGrazing'">Grazing birds</xsl:when>
      <xsl:when test="Feature = 'BirdsWading'">Wading birds</xsl:when>
      <xsl:when test="Feature = 'BirdsSurfaceFeeding'">Surface-feeding birds</xsl:when>
      <xsl:when test="Feature = 'BirdsPelagicFeeding'">Pelagic-feeding birds</xsl:when>
      <xsl:when test="Feature = 'BirdsBenthicFeeding'">Benthic-feeding birds</xsl:when>
      <xsl:when test="Feature = 'MamCetacSmall'">Small toothed cetaceans</xsl:when>
      <xsl:when test="Feature = 'MamCetacDeepDiving'">Deep-diving toothed cetaceans</xsl:when>
      <xsl:when test="Feature = 'MamCetacBaleenWhales'">Baleen whales</xsl:when>
      <xsl:when test="Feature = 'MamSeals'">Seals</xsl:when>
      <xsl:when test="Feature = 'RepTurtles'">Turtles</xsl:when>
      <xsl:when test="Feature = 'FishCoastal'">Coastal fish</xsl:when>
      <xsl:when test="Feature = 'FishPelagicShelf'">Pelagic shelf fish</xsl:when>
      <xsl:when test="Feature = 'FishDemersalShelf'">Demersal shelf fish</xsl:when>
      <xsl:when test="Feature = 'FishDeepSea'">Deep-sea fish</xsl:when>
      <xsl:when test="Feature = 'FishCommercial'">Commercially exploited fish and shellfish</xsl:when>
      <xsl:when test="Feature = 'CephaCoastShelf'">Coastal/shelf cephalopods</xsl:when>
      <xsl:when test="Feature = 'CephaDeepSea'">Deep-sea cephalopods</xsl:when>
      <xsl:when test="Feature = 'HabBenBHT'">Benthic broad habitats</xsl:when>
      <xsl:when test="Feature = 'HabBenOther'">Other benthic habitats</xsl:when>
      <xsl:when test="Feature = 'HabPelBHT'">Pelagic broad habitats</xsl:when>
      <xsl:when test="Feature = 'HabPelOther'">Other pelagic habitats</xsl:when>
      <xsl:when test="Feature = 'CharaPhyHydro'">Physical and hydrological characteristics</xsl:when>
      <xsl:when test="Feature = 'CharaChem'">Chemical characteristics</xsl:when>
      <xsl:when test="Feature = 'EcosysCoastal'">Coastal ecosystems</xsl:when>
      <xsl:when test="Feature = 'EcosysShelf'">Shelf ecosystems</xsl:when>
      <xsl:when test="Feature = 'EcosysOceanic'">Oceanic/deep-sea ecosystems</xsl:when>
      <xsl:when test="Feature = 'PresEnvNISnew'">Newly introduced non-indigenous species</xsl:when>
      <xsl:when test="Feature = 'PresEnvNISestablished'">Established non-indigenous species</xsl:when>
      <xsl:when test="Feature = 'PresEnvBycatch'">Species affected by incidental by-catch</xsl:when>
      <xsl:when test="Feature = 'PresEnvHydroChanges'">Hydrographical changes</xsl:when>
      <xsl:when test="Feature = 'PresPhyDisturbSeabed'">Physical disturbance to seabed</xsl:when>
      <xsl:when test="Feature = 'PresPhyLoss'">Physical loss of the seabed</xsl:when>
      <xsl:when test="Feature = 'PresEnvEutrophi'">Eutrophication</xsl:when>
      <xsl:when test="Feature = 'PresEnvContNonUPBTs'">Contaminants - non UPBT substances</xsl:when>
      <xsl:when test="Feature = 'PresEnvContUPBTs'">Contaminants - UPBT substances</xsl:when>
      <xsl:when test="Feature = 'PresEnvContSeafood'">Contaminants – in seafood</xsl:when>
      <xsl:when test="Feature = 'PrevEnvAdvEffectsSppHab'">Adverse effects on species or habitats</xsl:when>
      <xsl:when test="Feature = 'PresEnvAcuPolluEvents'">Acute pollution events</xsl:when>
      <xsl:when test="Feature = 'PresEnvLitter'">Litter in the environment</xsl:when>
      <xsl:when test="Feature = 'PresEnvLitterMicro'">Micro-litter in the environment</xsl:when>
      <xsl:when test="Feature = 'PresEnvLitterSpp'">Litter and micro-litter in species</xsl:when>
      <xsl:when test="Feature = 'PresEnvSoundImpulsive'">Impulsive sound in water</xsl:when>
      <xsl:when test="Feature = 'PresEnvSoundContinuous'">Continuous low frequency sound</xsl:when>
      <xsl:when test="Feature = 'PresBioIntroNIS'">Input or spread of non-indigenous species</xsl:when>
      <xsl:when test="Feature = 'PresBioIntroMicroPath'">Input of microbial pathogens</xsl:when>
      <xsl:when test="Feature = 'PresBioIntroGenModSpp'">Input of genetically modified species and translocation of native species</xsl:when>
      <xsl:when test="Feature = 'PresBioCultHab'">Loss of, or change to, natural biological communities due to cultivation of animal or plant species</xsl:when>
      <xsl:when test="Feature = 'PresBioDisturbSpp'">Disturbance of species (e.g. where they breed, rest and feed) due to human presence</xsl:when>
      <xsl:when test="Feature = 'PresBioExtractSpp'">Extraction of, or mortality/injury to, wild species (by commercial and recreational fishing and other activities)</xsl:when>
      <xsl:when test="Feature = 'PresInputNut'">Input of nutrients – diffuse sources, point sources, atmospheric deposition</xsl:when>
      <xsl:when test="Feature = 'PresInputOrg'">Input of organic matter – diffuse sources and point sources</xsl:when>
      <xsl:when test="Feature = 'PresInputCont'">Input of other substances (e.g. synthetic substances, non-synthetic substances, radionuclides) – diffuse sources, point sources, atmospheric deposition, acute events</xsl:when>
      <xsl:when test="Feature = 'PresInputLitter'">Input of litter (solid waste matter, including micro-sized litter)</xsl:when>
      <xsl:when test="Feature = 'PresInputSound'">Input of anthropogenic sound (impulsive, continuous)</xsl:when>
      <xsl:when test="Feature = 'PresInputOthEnergy'">Input of other forms of energy (including electromagnetic fields, light and heat)</xsl:when>
      <xsl:when test="Feature = 'PresInputWater'">Input of water – point sources (e.g. brine)</xsl:when>
      <xsl:when test="Feature = 'ActivRestrucLandClaim'">Land claim</xsl:when>
      <xsl:when test="Feature = 'ActivRestrucCanalisation'">Canalisation and other watercourse modifications</xsl:when>
      <xsl:when test="Feature = 'ActivRestrucCoastDef'">Coastal defence and flood protection</xsl:when>
      <xsl:when test="Feature = 'ActivRestrucOffshStruc'">Offshore structures (other than for oil/gas/renewables)</xsl:when>
      <xsl:when test="Feature = 'ActivRestrucSeabedMorph'">Restructuring of seabed morphology, including dredging and depositing of materials</xsl:when>
      <xsl:when test="Feature = 'ActivExtrNonLivingMinerals'">Extraction of minerals (rock, metal ores, gravel, sand, shell)</xsl:when>
      <xsl:when test="Feature = 'ActivExtrNonLivingOilGas'">Extraction of oil and gas, including infrastructure</xsl:when>
      <xsl:when test="Feature = 'ActivExtrNonLivingSalt'">Extraction of salt</xsl:when>
      <xsl:when test="Feature = 'ActivExtrNonLivingWater'">Extraction of water</xsl:when>
      <xsl:when test="Feature = 'ActivProdEnerRenew'">Renewable energy generation (wind, wave and tidal power), including infrastructure</xsl:when>
      <xsl:when test="Feature = 'ActivProdEnerNonRenew'">Non-renewable energy generation</xsl:when>
      <xsl:when test="Feature = 'ActivProdEnerCables'">Transmission of electricity and communications (cables)</xsl:when>
      <xsl:when test="Feature = 'ActivExtrLivingFishHarv'">Fish and shellfish harvesting (professional, recreational)</xsl:when>
      <xsl:when test="Feature = 'ActivExtrLivingFishProcess'">Fish and shellfish processing</xsl:when>
      <xsl:when test="Feature = 'ActivExtrLivingPlantHarv'">Marine plant harvesting</xsl:when>
      <xsl:when test="Feature = 'ActivExtrLivingHunt'">Hunting and collecting for other purposes</xsl:when>
      <xsl:when test="Feature = 'ActivCultivAquaculMarine'">Aquaculture – marine, including infrastructure</xsl:when>
      <xsl:when test="Feature = 'ActivCultivAquaculFreshwa'">Aquaculture – freshwater</xsl:when>
      <xsl:when test="Feature = 'ActivCultivAgri'">Agriculture</xsl:when>
      <xsl:when test="Feature = 'ActivCultivFores'">Forestry</xsl:when>
      <xsl:when test="Feature = 'ActivTranspInfras'">Transport infrastructure</xsl:when>
      <xsl:when test="Feature = 'ActivTranspShip'">Transport – shipping</xsl:when>
      <xsl:when test="Feature = 'ActivTranspAir'">Transport – air</xsl:when>
      <xsl:when test="Feature = 'ActivTranspLand'">Transport – land</xsl:when>
      <xsl:when test="Feature = 'ActivUrbIndUrban'">Urban uses</xsl:when>
      <xsl:when test="Feature = 'ActivUrbIndIndustrial'">Industrial uses</xsl:when>
      <xsl:when test="Feature = 'ActivUrbIndWaste'">Waste treatment and disposal</xsl:when>
      <xsl:when test="Feature = 'ActivTourismInfras'">Tourism and leisure infrastructure</xsl:when>
      <xsl:when test="Feature = 'ActivTourismActiv'">Tourism and leisure activities</xsl:when>
      <xsl:when test="Feature = 'ActivMilitary'">Military operations (subject to Article 2(2))</xsl:when>
      <xsl:when test="Feature = 'ActivResearch'">Research, survey and educational activities</xsl:when>
    </xsl:choose>
  </xsl:template>
  <xsl:template name="OtherPoliciesConventionsCode">
    <xsl:choose>
      <xsl:when test="string(.) = 'AC-AMAP'">Arctic Council Monitoring and Assessment Programme</xsl:when>
      <xsl:when test="string(.) = 'BC-IMAP'">UNEP-MAP Integrated Monitoring and Assessment Programme</xsl:when>
      <xsl:when test="string(.) = 'BONN'">Bonn Aerial surveillance for prevention of pollution</xsl:when>
      <xsl:when test="string(.) = 'BS-IMAP'">BSC Integrated Monitoring and Assessment Programme</xsl:when>
      <xsl:when test="string(.) = 'CPH'">Copenhagen Agreement</xsl:when>
      <xsl:when test="string(.) = 'CWS-MAP'">Trilateral Monitoring and Assessment Programme (TMAP)</xsl:when>
      <xsl:when test="string(.) = 'EU-BD'">Birds Directive</xsl:when>
      <xsl:when test="string(.) = 'EU-BWD'">Bathing Water Directive</xsl:when>
      <xsl:when test="string(.) = 'EU-EIA'">Environmental Impact Assessment Directive (2011/92/EU)</xsl:when>
      <xsl:when test="string(.) = 'EU-FSR'">Foodstuffs Regulation</xsl:when>
      <xsl:when test="string(.) = 'EU-HD'">Habitats Directive</xsl:when>
      <xsl:when test="string(.) = 'EU-IASR'">Invasive Alien Species Regulation</xsl:when>
      <xsl:when test="string(.) = 'EU-CFP-DCF'">Data Collection Framework Multi-Annual Plan (Common Fisheries Policy)</xsl:when>
      <xsl:when test="string(.) = 'EU-MSP'">Maritime Spatial Planning Directive</xsl:when>
      <xsl:when test="string(.) = 'EU-ND'">Nitrates Directive</xsl:when>
      <xsl:when test="string(.) = 'EU-NEC'">National Emission Ceilings Directive</xsl:when>
      <xsl:when test="string(.) = 'EU-Sev'">Seveso Directive</xsl:when>
      <xsl:when test="string(.) = 'EU-UWWD'">Urban Waste Water Treatment Directive</xsl:when>
      <xsl:when test="string(.) = 'EU-WFD'">Water Framework Directive</xsl:when>
      <xsl:when test="string(.) = 'EU-WaFD'">Waste Framework Directive</xsl:when>
      <xsl:when test="string(.) = 'GFCM'">General Fisheries Commission for the Mediterranean</xsl:when>
      <xsl:when test="string(.) = 'HEL-MON'">HELCOM Monitoring programmes</xsl:when>
      <xsl:when test="string(.) = 'ICCAT'">International Commission for the Conservation of Atlantic Tunas</xsl:when>
      <xsl:when test="string(.) = 'IMO-OPRC'">International Convention on Oil Pollution Preparedness, Response and Co-operation</xsl:when>
      <xsl:when test="string(.) = 'IMO-OPRC-HNS'">Protocol on Preparedness, Response and Co-operation to pollution Incidents by Hazardous and Noxious Substances</xsl:when>
      <xsl:when test="string(.) = 'NEAFC'">NEAFC Monitoring of Fisheries</xsl:when>
      <xsl:when test="string(.) = 'OSP-CEMP'">OSPAR Coordinated Environmental Monitoring Programme</xsl:when>
      <xsl:when test="string(.) = 'CMS'">Convention on the Conservation of Migratory Species of Wild Animals (Bonn Convention)</xsl:when>
      <xsl:when test="string(.) = 'C-POP'">Stockholm Convention on persistent organic pollutions (POPs)</xsl:when>
      <xsl:when test="string(.) = 'CLRTAP'">Convention on Long-Range Transboundary Air Pollution</xsl:when>
      <xsl:when test="string(.) = 'C-Hg'">Minamata Convention on Mercury</xsl:when>
      <xsl:when test="string(.) = 'MARPOL'">International Convention for the Prevention of Pollution from Ships</xsl:when>
      <xsl:when test="string(.) = 'National'">Monitoring programme targeting at national legislation</xsl:when>
      <xsl:when test="string(.) = 'AEWA'">Agreement on the Conservation of African-Eurasian Migratory Waterbirds</xsl:when>
    </xsl:choose>
  </xsl:template>
  <xsl:template name="RegionalCooperationCountryCode">
    <xsl:choose>
      <xsl:when test="string(.) = 'AT'">Austria</xsl:when>
      <xsl:when test="string(.) = 'BE'">Belgium</xsl:when>
      <xsl:when test="string(.) = 'BG'">Bulgaria</xsl:when>
      <xsl:when test="string(.) = 'CY'">Cyprus</xsl:when>
      <xsl:when test="string(.) = 'CZ'">Czech Republic</xsl:when>
      <xsl:when test="string(.) = 'DE'">Germany</xsl:when>
      <xsl:when test="string(.) = 'DK'">Denmark</xsl:when>
      <xsl:when test="string(.) = 'DZ'">Algeria</xsl:when>
      <xsl:when test="string(.) = 'EE'">Estonia</xsl:when>
      <xsl:when test="string(.) = 'EG'">Egypt</xsl:when>
      <xsl:when test="string(.) = 'EL'">Greece</xsl:when>
      <xsl:when test="string(.) = 'ES'">Spain</xsl:when>
      <xsl:when test="string(.) = 'FI'">Finland</xsl:when>
      <xsl:when test="string(.) = 'FR'">France</xsl:when>
      <xsl:when test="string(.) = 'GE'">Georgia</xsl:when>
      <xsl:when test="string(.) = 'HR'">Croatia</xsl:when>
      <xsl:when test="string(.) = 'HU'">Hungary</xsl:when>
      <xsl:when test="string(.) = 'IE'">Ireland</xsl:when>
      <xsl:when test="string(.) = 'IL'">Israel</xsl:when>
      <xsl:when test="string(.) = 'IT'">Italy</xsl:when>
      <xsl:when test="string(.) = 'IS'">Iceland</xsl:when>
      <xsl:when test="string(.) = 'LB'">Lebanon</xsl:when>
      <xsl:when test="string(.) = 'LT'">Lithuania</xsl:when>
      <xsl:when test="string(.) = 'LU'">Luxembourg</xsl:when>
      <xsl:when test="string(.) = 'LV'">Latvia</xsl:when>
      <xsl:when test="string(.) = 'LY'">Libya</xsl:when>
      <xsl:when test="string(.) = 'MA'">Morocco</xsl:when>
      <xsl:when test="string(.) = 'MT'">Malta</xsl:when>
      <xsl:when test="string(.) = 'NL'">Netherlands</xsl:when>
      <xsl:when test="string(.) = 'NO'">Norway</xsl:when>
      <xsl:when test="string(.) = 'PL'">Poland</xsl:when>
      <xsl:when test="string(.) = 'PS'">Palestine</xsl:when>
      <xsl:when test="string(.) = 'PT'">Portugal</xsl:when>
      <xsl:when test="string(.) = 'RO'">Romania</xsl:when>
      <xsl:when test="string(.) = 'RU'">Russian Federation</xsl:when>
      <xsl:when test="string(.) = 'SE'">Sweden</xsl:when>
      <xsl:when test="string(.) = 'SI'">Slovenia</xsl:when>
      <xsl:when test="string(.) = 'SK'">Slovakia</xsl:when>
      <xsl:when test="string(.) = 'SY'">Syria</xsl:when>
      <xsl:when test="string(.) = 'TN'">Tunisia</xsl:when>
      <xsl:when test="string(.) = 'TR'">Turkey</xsl:when>
      <xsl:when test="string(.) = 'UA'">Ukraine</xsl:when>
      <xsl:when test="string(.) = 'UK'">United Kingdom</xsl:when>
    </xsl:choose>
  </xsl:template>
  <xsl:template name="MonitoringMethodCode">
    <xsl:choose>
      <xsl:when test="string(.) = 'HEL-001'">HELCOM Guidelines for the annual and periodical compilation and reporting of waterborne pollution inputs to the Baltic Sea (PLC-Water)</xsl:when>
      <xsl:when test="string(.) = 'HEL-002'">HELCOM Guideline for the determination of heavy metals in sediment</xsl:when>
      <xsl:when test="string(.) = 'HEL-003'">HELCOM Guideline on the determination of perfluoroalkylated substances (PFAS) in seawater</xsl:when>
      <xsl:when test="string(.) = 'HEL-004'">HELCOM Guidelines for sampling and determination of dissolved oxygen</xsl:when>
      <xsl:when test="string(.) = 'HEL-005'">HELCOM Guidelines for determination of chlorinated hydrocarbons in sediment</xsl:when>
      <xsl:when test="string(.) = 'HEL-006'">HELCOM Guidelines for determination of PAH in sediment</xsl:when>
      <xsl:when test="string(.) = 'HEL-007'">HELCOM Guidelines for determination of POPs in seawater</xsl:when>
      <xsl:when test="string(.) = 'HEL-008'">HELCOM Guidelines for determination of salinity and temperature using CTD</xsl:when>
      <xsl:when test="string(.) = 'HEL-009'">HELCOM Guidelines for measuring chlorophyll a</xsl:when>
      <xsl:when test="string(.) = 'HEL-010'">HELCOM Guidelines for measuring Secchi depth</xsl:when>
      <xsl:when test="string(.) = 'HEL-011'">HELCOM Guidelines for measuring turbidity</xsl:when>
      <xsl:when test="string(.) = 'HEL-012'">HELCOM Guidelines for monitoring of mesozooplankton</xsl:when>
      <xsl:when test="string(.) = 'HEL-013'">HELCOM Guidelines for monitoring of non-indigenous species by eRAS</xsl:when>
      <xsl:when test="string(.) = 'HEL-014'">HELCOM Guidelines for monitoring of radioactive substances</xsl:when>
      <xsl:when test="string(.) = 'HEL-015'">HELCOM Guidelines for monitoring phytoplankton species composition, abundance and biomass</xsl:when>
      <xsl:when test="string(.) = 'HEL-016'">HELCOM Guidelines for monitoring seal abundance and distribution in the HELCOM area</xsl:when>
      <xsl:when test="string(.) = 'HEL-017'">HELCOM Guidelines for monitoring reproductive status of seals in the HELCOM area</xsl:when>
      <xsl:when test="string(.) = 'HEL-018'">HELCOM Guidelines for sampling and determination of ammonium</xsl:when>
      <xsl:when test="string(.) = 'HEL-019'">HELCOM Guidelines for sampling and determination of hydrogen sulphide</xsl:when>
      <xsl:when test="string(.) = 'HEL-020'">HELCOM Guidelines for sampling and determination of nitrate</xsl:when>
      <xsl:when test="string(.) = 'HEL-021'">HELCOM Guidelines for sampling and determination of nitrite</xsl:when>
      <xsl:when test="string(.) = 'HEL-022'">HELCOM Guidelines for sampling and determination of pH</xsl:when>
      <xsl:when test="string(.) = 'HEL-023'">HELCOM Guidelines for sampling and determination of phosphate</xsl:when>
      <xsl:when test="string(.) = 'HEL-024'">HELCOM Guidelines for sampling and determination of silicate</xsl:when>
      <xsl:when test="string(.) = 'HEL-025'">HELCOM Guidelines for sampling and determination of total alkalinity</xsl:when>
      <xsl:when test="string(.) = 'HEL-026'">HELCOM Guidelines for sampling and determination of total nitrogen</xsl:when>
      <xsl:when test="string(.) = 'HEL-027'">HELCOM Guidelines for sampling and determination of total phosphorus</xsl:when>
      <xsl:when test="string(.) = 'HEL-028'">HELCOM Guidelines for coastal fish monitoring</xsl:when>
      <xsl:when test="string(.) = 'HEL-029'">HELCOM Guidelines for coordinated monitoring of wintering birds</xsl:when>
      <xsl:when test="string(.) = 'HEL-030'">HELCOM Recommendations and guidelines for benthic habitat monitoring in the Baltic Sea</xsl:when>
      <xsl:when test="string(.) = 'HEL-031'">HELCOM Manual on co-operation in response to marine pollution</xsl:when>
      <xsl:when test="string(.) = 'HEL-032'">HELCOM Manual for monitoring in COMBINE programme</xsl:when>
      <xsl:when test="string(.) = 'HEL-033'">HELCOM guideline for Seal Abundance Monitoring</xsl:when>
      <xsl:when test="string(.) = 'HEL-034'">HELCOM Guidelines for monitoring of biological effects - imposex and intersex</xsl:when>
      <xsl:when test="string(.) = 'HEL-035'">HELCOM Guidelines for monitoring beach litter</xsl:when>
      <xsl:when test="string(.) = 'HEL-036'">HELCOM Guidelines for monitoring continuous noise</xsl:when>
      <xsl:when test="string(.) = 'OSP-001'">OSPAR Guidelines on Quality Assurance for Biological Monitoring in the OSPAR Area (Agreement 2002-15)</xsl:when>
      <xsl:when test="string(.) = 'OSP-002'">OSPAR CEMP Guideline: Common Indicator - Marine Bird Abundance (B1) (Agreement 2016-09)</xsl:when>
      <xsl:when test="string(.) = 'OSP-003'">OSPAR CEMP Guideline: Common Indicator - Marine Bird Breeding Success/Failure (B3) (Agreement 2016-10)</xsl:when>
      <xsl:when test="string(.) = 'OSP-004'">OSPAR CEMP Guideline: Common Indicator - Seal Abundance and Distribution (M3) (Agreement 2016-11)</xsl:when>
      <xsl:when test="string(.) = 'OSP-005'">OSPAR CEMP Guideline: Common Indicator - Grey Seal Pup Production (M5) (Agreement 2016-12)</xsl:when>
      <xsl:when test="string(.) = 'OSP-006'">OSPAR CEMP Guidelines Common Indicator: BH3 Extent of Physical damage to predominant and special habitats (Agreement 2017-09)</xsl:when>
      <xsl:when test="string(.) = 'OSP-007'">OSPAR CEMP Guideline: Common Indicator - Changes to non-indigenous species communities (NIS3) (Agreement 2018-04)</xsl:when>
      <xsl:when test="string(.) = 'OSP-008'">OSPAR CEMP Guideline: Combined guideline for the common indicators FC1, FC2, FC3 and FW3 for fish and food webs (Agreement 2018-05)</xsl:when>
      <xsl:when test="string(.) = 'OSP-009'">OSPAR CEMP Guideline: Common indicator: Condition of benthic habitat communities (BH2) – common approach (Agreement 2018-06)</xsl:when>
      <xsl:when test="string(.) = 'OSP-010'">OSPAR CEMP Guideline: Common Indicator: PH1/FW5 Plankton lifeforms (Agreement 2018-07)</xsl:when>
      <xsl:when test="string(.) = 'OSP-011'">OSPAR CEMP Guideline: Common indicator: Abundance at the relevant temporal scale of cetacean species regularly present (M4) – Interim version (Agreement 2018-09)</xsl:when>
      <xsl:when test="string(.) = 'OSP-012'">OSPAR CEMP Guideline: Common indicator in Region IV: Change in average trophic level of marine predators (FW4) (Agreement 2018-08)</xsl:when>
      <xsl:when test="string(.) = 'OSP-013'">OSPAR CEMP Guidelines for the assessment of dumping and placement of waste or other matter at sea</xsl:when>
      <xsl:when test="string(.) = 'OSP-014'">OSPAR CEMP Guidelines for monitoring marine litter washed ashore and/or deposited on coastlines (beach litter)</xsl:when>
      <xsl:when test="string(.) = 'OSP-015'">OSPAR CEMP Guidelines on Litter on the Seafloor</xsl:when>
      <xsl:when test="string(.) = 'OSP-016'">OSPAR CEMP Guidelines for Monitoring and Assessment of loud, low and mid-frequency impulsive sound sources in the OSPAR Maritime Region</xsl:when>
      <xsl:when test="string(.) = 'OSP-017'">OSPAR Coordinated Environmental Monitoring Programme (CEMP) Guidelines for Monitoring and Assessment of plastic particles in stomachs of fulmars in the North Sea area</xsl:when>
      <xsl:when test="string(.) = 'OSP-018'">OSPAR CEMP Guidelines for Monitoring Contaminants in Sediments (Agreement 2002-16). Revision 2018</xsl:when>
      <xsl:when test="string(.) = 'OSP-019'">OSPAR JAMP Guidelines for Monitoring Chemical Aspects of Ocean Acidification (Agreement 2014-03e)</xsl:when>
      <xsl:when test="string(.) = 'OSP-020'">OSPAR Revised JAMP Eutrophication Monitoring Guideline: Oxygen (Agreement 2013-05) (Replaces Agreement 1997-03)</xsl:when>
      <xsl:when test="string(.) = 'OSP-021'">OSPAR Revised JAMP Eutrophication Monitoring Guideline: Nutrients (Agreement 2013-04) (Replaces Agreement 1997-02)</xsl:when>
      <xsl:when test="string(.) = 'OSP-022'">OSPAR JAMP Eutrophication Monitoring Guidelines: Chlorophyll a in Water (Agreement 2012-11) (Replaces Agreement 1997-04)</xsl:when>
      <xsl:when test="string(.) = 'OSP-023'">OSPAR CEMP Eutrophication Monitoring Guidelines: Phytoplankton Species Composition (Agreement 2016-06)</xsl:when>
      <xsl:when test="string(.) = 'OSP-024'">OSPAR JAMP Eutrophication Monitoring Guidelines: Benthos (Agreement 2012-12) (Replaces Agreement 1997-06)</xsl:when>
      <xsl:when test="string(.) = 'OSP-025'">OSPAR JAMP Guidelines for General Biological Effects Monitoring. Revised technical annexes 2007 (Agreement 2007-07)</xsl:when>
      <xsl:when test="string(.) = 'OSP-026'">OSPAR JAMP Guidelines for Contaminant-Specific Biological Effects (Agreement 2008-09) (Replaces Agreement 2003-10)</xsl:when>
      <xsl:when test="string(.) = 'OSP-027'">OSPAR JAMP Guideline on the analysis of PFCs in Seawater (Agreement 2010-08)</xsl:when>
      <xsl:when test="string(.) = 'OSP-028'">OSPAR CEMP Guidelines for Monitoring Contaminants in Biota (Agreement 1999-02). Revision 2018</xsl:when>
      <xsl:when test="string(.) = 'OSP-029'">OSPAR CEMP guidelines for coordinated monitoring for eutrophication, CAMP and RID (Agreement 2016-05), Revised in 2018</xsl:when>
      <xsl:when test="string(.) = 'AMP-001'">AMAP Trends and Effects Monotoring Programme (ATEMP)</xsl:when>
      <xsl:when test="string(.) = 'WFD-007'">WFD Guidance document n.° 7 - Monitoring under the Water Framework Directive (monitoring framework)</xsl:when>
      <xsl:when test="string(.) = 'WFD-019'">WFD Guidance document n.° 19 - Monitoring under the Water Framework Directive (surface water chemical monitoring)</xsl:when>
      <xsl:when test="string(.) = 'WFD-025'">WFD Guidance document n.° 25 - Chemical Monitoring of Sediment and Biota</xsl:when>
      <xsl:when test="string(.) = 'WFD-032'">WFD Guidance document n.° 32 - Biota Monitoring</xsl:when>
      <xsl:when test="string(.) = 'WFD-033'">WFD Guidance document n.° 33 - Analytical Methods for Biota Monitoring</xsl:when>
      <xsl:when test="string(.) = 'CWS-001'">Wadden Sea - Trilateral Monitoring and Assessment Programme Handbook</xsl:when>
      <xsl:when test="string(.) = 'BC-001'">UNEP/MAP Integrated Monitoring and Assessment Guidance (2016)</xsl:when>
      <xsl:when test="string(.) = 'BSC-001'">Black Sea: Guidelines for quality control of biological data - Phytoplankton</xsl:when>
      <xsl:when test="string(.) = 'BSC-002'">Black Sea: Manual for phytoplankton sampling and analysis</xsl:when>
      <xsl:when test="string(.) = 'BSC-003'">Black Sea: Manual for quantitative sampling and sample treatment of marine soft-bottom macrozoobenthos</xsl:when>
      <xsl:when test="string(.) = 'CFP-001'">International bottom trawl survey in the Mediterranean Manual (Version 9)</xsl:when>
      <xsl:when test="string(.) = 'CFP-002'">Common protocol for the Pan-Mediterranean Acoustic Survey (MEDIAS) (v. 2017)</xsl:when>
      <xsl:when test="string(.) = 'CFP-003'">SISP 6 - Manual for mackerel and horse mackerel egg surveys, sampling at sea</xsl:when>
      <xsl:when test="string(.) = 'CFP-004'">SISP 15 - Manual of the IBTS North Eastern Atlantic Surveys</xsl:when>
      <xsl:when test="string(.) = 'CFP-005'">SISP 7 - BITS Manual for the Baltic International Trawl Surveys</xsl:when>
      <xsl:when test="string(.) = 'CFP-006'">SISP 8 - IBAS Manual for the International Baltic Acoustic Surveys</xsl:when>
      <xsl:when test="string(.) = 'CFP-007'">SISP 10 - Manual for the International Bottom Trawl Surveys, Revision IX</xsl:when>
      <xsl:when test="string(.) = 'CFP-008'">SISP 9 Manual for International Pelagic Surveys (IPS) - Version 1.00</xsl:when>
      <xsl:when test="string(.) = 'CFP-009'">Manual for the Offshore Beam Trawl Surveys (WGBEAM)</xsl:when>
      <xsl:when test="string(.) = 'BWD-001'">Bathing Water Profiles: Best Practice and Guidance (2009)</xsl:when>
      <xsl:when test="string(.) = 'UWW-001'">Urban Waste Water Treatment Directive: Annex 1</xsl:when>
      <xsl:when test="string(.) = 'NFC-001'">NEAFC: Recording of Catch and Fishing Effort</xsl:when>
      <xsl:when test="string(.) = 'NFC-002'">NEAFC: Vessel Monitoring System</xsl:when>
      <xsl:when test="string(.) = 'BON-001'">Bonn Agreement Aerial Operations Handbook, 2009</xsl:when>
      <xsl:when test="string(.) = 'BON-002'">Bonn Agreement Aerial Operations Handbook, 2017</xsl:when>
      <xsl:when test="string(.) = 'BON-003'">Bonn Agreement Counter Pollution Manual (BACPM)</xsl:when>
      <xsl:when test="string(.) = 'CPH-001'">Copenhagen Agreement manual for cooperation on pollution control</xsl:when>
      <xsl:when test="string(.) = 'ICC-001'">ICCAT Manual: Data for Assessment and Research</xsl:when>
      <xsl:when test="string(.) = 'EC-001'">Guidance on Monitoring of Marine Litter in European Seas [note: to be updated with specific guidance for beaches, water, seabed and microlitter when available from TG Litter]</xsl:when>
      <xsl:when test="string(.) = 'EC-002'">Guidance on monitoring impulsive underwater noise</xsl:when>
      <xsl:when test="string(.) = 'EC-003'">Guidance on monitoring continuous underwater noise</xsl:when>
      <xsl:when test="string(.) = 'OTH'">Other monitoring method</xsl:when>
    </xsl:choose>
  </xsl:template>
  <xsl:template name="MonitoringFrequencyCode">
    <xsl:choose>
      <xsl:when test="MonitoringFrequency = '2-monthly'">2-monthly</xsl:when>
      <xsl:when test="MonitoringFrequency = '2-weekly'">2-weekly</xsl:when>
      <xsl:when test="MonitoringFrequency = '2-yearly'">Every 2 years</xsl:when>
      <xsl:when test="MonitoringFrequency = '3-monthly'">3-monthly</xsl:when>
      <xsl:when test="MonitoringFrequency = '3-yearly'">Every 3 years</xsl:when>
      <xsl:when test="MonitoringFrequency = '6-monthly'">6-monthly</xsl:when>
      <xsl:when test="MonitoringFrequency = '6-yearly'">Every 6 years</xsl:when>
      <xsl:when test="MonitoringFrequency = 'As needed'">As needed</xsl:when>
      <xsl:when test="MonitoringFrequency = 'Continually'">Continually</xsl:when>
      <xsl:when test="MonitoringFrequency = 'Daily'">Daily</xsl:when>
      <xsl:when test="MonitoringFrequency = 'Hourly'">Hourly</xsl:when>
      <xsl:when test="MonitoringFrequency = '4-weekly'">4-weekly</xsl:when>
      <xsl:when test="MonitoringFrequency = 'Monthly'">Monthly</xsl:when>
      <xsl:when test="MonitoringFrequency = 'One-off'">One-off</xsl:when>
      <xsl:when test="MonitoringFrequency = 'Other'">Other (specify)</xsl:when>
      <xsl:when test="MonitoringFrequency = 'Unknown'">Unknown</xsl:when>
      <xsl:when test="MonitoringFrequency = 'Weekly'">Weekly</xsl:when>
      <xsl:when test="MonitoringFrequency = 'Yearly'">Yearly</xsl:when>
    </xsl:choose>
  </xsl:template>
  <xsl:template name="ParameterCode">
    <xsl:choose>
      <xsl:when test="string(.) = 'ABU'">Abundance (number of individuals)</xsl:when>
      <xsl:when test="string(.) = 'ABU-REL'">Relative abundance within community (of pelagic and benthic habitats)</xsl:when>
      <xsl:when test="string(.) = 'AGE-D'">Age distribution</xsl:when>
      <xsl:when test="string(.) = 'AMO-B'">Amount in biota (ingested)</xsl:when>
      <xsl:when test="string(.) = 'AMO-C'">Amount on coastline</xsl:when>
      <xsl:when test="string(.) = 'AMO-SB'">Amount on seabed</xsl:when>
      <xsl:when test="string(.) = 'AMO-WS'">Amount on water surface</xsl:when>
      <xsl:when test="string(.) = 'BATH'">Bathymetric depth</xsl:when>
      <xsl:when test="string(.) = 'BIOM'">Biomass</xsl:when>
      <xsl:when test="string(.) = 'BIOM-SSB'">Biomass of Spawning Stock (SSB)</xsl:when>
      <xsl:when test="string(.) = 'BREED'">Breeding success</xsl:when>
      <xsl:when test="string(.) = 'BROOD'">Brood size</xsl:when>
      <xsl:when test="string(.) = 'CELL-C'">Cell counts</xsl:when>
      <xsl:when test="string(.) = 'CO2'">pco2 - alkalinity</xsl:when>
      <xsl:when test="string(.) = 'CONC-B'">Concentration in biota (total)</xsl:when>
      <xsl:when test="string(.) = 'CONC-B-FA'">Concentration in biota – fat</xsl:when>
      <xsl:when test="string(.) = 'CONC-B-LI'">Concentration in biota – liver</xsl:when>
      <xsl:when test="string(.) = 'CONC-B-MU'">Concentration in biota – muscle</xsl:when>
      <xsl:when test="string(.) = 'CONC-B-OT'">Concentration in biota – other</xsl:when>
      <xsl:when test="string(.) = 'CONC-S'">Concentration in sediment (total)</xsl:when>
      <xsl:when test="string(.) = 'CONC-S-20'">Concentration in sediment (fraction below 20 µm)</xsl:when>
      <xsl:when test="string(.) = 'CONC-S-2000'">Concentration in sediment (fraction below 2000 µm)</xsl:when>
      <xsl:when test="string(.) = 'CONC-S-63'">Concentration in sediment (fraction below 63 µm)</xsl:when>
      <xsl:when test="string(.) = 'CONC-S-OT'">Concentration in sediment – other</xsl:when>
      <xsl:when test="string(.) = 'CONC-SM'">Concentration in suspended matter</xsl:when>
      <xsl:when test="string(.) = 'CONC-W'">Concentration in water</xsl:when>
      <xsl:when test="string(.) = 'COV'">Coverage (e.g. of a species within a habitat or area)</xsl:when>
      <xsl:when test="string(.) = 'DEP'">Deposition</xsl:when>
      <xsl:when test="string(.) = 'DIST-DEPTH'">Maximum depth</xsl:when>
      <xsl:when test="string(.) = 'DIST-P'">Distribution (pattern)</xsl:when>
      <xsl:when test="string(.) = 'DIST-R'">Distribution (range)</xsl:when>
      <xsl:when test="string(.) = 'DIST-S'">Distribution (spatial)</xsl:when>
      <xsl:when test="string(.) = 'DUR'">Duration</xsl:when>
      <xsl:when test="string(.) = 'EMI'">Emission</xsl:when>
      <xsl:when test="string(.) = 'EXT'">Extent</xsl:when>
      <xsl:when test="string(.) = 'FEC'">Fecundity (breeding rate)</xsl:when>
      <xsl:when test="string(.) = 'FRE'">Frequency</xsl:when>
      <xsl:when test="string(.) = 'FRESH'">Freshwater input rates from rivers</xsl:when>
      <xsl:when test="string(.) = 'HAB-STRUCT'">Physical structure of habitat (e.g. sediment characteristics, topographic structure)</xsl:when>
      <xsl:when test="string(.) = 'HYDRO'">Hydrological conditions of habitat</xsl:when>
      <xsl:when test="string(.) = 'INC'">Incidence</xsl:when>
      <xsl:when test="string(.) = 'INDEX'">Index value (parameters calculated as complex indices)</xsl:when>
      <xsl:when test="string(.) = 'LEN'">Length</xsl:when>
      <xsl:when test="string(.) = 'LEV-N'">Level of sound</xsl:when>
      <xsl:when test="string(.) = 'MASS'">Mass</xsl:when>
      <xsl:when test="string(.) = 'MOR'">Mortality (weight/volume; number of individuals)</xsl:when>
      <xsl:when test="string(.) = 'F'">Mortality rate</xsl:when>
      <xsl:when test="string(.) = 'OTH'">Other</xsl:when>
      <xsl:when test="string(.) = 'OXY'">Oxygen debt</xsl:when>
      <xsl:when test="string(.) = 'PH'">Ph </xsl:when>
      <xsl:when test="string(.) = 'PRE'">Presence</xsl:when>
      <xsl:when test="string(.) = 'PP'">Primary production</xsl:when>
      <xsl:when test="string(.) = 'PROD'">Productivity</xsl:when>
      <xsl:when test="string(.) = 'SAL'">Salinity</xsl:when>
      <xsl:when test="string(.) = 'SEX-D'">Sex distribution</xsl:when>
      <xsl:when test="string(.) = 'SHELL'">Shell thickness</xsl:when>
      <xsl:when test="string(.) = 'SIZE-D'">Size distribution</xsl:when>
      <xsl:when test="string(.) = 'SPL'">Underwater sound level</xsl:when>
      <xsl:when test="string(.) = 'SPP-C'">Species composition</xsl:when>
      <xsl:when test="string(.) = 'SUR'">Survival rate</xsl:when>
      <xsl:when test="string(.) = 'TEM'">Temperature</xsl:when>
      <xsl:when test="string(.) = 'THICK-BLU'">Blubber thickness</xsl:when>
      <xsl:when test="string(.) = 'TID'">Tidal range/level</xsl:when>
      <xsl:when test="string(.) = 'TRA'">Transparency of water</xsl:when>
      <xsl:when test="string(.) = 'TURB'">Transparency / turbidity of water column</xsl:when>
      <xsl:when test="string(.) = 'VEL'">Current velocity</xsl:when>
      <xsl:when test="string(.) = 'WAV'">Wave action</xsl:when>
    </xsl:choose>
  </xsl:template>
</xsl:stylesheet>