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

How to output trademark character in standards-complia

Subject: How to output trademark character in standards-compliant mode
From: Maria Amuchastegui <mamuchastegui@xxxxxxxxxxx>
Date: Tue, 12 Apr 2005 17:52:47 -0400
trademark character
I am trying to output the trademark character, TM. I had originally encoded
this as &#153; and it displayed correctly.
Both my XML and XSL files are encoded in ISO-8859-1. My XML parser is
MSXML4.
 
However, because I want the browser to run in standards-compliant mode, I
added the following to the stylesheet:
 
<xsl:output method="html" doctype-public="-//W3C//DTD HTML 4.01
Transitional//EN" doctype-system="http://www.w3.org/TR/html4/loose.dtd"/
<http://www.w3.org/TR/html4/loose.dtd> >
 
After I did this, the trademark character no longer displayed properly.
 
I realize that &#153; is undefined in ISO-8859-1 because it reserves values
127-159 for control characters, so I tried to encode this using hexadecimal
notation
&#x2122; as well as decimal notation &#8482;
 
Is there a way to display the trademark character when the browser is
running in standards-compliant mode?
 
Maria

Current Thread

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
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.