[Home] [By Thread] [By Date] [Recent Entries]
Michael Kay wrote:
My browser shows this correctly, but when I embed it in some XML and run it though my stylesheet, the output is this:
If I take the original <span> that gets sent to the XSLT transformer and stick it in a file called foo.html, it displays correctly with no fuss at all. So the problem is not in the browser's charset. Moreover, as I said, it appears correctly in the textarea immediately below the place where the current value is displayed. The reason it appears correctly in this case is that the XML in this case contains the following embedded HTML: <div>
<textarea>
<span style='font-size: 11pt; font-family: Arial;' lang='HE'>
&#1499;&#1514;&#1493;&#1489;
</span>
</textarea>
</div>which only contains 8-bit entities at transformation time. ---------------------------------------------------------------------- John English | mailto:je@xxxxxxxxxxxxxx Senior Lecturer | http://www.it.bton.ac.uk/staff/je School of Computing & MIS | "Those who don't know their history University of Brighton | are condemned to relive it" (Santayana) ----------------------------------------------------------------------
|

Cart



