Attr
node is defined in the DTD, a new node immediately appears with the default value as well as the corresponding namespace URI, local name, and prefix when applicable. The implementation may handle default values from other schemas similarly but applications should use Document.normalizeDocument()
to guarantee this information is up-to-date.
@param oldAttr The Attr
node to remove from the attribute list.
@return The Attr
node that was removed.
@exception DOMException NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly. oldAttr
is not an attribute of the element.
Attr
has a default value it is immediately replaced. The replacing attribute has the same namespace URI and local name, as well as the original prefix, when applicable.
@param oldAttr The Attr
node to remove from the attribute list.
@return The Attr
node that was removed.
@exception DOMException NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly. oldAttr
is not an attribute of the element.
|
|
|
|