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 &nbsp; and that is successfull, but the HTML output > actually says "&nbsp;" 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 .