Subversion Repositories eFlore/Archives.eflore-consultation-v1

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 jpm 1
<?xml version="1.0" encoding="ISO-8859-1"?>
2
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
3
<xsl:output method="html" version="1.0" standalone="yes" indent="yes" encoding="ISO-8859-1"/>
4
 
5
<xsl:template match="/">
6
    <tr>
7
        <td class="titlePage">
8
            Liste des noms scientifiques trouvés
9
        </td>
10
    </tr>
11
    <xsl:if test="not(/FICHE_LISTE_TAXONS/LISTE_TAXONS/NOM_TAXON)">
12
        <tr>
13
            <td>
14
                <br/>
15
            </td>
16
        </tr>
17
        <tr class="eflore_avertissement">
18
            <td align="center">
19
                Il n'existe aucun nom scientifique correspondant au radical recherch&#233;.
20
            </td>
21
        </tr>
22
        <tr>
23
            <td>
24
                <br/>
25
            </td>
26
        </tr>
27
        <tr class="eflore_avertissement">
28
            <td align="center">
29
                <!--Lien vers le site de test de Tela-Botanica-->
30
                <!--Cliquer <a href="http://test.tela-botanica.org/eflore" target="_top">ICI</a> pour retourner au formulaire principal de l'Index.-->
31
                <!--Lien vers le site officiel de Tela-Botanica-->
32
                Cliquer <a href="http://www.tela-botanica.org/eflore" target="_top" onclick="history.back();return false;">ICI</a> pour retourner au formulaire principal de l'Index.
33
            </td>
34
        </tr>
35
        <tr>
36
            <td>
37
                <br/>
38
                <br/>
39
            </td>
40
        </tr>
41
 
42
    </xsl:if>
43
    <xsl:if test="boolean(/FICHE_LISTE_TAXONS/LISTE_TAXONS/NOM_TAXON)">
44
        <xsl:apply-templates select="FICHE_LISTE_TAXONS" />
45
    </xsl:if>
46
</xsl:template>
47
 
48
<xsl:template match="//FICHE_LISTE_TAXONS">
49
    <xsl:apply-templates select="//LISTE_TAXONS" />
50
</xsl:template>
51
 
52
<xsl:template match="LISTE_TAXONS">
53
    <tr class="texte_tb">
54
        <td>
55
            <span class="insTitle1">Cliquer sur un des noms pour afficher la fiche du nom retenu (correct) correspondante.</span>
56
            <br/>
57
            <b>Note :</b> les noms retenus (corrects) apparaissent en gras dans cette liste.
58
            <br/><br/>
59
        </td>
60
    </tr>
61
    <tr class="texte_tb">
62
        <td>
63
            <ul>
64
                <xsl:apply-templates select="NOM_TAXON" />
65
            </ul>
66
        </td>
67
    </tr>
68
</xsl:template>
69
 
70
<xsl:template match="NOM_TAXON">
71
    <xsl:choose>
72
        <xsl:when test="@statut='1'">
73
        <b>
74
            <li>
75
              <a>
76
                    <xsl:attribute name="style">text-decoration: none;</xsl:attribute>
77
                    <xsl:attribute name="href">transformer.php?xslt=identitetaxon.xsl&amp;servicexml=donneidentitestaxons.php&amp;numclass=1&amp;numnom=<xsl:value-of select="@numnom" /></xsl:attribute>
78
                    <xsl:apply-templates select="NOM" />
79
              </a>
80
            </li>
81
        </b>
82
        </xsl:when>
83
        <xsl:otherwise>
84
            <li>
85
                <a>
86
                    <xsl:attribute name="style">text-decoration: none;</xsl:attribute>
87
                    <xsl:attribute name="href">transformer.php?xslt=identitetaxon.xsl&amp;servicexml=donneidentitestaxons.php&amp;numclass=1&amp;numnom=<xsl:value-of select="@numnom" /></xsl:attribute>
88
                    <xsl:apply-templates select="NOM" />
89
                </a>
90
            </li>
91
        </xsl:otherwise>
92
    </xsl:choose>
93
</xsl:template>
94
 
95
<xsl:template match="NOM">
96
    <!--<b>-->
97
        <xsl:value-of select="@type"/>
98
    <!--</b>-->
99
    &#160;
100
    <i>
101
        <xsl:value-of select="."/>
102
    </i>
103
    &#160;
104
    <xsl:value-of select="@auteur"/>
105
    &#160;
106
</xsl:template>
107
 
108
</xsl:stylesheet>