This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: xsl:number() from 0
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: xsl:number() from 0
- From: Anthony Ikeda <anthony dot ikeda at proxima-tech dot com>
- Date: Fri, 1 Dec 2000 14:42:02 +1100
- Reply-To: xsl-list at mulberrytech dot com
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@nag.co.uk]
> Sent: Friday, 1 December 2000 10:19 AM
> To: xsl-list@mulberrytech.com
> 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