How to get a value of XElement
without getting child elements?
An example:
<?xml version="1.0" ?>
<someNode>
someValue
<child>1</child>
<child>2</child>
</someNode>
If i use XElement.Value for <someNode>
I get "somevalue<child>1</child><child>2<child>"
string but I want to get only "somevalue" without "<child>1</child><child>2<child>"
substring.