Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - XSLT incrementing count [Thread Next] Re: XSLT incrementing countTo: NULL Date: 9/5/2005 5:05:00 PM John Wilkinson wrote: > My problem is that I wish to create an HTML table, and > give each row an incrementing number from 1.This would increment every > itteration of a for-each loop. > <xsl:for-each select="amsal_coverage_stats/core"> > <tr> > <td> > > <xsl:value-of select="$test+1"></xsl:value-of> You can use <xsl:value-of select="position()" /> For more advanced stuff you might want to check the <xsl:number> statement. -- Martin Honnen http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
