-----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