【发布时间】:2010-06-04 05:33:08
【问题描述】:
我有一个这样的 xml 文档:
<ns:a xmlns:ns="http://NS1">
<ns:b>
<c xmlns="http://differentNS"> c_text </c>
<x xmlns="http://differentNS"> Wanted </x>
<d xmlns="http://differentNS"> d_text </d>
</ns:b>
</ns:a>
现在我想使用 linq 读取元素的“x”内部文本。
【问题讨论】:
标签: .net xml linq linq-to-xml