博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2011年1月13日

摘要: 生成XML方法:XmlDocument xml = new XmlDocument(); //插入聲明 XmlDeclaration xmlDelaration = xml.CreateXmlDeclaration("1.0", "UTF-8", null); XmlElement root = xml.DocumentElement; xml.InsertBefore(xmlDelaration, root); XmlElement node_Results = xml.CreateElement("Results"); xml.AppendChild(node_Results);retu 阅读全文

posted @ 2011-01-13 09:21 ☆Keep★Moving☆ 阅读(258) 评论(0) 推荐(0) 编辑