Re: [xsl]_is_being_displayed_as_

Subject: Re: [xsl]_is_being_displayed_as_
From: Mike Ferrando <mikeferrando@xxxxxxxxx>
Date: Tue, 11 Dec 2001 10:29:56 -0800 (PST)
At the risk of looking stupid, couldn't you just declare an entity
for this kind of thing? And you could make the stylesheet browser
sensitive.

Mike F.
Library of Congress
Washington, DC


--- "Brinkman, Theodore" <Theodore.Brinkman@xxxxxxxxxxxxxxxxxxxx>
wrote:
> Ok then, since I *have* consulted the FAQ (and seem to be missing
> this).
> Could somebody explain to my WHY '&amp;' translates to '&' but
> '&amp;nbsp;'
> doesn't change at all?
> 
> And, how would you suggest someone actually get '&nbsp;' into the
> output in
> order to avoid  the issue which started this thread in the first
> place?
> (browsers assuming a different encoding type than is sent, and
> therefore
> mistranslating character 160 as 'Á' instead of ' '?  I have yet to
> see a
> browser which misunderstands '&nbsp;'.
> 
> For the record, the FAQ does not seem to contain an explanation of
> why this
> doesn't work.  All I can find is the solution of using ' '
> instead.  A
> search of the archives for 'nbsp;' turnes up ABSOLUTELY NOTHING!!!!
>  As for
> the XSLT spec, I've tried reading it.
> 
> Also for the record, it took three responses to this error on my
> part for
> someone to bother to: a) be civil, and/or b) explain WHY the output
> one
> would expect isn't what you *actually* get.  Thank you, Michael
> Kay.
> 
> David Carlisle, if there are as you said, "...an average of 1001
> posting a
> week for explanations of why this is the case." please let me know
> what to
> search for in the archive to find ONE of them.  Until then get of
> your
> high-horse.
> 
> 	- Theo
> 
> -----Original Message-----
> From: Julian Reschke [mailto:julian.reschke@xxxxxx]
> Sent: Tuesday, December 11, 2001 12:15 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] RE: [xsl] RE: [xsl] RE: [xsl] Re: [xsl] RE: [xsl]
> Re:
> [xsl]   is being displayed as Á
> 
> 
> Nope.
> 
> It will translate to "&amp;nbsp;" in the output.
> 
> *Please* consult the spec, the FAQ, or the archives of this mailing
> list.
> 
> 
> > -----Original Message-----
> > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of
> Brinkman,
> > Theodore
> > Sent: Tuesday, December 11, 2001 5:55 PM
> > To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'
> > Subject: [xsl] RE: [xsl] RE: [xsl] Re: [xsl] RE: [xsl] Re: [xsl]
>  
> > is being displayed as Á
> >
> >
> > However, you might try '&amp;nbsp;' instead.  That should
> translate into
> > &nbsp; in the output.
> 
> 
>  XSL-List info and archive: 
> http://www.mulberrytech.com/xsl/xsl-list
> 
>  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