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

RE: get an &nbsp in theoutput html

Subject: RE: get an &nbsp in theoutput html
From: "Nestor Urquiza" <nestor.urquiza@xxxxxxxxxxxxxx>
Date: Fri, 4 Mar 2005 10:22:26 -0500
html nbsp multiple
Thanks a lot!

-----Original Message-----
From: Michael Kay [mailto:mike@xxxxxxxxxxxx] 
Sent: Friday, March 04, 2005 4:09 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE:  get an &nbsp in theoutput html

This used to be a FAQ but it hasn't appeared so often recently.

&nbsp; is the way that human HTML authors like to write the Unicode
non-breaking-space character, hex A0. That's because the character isn't
available on a keyboard and can't be distinguished from an ordinary space
character when displayed by a text editor. But when you generate the HTML
automatically, you don't need to generate it as &nbsp;, you can just
generate the non-breaking-space character directly. The easiest way to do
that is to write it in your stylesheet as &#xA0;

Michael Kay
http://www.saxonica.com/  

> -----Original Message-----
> From: Nestor Urquiza [mailto:nestor.urquiza@xxxxxxxxxxxxxx] 
> Sent: 04 March 2005 00:18
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  get an &nbsp in theoutput html
> 
> Hello everyone,
> I am an XSLT newbie, so I apologize if I am bothering you 
> with this. This is
> btw my second question to the list . let's see if I am luckier now ;-)
> This is the only way I found to insert an &nbsp; in my final 
> html. I would
> like to know a simpler way to do it
> Thanks in advance
> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text>

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.