1 public static bool CreateXML() 2 { 3 XMLMapMode xmlmodel = new XMLMapMode(); 4 Dictionary<string, object> dic = new Dictionary<string, object>(); 5 xmlmodel.Code = "节点的Code属性"; 6 xmlmodel.Content = "节点的内容"; 7 xmlmodel.SQLMapFile = "文件目录"; 8 dic.Add("Description", "描述属性"); 9 dic.Add("CreateCode", "创建人"); 10 dic.Add("UpdateTime", "创建时间"); 11 xmlmodel.Parameters = dic; 12 XMLBase.UpdateXML(xmlmodel); 13 xmlModel.xpath = "/Root"; 14 bool state = CreateCDATA(xmlmodel); 15 return state; 16 }
相关文章: