xsl-list
[Top] [All Lists]

RE: worng xsl:sort by numbers?

2003-04-15 02:07:49
Hi,

I have a <xsl:for-each select="..."> in my xsl. I want to sort the
elements by the number:
<xsl:sort select="nr" order="ascending"/>
But then I geht the following:

The data-type attribute or xsl:sort <http://www.w3.org/TR/xslt#sorting> 
defaults to "text"; you want

  <xsl:sort select="nr" data-type="number" />

Cheers,

Jarno - Neuroticfish: Skin (Binary 2002)

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



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