Re: removeAttribute

>Conclusion: removeAttribute seems to be for almost every case
>replaceable by removeAttributeNode.

That's true. e.removeAttribute(x) is just a shorthand for
e.removeAttributeNode(e.getAttributeNode(x)).

However, the single removeAttribute call may be more efficient than the
two-call version (in some implementations). And it is often more
convenient.

______________________________________
Joe Kesselman  / IBM Research

Received on Wednesday, 15 March 2000 15:23:33 UTC