RE: Cut/Paste from one document to another

I see; one have to be pretty clear in what one writes. I did not, of course,
mean that any interface was *changed* in DOM2.

I meant that the "thing" was changed and the change was that some new
interfaces was introduced, that would solve problems found in DOM1

Sp1

-----Original Message-----
From: steve@rsv.ricoh.com [mailto:steve@rsv.ricoh.com]
Sent: 31. august 1999 19:01
To: Daniel Glazman
Cc: Espen Frimann Koren; www-dom@w3.org
Subject: Re: Cut/Paste from one document to another


Daniel Glazman <Daniel.Glazman@der.edf.fr> writes:

> Espen Frimann Koren wrote:
>
> > Yes, that is right. A document will only accept node that are created
> using ist > createX operations. This means that you have to clone the node
> you will cut > and paste, like this pseudo code:

> Thanks for that answer. I have to say that this is really a bad surprise.
> XML well-formed documents provide an easy way of fragment manipulation and
> encapsulation into other XML w-f documents but DOM1 does not allow that
> :-( In that case, DOM1 cannot be easily used out of the browser world,
> manipulating one document only at a time.
>
> > PS! Does someone know whether this has changed in DOM 2.0? I think I
have
> > seen something in the new interfaces in the spec that has this effect
>
> I hope you are right !!!!

I don't recall seeing anything in DOM level 2 (not DOM 2.0) that changes
_anything_ in level 1.  It's all a bunch of additional interfaces that (in
my opinion) still aren't particularly useful outside the scripting
environment that the DOM is intended for.

The DOM is most emphatically NOT a general-purpose, easily-implemented,
least-common-denominator interface for SGML.  It was never intended to be
and, as far as I can tell, never will be.

--
Stephen R. Savitzky  <steve@rsv.ricoh.com>  <http://rsv.ricoh.com/~steve/>
Quote of the month:  Death is nature's way of telling you to slow down.
Chief Software Scientist, Ricoh Silicon Valley, Inc. Calif. Research Center
 voice: 650.496.5710  front desk: 650.496.5700  fax: 650.854.8740
  home: <steve@theStarport.org> URL: http://theStarport.org/people/steve/

Received on Thursday, 2 September 1999 06:57:54 UTC