Posted by nkammah on 07/29/06 12:57
Hi all,
I am trying to use the order-by function in a xsl transformation but I
got the error message :
the attribute 'order-by' is not valid on 'xsl:value-of'.
my code is as below :
<xsl:for-each select="ResourceLog/Tester/DateStamp/TimeStamp/Process">
<xsl:variable name="Size"><xsl:value-of select="MemUsage"
order-by="@ProcessName"/></xsl:variable>
<b><xsl:value-of select="@ProcessName"/></b> : <xsl:value-of
select="$Size div 1024"/> Mb</li>
</xsl:for-each>
and my xmlns declaration : <xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
aparently, when I am using : <xsl:stylesheet
xmlns:xsl="http://www.w3.org/TR/WD-xsl"> it works fine ( but I cannot
use variables)
Any idea???
thanks a lot
[Back to original message]
|