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]

RE: whitespace


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@liberate.com
http://www.liberate.com



-----Original Message-----
From: Carlos Durand Silvestrin [mailto:csilvestrin@gfmi.com.br]
Sent: Friday, July 20, 2001 8:40 AM
To: xsl-list@lists.mulberrytech.com
Subject: [xsl] 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


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