Re: [xsl] Reference a counter

Subject: Re: [xsl] Reference a counter
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Mon, 13 May 2002 21:10:12 +0200
Early, Mary wrote:
Is there any way to provide a reference to a counter value. For example, we
typically use a superscripted number to reference a table note at the bottom
of the table. How can we grab the counter value of the table note and place
it in the cell as a cross reference.


Look up xsl:number, something like <td><xsl:number count="note"/> Description</td> You can also try <xsl:value-of select="count(preceding::note)"/> or similar expressions, depending on the details of your problem.

J.Pietschmann


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



Current Thread