Subject: RE: [xsl] worng xsl:sort by numbers? From: Jarno.Elovirta@xxxxxxxxx Date: Tue, 15 Apr 2003 12:07:49 +0300 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] worng xsl:sort by numbers, Michael Kay | Thread | Re: [xsl] worng xsl:sort by numbers, John Barden |
[xsl] worng xsl:sort by numbers?, John Barden | Date | Re: [xsl] xslt2 grouping, David Carlisle |
Month |