xsl-list
[Top] [All Lists]

Re: [xsl] Finding max values

2007-04-05 04:43:11
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/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--