- From: Frans Englich <frans.englich@telia.com>
- Date: Fri, 22 Dec 2006 13:26:53 +0100
- To: www-dom@w3.org
On Friday 22 December 2006 12:37, you wrote: > Hi everyone, > > Me and my co-developer were discussing how attributes are to be treated > within DOM. > > For interface Attr, this paragraph can be found: > > "Attr objects inherit the Node interface, but since they are not actually > child nodes of the element they describe, the DOM does not consider them > part of the document tree. Thus, the Node attributes parentNode, > previousSibling, and nextSibling have a null value for Attr objects. " Also, how should one set ownerElement of the Attr when calling setAttributeNode? Should setAttributeNode do it? The spec doesn't say that, as far as I can tell. Cheers, Frans
Received on Friday, 22 December 2006 12:25:46 UTC