首先构建自己的xmldocument,方式很多例如:XmlDocumentxmldoc=newXmlDocument();XmlDeclarationxmldecl=xmldoc.CreateXmlDeclaration("1.0","GBK",null);//rootnodeXmlElementxmlelem=xmldoc.CreateElement("news");xmldoc.AppendChild(xmlelem);//appendthenodetoxmldocument&hellip...
查看全文