Subject: special characters decimal code display
From: "Mingqiang Yu" <myu@xxxxxxxx>
Date: Thu, 17 Nov 2005 22:09:05 -0700 (MST)
|
Hi,
This is part of my xml file. As you can see that, all the special
characters are encoded using their decimal codes. But when I output them
in the stylesheet using <xsl:value-of select="."/>, all special characters
are converted to their entity format. For example, < is converted to
<, > is converted to >, etc. But what I need is to convert
"<sup>&plusmn;</sup>" to "<sup>±</sup>"
so the stylesheet can display them correctly. Can anyone help on this
issue? Many thanks. -Ming
********************************************
<title item='1'
db='sny'>On the direct decays K<sup>&plusmn;</sup
>&rarr;&pi;<sup>&plusmn;</sup>+&gamma;+&#
38;gamma;, K<sup>&plusmn;</sup>&rarr;&pi;<sup
>&plusmn;</sup>+&gamma;+e<sup>+</sup>+
;e<sup>-</sup> and K<sup>&plusmn;</sup>&r
arr;&pi;<sup>&plusmn;</sup>+e<sup>+</sup&
#62;+e<sup>-</sup></title>
|