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
 
3
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
4
    <xsl:output method="html" encoding="iso-8859-1" version="1.0" standalone="yes" indent="yes" />
5
 
6
    <xsl:param name="param"/>
7
 
8
    <xsl:template match="/">
9
        <tr class="titlePage">
10
            <td>
11
                Liste des taxons de rang inf&#233;rieur
12
            </td>
13
        </tr>
14
        <tr>
15
            <td>
16
                 <br/>
17
            </td>
18
        </tr>
19
        <xsl:apply-templates select="FICHE_CLASSIFICATION_TAXONS" />
20
    </xsl:template>
21
 
22
    <xsl:template match="FICHE_CLASSIFICATION_TAXONS">
23
        <xsl:apply-templates select="CLASSIFICATION_TAXON" />
24
    </xsl:template>
25
 
26
    <xsl:template match="CLASSIFICATION_TAXON">
27
        <xsl:apply-templates select="NOM_TAXON" mode="titre"/>
28
        <tr class="texte_tb">
29
            <td>
30
                <ul>
31
                    <xsl:apply-templates select="LISTE_CLASSIFICATIONS_FILLES/CLASSIFICATION_TAXON/NOM_TAXON" />
32
                </ul>
33
            </td>
34
        </tr>
35
    </xsl:template>
36
 
37
 
38
    <xsl:template match="NOM_TAXON" mode="titre">
39
        <tr class="insTitle1">
40
            <td>
41
                Niveau taxinomique s&#233;lectionn&#233;
42
            </td>
43
        </tr>
44
    <tr class="eflore_commentaire">
45
        <td>
46
            Cliquer sur le nom du taxon pour obtenir la fiche d'identit&#233; du taxon.
47
        </td>
48
    </tr>
49
        <tr class="texte_tb">
50
            <td>
51
                <b>
52
                    <a>
53
                        <xsl:attribute name="style">text-decoration: none;</xsl:attribute>
54
                        <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>
55
                        <xsl:apply-templates select="NOM" />
56
                    </a>
57
                </b>
58
            </td>
59
        </tr>
60
        <tr class="insTitle1">
61
            <td>
62
                Niveaux taxonomiques inférieurs
63
            </td>
64
        </tr>
65
    <tr class="eflore_commentaire">
66
        <td>
67
            Cliquer sur le nom du taxon pour obtenir la fiche d'identit&#233; du taxon.
68
            <br/>
69
            Cliquer sur (...) pour obtenir la liste des taxons de rang inf&#233;rieur.
70
        </td>
71
    </tr>
72
    </xsl:template>
73
 
74
    <xsl:template match="NOM_TAXON">
75
                    <li>
76
                        <a>
77
                            <xsl:attribute name="style">text-decoration: none;</xsl:attribute>
78
                            <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>
79
                            <b>
80
                                <xsl:apply-templates select="NOM" />
81
                            </b>
82
                        </a>
83
                        <a>
84
                            <xsl:attribute name="style">text-decoration: none;</xsl:attribute>
85
                            <xsl:attribute name="href">transformer.php?xslt=classificationtaxons.xsl&amp;paramxslt=<xsl:value-of select="$param+1"/>&amp;servicexml=donneclassificationtaxons.php&amp;profondeur=<xsl:value-of select="$param+1"/>&amp;numclass=1&amp;numnom=<xsl:value-of select="@numnom" /></xsl:attribute>
86
                            (...)
87
                        </a>
88
                    </li>
89
    </xsl:template>
90
 
91
    <xsl:template match="NOM">
92
        &#160;
93
        <b>
94
            <xsl:value-of select="@type"/>
95
        </b>
96
        <i>
97
            <xsl:value-of select="."/>
98
        </i>
99
        &#160;
100
        <xsl:value-of select="@auteur"/>
101
    </xsl:template>
102
 
103
</xsl:stylesheet>