Subversion Repositories eFlore/Archives.eflore-consultation-v1

Compare Revisions

Ignore whitespace Rev 1 → Rev 2

/trunk/bibliotheque/xsl/classificationtaxons.xsl
New file
0,0 → 1,103
<?xml version="1.0" encoding="iso-8859-1"?>
 
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="html" encoding="iso-8859-1" version="1.0" standalone="yes" indent="yes" />
 
<xsl:param name="param"/>
 
<xsl:template match="/">
<tr class="titlePage">
<td>
Liste des taxons de rang inf&#233;rieur
</td>
</tr>
<tr>
<td>
<br/>
</td>
</tr>
<xsl:apply-templates select="FICHE_CLASSIFICATION_TAXONS" />
</xsl:template>
 
<xsl:template match="FICHE_CLASSIFICATION_TAXONS">
<xsl:apply-templates select="CLASSIFICATION_TAXON" />
</xsl:template>
 
<xsl:template match="CLASSIFICATION_TAXON">
<xsl:apply-templates select="NOM_TAXON" mode="titre"/>
<tr class="texte_tb">
<td>
<ul>
<xsl:apply-templates select="LISTE_CLASSIFICATIONS_FILLES/CLASSIFICATION_TAXON/NOM_TAXON" />
</ul>
</td>
</tr>
</xsl:template>
 
 
<xsl:template match="NOM_TAXON" mode="titre">
<tr class="insTitle1">
<td>
Niveau taxinomique s&#233;lectionn&#233;
</td>
</tr>
<tr class="eflore_commentaire">
<td>
Cliquer sur le nom du taxon pour obtenir la fiche d'identit&#233; du taxon.
</td>
</tr>
<tr class="texte_tb">
<td>
<b>
<a>
<xsl:attribute name="style">text-decoration: none;</xsl:attribute>
<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>
<xsl:apply-templates select="NOM" />
</a>
</b>
</td>
</tr>
<tr class="insTitle1">
<td>
Niveaux taxonomiques inférieurs
</td>
</tr>
<tr class="eflore_commentaire">
<td>
Cliquer sur le nom du taxon pour obtenir la fiche d'identit&#233; du taxon.
<br/>
Cliquer sur (...) pour obtenir la liste des taxons de rang inf&#233;rieur.
</td>
</tr>
</xsl:template>
 
<xsl:template match="NOM_TAXON">
<li>
<a>
<xsl:attribute name="style">text-decoration: none;</xsl:attribute>
<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>
<b>
<xsl:apply-templates select="NOM" />
</b>
</a>
<a>
<xsl:attribute name="style">text-decoration: none;</xsl:attribute>
<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>
(...)
</a>
</li>
</xsl:template>
 
<xsl:template match="NOM">
&#160;
<b>
<xsl:value-of select="@type"/>
</b>
<i>
<xsl:value-of select="."/>
</i>
&#160;
<xsl:value-of select="@auteur"/>
</xsl:template>
 
</xsl:stylesheet>