nextNode Method (IXMLDOMNamedNodeMap)

Returns the next node in the collection.

var objXMLDOMNode = oXMLDOMNamedNodeMap.nextNode();

HRESULT nextNode(
  IXMLDOMNode** nextItem
);

General Remarks

The iterator initially points before the first node in the list so that the first call to nextNode returns the first node in the list.

This method returns Null when the current node is the last node or there are no items in the list. When the current node is removed from the list, subsequent calls to nextNode return Null. The iterator must be reset by calling the reset method.

This member is an extension of the World Wide Web Consortium (W3C) Document Object Model (DOM).

This method applies to the following objects and interfaces:

IXMLDOMNamedNodeMap, IXMLDOMNodeList, and IXMLDOMSelection.

See Also

reset method

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.