Subversion Repositories eFlore/Archives.eflore-consultation-v1

Rev

Rev 2 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2 Rev 5
1
<?xml version="1.0" encoding="iso-8859-1"?>
1
<?xml version="1.0" encoding="iso-8859-1"?>
2
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
2
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
-
 
3
<!-- Mettre méthode "xml" pour faire du xhtml -->
3
<xsl:output method="html" encoding="iso-8859-1" version="1.0" standalone="yes" indent="yes" />
4
<xsl:output method="xml" encoding="iso-8859-1" version="1.0" standalone="yes" indent="yes" />
4
 
5
 
5
<!-- DECLARATION DE VARIABLES-->
6
<!-- DECLARATION DE VARIABLES-->
6
<!-- Variable "nom_url" récupérant le numéro nomenclatural du nom recherché.-->
7
<!-- Variable "nom_url" récupérant le numéro nomenclatural du nom recherché.-->
7
<!-- Ce numéro est présent dans l'url appelant le service XML "donneidentitestaxons".-->
8
<!-- Ce numéro est présent dans l'url appelant le service XML "donneidentitestaxons".-->
8
<xsl:variable name="nom_url" select="/FICHE_IDENTITES_TAXONS/@numnom" />
9
<xsl:variable name="nom_url" select="/FICHE_IDENTITES_TAXONS/@numnom" />
9
 
-
 
10
<!-- Variable "taxo_url" récupérant le numéro taxonomique du nom recherché,-->
10
<!-- Variable "taxo_url" récupérant le numéro taxonomique du nom recherché,-->
11
<!-- donc présent dans l'url appelant le service XML "donneidentitestaxons".-->
11
<!-- donc présent dans l'url appelant le service XML "donneidentitestaxons".-->
12
<!-- Utilisé pour récupérer le nom vernaculaire séléctionné.-->
12
<!-- Utilisé pour récupérer le nom vernaculaire séléctionné.-->
13
<xsl:variable name="taxo_url" select="/FICHE_IDENTITES_TAXONS/@numtaxo" />
13
<xsl:variable name="taxo_url" select="/FICHE_IDENTITES_TAXONS/@numtaxo" />
-
 
14
<!-- Chemin d'accès à l'image "ouvrir".-->
-
 
15
<xsl:variable name="chemin_img_ouvrir">/client/eflore_ancien/presentations/images/ouvrir.png</xsl:variable>
-
 
16
<!-- Chemin d'accès à l'image "fermer".-->
-
 
17
<xsl:variable name="chemin_img_fermer">/client/eflore_ancien/presentations/images/fermer.png</xsl:variable>
14
 
18
 
15
<xsl:template match="/">
-
 
16
    <tr class="titlePage">
-
 
17
        <td>
19
<xsl:template match="/">
18
            Identit&#233; du taxon
-
 
19
        </td>
-
 
20
    </tr>
-
 
21
 
20
    <h1>Identit&#233; du taxon</h1>
22
    <xsl:apply-templates/>
21
    <xsl:apply-templates/>
23
</xsl:template>
22
</xsl:template>
24
 
23
 
25
<xsl:template match="FICHE_IDENTITES_TAXONS">
24
<xsl:template match="FICHE_IDENTITES_TAXONS">
26
    <xsl:if test="not(boolean(/FICHE_IDENTITES_TAXONS/NOM_VALIDE)) and not(boolean(/FICHE_IDENTITES_TAXONS/LISTE_NOMS_VALIDES))">
25
    <xsl:if test="not(boolean(/FICHE_IDENTITES_TAXONS/NOM_VALIDE)) and not(boolean(/FICHE_IDENTITES_TAXONS/LISTE_NOMS_VALIDES))">
27
        <tr class="insTitle1">
-
 
28
            <td>
-
 
29
                Nom retenu (correct)
-
 
30
            </td>
-
 
31
        </tr>
-
 
32
        <tr class="eflore_avertissement">
26
        <h2 class="eflore_titre2">Nom retenu (correct)</h2>
33
            <td align="center">
-
 
34
                Il n'existe aucun nom retenu (correct) pour ce taxon relativement à la classification courante.
27
        <p class="eflore_avertissement">Il n'existe aucun nom retenu (correct) pour ce taxon relativement à la classification courante.</p>
35
            </td>
-
 
36
        </tr>
-
 
37
    </xsl:if>
28
    </xsl:if>
38
    <xsl:if test="not(boolean($taxo_url))">
29
    <xsl:if test="not(boolean($taxo_url))">
39
        <xsl:apply-templates select ="LISTE_SYNONYMES" mode="nom_url"/>
30
        <xsl:apply-templates select ="LISTE_SYNONYMES" mode="nom_url"/>
40
    </xsl:if>
31
    </xsl:if>
41
    <xsl:apply-templates select ="NOM_VALIDE"/>
32
    <xsl:apply-templates select ="NOM_VALIDE"/>
42
    <xsl:apply-templates select ="LISTE_NOMS_VALIDES"/>
33
    <xsl:apply-templates select ="LISTE_NOMS_VALIDES"/>
43
    <xsl:apply-templates select ="LISTE_NOMS_TAXONS_PARENTS"/>
34
    <xsl:apply-templates select ="LISTE_NOMS_TAXONS_PARENTS"/>
44
    <xsl:apply-templates select ="LISTE_SYNONYMES"/>
35
    <xsl:apply-templates select ="LISTE_SYNONYMES"/>
45
    <xsl:apply-templates select ="LISTE_NOMS_VERNACULAIRES"/>
36
    <xsl:apply-templates select ="LISTE_NOMS_VERNACULAIRES"/>
46
</xsl:template>
37
</xsl:template>
47
 
38
 
48
<!-- Le template suivant permet de récupérer dans la liste des synonymes le nom sélectionné dans "listetaxons.xls"-->
39
<!-- Le template suivant permet de récupérer dans la liste des synonymes le nom sélectionné dans "listetaxons.xls"-->
49
<!-- car dans "listetaxons.xsl", l'url permettant d'obtenir la fiche d'identité du taxon utilise le n° nomenclatural-->
40
<!-- car dans "listetaxons.xsl", l'url permettant d'obtenir la fiche d'identité du taxon utilise le n° nomenclatural-->
50
<!-- Ce n° nomenclatural apparait dans dans la balise "FICHE_IDENTITES_TAXONS" sous forme de l'attribut "numnom"-->
41
<!-- Ce n° nomenclatural apparait dans dans la balise "FICHE_IDENTITES_TAXONS" sous forme de l'attribut "numnom"-->
51
<xsl:template match="LISTE_SYNONYMES" mode="nom_url">
42
<xsl:template match="LISTE_SYNONYMES" mode="nom_url">
52
    <tr class="insTitle1">
-
 
53
        <td>
-
 
54
            Nom s&#233;lectionn&#233; pr&#233;c&#233;demment
43
    <h2 class="eflore_titre2">Nom s&#233;lectionn&#233; pr&#233;c&#233;demment<xsl:text>  </xsl:text></h2>
55
            <xsl:text>  </xsl:text>
-
 
56
        </td>
-
 
57
    </tr>
44
    <p>
58
    <tr class="texte_tb">
-
 
59
        <td>
-
 
60
            <li>
-
 
61
                <xsl:if test="/FICHE_IDENTITES_TAXONS/NOM_VALIDE/NOM_TAXON/@numnom = $nom_url">
45
    <xsl:if test="/FICHE_IDENTITES_TAXONS/NOM_VALIDE/NOM_TAXON/@numnom = $nom_url">
62
                    <xsl:apply-templates select="/FICHE_IDENTITES_TAXONS/NOM_VALIDE/NOM_TAXON[@numnom]" />
46
        <xsl:apply-templates select="/FICHE_IDENTITES_TAXONS/NOM_VALIDE/NOM_TAXON[@numnom]" />
63
                </xsl:if>
47
    </xsl:if>
64
                <xsl:if test="NOM_TAXON/@numnom = $nom_url">
48
    <xsl:if test="NOM_TAXON/@numnom = $nom_url">
65
                    <xsl:apply-templates select="NOM_TAXON[@numnom = $nom_url]" />
49
        <xsl:apply-templates select="NOM_TAXON[@numnom = $nom_url]" />
66
                </xsl:if>
50
    </xsl:if>
67
                <xsl:text>  </xsl:text>
51
    <xsl:text>  </xsl:text>
68
                <xsl:text> [ </xsl:text>
52
    <xsl:text> [ </xsl:text>
69
                <span>
53
    <em>
70
                    <xsl:attribute name="class">eflore_num_nomen</xsl:attribute>
54
        <xsl:attribute name="class">eflore_num_nomen</xsl:attribute>
71
                        <xsl:value-of select="$nom_url"/>
55
        <xsl:value-of select="$nom_url"/>
72
                </span>
56
    </em>
73
                <xsl:text> - </xsl:text>
57
    <xsl:text> - </xsl:text>
74
                <span>
58
    <em>
75
                    <xsl:attribute name="class">eflore_num_taxo</xsl:attribute>
59
        <xsl:attribute name="class">eflore_num_taxo</xsl:attribute>
76
                        <xsl:value-of select="@numtaxo"/>
60
        <xsl:value-of select="@numtaxo"/>
77
                </span>
61
    </em>
78
                <xsl:text> ] </xsl:text>
62
    <xsl:text> ] </xsl:text>
79
            </li>
-
 
80
            <!--<xsl:if test="boolean($taxo_url)">
63
    <!--<xsl:if test="boolean($taxo_url)">
81
                <xsl:apply-templates select="/FICHE_IDENTITES_TAXONS/LISTE_NOMS_VERNACULAIRES/NOM_VERNACULAIRE[@numtaxo = $taxo_url]" />
64
        <xsl:apply-templates select="/FICHE_IDENTITES_TAXONS/LISTE_NOMS_VERNACULAIRES/NOM_VERNACULAIRE[@numtaxo = $taxo_url]" />
82
            </xsl:if>-->
65
    </xsl:if>-->
83
            <br />
-
 
84
        </td>
-
 
85
    </tr>
66
    </p>
86
</xsl:template>
67
</xsl:template>
87
 
68
 
88
<xsl:template match="NOM_VALIDE">
69
<xsl:template match="NOM_VALIDE">
89
    <xsl:apply-templates select="NOM_TAXON"  mode="nomRetenu"/>
70
    <xsl:apply-templates select="NOM_TAXON"  mode="nomRetenu"/>
90
    <tr class="insTitle1">
-
 
91
        <td>
-
 
92
            En image
-
 
93
        </td>
-
 
94
    </tr>
-
 
95
    <tr class="eflore_commentaire">
71
    <h2 class="eflore_titre2">En image</h2>
96
        <td>
-
 
97
            Cliquer sur le bouton "Recherche Google" pour afficher des images du taxon (résultat non garanti...).
72
    <p class="eflore_commentaire">Cliquer sur le bouton "Recherche Google" pour afficher des images du taxon (résultat non garanti...).</p>
98
        </td>
-
 
99
    </tr>
-
 
100
    <tr>
-
 
101
        <td class="texte_tb">
-
 
102
            <form method="get">
-
 
103
                <xsl:attribute name="action">http://images.google.com/images</xsl:attribute>
73
    <form method="get" action="http://images.google.com/images" target="_blank">
104
                <xsl:attribute name="target">_blank</xsl:attribute>
-
 
105
                <a>
-
 
106
                    <img>
-
 
107
                        <xsl:attribute name="src">http://www.google.com/logos/Logo_25wht.gif</xsl:attribute>
74
        <img src="http://www.google.com/logos/Logo_25wht.gif" alt="Google" />
108
                        <xsl:attribute name="border">0</xsl:attribute>
-
 
109
                        <xsl:attribute name="alt">Google</xsl:attribute>
-
 
110
                        <xsl:attribute name="align">absmiddle</xsl:attribute>
-
 
111
                    </img>
-
 
112
                </a>
-
 
113
                <input>
75
        <input>
114
                    <xsl:attribute name="type">text</xsl:attribute>
76
            <xsl:attribute name="type">text</xsl:attribute>
115
                    <xsl:attribute name="name">q</xsl:attribute>
77
            <xsl:attribute name="name">q</xsl:attribute>
116
                    <xsl:attribute name="size">25</xsl:attribute>
78
            <xsl:attribute name="size">25</xsl:attribute>
117
                    <xsl:attribute name="maxlength">255</xsl:attribute>
79
            <xsl:attribute name="maxlength">255</xsl:attribute>
118
                    <xsl:attribute name="value">
-
 
119
                        <xsl:value-of  select="NOM_TAXON/NOM"/>
80
            <xsl:attribute name="value"><xsl:value-of  select="NOM_TAXON/NOM"/></xsl:attribute>
120
                    </xsl:attribute>
-
 
121
                </input>
81
        </input>
122
                <input>
-
 
123
                    <xsl:attribute name="class">texte_tb</xsl:attribute>
-
 
124
                    <xsl:attribute name="type">submit</xsl:attribute>
-
 
125
                    <xsl:attribute name="name">btnG</xsl:attribute>
-
 
126
                    <xsl:attribute name="value">Recherche Google</xsl:attribute>
82
        <input type="submit" name="btnG" value="Recherche Google" />
127
                </input>
-
 
128
                <input>
83
        <input>
129
                    <xsl:attribute name="type">hidden</xsl:attribute>
84
            <xsl:attribute name="type">hidden</xsl:attribute>
130
                    <xsl:attribute name="name">ie</xsl:attribute>
85
            <xsl:attribute name="name">ie</xsl:attribute>
131
                    <xsl:attribute name="value">ISO-8859-1</xsl:attribute>
86
            <xsl:attribute name="value">ISO-8859-1</xsl:attribute>
132
                </input>
87
        </input>
133
                <input>
88
        <input>
134
                    <xsl:attribute name="type">hidden</xsl:attribute>
89
            <xsl:attribute name="type">hidden</xsl:attribute>
135
                    <xsl:attribute name="name">oe</xsl:attribute>
90
            <xsl:attribute name="name">oe</xsl:attribute>
136
                    <xsl:attribute name="value">ISO-8859-1</xsl:attribute>
91
            <xsl:attribute name="value">ISO-8859-1</xsl:attribute>
137
                </input>
92
        </input>
138
                <input>
93
        <input>
139
                    <xsl:attribute name="type">hidden</xsl:attribute>
94
            <xsl:attribute name="type">hidden</xsl:attribute>
140
                    <xsl:attribute name="name">hl</xsl:attribute>
95
            <xsl:attribute name="name">hl</xsl:attribute>
141
                    <xsl:attribute name="value">fr</xsl:attribute>
96
            <xsl:attribute name="value">fr</xsl:attribute>
142
                </input>
-
 
143
            </form>
-
 
144
        </td>
97
        </input>
145
    </tr>
98
    </form>
146
</xsl:template>
99
</xsl:template>
147
 
100
 
148
<xsl:template match="LISTE_NOMS_VALIDES">
101
<xsl:template match="LISTE_NOMS_VALIDES">
149
    <tr class="insTitle1">
102
    <h2 class="eflore_titre2">Noms valides</h2>
150
        <td>
-
 
151
            Noms valides
-
 
152
        </td>
-
 
153
    </tr>
103
    <ul>
154
    <tr class="texte_tb">
-
 
155
        <td>
-
 
156
            <ul>
-
 
157
                <xsl:apply-templates select="NOM_TAXON" />
104
        <xsl:apply-templates select="NOM_TAXON" mode="valide" />
158
            </ul>
-
 
159
        </td>
-
 
160
    </tr>
105
    </ul>
161
</xsl:template>
106
</xsl:template>
162
 
107
 
163
<xsl:template match="LISTE_NOMS_TAXONS_PARENTS">
108
<xsl:template match="LISTE_NOMS_TAXONS_PARENTS">
164
    <tr class="insTitle1">
-
 
165
        <td>
-
 
166
            Niveaux taxinomiques supérieurs
109
    <h2 class="eflore_titre2">Niveaux taxinomiques supérieurs</h2>
167
        </td>
-
 
168
    </tr>
-
 
169
    <tr class="eflore_commentaire">
110
    <p class="eflore_commentaire">
170
        <td>
-
 
171
            En cliquant sur (...)  situé aprés le niveau taxinomique vous obtiendrez la liste des taxons retenus (corrects) qu'il contient.
111
        En cliquant sur (...)  situé aprés le niveau taxinomique vous obtiendrez la liste des taxons retenus qu'il contient.
172
        </td>
-
 
173
    </tr>
112
    </p>
174
    <tr class="texte_tb">
-
 
175
        <td>
113
    <ul>
176
            <ul>
-
 
177
                <xsl:apply-templates select="NOM_TAXON_PARENTS/NOM_TAXON" mode="parent" />
114
        <xsl:apply-templates select="NOM_TAXON_PARENTS/NOM_TAXON" mode="parent" />
178
            </ul>
-
 
179
        </td>
-
 
180
    </tr>
115
    </ul>
181
</xsl:template>
116
</xsl:template>
182
 
117
 
183
<xsl:template match="LISTE_SYNONYMES">
118
<xsl:template match="LISTE_SYNONYMES">
184
    <tr class="insTitle1">
119
    <h2 class="eflore_titre2">Synonymes</h2>
185
        <td>
-
 
186
            Synonymes
-
 
187
        </td>
-
 
188
    </tr>
-
 
189
    <tr class="eflore_commentaire">
120
    <p class="eflore_commentaire">
190
        <td>
-
 
191
            Le symbole
121
        Le symbole
192
            <img>
122
        <img>
193
                <xsl:attribute name="name">imEx</xsl:attribute>
123
            <xsl:attribute name="name">imEx</xsl:attribute>
194
                <xsl:attribute name="src">Local/icons/openclose-plus.gif</xsl:attribute>
124
            <xsl:attribute name="src"><xsl:value-of select="$chemin_img_ouvrir"/></xsl:attribute>
195
                <xsl:attribute name="border">0</xsl:attribute>
-
 
196
                <xsl:attribute name="width">9</xsl:attribute>
125
            <xsl:attribute name="width">9</xsl:attribute>
197
                <xsl:attribute name="height">9</xsl:attribute>
126
            <xsl:attribute name="height">9</xsl:attribute>
198
            </img>
127
        </img>
199
            indique la présence d'une source bibliographique et/ou d'information sur la combinaison.
128
        indique la présence d'une source bibliographique et/ou d'information sur la combinaison.<br/>
200
            <br/>
-
 
201
            Cliquer sur le symbole
129
        Cliquer sur le symbole
202
            <img>
130
        <img>
203
                <xsl:attribute name="name">imEx</xsl:attribute>
131
            <xsl:attribute name="name">imEx</xsl:attribute>
204
                <xsl:attribute name="src">Local/icons/openclose-plus.gif</xsl:attribute>
132
            <xsl:attribute name="src"><xsl:value-of select="$chemin_img_ouvrir"/></xsl:attribute>
205
                <xsl:attribute name="border">0</xsl:attribute>
-
 
206
                <xsl:attribute name="width">9</xsl:attribute>
133
            <xsl:attribute name="width">9</xsl:attribute>
207
                <xsl:attribute name="height">9</xsl:attribute>
134
            <xsl:attribute name="height">9</xsl:attribute>
208
            </img>
135
        </img>
209
            pour afficher ces informations complémentaires.
136
        pour afficher ces informations complémentaires.
210
        </td>
-
 
211
    </tr>
137
    </p>
212
 
-
 
213
    <!-- Affiches les synonymes nomenclaturaux s'il y en a.-->
138
    <!-- Affiches les synonymes nomenclaturaux s'il y en a.-->
214
    <xsl:if test="NOM_TAXON/@tsyn = 1 or NOM_TAXON/@tsyn = 'n'">
139
    <xsl:if test="NOM_TAXON/@tsyn = 1 or NOM_TAXON/@tsyn = 'n'">
215
        <tr class="texte_tb">
-
 
216
            <td>
-
 
217
                <b>Synonymes nomenclaturaux</b>
140
        <h3 class="eflore_titre3">Synonymes nomenclaturaux</h3>
218
            </td>
-
 
219
        </tr>
141
        <ul>
220
        <tr class="texte_tb">
-
 
221
            <td>
-
 
222
                <table border="0" width="100%" cellpading="0" cellspacing="0">
-
 
223
                    <xsl:apply-templates select="NOM_TAXON[@tsyn = 1 or @tsyn = 'n']" mode="biblio_tsyn"/>
142
            <xsl:apply-templates select="NOM_TAXON[@tsyn = 1 or @tsyn = 'n']" mode="biblio_tsyn"/>
224
                </table>
-
 
225
            </td>
-
 
226
        </tr>
143
        </ul>
227
    </xsl:if>
144
    </xsl:if>
228
 
145
 
229
    <!-- Affiches les synonymes taxinomiques s'il y en a.-->
146
    <!-- Affiches les synonymes taxinomiques s'il y en a.-->
230
    <xsl:if test="NOM_TAXON/@tsyn = 2 or NOM_TAXON/@tsyn = 't'">
147
    <xsl:if test="NOM_TAXON/@tsyn = 2 or NOM_TAXON/@tsyn = 't'">
231
        <tr class="texte_tb">
-
 
232
            <td>
-
 
233
                <b>Synonymes taxinomiques</b>
148
        <h3 class="eflore_titre3">Synonymes taxinomiques</h3>
234
            </td>
-
 
235
        </tr>
149
        <ul>
236
        <tr class="texte_tb">
-
 
237
            <td>
-
 
238
                <table border="0" width="100%" cellpading="0" cellspacing="0">
-
 
239
                    <xsl:apply-templates select="NOM_TAXON[@tsyn = 2 or @tsyn = 't']" mode="biblio_tsyn"/>
150
            <xsl:apply-templates select="NOM_TAXON[@tsyn = 2 or @tsyn = 't']" mode="biblio_tsyn"/>
240
                </table>
-
 
241
            </td>
-
 
242
        </tr>
151
        </ul>
243
    </xsl:if>
152
    </xsl:if>
244
 
153
 
245
    <!-- Affiches les synonymes de type inconnu s'il y en a.-->
154
    <!-- Affiches les synonymes de type inconnu s'il y en a.-->
246
    <xsl:if test="NOM_TAXON/@tsyn = 3 or NOM_TAXON/@tsyn = 'o'">
155
    <xsl:if test="NOM_TAXON/@tsyn = 3 or NOM_TAXON/@tsyn = 'o'">
247
        <tr class="texte_tb">
-
 
248
            <td>
-
 
249
                <b>Synonymes de type inconnu</b>
156
        <h3 class="eflore_titre3">Synonymes de type inconnu</h3>
250
            </td>
-
 
251
        </tr>
157
        <ul>
252
        <tr class="texte_tb">
-
 
253
            <td>
-
 
254
                <table border="0" width="100%" cellpading="0" cellspacing="0">
-
 
255
                    <xsl:apply-templates select="NOM_TAXON[@tsyn = 3 or @tsyn = 'o']" mode="biblio_tsyn"/>
158
            <xsl:apply-templates select="NOM_TAXON[@tsyn = 3 or @tsyn = 'o']" mode="biblio_tsyn"/>
256
                </table>
-
 
257
            </td>
-
 
258
        </tr>
159
        </ul>
259
    </xsl:if>
160
    </xsl:if>
260
 
161
 
261
    <!-- Affiches les synonymes de type "inclus dans" s'il y en a.-->
162
    <!-- Affiches les synonymes de type "inclus dans" s'il y en a.-->
262
    <xsl:if test="NOM_TAXON/@tsyn = 4 or NOM_TAXON/@tsyn = 'i'">
163
    <xsl:if test="NOM_TAXON/@tsyn = 4 or NOM_TAXON/@tsyn = 'i'">
263
        <tr class="texte_tb">
-
 
264
            <td>
-
 
265
                <b>Synonymes de type "inclus dans"</b>
164
        <h3 class="eflore_titre3">Synonymes de type "inclus dans"</h3>
266
            </td>
-
 
267
        </tr>
165
        <ul>
268
        <tr class="texte_tb">
-
 
269
            <td>
-
 
270
                <table border="0" width="100%" cellpading="0" cellspacing="0">
-
 
271
                    <xsl:apply-templates select="NOM_TAXON[@tsyn = 4 or @tsyn = 'i']" mode="biblio_tsyn"/>
166
            <xsl:apply-templates select="NOM_TAXON[@tsyn = 4 or @tsyn = 'i']" mode="biblio_tsyn"/>
272
                </table>
-
 
273
            </td>
-
 
274
        </tr>
167
        </ul>
275
    </xsl:if>
168
    </xsl:if>
276
 
169
 
277
    <!-- Affiches les synonymes de type "inclus dans" s'il y en a.-->
170
    <!-- Affiches les synonymes de type "inclus dans" s'il y en a.-->
278
    <xsl:if test="NOM_TAXON/@tsyn = 5 or NOM_TAXON/@tsyn = 's'">
171
    <xsl:if test="NOM_TAXON/@tsyn = 5 or NOM_TAXON/@tsyn = 's'">
279
        <tr class="texte_tb">
-
 
280
            <td>
-
 
281
                <b>Synonymes de type "au sens de (sensu)"</b>
172
        <h3 class="eflore_titre3">Synonymes de type "au sens de (sensu)"</h3>
282
            </td>
-
 
283
        </tr>
173
        <ul>
284
        <tr class="texte_tb">
-
 
285
            <td>
-
 
286
                <table border="0" width="100%" cellpading="0" cellspacing="0">
-
 
287
                    <xsl:apply-templates select="NOM_TAXON[@tsyn = 5 or @tsyn = 's']" mode="biblio_tsyn"/>
174
            <xsl:apply-templates select="NOM_TAXON[@tsyn = 5 or @tsyn = 's']" mode="biblio_tsyn"/>
288
                </table>
-
 
289
            </td>
-
 
290
        </tr>
175
        </ul>
291
    </xsl:if>
176
    </xsl:if>
292
 
177
 
293
<!-- Affiches les synonymes de type "autonyme" s'il y en a.-->
178
<!-- Affiches les synonymes de type "autonyme" s'il y en a.-->
294
    <xsl:if test="NOM_TAXON/@tsyn = 6 or NOM_TAXON/@tsyn = 'a'">
179
    <xsl:if test="NOM_TAXON/@tsyn = 6 or NOM_TAXON/@tsyn = 'a'">
295
        <tr class="texte_tb">
-
 
296
            <td>
-
 
297
                <b>Synonymes de type "autonyme"</b>
180
        <h3 class="eflore_titre3">Synonymes de type "autonyme"</h3>
298
            </td>
-
 
299
        </tr>
181
        <ul>
300
        <tr class="texte_tb">
-
 
301
            <td>
-
 
302
                <table border="0" width="100%" cellpading="0" cellspacing="0">
-
 
303
                    <xsl:apply-templates select="NOM_TAXON[@tsyn = 6 or @tsyn = 'a']" mode="biblio_tsyn"/>
182
            <xsl:apply-templates select="NOM_TAXON[@tsyn = 6 or @tsyn = 'a']" mode="biblio_tsyn"/>
304
                </table>
-
 
305
            </td>
-
 
306
        </tr>
183
        </ul>
307
    </xsl:if>
184
    </xsl:if>
308
 
185
 
309
<!-- Affiches les synonymes de type "antonyme" s'il y en a.-->
186
<!-- Affiches les synonymes de type "antonyme" s'il y en a.-->
310
    <xsl:if test="NOM_TAXON/@tsyn = 7 or NOM_TAXON/@tsyn = 'an'">
187
    <xsl:if test="NOM_TAXON/@tsyn = 7 or NOM_TAXON/@tsyn = 'an'">
311
        <tr class="texte_tb">
-
 
312
            <td>
-
 
313
                <b>Synonymes de type "antonyme"</b>
188
        <h3 class="eflore_titre3">Synonymes de type "antonyme"</h3>
314
            </td>
-
 
315
        </tr>
189
        <ul>
316
        <tr class="texte_tb">
-
 
317
            <td>
-
 
318
                <table border="0" width="100%" cellpading="0" cellspacing="0">
-
 
319
                    <xsl:apply-templates select="NOM_TAXON[@tsyn = 7 or @tsyn = 'an']" mode="biblio_tsyn"/>
190
            <xsl:apply-templates select="NOM_TAXON[@tsyn = 7 or @tsyn = 'an']" mode="biblio_tsyn"/>
320
                </table>
-
 
321
            </td>
-
 
322
        </tr>
191
        </ul>
323
    </xsl:if>
192
    </xsl:if>
324
 
193
 
325
<!-- Affiches les synonymes de type "pseudonyme" s'il y en a.-->
194
<!-- Affiches les synonymes de type "pseudonyme" s'il y en a.-->
326
    <xsl:if test="NOM_TAXON/@tsyn = 8 or NOM_TAXON/@tsyn = 'p'">
195
    <xsl:if test="NOM_TAXON/@tsyn = 8 or NOM_TAXON/@tsyn = 'p'">
327
        <tr class="texte_tb">
-
 
328
            <td>
-
 
329
                <b>Synonymes de type "pseudonyme"</b>
196
        <h3 class="eflore_titre3">Synonymes de type "pseudonyme"</h3>
330
            </td>
-
 
331
        </tr>
197
        <ul>
332
        <tr class="texte_tb">
-
 
333
            <td>
-
 
334
                <table border="0" width="100%" cellpading="0" cellspacing="0">
-
 
335
                    <xsl:apply-templates select="NOM_TAXON[@tsyn = 8 or @tsyn = 'p']" mode="biblio_tsyn"/>
198
            <xsl:apply-templates select="NOM_TAXON[@tsyn = 8 or @tsyn = 'p']" mode="biblio_tsyn"/>
336
                </table>
-
 
337
            </td>
-
 
338
        </tr>
199
        </ul>
339
    </xsl:if>
200
    </xsl:if>
340
 
201
 
341
<!-- Affiches les synonymes de type "variant orthographique" s'il y en a.-->
202
<!-- Affiches les synonymes de type "variant orthographique" s'il y en a.-->
342
    <xsl:if test="NOM_TAXON/@tsyn = 9 or NOM_TAXON/@tsyn = 'vo'">
203
    <xsl:if test="NOM_TAXON/@tsyn = 9 or NOM_TAXON/@tsyn = 'vo'">
343
        <tr class="texte_tb">
-
 
344
            <td>
-
 
345
                <b>Synonymes de type "variant orthographique"</b>
204
        <h3 class="eflore_titre3">Synonymes de type "variant orthographique"</h3>
346
            </td>
-
 
347
        </tr>
205
        <ul>
348
        <tr class="texte_tb">
-
 
349
            <td>
-
 
350
                <table border="0" width="100%" cellpading="0" cellspacing="0">
-
 
351
                    <xsl:apply-templates select="NOM_TAXON[@tsyn = 9 or @tsyn = 'vo']" mode="biblio_tsyn"/>
206
            <xsl:apply-templates select="NOM_TAXON[@tsyn = 9 or @tsyn = 'vo']" mode="biblio_tsyn"/>
352
                </table>
-
 
353
            </td>
-
 
354
        </tr>
207
        </ul>
355
    </xsl:if>
208
    </xsl:if>
356
 
209
 
357
<!-- Affiches les synonymes de type "isonyme" s'il y en a.-->
210
<!-- Affiches les synonymes de type "isonyme" s'il y en a.-->
358
    <xsl:if test="NOM_TAXON/@tsyn = 10 or NOM_TAXON/@tsyn = 'is'">
211
    <xsl:if test="NOM_TAXON/@tsyn = 10 or NOM_TAXON/@tsyn = 'is'">
359
        <tr class="texte_tb">
-
 
360
            <td>
-
 
361
                <b>Synonymes de type "isonyme"</b>
212
        <h3 class="eflore_titre3">Synonymes de type "isonyme"</h3>
362
            </td>
-
 
363
        </tr>
213
        <ul>
364
        <tr class="texte_tb">
-
 
365
            <td>
-
 
366
                <table border="0" width="100%" cellpading="0" cellspacing="0">
-
 
367
                    <xsl:apply-templates select="NOM_TAXON[@tsyn = 10 or @tsyn = 'is']" mode="biblio_tsyn"/>
214
            <xsl:apply-templates select="NOM_TAXON[@tsyn = 10 or @tsyn = 'is']" mode="biblio_tsyn"/>
368
                </table>
-
 
369
            </td>
-
 
370
        </tr>
215
        </ul>
371
    </xsl:if>
216
    </xsl:if>
372
</xsl:template>
217
</xsl:template>
373
 
218
 
374
<xsl:template match="LISTE_NOMS_VERNACULAIRES">
219
<xsl:template match="LISTE_NOMS_VERNACULAIRES">
375
    <tr class="insTitle1">
-
 
376
        <td>
-
 
377
            Noms vernaculaires
220
    <h2 class="eflore_titre2">Noms vernaculaires</h2>
378
        </td>
-
 
379
    </tr>
-
 
380
    <tr class="texte_tb">
221
    <table class="eflore_table_nom_verna">
381
        <td>
222
        <thead>
382
            <table border="0" width="*" cellpading="0" cellspacing="0">
-
 
383
                <tr class="eflore_commentaire" >
-
 
384
                    <td width="50" align="left">
-
 
385
                        Langue
-
 
386
                    </td>
223
            <tr>
387
                    <td width="30" align="left">
-
 
388
                        Pays
224
                <th>Langue</th>
389
                    </td>
225
                <th>Pays</th>
390
                    <td width="220" align="left">
-
 
391
                        Nom
-
 
392
                    </td>
226
                <th>Nom</th>
393
                    <td width="150">
-
 
394
                        Emploi
227
                <th>Emploi</th>
395
                    </td>
228
                <th>Genre</th>
396
                    <td width="50">
-
 
397
                        Genre
229
                <th>Nombre</th>
398
                    </td>
230
            </tr>
399
                    <td width="50">
-
 
400
                        Nombre
-
 
401
                    </td>
231
        </thead>
402
                </tr>
232
        <tbody>
403
                <xsl:apply-templates select="NOM_VERNACULAIRE" />
233
            <xsl:apply-templates select="NOM_VERNACULAIRE" />
404
            </table>
-
 
405
        </td>
234
        </tbody>
406
    </tr>
235
    </table>
407
</xsl:template>
236
</xsl:template>
408
 
237
 
409
<xsl:template match="NOM_TAXON">
238
<xsl:template match="NOM_TAXON">
410
    <xsl:apply-templates select="NOM" />
239
    <xsl:apply-templates select="NOM" />
411
</xsl:template>
240
</xsl:template>
-
 
241
 
-
 
242
<xsl:template match="NOM_TAXON" mode="valide">
-
 
243
    <li><xsl:apply-templates select="NOM" /></li>
-
 
244
</xsl:template>
412
 
245
 
413
<xsl:template match="NOM_TAXON" mode="nomRetenu">
-
 
414
    <tr class="insTitle1">
-
 
415
        <td>
246
<xsl:template match="NOM_TAXON" mode="nomRetenu">
416
            Nom retenu (correct) correspondant
-
 
417
            <xsl:text>  </xsl:text>
-
 
418
            <!--<a href="http://test.tela-botanica.org/tmp/pdf.php" target="_blank"><img src="Local/icons/pdf.gif" border="0"></img></a>-->
-
 
419
        </td>
247
    <h2 class="eflore_titre2">Nom retenu (correct) correspondant<xsl:text>  </xsl:text></h2>
420
    </tr>
-
 
421
    <tr class="texte_tb">
248
    <p>
422
        <td>
-
 
423
            <li>
-
 
424
                <b>
249
    <strong>
425
                    <xsl:apply-templates select="NOM" />
250
        <xsl:apply-templates select="NOM" />
426
                </b>
251
    </strong>
427
                <xsl:apply-templates select="BIBLIOGRAPHIE" />
252
    <xsl:apply-templates select="BIBLIOGRAPHIE" />
428
                <xsl:apply-templates select="INFO_COMBINAISON" />
253
    <xsl:apply-templates select="INFO_COMBINAISON" />
429
                <xsl:text>  </xsl:text>
254
    <xsl:text>  </xsl:text>
430
                <xsl:text> [ </xsl:text>
255
    <xsl:text> [ </xsl:text>
431
                <span>
256
    <em>
432
                    <xsl:attribute name="class">eflore_num_nomen</xsl:attribute>
257
        <xsl:attribute name="class">eflore_num_nomen</xsl:attribute>
433
                        <xsl:value-of select="@numnom"/>
258
        <xsl:value-of select="@numnom"/>
434
                </span>
259
    </em>
435
                <xsl:text> - </xsl:text>
260
    <xsl:text> - </xsl:text>
436
                <span>
261
    <em>
437
                    <xsl:attribute name="class">eflore_num_taxo</xsl:attribute>
262
        <xsl:attribute name="class">eflore_num_taxo</xsl:attribute>
438
                        <xsl:value-of select="/FICHE_IDENTITES_TAXONS/NOM_VALIDE/@numtaxo"/>
263
        <xsl:value-of select="/FICHE_IDENTITES_TAXONS/NOM_VALIDE/@numtaxo"/>
439
                 </span>
264
    </em>
440
                 <xsl:text> ] </xsl:text>
-
 
441
            </li>
-
 
442
            <br />
-
 
443
        </td>
265
    <xsl:text> ] </xsl:text>
444
    </tr>
266
    </p>
445
</xsl:template>
267
</xsl:template>
446
 
268
 
447
<xsl:template match="NOM_TAXON" mode="biblio_tsyn">
269
<xsl:template match="NOM_TAXON" mode="biblio_tsyn">
448
    <tr class="texte_tb">
-
 
449
    <td width="20" height="15" >
-
 
450
        <br/>
-
 
451
    </td>
270
    <li>
452
    <td align="left">
-
 
453
    <div>
271
    <span>
454
        <xsl:attribute name="id">el<xsl:value-of select="position()"/>
272
        <xsl:attribute name="id">el<xsl:value-of select="position()"/>
455
            <xsl:if test="@tsyn = 1 or @tsyn = 'n'">TS1Parent</xsl:if>
273
            <xsl:if test="@tsyn = 1 or @tsyn = 'n'">TS1Parent</xsl:if>
456
            <xsl:if test="@tsyn = 2 or @tsyn = 't'">TS2Parent</xsl:if>
274
            <xsl:if test="@tsyn = 2 or @tsyn = 't'">TS2Parent</xsl:if>
457
            <xsl:if test="@tsyn = 3 or @tsyn = 'o'">TS3Parent</xsl:if>
275
            <xsl:if test="@tsyn = 3 or @tsyn = 'o'">TS3Parent</xsl:if>
458
            <xsl:if test="@tsyn = 4 or @tsyn = 'i'">TS4Parent</xsl:if>
276
            <xsl:if test="@tsyn = 4 or @tsyn = 'i'">TS4Parent</xsl:if>
459
            <xsl:if test="@tsyn = 5 or @tsyn = 's'">TS5Parent</xsl:if>
277
            <xsl:if test="@tsyn = 5 or @tsyn = 's'">TS5Parent</xsl:if>
460
            <xsl:if test="@tsyn = 6 or @tsyn = 'a'">TS6Parent</xsl:if>
278
            <xsl:if test="@tsyn = 6 or @tsyn = 'a'">TS6Parent</xsl:if>
461
            <xsl:if test="@tsyn = 7 or @tsyn = 'an'">TS7Parent</xsl:if>
279
            <xsl:if test="@tsyn = 7 or @tsyn = 'an'">TS7Parent</xsl:if>
462
            <xsl:if test="@tsyn = 8 or @tsyn = 'p'">TS8Parent</xsl:if>
280
            <xsl:if test="@tsyn = 8 or @tsyn = 'p'">TS8Parent</xsl:if>
463
            <xsl:if test="@tsyn = 9 or @tsyn = 'vo'">TS9Parent</xsl:if>
281
            <xsl:if test="@tsyn = 9 or @tsyn = 'vo'">TS9Parent</xsl:if>
464
            <xsl:if test="@tsyn = 10 or @tsyn = 'is'">TS10Parent</xsl:if>
282
            <xsl:if test="@tsyn = 10 or @tsyn = 'is'">TS10Parent</xsl:if>
465
        </xsl:attribute>
283
        </xsl:attribute>
466
        <xsl:attribute name="class">parent</xsl:attribute>
284
        <xsl:attribute name="class">parent</xsl:attribute>
467
        <xsl:if test="@tsyn = 1 or @tsyn = 'n'">&#8801;</xsl:if>
285
        <xsl:if test="@tsyn = 1 or @tsyn = 'n'">&#8801;</xsl:if>
468
        <xsl:if test="@tsyn = 2 or @tsyn = 't'">&#061;</xsl:if>
286
        <xsl:if test="@tsyn = 2 or @tsyn = 't'">&#061;</xsl:if>
469
        &#160;
287
        &#160;
470
        <a>
288
        <a>
471
            <xsl:attribute name="class">texte_tb</xsl:attribute>
-
 
472
            <xsl:attribute name="href">#</xsl:attribute>
289
            <xsl:attribute name="href">#</xsl:attribute>
473
            <xsl:attribute name="onclick">
290
            <xsl:attribute name="onclick">
474
                <xsl:text>expandBase('el</xsl:text>
291
                <xsl:text>expandBase('el</xsl:text>
475
                <xsl:value-of select="position()"/>
292
                <xsl:value-of select="position()"/>
476
                <xsl:if test="@tsyn = 1 or @tsyn = 'n'"><xsl:text>TS1</xsl:text></xsl:if>
293
                <xsl:if test="@tsyn = 1 or @tsyn = 'n'"><xsl:text>TS1</xsl:text></xsl:if>
477
                <xsl:if test="@tsyn = 2 or @tsyn = 't'"><xsl:text>TS2</xsl:text></xsl:if>
294
                <xsl:if test="@tsyn = 2 or @tsyn = 't'"><xsl:text>TS2</xsl:text></xsl:if>
478
                <xsl:if test="@tsyn = 3 or @tsyn = 'o'"><xsl:text>TS3</xsl:text></xsl:if>
295
                <xsl:if test="@tsyn = 3 or @tsyn = 'o'"><xsl:text>TS3</xsl:text></xsl:if>
479
                <xsl:if test="@tsyn = 4 or @tsyn = 'i'"><xsl:text>TS4</xsl:text></xsl:if>
296
                <xsl:if test="@tsyn = 4 or @tsyn = 'i'"><xsl:text>TS4</xsl:text></xsl:if>
480
                <xsl:if test="@tsyn = 5 or @tsyn = 's'"><xsl:text>TS5</xsl:text></xsl:if>
297
                <xsl:if test="@tsyn = 5 or @tsyn = 's'"><xsl:text>TS5</xsl:text></xsl:if>
481
                <xsl:if test="@tsyn = 6 or @tsyn = 'a'"><xsl:text>TS6</xsl:text></xsl:if>
298
                <xsl:if test="@tsyn = 6 or @tsyn = 'a'"><xsl:text>TS6</xsl:text></xsl:if>
482
                <xsl:if test="@tsyn = 7 or @tsyn = 'an'"><xsl:text>TS7</xsl:text></xsl:if>
299
                <xsl:if test="@tsyn = 7 or @tsyn = 'an'"><xsl:text>TS7</xsl:text></xsl:if>
483
                <xsl:if test="@tsyn = 8 or @tsyn = 'p'"><xsl:text>TS8</xsl:text></xsl:if>
300
                <xsl:if test="@tsyn = 8 or @tsyn = 'p'"><xsl:text>TS8</xsl:text></xsl:if>
484
                <xsl:if test="@tsyn = 9 or @tsyn = 'vo'"><xsl:text>TS9</xsl:text></xsl:if>
301
                <xsl:if test="@tsyn = 9 or @tsyn = 'vo'"><xsl:text>TS9</xsl:text></xsl:if>
485
                <xsl:if test="@tsyn = 10 or @tsyn = 'is'"><xsl:text>TS10</xsl:text></xsl:if>
302
                <xsl:if test="@tsyn = 10 or @tsyn = 'is'"><xsl:text>TS10</xsl:text></xsl:if>
486
                <xsl:text>',true); return false;</xsl:text>
303
                <xsl:text>',true); return false;</xsl:text>
487
            </xsl:attribute>
304
            </xsl:attribute>
488
            <img>
305
            <script>
489
                <xsl:attribute name="name">imEx</xsl:attribute>
306
        <xsl:attribute name="type">text/javascript</xsl:attribute>
490
                <xsl:attribute name="id">
307
                        <xsl:text>afficherImage('</xsl:text>
491
                    <xsl:text>el</xsl:text>
308
                        <xsl:value-of select="position()"/>
492
                    <xsl:value-of select="position()"/>
309
                        <xsl:text>', '</xsl:text>
493
                    <xsl:if test="@tsyn = 1 or @tsyn = 'n'"><xsl:text>TS1</xsl:text></xsl:if>
310
                        <xsl:if test="@tsyn = 1 or @tsyn = 'n'"><xsl:text>TS1</xsl:text></xsl:if>
494
                    <xsl:if test="@tsyn = 2 or @tsyn = 't'"><xsl:text>TS2</xsl:text></xsl:if>
311
                        <xsl:if test="@tsyn = 2 or @tsyn = 't'"><xsl:text>TS2</xsl:text></xsl:if>
495
                    <xsl:if test="@tsyn = 3 or @tsyn = 'o'"><xsl:text>TS3</xsl:text></xsl:if>
312
                        <xsl:if test="@tsyn = 3 or @tsyn = 'o'"><xsl:text>TS3</xsl:text></xsl:if>
496
                    <xsl:if test="@tsyn = 4 or @tsyn = 'i'"><xsl:text>TS4</xsl:text></xsl:if>
313
                        <xsl:if test="@tsyn = 4 or @tsyn = 'i'"><xsl:text>TS4</xsl:text></xsl:if>
497
                    <xsl:if test="@tsyn = 5 or @tsyn = 's'"><xsl:text>TS5</xsl:text></xsl:if>
314
                        <xsl:if test="@tsyn = 5 or @tsyn = 's'"><xsl:text>TS5</xsl:text></xsl:if>
498
                    <xsl:if test="@tsyn = 6 or @tsyn = 'a'"><xsl:text>TS6</xsl:text></xsl:if>
315
                        <xsl:if test="@tsyn = 6 or @tsyn = 'a'"><xsl:text>TS6</xsl:text></xsl:if>
499
                    <xsl:if test="@tsyn = 7 or @tsyn = 'an'"><xsl:text>TS7</xsl:text></xsl:if>
316
                        <xsl:if test="@tsyn = 7 or @tsyn = 'an'"><xsl:text>TS7</xsl:text></xsl:if>
500
                    <xsl:if test="@tsyn = 8 or @tsyn = 'p'"><xsl:text>TS8</xsl:text></xsl:if>
317
                        <xsl:if test="@tsyn = 8 or @tsyn = 'p'"><xsl:text>TS8</xsl:text></xsl:if>
501
                    <xsl:if test="@tsyn = 9 or @tsyn = 'vo'"><xsl:text>TS9</xsl:text></xsl:if>
318
                        <xsl:if test="@tsyn = 9 or @tsyn = 'vo'"><xsl:text>TS9</xsl:text></xsl:if>
502
                    <xsl:if test="@tsyn = 10 or @tsyn = 'is'"><xsl:text>TS10</xsl:text></xsl:if>
319
                        <xsl:if test="@tsyn = 10 or @tsyn = 'is'"><xsl:text>TS10</xsl:text></xsl:if>
503
                    <xsl:text>Img</xsl:text>
320
                        <xsl:text>');</xsl:text>
504
                </xsl:attribute>
-
 
505
                <xsl:attribute name="src">Local/icons/openclose-plus.gif</xsl:attribute>
-
 
506
                <xsl:attribute name="border">0</xsl:attribute>
-
 
507
                <xsl:attribute name="width">9</xsl:attribute>
-
 
508
                <xsl:attribute name="height">9</xsl:attribute>
-
 
509
                <xsl:attribute name="alt">Voir informations complémentaires</xsl:attribute>
-
 
510
                <xsl:attribute name="title">Voir informations complémentaires</xsl:attribute>
-
 
511
            </img>
321
            </script>
512
                <!-- Utilisation des plier-déplier. Élément parent.-->
322
                <!-- Utilisation des plier-déplier. Élément parent.-->
513
        </a>
323
        </a>
514
        <xsl:apply-templates select="NOM" />
324
        <xsl:apply-templates select="NOM" />
515
    </div>
325
    </span>
516
    <!-- Utilisation des plier-déplier. Élément enfant.-->
326
    <!-- Utilisation des plier-déplier. Élément enfant.-->
517
    <div>
327
    <span>
518
        <xsl:attribute name="id">
328
        <xsl:attribute name="id">
519
            <xsl:text>el</xsl:text>
329
            <xsl:text>el</xsl:text>
520
            <xsl:value-of select="position()"/>
330
            <xsl:value-of select="position()"/>
521
            <xsl:if test="@tsyn = 1 or @tsyn = 'n'"><xsl:text>TS1</xsl:text></xsl:if>
331
            <xsl:if test="@tsyn = 1 or @tsyn = 'n'"><xsl:text>TS1</xsl:text></xsl:if>
522
            <xsl:if test="@tsyn = 2 or @tsyn = 't'"><xsl:text>TS2</xsl:text></xsl:if>
332
            <xsl:if test="@tsyn = 2 or @tsyn = 't'"><xsl:text>TS2</xsl:text></xsl:if>
523
            <xsl:if test="@tsyn = 3 or @tsyn = 'o'"><xsl:text>TS3</xsl:text></xsl:if>
333
            <xsl:if test="@tsyn = 3 or @tsyn = 'o'"><xsl:text>TS3</xsl:text></xsl:if>
524
            <xsl:if test="@tsyn = 4 or @tsyn = 'i'"><xsl:text>TS4</xsl:text></xsl:if>
334
            <xsl:if test="@tsyn = 4 or @tsyn = 'i'"><xsl:text>TS4</xsl:text></xsl:if>
525
            <xsl:if test="@tsyn = 5 or @tsyn = 's'"><xsl:text>TS5</xsl:text></xsl:if>
335
            <xsl:if test="@tsyn = 5 or @tsyn = 's'"><xsl:text>TS5</xsl:text></xsl:if>
526
            <xsl:if test="@tsyn = 6 or @tsyn = 'a'"><xsl:text>TS6</xsl:text></xsl:if>
336
            <xsl:if test="@tsyn = 6 or @tsyn = 'a'"><xsl:text>TS6</xsl:text></xsl:if>
527
            <xsl:if test="@tsyn = 7 or @tsyn = 'an'"><xsl:text>TS7</xsl:text></xsl:if>
337
            <xsl:if test="@tsyn = 7 or @tsyn = 'an'"><xsl:text>TS7</xsl:text></xsl:if>
528
            <xsl:if test="@tsyn = 8 or @tsyn = 'p'"><xsl:text>TS8</xsl:text></xsl:if>
338
            <xsl:if test="@tsyn = 8 or @tsyn = 'p'"><xsl:text>TS8</xsl:text></xsl:if>
529
            <xsl:if test="@tsyn = 9 or @tsyn = 'vo'"><xsl:text>TS9</xsl:text></xsl:if>
339
            <xsl:if test="@tsyn = 9 or @tsyn = 'vo'"><xsl:text>TS9</xsl:text></xsl:if>
530
            <xsl:if test="@tsyn = 10 or @tsyn = 'is'"><xsl:text>TS10</xsl:text></xsl:if>
340
            <xsl:if test="@tsyn = 10 or @tsyn = 'is'"><xsl:text>TS10</xsl:text></xsl:if>
531
            <xsl:text>Child</xsl:text>
341
            <xsl:text>Child</xsl:text>
532
        </xsl:attribute>
342
        </xsl:attribute>
533
        <xsl:attribute name="class">child</xsl:attribute>
343
        <xsl:attribute name="class">child</xsl:attribute>
534
        <xsl:attribute name="style">margin-bottom: 5px;</xsl:attribute>
344
        <xsl:attribute name="style">margin-bottom: 5px;</xsl:attribute>
535
 
345
 
536
    <!-- Cas où le nom comporte des infos de biblio ou sur la combinaison -->
346
    <!-- Cas où le nom comporte des infos de biblio ou sur la combinaison -->
537
    <xsl:if test="boolean(BIBLIOGRAPHIE) or boolean(INFO_COMBINAISON)">
347
    <xsl:if test="boolean(BIBLIOGRAPHIE) or boolean(INFO_COMBINAISON)">
538
        <xsl:apply-templates select="BIBLIOGRAPHIE" />
348
        <xsl:apply-templates select="BIBLIOGRAPHIE" />
539
        <xsl:apply-templates select="INFO_COMBINAISON" />
349
        <xsl:apply-templates select="INFO_COMBINAISON" />
540
        <xsl:text>  </xsl:text>
350
        <xsl:text>  </xsl:text>
541
        <xsl:text> [ </xsl:text>
351
        <xsl:text> [ </xsl:text>
542
        <span>
352
        <em>
543
            <xsl:attribute name="class">eflore_num_nomen</xsl:attribute>
353
            <xsl:attribute name="class">eflore_num_nomen</xsl:attribute>
544
                <xsl:value-of select="@numnom"/>
354
                <xsl:value-of select="@numnom"/>
545
        </span>
355
        </em>
546
        <xsl:text> - </xsl:text>
356
        <xsl:text> - </xsl:text>
547
        <span>
357
        <em>
548
            <xsl:attribute name="class">eflore_num_taxo</xsl:attribute>
358
            <xsl:attribute name="class">eflore_num_taxo</xsl:attribute>
549
                <xsl:value-of select="../@numtaxo"/>
359
                <xsl:value-of select="../@numtaxo"/>
550
        </span>
360
        </em>
551
        <xsl:text> ] </xsl:text>
361
        <xsl:text> ] </xsl:text>
552
    </xsl:if>
362
    </xsl:if>
553
 
363
 
554
    <!-- Cas où le nom comporte aucune info de biblio ou sur la combinaison -->
364
    <!-- Cas où le nom comporte aucune info de biblio ou sur la combinaison -->
555
    <xsl:if test="not(BIBLIOGRAPHIE) and not (INFO_COMBINAISON)">
365
    <xsl:if test="not(BIBLIOGRAPHIE) and not (INFO_COMBINAISON)">
556
            <xsl:text>  </xsl:text>
366
            <xsl:text>  </xsl:text>
557
            <xsl:text> [ </xsl:text>
367
            <xsl:text> [ </xsl:text>
558
            <span>
368
            <em>
559
                <xsl:attribute name="class">eflore_num_nomen</xsl:attribute>
369
                <xsl:attribute name="class">eflore_num_nomen</xsl:attribute>
560
                    <xsl:value-of select="@numnom"/>
370
                    <xsl:value-of select="@numnom"/>
561
            </span>
371
            </em>
562
            <xsl:text> - </xsl:text>
372
            <xsl:text> - </xsl:text>
563
            <span>
373
            <em>
564
                <xsl:attribute name="class">eflore_num_taxo</xsl:attribute>
374
                <xsl:attribute name="class">eflore_num_taxo</xsl:attribute>
565
                    <xsl:value-of select="../@numtaxo"/>
375
                    <xsl:value-of select="../@numtaxo"/>
566
            </span>
376
            </em>
567
            <xsl:text> ] </xsl:text>
377
            <xsl:text> ] </xsl:text>
568
    </xsl:if>
378
    </xsl:if>
569
 
379
 
570
    </div>
-
 
571
    </td>
380
    </span>
572
    </tr>
381
    </li>
573
</xsl:template>
382
</xsl:template>
574
 
383
 
575
<xsl:template match="NOM_TAXON" mode="parent">
384
<xsl:template match="NOM_TAXON" mode="parent">
576
    <li>
385
    <li>
577
        <b>
386
        <strong>
578
            <xsl:apply-templates select="NOM" />
387
            <xsl:apply-templates select="NOM" />
579
        </b>
388
        </strong>
580
        <a>
389
        <a>
581
            <xsl:attribute name="style">text-decoration: none;</xsl:attribute>
390
            <xsl:attribute name="style">text-decoration: none;</xsl:attribute>
582
            <xsl:attribute name="href">transformer.php?xslt=classificationtaxons.xsl&amp;paramxslt=<xsl:value-of select="position()+2"/>&amp;servicexml=donneclassificationtaxons.php&amp;profondeur=<xsl:value-of select="position()+2"/>&amp;numclass=1&amp;numnom=<xsl:value-of select="@numnom" /></xsl:attribute>
391
            <xsl:attribute name="href">transformer.php?xslt=classificationtaxons.xsl&amp;paramxslt=<xsl:value-of select="position()+2"/>&amp;servicexml=donneclassificationtaxons.php&amp;profondeur=<xsl:value-of select="position()+2"/>&amp;numclass=1&amp;numnom=<xsl:value-of select="@numnom" /></xsl:attribute>
583
            (...)
392
            (...)
584
        </a>
393
        </a>
585
    </li>
394
    </li>
586
</xsl:template>
395
</xsl:template>
587
 
396
 
588
<xsl:template match="NOM">
397
<xsl:template match="NOM">
589
    &#160;
398
    &#160;
590
    <b>
399
    <xsl:if test="not(contains(@type, ''))">
591
        <xsl:value-of select="@type"/>
400
        <strong><xsl:value-of select="@type"/></strong>
592
    </b>
401
    </xsl:if>
593
    <i>
-
 
594
        <xsl:value-of select="."/>
402
    <em><xsl:value-of select="."/></em>
595
    </i>
-
 
596
    &#160;
403
    &#160;
597
    <xsl:value-of select="@auteur"/>
404
    <xsl:value-of select="@auteur"/>
598
</xsl:template>
405
</xsl:template>
599
 
406
 
600
<xsl:template match="BIBLIOGRAPHIE ">
407
<xsl:template match="BIBLIOGRAPHIE ">
601
    &#160;
408
    &#160;
602
    <xsl:value-of select="@annee"/>
409
    <xsl:value-of select="@annee"/>
603
    &#160;
410
    &#160;
604
    <xsl:value-of select="."/>
411
    <xsl:value-of select="."/>
605
</xsl:template>
412
</xsl:template>
606
 
413
 
607
<xsl:template match="INFO_COMBINAISON ">
414
<xsl:template match="INFO_COMBINAISON ">
608
    &#160;
415
    &#160;
609
    <xsl:value-of select="."/>
416
    <xsl:value-of select="."/>
610
</xsl:template>
417
</xsl:template>
611
 
418
 
612
<xsl:template match="NOM_VERNACULAIRE">
419
<xsl:template match="NOM_VERNACULAIRE">
613
    <tr class="texte_tb" >
420
    <tr>
614
        <td width="50" align="left">
421
        <td><xsl:value-of select="@langue"/></td>
615
            <li>
-
 
616
                <xsl:value-of select="@langue"/>
422
        <td><xsl:value-of select="@pays"/></td>
617
            </li>
-
 
618
        </td>
423
        <td>
619
        <td width="30" align="left">
424
            <xsl:if test="@emploi='1'">
620
            <xsl:value-of select="@pays"/>
425
                <strong><xsl:value-of select="."/></strong>
621
        </td>
426
            </xsl:if>
622
        <td width="220" >
-
 
623
        <xsl:if test="@emploi='1'">
427
            <xsl:if test="@emploi='0' or @emploi='2' or @emploi='3'">
624
            <b>
-
 
625
                <xsl:value-of select="."/>
428
                <xsl:value-of select="."/>
626
            </b>
-
 
627
        </xsl:if>
429
            </xsl:if>
628
        <xsl:if test="@emploi='0' or @emploi='2' or @emploi='3'">
-
 
629
            <xsl:value-of select="."/>
-
 
630
        </xsl:if>
-
 
631
        </td>
430
        </td>
632
        <td width="150" >
-
 
633
                <xsl:choose>
-
 
634
                    <xsl:when test="@emploi='0'">
-
 
635
                        &#032;
-
 
636
                    </xsl:when>
-
 
637
                    <xsl:when test="@emploi='1'">
-
 
638
                        recommandé ou typique
-
 
639
                    </xsl:when>
-
 
640
                    <xsl:when test="@emploi='2'">
-
 
641
                        secondaire ou régional
-
 
642
                    </xsl:when>
-
 
643
                    <xsl:when test="@emploi='3'">
-
 
644
                        peu usité et à éviter
-
 
645
                    </xsl:when>
-
 
646
                </xsl:choose>
-
 
647
        </td>
431
        <td>
648
        <td width="50" align="center">
-
 
649
            <xsl:choose>
432
            <xsl:choose>
650
                <xsl:when test="@genre='0'">
433
                <xsl:when test="@emploi='0'">
651
                    &#032;
434
                    &#032;
652
                </xsl:when>
435
                </xsl:when>
653
                <xsl:when test="@genre='1'">
436
                <xsl:when test="@emploi='1'">recommandé ou typique</xsl:when>
654
                    masculin
-
 
655
                </xsl:when>
-
 
656
                <xsl:when test="@genre='2'">
437
                <xsl:when test="@emploi='2'">secondaire ou régional</xsl:when>
657
                    féminin
-
 
658
                </xsl:when>
-
 
659
                <xsl:when test="@genre='3'">
438
                <xsl:when test="@emploi='3'">peu usité et à éviter</xsl:when>
660
                    neutre
-
 
661
                </xsl:when>
-
 
662
                <xsl:when test="@genre='4'">
-
 
663
                    duel
-
 
664
                </xsl:when>
-
 
665
            </xsl:choose>
439
            </xsl:choose>
666
        </td>
440
        </td>
667
        <td width="50" align="center">
441
        <td>
668
            <xsl:choose>
442
            <xsl:choose>
669
                <xsl:when test="@nombre='0'">
443
                <xsl:when test="@genre='0'">&#032;</xsl:when>
670
                    &#032;
444
                <xsl:when test="@genre='1'">masculin</xsl:when>
671
                </xsl:when>
445
                <xsl:when test="@genre='2'">féminin</xsl:when>
672
                <xsl:when test="@nombre='1'">
446
                <xsl:when test="@genre='3'">neutre</xsl:when>
673
                    singulier
447
                <xsl:when test="@genre='4'">duel</xsl:when>
674
                </xsl:when>
448
            </xsl:choose>
675
                <xsl:when test="@nombre='2'">
449
        </td>
676
                    pluriel
450
        <td>
677
                </xsl:when>
451
            <xsl:choose>
678
                <xsl:when test="@nombre='3'">
452
                <xsl:when test="@nombre='0'">&#032;</xsl:when>
-
 
453
                <xsl:when test="@nombre='1'">singulier</xsl:when>
679
                    duel
454
                <xsl:when test="@nombre='2'">pluriel</xsl:when>
680
                </xsl:when>
455
                <xsl:when test="@nombre='3'">duel</xsl:when>
681
            </xsl:choose>
456
            </xsl:choose>
682
        </td>
457
        </td>
683
    </tr>
458
    </tr>
684
</xsl:template>
459
</xsl:template>
685
 
460
 
686
</xsl:stylesheet>
461
</xsl:stylesheet>