首页 新闻 赞助 找找看

WCF的XML 文件问题

0
悬赏园豆:40 [待解决问题]
1 <Customer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.artech.com">
2 <FirstName>Bill</FirstName>
3 <LastName>Gates</LastName>
4 <Gender>Male</Gender>
5 </Customer>

 

 1 <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
 2   <s:Header />
 3   <s:Body>
 4     <GetArticleTitleResponse xmlns="http://tempuri.org/">
 5       <GetArticleTitleResult xmlns:a="http://schemas.datacontract.org/2004/07/DiShuiJu.DTO" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
 6         <a:DtoTitle>
 7           <a:NewsTitle>武陵区地税局庆祝八一建军节</a:NewsTitle>
 8         </a:DtoTitle>
 9       </GetArticleTitleResult>
10     </GetArticleTitleResponse>
11   </s:Body>
12 </s:Envelope>

第一个xml文件是网上别人的,第二个xml文件是我的,为什么我的xml文件的节点中会有“a:”
这些东西(如</a:DtoTitle>),该怎么去掉“a:”? 求指点一下, 谢了哦!

编程与人生的主页 编程与人生 | 初学一级 | 园豆:128
提问于:2013-04-11 10:04
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册