Re: [xsl] RE:_]_ _is_being_displayed_as_Á

Subject: Re: [xsl] RE:_]_ _is_being_displayed_as_Á
From: Mike Ferrando <mikeferrando@xxxxxxxxx>
Date: Tue, 11 Dec 2001 09:55:21 -0800 (PST)
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