如何使用xmldocument获取特定节点的值 [英] how to get the value of particular node using xmldocument
本文介绍了如何使用xmldocument获取特定节点的值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨
我尝试从xmldocument获取单个节点的值,但没有加载,我可以看到innerxml,但是我无法获取特定的节点,我需要此响应的jsessionid怎么做
Hi
I tried getting the value of a single node from xmldocument but it is not getting loaded i can see the innerxml but i cannot get the particular node and I need jsessionid from this response how to do it
<?xml version="1.0" encoding="UTF-8"?>
<login-response
xsi:schemaLocation="http://xml-schemas.bcbsil.com/b2b/b2b.xsd b2b/b2b.xsd"
xmlns="http://xml-schemas.bcbsil.com/b2b/b2b.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<response-header
status="OK" audit-id="LOGIN"/>
<login-data session-token=";jsessionid=0000nVG0vvqKqLQwaYLuNRJnnku:12vbdkshu"/>
</login-response>
我需要此xml pl中的jsessionId帮助我
I need the jsessionId from this xml pl help me
推荐答案
尝试一下:
VB.NET中的XML文件解析 [
Try this :
XML File Parsing in VB.NET[^]
hope it helps :)
这篇关于如何使用xmldocument获取特定节点的值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文