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: writing   to html files using XSL


Hi,

You receive the error because your entity is not declared in your XSL
(and is not & < or > 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@i2.com 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

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