RE: xsl:number() from 0

Subject: RE: xsl:number() from 0
From: Anthony Ikeda <anthony.ikeda@xxxxxxxxxxxxxxxx>
Date: Fri, 1 Dec 2000 14:42:02 +1100
I tried this:
<xsl:number/>-1   -> "1-1, 2-1,..."

and this:
<xsl:value-of select="number()-1"/>  -> "0,0,..."

I had make a few adjustments and placed the value in my XML code, however if
anyone has a solution then I guess it would still help.

Cheers,
Anthony Ikeda,
Web Application Developer,
Proxima Technology,

Level 13,
181 Miller Street,
North Sydney
Australia


PH: +612-9458-1718
Mob: 041 624 5143


> -----Original Message-----
> From: David Carlisle [mailto:davidc@xxxxxxxxx]
> Sent: Friday, 1 December 2000 10:19 AM
> To: xsl-list@xxxxxxxxxxxxxxxx
> Subject: Re: xsl:number() from 0
> 
> 
> 
> 
> 
> me> just subtract 1.
> 
> which is easy enough for single numbers, if you are generating multi
> part numbers with xsl:number then it's probably harder, 
> depends on quite
> what the input looks like.
> 
> David
>  
> 
> _____________________________________________________________________
> This message has been checked for all known viruses by Star 
> Internet delivered
> through the MessageLabs Virus Control Centre. For further 
> information visit
> http://www.star.net.uk/stats.asp
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 


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


Current Thread