<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<getSupportCityResponse xmlns="http://tempuri.org/">
<getSupportCityResult>
<string>18</string>
<string>常熟 </string>
<string>常州 </string>
<string>淮安 </string>
<string>昆山 </string>
<string>连云港 </string>
<string>南京 </string>
<string>南通 </string>
<string>苏州 </string>
<string>宿迁 </string>
<string>太仓 </string>
<string>泰州 </string>
<string>无锡 </string>
<string>吴县 </string>
<string>徐州 </string>
<string>盐城 </string>
<string>扬州 </string>
<string>宜兴 </string>
<string>镇江 </string>
</getSupportCityResult>
</getSupportCityResponse>
</soap:Body>
</soap:Envelope>通过XmlDocument dom = new XmlDocument();
dom.Load(@"E:\getSupportCity.xml");
XmlElement objRootlist = dom.DocumentElement;
XmlNode nod = objRootlist .SelectSingleNode("//soap:Envelope/soap:Body/getSupportCityResponse/getSupportCityResult");
读取错误
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<getSupportCityResponse xmlns="http://tempuri.org/">
<getSupportCityResult>
<string>18</string>
<string>常熟 </string>
<string>常州 </string>
<string>淮安 </string>
<string>昆山 </string>
<string>连云港 </string>
<string>南京 </string>
<string>南通 </string>
<string>苏州 </string>
<string>宿迁 </string>
<string>太仓 </string>
<string>泰州 </string>
<string>无锡 </string>
<string>吴县 </string>
<string>徐州 </string>
<string>盐城 </string>
<string>扬州 </string>
<string>宜兴 </string>
<string>镇江 </string>
</getSupportCityResult>
</getSupportCityResponse>
</soap:Body>
</soap:Envelope>通过XmlDocument dom = new XmlDocument();
dom.Load(@"E:\getSupportCity.xml");
XmlElement objRootlist = dom.DocumentElement;
XmlNode nod = objRootlist .SelectSingleNode("//soap:Envelope/soap:Body/getSupportCityResponse/getSupportCityResult");
读取错误
解决方案 »
- 求助 关于DIV显示的问题 现在的想达到的效果类似于 139邮箱里面 通讯录里面那种把鼠标放上去就显示一个DIV的效果
- 请教,关于框架结构
- 假如dropdownlist宽度不够,部分值未显示出来!能不能自己写个悬停提示的效果,请高手指点!
- 多人同时插入数据时 提示 ”超时时间已到。在操作完成之前超时时间已过或服务器“ 错误 问题解决 分不够在加
- 程序上传到空间的问题???
- 我在vs中新建了一个WEBform居然提示不能加载类型?!
- ???
- 各位给我解决一下小问题??在线等待!!
- 我昨天问过一次了,&,+只能连接string类型吗,请问byte还有byte()有什么办法来连接。我的分数很少,昨天送出去40分了。如果你的回答对大
- 急问:在datagrid中有一模板列,编辑时放入dropdownlist控件,要求在点击编辑按钮后,能用程序更改dropdownlist的默认值,如何实现
- 提问
- ASP.NET 动态的增加HttpHandler请求?
try try ...