xsl-list
[Top] [All Lists]

Re: newbie: numbering footnotes

2003-04-18 08:55:15
Holk, David A wrote:

I need to populate a table with test result data, some results have
footnotes associated with them, some do not. I want to number these
footnotes dynamically during transformation but it appears I am unable to
increment variables during a transformation.

Any ideas for a general approach would be appreciated.

You can use XSLT built-in counters like position() function and xsl:number instruction. If that's not enough, you can use recursive template to keep some state passing it as a parameter.

--
Oleg Tkachenko
http://www.tkachenko.com/blog
Multiconn Technologies, Israel


XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>