This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: outputting &nbsp to HTML (see an article)




Look at
http://www.mycgiserver.com/~~lisali/papers/1.2/paper.htm

It details lots of things related to whitespaces in
html. 

Lisa 

--- Charly <cohana@investacorp.com> wrote:
> Hi Gabor.
> 
> Add this on the top of your xsl
> <!DOCTYPE xsl:stylesheet [ <!ENTITY nbsp "<xsl:text
>
disable-output-escaping='yes'>&amp;nbsp;</xsl:text>">]>
> <xsl:stylesheet version="1.0">
> ....
> </xsl:stylesheet>
> 
> 
> 
> ----- Original Message -----
> From: "gabor farkas" <xlat@pobox.sk>
> To: <XSL-List@lists.mulberrytech.com>
> Sent: Thursday, December 13, 2001 9:14 AM
> Subject: [xsl] outputting &nbsp to HTML
> 
> 
> > Hello all,
> >
> >       I have a simple problem:
> >       how to emit &nbsp via xsl?
> >       if i write &nbsp it throws me an 'referene
> to undefined entity'
> >       error;
> >       if i write &amp;nbsp; it outputs &amp;nbsp;
> (instead of &nbsp;)
> >       if i write <![CDATA[ &nbsp; ]]> the &nbsp
> appears when viewed in
> >       a browser...
> >
> > any ideas?
> > thx
> > Gabor
> >
> >
> >  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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]