[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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
xsl number subtract
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.