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

Re: method cloneNode ... can i overide the attributes ? ... urgent

From: Cameron McCormack <cam@mcc.id.au>
Date: Thu, 30 Aug 2007 12:56:55 +1000
To: Garrett Smith <dhtmlkitchen@gmail.com>
Cc: Eddhie_Kurnianto@app.co.id, www-dom@w3.org
Message-ID: <20070830025655.GB22333@arc.mcc.id.au>

Garrett Smith:
> the nodeName property cannot be changed.

It can be changed if the DOM 3 implementation supports renameNode
without having to create a new object for it.  (It can’t be changed just
by assigning to nodeName, however.)

> An attribute (except IDREF) can be changed.

There’s no reason that attributes of type IDREF can’t be changed (unless
the attribute node itself is read only).

Cameron McCormack, http://mcc.id.au/
	xmpp:heycam@jabber.org  ▪  ICQ 26955922  ▪  MSN cam@mcc.id.au
Received on Thursday, 30 August 2007 02:57:32 UTC

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