RE: [xsl] RE:

Subject: RE: [xsl] RE:
From: "Xuegen Jin" <xjin_imi@xxxxxxxxx>
Date: Sat, 14 Apr 2001 18:38:52 -0400
Maybe I was wrong. I only tested it on a win2k machine.

"&#153;" is displayed like superscripted "TM" on IE 5.5, Netscape 4.75 and
Netscape 6. I assumed that was the trade mark symbol.

This is the script I used to see how character entities are displayed in a
HTML page:

<script language="javascript">
for (var i=0; i < 255; i++)
  document.write (i +":" + "&#" + i + ";<BR>");

and check against &trade;
-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Mike Brown
Sent: Saturday, April 14, 2001 1:32 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] RE:

Xuegen Jin wrote:
> trade: &#153;

You're wrong.

&#153; is allowed in XML, yes, if you copy the character it represents
into a new document via an XSLT transformation, you might get &#153;
in your output XML or HTML.

But &#153; does not represent a trademark symbol; it represents a non-
printing control character.

If you think it represents a trademark symbol, your perception of
reality has probably been infected by the misbehavior of Netscape on
Windows platforms with the Windows-1252 character map in effect.

   - Mike
mike j. brown, software engineer at  |  xml/xslt: in denver, colorado, USA    |  personal:

 XSL-List info and archive:

Do You Yahoo!?
Get your free address at

 XSL-List info and archive:

Current Thread