Class XmlNodeListFactory
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Xml
Assembly: Umbraco.Core.dll
Syntax
public class XmlNodeListFactory
Methods
View SourceCreateNodeList(XPathNodeIterator)
Creates an instance of a System.Xml.XmlNodeList that allows enumerating System.Xml.XmlNode elements in the iterator.
Declaration
public static XmlNodeList CreateNodeList(XPathNodeIterator iterator)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XPath.XPathNodeIterator | iterator | The result of a previous node selection through an System.Xml.XPath.XPathNavigator query. |
Returns
Type | Description |
---|---|
System.Xml.XmlNodeList | An initialized list ready to be enumerated. |
Remarks
The underlying XML store used to issue the query must be an object inheriting System.Xml.XmlNode, such as System.Xml.XmlDocument.