This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: RE:


Maybe I was wrong. I only tested it on a win2k machine.

"™" 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>");
}
</script>

and check against &trade;
-----Original Message-----
From: owner-xsl-list@lists.mulberrytech.com
[mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Mike Brown
Sent: Saturday, April 14, 2001 1:32 PM
To: xsl-list@lists.mulberrytech.com
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: http://skew.org/xml/
webb.net in denver, colorado, USA    |  personal:
http://hyperreal.org/~mike/

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


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]