I have the following xml in a file:
<Person>
<Name first="John" last="Doe" />
</Person>
I loaded the xml document with XDocument.Load, but I can't seem to get the values of the first and last attribute.
I tried:
var q = from n in rq.Element("Name")
select n; //but q is null after this.