Robert Jordan wrote: > Mario De Clippeleir wrote: > >> Hi, >> >> I was wondering if someone else has the same problem as me... I recently >> upgraded to Mono 2.4. but all of a sudden, i have problem when reading >> XML files using Xpath. >> There is also a difference between .NET and Mono. >> This is the problem code : >> XPathNodeIterator secondIterator = >> anIterator.Current.SelectChildren(XPathNodeType.Element); >> > > Have you called anIterator.MoveNext() at least once? Otherwise > Current would be undefined. > > Robert > > _______________________________________________ > Mono-list maillist - [email protected] > http://lists.ximian.com/mailman/listinfo/mono-list >
Hi, Yes. But apparently when the current node has no children it returns null... Is this possible ? Mario _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
