xsl-list
[Top] [All Lists]

RE: Date Range in XSL

2003-04-16 10:05:27

You are right David. I missed that part.


Thanks for pointing out.


Thanks,
Raj..



-----Original Message-----
From: David Carlisle [mailto:davidc(_at_)nag(_dot_)co(_dot_)uk]
Sent: Wednesday, April 16, 2003 9:40 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] Date Range in XSL


  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



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



<Prev in Thread] Current Thread [Next in Thread>