1

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
}
mmmmmm
  • 32,227
  • 27
  • 88
  • 117
atp03
  • 3,539
  • 3
  • 17
  • 20
  • Why do you need to convert from XPathNavigator to XPathNodeIterator? What can you accomplish with a XPathNodeIterator but not a XPathNavigator? – Ryan Gates Oct 24 '12 at 20:18

0 Answers0