I am working with XML that is close to this:
<?xml version="1.0"?>
<ROOT>
<SECTION>
<GROUP1>
<NODE NAME="something" value="some value"/>
<NODE NAME="something" VALUE="some value"/>
</GROUP1>
<GROUP2>
<NODE NAME="something" value="some value"/>
<NODE NAME="something" VALUE="some value"/>
</GROUP2>
</SECTION>
<SECTION>
<GROUP1>
<NODE NAME="something" value="some value"/>
<NODE NAME="something" VALUE="some value"/>
</GROUP1>
<GROUP2>
<NODE NAME="something" value="some value"/>
<NODE NAME="something" VALUE="some value"/>
</GROUP2>
</SECTION>
</ROOT>
I just want to select all the GROUP1 and GROUP2 elements together with a LINQ query. Any help is appreciated.