[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: RE:_]_ _is_being_displayed_as_Á

Subject: Re: RE:_]_ _is_being_displayed_as_Á
From: Mike Ferrando <mikeferrando@xxxxxxxxx>
Date: Tue, 11 Dec 2001 09:55:21 -0800 (PST)
Re:  RE:_]_ _is_being_displayed_as_Á
I hacked my way through this problem with extended characters &#210;
for example. I first searched and replaced all & for &amp; and then
ran saxon and then searched and replaced back &amp;# for &#. 

but you have to know your data well enough to anticipate the other
stuff.

I at first attempted to run d-o-e, but it didn't work for me (a new
coder), so I did it this way. I have to admit that I have a macro
that creates new document with a table of all extended characters in
the document with values and character and page number (in a table it
can be sorted by column). So I was able to look over the output
before I did my search and replace.

Not much of an xsl answer I guess.

Mike F.
Library of Congress
Washington, DC


p.s. I thought that xsl discouraged the use of &nbsp;, and instead
encouraged the use of the Unicode characters (aka Michael Kay's
book). The whitespace issues are a little intimidating to me at this
point.

--- Michael Kay <michael.h.kay@xxxxxxxxxxxx> wrote:
> > However, you might try '&amp;nbsp;' instead.  That should
> > translate into
> > &nbsp; in the output.
> > 	- Theo
> 
> Oh dear, how often do we need to say it?
> 
> &amp; writes an ampersand to the result tree. This will be
> serialized as
> "&amp;"
> nbsp; writes the characters "nbsp;"
> 
> So when the result is serialized, you get &amp;nbsp;, and this
> shows on the
> browser screen as "&nbsp;". Which is wrong.
> 
> Mike Kay
> 
> 
>  XSL-List info and archive: 
> http://www.mulberrytech.com/xsl/xsl-list
> 


__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

 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.