Try using single quotes instead to hold the string and thus eliminating the need to escape your double-quote marks. On Fri, 3 Jan 2003 21:24:41 -0700 Steve Clason <steve at clason.org> wrote: > theDOM.documentElement.outerHTML = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\"\n \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\"> \n"