W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2000

Document::createAttribute()

From: Steve Dickson <sdickson@savagesoftware.com>
Date: Wed, 29 Mar 2000 19:37:12 -0500 (EST)
Message-id: <fc.0085846d00002f160085846d00002f16.2f17@savagesoftware.com>
To: www-dom@w3.org
What was the rationale behind having the createAttribute() factory method
in Document instead of Element?  Since Attrs can only be set on Elements,
wouldn't it make more sense to have the factory method in Element?
S.
Received on Thursday, 30 March 2000 09:39:59 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:50:29 UTC