XmlReader 특성(Attribute) 읽기 static void Main(string[] args) { XmlReader reader = XmlReader.Create("data.xml"); while (reader.Read()) { if (reader.IsStartElement("books")) { if (reader.HasAttributes) { string category = reader.GetAttribute("category"); Console.WriteLine("카테고리:{0}", category); } } if (reader.IsStartElement("book")) { int attr_cnt=reader.AttributeCount; for (int i = 0; i < attr_cnt;..