xsl-list
[Top] [All Lists]

RE: Special symbols in XML that XSLT caanot recognize

2003-10-17 07:31:55
Hi Michael,
Does that mean the XML should be storing the characters in the character entity 
form, therefore encoding used in XML document may not be right since it's 
storing character instead?
Thanks for your help.
Vivek

-----Original Message-----
From: Michael Kay [mailto:mhk(_at_)mhk(_dot_)me(_dot_)uk] 
Sent: Friday, October 17, 2003 7:05 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: RE: [xsl] Special symbols in XML that XSLT caanot recognize


Hello,
I have international characters and symbols like "(c)" in the
XML file. When I run the XSL stylesheet against it, it gives 
'unrecognizable characters". If I substitute it by the 
character entity in the XML, it works fine. I am using 
encoding="iso-8859-1". I tried UTF-8 and have the same 
problem. Any suggestions? Thanks Vivek

This suggests that the actual character encoding used in the file is different 
from the encoding declared in the XML declaration. It's an XML problem, not an 
XSLT one.

Michael Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>