This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Numbering scheme
- From: Jarno dot Elovirta at nokia dot com
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Mon, 30 Sep 2002 11:04:11 +0300
- Subject: RE: [xsl] Numbering scheme
- Reply-to: xsl-list at lists dot mulberrytech dot com
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