[XML-DEV Mailing List Archive Home]
[By Thread]
[By Date]
Transforming ™ to ™
- To: xml-dev@...
- Subject: Transforming ™ to ™
- From: "Sanjay Goel" <sanjay.goel@...>
- Date: Tue, 18 Jul 2006 19:28:03 +0530
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=C8pV2qFzMqtr8UhDFv1/iUBoaN+RpryJ9LhKyVykAzaWldrFEe1KRRmUsUpKijBj8q24cNFsz0q9P9AK9kzs2z0/n7lJHzuahHHm5C4U/Fzkqey60fHdtDH3QXgCRU9OVHUhqgHkNPhO/H3yzNDklNUXKx1jJNLenAdKACPzyPw=
Hi, I am new to this list. I have an xml which I transforming to an html. I want the trademark symbol in the output html. More specifically, I need ™ in the final html. Now, I see that if I put & in the xml, I get & in the output html. However, if I put ™ or if I define a entity, the output in html is ™. So this html gets displayed differently on different browsers. I need ™ or ™ in the final html so that the browsers read it correctly.
I tried creating entity defination as <!ENTITY trade "&#x2122;"> but that gives the same output. Also, I cannot use <xsl:text disable-output-escaping="yes"> kind of hack.
How do you people put special characters like these in xml?
Thanks Sanjay
|