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