oid_delete_attr
oid_delete_attr (oid, attrname)
This function deletes the attribute named attrname from the element specified by oid.
|
If you have applied an alias map to the document, attrname can be an alias, as well as a real name.
|
Returns 1 (True) if the attribute was deleted, or 0 (False) if oid is invalid or does not have an attrname attribute. If attrname specifies a required attribute, then the document is marked incomplete.