Document::createAttribute()

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