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: Netscape Navigator not displaying emdash


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 — test
> 
> In IE it comes out "...test - test", as it should.  In Netscape it comes out
> as "...test — test".

Your XSLT processor is serializing the character as — 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 — 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


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