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

Re: writing   to html files using XSL

Subject: Re: writing   to html files using XSL
From: Christophe Lauret <clauret@xxxxxxxxxxxxxx>
Date: Thu, 19 Oct 2000 10:34:18 +1000
christophe lauret
Hi,

You receive the error because your entity is not declared in your XSL
(and is not &amp; &lt; or &gt; which are recognised by your XSLT
processor)

Just insert this before your <xsl:stylesheet> tag

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

Alternatively, you can use &#160; or &#xA0; which are
the equivalents of &nbsp; and considered the same
by the XSLT processor.

Chris-

Sridhar_Ramachandran@xxxxxx wrote:

>
>  Is there any way to write out &nbsp; to an
>  html file from XSL. I have blank <TD></TD>
>  tags which are rendered ok in IE5 but do
>  look right in Netscape Navigator. I tried
>  <td> &nbsp; but XALAN errors out with a
>  "Entity not defined..." msg.
>
>  Thanks in Advance
>  Sridhar
>
>
>  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.