[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Netscape6.x not recognizing data-type="number" on

Subject: Re: Netscape6.x not recognizing data-type="number" on xsl:sort
From: Oleg Tkachenko <olegt@xxxxxxxxxxxxx>
Date: Wed, 31 Oct 2001 10:50:45 +0200
xsl sort data type number
JYurow@xxxxxxx wrote:

I am sorting a number of responses to a questionnaire by an attribute of my Respondent element called Sortno. I am using the attribute, data-type="number" in my xsl:sort statement.

The view I get in my IE6 browser is:

Sortno
1
2
3
4
5
6
7
24
46
which is the correct numerical sort.

The order I get in Netscape6.x is:
1
2
24
3
4
46
5
6
7
which is the text sort.

If I create an html document by executing Dave Clark's XT from the Command Line, I get the same results as the IE6 view. That is, the desired result.

Any ideas?
Hmm, it's rather strange. Can you show us your stylesheet?

I'm wondering because simple sort like

<xsl:for-each select="//item">
	<xsl:sort data-type="number"/>
	<xsl:copy-of select="."/>
</xsl:for-each>

works like a charm for me in ns6.1 and mozilla0.9.5


-- Oleg Tkachenko Multiconn International, Israel


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



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.