RE: [xsl] Counting Footnotes

Subject: RE: [xsl] Counting Footnotes
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Fri, 21 Sep 2001 11:16:10 +0100
> However, footnotes are usually 
> numbered, I would
> like to be able to number each footnote, in the text, and place the
> corresponding number at the bottom of the text next to the footnote.
> Could someone give me some indicators on how I might go about this?

<xsl:number level="any"/> is designed for this purpose;
<xsl:value-of select="count(preceding::footnote)+1"/> works just as well

Mike Kay

 XSL-List info and archive:

Current Thread