小编Raj*_*esh的帖子

在Windows Phone 8中解析xml数据

我有一个xml字符串来自Web服务器,如下所示

    <soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
  <doLoginResponse xmlns="http://login.mss.uks.com">
    <doLoginReturn>
      <errorCode>IPH_I_LGN_002</errorCode>
      <errorMsg>Logged in sucessfully</errorMsg>
      <number>13733479454157901</number>
    </doLoginReturn>
  </doLoginResponse>
</soapenv:Body>
Run Code Online (Sandbox Code Playgroud)

我想解析xml字符串,并希望打印errorCode,errorMsg,number.我怎么能这样做

提前致谢.

c# xml windows-phone-8

0
推荐指数
1
解决办法
6328
查看次数

标签 统计

c# ×1

windows-phone-8 ×1

xml ×1