Re: [xsl] parsing text

Subject: Re: [xsl] parsing text
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 6 Nov 2001 21:27:56 GMT

if the current node contains the date then you can do

Q<xsl:value-of select="ceiling(substring-before(.,'/') div 4)"/>

assuming (from your 11/26/2001 example) that your date is in the rather
strange non monotonic US month/day/year order.


This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit or alternatively call
Star Internet for details on the Virus Scanning Service.

 XSL-List info and archive:

Current Thread