Re: [xsl] Finding max values

Subject: Re: [xsl] Finding max values
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Thu, 05 Apr 2007 13:42:34 +0200
tom tom wrote:
Using a single XPath expression in XSLT 2 can anyone recommend the most appropriate way to find a maximum value (ie most recent) of a date datatype that is encoded in the following kind of construct:

max(for $date in objects/object/p/date/@publish return xs:dateTime($date))


--

	Martin Honnen
	http://JavaScript.FAQTs.com/

Current Thread