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">
|
5 |
jpm |
4 |
<xsl:output method="xml" encoding="iso-8859-1" version="1.0" standalone="yes" indent="yes" />
|
2 |
jpm |
5 |
|
|
|
6 |
<xsl:param name="param"/>
|
|
|
7 |
|
|
|
8 |
<xsl:template match="/">
|
5 |
jpm |
9 |
<h1 class="eflore_titre1">Liste des taxons de rang inférieur</h1>
|
2 |
jpm |
10 |
<xsl:apply-templates select="FICHE_CLASSIFICATION_TAXONS" />
|
|
|
11 |
</xsl:template>
|
|
|
12 |
|
|
|
13 |
<xsl:template match="FICHE_CLASSIFICATION_TAXONS">
|
|
|
14 |
<xsl:apply-templates select="CLASSIFICATION_TAXON" />
|
|
|
15 |
</xsl:template>
|
|
|
16 |
|
|
|
17 |
<xsl:template match="CLASSIFICATION_TAXON">
|
|
|
18 |
<xsl:apply-templates select="NOM_TAXON" mode="titre"/>
|
5 |
jpm |
19 |
<ul>
|
|
|
20 |
<xsl:apply-templates select="LISTE_CLASSIFICATIONS_FILLES/CLASSIFICATION_TAXON/NOM_TAXON" />
|
|
|
21 |
</ul>
|
2 |
jpm |
22 |
</xsl:template>
|
|
|
23 |
|
|
|
24 |
<xsl:template match="NOM_TAXON" mode="titre">
|
5 |
jpm |
25 |
<h2 class="eflore_titre2">Niveau taxinomique sélectionné</h2>
|
|
|
26 |
<p class="eflore_commentaire">Cliquer sur le nom du taxon pour obtenir la fiche d'identité du taxon.</p>
|
|
|
27 |
<p>
|
|
|
28 |
<strong><a>
|
|
|
29 |
<xsl:attribute name="style">text-decoration: none;</xsl:attribute>
|
|
|
30 |
<xsl:attribute name="href">transformer.php?xslt=identitetaxon.xsl&servicexml=donneidentitestaxons.php&numclass=1&numnom=<xsl:value-of select="@numnom" /></xsl:attribute>
|
|
|
31 |
<xsl:apply-templates select="NOM" />
|
|
|
32 |
</a></strong>
|
|
|
33 |
</p>
|
|
|
34 |
<h2 class="eflore_titre2">Niveaux taxonomiques inférieurs</h2>
|
|
|
35 |
<p class="eflore_commentaire">
|
|
|
36 |
Cliquer sur le nom du taxon pour obtenir la fiche d'identité du taxon.<br/>
|
2 |
jpm |
37 |
Cliquer sur (...) pour obtenir la liste des taxons de rang inférieur.
|
5 |
jpm |
38 |
</p>
|
2 |
jpm |
39 |
</xsl:template>
|
|
|
40 |
|
|
|
41 |
<xsl:template match="NOM_TAXON">
|
|
|
42 |
<li>
|
|
|
43 |
<a>
|
|
|
44 |
<xsl:attribute name="style">text-decoration: none;</xsl:attribute>
|
|
|
45 |
<xsl:attribute name="href">transformer.php?xslt=identitetaxon.xsl&servicexml=donneidentitestaxons.php&numclass=1&numnom=<xsl:value-of select="@numnom" /></xsl:attribute>
|
5 |
jpm |
46 |
<strong>
|
2 |
jpm |
47 |
<xsl:apply-templates select="NOM" />
|
5 |
jpm |
48 |
</strong>
|
2 |
jpm |
49 |
</a>
|
|
|
50 |
<a>
|
|
|
51 |
<xsl:attribute name="style">text-decoration: none;</xsl:attribute>
|
|
|
52 |
<xsl:attribute name="href">transformer.php?xslt=classificationtaxons.xsl&paramxslt=<xsl:value-of select="$param+1"/>&servicexml=donneclassificationtaxons.php&profondeur=<xsl:value-of select="$param+1"/>&numclass=1&numnom=<xsl:value-of select="@numnom" /></xsl:attribute>
|
|
|
53 |
(...)
|
|
|
54 |
</a>
|
|
|
55 |
</li>
|
|
|
56 |
</xsl:template>
|
|
|
57 |
|
|
|
58 |
<xsl:template match="NOM">
|
|
|
59 |
 
|
5 |
jpm |
60 |
<xsl:if test="not(contains(@type, ''))">
|
|
|
61 |
<strong><xsl:value-of select="@type"/></strong>
|
|
|
62 |
</xsl:if>
|
|
|
63 |
<em><xsl:value-of select="."/></em>
|
2 |
jpm |
64 |
 
|
|
|
65 |
<xsl:value-of select="@auteur"/>
|
|
|
66 |
</xsl:template>
|
|
|
67 |
|
|
|
68 |
</xsl:stylesheet>
|