Subversion Repositories eFlore/Archives.eflore-consultation-v1

Rev

Rev 2 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2 Rev 5
Line 1... Line 1...
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
<xsl:output method="html" version="1.0" standalone="yes" indent="yes" encoding="iso-8859-1"/> 
3
<xsl:output method="xml" version="1.0" standalone="yes" indent="yes" encoding="iso-8859-1"/> 
Line 4... Line 4...
4
 
4
 
5
<xsl:template match="/">  
5
<xsl:template match="/">  
6
    <xsl:apply-templates select="FICHE_LISTE_NOMS_VERNACULAIRES"/>
6
    <xsl:apply-templates select="FICHE_LISTE_NOMS_VERNACULAIRES"/>
Line 7... Line 7...
7
</xsl:template> 
7
</xsl:template> 
8
 
-
 
9
<xsl:template match="FICHE_LISTE_NOMS_VERNACULAIRES">
-
 
10
    <tr class="titlePage">
8
 
11
        <td >
-
 
12
            Liste des noms vernaculaires trouvés
-
 
13
        </td>
9
<xsl:template match="FICHE_LISTE_NOMS_VERNACULAIRES">
14
    </tr>
-
 
15
    <xsl:if test="not(LISTE_NOMS_VERNACULAIRES/ASSOCIATION_NOM_VERNACULAIRE_TAXON)">
-
 
16
        <tr>
-
 
17
            <td>
-
 
18
                <br/>
-
 
19
            </td>
-
 
20
        </tr>
-
 
21
        <tr class="eflore_avertissement">
10
    <h1 class="eflore_titre1">Liste des noms vernaculaires trouvés</h1>
22
            <td align="center">
-
 
23
                Il n'existe aucun nom vernaculaire correspondant au radical recherch&#233;.
-
 
24
            </td>
-
 
25
        </tr>
-
 
26
        <tr>
-
 
27
            <td>
-
 
28
                <br/>
-
 
29
            </td>
11
    <xsl:if test="not(LISTE_NOMS_VERNACULAIRES/ASSOCIATION_NOM_VERNACULAIRE_TAXON)">
30
        </tr>
-
 
31
        <tr class="eflore_avertissement">
12
        <p class="eflore_avertissement">Il n'existe aucun nom vernaculaire correspondant au radical recherch&#233;.</p>
32
            <td align="center">
13
        <p class="eflore_avertissement">
33
                <!--Lien vers le site de test de Tela-Botanica-->
14
            <!--Lien vers le site de test de Tela-Botanica-->
34
                <!--Cliquer <a href="http://test.tela-botanica.org/eflore" target="_top">ICI</a> pour retourner au formulaire principal de l'Index.-->
15
            <!--Cliquer <a href="http://test.tela-botanica.org/eflore" target="_top">ICI</a> pour retourner au formulaire principal de l'Index.-->
35
                <!--Lien vers le site officiel de Tela-Botanica-->
-
 
36
                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.
-
 
37
            </td>
-
 
38
        </tr>
-
 
39
        <tr>
-
 
40
            <td>
-
 
41
                <br/>
-
 
42
                <br/>
16
            <!--Lien vers le site officiel de Tela-Botanica-->
43
            </td>
17
            Cliquer <a href="http://www.tela-botanica.org/eflore" onclick="history.back();return false;">ICI</a> pour retourner au formulaire principal de l'Index.
44
        </tr>
18
        </p>
45
    </xsl:if>
19
    </xsl:if>
46
    <xsl:if test="boolean(LISTE_NOMS_VERNACULAIRES/ASSOCIATION_NOM_VERNACULAIRE_TAXON)">
20
    <xsl:if test="boolean(LISTE_NOMS_VERNACULAIRES/ASSOCIATION_NOM_VERNACULAIRE_TAXON)">
47
        <xsl:apply-templates select="LISTE_NOMS_VERNACULAIRES"/>
21
        <xsl:apply-templates select="LISTE_NOMS_VERNACULAIRES"/>
Line 48... Line 22...
48
    </xsl:if>
22
    </xsl:if>
49
</xsl:template> 
-
 
50
 
-
 
51
<xsl:template match="LISTE_NOMS_VERNACULAIRES">
23
</xsl:template> 
52
    <tr class="insTitle1">
24
 
53
        <td>
-
 
54
            Cliquer sur un des noms vernaculaires pour afficher la fiche du taxon correspondante. 
-
 
55
        </td>
25
<xsl:template match="LISTE_NOMS_VERNACULAIRES">
56
    </tr>
-
 
57
    <tr>
-
 
58
        <td>
-
 
59
            &#032;
-
 
60
        </td>
26
    <h2 class="eflore_titre2">Cliquer sur un des noms vernaculaires pour afficher la fiche du taxon correspondante.</h2>
61
    </tr>
-
 
62
    <tr class="texte_tb">
-
 
63
        <td>
-
 
64
            <table border="0" width="*" cellpading="0" cellspacing="0">
27
    <table class="eflore_table_nom_verna">
65
                <tr class="eflore_commentaire" >
28
        <thead>
66
                    <td width="70" align="left">
29
            <tr>
67
                        Langue / Pays
30
                <th>Langue</th>
68
                    </td>
31
                <th>Pays</th>
69
                    <td align="center" width="130">
-
 
70
                        Nom vernaculaire
-
 
71
                    </td>
32
                <th>Nom vernaculaire</th>
72
                    <td align="left" width="*">
33
                <th>Nom latin du taxon correspondant</th>
73
                        Nom latin du taxon correspondant
34
            </tr>
74
                    </td>
-
 
75
                </tr>
35
        </thead>
76
                <xsl:apply-templates select="ASSOCIATION_NOM_VERNACULAIRE_TAXON"/>
36
        <tbody>
77
            </table>
37
            <xsl:apply-templates select="ASSOCIATION_NOM_VERNACULAIRE_TAXON"/>
Line 78... Line 38...
78
        </td>
38
        </tbody>
79
    </tr>
-
 
80
</xsl:template> 
-
 
81
 
-
 
82
<xsl:template match="ASSOCIATION_NOM_VERNACULAIRE_TAXON">
39
    </table>
83
    <tr class="texte_tb" >
40
</xsl:template> 
84
        <td width="70">
-
 
85
            <xsl:attribute name="style">text-align : left;</xsl:attribute>
41
 
86
                <li>
-
 
87
                    <xsl:value-of select="NOM_VERNACULAIRE/@langue"/>
-
 
88
                    <xsl:text> / </xsl:text>
42
<xsl:template match="ASSOCIATION_NOM_VERNACULAIRE_TAXON">
89
                    <xsl:value-of select="NOM_VERNACULAIRE/@pays"/>
-
 
90
                    <xsl:text> : </xsl:text>
43
    <tr>
91
                </li>
44
        <td><xsl:value-of select="NOM_VERNACULAIRE/@langue"/></td>
92
        </td>
45
        <td><xsl:value-of select="NOM_VERNACULAIRE/@pays"/></td>
93
        <td width="130" align="left" >
46
        <td>
94
            <xsl:choose>
47
            <xsl:choose>
Line 102... Line 55...
102
            <xsl:when test="not(boolean(NOM_TAXON_VALIDE/NOM_TAXON))">
55
            <xsl:when test="not(boolean(NOM_TAXON_VALIDE/NOM_TAXON))">
103
                <xsl:apply-templates select="NOM_VERNACULAIRE"/>
56
                <xsl:apply-templates select="NOM_VERNACULAIRE"/>
104
            </xsl:when>
57
            </xsl:when>
105
            </xsl:choose>
58
            </xsl:choose>
106
        </td>
59
        </td>
107
        <td width="*">
-
 
108
            <xsl:attribute name="style">text-align : left;</xsl:attribute>
-
 
109
                <xsl:apply-templates select="./NOM_TAXON_VALIDE"/>
60
        <td><xsl:apply-templates select="./NOM_TAXON_VALIDE"/></td>
110
        </td>
-
 
111
    </tr>
61
    </tr>
112
</xsl:template> 
62
</xsl:template> 
Line 113... Line 63...
113
 
63
 
114
<xsl:template match="NOM_VERNACULAIRE">
64
<xsl:template match="NOM_VERNACULAIRE">
Line 122... Line 72...
122
<xsl:template match="NOM_TAXON">
72
<xsl:template match="NOM_TAXON">
123
    <xsl:apply-templates select="NOM" />
73
    <xsl:apply-templates select="NOM" />
124
</xsl:template>
74
</xsl:template>
Line 125... Line 75...
125
 
75
 
126
<xsl:template match="NOM">
76
<xsl:template match="NOM">
127
    <b>
77
    <xsl:if test="not(contains(@type, ''))">
128
        <xsl:value-of select="@type"/>
78
        <strong><xsl:value-of select="@type"/></strong>
129
    </b>
-
 
130
    <i>
79
    </xsl:if>
131
        <xsl:value-of select="."/>
-
 
132
    </i>
-
 
133
    
80
    <em><xsl:value-of select="."/></em>
134
    <xsl:if test="position() = last()">
81
    <xsl:if test="position() = last()">
135
        &#160;
82
        &#160;
136
        <xsl:value-of select="@auteur"/>
83
        <xsl:value-of select="@auteur"/>
137
    </xsl:if>
84
    </xsl:if>
Line 138... Line 85...
138
</xsl:template>
85
</xsl:template>
139
 
86