Show us the code and we'll help you find the bugs.
Also, if you don't know whether the code is running client side or server
side, then you'd better tell us what you are doing, so that we can explain
it to you. If you're seeing different results in different browsers then it
is almost certainly client-side.
Michael Kay
http://www.saxonica.com/
-----Original Message-----
From: Dale Tan [mailto:wtdtan(_at_)gmail(_dot_)com]
Sent: 10 July 2008 07:11
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] NaN showing up in firefox
I'm doing some math with xslt to find a low number and a high
number to see which number elements you're viewing (1 to 60
of 100). In safari, when you first load the page, you get the
initial numbers correctly.
However, when firefox is loaded, i get NaN to NaN of 100.
But when i go to the next page, the numbers show up perfectly
fine (61 to 100 of 100).
i find this kind of odd simply b/c i thought all the xslt was
done server side and then spit out into html. But I guess i
am mistaken here.
I have tried wrapping all my values inside the number()
function and then doing the math that way, but that still
didn't seem to work.
does anyone have any suggestions? has anyone else encountered
this strange behavior? could it be that since i'm selecting
my values from an @attribute that's why the NaN is showing up
in Firefox?
thanks
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--