W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2000

Attribute Insertion behavior

From: Blaine Brodie <bbrodie@savagesoftware.com>
Date: Mon, 24 Apr 2000 11:08:54 -0700
Message-id: <fc.0085846d0000476e0085846d0000476e.4773@savagesoftware.com>
To: www-dom@w3.org
I have a question about the insertion behavior of an attribute in an
element's attribute list. 
Assuming I have an element 'e' and an attribute 'a' named "A" with value
"old", what is the expected behavior supposed to be in the following case?

Attr a2 = e.getAttributeNode("A");

Is a2's value supposed to equal "new" or "old".  Or is this strictly an
implementation decision?


Blaine Brodie
Received on Monday, 24 April 2000 14:08:55 UTC

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