Subversion Repositories eFlore/Archives.eflore-consultation-v1

Compare Revisions

Ignore whitespace Rev 4 → Rev 5

/trunk/bibliotheque/xsl/listenomsvernaculaires.xsl
1,6 → 1,6
<?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" version="1.0" standalone="yes" indent="yes" encoding="iso-8859-1"/>
<xsl:output method="xml" version="1.0" standalone="yes" indent="yes" encoding="iso-8859-1"/>
 
<xsl:template match="/">
<xsl:apply-templates select="FICHE_LISTE_NOMS_VERNACULAIRES"/>
7,41 → 7,15
</xsl:template>
 
<xsl:template match="FICHE_LISTE_NOMS_VERNACULAIRES">
<tr class="titlePage">
<td >
Liste des noms vernaculaires trouvés
</td>
</tr>
<h1 class="eflore_titre1">Liste des noms vernaculaires trouvés</h1>
<xsl:if test="not(LISTE_NOMS_VERNACULAIRES/ASSOCIATION_NOM_VERNACULAIRE_TAXON)">
<tr>
<td>
<br/>
</td>
</tr>
<tr class="eflore_avertissement">
<td align="center">
Il n'existe aucun nom vernaculaire correspondant au radical recherch&#233;.
</td>
</tr>
<tr>
<td>
<br/>
</td>
</tr>
<tr class="eflore_avertissement">
<td align="center">
<!--Lien vers le site de test de Tela-Botanica-->
<!--Cliquer <a href="http://test.tela-botanica.org/eflore" target="_top">ICI</a> pour retourner au formulaire principal de l'Index.-->
<!--Lien vers le site officiel de Tela-Botanica-->
Cliquer <a href="http://www.tela-botanica.org/eflore" target="_top" onclick="history.back();return false;">ICI</a> pour retourner au formulaire principal de l'Index.
</td>
</tr>
<tr>
<td>
<br/>
<br/>
</td>
</tr>
<p class="eflore_avertissement">Il n'existe aucun nom vernaculaire correspondant au radical recherch&#233;.</p>
<p class="eflore_avertissement">
<!--Lien vers le site de test de Tela-Botanica-->
<!--Cliquer <a href="http://test.tela-botanica.org/eflore" target="_top">ICI</a> pour retourner au formulaire principal de l'Index.-->
<!--Lien vers le site officiel de Tela-Botanica-->
Cliquer <a href="http://www.tela-botanica.org/eflore" onclick="history.back();return false;">ICI</a> pour retourner au formulaire principal de l'Index.
</p>
</xsl:if>
<xsl:if test="boolean(LISTE_NOMS_VERNACULAIRES/ASSOCIATION_NOM_VERNACULAIRE_TAXON)">
<xsl:apply-templates select="LISTE_NOMS_VERNACULAIRES"/>
49,48 → 23,27
</xsl:template>
 
<xsl:template match="LISTE_NOMS_VERNACULAIRES">
<tr class="insTitle1">
<td>
Cliquer sur un des noms vernaculaires pour afficher la fiche du taxon correspondante.
</td>
</tr>
<tr>
<td>
&#032;
</td>
</tr>
<tr class="texte_tb">
<td>
<table border="0" width="*" cellpading="0" cellspacing="0">
<tr class="eflore_commentaire" >
<td width="70" align="left">
Langue / Pays
</td>
<td align="center" width="130">
Nom vernaculaire
</td>
<td align="left" width="*">
Nom latin du taxon correspondant
</td>
</tr>
<xsl:apply-templates select="ASSOCIATION_NOM_VERNACULAIRE_TAXON"/>
</table>
</td>
</tr>
<h2 class="eflore_titre2">Cliquer sur un des noms vernaculaires pour afficher la fiche du taxon correspondante.</h2>
<table class="eflore_table_nom_verna">
<thead>
<tr>
<th>Langue</th>
<th>Pays</th>
<th>Nom vernaculaire</th>
<th>Nom latin du taxon correspondant</th>
</tr>
</thead>
<tbody>
<xsl:apply-templates select="ASSOCIATION_NOM_VERNACULAIRE_TAXON"/>
</tbody>
</table>
</xsl:template>
 
<xsl:template match="ASSOCIATION_NOM_VERNACULAIRE_TAXON">
<tr class="texte_tb" >
<td width="70">
<xsl:attribute name="style">text-align : left;</xsl:attribute>
<li>
<xsl:value-of select="NOM_VERNACULAIRE/@langue"/>
<xsl:text> / </xsl:text>
<xsl:value-of select="NOM_VERNACULAIRE/@pays"/>
<xsl:text> : </xsl:text>
</li>
</td>
<td width="130" align="left" >
<tr>
<td><xsl:value-of select="NOM_VERNACULAIRE/@langue"/></td>
<td><xsl:value-of select="NOM_VERNACULAIRE/@pays"/></td>
<td>
<xsl:choose>
<xsl:when test="boolean(NOM_TAXON_VALIDE/NOM_TAXON)">
<a>
104,10 → 57,7
</xsl:when>
</xsl:choose>
</td>
<td width="*">
<xsl:attribute name="style">text-align : left;</xsl:attribute>
<xsl:apply-templates select="./NOM_TAXON_VALIDE"/>
</td>
<td><xsl:apply-templates select="./NOM_TAXON_VALIDE"/></td>
</tr>
</xsl:template>
 
124,13 → 74,10
</xsl:template>
 
<xsl:template match="NOM">
<b>
<xsl:value-of select="@type"/>
</b>
<i>
<xsl:value-of select="."/>
</i>
<xsl:if test="not(contains(@type, ''))">
<strong><xsl:value-of select="@type"/></strong>
</xsl:if>
<em><xsl:value-of select="."/></em>
<xsl:if test="position() = last()">
&#160;
<xsl:value-of select="@auteur"/>
137,4 → 84,4
</xsl:if>
</xsl:template>
 
</xsl:stylesheet>
</xsl:stylesheet>