Linq: read node innertext
Posted
by nabo
on Stack Overflow
See other posts from Stack Overflow
or by nabo
Published on 2010-06-02T12:03:22Z
Indexed on
2010/06/02
12:03 UTC
Read the original article
Hit count: 179
linq-to-xml
i have a xml document like this:
<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>
Now i want to use linq to read the element's "x" inner text.
© Stack Overflow or respective owner