Mvp.Xml API Documentation

XmlNodeListFactory.CreateNodeList Method 

Creates an instance of a XmlNodeList that allows enumerating XmlNode elements in the iterator.

public static XmlNodeList CreateNodeList(
   XPathNodeIterator iterator
);

Parameters

iterator
The result of a previous node selection through an XPathNavigator query.

Return Value

An initialized list ready to be enumerated.

Remarks

The underlying XML store used to issue the query must be an object inheriting XmlNode, such as XmlDocument.

See Also

XmlNodeListFactory Class | Mvp.Xml.Common Namespace