xml转成DataSet:
DataSet resultDs = new DataSet();
resultDs.ReadXml(fileUrl);但是xml中有这样的格式:
<BRANCH_ID xsi:nil="true" />
<DESIGNATION_ID xsi:nil="true" />
<SERVICE_NO>1234</SERVICE_NO>于是会报错:
'xsi' is an undeclared namespace. Line 12, position 16.
请问应该怎样处理呢?PS:关于WS-Security, WebMethods, Generating ASP.NET Web Service Classes 哪里有中文的资料呢?谢过
DataSet resultDs = new DataSet();
resultDs.ReadXml(fileUrl);但是xml中有这样的格式:
<BRANCH_ID xsi:nil="true" />
<DESIGNATION_ID xsi:nil="true" />
<SERVICE_NO>1234</SERVICE_NO>于是会报错:
'xsi' is an undeclared namespace. Line 12, position 16.
请问应该怎样处理呢?PS:关于WS-Security, WebMethods, Generating ASP.NET Web Service Classes 哪里有中文的资料呢?谢过
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货