src/umbraco.presentation.xslt.Exslt/ExsltCommon.cs
/// <summary>
/// This method converts an ExsltNodeList to an XPathNodeIterator over the nodes in the list.
/// </summary>
/// <param name="list">The list to convert</param>
/// <returns>An XPathNodeIterator over the nodes in the original list</returns>
/// <remarks>Known Issues: A node list containing multiple instances of an attribute 
/// with the same namespace name and local name will cause an error.</remarks>
This method converts an ExsltNodeList to an XPathNodeIterator over the nodes in the list.
This method converts an ExsltNodeList to an XPathNodeIterator over the nodes in the list .
internal static XPathNodeIterator ExsltNodeListToXPathNodeIterator(ExsltNodeList list){
			Assembly systemXml = typeof(XPathNodeIterator).Assembly; 
			Type arrayIteratorType = systemXml.GetType("System.Xml.XPath.XPathArrayIterator"); 
			return (XPathNodeIterator) Activator.CreateInstance( arrayIteratorType, 
				BindingFlags.Instance | BindingFlags.Public | 
				BindingFlags.CreateInstance, null, new object[]{ list.innerList}, null ); 
		}
internal static XPathNodeIterator ExsltNodeListToXPathNodeIterator ( ExsltNodeList list ) { Assembly systemXml = typeof ( XPathNodeIterator ) . Assembly ; Type arrayIteratorType = systemXml . GetType ( " " ) ; return ( XPathNodeIterator ) Activator . CreateInstance ( arrayIteratorType , BindingFlags . Instance | BindingFlags . Public | BindingFlags . CreateInstance , null , new object [ ] { list . innerList } , null ) ; }
This method converts an ExsltNodeList to an XPathNodeIterator over the nodes in the list.
This method converts an ExsltNodeList to an XPathNodeIterator over the nodes in the list .
An XPathNodeIterator over the nodes in the original list
An XPathNodeIterator over the nodes in the original list
list
ExsltNodeList
The list to convert
The list to convert
remarks
Known Issues: A node list containing multiple instances of an attribute
with the same namespace name and local name will cause an error.
Known Issues : A node list containing multiple instances of an attribute with the same namespace name and local name will cause an error .