解析xml返回json
摘要:readxml.ashx中返回json方法: function returnXmlJson(string xmlUrl) { //解析本地xml //XmlDocument xmldoc = new XmlDocument(); //xmldoc.Load(xmlUrl); //解析远程xml文件 WebClient wc = new WebClient(); StreamReader sr = new StreamReader(wc.OpenRead(xmlUrl));//返回string流 ...
阅读全文
posted @
2013-12-12 18:11
Sophie Huang
阅读(403)
推荐(0)