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

Date Range in XSL

Subject: Date Range in XSL
From: nshah@xxxxxxxxxxxx
Date: Wed, 16 Apr 2003 11:36:31 -0400
xml date range
I have a XML document in the following format.  The date is in mm/dd/yyyy
format.  Once i get a symbol, start date and a end date, how do i search
the XML doc for all records that fall within that date range for that
symbol.   For example, in the below format, when the user enters in a query
for MSFT and date range from Start date 02/16/2003 to End date  04/16/2003,
Only one record is shown.

<recorddata>
    <symbol>MSFT</symbol>
    <date>04/15/2003</date>
 </recordata>
<recorddata>
    <symbol>CSCO</symbol>
    <date>04/15/2003</date>
 </recordata>
<recorddata>
    <symbol>MSFT</symbol>
   <date>01/14/2003</date>
 </recordata>
<recorddata>
    <symbol>INTC</symbol>
   <date>01/13/2003</date>
 </recordata>

Thanks a lot for your help

Nehal



 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.