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"?> 
Line 2... Line 2...
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"> 
Line 4... Line 4...
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" /> 
Line 5... Line 5...
5
 
5
 
6
    <xsl:param name="param"/>
-
 
7
 
-
 
8
    <xsl:template match="/"> 
6
    <xsl:param name="param"/>
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/>
7
 
17
            </td>
8
    <xsl:template match="/"> 
Line 18... Line 9...
18
        </tr>
9
        <h1 class="eflore_titre1">Liste des taxons de rang inf&#233;rieur</h1>
19
        <xsl:apply-templates select="FICHE_CLASSIFICATION_TAXONS" />
10
        <xsl:apply-templates select="FICHE_CLASSIFICATION_TAXONS" />
20
    </xsl:template> 
11
    </xsl:template> 
Line 21... Line 12...
21
 
12
 
22
    <xsl:template match="FICHE_CLASSIFICATION_TAXONS">  
13
    <xsl:template match="FICHE_CLASSIFICATION_TAXONS">  
23
        <xsl:apply-templates select="CLASSIFICATION_TAXON" />
-
 
24
    </xsl:template> 
14
        <xsl:apply-templates select="CLASSIFICATION_TAXON" />
25
 
-
 
26
    <xsl:template match="CLASSIFICATION_TAXON">
15
    </xsl:template> 
27
        <xsl:apply-templates select="NOM_TAXON" mode="titre"/>
-
 
28
        <tr class="texte_tb">
-
 
29
            <td>
16
 
30
                <ul>
17
    <xsl:template match="CLASSIFICATION_TAXON">
Line 31... Line -...
31
                    <xsl:apply-templates select="LISTE_CLASSIFICATIONS_FILLES/CLASSIFICATION_TAXON/NOM_TAXON" />
-
 
32
                </ul>
18
        <xsl:apply-templates select="NOM_TAXON" mode="titre"/>
33
            </td>
-
 
34
        </tr>
-
 
35
    </xsl:template> 
19
        <ul>
36
 
-
 
37
 
-
 
38
    <xsl:template match="NOM_TAXON" mode="titre">
-
 
39
        <tr class="insTitle1">
-
 
40
            <td>
20
            <xsl:apply-templates select="LISTE_CLASSIFICATIONS_FILLES/CLASSIFICATION_TAXON/NOM_TAXON" />
41
                Niveau taxinomique s&#233;lectionn&#233;
21
        </ul>
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.
22
    </xsl:template> 
47
        </td>
23
 
48
    </tr>
24
    <xsl:template match="NOM_TAXON" mode="titre">
49
        <tr class="texte_tb">
25
        <h2 class="eflore_titre2">Niveau taxinomique s&#233;lectionn&#233;</h2>
50
            <td>
-
 
51
                <b>
-
 
52
                    <a>
26
        <p class="eflore_commentaire">Cliquer sur le nom du taxon pour obtenir la fiche d'identit&#233; du taxon.</p>
53
                        <xsl:attribute name="style">text-decoration: none;</xsl:attribute>
27
        <p>
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>
28
            <strong><a>
57
                </b>
-
 
58
            </td>
-
 
59
        </tr>  
29
                <xsl:attribute name="style">text-decoration: none;</xsl:attribute>
60
        <tr class="insTitle1">
-
 
61
            <td>
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>
62
                Niveaux taxonomiques inférieurs
-
 
63
            </td>
31
                <xsl:apply-templates select="NOM" />
64
        </tr>
32
            </a></strong>
65
    <tr class="eflore_commentaire">
-
 
66
        <td>
33
        </p>
Line 67... Line 34...
67
            Cliquer sur le nom du taxon pour obtenir la fiche d'identit&#233; du taxon.
34
        <h2 class="eflore_titre2">Niveaux taxonomiques inférieurs</h2>
68
            <br/>
35
        <p class="eflore_commentaire">
69
            Cliquer sur (...) pour obtenir la liste des taxons de rang inf&#233;rieur.
36
            Cliquer sur le nom du taxon pour obtenir la fiche d'identit&#233; du taxon.<br/>
70
        </td>
37
            Cliquer sur (...) pour obtenir la liste des taxons de rang inf&#233;rieur.
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>
Line 88... Line 55...
88
                    </li>
55
                    </li>
89
    </xsl:template> 
56
    </xsl:template> 
Line 90... Line 57...
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>
-
 
96
        <i>
62
        </xsl:if>
97
            <xsl:value-of select="."/>
-
 
98
        </i>
63
        <em><xsl:value-of select="."/></em>
99
        &#160;
64
        &#160;
100
        <xsl:value-of select="@auteur"/>
65
        <xsl:value-of select="@auteur"/>
Line 101... Line 66...
101
    </xsl:template> 
66
    </xsl:template>