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

Re: bizzare number problem

Subject: Re: bizzare number problem
From: tom.kirkpatrick@xxxxxxxxxxxx
Date: Wed, 26 Jan 2005 14:42:28 +0000
number problem
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@xxxxxxxxx>
26/01/2005 14:16
Please respond to xsl-list

 
        To:        xsl-list@xxxxxxxxxxxxxxxxxxxxxx
        cc: 
        Subject:        Re:  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
________________________________________________________________________




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

Tel: +44 1235 555139
Web: www.virusbtn.com

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.