W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2009

Re: How can I create a HTMLDocument from the DOMImplementation

From: Anne van Kesteren <annevk@opera.com>
Date: Wed, 19 Aug 2009 20:52:50 +0200
To: "Jonas Sicking" <jonas@sicking.cc>, "Ian Hickson" <ian@hixie.ch>
Cc: "Bo Yang" <struggleyb.nku@gmail.com>, www-dom@w3.org
Message-ID: <op.uyxaqci664w2qv@annevk-t60>
On Wed, 19 Aug 2009 20:19:13 +0200, Jonas Sicking <jonas@sicking.cc> wrote:
> But how do you create a text/html document (where HTML elements
> .nodeName is uppercase), vs. a application/xhtml+xml document (where
> HTML elements .nodeName is lowercase)?

By using document.open() iirc.


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Wednesday, 19 August 2009 18:56:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:03 GMT