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>
Claude,

>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
it.

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
implementations.

Is this clear enough?

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

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