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

RE: whitespace

Subject: RE: whitespace
From: "Crowers, Steve" <scrowers@xxxxxxxxxxxx>
Date: Fri, 20 Jul 2001 08:59:40 -0400
xml whitespace nbsp define
try adding an entity definition to your stylesheet like follows:

<?xml version="1.0"?> 
<!DOCTYPE xsl:stylesheet [
<!ENTITY nbsp   "&#160;">
]>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
...
</xsl:stylesheet>

--or--

use the escape sequence directly instead...

&#160;

Steve Crowers
Software Engineer


Liberate Technologies
2 Walnut Grove,
Suite 200
Horsham, PA 19044
Phone: 215-773-9400 x 9514
Fax: 215-773-9401
scrowers@xxxxxxxxxxxx
http://www.liberate.com



-----Original Message-----
From: Carlos Durand Silvestrin [mailto:csilvestrin@xxxxxxxxxxx]
Sent: Friday, July 20, 2001 8:40 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject:  whitespace


I have a problem using &nbsp; (white space). How can I print whitespace in
HTML using XSLT?



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

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


Current Thread
  • RE: whitespace
    • Crowers, Steve - Fri, 20 Jul 2001 09:06:52 -0400 (EDT) <=

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.