xsl-list
[Top] [All Lists]

Re: bizzare number problem

2005-01-26 07:42:28
Well that first post was a very simplified version of the problem at hand. 
I thought it may have to do with the double floating point numbers or 
something like that.

It turns out that the problem was infact with another part of the 
stylesheet. I have no idea which part, but I came up with a fix (as 
detailed in my previous post).

I'm very sorry for confusing you all.






David Carlisle <davidc(_at_)nag(_dot_)co(_dot_)uk>
26/01/2005 14:16
Please respond to xsl-list

 
        To:        xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
        cc: 
        Subject:        Re: [xsl] bizzare number problem



Clearly no one can run that as they haven't the correct files.
Could you confirm if you do in fact get the behaviour reported in your
first post, namely that executing


<xsl:for-each select = "//entry">
<xsl:value-of select="@number"/><br />
</xsl:for-each>

on

<enrties>
<entry number="20.35">
<entry number="50.95">
<entry number="20.02">
<entry number="1.00">
<entry number="5.22">
</enrties>

produces

- - ./,),(-*,(
50.95
20.02
1.00
5.22


That is, if you make a stylesheet with a single template that matches
"/" with template body that for-each, do you get the output that you
indicated?

If you don't then the problem is with some other part of your stylesheet
that you didn't show.

David


________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

--~------------------------------------------------------------------
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>
--~--




-- 
Tom David Kirkpatrick
Virus Bulletin Web Developer, Virus Bulletin

Tel: +44 1235 555139
Web: www.virusbtn.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>
--~--



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