Microsoft XML Core Services (MSXML) 5.0 for Microsoft Office - DOM Developer's Guide

Manipulating a Named Node Map

You can use the following methods to manipulate named node maps.

Alternatively, element nodes also support the setAttribute, setAttributeNode, removeAttribute, and removeAttributeNode methods if you prefer to treat attributes as properties of elements rather than as members of a collection contained by an element.