Microsoft XML 2.5 SDK


 

IXMLDOMNodeList Interface

[This is preliminary documentation and subject to change.]

The XMLDOMNodeList object supports iteration through the live collection, in addition to indexed access.

IXMLDOMNodeList Methods

item Allows random access to individual nodes within the collection.
Length Indicates the number of items in the collection.
nextNode Returns the next node in the collection.
reset Resets the iterator.

Remarks

A node list 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. The collection can also be accessed using the "for..next" construct.

Interface Information

Implementation Msxml.dll
Inherits from IDispatch
Header and IDL files Msxml.h, Xmldom.idl
Minimum availability Internet Explorer 5
Minimum operating systems Windows 95, Windows NT