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

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