Subject: RE: Netscape Navigator not displaying emdash
From: Dylan Walsh <Dylan.Walsh@xxxxxxxxxx>
Date: Wed, 20 Dec 2000 09:49:07 -0000
|
I have a different suggestion from the others: Use the XML output mode in
your stylesheet. Seen as
the HTML output mode is the one that replaces — with —, this
should not happen in XML mode.
You'll be generating a sort of XHTML (really it is just well-formed HTML).
There are some compatibility tricks on the W3C site for older browsers e.g.
putting a space in empty tags e.g. "<br />" instead of "<br/>".
> -----Original Message-----
> From: Typrowicz, Jim [SMTP:jim.typrowicz@xxxxxxx]
> Sent: Tuesday, December 19, 2000 7:07 PM
> To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'
> Subject: Netscape Navigator not displaying emdash
>
> 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".
>
> I tried a trick suggested on the board previously that replaced the & with
> & but I still get the same result.
>
> Anyone run into this problem before?
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|