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

RE: Using   in Stylesheets

Subject: RE: Using   in Stylesheets
From: "Nanto, Dan" <dnanto@xxxxxxxxxx>
Date: Fri, 1 Dec 2000 09:14:54 -0700
nbsp referenced but not declared
You can use "&nbsp;" in your stylesheet if you first declare it.  You can do
this using the following:

"<!DOCTYPE xsl:stylesheet [<!ENTITY nbsp "&#160;">]>"

That is how we got around it...

-----Original Message-----
From: Deirdre O'Brien [mailto:ddo@xxxxxxx]
Sent: Friday, December 01, 2000 5:48 AM
To: XSL-List@xxxxxxxxxxxxxxxx
Subject: Using &nbsp; in Stylesheets




Hi,

I am trying to put tabs in my HTML output that is generated by a
stylesheet.  The only way I know how to do this is to put
&nbsp; in the text.  I have tried this using
     <xsl:text>&nbsp;</xsl:text> or on its own or within a <xsl:value-of
select="&nbsp;"/>

However when I run the stylesheet through the xalan processor I get an
error saying
     "The entity 'nbsp' was referenced but not declared."

Does anybody know how to solve this?
Or is there another way I can get a tab to come out?

Thanks
Deirdre



 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

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.