Re: [xsl] format-number

Subject: Re: [xsl] format-number
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 18 Jul 2001 10:19:12 +0100
> I go about converting the above number into something that resembled a
> date?

concat(substring(.,1,2),'/',substring(.,3,2),'/',substring(.,5,4))

> And also, I'd like to perform a test on a number to determine if it's
> positive or negative. 

test="$balanace &lt; 0"

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

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


Current Thread