How to do convert a collection of XPathNavigator objects to a XPathNodeIterator

377 Views Asked by At

How do I convert a collection of XPathNavigator objects into a collection of XPathNodeIterator objects?

Below is a sample code:

public XPathNodeIterator RandomizeXPathNodeIterator(XPathNodeIterator iterator)
{
    List<XPathNavigator> list = new List<XPathNavigator>();
    //Populate list with XPathNavigator's

    //How do i return XPathNodeIterator
}
0

There are 0 best solutions below