[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Transforming ™ to ™

  • To: xml-dev@l...
  • Subject: Transforming ™ to ™
  • From: "Sanjay Goel" <sanjay.goel@g...>
  • 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=

trade
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 &trade; in the final html.
Now, I see that if I put &amp; in the xml, I get &amp; in the output html. However, if I put &#x2122; or if I define a entity, the output in html is ?. So this html gets displayed differently on different browsers. I need &trade; or &#x2122; in the final html so that the browsers read it correctly.

I tried creating entity defination as <!ENTITY trade "&#x0026;#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


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.