xsl-list
[Top] [All Lists]

RE: FW: Troubleshooting a sort

2004-02-19 12:32:54
-----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



<Prev in Thread] Current Thread [Next in Thread>