RE: [xsl] RE: Troubleshooting a sort

Subject: RE: [xsl] RE: Troubleshooting a sort
From: "Andreas L. Delmelle" <a_l.delmelle@xxxxxxxxxx>
Date: Fri, 20 Feb 2004 21:37:11 +0100
> -----Original Message-----
> From: Grant, Kathryn
> 
> Thanks for your reply. I'm sure it's due to my inexperience that 
> it's still not working. Some kind of sort is being performed by 
> the code you suggested (in other words, the elements do reorder), 
> but I can't see a pattern to it.
> 

Hi,

IIC the sort should be performed in the correct way now.. :/

However.. very remote guess
> 
> <xsl:for-each select="//SAVEIdeas/SAVEIdea">
> <xsl:sort select="(*|*/*)[name()=$param1][last()]"/>

try making that:
  <xsl:sort select=(*|*/*[last()])[name()=$param1]" />


Cheers,

Andreas


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


Current Thread