DOMElement.RemoveAttributeNode

Syntax:

RemoveAttributeNode(<Attribute>)

Parameters:

<Attribute> (required)

Type: DOMAttribute.
The removed attribute of the element.

Returned value:

Type: DOMAttribute.
The removed attribute.

Description:

Removes an attribute from the element.
If you remove an attribute that is not explicitly specified in the element and is taken from the document schema, a new Attribute node is created, and a default value is set to it.
Exception reasons:
  • The specified attribute is not an attribute of this element;
  • This node is read-only.

Availability:

Server, thick client, external connection, Mobile application (server).

    

1C:Enterprise Developer's Community