Subversion Repositories eFlore/Archives.eflore-consultation-v1

Compare Revisions

Ignore whitespace Rev 4 → Rev 5

/trunk/bibliotheque/xsl/identitetaxon.xsl
1,39 → 1,30
<?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" />
<!-- Mettre méthode "xml" pour faire du xhtml -->
<xsl:output method="xml" encoding="iso-8859-1" version="1.0" standalone="yes" indent="yes" />
 
<!-- DECLARATION DE VARIABLES-->
<!-- Variable "nom_url" récupérant le numéro nomenclatural du nom recherché.-->
<!-- Ce numéro est présent dans l'url appelant le service XML "donneidentitestaxons".-->
<xsl:variable name="nom_url" select="/FICHE_IDENTITES_TAXONS/@numnom" />
 
<!-- Variable "taxo_url" récupérant le numéro taxonomique du nom recherché,-->
<!-- donc présent dans l'url appelant le service XML "donneidentitestaxons".-->
<!-- Utilisé pour récupérer le nom vernaculaire séléctionné.-->
<xsl:variable name="taxo_url" select="/FICHE_IDENTITES_TAXONS/@numtaxo" />
<!-- Chemin d'accès à l'image "ouvrir".-->
<xsl:variable name="chemin_img_ouvrir">/client/eflore_ancien/presentations/images/ouvrir.png</xsl:variable>
<!-- Chemin d'accès à l'image "fermer".-->
<xsl:variable name="chemin_img_fermer">/client/eflore_ancien/presentations/images/fermer.png</xsl:variable>
 
<xsl:template match="/">
<tr class="titlePage">
<td>
Identit&#233; du taxon
</td>
</tr>
 
<h1>Identit&#233; du taxon</h1>
<xsl:apply-templates/>
</xsl:template>
 
<xsl:template match="FICHE_IDENTITES_TAXONS">
<xsl:if test="not(boolean(/FICHE_IDENTITES_TAXONS/NOM_VALIDE)) and not(boolean(/FICHE_IDENTITES_TAXONS/LISTE_NOMS_VALIDES))">
<tr class="insTitle1">
<td>
Nom retenu (correct)
</td>
</tr>
<tr class="eflore_avertissement">
<td align="center">
Il n'existe aucun nom retenu (correct) pour ce taxon relativement à la classification courante.
</td>
</tr>
<h2 class="eflore_titre2">Nom retenu (correct)</h2>
<p class="eflore_avertissement">Il n'existe aucun nom retenu (correct) pour ce taxon relativement à la classification courante.</p>
</xsl:if>
<xsl:if test="not(boolean($taxo_url))">
<xsl:apply-templates select ="LISTE_SYNONYMES" mode="nom_url"/>
49,361 → 40,199
<!-- car dans "listetaxons.xsl", l'url permettant d'obtenir la fiche d'identité du taxon utilise le n° nomenclatural-->
<!-- Ce n° nomenclatural apparait dans dans la balise "FICHE_IDENTITES_TAXONS" sous forme de l'attribut "numnom"-->
<xsl:template match="LISTE_SYNONYMES" mode="nom_url">
<tr class="insTitle1">
<td>
Nom s&#233;lectionn&#233; pr&#233;c&#233;demment
<xsl:text> </xsl:text>
</td>
</tr>
<tr class="texte_tb">
<td>
<li>
<xsl:if test="/FICHE_IDENTITES_TAXONS/NOM_VALIDE/NOM_TAXON/@numnom = $nom_url">
<xsl:apply-templates select="/FICHE_IDENTITES_TAXONS/NOM_VALIDE/NOM_TAXON[@numnom]" />
</xsl:if>
<xsl:if test="NOM_TAXON/@numnom = $nom_url">
<xsl:apply-templates select="NOM_TAXON[@numnom = $nom_url]" />
</xsl:if>
<xsl:text> </xsl:text>
<xsl:text> [ </xsl:text>
<span>
<xsl:attribute name="class">eflore_num_nomen</xsl:attribute>
<xsl:value-of select="$nom_url"/>
</span>
<xsl:text> - </xsl:text>
<span>
<xsl:attribute name="class">eflore_num_taxo</xsl:attribute>
<xsl:value-of select="@numtaxo"/>
</span>
<xsl:text> ] </xsl:text>
</li>
<!--<xsl:if test="boolean($taxo_url)">
<xsl:apply-templates select="/FICHE_IDENTITES_TAXONS/LISTE_NOMS_VERNACULAIRES/NOM_VERNACULAIRE[@numtaxo = $taxo_url]" />
</xsl:if>-->
<br />
</td>
</tr>
<h2 class="eflore_titre2">Nom s&#233;lectionn&#233; pr&#233;c&#233;demment<xsl:text> </xsl:text></h2>
<p>
<xsl:if test="/FICHE_IDENTITES_TAXONS/NOM_VALIDE/NOM_TAXON/@numnom = $nom_url">
<xsl:apply-templates select="/FICHE_IDENTITES_TAXONS/NOM_VALIDE/NOM_TAXON[@numnom]" />
</xsl:if>
<xsl:if test="NOM_TAXON/@numnom = $nom_url">
<xsl:apply-templates select="NOM_TAXON[@numnom = $nom_url]" />
</xsl:if>
<xsl:text> </xsl:text>
<xsl:text> [ </xsl:text>
<em>
<xsl:attribute name="class">eflore_num_nomen</xsl:attribute>
<xsl:value-of select="$nom_url"/>
</em>
<xsl:text> - </xsl:text>
<em>
<xsl:attribute name="class">eflore_num_taxo</xsl:attribute>
<xsl:value-of select="@numtaxo"/>
</em>
<xsl:text> ] </xsl:text>
<!--<xsl:if test="boolean($taxo_url)">
<xsl:apply-templates select="/FICHE_IDENTITES_TAXONS/LISTE_NOMS_VERNACULAIRES/NOM_VERNACULAIRE[@numtaxo = $taxo_url]" />
</xsl:if>-->
</p>
</xsl:template>
 
<xsl:template match="NOM_VALIDE">
<xsl:apply-templates select="NOM_TAXON" mode="nomRetenu"/>
<tr class="insTitle1">
<td>
En image
</td>
</tr>
<tr class="eflore_commentaire">
<td>
Cliquer sur le bouton "Recherche Google" pour afficher des images du taxon (résultat non garanti...).
</td>
</tr>
<tr>
<td class="texte_tb">
<form method="get">
<xsl:attribute name="action">http://images.google.com/images</xsl:attribute>
<xsl:attribute name="target">_blank</xsl:attribute>
<a>
<img>
<xsl:attribute name="src">http://www.google.com/logos/Logo_25wht.gif</xsl:attribute>
<xsl:attribute name="border">0</xsl:attribute>
<xsl:attribute name="alt">Google</xsl:attribute>
<xsl:attribute name="align">absmiddle</xsl:attribute>
</img>
</a>
<input>
<xsl:attribute name="type">text</xsl:attribute>
<xsl:attribute name="name">q</xsl:attribute>
<xsl:attribute name="size">25</xsl:attribute>
<xsl:attribute name="maxlength">255</xsl:attribute>
<xsl:attribute name="value">
<xsl:value-of select="NOM_TAXON/NOM"/>
</xsl:attribute>
</input>
<input>
<xsl:attribute name="class">texte_tb</xsl:attribute>
<xsl:attribute name="type">submit</xsl:attribute>
<xsl:attribute name="name">btnG</xsl:attribute>
<xsl:attribute name="value">Recherche Google</xsl:attribute>
</input>
<input>
<xsl:attribute name="type">hidden</xsl:attribute>
<xsl:attribute name="name">ie</xsl:attribute>
<xsl:attribute name="value">ISO-8859-1</xsl:attribute>
</input>
<input>
<xsl:attribute name="type">hidden</xsl:attribute>
<xsl:attribute name="name">oe</xsl:attribute>
<xsl:attribute name="value">ISO-8859-1</xsl:attribute>
</input>
<input>
<xsl:attribute name="type">hidden</xsl:attribute>
<xsl:attribute name="name">hl</xsl:attribute>
<xsl:attribute name="value">fr</xsl:attribute>
</input>
</form>
</td>
</tr>
<h2 class="eflore_titre2">En image</h2>
<p class="eflore_commentaire">Cliquer sur le bouton "Recherche Google" pour afficher des images du taxon (résultat non garanti...).</p>
<form method="get" action="http://images.google.com/images" target="_blank">
<img src="http://www.google.com/logos/Logo_25wht.gif" alt="Google" />
<input>
<xsl:attribute name="type">text</xsl:attribute>
<xsl:attribute name="name">q</xsl:attribute>
<xsl:attribute name="size">25</xsl:attribute>
<xsl:attribute name="maxlength">255</xsl:attribute>
<xsl:attribute name="value"><xsl:value-of select="NOM_TAXON/NOM"/></xsl:attribute>
</input>
<input type="submit" name="btnG" value="Recherche Google" />
<input>
<xsl:attribute name="type">hidden</xsl:attribute>
<xsl:attribute name="name">ie</xsl:attribute>
<xsl:attribute name="value">ISO-8859-1</xsl:attribute>
</input>
<input>
<xsl:attribute name="type">hidden</xsl:attribute>
<xsl:attribute name="name">oe</xsl:attribute>
<xsl:attribute name="value">ISO-8859-1</xsl:attribute>
</input>
<input>
<xsl:attribute name="type">hidden</xsl:attribute>
<xsl:attribute name="name">hl</xsl:attribute>
<xsl:attribute name="value">fr</xsl:attribute>
</input>
</form>
</xsl:template>
 
<xsl:template match="LISTE_NOMS_VALIDES">
<tr class="insTitle1">
<td>
Noms valides
</td>
</tr>
<tr class="texte_tb">
<td>
<ul>
<xsl:apply-templates select="NOM_TAXON" />
</ul>
</td>
</tr>
<h2 class="eflore_titre2">Noms valides</h2>
<ul>
<xsl:apply-templates select="NOM_TAXON" mode="valide" />
</ul>
</xsl:template>
 
<xsl:template match="LISTE_NOMS_TAXONS_PARENTS">
<tr class="insTitle1">
<td>
Niveaux taxinomiques supérieurs
</td>
</tr>
<tr class="eflore_commentaire">
<td>
En cliquant sur (...) situé aprés le niveau taxinomique vous obtiendrez la liste des taxons retenus (corrects) qu'il contient.
</td>
</tr>
<tr class="texte_tb">
<td>
<ul>
<xsl:apply-templates select="NOM_TAXON_PARENTS/NOM_TAXON" mode="parent" />
</ul>
</td>
</tr>
<h2 class="eflore_titre2">Niveaux taxinomiques supérieurs</h2>
<p class="eflore_commentaire">
En cliquant sur (...) situé aprés le niveau taxinomique vous obtiendrez la liste des taxons retenus qu'il contient.
</p>
<ul>
<xsl:apply-templates select="NOM_TAXON_PARENTS/NOM_TAXON" mode="parent" />
</ul>
</xsl:template>
 
<xsl:template match="LISTE_SYNONYMES">
<tr class="insTitle1">
<td>
Synonymes
</td>
</tr>
<tr class="eflore_commentaire">
<td>
Le symbole
<img>
<xsl:attribute name="name">imEx</xsl:attribute>
<xsl:attribute name="src">Local/icons/openclose-plus.gif</xsl:attribute>
<xsl:attribute name="border">0</xsl:attribute>
<xsl:attribute name="width">9</xsl:attribute>
<xsl:attribute name="height">9</xsl:attribute>
</img>
indique la présence d'une source bibliographique et/ou d'information sur la combinaison.
<br/>
Cliquer sur le symbole
<img>
<xsl:attribute name="name">imEx</xsl:attribute>
<xsl:attribute name="src">Local/icons/openclose-plus.gif</xsl:attribute>
<xsl:attribute name="border">0</xsl:attribute>
<xsl:attribute name="width">9</xsl:attribute>
<xsl:attribute name="height">9</xsl:attribute>
</img>
pour afficher ces informations complémentaires.
</td>
</tr>
 
<h2 class="eflore_titre2">Synonymes</h2>
<p class="eflore_commentaire">
Le symbole
<img>
<xsl:attribute name="name">imEx</xsl:attribute>
<xsl:attribute name="src"><xsl:value-of select="$chemin_img_ouvrir"/></xsl:attribute>
<xsl:attribute name="width">9</xsl:attribute>
<xsl:attribute name="height">9</xsl:attribute>
</img>
indique la présence d'une source bibliographique et/ou d'information sur la combinaison.<br/>
Cliquer sur le symbole
<img>
<xsl:attribute name="name">imEx</xsl:attribute>
<xsl:attribute name="src"><xsl:value-of select="$chemin_img_ouvrir"/></xsl:attribute>
<xsl:attribute name="width">9</xsl:attribute>
<xsl:attribute name="height">9</xsl:attribute>
</img>
pour afficher ces informations complémentaires.
</p>
<!-- Affiches les synonymes nomenclaturaux s'il y en a.-->
<xsl:if test="NOM_TAXON/@tsyn = 1 or NOM_TAXON/@tsyn = 'n'">
<tr class="texte_tb">
<td>
<b>Synonymes nomenclaturaux</b>
</td>
</tr>
<tr class="texte_tb">
<td>
<table border="0" width="100%" cellpading="0" cellspacing="0">
<xsl:apply-templates select="NOM_TAXON[@tsyn = 1 or @tsyn = 'n']" mode="biblio_tsyn"/>
</table>
</td>
</tr>
<h3 class="eflore_titre3">Synonymes nomenclaturaux</h3>
<ul>
<xsl:apply-templates select="NOM_TAXON[@tsyn = 1 or @tsyn = 'n']" mode="biblio_tsyn"/>
</ul>
</xsl:if>
 
<!-- Affiches les synonymes taxinomiques s'il y en a.-->
<xsl:if test="NOM_TAXON/@tsyn = 2 or NOM_TAXON/@tsyn = 't'">
<tr class="texte_tb">
<td>
<b>Synonymes taxinomiques</b>
</td>
</tr>
<tr class="texte_tb">
<td>
<table border="0" width="100%" cellpading="0" cellspacing="0">
<xsl:apply-templates select="NOM_TAXON[@tsyn = 2 or @tsyn = 't']" mode="biblio_tsyn"/>
</table>
</td>
</tr>
<h3 class="eflore_titre3">Synonymes taxinomiques</h3>
<ul>
<xsl:apply-templates select="NOM_TAXON[@tsyn = 2 or @tsyn = 't']" mode="biblio_tsyn"/>
</ul>
</xsl:if>
 
<!-- Affiches les synonymes de type inconnu s'il y en a.-->
<xsl:if test="NOM_TAXON/@tsyn = 3 or NOM_TAXON/@tsyn = 'o'">
<tr class="texte_tb">
<td>
<b>Synonymes de type inconnu</b>
</td>
</tr>
<tr class="texte_tb">
<td>
<table border="0" width="100%" cellpading="0" cellspacing="0">
<xsl:apply-templates select="NOM_TAXON[@tsyn = 3 or @tsyn = 'o']" mode="biblio_tsyn"/>
</table>
</td>
</tr>
<h3 class="eflore_titre3">Synonymes de type inconnu</h3>
<ul>
<xsl:apply-templates select="NOM_TAXON[@tsyn = 3 or @tsyn = 'o']" mode="biblio_tsyn"/>
</ul>
</xsl:if>
 
<!-- Affiches les synonymes de type "inclus dans" s'il y en a.-->
<xsl:if test="NOM_TAXON/@tsyn = 4 or NOM_TAXON/@tsyn = 'i'">
<tr class="texte_tb">
<td>
<b>Synonymes de type "inclus dans"</b>
</td>
</tr>
<tr class="texte_tb">
<td>
<table border="0" width="100%" cellpading="0" cellspacing="0">
<xsl:apply-templates select="NOM_TAXON[@tsyn = 4 or @tsyn = 'i']" mode="biblio_tsyn"/>
</table>
</td>
</tr>
<h3 class="eflore_titre3">Synonymes de type "inclus dans"</h3>
<ul>
<xsl:apply-templates select="NOM_TAXON[@tsyn = 4 or @tsyn = 'i']" mode="biblio_tsyn"/>
</ul>
</xsl:if>
 
<!-- Affiches les synonymes de type "inclus dans" s'il y en a.-->
<xsl:if test="NOM_TAXON/@tsyn = 5 or NOM_TAXON/@tsyn = 's'">
<tr class="texte_tb">
<td>
<b>Synonymes de type "au sens de (sensu)"</b>
</td>
</tr>
<tr class="texte_tb">
<td>
<table border="0" width="100%" cellpading="0" cellspacing="0">
<xsl:apply-templates select="NOM_TAXON[@tsyn = 5 or @tsyn = 's']" mode="biblio_tsyn"/>
</table>
</td>
</tr>
<h3 class="eflore_titre3">Synonymes de type "au sens de (sensu)"</h3>
<ul>
<xsl:apply-templates select="NOM_TAXON[@tsyn = 5 or @tsyn = 's']" mode="biblio_tsyn"/>
</ul>
</xsl:if>
 
<!-- Affiches les synonymes de type "autonyme" s'il y en a.-->
<xsl:if test="NOM_TAXON/@tsyn = 6 or NOM_TAXON/@tsyn = 'a'">
<tr class="texte_tb">
<td>
<b>Synonymes de type "autonyme"</b>
</td>
</tr>
<tr class="texte_tb">
<td>
<table border="0" width="100%" cellpading="0" cellspacing="0">
<xsl:apply-templates select="NOM_TAXON[@tsyn = 6 or @tsyn = 'a']" mode="biblio_tsyn"/>
</table>
</td>
</tr>
<h3 class="eflore_titre3">Synonymes de type "autonyme"</h3>
<ul>
<xsl:apply-templates select="NOM_TAXON[@tsyn = 6 or @tsyn = 'a']" mode="biblio_tsyn"/>
</ul>
</xsl:if>
 
<!-- Affiches les synonymes de type "antonyme" s'il y en a.-->
<xsl:if test="NOM_TAXON/@tsyn = 7 or NOM_TAXON/@tsyn = 'an'">
<tr class="texte_tb">
<td>
<b>Synonymes de type "antonyme"</b>
</td>
</tr>
<tr class="texte_tb">
<td>
<table border="0" width="100%" cellpading="0" cellspacing="0">
<xsl:apply-templates select="NOM_TAXON[@tsyn = 7 or @tsyn = 'an']" mode="biblio_tsyn"/>
</table>
</td>
</tr>
<h3 class="eflore_titre3">Synonymes de type "antonyme"</h3>
<ul>
<xsl:apply-templates select="NOM_TAXON[@tsyn = 7 or @tsyn = 'an']" mode="biblio_tsyn"/>
</ul>
</xsl:if>
 
<!-- Affiches les synonymes de type "pseudonyme" s'il y en a.-->
<xsl:if test="NOM_TAXON/@tsyn = 8 or NOM_TAXON/@tsyn = 'p'">
<tr class="texte_tb">
<td>
<b>Synonymes de type "pseudonyme"</b>
</td>
</tr>
<tr class="texte_tb">
<td>
<table border="0" width="100%" cellpading="0" cellspacing="0">
<xsl:apply-templates select="NOM_TAXON[@tsyn = 8 or @tsyn = 'p']" mode="biblio_tsyn"/>
</table>
</td>
</tr>
<h3 class="eflore_titre3">Synonymes de type "pseudonyme"</h3>
<ul>
<xsl:apply-templates select="NOM_TAXON[@tsyn = 8 or @tsyn = 'p']" mode="biblio_tsyn"/>
</ul>
</xsl:if>
 
<!-- Affiches les synonymes de type "variant orthographique" s'il y en a.-->
<xsl:if test="NOM_TAXON/@tsyn = 9 or NOM_TAXON/@tsyn = 'vo'">
<tr class="texte_tb">
<td>
<b>Synonymes de type "variant orthographique"</b>
</td>
</tr>
<tr class="texte_tb">
<td>
<table border="0" width="100%" cellpading="0" cellspacing="0">
<xsl:apply-templates select="NOM_TAXON[@tsyn = 9 or @tsyn = 'vo']" mode="biblio_tsyn"/>
</table>
</td>
</tr>
<h3 class="eflore_titre3">Synonymes de type "variant orthographique"</h3>
<ul>
<xsl:apply-templates select="NOM_TAXON[@tsyn = 9 or @tsyn = 'vo']" mode="biblio_tsyn"/>
</ul>
</xsl:if>
 
<!-- Affiches les synonymes de type "isonyme" s'il y en a.-->
<xsl:if test="NOM_TAXON/@tsyn = 10 or NOM_TAXON/@tsyn = 'is'">
<tr class="texte_tb">
<td>
<b>Synonymes de type "isonyme"</b>
</td>
</tr>
<tr class="texte_tb">
<td>
<table border="0" width="100%" cellpading="0" cellspacing="0">
<xsl:apply-templates select="NOM_TAXON[@tsyn = 10 or @tsyn = 'is']" mode="biblio_tsyn"/>
</table>
</td>
</tr>
<h3 class="eflore_titre3">Synonymes de type "isonyme"</h3>
<ul>
<xsl:apply-templates select="NOM_TAXON[@tsyn = 10 or @tsyn = 'is']" mode="biblio_tsyn"/>
</ul>
</xsl:if>
</xsl:template>
 
<xsl:template match="LISTE_NOMS_VERNACULAIRES">
<tr class="insTitle1">
<td>
Noms vernaculaires
</td>
</tr>
<tr class="texte_tb">
<td>
<table border="0" width="*" cellpading="0" cellspacing="0">
<tr class="eflore_commentaire" >
<td width="50" align="left">
Langue
</td>
<td width="30" align="left">
Pays
</td>
<td width="220" align="left">
Nom
</td>
<td width="150">
Emploi
</td>
<td width="50">
Genre
</td>
<td width="50">
Nombre
</td>
</tr>
<xsl:apply-templates select="NOM_VERNACULAIRE" />
</table>
</td>
</tr>
<h2 class="eflore_titre2">Noms vernaculaires</h2>
<table class="eflore_table_nom_verna">
<thead>
<tr>
<th>Langue</th>
<th>Pays</th>
<th>Nom</th>
<th>Emploi</th>
<th>Genre</th>
<th>Nombre</th>
</tr>
</thead>
<tbody>
<xsl:apply-templates select="NOM_VERNACULAIRE" />
</tbody>
</table>
</xsl:template>
 
<xsl:template match="NOM_TAXON">
410,47 → 239,36
<xsl:apply-templates select="NOM" />
</xsl:template>
 
<xsl:template match="NOM_TAXON" mode="valide">
<li><xsl:apply-templates select="NOM" /></li>
</xsl:template>
 
<xsl:template match="NOM_TAXON" mode="nomRetenu">
<tr class="insTitle1">
<td>
Nom retenu (correct) correspondant
<xsl:text> </xsl:text>
<!--<a href="http://test.tela-botanica.org/tmp/pdf.php" target="_blank"><img src="Local/icons/pdf.gif" border="0"></img></a>-->
</td>
</tr>
<tr class="texte_tb">
<td>
<li>
<b>
<xsl:apply-templates select="NOM" />
</b>
<xsl:apply-templates select="BIBLIOGRAPHIE" />
<xsl:apply-templates select="INFO_COMBINAISON" />
<xsl:text> </xsl:text>
<xsl:text> [ </xsl:text>
<span>
<xsl:attribute name="class">eflore_num_nomen</xsl:attribute>
<xsl:value-of select="@numnom"/>
</span>
<xsl:text> - </xsl:text>
<span>
<xsl:attribute name="class">eflore_num_taxo</xsl:attribute>
<xsl:value-of select="/FICHE_IDENTITES_TAXONS/NOM_VALIDE/@numtaxo"/>
</span>
<xsl:text> ] </xsl:text>
</li>
<br />
</td>
</tr>
<h2 class="eflore_titre2">Nom retenu (correct) correspondant<xsl:text> </xsl:text></h2>
<p>
<strong>
<xsl:apply-templates select="NOM" />
</strong>
<xsl:apply-templates select="BIBLIOGRAPHIE" />
<xsl:apply-templates select="INFO_COMBINAISON" />
<xsl:text> </xsl:text>
<xsl:text> [ </xsl:text>
<em>
<xsl:attribute name="class">eflore_num_nomen</xsl:attribute>
<xsl:value-of select="@numnom"/>
</em>
<xsl:text> - </xsl:text>
<em>
<xsl:attribute name="class">eflore_num_taxo</xsl:attribute>
<xsl:value-of select="/FICHE_IDENTITES_TAXONS/NOM_VALIDE/@numtaxo"/>
</em>
<xsl:text> ] </xsl:text>
</p>
</xsl:template>
 
<xsl:template match="NOM_TAXON" mode="biblio_tsyn">
<tr class="texte_tb">
<td width="20" height="15" >
<br/>
</td>
<td align="left">
<div>
<li>
<span>
<xsl:attribute name="id">el<xsl:value-of select="position()"/>
<xsl:if test="@tsyn = 1 or @tsyn = 'n'">TS1Parent</xsl:if>
<xsl:if test="@tsyn = 2 or @tsyn = 't'">TS2Parent</xsl:if>
468,7 → 286,6
<xsl:if test="@tsyn = 2 or @tsyn = 't'">&#061;</xsl:if>
&#160;
<a>
<xsl:attribute name="class">texte_tb</xsl:attribute>
<xsl:attribute name="href">#</xsl:attribute>
<xsl:attribute name="onclick">
<xsl:text>expandBase('el</xsl:text>
485,36 → 302,29
<xsl:if test="@tsyn = 10 or @tsyn = 'is'"><xsl:text>TS10</xsl:text></xsl:if>
<xsl:text>',true); return false;</xsl:text>
</xsl:attribute>
<img>
<xsl:attribute name="name">imEx</xsl:attribute>
<xsl:attribute name="id">
<xsl:text>el</xsl:text>
<xsl:value-of select="position()"/>
<xsl:if test="@tsyn = 1 or @tsyn = 'n'"><xsl:text>TS1</xsl:text></xsl:if>
<xsl:if test="@tsyn = 2 or @tsyn = 't'"><xsl:text>TS2</xsl:text></xsl:if>
<xsl:if test="@tsyn = 3 or @tsyn = 'o'"><xsl:text>TS3</xsl:text></xsl:if>
<xsl:if test="@tsyn = 4 or @tsyn = 'i'"><xsl:text>TS4</xsl:text></xsl:if>
<xsl:if test="@tsyn = 5 or @tsyn = 's'"><xsl:text>TS5</xsl:text></xsl:if>
<xsl:if test="@tsyn = 6 or @tsyn = 'a'"><xsl:text>TS6</xsl:text></xsl:if>
<xsl:if test="@tsyn = 7 or @tsyn = 'an'"><xsl:text>TS7</xsl:text></xsl:if>
<xsl:if test="@tsyn = 8 or @tsyn = 'p'"><xsl:text>TS8</xsl:text></xsl:if>
<xsl:if test="@tsyn = 9 or @tsyn = 'vo'"><xsl:text>TS9</xsl:text></xsl:if>
<xsl:if test="@tsyn = 10 or @tsyn = 'is'"><xsl:text>TS10</xsl:text></xsl:if>
<xsl:text>Img</xsl:text>
</xsl:attribute>
<xsl:attribute name="src">Local/icons/openclose-plus.gif</xsl:attribute>
<xsl:attribute name="border">0</xsl:attribute>
<xsl:attribute name="width">9</xsl:attribute>
<xsl:attribute name="height">9</xsl:attribute>
<xsl:attribute name="alt">Voir informations complémentaires</xsl:attribute>
<xsl:attribute name="title">Voir informations complémentaires</xsl:attribute>
</img>
<script>
<xsl:attribute name="type">text/javascript</xsl:attribute>
<xsl:text>afficherImage('</xsl:text>
<xsl:value-of select="position()"/>
<xsl:text>', '</xsl:text>
<xsl:if test="@tsyn = 1 or @tsyn = 'n'"><xsl:text>TS1</xsl:text></xsl:if>
<xsl:if test="@tsyn = 2 or @tsyn = 't'"><xsl:text>TS2</xsl:text></xsl:if>
<xsl:if test="@tsyn = 3 or @tsyn = 'o'"><xsl:text>TS3</xsl:text></xsl:if>
<xsl:if test="@tsyn = 4 or @tsyn = 'i'"><xsl:text>TS4</xsl:text></xsl:if>
<xsl:if test="@tsyn = 5 or @tsyn = 's'"><xsl:text>TS5</xsl:text></xsl:if>
<xsl:if test="@tsyn = 6 or @tsyn = 'a'"><xsl:text>TS6</xsl:text></xsl:if>
<xsl:if test="@tsyn = 7 or @tsyn = 'an'"><xsl:text>TS7</xsl:text></xsl:if>
<xsl:if test="@tsyn = 8 or @tsyn = 'p'"><xsl:text>TS8</xsl:text></xsl:if>
<xsl:if test="@tsyn = 9 or @tsyn = 'vo'"><xsl:text>TS9</xsl:text></xsl:if>
<xsl:if test="@tsyn = 10 or @tsyn = 'is'"><xsl:text>TS10</xsl:text></xsl:if>
<xsl:text>');</xsl:text>
</script>
<!-- Utilisation des plier-déplier. Élément parent.-->
</a>
<xsl:apply-templates select="NOM" />
</div>
</span>
<!-- Utilisation des plier-déplier. Élément enfant.-->
<div>
<span>
<xsl:attribute name="id">
<xsl:text>el</xsl:text>
<xsl:value-of select="position()"/>
539,15 → 349,15
<xsl:apply-templates select="INFO_COMBINAISON" />
<xsl:text> </xsl:text>
<xsl:text> [ </xsl:text>
<span>
<em>
<xsl:attribute name="class">eflore_num_nomen</xsl:attribute>
<xsl:value-of select="@numnom"/>
</span>
</em>
<xsl:text> - </xsl:text>
<span>
<em>
<xsl:attribute name="class">eflore_num_taxo</xsl:attribute>
<xsl:value-of select="../@numtaxo"/>
</span>
</em>
<xsl:text> ] </xsl:text>
</xsl:if>
 
555,28 → 365,27
<xsl:if test="not(BIBLIOGRAPHIE) and not (INFO_COMBINAISON)">
<xsl:text> </xsl:text>
<xsl:text> [ </xsl:text>
<span>
<em>
<xsl:attribute name="class">eflore_num_nomen</xsl:attribute>
<xsl:value-of select="@numnom"/>
</span>
</em>
<xsl:text> - </xsl:text>
<span>
<em>
<xsl:attribute name="class">eflore_num_taxo</xsl:attribute>
<xsl:value-of select="../@numtaxo"/>
</span>
</em>
<xsl:text> ] </xsl:text>
</xsl:if>
 
</div>
</td>
</tr>
</span>
</li>
</xsl:template>
 
<xsl:template match="NOM_TAXON" mode="parent">
<li>
<b>
<strong>
<xsl:apply-templates select="NOM" />
</b>
</strong>
<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="position()+2"/>&amp;servicexml=donneclassificationtaxons.php&amp;profondeur=<xsl:value-of select="position()+2"/>&amp;numclass=1&amp;numnom=<xsl:value-of select="@numnom" /></xsl:attribute>
587,12 → 396,10
 
<xsl:template match="NOM">
&#160;
<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>
&#160;
<xsl:value-of select="@auteur"/>
</xsl:template>
610,76 → 417,44
</xsl:template>
 
<xsl:template match="NOM_VERNACULAIRE">
<tr class="texte_tb" >
<td width="50" align="left">
<li>
<xsl:value-of select="@langue"/>
</li>
</td>
<td width="30" align="left">
<xsl:value-of select="@pays"/>
</td>
<td width="220" >
<xsl:if test="@emploi='1'">
<b>
<tr>
<td><xsl:value-of select="@langue"/></td>
<td><xsl:value-of select="@pays"/></td>
<td>
<xsl:if test="@emploi='1'">
<strong><xsl:value-of select="."/></strong>
</xsl:if>
<xsl:if test="@emploi='0' or @emploi='2' or @emploi='3'">
<xsl:value-of select="."/>
</b>
</xsl:if>
<xsl:if test="@emploi='0' or @emploi='2' or @emploi='3'">
<xsl:value-of select="."/>
</xsl:if>
</xsl:if>
</td>
<td width="150" >
<xsl:choose>
<xsl:when test="@emploi='0'">
&#032;
</xsl:when>
<xsl:when test="@emploi='1'">
recommandé ou typique
</xsl:when>
<xsl:when test="@emploi='2'">
secondaire ou régional
</xsl:when>
<xsl:when test="@emploi='3'">
peu usité et à éviter
</xsl:when>
</xsl:choose>
</td>
<td width="50" align="center">
<td>
<xsl:choose>
<xsl:when test="@genre='0'">
<xsl:when test="@emploi='0'">
&#032;
</xsl:when>
<xsl:when test="@genre='1'">
masculin
</xsl:when>
<xsl:when test="@genre='2'">
féminin
</xsl:when>
<xsl:when test="@genre='3'">
neutre
</xsl:when>
<xsl:when test="@genre='4'">
duel
</xsl:when>
<xsl:when test="@emploi='1'">recommandé ou typique</xsl:when>
<xsl:when test="@emploi='2'">secondaire ou régional</xsl:when>
<xsl:when test="@emploi='3'">peu usité et à éviter</xsl:when>
</xsl:choose>
</td>
<td width="50" align="center">
<td>
<xsl:choose>
<xsl:when test="@nombre='0'">
&#032;
</xsl:when>
<xsl:when test="@nombre='1'">
singulier
</xsl:when>
<xsl:when test="@nombre='2'">
pluriel
</xsl:when>
<xsl:when test="@nombre='3'">
duel
</xsl:when>
<xsl:when test="@genre='0'">&#032;</xsl:when>
<xsl:when test="@genre='1'">masculin</xsl:when>
<xsl:when test="@genre='2'">féminin</xsl:when>
<xsl:when test="@genre='3'">neutre</xsl:when>
<xsl:when test="@genre='4'">duel</xsl:when>
</xsl:choose>
</td>
<td>
<xsl:choose>
<xsl:when test="@nombre='0'">&#032;</xsl:when>
<xsl:when test="@nombre='1'">singulier</xsl:when>
<xsl:when test="@nombre='2'">pluriel</xsl:when>
<xsl:when test="@nombre='3'">duel</xsl:when>
</xsl:choose>
</td>
</tr>
</xsl:template>