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

Re: semi-newbie question about escaping

Subject: Re: semi-newbie question about escaping
From: Mike Brown <mike@xxxxxxxx>
Date: Tue, 15 Oct 2002 12:02:11 -0600 (MDT)
what is xa0
Bob Purvy wrote:
> The goal here was to output some non-breaking space entities in HTML 
> (&nbsp;) to denote indentation.

FAQ. You want to get the no-break space character. In HTML you had the
unnecessary "nbsp" entity that you could reference if you couldn't or didn't
know how to type the character directly (alt-0160 on WinNT/2K/XP) and didn't
know that you could write &#160; or &#xA0;. Well, XML is the same, but doesn't
have the "nbsp" entity. So just write &#160; or &#xA0; and let the XSLT
processor worry about how to serialize it in the output (it will most likely
emit "&nbsp;" for you).

See http://www.dpawson.co.uk/xsl/sect2/nbsp.html for more.

   - Mike
____________________________________________________________________________
  mike j. brown                   |  xml/xslt: http://skew.org/xml/
  denver/boulder, colorado, usa   |  resume: http://skew.org/~mike/resume/

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.