Entetes XML: 
<xsl:value-of select="php:function('init_fiches')"/> ----- {{NbFiches=<xsl:value-of select="php:function('voir_fiches')"/>}} {{sessionalea=<xsl:value-of select="LEI/Resultat/@SESSIONALEA" />}}
XSL Source: 
<xsl:value-of select="php:function('incremente_fiches')"/> <xsl:if test="php:function('affiche_dans_page',string(php:function('voir_fiches')))=1"> <div class="view-content" id='{PRODUIT}'> <div class="views-field views-field-nothing"> <span class="field-content"> <xsl:choose> <!-- Si l'événement ne dure qu'une seule journée --> <xsl:when test="php:function('get_date_part',string(PERIODE_DU), 'd') = php:function('get_date_part',string(PERIODE_AU), 'd')"> <div class="date-evenement"> <span class="jour-mois"> <span class="lib-date-head">#{#Le#}#</span> <span class="date-display-single" property="dc:date" datatype="xsd:dateTime" content="2016-12-06T00:00:00+01:00"> <xsl:value-of disable-output-escaping="yes" select="php:function('get_date_part',string(PERIODE_DU), 'd')"/> </span> </span> <span class="mois"> <span class="date-display-single" property="dc:date" datatype="xsd:dateTime" content="2016-12-06T00:00:00+01:00"> <xsl:value-of select="php:function('get_date_part',string(PERIODE_DU),'M')"/> </span> </span> </div> </xsl:when> <!-- Si l'événement dure deux journées --> <xsl:otherwise> <div class="date-evenement"> <span class="jour-mois"> <span class="lib-date-head">#{#Du#}#</span> <span class="date-display-single" property="dc:date" datatype="xsd:dateTime" content="2016-12-06T00:00:00+01:00"> <xsl:value-of disable-output-escaping="yes" select="php:function('get_date_part',string(PERIODE_DU), 'd')"/> </span> </span> <span class="mois"> <span class="date-display-single" property="dc:date" datatype="xsd:dateTime" content="2016-12-06T00:00:00+01:00"> <xsl:value-of select="php:function('get_date_part',string(PERIODE_DU),'M')"/> </span> </span> </div> <div class="date-evenement"> <span class="jour-mois"> <span class="lib-date-head">#{#Au#}#</span> <span class="date-display-single" property="dc:date" datatype="xsd:dateTime" content="2016-12-06T00:00:00+01:00"> <xsl:value-of disable-output-escaping="yes" select="php:function('get_date_part',string(PERIODE_AU), 'd')"/> </span> </span> <span class="mois"> <span class="date-display-single" property="dc:date" datatype="xsd:dateTime" content="2016-12-06T00:00:00+01:00"> <xsl:value-of select="php:function('get_date_part',string(PERIODE_AU),'M')"/> </span> </span> </div> </xsl:otherwise> </xsl:choose> </span> </div> <a href="{php:function('LienProduitEte', string(PRODUIT), string(NOM), string(ADRPROD_LIBELLE_COMMUNE))}"> <div class="views-field views-field-title"> <span class="field-content"><xsl:value-of select="NOM"/></span> </div> <div class="views-field views-field-field-lieu"> <div class="field-content"><xsl:value-of select="ADRPROD_LIBELLE_COMMUNE"/></div> </div> </a> </div> <!--<div class="view-footer"> <p><a class="btn tout-agenda pull-right" href="/agenda.htm">Voir tout l'agenda</a></p> </div>--> </xsl:if>
Type de XSL: 
Liste
Outils d'accessibilité