David Kitchen

Avatar

Just another SharePoint developer blogging

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 ...

When Web Parts break Web Part Pages

One of the most frustrating things with WSS is the feeling that you're not in control. You work hard to develop a web part, have it deployed, and feel a surge of pride when it's being used... but the day it breaks is the day you're called on at the 11th, against the clock, to fix it. This is just when you don't want to be staring at a ...

,