Re: [xsl] newbie: numbering footnotes

Subject: Re: [xsl] newbie: numbering footnotes
From: Oleg Tkachenko <olegt@xxxxxxxxxxxxx>
Date: Fri, 18 Apr 2003 18:55:15 +0300
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



Current Thread