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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:47 GMT