You are here: xslt order by « HTML « IT news, forums, messages
xslt order by

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация