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: Numbering scheme


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


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