[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: Date Range in XSL
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 16 Apr 2003 17:40:20 +0100
  But How about this.
	<xsl:apply-templates select="recorddata[symbol='MSFT' and
  translate(date, '/', '')&gt;01102003 and translate(date, '/',
  '')&lt;04162003]" />

  Thanks,

That would have worked if the dates had been in yyyy/mm/dd format but 
if the parts are not in that order you need to shuffle them

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

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


Current Thread
  • Date Range in XSL
    • nshah - Wed, 16 Apr 2003 11:34:15 -0400 (EDT)
      • <Possible follow-ups>
      • Avula, Raj - Wed, 16 Apr 2003 11:57:36 -0400 (EDT)
        • David Carlisle - Wed, 16 Apr 2003 12:36:18 -0400 (EDT) <=
      • Avula, Raj - Wed, 16 Apr 2003 13:01:17 -0400 (EDT)
      • nshah - Wed, 16 Apr 2003 13:24:29 -0400 (EDT)
      • Avula, Raj - Wed, 16 Apr 2003 13:33:38 -0400 (EDT)
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member