2个节点都是DateTime型的.string DFile = "../admin/data/BasketballAboutSD.xml";
string DFile2 = "../admin/data" + "/" + id + "/" + id + ".xml";
XmlDocument Ddoc = new XmlDocument();
XmlDocument Ddoc2 = new XmlDocument();
Ddoc.Load(Server.MapPath(DFile));
Ddoc2.Load(Server.MapPath(DFile2));
XmlNode Dnode = Ddoc.SelectSingleNode("/list/theme/datetime[../ID='" + id + "']");
XmlNode Dnode2 = Ddoc2.SelectSingleNode("//date");
string s1=Dnode.InnerText;
Dnode2.InnerText=s1;