Do you have a question? Post it now! No Registration Necessary. Now with pictures!
July 29, 2006, 12:57 pm
rate this thread
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:variable name="Size"><xsl:value-of select="MemUsage"
select="$Size div 1024"/> Mb</li>
and my xmlns declaration : <xsl:stylesheet version="1.0"
aparently, when I am using : <xsl:stylesheet
xmlns:xsl="http://www.w3.org/TR/WD-xsl "> it works fine ( but I cannot
thanks a lot
Re: xslt order by
Use <xsl:sort> instead
That's an enormously obsolete early version of XSL, so old that it was
XSL rather than XSLT
XSL began as one TR that encompassed both XSLT and XSL:FO. The "XSLT"
part was also quite crude and a lot different to what it is now. Don't
use anything resembling this ancient old version.