Microsoft XML 2.5 SDK


 

XMLDOMNamedNodeMap Object

[This is preliminary documentation and subject to change.]

The XMLDOMNamedNodeMap object adds support for namespaces and iteration through the collection of attribute nodes.

Remarks

Like XMLDOMNodeList, the objects in XMLDOMNamedNodeMap are not maintained in any particular order. Objects contained in an XMLDOMNamedNodeMap can also be accessed by an ordinal index, but this is simply to allow convenient enumeration, and does not imply that the XMLDOM specifies an order to these nodes. XMLDOM implementations are not required to preserve the node order.

The named node map collection is live; that is, the addition and removal of nodes, and changes within nodes, are immediately reflected in the collection. This means that two successive requests for items using the same index can return two different items, depending on changes to the collection. This also means that changes to the node objects are immediately available in the nodes obtained from the list.

See Also

Properties, Methods, and Events | XMLDOMNode Object