View stylesheet

XML schema http://dd.eionet.europa.eu/schemas/habitatsdirective/checklist.xsd/utils
Output type HTML
Description Article 17 validate fields labels
XSL file art17_validate_fields-2018.xsl (Last modified: 14 Feb 2019 12:30 )
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
   <xsl:template name="getLabel">
      <xsl:param name="table_name"/>
      <xsl:param name="xml_tag"/>
      <xsl:choose>
         <xsl:when test="$table_name = 'data_pressures_threats_info' and $xml_tag = 'pressures_source'">
            <span class="label">8.2 Sources of information</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_pressures_threats_info' and $xml_tag = 'pressures_info'">
            <span class="label">8.3 Additional information</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species' and $xml_tag = 'additional_distribution_map'">
            <span class="label">2.5 Additional maps</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species' and $xml_tag = 'alternative_speciesname'">
            <span class="label">1.4 Alternative species scientific name</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species' and $xml_tag = 'common_speciesname'">
            <span class="label">1.5 Common name (in national language)</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species' and $xml_tag = 'country'">
            <span class="label">1.1 Member State</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species' and $xml_tag = 'region'">
            <span class="label">4. Regions</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species' and $xml_tag = 'distribution_date'">
            <span class="label">2.2 Year or period</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species' and $xml_tag = 'distribution_map'">
            <span class="label">2.3 Distribution map</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species' and $xml_tag = 'distribution_method'">
            <span class="label">2.4. Distribution map Method used</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species' and $xml_tag = 'speciescode'">
            <span class="label">1.2 Species code</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'complementary_favourable_population'">
            <span class="label">6.15a1 Favourable reference population - Population size</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'complementary_favourable_population_method'">
            <span class="label">6.15d Favourable reference population - Method</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'complementary_favourable_population_op'">
            <span class="label">6.15b Favourable reference population - Operator</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'complementary_favourable_population_unknown'">
            <span class="label">6.15c Favourable reference population - Unknown</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'complementary_favourable_range'">
            <span class="label">5.10a Favourable reference range - Area (km²)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'complementary_favourable_range_method'">
            <span class="label">5.10d Favourable reference range - Method</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'complementary_favourable_range_op'">
            <span class="label">5.10b Favourable reference range - Operator</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'complementary_favourable_range_unknown'">
            <span class="label">5.10c Favourable reference range - Unknown</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'conclusion_assessment'">
            <span class="label">11.5 Overall assessment of Conservation Status</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'conclusion_assessment_trend'">
            <span class="label">11.6 Overall trend in Conservation Status</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'conclusion_future'">
            <span class="label">11.4 Future prospects</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'knowledge'">
            <span class="label">c) improved knowledge/more accurate data</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'method'">
            <span class="label">d) use of different method</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'no_info'">
            <span class="label">e) no information on the nature of change</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'main_reason'">
            <span class="label">The change is mainly due to</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'data_pressures_threats_info'">
            <span class="label">8. Main pressures and threats info</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'data_pressures_threats_info'">
            <span class="label">7. Main pressures and threats info</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'trend_reasons_for_change'">
            <span class="label">11.7b Overall trend in conservation status</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'conclusion_info'">
            <span class="label">11.8 Additional information</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'natura2000_population'">
            <span class="label">12.1d Population size inside the pSCIs, SCIs and SACs network (on the biogeographical/marine level including all sites where the species is present) - Best single value</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'conclusion_info'">
            <span class="label">10.8 Additional information</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'natura2000_area'">
            <span class="label">11.1c Surface area of the habitat type inside the pSCIs, SCIs and SACs network (in km² in biogeographical/ marine region)  - Best single value</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'natura2000_area_estimate_type'">
            <span class="label">11.2 Type of estimate</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'natura2000_area_trend_method'">
            <span class="label">11.5 Short-term trend of habitat area in good condition within network Method used</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'natura2000_info'">
            <span class="label">11.6 Additional information</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species' and $xml_tag = 'annexV_species'">
            <span class="label">3. Information related to Annex V Species (Art. 14)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_annexV' and $xml_tag = 'wild_takings'">
            <span class="label">3.1 Is the species taken in the wild/exploited?</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_annexV' and $xml_tag = 'measures_access'">
            <span class="label">3.2a regulations regarding access to property</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_annexV' and $xml_tag = 'measures_prohibitions'">
            <span class="label">3.2b temporary or local prohibition of the taking of specimens in the wild and exploitation</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_annexV' and $xml_tag = 'measures_periods'">
            <span class="label">3.2c regulation of the periods and/or methods of taking specimens</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_annexV' and $xml_tag = 'measures_rules'">
            <span class="label">3.2d application of hunting and fishing rules which take account of the conservation of such populations</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_annexV' and $xml_tag = 'measures_licences'">
            <span class="label">3.2e establishment of a system of licences for taking specimens or of quotas</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_annexV' and $xml_tag = 'measures_trading_legislation'">
            <span class="label">3.2f regulation of the purchase, sale, offering for sale, keeping for sale or transport for sale of specimens</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_annexV' and $xml_tag = 'measures_conservation_propagation'">
            <span class="label">3.2g breeding in captivity of animal species as well as artificial propagation of plant species</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_annexV' and $xml_tag = 'measures_other'">
            <span class="label">3.2h1 other measures</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_annexV' and $xml_tag = 'measures_other_info'">
            <span class="label">3.2h2 other measures</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_annexV' and $xml_tag = 'huntingbag_unit'">
            <span class="label">3.3a Unit</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_annexV' and $xml_tag = 'huntingbag_y1_min'">
            <span class="label">3.3b Min. (raw, ie. not rounded) - Season/year 1</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_annexV' and $xml_tag = 'huntingbag_y1_max'">
            <span class="label">3.3b Max. (raw, ie. not rounded) - Season/year 1</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_annexV' and $xml_tag = 'huntingbag_y1_unknown'">
            <span class="label">3.3b Unknown - Season/year 1</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_annexV' and $xml_tag = 'huntingbag_y2_min'">
            <span class="label">3.3b Min. (raw, ie. not rounded) - Season/year 2</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'complementary_favourable_area_op'">
            <span class="label">5.13b Favourable reference area - Operator</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'complementary_favourable_area_unknown'">
            <span class="label">5.13c Favourable reference area - Unknown</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'complementary_favourable_range'">
            <span class="label">4.10a Favourable reference range - Area (km²)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'complementary_favourable_range_method'">
            <span class="label">4.10d Favourable reference range - Method</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'complementary_favourable_range_op'">
            <span class="label">4.10b Favourable reference range - Operator</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'complementary_favourable_range_unknown'">
            <span class="label">4.10c Favourable reference range - Unknown</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'conclusion_area'">
            <span class="label">10.2. Area</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'conclusion_assessment'">
            <span class="label">10.5. Overall assessment of Conservation Status</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'conclusion_assessment_trend'">
            <span class="label">10.6 Overall trend in Conservation Status</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'conclusion_future'">
            <span class="label">10.4. Future prospects</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'conclusion_range'">
            <span class="label">10.1. Range</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'conclusion_structure'">
            <span class="label">10.3. Specific structure and functions (incl. typical species)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'coverage_date'">
            <span class="label">5.1 Year or period</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'natura2000_area_min'">
            <span class="label">11.1a Surface area of the habitat type inside the pSCIs, SCIs and SACs network (in km² in biogeographical/ marine region)  - Minimum</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'natura2000_area_trend'">
            <span class="label">11.4 Short-term trend of habitat area in good condition within the network Direction</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'other_relevant_info'">
            <span class="label">12.2 Other relevant information</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'published'">
            <span class="label">3.2 Sources of information</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'range_surface_area'">
            <span class="label">4.1 Surface area</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'range_trend'">
            <span class="label">4.3 Short-term trend Direction</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'range_trend_long'">
            <span class="label">4.7 Long-term trend Direction</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'range_trend_long_magnitude_max'">
            <span class="label">4.8b Long-term trend Magnitude - Maximum</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species' and $xml_tag = 'speciesname'">
            <span class="label">1.3 Species scientific name</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_greport' and $xml_tag = 'measures_impact'">
            <span class="label">2.5 Impact of measures referred to in the Art. 6.1 on the conservation status of Annex I habitats and Annex II species (Art. 17.1)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_greport' and $xml_tag = 'measures_applied_number'">
            <span class="label">4.1a Necessary conservation measures have been established according to Art.6(1) and are applied - Number of SACs</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_greport' and $xml_tag = 'measures_setout_number'">
            <span class="label">4.2a Conservation measures have been set out in a comprehensive management plan or a similar instrument - Number of SACs</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_greport' and $xml_tag = 'measures_setout_perc'">
            <span class="label">4.2b Conservation measures have been set out in a comprehensive management plan or a similar instrument - Proportion (% area) of the SAC network</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_gmeasures' and $xml_tag = 'commission_informed_year'">
            <span class="label">5.4 Year Commission was informed of compensatory measures</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_greintroduction_of_species' and $xml_tag = 'reintro_alternative_speciesname'">
            <span class="label">7.3 Alternative species scientific name</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_greintroduction_of_species' and $xml_tag = 'reintro_common_speciesname'">
            <span class="label">7.4 Common name</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species' and $xml_tag = 'sensitive_species'">
            <span class="label">2.1 Sensitive species</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_pressures_threats' and $xml_tag = 'code'">
            <span class="label">7.1a Threat</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_pressures_threats' and $xml_tag = 'code'">
            <span class="label">7.1a Pressure</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_pressures_threats' and $xml_tag = 'ranking'">
            <span class="label">7.1b Ranking</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_pressures_threats' and $xml_tag = 'ranking'">
            <span class="label">7.1b Ranking</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = ''">
            <span class="label"/>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_annexV' and $xml_tag = 'huntingbag_y2_max'">
            <span class="label">3.3b Max. (raw, ie. not rounded) - Season/year 2</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_annexV' and $xml_tag = 'huntingbag_y2_unknown'">
            <span class="label">3.3b Unknown - Season/year 2</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_annexV' and $xml_tag = 'huntingbag_y3_min'">
            <span class="label">3.3b Min. (raw, ie. not rounded) - Season/year 3</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_annexV' and $xml_tag = 'huntingbag_y3_max'">
            <span class="label">3.3b Max. (raw, ie. not rounded) - Season/year 3</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_annexV' and $xml_tag = 'huntingbag_y3_unknown'">
            <span class="label">3.3b Unknown - Season/year 3</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_annexV' and $xml_tag = 'huntingbag_y4_min'">
            <span class="label">3.3b Min. (raw, ie. not rounded) - Season/year 4</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_annexV' and $xml_tag = 'huntingbag_y4_max'">
            <span class="label">3.3b Max. (raw, ie. not rounded) - Season/year 4</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_annexV' and $xml_tag = 'huntingbag_y4_unknown'">
            <span class="label">3.3b Unknown - Season/year 4</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_annexV' and $xml_tag = 'huntingbag_y5_min'">
            <span class="label">3.3b Min. (raw, ie. not rounded) - Season/year 5</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_annexV' and $xml_tag = 'huntingbag_y5_max'">
            <span class="label">3.3b Max. (raw, ie. not rounded) - Season/year 5</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_annexV' and $xml_tag = 'huntingbag_y5_unknown'">
            <span class="label">3.3b Unknown - Season/year 5</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_annexV' and $xml_tag = 'huntingbag_y6_min'">
            <span class="label">3.3b Min. (raw, ie. not rounded) - Season/year 6</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_annexV' and $xml_tag = 'huntingbag_y6_max'">
            <span class="label">3.3b Max. (raw, ie. not rounded) - Season/year 6</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_annexV' and $xml_tag = 'huntingbag_y6_unknown'">
            <span class="label">3.3b Unknown - Season/year 6</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_annexV' and $xml_tag = 'huntingbag_method'">
            <span class="label">3.4. Hunting bag or quantity taken in the wild Method used</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_annexV' and $xml_tag = 'annexV_info'">
            <span class="label">3.5. Additional information</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'range_trend_method'">
            <span class="label">5.5 Short-term trend Method used</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'range_trend_long_method'">
            <span class="label">5.9 Long-term trend Method used</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'range_info'">
            <span class="label">5.12 Additional information</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'population_size'">
            <span class="label">6.2d Population size -  Best single value</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'population_estimate_type'">
            <span class="label">6.3 Type of estimate</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'population_alt_size'">
            <span class="label">6.4d Additional population size - Best single value</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'population_alt_estimate_type'">
            <span class="label">6.5 Type of estimate</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'population_info'">
            <span class="label">6.17 Additional information</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'habitat_sufficiency_occupied'">
            <span class="label">7.1a Sufficiency of area and quality of occupied habitat - Are area and quality of occupied habitat sufficient (for long-term survival)?</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'habitat_sufficiency_unoccupied'">
            <span class="label">7.1b Sufficiency of area and quality of occupied habitat - Is there a sufficiently large area of unoccupied habitat of suitable quality (for long-term survival)?</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'habitat_sufficiency_method'">
            <span class="label">7.2 Sufficiency of area and quality of occupied habitat Method used</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'habitat_trend_method'">
            <span class="label">7.5 Short-term trend Method used</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'habitat_trend_long_method'">
            <span class="label">7.8 Long-term trend Method used</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'habitat_info'">
            <span class="label">7.9 Additional information</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_measures' and $xml_tag = 'code'">
            <span class="label">9.5 Measure</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'future_population'">
            <span class="label">10.1b Future prospects of parameters - Population</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'future_habitat'">
            <span class="label">10.1c Future prospects of parameters - Habitat of the species</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'future_info'">
            <span class="label">10.2 Additional information</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'status_reasons_for_change'">
            <span class="label">11.7a Overall assessment of conservation status</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'range_trend_long_magnitude_min'">
            <span class="label">4.8a Long-term trend Magnitude - Minimum</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'range_trend_long_period'">
            <span class="label">4.6 Long-term trend Period</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'range_trend_magnitude_max'">
            <span class="label">4.4b Short-term trend Magnitude - Maximum</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'range_trend_magnitude_min'">
            <span class="label">4.4a Short-term trend Magnitude - Minimum</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'range_trend_period'">
            <span class="label">4.2 Short-term trend Period</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'code'">
            <span class="label">3.1 Biogeographical or marine region where the habitat occurs</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'typical_species_method'">
            <span class="label">6.7 Typical species Method used</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_measures_info' and $xml_tag = 'measures_needed'">
            <span class="label">9.1a Status of measures - Are measures needed?</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_measures_info' and $xml_tag = 'measures_purpose'">
            <span class="label">9.2 Main purpose of the measures taken</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_measures_info' and $xml_tag = 'measures_location'">
            <span class="label">9.3 Location of the measures taken</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'natura2000_population_estimate_type'">
            <span class="label">12.2 Type of estimate</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'natura2000_population_trend_method'">
            <span class="label">12.5 Short-term trend of population size within the network Method used</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'natura2000_info'">
            <span class="label">12.6 Additional information</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'range_trend_method'">
            <span class="label">4.5 Short-term trend Method used</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'range_trend_long_method'">
            <span class="label">4.9 Long-term trend Method used</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'range_info'">
            <span class="label">4.12 Additional information</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'coverage_surface_area_min'">
            <span class="label">5.2a Surface area (in km²) - Minimum</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'coverage_surface_area_max'">
            <span class="label">5.2b Surface area (in km²) - Maximum</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'coverage_surface_area'">
            <span class="label">5.2c Surface area (in km²) - Best single value</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'coverage_estimate_type'">
            <span class="label">5.3 Type of estimate</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'coverage_info'">
            <span class="label">5.15 Additional information</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'hab_condition_good_max'">
            <span class="label">6.1a2 Condition of habitat - Area in good condition (km²) - Maximum</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'hab_condition_notgood_max'">
            <span class="label">6.1b2 Condition of habitat - Area in not-good condition (km²) - Maximum</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'hab_condition_unknown_max'">
            <span class="label">6.1c2 Condition of habitat - Area where condition is not known (km²) - Maximum</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'hab_condition_method'">
            <span class="label">6.2 Condition of habitat Method used</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'hab_condition_period'">
            <span class="label">6.3 Short-term trend of habitat area in good condition Period</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'hab_condition_trend'">
            <span class="label">6.4 Short-term trend of habitat area in good condition Direction</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'hab_condition_trend_method'">
            <span class="label">6.5 Short-term trend of habitat area in good condition Method used</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'typical_species_change'">
            <span class="label">6.6 Typical species -  Has the list of typical species changed in comparison to the previous reporting period?</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'hab_condition_info'">
            <span class="label">6.8 Additional information</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'future_area'">
            <span class="label">9.1b Future prospects of parameters - Area</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'future_structure'">
            <span class="label">9.1c Future prospects of parameters - Structure and functions</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'future_info'">
            <span class="label">9.2 Additional information</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'population_trend_long_magnitude_min'">
            <span class="label">6.13a Long-term trend Magnitude - Minimum</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'population_trend_long_method'">
            <span class="label">6.14 Long-term trend Method used</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'transboundary_assessment'">
            <span class="label">13.2 Trans-boundary assessment</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'population_trend_long_period'">
            <span class="label">6.11 Long-term trend Period</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'population_trend_magnitude_ci'">
            <span class="label">6.9c Short-term trend Magnitude - Confidence interval</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'population_trend_magnitude_max'">
            <span class="label">6.9b Short-term trend Magnitude - Maximum</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'population_trend_magnitude_min'">
            <span class="label">6.9a Short-term trend Magnitude - Minimum</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'population_trend_method'">
            <span class="label">6.10 Short-term trend Method used</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'population_trend_period'">
            <span class="label">6.7 Short-term trend Period</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'published'">
            <span class="label">4.2 Sources of information</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'range_surface_area'">
            <span class="label">5.1 Surface area</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'range_trend'">
            <span class="label">5.3 Short-term trend Direction</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'range_trend_long'">
            <span class="label">5.7 Long-term trend Direction</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'range_trend_long_magnitude_max'">
            <span class="label">5.8b Long-term trend Magnitude - Maximum</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'range_trend_long_magnitude_min'">
            <span class="label">5.8a Long-term trend Magnitude - Minimum</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'range_trend_long_period'">
            <span class="label">5.6 Long-term trend Period</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'range_trend_magnitude_max'">
            <span class="label">5.4b Short-term trend Magnitude - Maximum</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'range_trend_magnitude_min'">
            <span class="label">5.4a Short-term trend Magnitude - Minimum</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'range_trend_period'">
            <span class="label">5.2 Short-term trend Period</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'code'">
            <span class="label">4.1 Biogeographical or marine region where the species occurs</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_gmeasures' and $xml_tag = 'commission_opinion'">
            <span class="label">5.6 Commission opinion requested?</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_gmeasures' and $xml_tag = 'project_impact'">
            <span class="label">5.7 Impact of projects requiring compensatory measures on conservation status</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_gmeasures' and $xml_tag = 'project_title'">
            <span class="label">5.3 Title of project/plan</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_gmeasures' and $xml_tag = 'project_year'">
            <span class="label">5.5 Year project/plan was started</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_gmeasures' and $xml_tag = 'sitecode'">
            <span class="label">5.1 Site code</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_gmeasures' and $xml_tag = 'sitename'">
            <span class="label">5.2 Site name</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_greintroduction_of_species' and $xml_tag = 'additional_info'">
            <span class="label">7.8 Additional information on the reintroduction</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_greintroduction_of_species' and $xml_tag = 'location_number'">
            <span class="label">7.6 Reintroduction location and number of individuals reintroduced</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_greintroduction_of_species' and $xml_tag = 'reintroduction_period'">
            <span class="label">7.5 Reintroduction period</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_greintroduction_of_species' and $xml_tag = 'speciescode'">
            <span class="label">7.1 Species code</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_greintroduction_of_species' and $xml_tag = 'speciesname'">
            <span class="label">7.2 Species scientific name</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_greintroduction_of_species' and $xml_tag = 'successful'">
            <span class="label">7.7 Is the reintroduction successful?</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_greport' and $xml_tag = 'achievements'">
            <span class="label">1.1 Text in national language</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_greport' and $xml_tag = 'achievements_trans'">
            <span class="label">1.2 Translation into English</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_greport' and $xml_tag = 'coherence_measures'">
            <span class="label">6. Measures taken to ensure coherence of the Natura 2000 Network (Art. 10)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_greport' and $xml_tag = 'country'">
            <span class="label">0. Member State</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_greport' and $xml_tag = 'measures_applied_perc'">
            <span class="label">4.1b Necessary conservation measures have been established according to Art.6(1) and are applied - Proportion (% area) of the SACs network</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_greport' and $xml_tag = 'measure'">
            <span class="label">5. Measures taken in relation to approval of plans &amp; projects (Art. 6.4)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_greport' and $xml_tag = 'species'">
            <span class="label">7. Reintroduction of Annex IV species (Art. 22.a)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_greport' and $xml_tag = 'database_date'">
            <span class="label">3.4 Date of database used</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_greport' and $xml_tag = 'general_info'">
            <span class="label">2.1 General information on the Habitats Directive</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_greport' and $xml_tag = 'info_on_network'">
            <span class="label">2.2 Information on the network of pSCIs, SCIs and SACs</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_greport' and $xml_tag = 'monitoring_schemes'">
            <span class="label">2.3 Monitoring schemes (Art 11)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_greport' and $xml_tag = 'protection_of_species'">
            <span class="label">2.4 Protection of species (Art 12-16)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_greport' and $xml_tag = 'sac_marine_area'">
            <span class="label">3.3d Marine sites - Surface area of SACs</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_greport' and $xml_tag = 'sac_marine_number'">
            <span class="label">3.3c Marine sites - Number of SACs</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'conclusion_habitat'">
            <span class="label">11.3 Habitat for the species</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'conclusion_population'">
            <span class="label">11.2 Population</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'conclusion_range'">
            <span class="label">11.1 Range</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'conservation_measures'">
            <span class="label">9. Conservation measures</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'pressure'">
            <span class="label">8.1 Characterisation of pressures</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'threat'">
            <span class="label">8.1 Characterisation of threats</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'habitat_trend'">
            <span class="label">7.4 Short-term trend Direction</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'habitat_trend_long'">
            <span class="label">7.7 Long-term trend Direction</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'habitat_trend_long_period'">
            <span class="label">7.6 Long-term trend Period</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'habitat_trend_period'">
            <span class="label">7.3 Short-term trend Period</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'justification'">
            <span class="label">13.1 Justification of % thresholds for trends</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'natura2000_population_max'">
            <span class="label">12.1c Population size inside the pSCIs, SCIs and SACs network (on the biogeographical/marine level including all sites where the species is present) - Maximum</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'natura2000_population_method'">
            <span class="label">12.3 Population size inside the network Method used</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'natura2000_population_min'">
            <span class="label">12.1b Population size inside the pSCIs, SCIs and SACs network (on the biogeographical/marine level including all sites where the species is present) - Minimum</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'natura2000_population_trend'">
            <span class="label">12.4 Short-term trend of population size within the network Direction</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'natura2000_population_unit'">
            <span class="label">12.1a Population size inside the pSCIs, SCIs and SACs network (on the biogeographical/marine level including all sites where the species is present) - Unit</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'other_relevant_info'">
            <span class="label">13.3 Other relevant Information</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'population_alt_size_max'">
            <span class="label">6.4c Additional population size - Maximum</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'population_alt_size_min'">
            <span class="label">6.4b Additional population size - Minimum</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'population_alt_size_unit'">
            <span class="label">6.4a Additional population size - Unit</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'population_date'">
            <span class="label">6.1 Year or period</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'population_size_max'">
            <span class="label">6.2c Population size - Maximum</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'population_method'">
            <span class="label">6.6 Population size Method used</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'population_size_min'">
            <span class="label">6.2b Population size - Minimum</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'population_size_unit'">
            <span class="label">6.2a Population size - Unit</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'population_trend'">
            <span class="label">6.8 Short-term trend Direction</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'population_trend_long'">
            <span class="label">6.12 Long-term trend Direction</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'population_trend_long_magnitude_ci'">
            <span class="label">6.13c Long-term trend Magnitude - Confidence Interval</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'population_trend_long_magnitude_max'">
            <span class="label">6.13b Long-term trend Magnitude - Maximum</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'complementary_favourable_population_unit'">
            <span class="label">6.15a2 Favourable reference population - Population size unit</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'hab_condition_good_min'">
            <span class="label">6.1a1 Condition of habitat - Area in good condition (km²) - Minimum</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'hab_condition_notgood_min'">
            <span class="label">6.1b1 Condition of habitat - Area in not-good condition (km²) - Minimum</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'hab_condition_unknown_min'">
            <span class="label">6.1c1 Condition of habitat - Area where condition is not known (km²) - Minimum</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'future_range'">
            <span class="label">10.1a Future prospects of parameters - Range</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'future_range'">
            <span class="label">9.1a Future prospects of parameters - Range</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'no_change'">
            <span class="label">a) there is no change</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'no_change'">
            <span class="label">a) there is no change</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'no_change'">
            <span class="label">a) there is no change</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'no_change'">
            <span class="label">a) there is no change</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'genuine'">
            <span class="label">b) genuine change</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'genuine'">
            <span class="label">b) genuine change</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'genuine'">
            <span class="label">b) genuine change</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'genuine'">
            <span class="label">b) genuine change</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'knowledge'">
            <span class="label">c) improved knowledge/more accurate data</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'knowledge'">
            <span class="label">c) improved knowledge/more accurate data</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'knowledge'">
            <span class="label">c) improved knowledge/more accurate data</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'knowledge'">
            <span class="label">c) improved knowledge/more accurate data</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'method'">
            <span class="label">d) use of different method</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'method'">
            <span class="label">d) use of different method</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'method'">
            <span class="label">d) use of different method</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'method'">
            <span class="label">d) use of different method</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'no_info'">
            <span class="label">e) no information on the nature of change</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'no_info'">
            <span class="label">e) no information on the nature of change</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'no_info'">
            <span class="label">e) no information on the nature of change</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'no_info'">
            <span class="label">e) no information on the nature of change</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'main_reason'">
            <span class="label">The change is mainly due to</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'main_reason'">
            <span class="label">The change is mainly due to</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'main_reason'">
            <span class="label">The change is mainly due to</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'main_reason'">
            <span class="label">The change is mainly due to</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_measures_info' and $xml_tag = 'measures_needed'">
            <span class="label">8.1a Status of measures - Are measures needed?</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_measures_info' and $xml_tag = 'measures_status'">
            <span class="label">8.1b Status of measures - Indicate the status of measures</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_measures_info' and $xml_tag = 'measures_purpose'">
            <span class="label">8.2 Main purpose of the measures taken</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_measures_info' and $xml_tag = 'measures_location'">
            <span class="label">8.3 Location of the measures taken</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_measures_info' and $xml_tag = 'measures_response'">
            <span class="label">8.4 Response to the measures</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_measures_info' and $xml_tag = 'measures_info'">
            <span class="label">8.6 Additional information</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_measures' and $xml_tag = 'code'">
            <span class="label">8.5 Measure</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_measures_info' and $xml_tag = 'measure'">
            <span class="label">8.5 List of main conservation measures</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_measures_info' and $xml_tag = 'measure'">
            <span class="label">9.5 List of main conservation measures</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_pressures_threats_info' and $xml_tag = 'pressures_source'">
            <span class="label">7.2 Sources of information</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_pressures_threats_info' and $xml_tag = 'pressures_info'">
            <span class="label">7.3 Additional information</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'no_change'">
            <span class="label">a) there is no change</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'genuine'">
            <span class="label">b) genuine change</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'knowledge'">
            <span class="label">c) improved knowledge/more accurate data</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'method'">
            <span class="label">d) use of different method</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'no_info'">
            <span class="label">e) no information on the nature of change</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'main_reason'">
            <span class="label">The change is mainly due to</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'no_change'">
            <span class="label">a) there is no change</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'range_reasons_for_change'">
            <span class="label">4.11 Change and reason for change in surface area of range</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'area_reasons_for_change'">
            <span class="label">5.14 Change and reason for change in surface area</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'status_reasons_for_change'">
            <span class="label">10.7a Overall assessment of conservation status</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'trend_reasons_for_change'">
            <span class="label">10.7b Overall trend in conservation status</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'no_change'">
            <span class="label">a) there is no change</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'genuine'">
            <span class="label">b) genuine change</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'genuine'">
            <span class="label">b) genuine change</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'knowledge'">
            <span class="label">c) improved knowledge/more accurate data</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'knowledge'">
            <span class="label">c) improved knowledge/more accurate data</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'method'">
            <span class="label">d) use of different method</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'method'">
            <span class="label">d) use of different method</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'no_info'">
            <span class="label">e) no information on the nature of change</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'no_info'">
            <span class="label">e) no information on the nature of change</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'main_reason'">
            <span class="label">The change is mainly due to</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'main_reason'">
            <span class="label">The change is mainly due to</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'range_reasons_for_change'">
            <span class="label">5.11 Change and reason for change in surface area of range</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_species_regions' and $xml_tag = 'population_reasons_for_change'">
            <span class="label">6.16 Change and reason for change in population size</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'no_change'">
            <span class="label">a) there is no change</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'genuine'">
            <span class="label">b) genuine change</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'coverage_method'">
            <span class="label">5.4 Surface area Method used</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'coverage_trend'">
            <span class="label">5.6 Short-term trend Direction</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'coverage_trend_long'">
            <span class="label">5.10 Long-term trend Direction</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'coverage_trend_long_magnitude_ci'">
            <span class="label">5.11c Long-term trend Magnitude - Confidence interval</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'coverage_trend_long_magnitude_max'">
            <span class="label">5.11b Long-term trend Magnitude - Maximum</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'coverage_trend_long_magnitude_min'">
            <span class="label">5.11a Long-term trend Magnitude - Minimum</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'coverage_trend_long_method'">
            <span class="label">5.12 Long-term trend Method used</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'coverage_trend_long_period'">
            <span class="label">5.9 Long-term trend Period</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'coverage_trend_magnitude_ci'">
            <span class="label">5.7c Short-term trend Magnitude-  Confidence interval</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'coverage_trend_magnitude_max'">
            <span class="label">5.7b Short-term trend Magnitude - Maximum</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'coverage_trend_magnitude_min'">
            <span class="label">5.7a Short-term trend Magnitude - Minimum</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'coverage_trend_method'">
            <span class="label">5.8 Short-term trend Method used</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'coverage_trend_period'">
            <span class="label">5.5 Short-term trend Period</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'conservation_measures'">
            <span class="label">8. Conservation measures</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'pressure'">
            <span class="label">7.1 Characterisation of pressures</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'threat'">
            <span class="label">7.1 Characterisation of threats</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'justification'">
            <span class="label">12.1 Justification of % thresholds for trends</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'natura2000_area_max'">
            <span class="label">11.1b Surface area of the habitat type inside the pSCIs, SCIs and SACs network (in km² in biogeographical/ marine region)  - Maximum</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'natura2000_area_method'">
            <span class="label">11.3 Surface area of the habitat type inside the network Method used</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_greport' and $xml_tag = 'sac_terrestrial_area'">
            <span class="label">3.2d Terrestrial area of sites (excluding marine area) - Surface area of SACs</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_greport' and $xml_tag = 'sac_total_area'">
            <span class="label">3.1d All sites - Surface area of SACs</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_greport' and $xml_tag = 'sac_total_number'">
            <span class="label">3.1c All sites - Number of SACs</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_greport' and $xml_tag = 'sites_marine_area'">
            <span class="label">3.3b Marine sites - Surface area of pSCIs, SCIs, SACs</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_greport' and $xml_tag = 'sites_marine_number'">
            <span class="label">3.3a Marine sites - Number of pSCIs, SCIs, SACs</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_greport' and $xml_tag = 'sites_terrestrial_area'">
            <span class="label">3.2b Terrestrial area of sites (excluding marine area) - Surface area of pSCIs, SCIs, SACs</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_greport' and $xml_tag = 'sites_total_area'">
            <span class="label">3.1b All sites - Surface area of pSCIs, SCIs, SACs</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_greport' and $xml_tag = 'sites_total_number'">
            <span class="label">3.1a All sites - Number of pSCIs, SCIs, SACs</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_greport' and $xml_tag = 'transpose_directive'">
            <span class="label">2.6 Transposition of the Directive (legal texts)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitats' and $xml_tag = 'additional_distribution_map'">
            <span class="label">2.4. Additional maps</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitats' and $xml_tag = 'country'">
            <span class="label">1.1 Member State</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitats' and $xml_tag = 'region'">
            <span class="label">2. Biogeographical level</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitats' and $xml_tag = 'distribution_date'">
            <span class="label">2.1 Year or period</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitats' and $xml_tag = 'distribution_map'">
            <span class="label">2.2 Distribution map</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitats' and $xml_tag = 'distribution_method'">
            <span class="label">2.3 Distribution map Method used</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitats' and $xml_tag = 'habitatcode'">
            <span class="label">1.2 Habitat code</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'complementary_favourable_area'">
            <span class="label">5.13a Favourable reference area - Area (km²)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_habitattype_regions' and $xml_tag = 'complementary_favourable_area_method'">
            <span class="label">5.13d Favourable reference area - Method</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_measures_info' and $xml_tag = 'measures_status'">
            <span class="label">9.1b Status of measures - Indicate the status of measures</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_measures_info' and $xml_tag = 'measures_info'">
            <span class="label">9.6 Additional information</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_measures_info' and $xml_tag = 'measures_response'">
            <span class="label">9.4 Response to the measures</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_pressures_threats' and $xml_tag = 'code'">
            <span class="label">8.1a Pressure</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_pressures_threats' and $xml_tag = 'code'">
            <span class="label">8.1a Threat</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_pressures_threats' and $xml_tag = 'ranking'">
            <span class="label">8.1b Ranking</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_pressures_threats' and $xml_tag = 'ranking'">
            <span class="label">8.1b Ranking</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_pressures_threats' and $xml_tag = ''">
            <span class="label"/>
         </xsl:when>
      </xsl:choose>
   </xsl:template>
   <xsl:template name="getLookupName">
      <xsl:param name="table_name"/>
      <xsl:param name="xml_tag"/>
      <xsl:choose>
          <xsl:when test="$table_name = 'data_habitats' and $xml_tag = 'habitatcode'">lu_habitattype_codes</xsl:when>
      </xsl:choose>
   </xsl:template>
</xsl:stylesheet>