using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;
class Program {
static void Main(string[] args) {
XmlDocument documentation = new XmlDocument();
documentation.Load("DocumentedClasses.xml");
XmlNodeList memberNodes = documentation.SelectNodes("//member");
List<XmlNode> typeNodes = new List<XmlNode>();
foreach (XmlNode node in memberNodes) {
if (node.Attributes["name"].Value.StartsWith("T")) {
typeNodes.Add(node);
}
}
foreach (XmlNode node in typeNodes) {
Console.WriteLine("- {0}", node.Attributes["name"].Value.Substring(2));
}
}
}
|