Subj : Re: E4X:
To : netscape.public.mozilla.jseng
From : Mike Shaver
Date : Tue Aug 31 2004 04:17 pm
McKinley, Richard wrote:
> I am trying to output a fixed space in HTML. When I try:
>
> tr.appendChild(
| );
>
> I get:
>
> The entity "nbsp" was referenced, but not declared.
>
> I have tried and that is successfull, but the HTML output
> actually says " " instead of . Can anyone help me?
nbsp is an HTML entity, and not an XML one (XML has only &, >,
and < in the "core"). You could declare the entity yourself, or just
use the form.
Mike
.