Differences
This shows you the differences between the selected revisions of the page.
2011-03-07 | 2011-03-07 | ||
no summary (121.244.206.92) (hidden) | Restored revision 1287296327. Undoing revision 1299496319. (martin) (hidden) | ||
Line 166: | Line 166: | ||
Console.WriteLine(file.SelectSingleNode("w:filename/@value", ns).Value); | Console.WriteLine(file.SelectSingleNode("w:filename/@value", ns).Value); | ||
} | } | ||
- | } | ||
- | XPathNodeIterator files = nav.Select("//w:file", ns); | ||
- | Console.WriteLine(string.Format("There are {0} files and subdirectories:", files.Count)); | ||
- | foreach (XPathNavigator file in files) | ||
- | { | ||
- | Console.WriteLine(file.SelectSingleNode("w:filename/@value", ns).Value); | ||
} | } | ||
</code> | </code> |