Jan 7, 20053
XSLT Version of SQL SELECT MAX() and SELECT MIN()
I've frequently encountered the need to produce titles for XSLT produced tables. For example, given the following XML: <events> <event date="2004-11-30 14:00:00" /> <event date="2004-11-30 14:00:00" /> <event date="2003-11-30 14:00:00" /> <event date="2002-11-30 14:00:00" /> </events> To extract the values "2002" and "2004" to format a title such as "Events (2002 > 2004)". To do this effectively requires us to extract both the MAX and MIN values, for which we need an XSLT equivalent to the SQL ...