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

Re: Netscape Navigator not displaying emdash

Subject: Re: Netscape Navigator not displaying emdash
From: Mike Brown <mike@xxxxxxxx>
Date: Tue, 19 Dec 2000 13:56:44 -0700 (MST)
emdash html
Typrowicz, Jim wrote:
> I have an emdash character (a long dash) that I would like to display on my
> HTML page, which is generated with Cocoon/XSL.  The character displays fine
> in IE but not Netscape.
> 
> I have something like:  ...test &#x2014; test
> 
> In IE it comes out "...test - test", as it should.  In Netscape it comes out
> as "...test &mdash; test".

Your XSLT processor is serializing the character as &mdash; which is legal
in HTML but Netscape doesn't like it. This is a bug in Netscape. Versions
prior to 6 don't recognize the entities corresponding to characters over
255. Netscape should accept &#8212; instead, but you have no way of
forcing your XSLT processor to serialize em dash characters that way.

Go to http://www.hclrss.demon.co.uk/demos/ent4_frame.html and in the
left frame choose "em dash" to jump to that point in the right frame
to test your browser & font combinations.

   - Mike
____________________________________________________________________
Mike J. Brown, software engineer at            My XML/XSL resources: 
webb.net in Denver, Colorado, USA              http://skew.org/xml/


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


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.