RE: [xsl] whitespace

Subject: RE: [xsl] whitespace
From: "Crowers, Steve" <scrowers@xxxxxxxxxxxx>
Date: Fri, 20 Jul 2001 08:59:40 -0400
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: [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


Current Thread