RE: [xsl] Numbering scheme

Subject: RE: [xsl] Numbering scheme
From: Jarno.Elovirta@xxxxxxxxx
Date: Mon, 30 Sep 2002 11:04:11 +0300
Hi,

> Hello Jarno,
>  Thanx for ur assistance.
> One more need. I need to subtract 1 from the ID i.e., for 
> <Page ID="1">
> 1-1=0, <Page ID="2"> 2-1=1...
> How do I achieve this?

Cheers,

<xsl:number level="multiple" count="Page" format="1.1"/>=<xsl:value-of select="../@ID - 1" />

Jarno

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


Current Thread