On Tuesday, 10/01/2002 at 09:19 EST, "Swanson, Brion" 
<[EMAIL PROTECTED]> wrote:
> It has been my understanding that one cannot change the name of the
> root/document node since a node's name is critically important to the
> structure of a node/DOM tree.

That's been true in past versions of the DOM. (Justification: Some DOMs 
subclass may nodes differently based on their type; consider the HTML DOM 
as an example.)

DOM Level 3 is proposing allowing (not requiring) some (not all) DOMs to 
relax this, via the renameNode operation. In DOMs which don't allow 
renaming, renameNode _replaces_ the node with a new on having the new 
name. See the current Working Draft for details: 
http://www.w3.org/TR/DOM-Level-3-Core/core.html#Document3-renameNode

______________________________________
Joe Kesselman  / IBM Research

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to