This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Counting Footnotes
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Counting Footnotes
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Fri, 21 Sep 2001 11:16:10 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> 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: http://www.mulberrytech.com/xsl/xsl-list