views:

161

answers:

1

Hello,

I have an array of objects that are IXpathNavigable. I want to access the array through an xsl extention object, so I should probably do that by using an XPathNodeIterator. But how do I properly create the NodeIterator so that it iterates over the array?

+1  A: 

You get a XPathNodeIterator from IXPathNavigator.Select and related methods.

However if you create your own implementation (subclass) of XPathNodeIterator you could then create it in any way you like.

Richard