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]
Other format: [Raw text]

RE: Output  


> <xsl:text disable-output-escaping="yes">&nbsp;</xsl:text>
>
> Results in error:
> 09:03:47 Error: line 130 col 59: The entity "nbsp" was
> referenced, but not
> declared.
>
> What am I missing?
>

(a) The fact that in XML you have to declare entities before you can use
them
(b) The 1000001 entries on this list that tell you how to solve this
problem: use "&#xa0;". And don't use disable-output-escaping (it has no
effect here because you aren't outputting characters that get escaped; but
if you were, the only effect would be to make your output ill-formed.)

Mike Kay


 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]