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