... until the collector arrives ...

This "blog" is really just a scratchpad of mine. There is not much of general interest here. Most of the content is scribbled down "live" as I discover things I want to remember. I rarely go back to correct mistakes in older entries. You have been warned :)


Finding Extreme Values in XSLT

Here's a neat trick to find the maximum value for an element using XSLT:

<xsl:variable name="max-date">
  <xsl:for-each select="/jira-work-activity/entry/date">
    <xsl:sort order="descending"/>
    <xsl:if test="position()=1"><xsl:value-of select="."/></xsl:if>

Blog Archive