检索xml节点值 [英] retrieve the xml node value

查看:72
本文介绍了检索xml节点值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header>
<RateLimitMax xmlns="http://api.icims.com/v1">5000</RateLimitMax>
<RateLimitRemaining xmlns="http://api.icims.com/v1">4998</RateLimitRemaining>
<RateLimitReset xmlns="http://api.icims.com/v1">51941</RateLimitReset>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<CreateOrUpdateResponse xmlns="http://api.icims.com/v1">
<Result><Success>true</Success>
<Warnings><Warning>Warning: EmpSupervisor: Person with SystemID 182 not found - Records: 1 </Warning>
</Warnings>
</Result>
</CreateOrUpdateResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>




大家好,

我想检索结果/成功的节点值.




hi guys,

i want to retrieve the node value of result/success.

推荐答案

您好,

看看下面的链接,您可以使用相同的过程来访问所需的节点:
http://www.csharp-examples.net/xml-nodes-by-name/ [< ^ ]
> http://stackoverflow.com/questions/752271/how-to-get- xml-node-from-xdocument [ ^ ]
> http://stackoverflow.com/questions/630652/xml-c- Sharp-fast-way-to-find-node [ ^ ]
Hello,

Have a look at below links, you can use the same process to access the required node:
http://www.csharp-examples.net/xml-nodes-by-name/[^]
http://stackoverflow.com/questions/752271/how-to-get-xml-node-from-xdocument[^]
http://stackoverflow.com/questions/630652/xml-c-sharp-fast-way-to-find-node[^]


这篇关于检索xml节点值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆