Subject: Re: [xsl] Netscape Navigator not displaying emdash From: Mike Brown <mike@xxxxxxxx> Date: Tue, 19 Dec 2000 13:56:44 -0700 (MST) |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Netscape Navigator not displa, Typrowicz, Jim | Thread | Re: [xsl] Netscape Navigator not di, David Carlisle |
RE: [xsl] accessing token in data.., Nanto, Dan | Date | Re: [xsl] Replacement for boolean !, Goetz Bock |
Month |