Retrieve XElement value without descendant's values.

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hi All.<br/>
How can I retrieve value of such XElement<br/>
<pre class="prettyprint <div class="a
<div class="b Class B
<div class="c Class C
Class A
[/code]
without values of all descendants.<br/>
I.e. I want to get "Class A".<br/>

View the full article
 
Back
Top