D
Dingbat
I am finding that when I use XSLT to display convert XML like this:
<temp units="°C">23</temp>
the resulting HTML displays an extra character in front of the degree
symbol, like this:
23°C
This happens whether I use PHP or ASP so it seems to be
parser-independent. The XSL fragment would be something like:
<xsl:value-of select="@units"/>
Can anyone explain what's going on? I'm trying to develop XML files
containing weather info, and example XSLT to format and display them,
and this is a bit of a speedbump.
The XML displays as expected in IE 6, ie like this:
<temp units="°C">23</temp>
Thanks for any help.
Dingbat
<temp units="°C">23</temp>
the resulting HTML displays an extra character in front of the degree
symbol, like this:
23°C
This happens whether I use PHP or ASP so it seems to be
parser-independent. The XSL fragment would be something like:
<xsl:value-of select="@units"/>
Can anyone explain what's going on? I'm trying to develop XML files
containing weather info, and example XSLT to format and display them,
and this is a bit of a speedbump.
The XML displays as expected in IE 6, ie like this:
<temp units="°C">23</temp>
Thanks for any help.
Dingbat