This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Reference a counter


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]