xsl-list
[Top] [All Lists]

RE: Numbering scheme

2002-09-30 01:04:11
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



<Prev in Thread] Current Thread [Next in Thread>