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

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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:50:31 UTC