Consider the following xml:
<?xml version="1.0" encoding="utf-8" ?>
<Outer>
<Inner1>ABC</Inner1>
<Inner2>DEF</Inner2>
</Outer>
I want to be able to get Inner1's value ("ABC") without parsing the whole document. This is because in reality the document might be quite long. Is there a way to do this using .net (XDocument . As opposed to manually parsing it)?