xsl-list
[Top] [All Lists]

RE: RE: Troubleshooting a sort

2004-02-20 13:37:11
-----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



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