Register  Login       Search  
Forum  
 
  
 
Forum  Forum     
 
SearchForum Home
  Mvp.Xml Project  Common  XPathNavigatorI...
 XPathNavigatorIterator Help
 
dunnry
1 posts
Joined
6/12/2006

XPathNavigatorIterator Help
Posted: 12 Jun 06 10:10 AM (United States)
Can anyone share some unit tests for this class?  I have an issue where I need to create nodes as I navigate an XML document.  I think this class might do the trick, but I cannot tell exactly.

If someone knows more about this class and its intended use, I would appreciate the guidance.

Thanks,  Ryan
olegt
85 posts
www.xmllab.net
Joined
2/25/2005

Re: XPathNavigatorIterator Help
Posted: 11 Jul 06 1:51 AM (Israel)
XPathNavigatorIterator class is a way to represent a collection of XPathNavigators as XPathNodeIterator. That might be useful when you need to return a nodeset (e.g. from XSLT extension object) containing arbitrary nodes. We are using XPathNavigatorIterator in EXSLT.NET functions, e.g. in sets:distinct() function to return a nodeset containing only nodes with distinct values.
That's not about creating new nodes though. Explain your requirements, may be I can suggest a solution.

Oleg Tkachenko, Microsoft MVP for XML, MCPD
http://www.XmlLab.Net | http://blog.tkachenko.com
  Mvp.Xml Project  Common  XPathNavigatorI...
Forum Home  Search