[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: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 20 Dec 2000 11:29:30 GMT
ndash 8211 and 45
> Would you *please* post this script here 

sed -e "s/ndash;/#8211;/g" oldfile.html > new.html


add more -e expressions as required, eg

 -e "s/trade;/#8482;/g" 
 -e "s/lsquo;/#8216;/g" 
 -e "s/rsquo;/#8217;/g"

They are actually ones we use, but you might like to match against &trade;
explicitly rather than trade; if there is any danger of that appearing.
(I didn't as I couldn't be bothered to work out how to quote the & so it
works on assorted unix shells and nt :-)

As has been commented other alternatives are use saxon, use the xml
output, use a different browser (but IE5 doesn't work too well under AIX,
I find) or modify the HTML output if you have the sources for your XSL
engine.



David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.star.net.uk/stats.asp

 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.