Deletes attributes of an element. The command belongs to the group "Document".
Parameter Name | Description | Type |
---|---|---|
AttrNames | The names of the attributes to be deleted (comma-seperated list). | valueexpression |
EleRef | The name of the reference to the element. | elementReference |
<MyElement firstname="Donald" lastname="Duck" fancyAttribute="foobar">The following command is used to delete the attribute "fancyAttribute".
<DeleteAttrs EleRef="$MyElement" AttrNames="fancyAttribute"/>The element after deletion...
<MyElement firstname="Donald" lastname="Duck">