Routines (alphabetical) > Object Classes > File Format Object Classes > IDLffXMLDOMElement::SetAttribute

# IDLffXMLDOMElement::SetAttribute

Syntax | Arguments | Keywords | Version History

The IDLffXMLDOMElement::SetAttribute procedure method adds a new attribute to or updates an existing attribute in the element node.

## Syntax

Obj->[IDLffXMLDOMElement::]SetAttribute, Name, Value

## Arguments

### Name

A scalar string that contains the name of the attribute.

### Value

A scalar string that contains the value of the attribute.

## Keywords

None

## Version History

6.1 | Introduced