Numérotation

[email protected]
Newsgroups gmane.text.xml.french.tech
Message-ID <[email protected]>
Re bonjour,

Afin de générer un sommaire, j'effecture un :

<xsl:template match="/ARTICLE">
	<xsl:for-each select="//titre">
		<p><xsl:value-of select="." /></p>
	</xsl:for-each>
</xsl:template>

Cependant, je souhaiterais numéroter les titres. Je cherche a implementer
un compteur

1, 2, 3 ...

Une idée ? MERCI a vous.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.