This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: RE:_]_ _is_being_displayed_as_Á
- From: Mike Ferrando <mikeferrando at yahoo dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Tue, 11 Dec 2001 09:55:21 -0800 (PST)
- Subject: Re: [xsl] RE:_]_ _is_being_displayed_as_Á
- Reply-to: xsl-list at lists dot mulberrytech dot com
I hacked my way through this problem with extended characters Ò
for example. I first searched and replaced all & for & and then
ran saxon and then searched and replaced back &# 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 , 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@ntlworld.com> wrote:
> > However, you might try '&nbsp;' instead. That should
> > translate into
> > in the output.
> > - Theo
>
> Oh dear, how often do we need to say it?
>
> & writes an ampersand to the result tree. This will be
> serialized as
> "&"
> nbsp; writes the characters "nbsp;"
>
> So when the result is serialized, you get &nbsp;, and this
> shows on the
> browser screen as " ". 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