C#后台解析XML字符串并获取节点值
XmlDocument xDoc = new XmlDocument();
xDoc.LoadXml(System.Web.HttpUtility.UrlDecode(mCuTable.DATASOURCE));
sDataSourceName = xDoc.SelectNodes("datasource/dataset")[0].Attributes["id"].Value;
sDatasetType = xDoc.SelectNodes("datasource/dataset")[0].Attributes["type"].Value;
xDoc.LoadXml(System.Web.HttpUtility.UrlDecode(mCuTable.DATASOURCE));
sDataSourceName = xDoc.SelectNodes("datasource/dataset")[0].Attributes["id"].Value;
sDatasetType = xDoc.SelectNodes("datasource/dataset")[0].Attributes["type"].Value;