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

Re: Nodes outside of documents

From: Don Park <donpark@quake.net>
Date: Tue, 11 Aug 1998 03:58:23 -0700
Message-ID: <006201bdc516$fa326140$2ee044c6@arcot-main>
To: <www-dom@w3.org>

>However, the spec for Document clearly states that nodes may not
>exist outside the context of a particular Document. This appears
>to contradict the idea of DocumentFragments.

Following restrictions are inplace for Level 1 of the DOM API:

1. DocumentFragment exists within the context of the Document which created

2. ownerDocument attribute never changes.

3. DocumentFragment can not be used as a template because nodes will be
'moved' to the destination.  Think of it as a 'laundry line' or a
'clipboard' for now.

4. Level 1 does not allow any movement of nodes between documents as well as

Is this clear enough?

Don Park
Received on Tuesday, 11 August 1998 07:07:06 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:04 UTC