It looks as if the template is only being applied to the first footnote. To find the error in your code you need to look for the apply-templates instruction that selects footnotes and causes templates to be applied to them. There's nothing wrong with the footnote template itself - it just isn't being called.
__________________
Michael Kay
http://www.saxonica.com/
Author, XSLT 2.0 and XPath 2.0 Programmer\'s Reference
|