Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

Returns the next node in the collection.

Script Syntax

Copy Code
var 
objXMLDOMNode = oXMLDOMNodeList.nextNode();

Remarks

Script Parameters

None.

Script Return Value

IXMLDOMNoderefers to the next node in the collection. Returns Null if there is no next node.

C/C++ Syntax

Copy Code
HRESULT nextNode(
  IXMLDOMNode** 
nextItem
);

Remarks

C/C++ Parameters

nextItem

[out, retval] Next node in the collection, or Null if there is no next node.

C/C++ Return Values

S_OK

Value returned if successful.

S_FALSE

Value returned if nextItemis Null.

Requirements

Header msxml2.h, msxml2.idl
Library uuid.lib
Windows Embedded CE Windows CE .NET 4.0 and later

General Remarks

The iterator initially points before the first node in the list so that the first call to nextNodereturns 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 nextNodereturn Null. The iterator must be reset by calling the reset Method (IXMLDOMNodeList).

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

Other Resources