问题描述
大家好,
这是我的xml消息
< MessageList xmlns:xsi ="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd ="http://www.w3.org/2001/XMLSchema" xmlns ="http://www.tr.com/schema/2009/1.1/MessageList">
正在尝试获取xmlns ="http://www.tr.com/schema/2009/1.1/MessageList">的值;使用xpath查询.
xpath查询应该返回"http://www.tr.com/schema/2009/1.1/MessageList".
请帮忙.
感谢advnace
Hi All,
this is my xml message
<MessageList xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.tr.com/schema/2009/1.1/MessageList">
am trying to get the value of xmlns="http://www.tr.com/schema/2009/1.1/MessageList"> using xpath query.
xpath query suppose to return "http://www.tr.com/schema/2009/1.1/MessageList".
any help please.
Thanks in advnace
推荐答案
这篇关于xpath查询C#以获取xml节点值-的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!