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:32:36 +1000
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