RE: [xsl] FW: Troubleshooting a sort

Subject: RE: [xsl] FW: Troubleshooting a sort
From: "Andreas L. Delmelle" <a_l.delmelle@xxxxxxxxxx>
Date: Thu, 19 Feb 2004 20:32:54 +0100
> -----Original Message-----
> From: Grant, Kathryn
>
> If anyone has any other ideas, I'd welcome them.
>

Hi,

Sorry, ignore my other post... or at least study it very carefully, and
you'll notice that I was too quick :) Can't sort status_history elements, as
there's only one per SAVEIdea, not?

Basic idea will work in your situation though...
Only should be more like

  <td ...>
    <xsl:apply-templates select="status_history" />
  </td>

<xsl:template match="status_history">
  <xsl:value-of select="status[last()]
</xsl:template>

if the status elements are always sorted ascending.


Cheers,

Andreas


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread