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

Comparing multiple dates to display the most recent

Subject: Comparing multiple dates to display the most recent
From: "Katie McNally" <kmcnally9@xxxxxxxxxxx>
Date: Thu, 10 Jan 2002 13:46:06 -0600
rss feed
For the XML included below, I would like to display one value for the Mortage date (RequestType = MORTGAGE).

For the example xml below I want to display:
Mortgage Request Date: 12/23/2001

Multiple Mortgage dates can be returned in the xml, but only the most recent should be displayed. If I don't know the number of dates returned (of type MORTGAGE) ahead of time, how do I determine which date is the most recent and then display it?


 	<DateRequested>03-Dec-2001 16:55:23</DateRequested>
	 <DateRequested>06-Dec-2001 14:33:00</DateRequested>
	 <DateRequested>07-Dec-2001 11:38:00</DateRequested>
	 <DateRequested>23-Dec-2001 13:18:00</DateRequested>
	 <DateRequested>04-Dec-2001 12:31:00</DateRequested>

_________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.

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

Current Thread


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.
First Name
Last Name
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.