Subversion Repositories eFlore/Archives.eflore-consultation-v1

Rev

Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<?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:template match="/"> 
    <tr>
        <td class="titlePage">
            Liste des noms scientifiques trouvés
        </td>
    </tr>
    <xsl:if test="not(/FICHE_LISTE_TAXONS/LISTE_TAXONS/NOM_TAXON)">
        <tr>
            <td>
                <br/>
            </td>
        </tr>
        <tr class="eflore_avertissement">
            <td align="center">
                Il n'existe aucun nom scientifique 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>
        
    </xsl:if>
    <xsl:if test="boolean(/FICHE_LISTE_TAXONS/LISTE_TAXONS/NOM_TAXON)">
        <xsl:apply-templates select="FICHE_LISTE_TAXONS" />
    </xsl:if>
</xsl:template> 

<xsl:template match="//FICHE_LISTE_TAXONS">  
    <xsl:apply-templates select="//LISTE_TAXONS" />
</xsl:template> 

<xsl:template match="LISTE_TAXONS">
    <tr class="texte_tb">
        <td>
            <span class="insTitle1">Cliquer sur un des noms pour afficher la fiche du nom retenu (correct) correspondante.</span>
            <br/>
            <b>Note :</b> les noms retenus (corrects) apparaissent en gras dans cette liste.
            <br/><br/>
        </td>
    </tr>
    <tr class="texte_tb">
        <td>
            <ul>
                <xsl:apply-templates select="NOM_TAXON" />
            </ul>
        </td>
    </tr>
</xsl:template> 

<xsl:template match="NOM_TAXON">
    <xsl:choose>
        <xsl:when test="@statut='1'">
        <b>
            <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>
                    <xsl:apply-templates select="NOM" />
              </a>
            </li>
        </b>
        </xsl:when>
        <xsl:otherwise>
            <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>
                    <xsl:apply-templates select="NOM" />
                </a>
            </li>
        </xsl:otherwise>
    </xsl:choose>
</xsl:template> 

<xsl:template match="NOM">
    <!--<b>-->
        <xsl:value-of select="@type"/>
    <!--</b>-->
    &#160;
    <i>
        <xsl:value-of select="."/>
    </i>
    &#160; 
    <xsl:value-of select="@auteur"/>
    &#160;
</xsl:template> 

</xsl:stylesheet>