[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: Dylan Walsh <Dylan.Walsh@xxxxxxxxxx>
Date: Wed, 20 Dec 2000 09:49:07 -0000
emdash
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 &#x2014 with &mdash;, 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 &#x2014; test
> 
> In IE it comes out "...test - test", as it should.  In Netscape it comes
> out
> as "...test &mdash; test".
> 
> I tried a trick suggested on the board previously that replaced the & with
> &amp; 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


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.