1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
| <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" indent="yes"/>
<xsl:param name="dateDebut"/>
<xsl:param name="dateFin"/>
<xsl:param name="XSLReportRefDate"/>
<xsl:param name="Types"/>
<xsl:param name="critere1"/>
<xsl:variable name="nbre" select="count(//doc[$dateDebut <= @*[name()=$XSLReportRefDate] and $dateFin >= @*[name()=$XSLReportRefDate] and $critere1 and contains($Types,@NameConfDocPS)])"/>
<xsl:template match="docs">
<html>
<body>
resultat : <xsl:value-of select="$nbre"/>
</body>
</html>
</xsl:template>
</xsl:stylesheet> |
Partager