Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
This interface adds support for namespaces and iteration through the collection of attribute nodes.
IXMLDOMNamedNodeMap Methods
getQualifiedItem Returns the attribute with the specified namespace and attribute name. nextNode Returns the next node in the collection. removeQualifiedItem Removes the attribute with the specified namespace and attribute name. reset Resets the iterator.
Remarks
Like IDOMNamedNodeMap, the objects in IXMLDOMNamedNodeMap are not maintained in any particular order. Objects contained in an IXMLDOMNamedNodeMap can also be accessed by an ordinal index, but this is simply to allow convenient enumeration, and does not imply that the DOM specifies an order to these nodes. DOM 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.
Interface Information
Implementation Msxml.dll Inherits from IDOMNamedNodeMap Header and IDL files Msxml.h, Xmldom.idl Minimum availability Internet Explorer 5 Beta Minimum operating systems Windows 95, Windows NT
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.