Re: [xsl] bizzare number problem

Subject: Re: [xsl] bizzare number problem
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 26 Jan 2005 14:16:07 GMT
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
________________________________________________________________________

Current Thread