Hallo,
Ich habe es schon so versucht:
<xsl:number format="1" count="test[@value]"/>
aber so funktioniert es anscheinend nicht.
Probiere es so:
<table>
<th>Schritt</th><th>Wert</th>
<xsl:for-each select="test[@value]">
<tr>
<td><xsl:number value="position()" format="1"/></td>
<td><xsl:value-of select="."/></td>
</tr>
</xsl:for-each>
</table>
MfG, Thomas