View stylesheet

XML schema http://dd.eionet.europa.eu/schemas/habitatsdirective/checklist.xsd/utils
Output type HTML
Description Article 12 validate fields labels
XSL file art12_validate_fields-2018.xsl (Last modified: 20 Mar 2019 11:26 )
<?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_birds' and $xml_tag = 'effectiveness_SAPs'">
            <span class="label">6.4 Assessment of the effectiveness of SAPs for globally threatened species (Art. 12, Species Action Plans)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'effectiveness_MPs'">
            <span class="label">6.5 Assessment of the effectiveness of MPs for huntable species in non-Secure status (Articles 3 and 7, Management Plans)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'population_trend_magnitude'">
            <span class="label">3.1.3c Short-term trend Magnitude - Best single value</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bgmeasures' and $xml_tag = 'impact'">
            <span class="label">5.6 Impact of projects requiring compensatory measures on relevant bird species</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bgmeasures' and $xml_tag = 'project_title'">
            <span class="label">5.3 Title of project/plan</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bgmeasures' and $xml_tag = 'project_year'">
            <span class="label">5.5 Year of project/plan</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bgmeasures' and $xml_tag = 'sitecode'">
            <span class="label">5.1 Site Code</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bgmeasures' and $xml_tag = 'sitename'">
            <span class="label">5.2 Site Name</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bgmonitoring' and $xml_tag = 'reference'">
            <span class="label">6.2.3 Monitoring (Web-link and/or bibliographic reference)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bgmonitoring' and $xml_tag = 'title'">
            <span class="label">6.2.1 Monitoring (Title or similar plus short description)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bgmonitoring' and $xml_tag = 'year'">
            <span class="label">6.2.2 Monitoring (Year of Publication)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bgnon_native_bird' and $xml_tag = 'consultation_date'">
            <span class="label">7.4 Consultation with the Comission</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bgnon_native_bird' and $xml_tag = 'introduction'">
            <span class="label">7.3 Main context of legal decision for introduction</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bgnon_native_bird' and $xml_tag = 'speciesname'">
            <span class="label">7.1 Species scientific name</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bgnon_native_bird' and $xml_tag = 'sub_unit'">
            <span class="label">7.2 Subspecific unit</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bgpublication' and $xml_tag = 'reference'">
            <span class="label">6.4.3 Other publications of EU-wide interest  (Web-link and/or bibliographic reference)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bgpublication' and $xml_tag = 'title'">
            <span class="label">6.4.1 Other publications of EU-wide interest (Title)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bgpublication' and $xml_tag = 'year'">
            <span class="label">6.4.2 Other publications of EU-wide interest (Year of Publication)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bgreport' and $xml_tag = 'achievements'">
            <span class="label">1.1 Text in national language</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bgreport' 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_bgreport' and $xml_tag = 'country'">
            <span class="label">0. Member State</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bgreport' and $xml_tag = 'measure'">
            <span class="label">5. Measures taken in relation to approval of plans and projects</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bgreport' and $xml_tag = 'publication'">
            <span class="label">6.2. National bird monitoring overview</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bgreport' and $xml_tag = 'species'">
            <span class="label">7. Non-native bird species</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bgreport' and $xml_tag = 'publication'">
            <span class="label">6.4. Other publications of EU-wide interest</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bgreport' and $xml_tag = 'database_date'">
            <span class="label">3.4 Date of database used</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bgreport' and $xml_tag = 'general_info'">
            <span class="label">2.1 General Information on the Birds Directive</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bgreport' and $xml_tag = 'info_on_network'">
            <span class="label">2.2 Information on the Natura 2000 (SPA) network</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bgreport' and $xml_tag = 'monitoring_schemes'">
            <span class="label">2.3 Monitoring schemes (Art. 4(1) and Art. 10)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bgreport' and $xml_tag = 'national_bird_atlas_reference'">
            <span class="label">6.1.3 National bird atlas (Web-link and/or bibliographic reference)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bgreport' and $xml_tag = 'national_bird_atlas_title'">
            <span class="label">6.1.1 National bird atlas (Title)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bgreport' and $xml_tag = 'national_bird_atlas_year'">
            <span class="label">6.1.2 National bird atlas (Year of publication)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bgreport' and $xml_tag = 'national_bird_redlist_reference'">
            <span class="label">6.3.3 National bird red list (Web-link and/or bibliographic reference)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bgreport' and $xml_tag = 'national_bird_redlist_title'">
            <span class="label">6.3.1 National bird red list (Title)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bgreport' and $xml_tag = 'national_bird_redlist_year'">
            <span class="label">6.3.2 National bird red list (Year of Publication)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bgreport' and $xml_tag = 'protection_of_species'">
            <span class="label">2.4 Protection of species (Art. 5-8)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bgreport' and $xml_tag = 'spa_marine_area'">
            <span class="label">3.3b Marine sites - Surface area of SPAs</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bgreport' and $xml_tag = 'spa_marine_number'">
            <span class="label">3.3a Marine sites - Number of SPAs</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bgreport' and $xml_tag = 'spa_terrestrial_area'">
            <span class="label">3.2 Terrestrial area of sites (excluding marine area) - Surface area of SPAs</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bgreport' and $xml_tag = 'spa_total_area'">
            <span class="label">3.1b All SPAs - Surface area of SPAs</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bgreport' and $xml_tag = 'spa_total_number'">
            <span class="label">3.1a All SPAs - Number of SPAs</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bgreport' and $xml_tag = 'transpose_directive'">
            <span class="label">2.5 Transposing of the Directive (legal texts)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'additional_distribution_map'">
            <span class="label">4.6 Additional maps</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'alternative_speciesname'">
            <span class="label">1.6 Alternative species scientific name</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'common_speciesname'">
            <span class="label">1.7 Common Name</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'country'">
            <span class="label">1.1 Member State</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bmeasures_info' and $xml_tag = 'measure'">
            <span class="label">8.2 Conservation measures</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'pressure'">
            <span class="label">7.1 Main pressures</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'distribution_map'">
            <span class="label">4.3 Breading distribution map</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'euringcode'">
            <span class="label">1.3 EURING code</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'further_info'">
            <span class="label">6.6 Sources of further information</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'measures_taken'">
            <span class="label">6.3  If 'NO', describe any measures and initiatives taken related to the international SAP/MP/BMS</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'national_plan_adopted'">
            <span class="label">6.2 Has a national plan linked to the international SAP/MP/BMS been adopted?</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'plan'">
            <span class="label">6.1 Type of international plan</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'population_info'">
            <span class="label">2.7 Additional information</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'population_date'">
            <span class="label">2.1 Year or Period</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'population_size_max'">
            <span class="label">2.2c Population size - Maximum</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'population_method'">
            <span class="label">2.4 Population size Method used</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'population_size_min'">
            <span class="label">2.2b Population size - Minimum</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'population_size_unit'">
            <span class="label">2.2a Population size - Unit</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'population_sources'">
            <span class="label">2.5 Population Sources</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'population_trend'">
            <span class="label">3.1.2 Short-term trend Direction</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'population_trend_info'">
            <span class="label">3.3. Additional information</span>
			<span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'population_trend_long'">
            <span class="label">3.2.2 Long-term trend Direction</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'population_trend_long_magnitude_max'">
            <span class="label">3.2.3b Long-term trend Magnitude - Maximum</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'population_trend_long_magnitude_min'">
            <span class="label">3.2.3a Long-term trend Magnitude - Minimum</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'population_trend_long_method'">
            <span class="label">3.2.4 Long-term trend Method used</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'population_trend_long_period'">
            <span class="label">3.2.1 Long-term trend Period</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'population_trend_long_sources'">
            <span class="label">3.2.5 Sources</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'population_trend_magnitude_max'">
            <span class="label">3.1.3b Short-term trend Magnitude - Maximum</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'population_trend_magnitude_min'">
            <span class="label">3.1.3a Short-term trend Magnitude - Minimum</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'population_trend_method'">
            <span class="label">3.1.4 Short term trend method used</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'population_trend_period'">
            <span class="label">3.1.1 Short-term trend Period</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'population_trend_sources'">
            <span class="label">3.1.5 Sources</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'population_estimate_type'">
            <span class="label">2.3 Population type of estimate</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'distribution_period'">
            <span class="label">4.2 Year or Period</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'distribution_source'">
            <span class="label">4.7  Sources</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'distribution_trend_long'">
            <span class="label">5.2.2 Long-term trend Direction</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'distribution_trend_long_magnitude_max'">
            <span class="label">5.2.3b Long-term trend Magnitude - Maximum</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'distribution_trend_long_magnitude_min'">
            <span class="label">5.2.3a Long-term trend Magnitude - Minimum</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'distribution_trend_long_method'">
            <span class="label">5.2.4 Long-term trend Method used</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'distribution_trend_long_source'">
            <span class="label">5.2.5 Sources</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'distribution_trend_magnitude_max'">
            <span class="label">5.1.3b Short-term trend Magnitude - Maximum</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'distribution_trend_magnitude_min'">
            <span class="label">5.1.3a Short-term trend Magnitude - Minimum</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'distribution_trend_method'">
            <span class="label">5.1.4 Short-term trend Method used</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'distribution_trend_source'">
            <span class="label">5.1.5 Sources</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'season'">
            <span class="label">1.8 Season</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'sensitive_species'">
            <span class="label">4.1 Sensitive Species</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'spa_population_max'">
            <span class="label">9.1c Population size inside the Natura 2000 (SPA) network - Maximum</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'spa_population_method'">
            <span class="label">9.3 Population size inside the network Method used</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'spa_population_min'">
            <span class="label">9.1b Population size inside the Natura 2000 (SPA) network - Minimum</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'spa_population_trend'">
            <span class="label">9.4 Short-term trend of population size within the  network Direction</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'spa_population_unit'">
            <span class="label">9.1a Population size inside the Natura 2000 (SPA) network - Unit</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'speciescode'">
            <span class="label">1.2 Species Code</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'speciesname'">
            <span class="label">1.4 Species scientific name</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'sub_unit'">
            <span class="label">1.5 Subspecific population</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bmeasures' and $xml_tag = 'code'">
            <span class="label">8.5 Measure</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bpressures_threats' and $xml_tag = 'location'">
            <span class="label">7 c) Location</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bpressures_threats' and $xml_tag = 'code'">
            <span class="label">7 a) Pressure</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bpressures_threats' and $xml_tag = 'ranking'">
            <span class="label">7 b) Ranking</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'threat'">
            <span class="label">7.1 Main threats</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'population_size'">
            <span class="label">2.2d Population size - Best single value</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'no_change'">
            <span class="label">2.6 Change and reason for change (since previous report)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'genuine'">
            <span class="label">2.6 a) Change and reason for change (since previous report)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'knowledge'">
            <span class="label">2.6 b) Change and reason for change (since previous report)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'method'">
            <span class="label">2.6 c) Change and reason for change (since previous report)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'no_info'">
            <span class="label">2.6 d) Change and reason for change (since previous report)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_change' and $xml_tag = 'main_reason'">
            <span class="label">2.6 e) Change and reason for change (since previous report)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'population_trend_long_magnitude'">
            <span class="label">3.2.3c Long-term trend Magnitude - Best single value</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'distribution_surface_area'">
            <span class="label">4.4 Breading Distribution surface area</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'distribution_method'">
            <span class="label">4.5 Breeding Distribution Method used</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'distribution_info'">
            <span class="label">4.8 Additional Information</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'distribution_trend_magnitude'">
            <span class="label">5.1.3c Short-term trend Magnitude - Best single value</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'distribution_trend_period'">
            <span class="label">5.1.1 Short-term trend Period</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'distribution_trend'">
            <span class="label">5.1.2 Short-term trend Direction</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'distribution_trend_long_period'">
            <span class="label">5.2.1 Long-term trend Period</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'distribution_trend_long_magnitude'">
            <span class="label">5.2.3c Long-term trend Magnitude - Best single value</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'distribution_trend_info'">
            <span class="label">5.3 Additional Information</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'data_in_other_season'">
            <span class="label">6.0 Is/Will the information related to international SAPs, MPs and BMSs (section 6) be provided for the other season for this species?</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'conservation_measures'">
            <span class="label">8. Main Conservation measures</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bmeasures_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_bmeasures_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_bgreport' and $xml_tag = 'measures_applied_number'">
            <span class="label">4.1a Necessary conservation measures have been established and are applied - Number of SPAs</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bgreport' and $xml_tag = 'measures_applied_perc'">
            <span class="label">4.1b Necessary conservation measures have been established and are applied - Proportion (% area) of the SPAs network</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bgreport' 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 SPAs</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bgreport' 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 SPAs network</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bgmeasures' 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_bgnon_native_bird' and $xml_tag = 'info'">
            <span class="label">7.5 Additional Information</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bmeasures_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_bmeasures_info' and $xml_tag = 'measures_location'">
            <span class="label">8.3 Location of the measures</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bmeasures_info' and $xml_tag = 'measures_response'">
            <span class="label">8.4 Response to the measures</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bmeasures_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_bpressures_threats' and $xml_tag = 'location'">
            <span class="label">7 c) Location</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bpressures_threats' and $xml_tag = 'code'">
            <span class="label">7 a) Threat</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bpressures_threats' and $xml_tag = 'ranking'">
            <span class="label">7 b) Ranking</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'pressures_threats_info'">
            <span class="label">7. Pressures/Threats Information</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bpressures_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_bpressures_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_birds' and $xml_tag = 'spa_population'">
            <span class="label">9.1d Population size inside the Natura 2000 (SPA) network - Best single value</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'spa_population_estimate_type'">
            <span class="label">9.2 Type of estimate</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'spa_population_trend_method'">
            <span class="label">9.5 Short-term trend of population size within the network Method used</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'spa_info'">
            <span class="label">9.6 Additional Information</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'data_birds_annexII'">
            <span class="label">10. Information related to Annex II species (Art.7)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds_annexII' and $xml_tag = 'data_in_other_season'">
            <span class="label">10.0 Is/Will the information related to Annex II species (section 10) be provided for the other season for this species?</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds_annexII' and $xml_tag = 'nationally_hunted'">
            <span class="label">10.1 Is the Species nationally hunted?</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds_annexII' and $xml_tag = 'huntingbag_unit'">
            <span class="label">10.2a Hunting bag (Unit)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds_annexII' and $xml_tag = 'huntingbag_y1_min'">
            <span class="label">10.2b Hunting bag (Min/Year 1)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds_annexII' and $xml_tag = 'huntingbag_y2_min'">
            <span class="label">10.2b Hunting bag (Min/Year 2)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds_annexII' and $xml_tag = 'huntingbag_y3_min'">
            <span class="label">10.2b Hunting bag (Min/Year 3)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds_annexII' and $xml_tag = 'huntingbag_y4_min'">
            <span class="label">10.2b Hunting bag (Min/Year 4)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds_annexII' and $xml_tag = 'huntingbag_y5_min'">
            <span class="label">10.2b Hunting bag (Min/Year 5)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds_annexII' and $xml_tag = 'huntingbag_y6_min'">
            <span class="label">10.2b Hunting bag (Min/Year 6)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds_annexII' and $xml_tag = 'huntingbag_y1_max'">
            <span class="label">10.2b Hunting bag (Max/Year 1)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds_annexII' and $xml_tag = 'huntingbag_y2_max'">
            <span class="label">10.2b Hunting bag (Max/Year 2)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds_annexII' and $xml_tag = 'huntingbag_y3_max'">
            <span class="label">10.2b Hunting bag (Max/Year 3)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds_annexII' and $xml_tag = 'huntingbag_y4_max'">
            <span class="label">10.2b Hunting bag (Max/Year 4)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds_annexII' and $xml_tag = 'huntingbag_y5_max'">
            <span class="label">10.2b Hunting bag (Max/Year 5)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds_annexII' and $xml_tag = 'huntingbag_y6_max'">
            <span class="label">10.2b Hunting bag (Max/Year 6)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds_annexII' and $xml_tag = 'huntingbag_y1_unknown'">
            <span class="label">10.2b Hunting bag (Unknown/Year 1)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds_annexII' and $xml_tag = 'huntingbag_y2_unknown'">
            <span class="label">10.2b Hunting bag (Unknown/Year 2)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds_annexII' and $xml_tag = 'huntingbag_y3_unknown'">
            <span class="label">10.2b Hunting bag (Unknown/Year 3)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds_annexII' and $xml_tag = 'huntingbag_y4_unknown'">
            <span class="label">10.2b Hunting bag (Unknown/Year 4)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds_annexII' and $xml_tag = 'huntingbag_y5_unknown'">
            <span class="label">10.2b Hunting bag (Unknown/Year 5)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds_annexII' and $xml_tag = 'huntingbag_y6_unknown'">
            <span class="label">10.2b Hunting bag (Unknown/Year 6)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds_annexII' and $xml_tag = 'huntingbag_method'">
            <span class="label">10.3 Hunting bag Method used</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds_annexII' and $xml_tag = 'annexII_info'">
            <span class="label">10.4 Additional Information</span>
            <span class="optional">(Optional)</span>
         </xsl:when>
         <xsl:when test="$table_name = 'data_bpressures_threats' and $xml_tag = ''">
            <span class="label"/>
         </xsl:when>
         <xsl:when test="$table_name = 'data_birds' and $xml_tag = 'population_reasons_for_change'">
            <span class="label">2.6 Change and reason for change (since previous report)</span>
         </xsl:when>
      </xsl:choose>
   </xsl:template>
   <xsl:template name="getLookupName">
      <xsl:param name="table_name"/>
      <xsl:param name="xml_tag"/>
   </xsl:template>
</xsl:stylesheet>