using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Common.IO.XML { public static class XMLUtil { /// /// 获取指定节点的属性值 /// /// 节点 /// 属性名称 /// public static string GetAttribute(System.Xml.XmlNode node, string name) { return node.Attributes[name].Value; } } }