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="lei-fiche" id='{PRODUIT}'> <div class="lei-img-fiche"> <a href="{php:function('LienProduitEte', string(PRODUIT), string(NOM), string(ADRPROD_LIBELLE_COMMUNE))}"> <img id="minidiapo-{PRODUIT}" src="{php:function('urlphotoretaillee',string(CRITERES/Crit[@CLEF_CRITERE=1900421]),290)}" alt="{NOM}" title="{NOM}"/> </a> <div class="infos-sup"> <div class="miniatures"> <xsl:value-of disable-output-escaping="yes" select="php:function('miniaturesListe',string(NOM),3,'minidiapo-', string(PRODUIT),string(CRITERES/Crit[@CLEF_CRITERE=1900421]),string(CRITERES/Crit[@CLEF_CRITERE=1900603]),string(CRITERES/Crit[@CLEF_CRITERE=1900751]),string(CRITERES/Crit[@CLEF_CRITERE=1900781]),string(CRITERES/Crit[@CLEF_CRITERE=1900782]),string(CRITERES/Crit[@CLEF_CRITERE=1900861]),string(CRITERES/Crit[@CLEF_CRITERE=1900862]),string(CRITERES/Crit[@CLEF_CRITERE=1900863]),string(CRITERES/Crit[@CLEF_CRITERE=1900946]),string(CRITERES/Crit[@CLEF_CRITERE=1900947]),string(CRITERES/Crit[@CLEF_CRITERE=1900958]),string(CRITERES/Crit[@CLEF_CRITERE=1900960]),string(CRITERES/Crit[@CLEF_CRITERE=1900962]),string(CRITERES/Crit[@CLEF_CRITERE=1900964]),string(CRITERES/Crit[@CLEF_CRITERE=1900966]),string(CRITERES/Crit[@CLEF_CRITERE=1901401]))" /> </div> </div> </div> <a href="{php:function('LienProduitEte',string(PRODUIT), string(NOM), string(ADRPROD_LIBELLE_COMMUNE))}" class="btn btn-default btn-plus">#{#+ d'infos#}#</a> <div class="infos-ppal"> <div class="lei-nom-fiche"> <h3><xsl:value-of select="NOM"/></h3> <!-- Label Michelin --> <xsl:if test="CRITERES/Crit[@CLEF_CRITERE=1900055]"> <xsl:for-each select="CRITERES/Crit[@CLEF_CRITERE=1900055]"> <xsl:variable name="MODALITE" select="@CLEF_MODA" /> <span class="icon-lei icon-{$MODALITE}"><xsl:value-of select="/LEI/NOMENCLATURE/CRIT[@CLEF=1900055]/MODAL[@CLEF=$MODALITE]"/></span> </xsl:for-each> </xsl:if> <!-- Gault et Millau --> <xsl:if test="CRITERES/Crit[@CLEF_CRITERE=1900056]"> <xsl:for-each select="CRITERES/Crit[@CLEF_CRITERE=1900056]"> <xsl:variable name="MODALITE" select="@CLEF_MODA" /> <span class="icon-lei icon-{$MODALITE}"><xsl:value-of select="/LEI/NOMENCLATURE/CRIT[@CLEF=1900056]/MODAL[@CLEF=$MODALITE]"/></span> </xsl:for-each> </xsl:if> <span class="commune"><xsl:value-of select="ADRPROD_LIBELLE_COMMUNE"/></span> <div class="commentaire-lei"><xsl:value-of select="COMMENTAIRE"/></div> <div class="infos-comple"> <a href="{php:function('LienProduitEte',string(PRODUIT), string(NOM), string(ADRPROD_LIBELLE_COMMUNE))}" class="btn btn-default btn-plus">#{#+ d'infos#}#</a> <xsl:if test="CRITERES/Crit[@CLEF_CRITERE=1900537]"> <div class="info-prix">A partir de <xsl:value-of select="CRITERES/Crit[@CLEF_CRITERE=1900537 and @CLEF_MODA=1904098]"/>€</div> </xsl:if> <!-- Labels Restaurant --> <xsl:if test="CRITERES/Crit[@CLEF_CRITERE=1900763]"> <xsl:for-each select="CRITERES/Crit[@CLEF_CRITERE=1900763]"> <xsl:variable name="MODALITE" select="@CLEF_MODA" /> <span class="icon-lei icon-{$MODALITE}"><xsl:value-of select="/LEI/NOMENCLATURE/CRIT[@CLEF=1900763]/MODAL[@CLEF=$MODALITE]"/></span> </xsl:for-each> </xsl:if> <!-- Trip Advisor --> <xsl:if test="CRITERES/Crit[@CLEF_CRITERE=1901390]"> <xsl:variable name="LISTE_MODA"> <xsl:for-each select="/LEI/NOMENCLATURE/CRIT[@CLEF=1901390]/MODAL"> <xsl:sort order="descending" select="@ORDRE" /> <xsl:value-of select="concat('#', @CLEF)" /> </xsl:for-each> </xsl:variable> <xsl:variable name="MODA_PROD"> <xsl:for-each select="CRITERES/Crit[@CLEF_CRITERE=1901390]"> <xsl:value-of select="concat('#', @CLEF_MODA)" /> </xsl:for-each> </xsl:variable> <xsl:if test="php:function('TripAdvisor', string($LISTE_MODA), string($MODA_PROD) ) != ''"> <xsl:variable name="MODALITE"> <xsl:value-of select="php:function('TripAdvisor', string($LISTE_MODA), string($MODA_PROD) )" /> </xsl:variable> <span class="icon-lei icon-{$MODALITE}"><xsl:value-of select="/LEI/NOMENCLATURE/CRIT[@CLEF=1901390]/MODAL[@CLEF=$MODALITE]"/></span> </xsl:if> </xsl:if> <!-- FIN Trip Advisor --> </div> </div> <div class="infos-resa"> <xsl:if test="CRITERES/Crit[@CLEF_CRITERE=1900825]"> <div class="reserver"> <a class="btn btn-reserver" href="http://{CRITERES/Crit[@CLEF_CRITERE=1900825]}"><i class="icon calendar"></i>#{#Réserver#}#</a> </div> </xsl:if> </div> </div> </div> </xsl:if>
Type de XSL: 
Liste