This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Netscape6.x not recognizing data-type="number" on xsl:sort
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] Netscape6.x not recognizing data-type="number" on xsl:sort
- From: Oleg Tkachenko <olegt at multiconn dot com>
- Date: Wed, 31 Oct 2001 10:50:45 +0200
- Organization: Multiconn International
- References: <91.129c05b6.2910e688@aol.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
JYurow@aol.com 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