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

Re: swap root nodes between XML - HTML documents

From: Joseph Kesselman <keshlam@us.ibm.com>
Date: Fri, 20 Jul 2001 08:36:37 -0400
To: www-dom@w3.org
Message-ID: <OFD5538754.F5171E8C-ON85256A8F.00450783@pok.ibm.com>
>I have tried to replace the html's root

The DOM does not currently support removing/replacing the root element.
We're considering changing that in DOM Level 3, but until that gets settled
the only portable option is to build a new Document.

By the way, the "swapNode" method you mentioned is not part of the standard
DOM API.

______________________________________
Joe Kesselman  / IBM Research
Received on Friday, 20 July 2001 08:37:12 GMT

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